@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;}
#sub-visual h2{font-weight:700;font-size:74rem;font-family: var(--lang-ko);text-transform: uppercase;}
#sub-visual .sub-visual__title h2.title-eng{font-size: 16rem;margin-bottom: 13rem;font-family: var(--lang-en);font-weight: 700;color: var(--c-01);letter-spacing: 4.8rem;line-height: 136%;}

.sub-visual__top{padding-top: 217rem;}
.sub-visual__desc--wrap{ position: absolute; bottom:-20rem; left: 0; width: 100%; }
.sub-visual__desc--wrap .wrap{margin: 0 auto;}
.sub-visual__desc{font-weight:700;font-size:120rem;color: #fff;text-transform: uppercase;}
.sub-visual__bg{width:100%;height:570rem; position: relative; background:#16AE54;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:410rem; left:0;}


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);}

/* board visual set */
/* 생성한 게시판 테이블 명 입력 */
body:is(.notice, .notice_en) .sub-visual__bg > i{background-image:url(../img/sub/sub-visual05.jpg);}
body:is(.gallery, .gallery_en) .sub-visual__bg > i{background-image:url(../img/sub/sub-visual04.jpg);}

/* lnb */
#lnb{z-index: 10;}
#lnb .select-link{width: auto;}
#lnb .select-link > ul{margin-top:101rem;}
#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;padding-right: 70rem;font-family: var(--lang-ko);}
#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.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;flex-wrap: wrap;position: relative;}
#lnb:not(.lnb-select) .select-link > ul a{padding:0;font-size: 18rem; padding: 33rem  50rem;  box-sizing: border-box; color: var(--b-01); opacity: 0.4;}
#lnb:not(.lnb-select) .select-link > ul > li.on > a{opacity: 1; font-weight: 600; border-bottom: 6rem solid var(--c-01);} 
/*#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;}  */

#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:url(../img/common/ic-nav-home_w.svg) no-repeat 50% 50%; font-size:0; min-height:100%;}

/* sub nav */
#sub-visual .mo{display: none;}
.sub-visual__navi{position: absolute;width: 100%;right: -148rem;opacity: 0.45;top: -52rem;text-align: right;transition: all .3s;}
.sub-visual__navi .wrap-wide{margin: 0 auto; display: flex; justify-content: flex-end;}
#sub-nav{display: flex;align-items: center;justify-content: flex-end;}
#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.svg) no-repeat;opacity: 0.5;}
#sub-nav span{color: var(--p-01);font-size: 15rem;display: block;font-family: var(--lang-ko);}
#sub-nav .depth01{margin-right: 26rem;}
#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);}

@media (max-width:1820px){
    .sub-visual__navi{right: 0;}
}
@media (max-width:1680px){

    #lnb .lnb-inner{margin: 0;}
}
@media (max-width:1480px){

}
@media all and (max-width:1023px){
	.sub-visual__top{padding-top: 128rem;}
	#sub-visual h2{font-size:45rem;}

	.sub-visual__inner{top:340rem;}
    .sub-visual__bg{height: 370rem;}
    .sub-visual__desc{font-size: 100rem;}

    #lnb .select-link > ul{margin-top: 60rem;}
    #lnb:not(.lnb-select) .select-link > ul a{padding: 17rem 30rem;}
	#lnb.lnb-select .select-link__btn{font-size:18rem;}
	#lnb{top:420rem;}
}
@media (max-width:860px){
    .sub-visual__bg{height: 290rem;}
    #sub-visual .sub-visual__title h2.title-eng{font-size: 12rem;letter-spacing: 1.5rem;}
    #lnb:not(.lnb-select) .select-link > ul a{font-size: 16rem; padding: 17rem 20rem;}
    .sub-visual__desc--wrap{bottom: -13rem;}
    .sub-visual__desc{font-size: 70rem;}
}

@media (max-width: 540px){
	#sub-visual{border-bottom-left-radius:5rem; border-bottom-right-radius:5rem;}
	#sub-visual h2{font-size: 30rem;}
	.sub-visual__inner{top: 275rem;}
	.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 .sub-home{margin-right:18rem;width: 12rem;height: 12rem;}
	#sub-nav > *::after{right:-11rem;}
	#sub-nav > *::after{width: 2rem;height: 2rem;}
	#sub-nav .depth01{margin-right: 10rem;}
	#sub-nav .depth01::after{right: -6rem;}		
	

    #sub-visual .mo{display: block;}
    #sub-visual .pc{display: none;}

    .sub-visual__bg{height: 190rem; margin-top: 30rem;}
    .sub-visual__desc{font-size:50rem; opacity: 0.5;}
    .sub-visual__top{padding-top: 130rem;}
    .sub-visual__desc--wrap{bottom: -7rem;}

	#lnb{top:auto;bottom:0rem;z-index:10;padding:14rem 0rem;background: var(--f-01);/* border-top-left-radius:5rem; *//* border-top-right-radius:5rem; */border-bottom: 2px solid var(--c-02);}
	#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% + 40rem);box-sizing:border-box;margin: 0;transform:none !important;bottom: -267rem;position: absolute;left: -20rem;}
	/* #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;color: var(--b-01);}
	#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;}
}