@charset "utf-8";

/*
* File       : sub-set.css
* Author     : B-WORKER
*      
 * SUMMARY:
 * 1) SUB VISUAL
 * 2) SUB LNB
*/

/* Sub title  */
#page-title{}

/* SUB VISUAL */
#sub-visual{position:relative; padding-top:227rem; height:874rem; box-sizing:border-box;}
#sub-visual em{display:inline-block; margin-bottom:20rem; font-size:var(--font-18); font-weight:400; color:var(--c-01); text-transform: uppercase; line-height:1em;}
#sub-visual h2{font-weight:700;font-size:var(--font-55);color:#111; line-height:1.2em; text-transform: uppercase; font-family:var(--lang-ko);}

[lang="en-US"] #sub-visual{padding-top:187rem;}
[lang="en-US"] .sub-visual__title{padding-bottom:40rem;}
[lang="en-US"] #sub-visual h2{text-transform:capitalize;}


.sub-visual__desc{font-weight:600; font-size:20rem;}
.sub-visual__bg{position:relative; display:block;/*position:absolute;top:0;left:0;*/margin:40rem 50rem 0; width:auto; height:436rem; border-radius:20rem; overflow: hidden;border-bottom-left-radius: 15rem;border-bottom-right-radius: 15rem;}
.sub-visual__bg > i{position:absolute;top:0;left:0;width:100%;height:100%;background-size:cover;background-position:50% 50%;transition:var(--trans-01);background-repeat:no-repeat;opacity: 1 !important;}
.sub-visual__inner{display: flex; justify-content: space-between; align-items: flex-end;}

body[class^="sub01_"] .sub-visual__bg > i{background-image:url(../img/sub/sub-visual01.jpg);}
body[class^="sub02_"] .sub-visual__bg > i{background-image:url(../img/sub/sub-visual02.jpg);}
body[class^="sub03_"] .sub-visual__bg > i{background-image:url(../img/sub/sub-visual03.jpg);}
body[class^="sub04_"] .sub-visual__bg > i{background-image:url(../img/sub/sub-visual04.jpg);}
body[class^="sub05_"] .sub-visual__bg > i{background-image:url(../img/sub/sub-visual05.jpg);}
body[class^="sub06_"] .sub-visual__bg > i{background-image:url(../img/sub/sub-visual-06.jpg);}
body[class^="sub07_02"] .sub-visual__bg > i{background-image:url(../img/sub/sub-visual-0702.jpg);}

/* board visual set */
/* 생성한 게시판 테이블 명 입력 */
body:is(.certify, .awards, .certify_en, .awards_en, .certify_cn, .awards_cn) .sub-visual__bg > i{background-image:url(../img/sub/sub-visual01.jpg);}
body:is(.news, .catalog, .video, .news_en, .catalog_en, .video_en, .news_cn, .catalog_cn, .video_cn) .sub-visual__bg > i{background-image:url(../img/sub/sub-visual04.jpg);}
body:is(.notice, .notice_en, .notice_cn) .sub-visual__bg > i{background-image:url(../img/sub/sub-visual05.jpg);}


/* lnb */
#lnb{position: absolute; z-index: 10; right: 0; bottom: 0;}
#lnb .select-link{width: auto; padding-left:0;}
.policy #lnb .select-link.v1{display:None;}
#lnb .select-link::before {position: absolute; left:0; top: 50%; content:''; width:3rem; height:3rem; background:#ddd; border-radius:50rem; transform: translateY(-50%); display:none;}
#lnb .select-link > ul{min-width:130rem; margin-top:10rem;}
#lnb .depth1 .sub-menu,
#lnb .select-link__btn{display:none;}

#lnb.lnb-select .select-link__btn{display:flex; align-items:center; font-size:var(--font-17); font-weight: 400; color: #555; padding-right:30rem;}
#lnb.lnb-select  .select-link__btn::after{content:""; position:absolute; right:0; width:10rem; height:10rem; background-size:10rem; background-position:50% 50%; background-image:url(../img/common/ic-nav-select.svg); background-repeat:no-repeat; border-radius:100%;}
#lnb .depth1.on{opacity: 0; visibility: hidden;}
#lnb.lnb-select .select-link:has(.depth1) .select-link__btn {padding-right: 0; cursor: default;}
#lnb.lnb-select .select-link:has(.depth1) .select-link__btn::after {display: none;}
#lnb.lnb-select .select-link:last-child .select-link__btn {color:#555;}

