/* header */
header .menu { border-bottom: 1px rgba(var(--white-rgb), .2) solid; }
header #webmenu nav >ul >li >p a { color: var(--white); }
header #webmenu nav >ul >li:hover >p a{color: var(--primary);}
header.scroll {background: rgba(var(--black-rgb), .9);}

/* search_box */
#openform { background: rgba(var(--white-rgb), .3); }

/* h2title */
section .h2title{
    text-align: center;
    text-transform: uppercase;
    font-size: 42px;
    font-weight: bold;
    letter-spacing: 2px;
    display: none;
}
section .subtitle{
    text-align: center;
    font-size: 42px;
    letter-spacing: 10px;
    color: #2f2f2f;
}

/* section */
section { margin: 5vw 0 3vw; }
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: 45px; }
section .title_box .sub_title { font-weight: 300; font-size: 23px; }

/* 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(--black-rgb), .1);content: "";}
.bg_box.white:before { background: rgba(var(--white-rgb), .2); }

/* about_area */
#about_area{
    margin: 0;
    padding: 160px 0;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    position: relative;
}
#about_area:after{content:url(/images/40/img-about.png);position:absolute;right: 15%;top: 40px;zoom: 80%;}
#about_area .h2title{
    color: #fff;
    text-align: left;
    display: block;
}
#about_area .subtitle{
    text-align: left;
    color: #fff;
}
#about_area .info_box article {margin-bottom: 30px;width: 100%;line-height: 220%;letter-spacing: 1.5px;font-weight: 300;color: #d4d4d4;text-align: justify;margin-top: 60px;}

/* product_area */
#product_area .slick-list { overflow: visible; }

/* news_area */
#news_area{
    margin: 0;
    padding: 70px 0;
}
#news_area .list_box .img_scale .over_hid{
    border-radius: 15px;
    overflow: hidden;
    display: block;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}
#news_area .list_box img {}
#news_area .list_box .info_box {padding: 15px 0;}
#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 {font-weight: 300;}
#news_area .list_box .info_box h3 {height: 34px;font-size: 20px;color: #000;letter-spacing: 2px;}
#news_area .list_box .info_box article{
    overflow: hidden;
    height: 50px;
    font-size: 15px;
}

/* 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 {margin: 0;padding: 60px 0;background-image: url(/images/40/index-productBg.jpg);background-repeat: no-repeat;background-position: 50% 50%;background-size: cover;}
#custom_area .workframe{
    width: 85%;
}
#custom_box {margin-top: 60px;}
#custom_box ul{width: 100%;display: grid;grid-template-columns: repeat(6, 1fr);grid-template-rows: repeat(2, 1fr);}
#custom_box ul li{
    display: block;
    padding: 10px;
    }
#custom_box ul li:nth-child(1){
    grid-row-start: 1;
    grid-row-end: span 3;
    grid-column-start: 1;
    grid-column-end: 3;
    }
#custom_box ul li:nth-child(2){
    grid-row-start: 1;
    grid-row-end: span 3;
    grid-column-start: 5;
    grid-column-end: 7;
    }
#custom_box li .row {position: relative;margin: 0;overflow: hidden;border-radius: 15px;overflow: hidden;}
#custom_box li .row a{position:absolute;width: 100%;height: 100%;top: 0;left: 0;z-index: 2;}
#custom_box li .row .photo{background-repeat: no-repeat;background-position: 50% 50%;background-size: cover;border-radius: 15px;}
#custom_box li .row .photo img{width:100%;}
#custom_box li .row h2 {position: absolute;bottom: -60px;width: 100%;font-size: 18px;text-align: center;letter-spacing: 2px;color: #000;background: rgb(255 255 255 / 85%);padding: 10px 0;}
#custom_box li:hover .row h2 {bottom: 0;}

@-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 (max-width: 1400px){
#about_area:after{right: 7%;}
}
@media screen and (min-width: 1281px){
	#book_area .list_box li:hover .badge { background: var(--primary); color: var(--white); }
	#about_area {background-attachment: fixed;}
}
@media screen and (max-width: 1024px){
#custom_area .workframe{width: 95%;}
#about_area:after{
    zoom: 25%;
    top: 160px;
}
#about_area{padding:100px 0;}
}
@media screen and (max-width: 768px){
	#news_area .list_box .info_box { padding: 15px 0; }
	#youtube_box { padding-bottom: 60vw; }
	#custom_box li .row {margin: 5px 2.5px;}
	#custom_box li .row h2{bottom:0;background: rgb(0 0 0 / 35%);color: #fff;}
	#custom_box ul{display:block;text-align: center;}
	#custom_box ul li, #custom_box ul li:nth-child(1), #custom_box ul li:nth-child(2){display:inline-block;width: calc(50% - 5px);padding: 0;}
}
@media screen and (max-width: 640px){
	#book_area .list_box img { height: 65vw; }
	section .h2title{line-height:100%;margin-bottom: 10px;}
	section .title_box{
    margin-bottom: 20px;
}
}
@media screen and (max-width: 450px){
	section .subtitle{font-size: 25px;}
	#news_area{padding:30px 0;}
	#custom_area{padding: 20px 0 40px;}
	#custom_box{margin-top: 10px;}
	#product_area .bgBox { width: 100%; object-fit: cover; }
}