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

/* ========================================================
 * SETTING
======================================================== */
@media all and (max-width:1280px){
	:root{
		--area-padding: 30px;
		--header-height: 80px;
	}
}
@media all and (max-width:800px){
	:root{
		--area-padding: 5vw;
		--sub-visual-height: 24rem;
		--sub-menu-height: 60px;
	}
}
@media all and ( max-width: 480px ){
	:root{
		--header-height: 60px;
		--sub-menu-height: 45px;
	}
}

/* ========================================================
 * 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: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:1700px){	/* max-width : (area-box width) + 100px */
	.area-box{padding:0 var(--area-padding); max-width:none;}
}
@media all and (max-width:1500px){ 
	.area{padding:0 var(--area-padding); max-width:none;}
}
@media all and (max-width:1280px){ 
	.m-br{display:block;}
	.pc-br{display:none;}
	.display-m{display:block;}
	.display-pc{display:none;}
}

/* ****************** HEADER ********************** */
@media all and ( max-width: 1280px ){
	/* -------- Header :: GNB(Pc) -------- */
	.fullpage-html #header{position: relative;}
	#headerInnerWrap{position:fixed; z-index:99;}
	#header.top-fixed #headerInnerWrap{border-bottom:1px solid #eee;}
	#gnb{display:none;}

	/* -------- 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:-102%;
		width:100%; 
		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;}

	/* -------- Header :: 네비게이션 오픈 버튼 -------- */
	.nav-open-btn{
		display:block; position:fixed; top:24px;  right:var(--area-padding); z-index:10000; 
		height:30px;
		transition:var(--transition-custom); 
	}
	.nav-open-btn .line{
		display:block; width:28px; height:3px; background-color:#333; margin: 4px auto;
	    transition:var(--transition-custom); 
	}
	.nav-open-btn.active .line{background-color:#333;}
	.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(7px) rotate(45deg);
	}
	.nav-open-btn.active .line:nth-child(3){
		transform: translateY(-7px) rotate(-45deg);
	}
	
	#header.top-fixed .nav-open-btn .line{background-color:#333}
}
@media all and ( min-width: 481px ) and ( max-width: 1280px ) {
	.nav-open-btn.active{right:20px;}
}
@media all and ( max-width: 480px ){
	#header .logo img{height:14px;}

	/* Header :: 사이트맵, 네비게이션 버튼 */
	.nav-open-btn{top:15px; margin-top:0;}
	.nav-open-btn .line{width:20px; height:2px;}
	.nav-open-btn.active .line:nth-child(1){
		  transform: translateY(6px) rotate(45deg);
	}
	.nav-open-btn.active .line:nth-child(3){
		  transform: translateY(-6px) rotate(-45deg);
	}
	/* Header :: GNB(Mobile) */
	#navigation > li > a{font-size:15px;}
	#navigation > li .gnb-2dep > ul > li > a{font-size:13px;}
}

/* ****************** FOOTER ********************** */
@media all and (max-width:1500px){ 
	.to-top-btn{right: var(--area-padding);}
}
@media all and (max-width:800px){
	.footer-left-con,
	.footer-right-con{float:none;}
	#footerInner{padding: 5.5rem 0;}
	.foot-logo-menu-box{display: flex; flex-wrap:wrap; align-items: center;}
	/* Footer :: 푸터로고 */
	.foot-logo{display:block;}
	.foot-logo img{max-height: 14px;}
	/* Footer :: 푸터메뉴 */
	.foot-menu{margin-left: 1.7rem;}
	.foot-menu li{padding-left:1.7rem;}
	.foot-menu li a{font-size: 1.6rem;}

	/* Footer :: 정보 style02 */
	.footer-address-info-box{margin-top: 2.5rem;}
	.footer-address-list dl{margin-top: 0.5rem; display: flex; flex-wrap:wrap; font-size: 1.6rem; line-height: 1.5;}
	.footer-address-list dl dt,
	.footer-address-list dl dd{width: calc(100% - 7.5rem);}
	.footer-address-list dl dt{width: 7.5rem;}

	/* Footer :: Copyright */
	.footer-copyright{margin-top: 4rem; font-size:1.6rem; line-height: 1.62;}

	/* Footer :: 대표 전화번호 */
	.foot-tel-box{margin-top: 5rem; width: 20rem; height: 6rem; font-size: 2rem; line-height: 1.3;}
}


/* ****************** MODAL LAYERPOPUP ********************** */
@media all and ( max-width: 800px ){
	/* modal layer content */
	.footer-modal-content{width:auto; margin:50px 15px}
	.footer-modal-content h1{padding-bottom: 1.5rem; font-size:2rem; line-height: 1.3;}
	.modal-close-btn{top:2.5rem; right:3rem;}
	.modal-close-btn i{font-size:20px;}
	.footer-inner-box{padding:4rem 3rem;}
	.footer-inner-cover{padding:2.5rem 2rem;}
	.footer-inner{height:35rem;}
	.footer-inner dl{margin: 0; font-size: 1.5rem; line-height: 1.87;}
	.footer-inner dl + dl{margin-top: 3rem;}
	.footer-inner dd .num-txt{padding-left: 1rem;}
	.footer-inner dd .num-cir-txt{padding-left: 1.7rem;}
	.footer-modal-content .mCSB_outside + .mCSB_scrollTools {right: -17px;}
}