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

/* ========================================================
 * SETTING
======================================================== */
@media all and (max-width:800px){
	:root{
		--area-padding: 5vw;
		--sub-menu-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:1380px){ 
	.area{padding:0 var(--area-padding); max-width:none;}
}
@media all and (max-width:1280px){ 
	.m-br{display:block;}
	.pc-br{display:none;}
}
@media all and (max-width:800px){
	.display-m{display:block;}
	.display-pc{display:none;}
}

/* ****************** HEADER ********************** */
@media all and (max-width:1660px){
	#headerInner{padding:0 var(--area-padding); box-sizing:border-box;}
}
@media all and ( max-width: 1280px ){
	.fullpage-html #header{position:relative;}
	#headerInnerWrap{position:fixed; z-index:99;}
	
	/* -------- Header :: UTIL BOX -------- */
	.header-util-box{padding-right:50px;}
	/* Header :: 사이트맵 버튼 */
	.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:-82%;
		width:80%; 
		height:100%;  
		max-width:280px; 
		background-color:rgba(0,0,0,0.7); 
		backdrop-filter:blur(1rem);
		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 rgba(255,255,255,0.1);}
	#navigation > li > a {position:relative; display:block; padding:3rem var(--area-padding); color:#fff; font-size:2.2rem; font-weight:700; }
	#navigation > li.active > a{color:var(--main-color);}
	#navigation > li.has-2dep > a:before{font-family:xeicon; content: "\e942"; position:absolute; top:50%; right:var(--area-padding); font-size:1.3em; transform:translateY(-50%);}
	#navigation > li.has-2dep.active > a:before{content: "\e945";}
	/* GNB Mobile ::  메뉴영역 :: 2차 */
	#navigation > li .gnb-2dep{display:none; padding:1rem 0; border-top: 1px solid rgba(255, 255, 255, 0.1);}
	#navigation > li .gnb-2dep > ul > li{height:auto !important;}
	#navigation > li .gnb-2dep > ul > li > a{display:block; color:#fff; font-size:1.7rem; padding:1.5rem var(--area-padding); 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) + 8rem); }
	.gnb-style-full-member .gnb-navigation-wrapper{bottom:var(--header-height);}
	.gnb-style-full .gnb-navigation-inner{display:table; width:100%; height:100%; padding: 0 var(--area-padding); box-sizing: border-box;}
	.gnb-style-full #navigation{
		display:table-cell;
		vertical-align:top;
		border-top:1px solid #fff;
	}
	.gnb-style-full #navigation > li{
		text-align:left; 
		opacity:0;
		transform:translateY(-20px);
		transition:all 0s 0s;
	}
	.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:0.9s;}
	
	/* -------- GNB Mobile :: 언어선택 및 회원메뉴 -------- */
	#gnbM .logo a{display: flex ; height: var(--header-height); align-items: center; padding:0 var(--area-padding); box-sizing:border-box;}

	.header-lang-list{display: none;}
	/* 언어선택 */
	.header-util-menu-box .lang-select{display: flex; align-items:center; justify-content:center; width:12rem; height:4rem; background:rgba(255,255,255,0.05); border-radius:4rem; margin:1rem auto;}
	.header-util-menu-box .lang-select li{position: relative; font-size:1.6rem; letter-spacing:-0.04em; font-weight:700; color:rgba(255,255,255,0.2); margin:0 1.5rem;}
	.header-util-menu-box .lang-select li:before{position: absolute; content:''; width:1px; height:1.5rem; top:50%; right:-1.6rem; transform:translateY(-50%); background:rgba(255,255,255,0.2);}
	.header-util-menu-box .lang-select li:last-child:before{display: none;}
	.header-util-menu-box .lang-select li > a{display:block; position:relative; transition:var(--transition-custom);}
	.header-util-menu-box .lang-select li.cur a{color:#fff;}


	/* -------- Header :: 네비게이션 오픈 버튼 -------- */
	.nav-open-btn{ display:block; position:fixed; top:20px; right:var(--area-padding); z-index:10000; width:6rem; height:6rem; display:flex; align-items:center; justify-content: center; box-sizing:border-box; border:1px solid #fff; border-radius:50%; transition:var(--transition-custom); }
	.nav-open-btn i{position: absolute; top:50%; left:50%; transform:translate(-50%, -50%); font-size:2.4rem; color:#fff; transition:var(--transition-custom);}
	.nav-open-btn i:nth-child(2){opacity:0}
	/* active */
	.nav-open-btn.active i:nth-child(1){
		transform: translate(-50%, -50%) rotate(45deg);
	}
	.nav-open-btn.active i:nth-child(2){
		transform: translate(-50%, -50%) rotate(-45deg); opacity:1;
	}

}
@media all and ( max-width: 800px ){
	#header .logo img{height:35px;}
	/* Header :: 검색버튼 */
	.header-search-box{margin-left:5px;}
	.header-search-inner{
		position:fixed; 
		left:0; 
		top:var(--header-height); 
		height:38px; 
		width:100%;
		border-width:3px;
		padding-right:35px;
	}
	.header-search-inner .header-search-btn{right:40px;}
	.header-search-inner .header-search-close-btn{height:100%; width:38px; border-radius:0;}
}

/* ****************** FOOTER ********************** */
@media all and (max-width:1660px){
	.footer-address .footer-address-txt,
	.footer-contact{margin-right:5rem;}
}
@media all and (max-width:1280px){
	/* Footer :: 푸터로고 */
	.foot-logo img{height:20px;}

	/* Footer :: 정보 */
	.footer-address{flex-direction:column;}
	.footer-address .footer-address-txt{margin-right:0; margin-bottom:2rem;}
}
@media all and (max-width:800px){
	#footerWrap{position: relative; margin-bottom:20rem;}
	/* -------- FOOTER :: 상단 -------- */
	#footerTop{display: block; }
	#footerTop .footer-right-con{position: absolute; top:100%; display: block; width:100%; padding:4rem 0 5rem; border-top:1px solid rgba(255,255,255,0.12);}

	/* Footer :: 푸터로고 */
	.foot-logo{text-align:center;}

	/* Footer :: 푸터메뉴 */
	.foot-menu{justify-content: center;}

	/* Footer :: 패밀리사이트 */
	.family-site-box{margin:auto; margin-top:5.5rem;}


	/* -------- FOOTER :: 하단 -------- */
	#footerBottom{display: block; padding:4rem 0; text-align:center;}
	#footerBottom .footer-left-con{display: none;}
	#footerBottom .footer-right-con{display: block; padding-left:0rem; margin-left:0rem;}
	#footerBottom .footer-right-con:before{display: none;}

	/* Footer :: Contact */
	.footer-contact{margin-right:0; margin-bottom:3.5rem;}
	.footer-contact p{font-size:2.4rem; line-height:1.375; letter-spacing:-0.04em; color:#fff; font-weight:700;}
	.footer-contact p span{display: inline-block; width:5.5rem; text-align:left;}

	/* Footer :: link */
	.footer-link-box{justify-content: center; margin:-0.75rem;}
	.footer-link-box .footer-link{margin:0 0.75rem !important;}
	.footer-link-box .footer-link i{font-size:2.4rem;}

	/* Footer :: Copyright */
	.footer-copyright{text-align:center;}
	.footer-copyright span{display: inline-block;}
}

/* ****************** SUB LAYOUT ********************** */
@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}	
	/*  SUB LAYOUT :: 컨텐츠 레이아웃 */
	#content:not(.wide){padding:var(--header-height) var(--area-padding) 70px}
	#content.wide{padding:var(--header-height) 0 0 0}
}

@media all and (max-width:800px){
	/*  SUB LAYOUT :: 비주얼 */
	#visual .visual-tit{font-size:4.6rem; animation: sub-active-mobile-animation 2s cubic-bezier(0.4, 0, 0.2, 1) both; }
	@keyframes sub-active-mobile-animation {
		0% {opacity: 0; letter-spacing: 0.2em; }
		10%{opacity: 0;}
		100% {opacity: 1; letter-spacing: -0.04em; }
	}
	#visual .visual-sub-txt{font-size:1.8rem; padding-top:1.5rem;}
	/* 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:absolute; bottom:8rem; width:100%; height:calc(var(--sub-menu-height) + 1px); z-index:19; } /* (+1 border height)*/
	#topMenuM .top-menu-wrapper{position:absolute; top:0; left:0; right:0; height:var(--sub-menu-height); padding:0 var(--area-padding); box-sizing: border-box;}
	#topMenuM .top-menu-inner{position:relative; height:var(--sub-menu-height);}
	#topMenuM .menu-location{position:relative; box-sizing:border-box; width:100%;}
	#topMenuM .menu-location > .cur-location{position:relative; display:block; width:100%; text-align:center; height:var(--sub-menu-height); padding:0 var(--area-padding); 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:#fff; font-weight:600; font-size:1.8rem;}
	#topMenuM .menu-location > .cur-location .arrow{position:absolute; top:50%; right:10px; width:20px; height:20px; margin-top:-10px; font-size:2.4rem; color:#fff;}
	#topMenuM .menu-location .location-menu-con{display:none; position:absolute; top:calc(100% - 1rem); left:0; right:0; background-color:var(--main-color2); z-index:11; border-radius:0 0 1rem 1rem;}
	#topMenuM .menu-location .location-menu-con li a{display:flex; justify-content: center; 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; color:#fff; text-align:center;}
	#topMenuM .menu-location .location-menu-con li a .cm-fill{display: none;}
	#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:100%; background:var(--main-color2); border-radius:1rem;}
	#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 :: 상단정보 (공통) */
	#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:var(--header-height) var(--area-padding) 50px}
	#content.wide{padding:var(--header-height) 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;}
}