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

/* ========================================================
 * SETTING
======================================================== */
@media all and (max-width:1280px){
	:root{
		--header-top: 0;
		--header-height: 140px;
		--header-fixed-height: 80px;
	}
}
@media all and (max-width:800px){
	:root{
		--header-height: 100px;
		--header-fixed-height: 80px;
		--area-padding: 5vw;
		--sub-visual-height: 64rem;
		--sub-menu-height: 6rem;
	}
}

/* ========================================================
 * 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:1780px){
	.area-wide{padding:0 var(--area-padding); max-width:none;}
}
@media all and (max-width:1580px){
	.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;}
	.display-m{display:block;}
	.display-pc{display:none;}
}
@media all and (max-width:1260px){ 
	.area-narrow{padding:0 var(--area-padding); max-width:none;}
}

/* ****************** HEADER ********************** */
@media all and ( max-width: 1280px ){
	#header:before{display: none;}
	
	.cm-logo-svg .base-color {fill: #fff;}

	/* -------- Header :: UTIL BOX -------- */
	/* Header :: 사이트맵 버튼 */
	.sitemap-line-btn, .sitemap-custom-btn, .header-util-box{display:none;}

	/* -------- Header :: GNB(Pc) -------- */
	#gnb{display:none;}
	.gnb-overlay-bg{display:none}

	/* -------- Header :: GNB(Mobile/기본스타일) -------- */
	.gnb-overlay-bg-m{display:none !important; 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: 2rem var(--area-padding); color:#000; font-size:2.2rem; 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%);}
	#navigation > li.has-2dep.active > a:before{content: "\e91b";}
	/* GNB Mobile ::  메뉴영역 :: 2차 */
	#navigation > li .gnb-2dep{display:none; padding: 1.5rem 0; background-color: rgba(0,0,0,0.05);}
	#navigation > li .gnb-2dep > ul > li{height:auto !important;}
	#navigation > li .gnb-2dep > ul > li > a{display:block; color:rgba(0,0,0,0.5); font-size:1.7rem; line-height: 1.3; padding: 1.2rem var(--area-padding);}
	#navigation > li .gnb-2dep > ul > li > a i{position: relative; top: 0.1rem;}
	#navigation > li .gnb-2dep > ul > li.on > a{color:#000;}
	/* 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:var(--header-height); bottom:10rem; left:0; padding-top:0; padding-top: 7rem;}
	.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;}
	
	/* -------- GNB Mobile :: 언어선택 및 회원메뉴 -------- */
	/* 언어선택 */
	.header-util-menu-box{/* height:var(--header-height); */ position: relative; z-index: 10; height: calc(var(--header-height) + 3rem); display:flex; align-items:center; padding:0 var(--area-padding); /**/ align-items:flex-end; justify-content:flex-end; /* padding-top: 3rem; */}
	.header-util-menu-box .lang-select{padding: 0 10px; display:flex; align-items:center; border: 1px solid #000; border-radius: 40px; width: 100%;
        justify-content: center;}
	.header-util-menu-box .lang-select li{}
	.header-util-menu-box .lang-select li > a{position:relative; display:block; text-align:center; width: auto; padding: 0 5px; height:40px; line-height:40px; /* font-size: 12px; */ font-size: 11px; font-weight: 600; color: rgba(0, 0, 0, 0.3);}
	.header-util-menu-box .lang-select li.cur a{color: #000;}
	/* 퀵링크 */
	.header-util-quick-box{
		display:flex;
		justify-content: space-around;
		text-align:center; 
		box-sizing: border-box; 
		position:absolute; bottom:5rem; left:0; right:0; z-index: 11;
	}
	.header-quick-box{margin-right: 0; /* width: 180px; */width: 90px; height: 40px; border-radius: 40px; display: flex; justify-content: center; background-color: rgba(0, 0, 0, 0.07); backdrop-filter: none;}
	.header-quick-box li{position: relative; width: 50%; width: 100% !important; height: 100%;}
	.header-quick-box li + li:before{position: absolute; position: absolute; top: 50%; margin-top: -5px; left: 0; width: 1px; height: 10px; background-color: rgba(0, 0, 0,0.2); content: '';}
	.header-quick-box li a{font-size: 15px; color: #000; width: 100%; height: 100%; display: flex; align-items: center;  justify-content: center;}
	.header-quick-box li a i{margin-right: 10px; font-size: 24px;}
	.header-quick-box li + li a i{font-size: 16px;}

	/* -------- Header :: 네비게이션 오픈 버튼 -------- */
	.nav-open-btn-box{display: block; position:fixed; top:0; right:var(--area-padding); width:60px; height:var(--header-height); transition: var(--transition-custom); transition-property: top, transform, height; z-index:10000;}
	.nav-open-btn{
		position: relative; display:block; width: 60px; height: 100%; display:flex; flex-direction:column; justify-content: center; box-sizing:border-box; 
	}
	.nav-open-btn .line{
		display:block; width:60px; height:4px; background-color:#fff; margin: 4px auto; transition:var(--transition-custom);
	}
	.nav-open-btn.active .line{width: 40px; background-color: #000;}
	.nav-open-btn.active .line:nth-child(1){
		transform: translateY(6px) rotate(45deg);
	}
	.nav-open-btn.active .line:nth-child(2){
		transform: translateY(-6px) rotate(-45deg);
	}

	#header.top-fixed #headerInnerWrap{height: var(--header-fixed-height); position:fixed; z-index:99; background-color: #fff; backdrop-filter: none;}
	#header.top-fixed,
	#header.top-fixed #headerInner,
	#header.top-fixed .nav-open-btn-box,
	#header.top-fixed .header-util-menu-box{height:var(--header-fixed-height);}
	#header.top-fixed .gnb-style-full .gnb-navigation-wrapper{top:var(--header-fixed-height);}
	#header.top-fixed .cm-logo-svg .base-color{fill:#8e8e8e;}
	#header.top-fixed .nav-open-btn .line{background-color: #000;}
	/* Header :: SUB ver */
	.sub-wrap #header.top-fixed #headerInnerWrap{background-color: #fff;}
}
@media all and (max-width:800px){
	#header .logo a {height: 54px;}
	/* -------- Header :: 네비게이션 오픈 버튼 -------- */
	.nav-open-btn-box{width:54px;}
	.nav-open-btn{width: 54px;}
	.nav-open-btn .line{width:54px;}
}

/* ****************** FOOTER ********************** */
@media all and (max-width:800px){
	/* -------- FOOTER :: 레이아웃 -------- */
	/* Footer :: TOP버튼 */
	.to-top-btn{top: -5rem; margin-left: -5rem; width:10rem; height:10rem;}
	.to-top-btn i{font-size:4rem;}
	.to-top-btn:hover i{transform:translateY(-3px)}

	/* -------- FOOTER :: 상단 -------- */
	#footerTop{padding: 10rem 0 4rem;}
	.footer-top-inner{display: block;}
	#footerTop .footer-left-con{width: 100%;}
	#footerTop .footer-right-con{margin-top: 4rem; width: 100%; display: block;}

	.footer-email-txt01{font-size: 3rem; line-height: 1.1;}
	.footer-email-txt02{margin-top: 1rem; font-size: 1.6rem; line-height: 1.3;}

	/* Footer :: 뉴스레터 신청 폼 */
	.footer-newsletter-form{margin-top: 4rem; max-width: none;}
	.footer-newsletter-form-list{margin: -0.5rem;}
	.footer-newsletter-form-item{margin: 0.5rem; width: calc(100% - 1rem);}
	.main-now-tit{width: 12rem;}
	.footer-newsletter-form-item input{padding: 0 3rem; padding-left: 10rem !important; height: 6rem; font-size: 1.5rem; line-height: 1.3;}
	.footer-newsletter-form-item .form-label{top: 2rem; left: 3rem; font-size: 1.5rem; line-height: 2rem;}
	/* full */
	.footer-newsletter-form-item.full{width: calc(100% - 1rem);}
	.footer-newsletter-form-item.full input{padding-right: 12rem !important;}
	.footer-newsletter-form-item.full .btn{top: 1rem; right: 1rem; width: 10rem; height: 4rem; font-size: 1.5rem;}

	/* Footer :: 패밀리사이트 */
	.family-site-box{width:100%;}
	.family-site-box .family-site-open-btn{width:100%; height:6rem; padding:0 3rem; font-size:1.6rem;}
	.family-site-box .family-site-open-btn:after{right:2.5rem; font-size:2.4rem;}
	.family-site-list{bottom: calc(100% - 2px);}
	.family-site-list li:first-child{padding-top: 1rem;}
	.family-site-list li:last-child{padding-bottom: 1rem;}
	.family-site-list a{padding: 1rem 3rem; font-size:1.4rem;}

	/* Footer :: contact 버튼 */
	.footer-contact-btn{margin-top: 1rem; width:100%; height:6rem;}
	.footer-contact-btn .txt{padding:0 3rem; font-size:1.6rem;}
	.footer-contact-btn .txt i{right:2.5rem; font-size:2.4rem;}

	/* Footer :: SNS 리스트 */
	.foot-sns-menu{margin-top: 4rem;}
	.foot-sns-menu ul{justify-content: center;}
	.foot-sns-menu li{margin-left:1rem;}
	.foot-sns-menu li:first-child{margin-left:0}
	.foot-sns-menu li a{width:6rem; height:6rem; font-size:2.4rem; color:#fff; text-align:center; background-color:transparent; display: flex; align-items: center; justify-content: center; border-radius: 6rem; border: 2px solid rgba(255,255,255,0.1); box-sizing: border-box;}
	.foot-sns-menu li:first-child a{border: 0; background-color: rgba(255,255,255,0.1);}

	/* -------- FOOTER :: 하단 -------- */
	#footerBottom{width: 100%; text-align: center;}
	.footer-bottom-inner{padding-top: 3rem; padding-bottom: 6rem; display: block;}

	/* Footer :: 푸터메뉴 */
	.foot-menu{margin: 0 auto; width: 70%; justify-content: center;}
	.foot-menu li{margin: 1rem 0; padding-left:0; width: 100%;}
	.foot-menu li:before{display: none;}
	.foot-menu li a{font-size: 1.4rem; line-height: 1.3; justify-content: center;}
	.foot-menu li a i{font-size: 1.6rem; margin-right: 1rem;}
	.foot-menu li:first-child a i{font-size: 2.4rem;}

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

	/* ****************** FOOTER (Black ver.) ********************** */
	.sub-wrap .black-ver #footerTop {padding: 7rem 0 4rem;}
	.sub-wrap .black-ver #footerTop .footer-right-con{width: 100%; justify-content: center;}
	.sub-wrap .black-ver .family-contact-group{flex-wrap: wrap; width: 100%;}
	/* Footer :: contact 버튼 */
	.sub-wrap .black-ver .footer-contact-btn{margin-left: 0; margin-top: 1rem;}
	/* Footer :: SNS 리스트 */
	.sub-wrap .black-ver .foot-sns-menu{margin-top: 4rem;}
}
@media all and (max-width:480px){
	/* 보안코드 */
	.footer-newsletter-form-item.security-code .security-code-box input{padding-right: 11rem !important;}
	.footer-newsletter-form-item.security-code .security-code-box .security-code {width: 8rem; font-size: 1.5rem;}
	/* .footer-newsletter-form-item.security-code{margin-top: 3.5rem;}
	.footer-newsletter-form-item.security-code .security-code-box{}
	.footer-newsletter-form-item.security-code .security-code-box input {padding-left: 3rem !important;}
	.footer-newsletter-form-item.security-code .form-label{top: -2.5rem; left: 1rem;} */
}

/* ****************** SUB LAYOUT ********************** */
@media all and (max-width:1780px){
	#visual #rightBar{right: var(--area-padding); margin-right: 0;}
}
@media all and (max-width:1380px){ 
	/*  SUB LAYOUT :: 컨텐츠 레이아웃 */
	#content:not(.wide){padding:8rem var(--area-padding) 19rem;}
	#visual .visual-tit, #visual .location{padding-left: 0; padding-right: 0;}
}
@media all and (max-width:1280px){
	/*  SUB LAYOUT :: 비주얼 */
	#visual .visual-tit{font-size:8rem;}
	/*  SUB LAYOUT :: 컨텐츠 레이아웃 */
	#content:not(.wide){padding:6rem var(--area-padding) 12rem}
	#content.wide{padding:6rem 0 0 0}
}
@media all and (max-width:800px){
	/*  SUB LAYOUT :: 비주얼 */
	#visual .visual-txt-con .table-cell-layout {padding-bottom: 13.6rem !important;}
	/* SUB LAYOUT :: 위치정보(location) */
	.location li{font-size:1.3rem;}
	.location li i{font-size:1.8rem; top:0.1rem;}
	.location li:before{margin:0px 1rem; font-size:1.6rem; top:0.2rem;}
	#visual .visual-tit{margin-top: 2.5rem; font-size:6rem;}
	/*  SUB LAYOUT ::  서브메뉴(스타일1,2,3) */
	#topMenu01,
	#topMenu02,
	#topMenu03{display:none}
	
	/* -------- SUB LAYOUT :: 서브메뉴 모바일 -------- */
	#topMenuM{margin-top: calc(-1* var(--sub-menu-height)); display:block; position:relative; height:var(--sub-menu-height); z-index: 11;}
	#topMenuM .top-menu-wrapper{position:absolute; top:0; left:0; right:0; height:var(--sub-menu-height); background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(1.2rem);}
	#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:#fff; font-size:1.8rem; letter-spacing:-0.03em; font-weight:600;}
	#topMenuM .menu-location > .cur-location .arrow{position:absolute; top:50%; right:10px; width:20px; height:20px; margin-top:-10px; font-size:20px; color:#fff;}
	#topMenuM .menu-location .location-menu-con{display:none; position:absolute; top:100%; left:-1px; right:-1px; border-bottom:1px solid rgba(255,255,255,0.2); z-index:11; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(1.2rem);}
	#topMenuM .menu-location .location-menu-con li{border-top:1px solid rgba(255,255,255,0.2);}
	#topMenuM .menu-location .location-menu-con li a{display:flex; align-items:center; width:100%; height: 4.5rem; padding:0 var(--area-padding); font-size: 1.6rem; line-height:1.5; color:rgba(255,255,255,0.5); font-weight: 600; letter-spacing:-0.03em; 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: #fff;}
	/* 2depth 있을때 */
	#topMenuM .menu-2dep{display:flex;}
	#topMenuM .menu-2dep .menu-location{width:50%;}
	#topMenuM .menu-2dep .menu-location.location2{position: relative;}
	#topMenuM .menu-2dep .menu-location.location2:before{position: absolute; top: 50%; margin-top: -1rem; left: 0; width: 1px; height: 2rem; background-color: rgba(255,255,255,0.2); content: '';}
	#topMenuM .menu-2dep .menu-location .location-menu-con{border:1px solid rgba(255,255,255,0.2); border-top:0;}
	/* Menu OPEN */
	#topMenuM .menu-location.open > .cur-location .arrow{transform:rotate(-180deg); margin-top:-10px;}

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