@charset "utf-8";

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

/* Sub title  */
#page-title{text-align: center; font-size: 25rem; color: var(--c-01); display: block; font-weight: 700;}

/* SUB VISUAL */
#sub-visual{position:relative;height:700rem;}
#sub-visual h2{font-weight:600;font-size:68rem;color:#fff; font-family: "Poppins";}

.sub-visual__desc{margin-top:17rem; font-weight:600; font-size:20rem;}
.sub-visual__bg{position:absolute;top:0;left:0;width:100%;height:100%;background:#000;overflow: hidden;}
.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{position:absolute; top:260rem; left:0; width: 100%; text-align: center;}

body[class^="sub01_"] .sub-visual__bg > i{background-image:url(../img/sub/sub-visual01.jpg);}
body[class^="sub01_05"] .sub-visual__bg > i{background-image:url(../img/sub/sub-visual01-05.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-visual06.jpg);}

/* board visual set */
/* 생성한 게시판 테이블 명 입력 */
body:is(.overseas_pr, .overseas_pr_en, .domestic_pr, .domestic_pr_en) .sub-visual__bg > i{background-image:url(../img/sub/sub-visual06.jpg);}


/* lnb */
#lnb{position: absolute;width: 100%; bottom: 75rem; z-index: 10; font-family: "Poppins";}
#lnb .select-link{width: auto;}
#lnb .select-link > ul{margin-top:20rem;}
#lnb .depth1 .sub-menu,
#lnb .select-link__btn{display:none;}

#lnb.lnb-select .select-link__btn{display:flex; justify-content: space-between; align-items:center; min-width: 150rem; font-size:18rem; color:#fff;padding-right: 0}
#lnb.lnb-select .select-link__btn::after{content:""; width: 12rem; height: 8rem; margin-left:40rem ; position: relative; background-position:50% 50%; background-image:url(../img/sub/ic-down.svg); background-repeat:no-repeat; border-radius:100%;}
#lnb.none-select .select-link__btn{pointer-events:none; cursor:text;}
#lnb.none-select .select-link__btn::after{opacity:0;}
#lnb.lnb-select .select-link.first{ cursor: default; opacity: 0.5; position: relative;}
#lnb.lnb-select .select-link.first::after{content: ""; width: 3rem; height: 3rem; border-radius: 10rem; background-color: rgba(255, 255, 255, 0.3); position: absolute; right:-20rem; top: 10rem;}
#lnb.lnb-select .select-link.first .select-link__btn {min-width: auto;}
#lnb.lnb-select .select-link.first .select-link__btn::after{display: none;  cursor: default;}
#lnb.lnb-select .select-link.first > ul{display: none;}

#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{padding:0;font-size: 18rem;margin-right: 30rem; opacity: 0.5;}
#lnb:not(.lnb-select) .select-link > ul > li.on > a{opacity: 1;}
/*#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; justify-content: center;}
#lnb.lnb-select .select-link + .select-link:has(.depth2){margin-left:36rem;}
#lnb .lnb-inner{display:flex; border-radius: 60rem; background: rgba(255, 255, 255, 0.35); box-shadow: 0rem 4rem 10rem 0rem rgba(0, 0, 0, 0.10); backdrop-filter: blur(5rem); padding: 33rem 36rem; box-sizing: border-box;}

a.lnb-home{display:block; width:22rem; margin-right:25rem; background:url(../img/sub/ic-home.svg) no-repeat 50% 50%; font-size:0; min-height:100%;}

/* sub nav */
#sub-nav{display: flex; align-items: center; justify-content: center; margin-bottom: 18rem;}
#sub-nav > *{position: relative;}
#sub-nav > *::after{content: ""; width: 4rem; height: 4rem; border-radius: 14rem; background-color: #cbcbcb; position: absolute; right: -14rem; top: 50%; transform: translateY(-50%);}
#sub-nav > *:last-child::after{display: none;}
#sub-nav .sub-home{display: block;margin-right: 24rem;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: 26rem; display: block; font-weight: 500;}
#sub-nav .depth01{margin-right: 0;}
#sub-nav .depth01::after{right: -16rem;}
#sub-nav:has(.depth02:empty) .depth01::after{display: none;}

/* snb */
/* #snb {display:flex;align-items:center;}
#snb li.on a{opacity:1;}
#snb li a{display:flex;justify-content:center;align-items:center;height: 50rem;box-sizing:border-box;border: 1px solid var(--g-01);font-size:18rem;font-size:var(--font-18);transition:var(--trans-01);padding: 0rem 30rem;}
#snb li:not(:last-child) a{border-right:0;}
#snb li.on a{background:var(--c-01); color:#fff; border-color:var(--c-01);}
#snb-title{font-weight:400; }
#snb li:not(.on) a:hover{color: var(--g-02);} */

#snb {display: inline-flex; align-items: center; margin-bottom: 80rem; padding: 9rem 10rem; border-radius: 100rem; border: 1px solid #e1e1e1;}
#snb li a {display: inline-block; padding: 18rem 30rem; font-size: 18rem; font-weight: 600; color: var(--g-02); border-radius: 100rem;}
#snb li.on a {color: var(--f-01); background: var(--c-01);}

/* 엑소코 체크리스트 */
[data-list="exo-check"] li{padding-left: 28rem; position: relative; margin-bottom: 17rem;}
[data-list="exo-check"] li::before{content: ""; width: 20rem; height: 15rem; background: url(../img/sub/ic-check.png) no-repeat; background-size: contain; position: absolute; left:0; top: 0;}
[data-list="exo-check"] li:last-child{margin-bottom: 0;}

[lang="en-US"] [data-list="exo-check"] li {line-height: 1.6;}
[lang="en-US"] [data-list="exo-check"] li::before {top: 5rem;}

@media all and (max-width:1023px){
	#sub-visual{height:580rem;}	
	#sub-visual h2{font-size:45rem;}
    #sub-nav {margin-bottom: 17rem;}
    #sub-nav .depth01{font-size: 20rem;}
	.sub-visual__inner{top:230rem;}

    #page-title{font-size: 20rem;}

    #lnb .lnb-inner{padding: 22rem 36rem;}
	#lnb.lnb-select .select-link__btn{font-size:16rem;}
	#lnb{bottom:55rem;}

    [data-list="exo-check"] li {margin-bottom: 12rem;}
}

@media (max-width: 540px){
	#sub-visual{height:400rem; border-bottom-left-radius:5rem; border-bottom-right-radius:5rem;}
	#sub-visual h2{font-size: 35rem;}

    .sub-visual__inner{top: 160rem; padding: 0 10rem;}
	#content:has(.rnd-page) .sub-visual__inner{top: 135rem;}
	.sub-visual__title:has(.title-ko.none) .title-ko{display:block !important; margin-top:5rem; font-weight:700 !important; font-size:18rem !important;}
	.sub-visual__bg{border-bottom-left-radius:5rem; border-bottom-right-radius:5rem;}

	#sub-nav {margin-bottom: 10rem;}
    #sub-nav .depth01{font-size: 15rem;}
	#sub-nav span{font-size:13rem;}
	#sub-nav .sub-home{margin-right:18rem;}
	#sub-nav > *::after{right:-11rem;}
	#sub-nav > *::after{width:3rem; height:3rem;}
	#sub-nav .depth01::after{right:-9rem;}		
	
	#lnb{top:auto; bottom:30rem; z-index:10; }
	#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 .select-link:nth-child(2){margin-left:0;}
	#lnb .lnb-inner{display:block;margin:0;width:100%; box-sizing:border-box; padding: 0; }
	#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:18rem 26rem; font-size: 14rem; justify-content: space-between;}
	#lnb.lnb-select  .select-link__btn::after{right:6rem; background-color:inherit;}
	#lnb .select-link > ul{margin-top:5rem; padding:13rem 0; border-radius:10rem;  width: 100%;}
	#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;}

	[data-list="exo-check"] li {margin-bottom: 10rem; padding-left: 25rem;}
    [data-list="exo-check"] li::before {width: 15rem; height: 15rem;}
}