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

/* ========================================================
 * SETTING
======================================================== */
@media all and (max-width:1279px){
	:root{
		--header-top: 15px;
		--header-height: 75px;
	}
}
@media all and (max-width:800px){
	:root{
		--area-padding: 5vw;
		--header-top: 0;
		--sub-visual-height: 100vh;
		--sub-menu-height: 6rem;
	}
}

/* ========================================================
 * FONT SIZE
======================================================== */
@media all and (max-width:1536px){
	html{font-size:0.6510vw;} /* 10 */
}
@media all and (max-width:1279px){
	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:1870px){
	.area-wrap{padding:0 var(--area-padding); max-width:none;}
}
@media all and (max-width:1780px){
	.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{padding:0 var(--area-padding); max-width:none;}
}
@media all and (max-width:1279px){ 
	.pc-br{display:none;}
	.display-m{display:block;}
	.display-pc{display:none;}
}
@media all and (max-width:800px){ 
	.m-br{display:block;}
}

/* ****************** HEADER ********************** */
@media all and ( max-width: 1279px ){
	.fullpage-html #header{position:relative;}
	#header .logo{padding-bottom: 0;}
	
	/* -------- 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:-102%;
		width:100%; 
		height:100%;  
		background-color: #F6F6F6;
		/* 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: calc(var(--header-height) + 8.5rem); overflow-y:auto;}	
	.header-util-menu-box + .gnb-navigation-wrapper{padding-top:0; height:calc(100% - var(--header-height));}
	
	/* GNB Mobile :: 메뉴영역 :: 1차 */
	#navigation > li{}
	#navigation > li > a {position:relative; display:block; padding:2.5rem var(--area-padding); color:#fff; font-size:2.4rem; 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%); display: none;}
	#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-wrap{display: block; width: 30px; height: var(--header-height); position:absolute; top: 0; right:var(--area-padding); z-index:10000; display: flex; align-items: center; justify-content: center; transition:var(--transition-custom); transition-property: transform;}
	.nav-open-btn{margin: -4px 0 0 0; width:26px; height:26px; display:flex; flex-wrap:wrap; justify-content: space-between; box-sizing:border-box;}
	.nav-open-btn .dot{display:block; width:9px; height:9px; border-radius: 9px; margin: 4px 0; background-color:#fff; transition:var(--transition-custom);}
	.nav-open-btn .dot:nth-child(2) {background-color: var(--main-color);}
	.nav-open-btn .dot:before{position: absolute; content:''; width:100%; height:100%; background:#fff; top:0; left:0; border-radius:4px; transition: var(--transition-custom);}
	.nav-open-btn .dot:nth-child(1){transform:rotate(45deg);}
	.nav-open-btn .dot:nth-child(2){transform:rotate(135deg);}
	.nav-open-btn .dot:nth-child(3){transform:rotate(-45deg);}
	.nav-open-btn .dot:nth-child(4){transform:rotate(-135deg);}
	.nav-open-btn .dot:nth-child(2)::before{background:var(--main-color) !important;}
	/* nav-open */
	.mobile-menu-open .nav-open-btn{margin-top: 0; position:relative; z-index:100000;}
	.mobile-menu-open .nav-open-btn .dot{width:13px; height:3px;}
	.mobile-menu-open .nav-open-btn .dot:nth-child(1)::before{width:17px;}
	.mobile-menu-open .nav-open-btn .dot:nth-child(2)::before{width:17px;}
	.mobile-menu-open .nav-open-btn .dot:nth-child(3)::before{width:17px;}
	.mobile-menu-open .nav-open-btn .dot:nth-child(4)::before{width:17px;}
	
	/* -------- Header :: top-fixed -------- */
	#header.top-fixed #headerInnerWrap{position:fixed; z-index:99; background-color: rgba(0,0,0,0.2);}
	#header.top-fixed .nav-open-btn-wrap{position:fixed;}
	
	/* -------- Header :: menu-open -------- */
	#header.mobile-menu-open #headerInnerWrap{background-color: transparent;}
	#header.mobile-menu-open .logo svg path{fill:#F7941E;}
	#header.mobile-menu-open .logo svg .symbol-path{fill:#9ACA3C;}
	#header.mobile-menu-open .header-lang .lang-open-btn{color: #000;}
	#header.mobile-menu-open .nav-open-btn .dot:nth-child(2)::before,
	#header.mobile-menu-open .nav-open-btn .dot:nth-child(2),
	#header.mobile-menu-open .nav-open-btn .dot::before,
	#header.mobile-menu-open .nav-open-btn .dot{background-color:#333 !important;}
}
@media all and ( max-width: 800px ){
	#headerInnerWrap,
	.nav-open-btn-wrap{position: fixed;}
}

/* ****************** FOOTER ********************** */
@media all and (max-width:1279px){
	
}
@media all and (max-width:800px){
	/* -------- FOOTER :: 레이아웃 -------- */
	#footer{background-color:#000;}
	.main-wrap #footer{background-color: transparent;}

	/* CONTACT + TOP 버튼  */
	.cmcontactbtn-topbtn-box{position: fixed; bottom: 0.9rem; right: var(--area-padding); margin-right: 0; display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; transition: var(--transition-custom); transition-property: bottom; z-index: 9998;}
	/* CONTACT */
	.cm-contact-btn{position: relative; display: block; padding:0 0.5rem; box-sizing:border-box; border-radius:5rem; transition:var(--transition-custom); transition-delay:0.2s; background: var(--main-color);}
	.cm-contact-btn .icon-box{position: relative; z-index:1; display: flex; align-items:center; justify-content:center; width:4rem; height:5rem; font-size:2rem; color:#000;}
	.cm-contact-btn .txt-box{position: absolute; top:50%; left:2.4rem; transform:translateY(-50%); display: inline-block; vertical-align: middle; opacity: 0; z-index:1; transition: var(--transition-custom); transition-delay:0s; white-space:nowrap;}
	.cm-contact-btn .txt-box .tit{font-size: 1.6rem; font-weight: 600; color: #000;}
	/* TOP */
	.to-top-btn{margin-top: 0.5rem; position: relative; z-index:1; display: flex; align-items:center; justify-content:center; width:5rem; height:5rem; border-radius:50%; font-size:2rem; background: #222; color:rgba(255,255,255,0.6); opacity: 0; visibility: hidden; transition:var(--transition-custom); transition-property: opacity, visibility;}
	.to-top-btn i{display:inline-block; font-size:inherit; transition:var(--transition-custom); transition-property: transform;}
	.to-top-btn:hover i{transform:translateY(-3px)}
	/* bottom-fixed */
	.cmcontactbtn-topbtn-box.bottom-fixed{bottom: 6.4rem;}
	.cmcontactbtn-topbtn-box.bottom-fixed .to-top-btn{opacity: 1; visibility: visible;}

	/* -------- FOOTER :: 상단 -------- */
	#footerTop{}
	#footerTop .area{padding-top: 7rem !important; padding-bottom: 4rem !important; display: flex; 
	flex-wrap:wrap; justify-content: space-between;}

	/* Footer :: 푸터로고 */
	.foot-logo{display: flex; align-items: flex-end;}
	.foot-logo svg{height: 4rem;}
	.foot-logo em{margin-left: 3rem; font-size: 2.2rem;}

	/* Footer :: 정보 */
	.footer-address-info-box{margin-top: 4rem;}
	.footer-address-txt{font-size: 1.6rem; line-height: 1.7; letter-spacing: -0.05em; font-weight: 500; color: rgba(255,255,255,0.6);}
	.footer-address-list{margin-top: 2.5rem; display: flex; flex-wrap:wrap;}
	.footer-address-list dl{margin-left:0; width: 50%; display: flex; flex-wrap:wrap;}
	.footer-address-list dl:last-child{margin-top: 1rem; width: 100%;}
	.footer-address-list dl dt,
	.footer-address-list dl dd{font-size: 1.6rem; line-height: 1.3; letter-spacing: -0.05em; font-weight: 500; color: rgba(255,255,255,0.6);}
	.footer-address-list dl dt{margin-right: 0.7rem; color: rgba(255,255,255,0.3);}
	.footer-address-list dl dt i{margin-right: 0.5rem;}
	.footer-address-list a{color:inherit}

	/* Footer :: 패밀리사이트 */
	.family-site-box{margin-top: 4rem; width:26rem;}
	.family-site-box .family-site-open-btn{height:5rem; line-height:5rem; padding:0 2.5rem; font-size: 1.5rem; line-height: 1.3;}
	.family-site-box .family-site-open-btn:after{right:2rem; font-size:2.4rem;}
	.family-site-list{ padding: 1rem 0; border-radius: 2.5rem;}
	.family-site-list a{padding: 1rem 2.5rem; font-size: 1.5rem;}

	/* Footer :: SNS 리스트 */
	.foot-sns-menu{margin-top: 3.5rem;}
	.foot-sns-menu li{margin-left:2rem}
	.foot-sns-menu li:first-child{margin-left:0}
	.foot-sns-menu li a i{font-size:2.4rem;}
	.foot-sns-menu li a svg{height: 2rem;}

	/* -------- FOOTER :: 하단 -------- */
	#footerBottom .area{padding-top: 3rem !important; padding-bottom: 3.5rem !important; align-items: flex-start; justify-content: flex-start; flex-direction: column-reverse;}

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

	/* Footer :: 푸터메뉴 */
	.foot-menu li{padding-left:4rem;}
	.foot-menu li:before{left:1.9rem; width:0.2rem; height:1rem; margin-top:-0.5rem;}
	.foot-menu li:first-child{padding-left:0}
	.foot-menu li a{font-size: 1.6rem; line-height: 1.3;}
}

/* ****************** SUB LAYOUT ********************** */
@media all and (max-width:1360px){
	/*  SUB LAYOUT :: 컨텐츠 레이아웃 */
	#content:not(.wide){padding: 18rem var(--area-padding) 8rem;}
	#content.wide{padding: 18rem 0 0 0;}
}
@media all and (max-width:1279px){
	/*  SUB LAYOUT :: 컨텐츠 레이아웃 */
	#content:not(.wide){padding: 14rem var(--area-padding) 8rem;}
	#content.wide{padding: 14rem 0 0 0}
}
@media all and (max-width:800px){
	/*  SUB LAYOUT :: 비주얼 */
	#visual .visual-txt-container{padding-bottom: var(--sub-menu-height);}
	#visual .visual-tit{font-size: 2rem; line-height: 1.3;}
	#visual .visual-logo{margin-top: 1.5rem; height: 8rem;}
	#visual .visual-sub-txt{margin-top: 3rem; font-size: 2.2rem; line-height: 1.3;}
	/*  SUB LAYOUT ::  서브메뉴(스타일1,2,3) */
	#topMenu01,
	#topMenu02,
	#topMenu03{display:none}
	
	/* -------- SUB LAYOUT :: 서브메뉴 모바일 -------- */
	#topMenuM{display:block; position: absolute; bottom: 3rem; left: 0; width:100%; height: var(--sub-menu-height); z-index: 11;} /* (+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);}
	#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 :: 상단정보 (공통) */
	.content-tit-box .content-tit{font-size: 5rem; line-height: 1.2;}
	.content-tit-box .content-tit:before{margin:0 auto 3.5rem; width: 1.2rem; height: 1.2rem;}
	.content-tit-box .content-sub-tit{margin-top: 6rem; font-size: 2.2rem; line-height: 1.56;}

	/*  SUB LAYOUT :: 컨텐츠 레이아웃 */
	#content:not(.wide){padding: 10rem var(--area-padding) 8rem;}
	#content.wide{padding: 10rem 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;}
}