@charset "utf-8";

/* **************************************** *
 * SUB set
* @description 서브 비주얼 및 기본 레이아웃 세팅입니다.
 * **************************************** */

/* Sub title  */
#page-title{}

/* SUB VISUAL */
#sub-visual{position:relative; height:672rem}
#sub-visual h2{font-weight:500; font-size:60rem; color:#fff; text-transform:uppercase}

.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; border-bottom-left-radius:15rem; border-bottom-right-radius:15rem}
.sub-visual__inner{position:absolute; top:410rem; left:0}
.sub-visual__bg > [data-ani-wrap]{position:absolute; top:0; left:0; width:100%; height:100%}
.sub-visual__img{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}

body[class^="sub01_"] .sub-visual__img{background-image:url(../img/sub/sub-visual01.jpg)}
body[class^="sub02_"] .sub-visual__img{background-image:url(../img/sub/sub-visual02.jpg)}
body[class^="sub03_"] .sub-visual__img{background-image:url(../img/sub/sub-visual03.jpg)}
body[class^="sub04_"] .sub-visual__img{background-image:url(../img/sub/sub-visual04.jpg)}
body[class^="sub05_"] .sub-visual__img{background-image:url(../img/sub/sub-visual05.jpg)}
body[class^="sub06_"] .sub-visual__img{background-image:url(../img/sub/sub-visual06.jpg)}

/* board visual set */
body:is(.notice, .notice_en) .sub-visual__img{background-image:url(../img/sub/sub-visual06.jpg)}

/* lnb */
#lnb{position:absolute; width:100%; top:510rem; z-index:10; --lnb-fg:var(--w); --lnb-panel:var(--b-01); --lnb-panel-fg:var(--w); --lnb-bar-bg:#000; --lnb-arrow-bg:var(--op-w20); --lnb-arrow-img:url(../img/common/arrow-basic_w.svg); --lnb-home-img:url(../img/common/ic-nav-home_w.svg); --lnb-op:0.5; --lnb-border:none; --lnb-ovl-fg:var(--w)}
#lnb.lnb-light{--lnb-fg:var(--b-title); --lnb-panel:var(--w); --lnb-panel-fg:var(--b-title); --lnb-bar-bg:var(--w); --lnb-arrow-bg:var(--op-b10); --lnb-arrow-img:url(../img/common/arrow-basic.svg); --lnb-home-img:url(../img/common/ic-nav-home.svg); --lnb-op:0.6; --lnb-border:1px solid var(--op-b10); --lnb-ovl-fg:var(--w)}
#lnb .select-link{width:auto}
#lnb .select-link > ul{margin-top:20rem; background:var(--lnb-panel); border:var(--lnb-border)}
#lnb .select-link > ul a{color:var(--lnb-panel-fg)}
#lnb .depth1 .sub-menu, #lnb .select-link__btn{display:none}

#lnb.lnb-select .select-link__btn{display:flex; align-items:center; font-size:20rem; color:var(--lnb-fg); padding-right:70rem}
#lnb.lnb-light .select-link__btn{background:var(--lnb-panel); padding:14rem 70rem 14rem 28rem; border-radius:30rem}
#lnb.lnb-select  .select-link__btn::after{content:""; position:absolute; right:0; width:40rem; height:40rem; background-color:var(--lnb-arrow-bg); background-size:8rem; background-position:50% 50%; background-image:var(--lnb-arrow-img); background-repeat:no-repeat; border-radius:100%; transform:rotate(90deg)}
#lnb.lnb-light .select-link__btn::after{right:20rem}
#lnb.lnb-select .select-link__btn.on::after{transform:rotate(270deg)}

