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

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

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

/* ****************** 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;}
	#headerInnerWrap{position:fixed; z-index:99;}
	#header.top-fixed #headerInnerWrap{background-color:#fff; border-bottom:1px solid #eee;}
	
	/* -------- Header :: UTIL BOX -------- */
	.header-util-box{padding-right:50px;}
	/* Header :: 사이트맵 버튼 */
	.sitemap-line-btn, .sitemap-custom-btn{display:none;}
	.header-member {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:#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:3rem var(--area-padding); color:#333; font-size:2rem; font-weight:600; }
	#navigation > li.active > a{ padding:3rem var(--area-padding) 1.5rem}
	/* GNB Mobile ::  메뉴영역 :: 2차 */
	#navigation > li .gnb-2dep{display:none; padding:0px 0 1.5rem; }
	#navigation > li .gnb-2dep > ul > li{height:auto !important;}
	#navigation > li .gnb-2dep > ul > li > a{display:block; color:#666; font-size:1.6rem; padding:1rem var(--area-padding); }
	#navigation > li .gnb-2dep > ul > li.on > a{color:#000; font-weight:500;}
	
	/* -------- 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:var(--header-height); }
	.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:0.9s;}
	
	#gnbM .logo{height: var(--header-height); line-height: var(--header-height);}
	#gnbM .logo a{display: inline-block;}
	#gnbM .logo img{display: inline; vertical-align:middle;}

	/* -------- Header :: 네비게이션 오픈 버튼 -------- */
	.nav-open-btn{
		display:block; position:fixed; top:33px;  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:#fff; margin: 6px 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}
	/* -------- Header :: 로그인 및 회원가입 -------- */
	.header-member-m {position:absolute; right: 7rem; top: 43px; z-index:10000; display: flex; }
	.header-member-m li {position: relative; width: 50%;}
	.header-member-m li:before {position: absolute; content: ''; width: 1px; height: 10px; top: 2px; left: -4px; background: #333;}
	.header-member-m li:first-child:before {display: none;}
	.header-member-m li a {display: block; width: 100%; padding: 0 4px; font-size: 12px; color: #333; font-weight: 400;}

}
@media all and ( max-width: 800px ){
	#headerInner {padding: 0 3vw;}
	.header-util-box{padding-right:65px;}
	/* 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;}
}
@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:20px;}
	/* Header :: 언어선택 */
	.header-lang{width:60px; margin-left:5px}
	.header-lang strong{display:none;}
	.header-lang > ul{border-color:#ccc;}
	.header-lang > ul > li > a{padding:0; text-align:center;}
	/* Header :: 사이트맵, 네비게이션 버튼 */
	.nav-open-btn{/* top:15px; */ margin-top:0;}
}

/* ****************** FOOTER ********************** */
@media all and (max-width:1280px){
	/* #footerTop .area-box {display: flex;} */
	.footer-left-con {flex-wrap: wrap;}
	.footer-info-box {width: 100%; padding-top: 3rem;}
	.footer-left-con {width: 65%;}
	.footer-right-con {width: 35%;}
}
@media all and (max-width:800px){
	/* -------- FOOTER :: 레이아웃 -------- */
	#footerTop, #footerBottom{text-align:center;}
	.footer-left-con {width: 100%;}
	.footer-right-con {width: 100%; padding-top: 5rem;}
	.footer-left-con,.footer-right-con{float:none; text-align:left;}
	/* Footer :: 푸터로고 */
	.foot-logo{float:none; display:block; padding-right:0; /* padding-bottom:3rem; */}
	.foot-logo img {height: 100px;}
	.footer-right-con .foot-logo{text-align:center; padding-top:15px;}
	/* Footer :: 푸터메뉴 */
	.foot-menu{float:none; display:inline-block; margin-bottom: 1rem;}
	.foot-menu li a {font-size: 1.5rem;}
	/* Footer :: 사이트맵 */
	.footer-sitemap-list-con{display:none;}
	/* Footer :: 정보 */
	.footer-info-box .footer-address {font-size: 1.5rem;}
	.footer-info-box .footer-address span {padding-right: 3rem;}
	.footer-info-box .footer-address span:before {right: 1.5rem;}
	/* Footer :: SNS 리스트 */
	.foot-sns-con {width: 100%; float: left; justify-content: start; margin-bottom: 1.5rem;}
	.foot-sns-con li {padding-left: 0; padding-right: 1rem;}
	/* .foot-sns-menu{text-align:center; margin-top:10px}
	.foot-sns-menu ul{display:inline-block;}
	.foot-sns-menu li,
	.foot-sns-menu li:first-child{margin:0 3px} */
	/* Footer :: 패밀리사이트 */
	.family-site-box{position:static; position:relative; top:0px; margin:4rem 0;}

}

@media all and (max-width:800px){
	/* -------- FOOTER :: 파트너리스트 -------- */
	#footerPartnerListContent{padding:5rem 0;}
	#footerPartnerListContent .area-box{padding:0}
	.footer-partner-list{padding:0 30px;}
	.footer-partner-list .slick-arrow{width:28px; height:28px; font-size:28px; margin-top:-14px}
	.footer-partner-list .slick-arrow i{line-height:28px;}

	/* -------- FOOTER  -------- */
	/* Footer :: 푸터메뉴 */
	.foot-menu li {padding-left:25px}
	.foot-menu li:before{left:12px}
	/* .foot-menu li:before{width:3px; height:3px;} */ /* dot형태*/
	/* Footer :: 정보 */
	.footer-address{}
	.footer-address .footer-address-txt span{min-width:3.5rem;}
	.footer-address p:before{display:none;}
	/* Footer :: Copyright */
	.footer-copyright{text-align:left; font-size: 1.4rem;}
	/* Footer :: 패밀리사이트 */
}

/* ****************** SUB LAYOUT ********************** */
@media all and (max-width:1280px){
	/*  SUB LAYOUT :: 컨텐츠 레이아웃 */
	#content:not(.wide){padding:8rem var(--area-padding) 12rem;}
	#content.wide{padding:8rem 0 0 0;}
}

@media all and (max-width:800px){
	/*  SUB LAYOUT :: 비주얼 */
	#visual .visual-tit{text-align:center;}
	#visual .visual-sub-txt{text-align:center;}
	/*  SUB LAYOUT ::  서브메뉴(스타일1,2,3) */
	#topMenu01,
	#topMenu02,
	#topMenu03{display:none}	
	/* -------- SUB LAYOUT :: 서브메뉴 모바일 -------- */
	#topMenuM{display:block; position:relative; height:calc(var(--sub-menu-height) + 1px); transform: translateY(-50%); z-index:9;} /* (+1 border height)*/
	#topMenuM .top-menu-wrapper{height:var(--sub-menu-height); }
	#topMenuM .top-menu-inner{position:relative; height:var(--sub-menu-height); border:1px solid #ddd; border-top:0; background:#fff;}
	#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:600; font-size:1.7rem;}
	#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;}
	/* 2depth 있을때 */
	#topMenuM .menu-2dep{display:flex;}
	#topMenuM .menu-2dep .menu-location{width:100%;}
	#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:5rem var(--area-padding);}
	#content.wide{padding:5rem 0 0 0;}
}

/* ****************** MODAL LAYERPOPUP ********************** */
@media all and (max-width:1280px){
	.footer-modal-content .footer-inner h1 {width: auto !important; line-height: 1;}
}	
@media all and (max-width:800px){
	.modal-fixed-pop-inner {table-layout: fixed;}
	/* 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;}
}