@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:590rem;}
#sub-visual h2{font-weight:700;font-size:80rem;color:#fff;text-transform: uppercase;  font-family: var(--lang-point);}

.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:410rem; left:0;}
.sub-visual__title{padding-top: 292rem;}
.sub-visual__detph{padding:10rem 15rem; height: 37rem; border-radius: 4rem; margin-bottom: 14rem; border:1px solid var(--op-w20); display: inline-flex; align-items: center;gap: 30rem;}
.sub-visual__detph em{font-family: var(--lang-point); color:var(--w); font-size:12rem ; font-weight: 600;}
.sub-visual__detph span{width: 5rem; height: 5rem; border-radius: 10rem; background-color: var(--c-02); display: block;}

body[class^="sub01_"] .sub-visual__bg > i, body:is(.certification) .sub-visual__bg > i{background-image:url(../img/sub/sub-visaul01.jpg);}
body[class^="sub02_"] .sub-visual__bg > i{background-image:url(../img/sub/sub-visaul02.jpg);}
body[class^="sub03_"] .sub-visual__bg > i{background-image:url(../img/sub/sub-visaul03.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-visaul05.jpg);}
body[class^="sub06_"] .sub-visual__bg > i{background-image:url(../img/sub/sub-visual06.jpg);}

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

.sub-top-line{width: 100%; height: 1px; border-top: 1px solid var(--br-01); display: block;  position: absolute; left: 0; top: 103rem; z-index: 10;} 
.sub-lnb{width: var(--sub-lnb);height: 100%; border-right: 1px solid var(--br-01);padding-left: var(--margin);position: absolute;left: 0;top: 0;padding-top: 223rem;z-index: 1;background: var(--w)}

/* lnb */
#lnb{width: 100%; position: sticky; z-index: 10; top: 100rem;}
#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: 8rem;background-position:50% 50%;background-image:url(../img/common/arrow-basic.svg);background-repeat:no-repeat;border-radius:100%;transform: rotate(90deg);}
#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:#000;}
#lnb:not(.lnb-select) .select-link > ul{opacity:1;visibility:visible;padding:0 0;background:none; margin-top: 0; flex-direction:row;flex-wrap:nowrap; flex-direction: column; position: relative;}
#lnb:not(.lnb-select) .select-link > ul a{padding: 16rem 50rem 16rem 20rem;font-size: 16rem;color: var(--b-01);font-weight: 600;width: 200rem;min-height: 52rem;position: relative;}
#lnb:not(.lnb-select) .select-link > ul a::before,
#lnb:not(.lnb-select) .select-link > ul a::after{content: ""; width: 10rem; height: 10rem; position: absolute;}
#lnb:not(.lnb-select) .select-link > ul a::before{border-bottom: 1px solid transparent; border-left: 1px solid transparent; bottom: -1px; left: -1px; border-radius: 0 0 0 5rem;}
#lnb:not(.lnb-select) .select-link > ul a::after{border-top: 1px solid transparent; border-right: 1px solid transparent; top: -1px; right: -1px; border-radius: 0 5rem 0 0;} 
#lnb:not(.lnb-select) .select-link > ul > li{position: relative;}
#lnb:not(.lnb-select) .select-link > ul > li.on::before{content: "";width: 8rem;height: 8rem;border-radius: 20rem;background-color: var(--c-02);position: absolute;right: 22rem;top: 50%;transform: translateY(-50%);}
#lnb:not(.lnb-select) .select-link > ul > li.on > a{ border:1px solid var(--br-01); border-radius: 5rem;}
#lnb:not(.lnb-select) .select-link > ul > li.on > a::before,
#lnb:not(.lnb-select) .select-link > ul > li.on > a::after{ border-color: var(--c-02);}
#lnb:not(.lnb-select) .select-link > ul a:hover{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: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 > *: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(--f-01); 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-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:1600px){

    .sub-lnb{padding-left: 40rem;}
}
@media (max-width:1200px){

    .sub-lnb{padding-left: 34rem; padding-top: 160rem;}
      .sub-top-line{top: 83rem;}
}

@media all and (max-width:1023px){
	#sub-visual{height:450rem;}	
	#sub-visual h2{font-size:45rem;}

    .sub-visual__title{padding-top: 250rem;}
	.sub-visual__inner{top:340rem;}

       .sub-top-line{top: 53rem;}

	#lnb.lnb-select .select-link__btn{font-size:18rem;}
	#lnb{top:420rem;}
    
    #lnb:not(.lnb-select) .select-link > ul a{width: 164rem; min-height: 44rem; padding: 11rem 40rem 12rem 12rem; font-size:15rem}
    #lnb:not(.lnb-select) .select-link > ul > li.on::before{width: 6rem; height: 6rem; min-width: 6rem; right: 10rem;}
    .sub-lnb{padding-top: 100rem; padding-left: 20rem;}
    
    
}

@media (max-width:860px){

    
    .sub-top-line{top: 72rem; }
    .sub-content .point-plus{left: inherit; right: 30rem;}
    .sub-lnb{width: 100%; height: auto; padding:0 20rem; position: relative;}
    #lnb:not(.lnb-select) .select-link > ul{gap: 30rem;}
    #lnb:not(.lnb-select) .select-link > ul a{width: inherit; min-height: auto; padding: 0;}
    #lnb:not(.lnb-select) .select-link > ul > li.on::before{right: -10rem; transform: none; top: -3rem; width: 5rem; height: 5rem;}
    #lnb:not(.lnb-select) .select-link > ul > li.on > a{border:none}
    #lnb:not(.lnb-select) .select-link > ul > li.on > a::before, #lnb:not(.lnb-select) .select-link > ul > li.on > a::after{display: none;}

    #lnb{top: 0;}
    #lnb:not(.lnb-select) .select-link > ul{flex-direction: row;}
}
@media (max-width: 540px){
	#sub-visual{height:380rem}
	#sub-visual h2{font-size: 35rem;}
    .sub-visual__title{padding-top: 170rem;}
	.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-visual__detph{height: 30rem; padding: 0 10rem; gap: 20rem;}
    .sub-visual__detph em{font-size: 10rem;}
    .sub-content .point-plus{display: none;}

	#sub-nav span{font-size:13rem;}
	#sub-nav > i{margin: 0rem 6rem;}

    .sub-lnb{padding: 0;}
    .sub-top-line{top: 50rem;}

	#lnb{top:auto; bottom:0rem; z-index:10; padding:19rem 0rem; background:var(--w); border-top-left-radius:5rem; border-top-right-radius:5rem;}
	#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:not(:has(li:nth-child(2))){display: none;}
	#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%;box-sizing:border-box;margin: 0; 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:0rem 20rem;font-size: 14rem;}
	#lnb.lnb-select  .select-link__btn::after{right:6rem; background-color:inherit;}
	#lnb .select-link > ul{margin-top:25rem; padding:0rem 0rem 13rem; border-radius:0; background-color: var(--w);}
	#lnb .select-link > ul a{padding: 8rem 20rem;font-weight:400;font-size:14rem; color: var(--b);}

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