#lnb.none-select .select-link__btn{pointer-events:none; cursor:text;}
#lnb.none-select .select-link__btn::after{opacity:0;}

#lnb:not(.lnb-select) .select-link:has(.depth1){display:none; height:100rem; background:#000;}
#lnb:not(.lnb-select) .select-link > ul{opacity:1;visibility:visible;padding:0 0;background:none;flex-direction:row;flex-wrap:nowrap;flex-wrap: wrap;position: relative;}
#lnb:not(.lnb-select) .select-link > ul a{position:relative; padding:0;font-size: var(--font-18);margin-left:40rem;}
#lnb:not(.lnb-select) .select-link > ul a:before{content:''; position:absolute; left:0; bottom:-1px; width:0; height:2px; background:var(--b-01); transition:all 0.3s ease;}
#lnb:not(.lnb-select) .select-link > ul > li.on > a{opacity: 1; color:var(--b-01);}
#lnb:not(.lnb-select) .select-link > ul > li.on > a:before{width:100%;}
/*#lnb:not(.lnb-select) .select-link > ul a.on{opacity: 1;} 위의 소스 3차까지 먹이기 체크필요 */ 
#lnb:not(.lnb-select) .select-link > ul > li{width: auto;}
#lnb:not(.lnb-select):not(:has(li:nth-child(2))){display: none;} /* 2차가 하나일때 lnb 숨기기 */
#lnb.lnb-select:has(.select-link:nth-child(2)){display:flex;align-items: center;}
#lnb .lnb-inner{display:flex;}
a.lnb-home{display:none; width:18rem; margin-right:15rem; background:url(../img/common/ic-nav-home.svg) no-repeat 50% 50%; font-size:0; min-height:100%;}

