@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{z-index: 1; position:relative;height:var(--height-full);}
#sub-visual h2{font-weight:500;font-size:85rem;color:#fff;text-transform: uppercase; text-shadow: 3rem 3rem 20rem rgba(0, 0, 0, .2);}
#sub-visual .wrap-wide {height: 100%;}

.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:50%; left:0; transform: translateY(-50%);}

body.sub01_01 .sub-visual__bg > i{background-image:url(../img/sub/sub-visual-01.jpg);}
body.sub01_02 .sub-visual__bg > i{background-image:url(../img/sub/sub-visual-02.jpg);}
body[class^="portfolio_"] .sub-visual__bg > i{background-image:url(../img/sub/sub-visual-03.jpg);}
body[class^="sub03_"] .sub-visual__bg > i{background-image:url(../img/sub/sub-visual-04.jpg);}
body[class^="sub04_"] .sub-visual__bg > i{background-image:url(../img/sub/sub-visual-05.jpg);}
/* board visual set */
/* 생성한 게시판 테이블 명 입력 */
body:is(.notice, .gallery) .sub-visual__bg > i{background-image:url(../img/sub/sub-visual-06.jpg);}
body.portfolio .sub-visual__bg > i{background-image:url(../img/sub/sub-visual-03.jpg);}

/* lnb */
#lnb-wrap {position: absolute; bottom: 0; width: 100%; border-top: 1px solid rgba(255, 255, 255, .3);}
.lnb-inr {display: flex; justify-content: space-between; align-items: center; width: 100%; height: 100rem;}
.lnb-scroll {display: inline-flex; align-items: center; font-family: var(--lang-ko); font-size: 13rem; color:rgba(255, 255, 255, .6); text-transform: uppercase;}
.lnb-scroll i {overflow: hidden; position: relative; width: 13rem; height: 15rem; margin-right: 15rem;}
.lnb-scroll i::after {position: absolute; top: 0; content:''; display: block; width: 100%; height: 15rem; margin-right: 15rem; background: url(../img/layout/scroll-arrow.svg) no-repeat center / contain; animation: scrollRolling 1s infinite;}

#lnb{position: relative;z-index: 10;}
#lnb .select-link{width: auto; padding: 0 45rem; border-right: 1px solid rgba(255, 255, 255, .3);}
#lnb .select-link > ul{left:0; top:100rem; margin-top: 0; padding: 20rem 0; border-radius: 0; background: var(--c-01);}
#lnb .select-link > ul a {padding: 10rem 45rem;}
#lnb .depth1 .sub-menu,
#lnb .select-link__btn{display:none;}

#lnb.lnb-select .select-link__btn{display:flex; align-items:center; height: 100rem; font-weight: 400; font-size:17rem; color:#fff;padding-right: 70rem;}
#lnb.lnb-select  .select-link__btn::after{content:""; position:absolute; right:0; width:6rem; height:6rem; border: solid #fff; border-width: 0 1px 1px 0; border-radius: 0; background: transparent; transform: rotate(45deg);}
#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;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 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-inner{display:inline-flex;}

a.lnb-home{display:block; width: 100rem; height: 100rem; border: solid rgba(255, 255, 255, .3); border-width: 0 1px 0 1px; background:url(../img/common/ic-nav-home_w.svg) no-repeat 50% 50% / 17rem; font-size:0; min-height:100%;}

@keyframes scrollRolling {
	0%{opacity: 0; transform:translateY(-100%);}
	50%{opacity: 1; transform:translateY(0);}
	100%{opacity: 0; transform:translateY(100%);}
}

/* sub nav */
#sub-nav{display: flex; align-items: center; margin-bottom: 25rem; text-shadow: 3rem 3rem 20rem rgba(0, 0, 0, .2);}
#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_w.svg) no-repeat;opacity: 0.5;}
#sub-nav span{padding-left: 3rem; color: var(--f-01); font-size: 18rem; display: block;}
#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 all and (max-width:1023px){
	#sub-visual{height:580rem;}	
	#sub-visual h2{font-size:65rem;}

	.sub-visual__inner{margin-top: 20rem;}

	#sub-nav {margin-bottom: 12rem;}
	#sub-nav span {padding-left: 1px;}

	.lnb-inr {height: 72rem;}
	a.lnb-home {width: 72rem; height: 72rem; margin-left: 40rem;}
	.lnb-scroll {margin-left: 40rem;}
	#lnb-wrap .wrap-wide {margin: 0;}
	#lnb.lnb-select .select-link__btn{height: 72rem;}
	#lnb .select-link {padding: 0 30rem;}
	#lnb .select-link:last-child {border-right: 0;}
	#lnb .select-link > ul {top: 71rem;}
	#lnb .select-link > ul a {padding: 10rem 30rem;}
}

@media (max-width: 540px){
	#sub-visual{height:340rem;}
	#sub-visual h2{font-size: 40rem;}
	.sub-visual__inner{margin-top: 10rem;}
	.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::after {position: absolute; left:0; top:0; content:''; width: 100%; height: 100%; background: #000; opacity: .2;}

	#sub-nav {margin-bottom: 5rem;}
	#sub-nav span{padding-left: 0; font-size:13rem;}
	#sub-nav .sub-home{margin-right:18rem;}
	#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-scroll {display: none;}
	
	#lnb.lnb-select {width: 100%;}
	.lnb-inr {height: 50rem;}
	#lnb.lnb-select .select-link__btn{font-size:14rem;}
	#lnb .select-link {width: calc((100% - 50rem)/2); padding: 0 20rem;}
	#lnb .select-link:has(.depth2){margin-left:0;}
	#lnb.lnb-select .select-link:nth-child(2){margin-left:0;}
	#lnb .lnb-inner{display:inline-flex;margin:0;width:100%; box-sizing:border-box;}
	a.lnb-home {width: 50rem; height: 50rem; margin-left: 0; background-size: 13rem; border-left: 0;}
	#lnb.lnb-select .select-link__btn{display: inline-flex; width: 100%; height: 50rem; padding-right: 30rem; font-size: 14rem; white-space: nowrap;}
	#lnb.lnb-select  .select-link__btn::after{right:0rem; background-color:inherit;}
	#lnb .select-link > ul{top: 49rem; padding:10rem 20rem; border-radius:0;}
	#lnb .select-link > ul a{padding: 6rem 0;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;}
}