#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:var(--lnb-bar-bg)}
#lnb:not(.lnb-select) .select-link > ul{opacity:1; visibility:visible; padding:0 0; background:none; border: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:var(--lnb-op); color:var(--lnb-ovl-fg)}
#lnb:not(.lnb-select) .select-link > ul > li.on > a{opacity:1}
#lnb:not(.lnb-select) .select-link > ul a:hover{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}
#lnb.lnb-select .select-link + .select-link:has(.depth2){margin-left:20rem}
#lnb .lnb-inner{display:flex}
a.lnb-home{display:block; width:15rem; margin-right:20rem; background:var(--lnb-home-img) 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(--w); 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{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-primary); color:#fff; border-color:var(--c-primary)}
#snb li:not(.on) a:hover{color:var(--g-02)}

#snb-title{font-weight:400}

@media all and (max-width:1023px){
	#sub-visual{height:580rem}
	#sub-visual h2{font-size:45rem}
	.sub-visual__inner{top:340rem}

	#lnb.lnb-select .select-link__btn{font-size:18rem}
	#lnb{top:420rem}
}

@media (max-width: 540px){
	#sub-visual{height:460rem; border-bottom-left-radius:5rem; border-bottom-right-radius:5rem}
	#sub-visual h2{font-size:35rem}

	.sub-visual__inner{top: 248rem;}
	.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 span{font-size:13rem}
	#sub-nav > i{margin:0rem 6rem}

	#lnb{top:auto;bottom: 19rem;z-index:10;padding: 19rem 0rem;background:var(--lnb-panel);border:0;border-top:var(--lnb-border);border-radius: 30rem;}
	#lnb .select-link:has(.depth1){display:none}
	#lnb .select-link:has(.depth2){margin-left:0}
	#lnb .lnb-inner{display:block; margin:0; width:100%; box-sizing:border-box}
	#lnb .select-link > ul{margin-top:15rem;padding:0rem 0rem 13rem;border-radius:0;border-bottom-left-radius: 25rem;border-bottom-right-radius: 25rem;}
	#lnb .select-link > ul a{padding:8rem 20rem; font-weight:200; font-size:14rem}

	#lnb.lnb-select .select-link__btn{font-size:17rem}
	#lnb.lnb-select .select-link:nth-child(2){margin-left:0}
	#lnb.lnb-select{opacity:1 !important; width:calc(100% - 40px); box-sizing:border-box; margin:0 20rem; transform:none !important}
	#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 22rem;font-size:14rem}
	#lnb.lnb-select  .select-link__btn::after{right: 11rem;background-color:inherit}
	#lnb.lnb-select:not(:has(li:nth-child(2))){display:none}
    #lnb:has(.select-link > ul.on) {border-bottom-left-radius: 0; border-bottom-right-radius: 0;}
    
	#lnb:not(.lnb-select) .select-destroy li a{white-space:nowrap}
	#lnb:not(.lnb-select){width:100% !important; margin:0 !important; background:none; border: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:var(--lnb-op); color:var(--lnb-ovl-fg)}
	#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}
}

/* **************************************** *
 * SUB layout
* @description 서브단에서만 달라지는 header, footer 정의
 * **************************************** */
#container:has(.board-page) + #footer{margin-top:140rem}

#header{}

#footer{}

@media (max-width:1200px){

}

@media all and (max-width:1023px){
	#container:has(.board-page) + #footer{margin-top:100rem}
}

@media (max-width: 540px){
	#container:has(.board-page) + #footer{margin-top:60rem}
}

/* **************************************** *
 * SUB common
 * **************************************** */
.sub-content{position:relative}
.sub-content:has(.board-page){padding-top:120rem}

.sub-section{padding:var(--space150) 0;}
.sub-section--top-sm{padding-top:var(--space120);}

@media (max-width:1200px){

}

@media all and (max-width:1023px){
	.sub-content:has(.board-page){padding-top:110rem}
}

@media (max-width: 860px){

}

@media (max-width: 540px){
	.sub-content:has(.board-page){padding-top:60rem}
}

/* **************************************** *
 * SITE CUSTOM
 * **************************************** */

/* 회사소개 */
@media (min-width:2000px){

}
@media (max-width:1600px){

}
@media (max-width:1480px){

}

/* 노트북 낮은 높이 대응 */
@media all and (min-width:1440px) and (max-width:1600px) and (max-height:700px) {
    
}

@media (min-width:541px) and (max-width:1480px) and (orientation:portrait),
(min-width:541px) and (max-aspect-ratio:3/4){}

@media all and (max-width:1200px){
	
}
@media all and (max-width:1023px){
	
}
@media (max-width:860px){

}
@media (max-width: 540px){

}

/* 호버 */
@media (hover: hover) and (pointer: fine){}
@media (max-width: 1200px) and (hover: hover) and (pointer: fine){}