@charset "utf-8";
/* *******************************************************
 * filename : layout_responsive.css
 * description : 전체 레이아웃 반응형 CSS
 * date : 2022-07-26
******************************************************** */

/* ========================================================
 * SETTING
======================================================== */
@media all and (max-width:1280px){
	:root{
		--header-height: 100px;
	}
}
@media all and (max-width:800px){
	:root{
		--area-padding: 5vw;
		--right-bar-width: 100vw;
	}
}

/* ========================================================
 * FONT SIZE
======================================================== */
@media all and (max-width:1536px){
	html{font-size:0.6510vw;} /* 10 */
}
@media all and (max-width:1280px){
	html{font-size:0.8594vw;} /* 10 -> 11*/
}
@media all and (max-width:1024px){
	html{font-size:0.8594vw;} /* 10 -> 11*/
}
@media all and (max-width:800px){
	html{font-size:1.375vw} /* 10 -> 11*/
}
@media all and (max-width:640px){
	html{font-size:1.7188vw}  /* 10 -> 11*/
}
@media all and ( max-width: 480px ){
	html{font-size:2.2vw}  /* 10 */
}
@media all and ( max-width: 412px ){
	html{font-size:2.4272vw}  /* 10 */
}
@media all and (max-width:390px){
	html{font-size:2.1795vw}  /* 10 -> 8.5 */
}

/* ========================================================
 * LAYOUT
======================================================== */
/* ****************** 공통클래스 ********************** */
@media all and (max-width:1780px){	/* max-width : (area-box width) + 60px */
	.area-box{padding:0 var(--area-padding); max-width:none;}
}
@media all and (max-width:1380px){	/* max-width : (area-box width) + 60px */
	.area{padding:0 var(--area-padding); max-width:none;}
}
@media all and (max-width:800px){ 
	.m-br{display:block;}
	.pc-br{display:none;}
	.display-m{display:block;}
	.display-pc{display:none;}
}

