@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:964rem; z-index: 10;} 
#sub-visual h2{font-weight:700;font-size:106rem;color:var(--b-01);text-transform: uppercase; transform: skewX(var(--skew));}
#sub-visual h2 i{display: none;}
#sub-visual .wrap{height: 100%;}
#sub-visual .square{display: block; width: 229rem; height: 234rem; border:8px solid #3276d5; position: absolute; right:90rem; bottom: 160rem;}
#sub-visual .square::after{content: ""; width: 43rem; height:43rem; border-bottom: 8px solid #c00022; border-right: 8px solid #c00022; bottom: -8px; right: -8px; display: block; position: absolute;}
#sub-visual h2 + nav{margin-top: 22rem;}

.sub-visual__lnb{text-align: center;}
.sub-visual__lnb h3{font-size: 72rem; margin-bottom: 35rem; letter-spacing: -3.6px; font-weight: 900; font-family: var(--lang-ko);}
.sub-visual__desc{margin-top:17rem; font-weight:600; font-size:20rem;}
.sub-visual__bg{ position:absolute;top:179rem;right:149rem; /* width:1085rem; */ width: 56.6%; height:564rem; 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: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);}
body[class^="sub06_"] .sub-visual__bg > i{background-image:url(../img/sub/sub-visual06.jpg);}

/* board visual set */
/* 생성한 게시판 테이블 명 입력 */
body:is(.archive) .sub-visual__bg > i,
body:is(.accordion) .sub-visual__bg > i{background-image:url(../img/sub/sub-visual04.jpg);}
body:is([class^="case"]) .sub-visual__bg > i{background-image:url(../img/sub/sub-visual03.jpg);}
 
/* lnb */
#lnb{width: 100%;z-index: 10; border-bottom: 1px solid #eee;}
#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; align-items:center; font-size:20rem; color:#fff;padding-right: 70rem;}
#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;gap: 18rem 77rem;background:none;flex-direction:row;flex-wrap:nowrap;flex-wrap: wrap;position: relative;}
#lnb:not(.lnb-select) .select-link > ul a{padding:0; color: var(--b-01); opacity: 0.2; font-size: 20rem; font-weight: 700; padding-bottom: 18rem; position: relative; font-family: var(--lang-ko);}
#lnb:not(.lnb-select) .select-link > ul a  > i{display: none;}
#lnb:not(.lnb-select) .select-link > ul > li.on > a{opacity: 1; color: var(--c-03);}
#lnb:not(.lnb-select) .select-link > ul > li.on > a::before{content: "";  width: 100%; height: 3rem; background-color: var(--c-03); position: absolute; left: 0; bottom: 0;}
/*#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; justify-content: center;}

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-nav{display: flex; align-items: center; /* margin-bottom: 25rem; */}
#sub-nav > *{position: relative;}
#sub-nav > *::after{content: ""; width: 1rem; height: 12rem;  background-color: rgba(4,39,63,1); position: absolute; right: -27rem; top: 60%; transform:translateY(-50%) skewX(-17deg); opacity: 0.3;}
#sub-nav > *:last-child::after{display: none;}
#sub-nav .sub-home{display: block;margin-right: 49rem;width: 14px;height: 14px;background:url(../img/layout/ic-home.svg) no-repeat;opacity:1; background-size: cover;}
#sub-nav span{color: var(--b-01); font-size: 16rem; font-weight: 600; display: block;}
#sub-nav span br{display: none;}
#sub-nav .depth01{margin-right: 49rem; opacity: 0.6;}
#sub-nav .depth01::after{right: -28rem;}
#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 all and (max-width:1480px){
    #lnb:not(.lnb-select) .select-link > ul{gap: 54rem;}
    #lnb:not(.lnb-select) .select-link > ul a{font-size: 18rem;}

    .sub-visual__bg{right: 100rem;}
    #sub-visual{height: 930rem;}
    #sub-visual .square{right: 50rem; width: 200rem; height: 200rem; bottom: 146rem;}
    .sub-visual__lnb h3{font-size: 62rem; letter-spacing: -1px;}
}

