@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;height:85vh; margin-bottom: calc(var(--sub-padding-top) / 2 * -1);}
#sub-visual h2{font-weight:700;font-size:69rem;color:#fff;text-transform: uppercase;}
#sub-visual .wrap-narrow{height: 100%;}

.sub-visual__desc{margin-top:30rem; font-weight:300; font-size:18rem; color: #fff;  position: relative; padding-left: 30rem;}
.sub-visual__desc::before{content: ""; width: 15rem; height: 15rem; border-radius: 100%; background-color: var(--c-01);  position: absolute;  left: 0; top: 2rem;}
.sub-visual__inner{position:absolute; top:272rem; }

body[class^="sub01_"] #sub-visual{background:url(../img/sub/sub-visual01.jpg) no-repeat; background-position: 50% 0; background-size: cover; }
body[class^="sub02_"] #sub-visual{background:url(../img/sub/sub-visual02.jpg) no-repeat; background-position: 50% 0; background-size: cover;}
body[class^="sub03_"] #sub-visual{background:url(../img/sub/sub-visual06.jpg) no-repeat; background-position: 50% 0; background-size: cover;}
body[class^="sub04_"] #sub-visual{background:url(../img/sub/sub-visual04.jpg) no-repeat; background-position: 50% 0; background-size: cover;}
body[class^="sub05_"] #sub-visual{background:url(../img/sub/sub-visual05.jpg) no-repeat; background-position: 50% 0; background-size: cover;}
body[class^="sub06_"] #sub-visual{background:url(../img/sub/sub-visual-06.jpg) no-repeat;background-position: 50% 0; background-size: cover;}

/* board visual set */
body:is(.recruit, .gallery,.recruit_en) #sub-visual{background:url(../img/sub/sub-visual05.jpg) no-repeat; background-size: cover}
body:is(.new_notice,.news_board,.new_notice_en,.news_board_en ) #sub-visual{background:url(../img/sub/sub-visual03.jpg) no-repeat; background-size: cover}


@media (max-width:1480px){
    #sub-visual{height: 840rem;}
    #sub-visual h2{font-size: 60rem;}
}
@media all and (max-width:1023px){
    #sub-visual{height: 730rem;}
    #sub-visual h2{font-size: 52rem;}
    .sub-visual__desc{font-size: 16rem; padding-left: 26rem;}
    .sub-visual__desc::before{width: 13rem; height: 13rem;}
}
@media (max-width:860px){
    #sub-visual h2{font-size: 40rem;}
}
@media (max-width: 540px){
    #sub-visual{height: 440rem;}
    .sub-visual__desc{margin-top: 17rem;font-size: 15rem;line-height: 1.5;display: none;}
    #sub-visual h2{font-size: 31rem;}
	.sub-visual__inner{top: 269rem;}
}

/* lnb */
#lnb{position: absolute;width: 100%;top: 510rem;z-index: 10;}
#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; align-items:center; font-size:20rem; color:#fff;}
#lnb.lnb-select  .select-link__btn::after{content:""; position:absolute; right:0; width:40rem; height:40rem; background-color:rgba(255,255,255,0.2); background-size:10rem; background-position:50% 50%; background-image:url(../img/common/arrow-basic_w.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: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;}
#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 > li{width: auto;}
#lnb:not(.lnb-select):not(:has(li:nth-child(2))){display: none;} 

#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:8rem; 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; position: absolute; bottom: 145rem;}
#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::after{display: none;}
#sub-nav .sub-home{display: block;margin-right: 9rem;width: 15rem;height: 13rem;background:url(../img/sub/ic-home.svg) no-repeat;opacity: 0.5;}
#sub-nav span{color: var(--f-01); font-size: 16rem; display: block;}
#sub-nav .depth01{margin-right: 44rem; opacity: 0.5;}
#sub-nav .depth01::after{right: -26rem;}
#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);}

[lang="ko-KR"] .title-eng{display: none;}

@media all and (max-width:1023px){
    #sub-nav .depth01{margin-right: 30rem;}
    #sub-nav .depth01::after {right: -18rem;}
}

@media (max-width: 540px){
	#sub-nav{bottom:85rem;}
	#sub-nav span{font-size:14rem;}
	#sub-nav .depth01::after{right:-11rem;}
	#sub-nav .depth01{margin-right:19rem;}	

	#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 .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 .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;}

	
}