/* section */
section {padding: 5vw 0;}
section.section_pad { padding: 5vw 0; }
section >* { z-index: 3; }
section .title_box { margin-bottom: 40px; }
section .title_box .area_title {font-weight: 400;font-size: 23px;letter-spacing: 2px;}
section .title_box .sub_title {font-weight: 700;font-size: 60px;font-family: 'Kanit', sans-serif;text-transform: uppercase;line-height: 100%;}

/* bg_box */
.bg_box { width: 100%; height: 100%; background: no-repeat 50% / cover; background-attachment: fixed; opacity: .3; top: 0; left: 0; }
.bg_box:before { width: 100%; height: 100%; display: block; background: rgba(var(--primary-rgb), .2); content: ""; }
.bg_box.white:before { background: rgba(var(--white-rgb), .2); }

/* about_area */
#about_area{background: #f9fafb;}
#about_area .info_box article {margin-bottom: 30px;width: 100%;line-height: 210%;letter-spacing: 1.5px;font-weight: 300;text-align: justify;}

/* product_area */
#product_area {overflow: visible;padding-top: 50px;}
#product_list{display:flex;flex-wrap: wrap;justify-content: center;align-items: center;}
#product_list li{width: calc(100%/4);}
#product_list li >div{margin: 20px;}
#product_list .title_box p{margin-bottom: 15px;}
#product_list .title_box h2{v}
#product_list li .shadow{padding: 50px;box-shadow: 0 0 10px rgb(0 0 0 / 10%);border-radius: 25px;border: 6px solid var(--white);}
#product_list li:hover .shadow{box-shadow: none;border: 6px solid var(--primary);}
#product_list li .shadow img{width: 80px;}
#product_list li .shadow .info_box{position: relative;margin-top: 20px;}
#product_list li .shadow .info_box h3{height: auto;font-size: 19px;font-weight: 400;letter-spacing: 1px;}
#product_list li:hover .shadow .info_box h3{color:var(--primary)}
#product_list li .shadow .info_box article{height: auto;-webkit-line-clamp: 3;font-size: 15px;text-align: justify;margin-top: 20px;color: #6b6b6b;}

/* contact_area */
#contact_area{background-image: url(/images/40/index-contcat-bg.jpg);background-repeat: no-repeat;background-position: 50% 50%;background-size: cover;}
#contact_area .workframe{width: var(--width-lg);display: flex;flex-wrap: wrap;justify-content: space-between;align-items: center;background: rgba(255, 255, 255, 0.85);padding: 80px;}
#contact_area .left_box h3{font-size: 20px;font-weight: 500;letter-spacing: 1px;}

/* news_area */
#news_area .list_box img { height: 320px; }
#news_area .list_box .info_box { padding: 15px 30px; }
#news_area .list_box .info_box p a { margin-right: 10px; max-width: calc(100% - 100px); font-weight: 400; z-index: 2; }
#news_area .list_box .info_box p .time { width: 90px; font-weight: 300; }
#news_area .list_box .info_box h3 { height: 34px; font-size: 20px; }

/* book_area */
#book_area .list_box img { height: 450px; }
#book_area .list_box .img_box { border: var(--white) solid; border-width: 0 1px 1px 0; }
#book_area .list_box .img_box:before , #book_area .list_box .img_box:after { position: absolute; width: 100%; height: 100%; background: var(--white); z-index: 9; opacity: .4; content: ""; }
#book_area .list_box .img_box:after { right: 0; bottom: 0; }
#book_area .list_box .atag_item { z-index: 10; }
#book_area .list_box .badge { margin: auto; padding: 10px 20px; max-width: calc(80% - 40px); height: 34px; line-height: 36px; font-size: 20px; }

/* youtube_box */
#youtube_box { min-height: 1px; padding-bottom: 30%; }
#youtube_box a { position: absolute; background: var(--white); display: flex; top: 50%; left: 50%; z-index: 99; }
#youtube_box a i { margin: auto; font-size: 30px; color: var(--primary); }
#youtube_box iframe { position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 5; }

/* custom_area */
#custom_area{padding-bottom:0;}
#custom_box li .row {margin: 10px 20px;padding: 50px;box-shadow: 0 0 10px rgb(0 0 0 / 10%);border-radius: 25px;}
#custom_box li .row .top{display:flex;flex-wrap: wrap;align-items: center;justify-content: space-between;}
#custom_box li .row .photo{width: 80px;border-radius: 50px;overflow: hidden;}
#custom_box li .row .info{width: calc(100% - 110px);}
#custom_box li .row h2 {font-size: 18px;font-weight: 400;letter-spacing: 1px;line-height: 100%;}
#custom_box li .row span{color: var(--primary);font-size: 14px;letter-spacing: 1px;}
#custom_box li .row article {margin-top: 20px;line-height: 180%;overflow: hidden;height: auto;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 3;-webkit-box-orient: vertical;font-size: 15px;text-align: justify;}

@-webkit-keyframes spineer { 0% { -webkit-box-shadow: 0 0 0 0 var(--info); } 70% { -webkit-box-shadow: 0 0 0 20px transparent; } 100%{ -webkit-box-shadow: 0 0 0 0 transparent; } }
@keyframes spineer { 0% { box-shadow: 0 0 0 0 var(--info); } 70% { box-shadow: 0 0 0 20px transparent; } 100%{ box-shadow: 0 0 0 0 transparent; } }

@media screen and (min-width: 1281px){
	#contact_area {background-attachment: fixed;}
	#book_area .list_box li:hover .badge { background: var(--primary); color: var(--white); }
	#custom_box li:hover .row { box-shadow: 0 4px 17px 0 rgba(var(--black-rgb), .2); }
}
@media screen and (max-width: 1280px){
	#product_list li{width:calc(100%/3)}
}
@media screen and (max-width: 1024px){
	#about_area .info_box{margin-top:20px;}
	#contact_area .workframe{width: 70%;}
}
@media screen and (max-width: 768px){
	section{padding:50px 0;}
	#product_list li{width: 50%;}
	#news_area .list_box .info_box { padding: 15px 0; }
	#youtube_box { padding-bottom: 60vw; }
}
@media screen and (max-width: 640px){
	#contact_area .workframe{width: calc(90% - 100px);padding: 50px;justify-content: center;}
	#contact_area .left_box{margin-bottom: 20px;}
	#product_list li{width: 100%;}
	#book_area .list_box img { height: 65vw; }
	section .title_box .sub_title{font-size: 50px;}
	#contact_area .left_box h3{text-align: center;}
}