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

/* ========================================================
 * SETTING
======================================================== */
@media all and (max-width:1280px){
	:root{
		--header-height: 80px;
	}
}
@media all and (max-width:800px){
	:root{
		--area-padding: 5vw;
		--sub-visual-height: 22rem;
		--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:1890px){
	.area-wide{padding:0 var(--area-padding); max-width:none;}
}
@media all and (max-width:1560px){
	.area-box{padding:0 var(--area-padding); max-width:none;}
}
@media all and (max-width:1360px){ 
	.area-sub{padding:0 var(--area-padding); max-width:none;}
}
@media all and (max-width:1305px){ 
	.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 ){
	#headerInnerWrap{position:fixed; z-index:99;}
	#headerInner{padding: 0 var(--area-padding);}
	#header.top-fixed #headerInnerWrap{background-color: #000; border-bottom:1px solid rgba(255,255,255,0.25);}
	
	/* -------- Header :: UTIL BOX -------- */
	.header-util-box{}
	/* Header :: 사이트맵 버튼 */
	#siteMapCon03, .sitemap-line-btn, .sitemap-custom-btn{display:none;}

	/* -------- Header :: GNB(Pc) -------- */
	#gnb{display:none;}
	.gnb-overlay-bg{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%;  
		background-color:#000; 
		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차 */
	.gnb-navigation-inner .navigation-tit{overflow: hidden;}
	.gnb-navigation-inner .navigation-tit h5{font-size: 2rem; letter-spacing: -0.025em; font-weight: 600; color: #fff; transform: translateY(110%);  transition:transform 0.6s ease 0.3s;}
	.gnb-navigation-inner .logo-bg{position: relative; max-width: 95.9rem; margin: 0 auto;}
	.gnb-navigation-inner .logo-bg span{width: 100%; height: 0; padding-top: 102.18%; display: block; background-size: 90% !important; background-position-x: 100% !important; background-position-y: 45% !important; opacity: 0; transition:opacity 0.6s ease 0s;}
	.gnb-navigation-inner .logo-bg .sns-list{position: absolute; left: var(--area-padding); bottom: 14.89%; z-index: 10; opacity: 0; transition:opacity 0.6s ease 0s;}
	.gnb-navigation-inner .logo-bg .sns-list li{display:block; margin-top:1.5rem}
	.gnb-navigation-inner .logo-bg .sns-list li:first-child{margin-top:0}
	.gnb-navigation-inner .logo-bg .sns-list li a{display:block; font-size: 1.6rem; letter-spacing: -0.04em; color: rgba(255,255,255,0.2); transition:var(--transition-custom);}
	.gnb-navigation-inner .logo-bg .sns-list li a.sns-img em{margin-right: 1rem; display: inline-block; vertical-align: middle; width:24px; height:24px; background: url("/images/common/icon_sns.png") center/contain no-repeat; transition:var(--transition-custom);}
	.gnb-navigation-inner .logo-bg .sns-list li a i{position: relative; top: -0.2rem; margin-right: 1rem; display: inline-block; vertical-align: middle; font-size:24px; line-height:24px;}
	#navigation{padding-top: 5rem;}
	#navigation > li{margin-top: 3rem; opacity: 0.3; overflow: hidden; transition: opacity 0.3s;}
	#navigation > li:first-child{margin-top: 0;}
	#navigation > li > a {position:relative; display:block; padding:0 20%; font-size:4rem; line-height: 1.1; font-weight:600; color: #fff; transform: translateY(110%);  transition:transform 0.6s ease 0.3s;}
	#navigation > li:hover,
	#navigation > li.active{opacity: 1;}

	/* Open */
	#gnbM.open .gnb-navigation-inner .logo-bg span,
	#gnbM.open .gnb-navigation-inner .logo-bg .sns-list{opacity: 1; transition-delay:0.4s}
	#gnbM.open .gnb-navigation-inner .navigation-tit h5,
	#gnbM.open #navigation > li > a{transform: translateY(0);}
	
	/* -------- Header :: 네비게이션 오픈 버튼 -------- */
	.nav-open-btn{
		display:block; position:fixed; top:24px;  right:var(--area-padding); z-index:10000; 
		height:30px; font-size: 32px; color: #fff;
	}
	.nav-open-btn i{position: relative; top: -3px;}
	.nav-open-btn .close-icon{display: none;}
	.nav-open-btn.active{top: 20px; right: 20px;}
	.nav-open-btn.active .open-icon{display: none;}
	.nav-open-btn.active .close-icon{display: block;}
}
@media all and ( max-width: 480px ){
	#header .logo img{}

	/* Header :: 사이트맵, 네비게이션 버튼 */
	.nav-open-btn{top:15px; margin-top:0;}

	.gnb-navigation-inner .logo-bg span {padding-top: 90%;}
}

/* ****************** FOOTER ********************** */
@media all and (max-width:1560px){
	#footerBottom .area-box{padding-left: 0; padding-right: 0; margin: 0 var(--area-padding);}
	/* Footer :: TOP버튼 */
	.to-top-btn{right: var(--area-padding);}
}
@media all and (max-width:1280px){
	.footer-left-con,
	.footer-right-con{float: none; width: 100%;}
	.footer-right-con{padding-right: 0;}
	.logo-menu-group{display: block;}
	/* Footer :: 푸터메뉴 */
	.foot-menu{margin-top: 1.5rem; display: block; margin-left: 0;}
	.foot-menu li{float:none; line-height: 1.3;}
	/* Footer :: 사이트맵 */
	.footer-sitemap-list-con{margin-top: 3rem;}
	/* Footer :: 정보 */
	.footer-address{margin-top: 3rem; margin-bottom: 2rem;}
	.footer-address .footer-address-txt{margin: 0;}
	.footer-address .footer-address-txt p{margin-bottom:1rem;}
	.footer-address p{display: block; margin:0;}
	/* Footer :: TOP버튼 */
	.to-top-btn{top: 0; right:var(--area-padding); width:6rem; height:6rem; font-size: 1.5rem;}
	.to-top-btn i{font-size:2.4rem;}
	/* -------- FOOTER :: 하단 -------- */
	#footerBottom .area-box{padding-top: 3rem; padding-bottom: 5rem;}
}
@media all and (max-width:800px){
	/* -------- FOOTER :: 상단 -------- */
	#footerTop{padding:7rem 0 3rem;}

	/* Footer :: 푸터메뉴 */
	.foot-menu{margin-top: 1.5rem; margin-left: 0;}
	.foot-menu li{line-height:1.3;}
	.foot-menu li a{font-size: 1.5rem;}

	/* Footer :: 사이트맵 */
	.footer-sitemap-list-con > ul > li{padding-left:2rem;}
	.footer-sitemap-list-con > ul > li a{font-size:1.8rem; line-height: 2.4rem;} 

	/* Footer :: 정보 */
	.footer-address p {    display: inline-block;}
	.footer-address .footer-address-txt{font-size:1.5rem; line-height:1.5;}
	.footer-address .footer-address-txt p{margin-bottom:1rem; margin-right: 1em;}

	/* Footer :: SNS 리스트 */
	.foot-sns-menu li{margin-left:1.5rem}
	.foot-sns-menu li a{width:24px; height:24px;}
	.foot-sns-menu li a i{font-size:24px; line-height:24px;}

	/* -------- FOOTER :: 하단 -------- */
	/* Footer :: Copyright */
	.footer-copyright{font-size:1.2rem; line-height: 1.3;}
}

/* ****************** SUB LAYOUT ********************** */
@media all and (max-width:1360px){
	#content:not(.wide){padding:4rem var(--area-padding) 10rem}
	#content.wide{padding:4rem 0 0 0}
}
@media all and (max-width:1280px){
	/*  SUB LAYOUT :: 비주얼 */
	#visual .visual-txt-con{padding:0}
	/*  SUB LAYOUT :: 서브메뉴(스타일2,3,4) */
	#topMenu02 .area,
	#topMenu03 .area,
	#topMenu04 .area{padding:0;}
	#topMenu02 .area,
	#topMenu03 .area{margin:0 -1px}	
}
@media all and (max-width:800px){
	/*  SUB LAYOUT :: 비주얼 */
	#visual .visual-tit{font-size:4.5rem;}
	/* SUB LAYOUT :: 위치정보(location) */
	.location{padding-top: 3rem;}
	.location li{ font-size:1.6rem;}
	.location li i{font-size:2.2rem; margin-top: -0.2rem;}
	.location li:before{top: -0.1rem; margin:0px 1rem; font-size:2.2rem;}

	/* -------- SUB LAYOUT :: 서브메뉴 모바일 -------- */
	#topMenuM{display:block; position:relative; height:calc(var(--sub-menu-height) + 1px); } /* (+1 border height)*/
	#topMenuM .top-menu-wrapper{position:absolute; top:0; left:0; right:0; height:var(--sub-menu-height); }
	#topMenuM .top-menu-inner{position:relative; height:var(--sub-menu-height); border-bottom:1px solid #ddd; }
	#topMenuM .menu-location{position:relative; box-sizing:border-box; width:100%;}
	#topMenuM .menu-location > .cur-location{position:relative; display:block; width:100%; text-align:left; height:var(--sub-menu-height); padding:0 var(--area-padding); padding-right:calc(var(--area-padding) + 3rem); box-sizing:border-box;}
	#topMenuM .menu-location > .cur-location span{display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; line-height:var(--sub-menu-height); color:#222; font-weight:400; font-size:15px;}
	#topMenuM .menu-location > .cur-location .arrow{position:absolute; top:50%; right:10px; width:20px; height:20px; margin-top:-10px; font-size:20px;}
	#topMenuM .menu-location .location-menu-con{display:none; position:absolute; top:100%; left:-1px; right:-1px; border-bottom:1px solid #ddd; background-color:#fff; z-index:11; }
	#topMenuM .menu-location .location-menu-con li{border-top:1px solid #eee;}
	#topMenuM .menu-location .location-menu-con li a{display:flex; align-items:center; width:100%; height:35px; padding:0 var(--area-padding); font-size:14px; line-height:1.5; word-break:keep-all; box-sizing:border-box;}
	#topMenuM .menu-location .location-menu-con li.on{position:relative;}
	#topMenuM .menu-location .location-menu-con li.on a{color:var(--main-color); font-weight:500;}
	/* Home 버튼 있을때 */
	#topMenuM .location-to-home-btn + .top-menu-inner{padding-left:var(--sub-menu-height)}
	#topMenuM .location-to-home-btn{position:absolute; width:var(--sub-menu-height); height:var(--sub-menu-height); left:0px; top:0px; text-align:center; }
	#topMenuM .location-to-home-btn i{color:var(--main-color); font-size:20px; line-height:var(--sub-menu-height);}
	/* 2depth 있을때 */
	#topMenuM .menu-2dep{display:flex;}
	#topMenuM .menu-2dep .menu-location{width:50%; border-left:1px solid #ddd;}
	#topMenuM .menu-2dep .menu-location.loaction2{}
	#topMenuM .menu-2dep .menu-location .location-menu-con{border:1px solid #ddd; border-top:0; }
	/* Menu OPEN */
	#topMenuM .menu-location.open > .cur-location .arrow{transform:rotate(-180deg); margin-top:-10px;}

	/*  SUB LAYOUT :: 컨텐츠 레이아웃 */
	#content:not(.wide){padding:0 var(--area-padding) 10rem}
	#content.wide{padding:0 0 0 0}
}

/* ****************** MODAL LAYERPOPUP ********************** */
@media all and ( max-width: 800px ){
	/* modal layer content */
	.footer-modal-content{width:auto; margin:50px 15px}
	.footer-modal-content h1{font-size:18px; text-align:left; padding:0 30px 15px 0}
	.modal-close-btn{right:-3px; top:-3px;}
	.modal-close-btn i{font-size:24px}
	.footer-inner-box{padding:15px}
	.footer-inner{padding:10px; height:250px;}
}