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

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

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

/* ****************** HEADER ********************** */
@media all and ( max-width: 1366px ){
	/* -------- Header :: GNB(PC) -------- */
	#gnb > ul > li > a{font-size:18px; padding:0 40px}
	#gnb > ul > li .gnb-2dep ul li a{font-size:14px; }
}
@media all and ( max-width: 1280px ){
	.fullpage-html #header{position:relative;}
	#header.top-fixed {position: fixed;}

	/* -------- Header :: UTIL BOX -------- */
	.header-util-box{padding-right:50px;}
	/* Header :: 사이트맵 버튼 */
	
	.header-login-btn {justify-content: center; width: 8.5rem; height: 8.5rem; border-radius: 50%; right: 4rem; top: 15rem; border: 0.8rem solid #fff;}
	.header-login-btn span {display: none;}
	.header-login-btn i {margin-right: 0;}

	.nav-mypage-btn {width: 18rem;}

	#gnbM .header-login-btn {top: 3rem; right: 14rem;}

	/* -------- Header :: GNB(Pc) -------- */

	#gnb{display:none;}
	.gnb-overlay-bg{display:none}

	/* -------- Header :: GNB(Mobile/기본스타일) -------- */
	/* #gnbM {display: none;}
	.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 {height:300px;}
	.gnb-navigation-wrapper {    align-items: flex-end; padding-bottom: 6rem;}
	.gnb-navigation-inner ul li {width: 33.33%;}
	.gnb-navigation-inner ul li a {font-size: 2rem;}

	/* -------- Header :: 오른쪽 퀵메뉴-------- */
	/* 	#rightBar {display: none;} */
	#rightBar {margin-top: 0; top:28rem;}
}
@media all and ( max-width: 800px ){
	#gnbM {height:350px;}
	.gnb-navigation-inner ul li {width: 50%;}
	.gnb-navigation-wrapper { padding-bottom: 4rem;}

	.nav-open-btn {width: 6rem; height: 6rem; top: 2.5rem; right: 2rem; padding: 0.5rem;}
	.nav-open-btn .inner .dot {width: 18px; height: 18px;}
	.nav-open-btn .inner .dot span {width: 4px; height: 4px;}
	.nav-open-btn .inner strong {margin-top: 5px; font-size: 11px;}

	.header-login-btn {width:6rem; height:6rem;  right: 2rem; top: 10rem;   border: 0.5rem solid #fff}
	.header-login-btn i {font-size: 3rem;}

	.nav-close-btn {width: 6rem; height: 6rem; top: 2.5rem; right: 2rem;  padding: 0.5rem;}
	.nav-close-btn .inner i {font-size: 4rem;}
	
	.nav-mypage-btn {}
	.nav-mypage-btn { top: 2.5rem; right: 16.5rem;}

	.logout-btn {top: 2.5rem; right: 9rem;}

	#gnbM .nav-close-btn {top: 2.5rem;}
	#gnbM .nav-mypage-btn {top: 2.5rem; right: 16.5rem;}
	#gnbM .header-login-btn {top: 2.5rem; right: 9rem; }
	#gnbM .logout-btn {top: 2.5rem;}

	/* -------- Header :: 오른쪽 퀵메뉴-------- */
	#rightBar {width: 100%; display: flex; top: auto; bottom: 2rem; right: 0;} 
	#rightBar li {width: 20%;}
	#rightBar li:before {width: 140%; }
}

/* ****************** FOOTER ********************** */
@media all and (max-width:1280px){
	/* -------- FOOTER :: 레이아웃 -------- */
	#footer {padding: 6rem 0 12rem;}
	.footer-logo {justify-content: center; padding: 6rem var(--area-padding) 0;}
	.footer-logo span {margin-left: 0; margin: 0 1rem;}
}
@media all and (max-width:800px){
	/* -------- FOOTER  -------- */
	.to-top-btn.bottom-fixed {bottom: 13rem;}
}
@media all and (max-width:480px){
	/* -------- FOOTER  -------- */
	.to-top-btn.bottom-fixed {bottom: 11rem;}
}

/* ****************** SUB LAYOUT ********************** */
@media all and (max-width:1280px){
	#wrap {position: relative;}
	#wrap:before {position: absolute; content: ''; width:10rem; height: 100%; top: 0; left: 0; background: url(/images/main/main_bg_left.png)no-repeat top 0 left 0 /cover; z-index: -1;}
	#wrap:after {position: absolute; content: ''; width:10rem; height: 100%; top: 0; right: 0; background: url(/images/main/main_bg_right.png)no-repeat top 0 right 0 /cover; z-index: -1;}

	#middleArea {background: transparent;}

	/*  SUB LAYOUT :: 비주얼 */
	
	/*  SUB LAYOUT :: 서브메뉴(스타일2,3,4) */
	#topMenu02 .area,
	#topMenu03 .area,
	#topMenu04 .area{padding:0;}
	#topMenu02 .area,
	#topMenu03 .area{margin:0 -1px}	
	/*  SUB LAYOUT :: 컨텐츠 레이아웃 */
	#content:not(.wide){padding:15rem var(--area-padding)}
	#content.wide{padding:15rem 0 10rem}
}

@media all and (max-width:800px){
	/*  SUB LAYOUT :: 비주얼 */
	#visual {height: auto;}
	#visual .visual-img-con {position: relative; height: auto;}
	#visual .visual-img-inner.visual-img-inner-pc {display: none;}
	#visual .visual-img-inner.visual-img-inner-m {display: block; }
	#visual .visual-img-inner.visual-img-inner-m img {max-width: 100%;}
	#visual .visual-txt-con {position: absolute; top: 0; left: 0;  padding: 2.5rem 10rem 0;}

	/* SUB LAYOUT :: 위치정보(location) */
	.location li{font-size:12px;}
	.location li:before{margin:0 6px 0 4px; top:0px;}
	.location li i{margin-top:0px; font-size:16px;}
	/*  SUB LAYOUT :: 이전페이지,다음페이지 버튼 */
	.sub-page-controls-btn .sub-page-name{display:none}
	/*  SUB LAYOUT ::  서브메뉴(스타일1,2,3) */
	#topMenu01,
	#topMenu02,
	#topMenu03{display:none}
	/*  SUB LAYOUT :: 서브메뉴(스타일4) */
	#topMenu04 .side-menu-inner{padding-left:var(--sub-menu-height); width:auto;}
	#topMenu04 .location-to-home-btn{position:absolute; width:var(--sub-menu-height); height:var(--sub-menu-height); left:0px; top:0px; border:0;}
	#topMenu04 .location-to-home-btn i{font-size:20px; line-height:var(--sub-menu-height);}
	#topMenu04 .menu-location{width:50%;}
	#topMenu04 .menu-location > .cur-location{height:var(--sub-menu-height); border-right:0; border-left:1px solid #ddd; padding:0 30px 0 10px}
	#topMenu04 .menu-location > .cur-location span{line-height:var(--sub-menu-height); font-size:15px;}
	#topMenu04 .menu-location .location-menu-con{top:var(--sub-menu-height); left:0; padding-bottom:10px}
	#topMenu04 .menu-location .location-menu-con li a{font-size:14px; padding:7px 10px;}
	
	/* -------- 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.location2{}
	#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 :: 상단정보 (공통) */
	#contentInfoCon{margin:30px 0; }
	#contentInfoCon .content-tit{font-size:24px}
	#contentInfoCon .content-tit:after{position:static; display:block; margin-top:15px;}
	#contentInfoCon .content-sub-tit{font-size:13px; line-height:18px; margin-top:15px;}
	/*  SUB LAYOUT :: 상단정보(스타일03) */
	#contentInfoCon.content-title-location{text-align:center;}
	#contentInfoCon.content-title-location .content-tit{float:none;}
	#contentInfoCon.content-title-location .location{float:none; padding-top:23px;}

	/*  SUB LAYOUT :: 컨텐츠 레이아웃 */
	#content:not(.wide){padding:10rem var(--area-padding)}
	#content.wide{padding:10rem 0}
}
@media all and (max-width:480px){
	#visual .visual-txt-con {padding: 3rem 6rem 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;}
}