/* ****************** HEADER ********************** */
@media all and (max-width:1780px){
	.member-menu-box{right:var(--area-padding);}
}
@media all and (max-width:1680px){
	#gnb> ul > li > a{padding:0 7rem;}
	#gnb.each-menu > ul > li:nth-child(3) .gnb-2dep:after{margin-left:22rem;}
}
@media all and ( max-width: 1280px ){
	#headerInner{padding:0 var(--area-padding); flex-direction: column; align-items: flex-start; justify-content: center; background:#fff;}
	#headerInnerWrap{position:fixed; z-index:99;}

	#gnb,
	.header-util-box{display: none;}
	#header .logo{height:6rem; width:auto;}
	#header .logo svg{width:auto; height:100%;}
	.header-right-box a{width:auto; height:20px; margin-top:5px; margin-right:auto;}
	.header-right-box a svg{width:auto; height:100%;}



	/* -------- Header :: GNB(Mobile/기본스타일) -------- */
	.gnb-overlay-bg-m{display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.5); z-index:9998;}	
	#gnbM{ 
		display:block; 
		position:fixed; 
		top:0px; 
		right:-82%;
		width:80%; 
		height:100%;  
		max-width:280px; 
		background-color:#fff; 
		z-index:9999; 
		transition:var(--transition-custom);   
		visibility:hidden;
	}
	#gnbM.open{
		right:0px; 
		visibility:visible;
	}
	/* GNB Mobile :: 레이아웃 */
	.gnb-navigation-wrapper{position:relative; height:100%; box-sizing:border-box; padding-top:var(--header-height); overflow-y:auto;}	
	.header-util-menu-box + .gnb-navigation-wrapper{padding-top:0; height:calc(100% - var(--header-height));}
	
	/* GNB Mobile :: 메뉴영역 :: 1차 */
	#navigation > li{border-bottom:1px solid #e7e7e7;}
	#navigation > li:first-child{border-top:1px solid #e7e7e7}
	#navigation > li > a {position:relative; display:block; padding:15px var(--area-padding); color:#333; font-size:17px; font-weight:500; }
	#navigation > li.active > a{color:var(--main-color);}
	#navigation > li.has-2dep > a:before{font-family:xeicon; content: "\e914"; position:absolute; top:50%; right:var(--area-padding); font-size:1.3em; transform:translateY(-50%);}
	#navigation > li.has-2dep.active > a:before{content: "\e91b";}
	/* GNB Mobile ::  메뉴영역 :: 2차 */
	#navigation > li .gnb-2dep{display:none; padding:15px 0; background-color:#f2f2f2; }
	#navigation > li .gnb-2dep > ul > li{height:auto !important;}
	#navigation > li .gnb-2dep > ul > li > a{display:block; color:#888; font-size:14px; padding:12px var(--area-padding); }
	#navigation > li .gnb-2dep > ul > li.on > a{color:#000; font-weight:500;}
	/* GNB Mobile :: 메뉴영역 ::  3차 */
	#navigation > li .gnb-2dep > ul > li > .gnb-3dep{display:none; padding:10px; background-color:#aaa; margin:0 10px}
	#navigation > li .gnb-2dep > ul > li > .gnb-3dep > li > a{display:block; padding:8px 0; font-size:13px; color:#fff;}
	#navigation > li .gnb-2dep > ul > li > .gnb-3dep > li > a:before{display:inline-block; content:"-"; margin-right:5px;}
	
	/* -------- GNB Mobile :: 스타일2 (Full Style) -------- */
	#gnbM.gnb-style-full{ 
		top:-100%; 
		right:0;
		width:100%; 
		height:100%;  
		max-width:none; 
	}
	#gnbM.gnb-style-full.open{
		top:0px; 
	}
	.gnb-style-full .gnb-navigation-wrapper{height:auto; width:100%; position:absolute; top:0px; bottom:0px; left:0; padding-top:0;}
	.gnb-style-full .header-util-menu-box + .gnb-navigation-wrapper{top:calc(var(--header-height) + 4rem);}
	.gnb-style-full-member .gnb-navigation-wrapper{bottom:var(--header-height);}
	.gnb-style-full .gnb-navigation-inner{display:table; width:100%; height:100%;}
	.gnb-style-full #navigation{
		display:table-cell;
		vertical-align:middle;
	}
	.gnb-style-full #navigation > li{
		text-align:center; 
		border:0; 
		opacity:0;
		transform:translateY(-20px);
		transition:all 0s 0s;
	}
	.gnb-style-full #navigation > li:first-child {border:0}
	.gnb-style-full #navigation > li > a {}
	.gnb-style-full #navigation > li .gnb-icon i{display:none;}
	.gnb-style-full.open #navigation > li{
		opacity:1.0;
		transform:translateY(0px); 
		transition:transform 0.8s, opacity 0.8s;
	}
	.gnb-style-full.open #navigation > li:nth-child(1){transition-delay:0.3s;}
	.gnb-style-full.open #navigation > li:nth-child(2){transition-delay:0.4s;}
	.gnb-style-full.open #navigation > li:nth-child(3){transition-delay:0.6s;}
	.gnb-style-full.open #navigation > li:nth-child(4){transition-delay:0.7s;}
	.gnb-style-full.open #navigation > li:nth-child(5){transition-delay:0.9s;}
	.gnb-style-full.open #navigation > li:nth-child(6){transition-delay:1.1s;}


	/* -------- Header :: 홈 버튼 -------- */
	.m-home-btn{display: block; font-size:32px; color:#000; position: fixed; top: 35px; right: calc(var(--area-padding) + 64px); z-index:100;}
	/* -------- Header :: 네비게이션 오픈 버튼 -------- */
	.nav-open-btn{
		display:block; position:fixed; top:24px;  right:var(--area-padding); z-index:10000; 
		height:52px;
		transition:var(--transition-custom); 
	}
	.nav-open-btn .line{
		display:block; width:40px; height:4px; background-color:#000; margin: 10px auto; border-radius:2px;
	    transition:var(--transition-custom); 
	}
	.nav-open-btn .line:nth-child(1){background-color:var(--main-color);}
	.nav-open-btn.active .line{background-color:#000;}
	.nav-open-btn.active .line:nth-child(2), .nav-open-btn.active .line:nth-child(4){opacity: 0;}
	.nav-open-btn.active .line:nth-child(1){
		  transform: translateY(14px) rotate(45deg);
	}
	.nav-open-btn.active .line:nth-child(3){
		  transform: translateY(-14px) rotate(-45deg);
	}
	

	.header-util-menu-box .member-menu-box{left:var(--area-padding); top:var(--header-height);}
	.header-util-menu-box .member-menu-box li{width:100%;}
	.header-util-menu-box .member-menu-box li a{width:100%;}

	.member-menu-box li:nth-child(1) a{border-radius:1rem 0 0 1rem;}
	.member-menu-box li:nth-child(2) a{border-radius:0 1rem 1rem 0;}
}

@media all and (max-width:800px){
	#header{position: fixed;}
}


/* ****************** Footer ********************** */
@media all and (max-width:800px){
	#footer > .area-box{flex-direction: column; align-items: center; padding-bottom:10rem;}
	#footer > .area-box > article{width:100% !important; text-align:center;}

	#footerLeft{order:1;}
	#footerRight{order:2; margin-top:2.5rem;}
	#footerCenter{order:3; margin-top:4rem;}

	.foot-menu li:first-child{padding-left:0;}

	.footer-copyright{position: absolute; width:calc(100vw - (2 * var(--area-padding))); bottom:5rem; margin-top:0; text-align:center;}

	#footerRight .foot-logo-box{text-align:center; margin-bottom:0;}
	.foot-menu{justify-content: center; margin-top:3.5rem;}
	.footer-address .footer-address-txt{flex-direction: column;}
}


/* ****************** Sub layout ********************** */
@media all and (max-width:800px){
	/*  SUB LAYOUT :: 컨텐츠 레이아웃 */
	#content{padding:calc(70px + var(--header-height)) 0 70px;}
	#visual + #middleArea #content:not(.wide){padding:70px var(--area-padding);}
	#visual + #middleArea #content.wide{padding:70px 0 0 0}

	#visual{margin-top:var(--header-height);}
	#visual .visual-txt-con{box-sizing:border-box;}
	#visual .visual-tit{font-size:3rem;}
	#visual .visual-sub-txt{font-size:1.6rem;}
}