@media all and (max-width:1023px){
	#sub-visual{height:580rem;}	
	#sub-visual h2{font-size:76rem;}
    #sub-visual h2 + nav{margin-top: 6rem;}
	.sub-visual__inner{top:340rem;}
    #lnb:not(.lnb-select) .select-link > ul{gap: 0 44rem; flex-wrap: nowrap; overflow-x: scroll; width: 100%;}
    #lnb:not(.lnb-select) .select-link > ul a{font-size: 16rem;}
	#lnb.lnb-select .select-link__btn{font-size:18rem;}
    #lnb:not(.lnb-select) .select-link > ul > li{white-space: nowrap;}
	#lnb{top:420rem;}
    #lnb .select-link{width: 100%;}

    .sub-visual__inner{top: 250rem;}
    .sub-visual__bg{width: 60%; height: 334rem; right: 40rem; top: 120rem;}
    .sub-visual__lnb h3{font-size: 46rem; letter-spacing: .3px; margin-bottom: 7rem;}
    #sub-visual .square{width: 120rem; height: 120rem; border:6px solid #3276d5; right: 20rem; bottom: 96rem;}
    #sub-visual .square::after{ width: 34rem; height: 34rem; border-bottom: 6px solid #c00022; border-right: 6px solid #c00022; bottom: -6px; right:-6px;} 
}
@media all and (max-width:860px){
    #lnb:not(.lnb-select) .select-link > ul{overflow-y: hidden; overflow-x: scroll; flex-wrap: nowrap; gap: 22rem; justify-content: center;}
    #lnb:not(.lnb-select) .select-link > ul li{white-space: nowrap;}
    #lnb .lnb-inner{justify-content: flex-start; width:auto}
    #lnb .select-link{width: 100%;}

    #sub-visual{height: 536rem;}
    #sub-visual h2{font-size: 66rem;}
    .sub-visual__bg{top: 100rem; height: 310rem;}
    .sub-visual__inner{top: 200rem;}
    .sub-visual__lnb h3{font-size: 40rem;}
}
@media (max-width: 540px){
	#sub-visual{height:460rem; border-bottom-left-radius:5rem; border-bottom-right-radius:5rem;}
	#sub-visual h2{font-size: 45rem; color: #fff; line-height: 1.2;}
    #sub-visual .square{width: 70rem; height: 70rem; bottom: -22rem;}
    #sub-visual .square::after{width: 22rem; height: 22rem;}
    #sub-nav span{color: #fff;}
	.sub-visual__inner{top: 195rem;}
	.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{width: 100%; height: 100%; right: 0; bottom: 0; top: 0;}
    .sub-visual__lnb{padding-top: 50rem;}
    .sub-visual__lnb h3{font-size: 26rem;}

	#sub-nav span{font-size:13rem;}
	#sub-nav .sub-home{margin-right:18rem; background: url(../img/layout/ic-home_w.svg) no-repeat;}
	#sub-nav > *::after{right:-11rem;}
	#sub-nav > *::after{width:3rem; height:3rem;}
	#sub-nav .depth01{margin-right:15rem;}
	#sub-nav .depth01::after{right:-9rem;}		
	
	#lnb{top:auto; bottom:0rem; z-index:10; padding:14rem 0rem; }
	#lnb.lnb-select .select-link__btn{font-size:15rem; color: var(--b-01);}
	#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:100%; position: relative; z-index: 99; box-sizing:border-box; padding: 14rem 0; margin-top: 24rem; transform:none !important;}
    #lnb.lnb-select .select-link__btn::after{background-image: url(../img/common/arrow-basic.svg); opacity: 0.5;}
	#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; font-family: var(--lang-ko);}
	#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;}
	#lnb .select-link > ul a{padding: 8rem 20rem;font-weight:200;font-size:14rem;text-align: left;}
    #lnb.lnb-select{border-top: 1px solid #eee;}
	#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;}
}