/* sub nav */
#sub-nav{display: flex; align-items: center; margin-bottom: 25rem;}
#sub-nav > *{position: relative;}
#sub-nav > *:last-child::after{display: none;}
#sub-nav .sub-home{display: block;width: 14rem;height: 14rem;background:url(../img/common/ic-nav-home_w.svg) no-repeat;opacity: 0.5;}
#sub-nav span{color: var(--f-01); font-size: 18rem; display: block;}
#sub-nav > i{display:block; opacity:0.7; width:4rem; height:4rem; margin:0rem 10rem; background-color:#cbcbcb; border-radius:14rem;}
#sub-nav:has(.depth02:empty) .depth01::after{display: none;}
body:has(#sub-nav span:empty) #sub-nav .depth01 ~ i{display: none;}

/* snb */
.snb-wrap{margin-bottom:100rem;}
#snb{display:flex;align-items:center; background:#F4F4F5; border-radius:50rem;}
#snb li.on a{opacity:1;}
#snb li a{display:flex;justify-content:center;align-items:center;height: 57rem;box-sizing:border-box; border-radius:50rem; font-size:var(--font-17); font-family:var(--lang-ko); font-weight:600; transition:var(--trans-01);padding: 0rem 37rem; color:rgba(0,0,0,0.3);}
#snb li:not(:last-child) a{border-right:0;}
#snb li.on a{background:var(--c-02); color:#fff; }
#snb-title{font-weight:400;}
#snb li:not(.on) a:hover{color: var(--g-02);}


@media all and (max-width:1500px){
	#lnb:not(.lnb-select) .select-link > ul a{margin-left:25rem;}
}
@media all and (max-width:1200px){
	#sub-visual,
	[lang="en-US"] #sub-visual{padding-top:180rem; }
	.sub-visual__title{padding:0 0 45rem;}
	#lnb{left:0; right:unset;}
	.select-link > ul li:first-child > a{margin-left:0 !important;}

	[lang="en-US"] .sub-visual__title{padding:0 0 45rem;}
	[lang="en-US"] #sub-visual h2{font-size: var(--font-52);}
}
@media all and (max-width:1023px){
	#sub-visual,
	[lang="en-US"] #sub-visual{padding-top:130rem; height:734rem;}
	.sub-visual__bg{margin:35rem 20rem 0; height:400rem;}
	

}

@media (max-width: 860px){
	#sub-visual,
	[lang="en-US"] #sub-visual{padding-top:130rem; height:700rem;}
	.sub-visual__bg{margin:30rem 10rem 0; height:350rem;}
	.snb-wrap{margin-bottom:60rem;}

	[lang="en-US"] .notice #sub-visual{height:675rem;}
	[lang="en-US"] .notice #sub-visual h2{font-size:35rem;}
}
@media (max-width: 540px){

	#sub-visual{padding-top:80rem; height:380rem;}
	.sub-visual__inner{display:block;}
	#sub-visual em{margin-bottom:7rem;}
	#sub-visual h2{line-height:1.3em;}
	.sub-visual__title,
	[lang="en-US"] .sub-visual__title{padding:0 0 25rem;}
	.sub-visual__title:has(.title-ko.none) .title-ko{display:block !important; margin-top:5rem; font-weight:700 !important; font-size:var(--font-18) !important;}
	.sub-visual__bg{margin:15rem 5rem 0; height:180rem; border-radius:10rem;}


	#sub-nav span{font-size:13rem;}
	#sub-nav > i{margin: 0rem 6rem;}

	#lnb{margin-top:14rem; right:unset; left:0;}
	a.lnb-home{margin-right:5rem; width:12rem; height:12rem; background-size:contain;}
	#lnb .select-link{margin-right:8rem;}
	#lnb .select-link::before{width:2px; height:2px;}
	#lnb .select-link > ul{min-width:100rem;}
	#lnb .select-link.v1{display:none;}
	#lnb.lnb-select .select-link__btn{padding-right:20rem;}

	#snb li a{padding:0 15rem; height:35rem;}
	.snb-wrap{margin-bottom:30rem;}

	/*
	#lnb{top:auto; bottom:0rem; z-index:10; padding:17rem 0rem; background:var(--b-01); border-top-left-radius:5rem; border-top-right-radius:5rem;}
	#lnb.lnb-select .select-link__btn{font-size:17rem;}
	#lnb .select-link:has(.depth1){display:none;}
	#lnb .select-link:has(.depth2){margin-left:0;}
	#lnb.lnb-select:not(:has(li:nth-child(2))){display: none;}
	#lnb.lnb-select .select-link:nth-child(2){margin-left:0;}
	#lnb .lnb-inner{display:block;margin:0;width:100%; box-sizing:border-box;}
	#lnb.lnb-select{opacity:1 !important;width:calc(100% - 40px);box-sizing:border-box;margin:0 20rem;transform:none !important;}
	/* #lnb.lnb-select:has(li:nth-child(2)){display:block;}	 
	#lnb.lnb-select .select-link + .select-link:has(.depth2){margin-left:0;}
	#lnb.lnb-select .select-link{width:100%; box-sizing:border-box; margin-left:0;}
	#lnb.lnb-select .select-link__btn{padding:0rem 20rem;font-size: 14rem;}
	#lnb.lnb-select  .select-link__btn::after{right:6rem; background-color:inherit;}
	#lnb .select-link > ul{margin-top:15rem; padding:0rem 0rem 13rem; border-radius:0; border-bottom-left-radius:5rem; border-bottom-right-radius:5rem;}
	#lnb .select-link > ul a{padding: 8rem 20rem;font-weight:200;font-size:14rem;}

	#lnb:not(.lnb-select) .select-destroy li a{white-space:nowrap;}
	#lnb:not(.lnb-select) {width:100% !important; margin:0 !important; background:none;}
	#lnb:not(.lnb-select) .select-destroy{padding-left:20rem; overflow-x:scroll;}
	#lnb:not(.lnb-select) .select-destroy li:last-child{padding-right:40rem;}
	#lnb:not(.lnb-select) .select-destroy li a{opacity:0.5; color:#fff;}
	#lnb:not(.lnb-select) .select-destroy li.on a{opacity:1;}
	#lnb:not(.lnb-select) .select-destroy li + li{margin-left: 10rem;}
	#lnb:has(.select-destroy):not(.lnb-select) .select-link__btn::after{display:none;}
	*/

	[lang="en-US"] #sub-visual{padding-top:80rem; height:373rem;}
	[lang="en-US"] #sub-visual h2{font-size:19rem;}
	[lang="en-US"] #snb{width:90%; border-radius:8rem;}
	[lang="en-US"] #snb [data-flex]{flex-direction: column; width:100%;}
	[lang="en-US"] #snb li a{border-radius:5rem;}

	[lang="en-US"] .notice_en #sub-visual{height:370rem;}
	[lang="en-US"] .notice_en #sub-visual h2{font-size:18rem;}

}