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

/* ========================================================
 * SETTING
======================================================== */
@media all and (max-width:1280px){
	:root{
		--header-height: 80px;
		--header-top: 20px;
	}
}
@media all and (max-width:800px){
	:root{
		--area-padding: 3vw;
		--sub-visual-height: 34rem;
		--sub-menu-height: 6.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:1660px){	/* max-width : (area-box width) + 60px */
	.area-box{padding:0 var(--area-padding); max-width:none;}
}
@media all and (max-width:1420px){	/* max-width : (area-box width) + 60px */
	.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:800px){ 
	.pc-middle-br{display:none;}
	.m-middle-br{display:block;}
}

@media all and (max-width:480px){
	.pc-min-br{display:none;}
	.m-min-br{display:block;}
}

/* ****************** HEADER ********************** */
@media all and ( max-width: 1280px ){
	.fullpage-html #header{/* position:relative; */}
	#headerInnerWrap{position:fixed; z-index:10000;}
	#header.top-fixed #headerInnerWrap{ background:rgba(255,255,255,0.9);}
	
	/* -------- Header :: UTIL BOX -------- */
	.header-util-box{padding-right:106px;}
	/* 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:#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:15px var(--area-padding); color:#333; font-size:17px; 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: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; line-height: 1.4em; 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;}
	
	/* -------- 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;}
	
	/* -------- Header :: 네비게이션 오픈 버튼 -------- */
	.nav-open-btn{
		display:block; position:fixed; top:21px; right:var(--area-padding); z-index:10000; 
		height:auto; display:flex; flex-direction:column; justify-content: center; align-items:flex-end; box-sizing:border-box; margin-left:2.5rem;padding-right: 5px;
	}
	.nav-open-btn .line{display:block; width:100%; height:3px; background-color:#fff; margin: 4px 0; transition:var(--transition-custom);}
	.nav-open-btn .line{background:#fff; width:40px;}
	/* active */
	.nav-open-btn.active{z-index:100000;}
	.nav-open-btn.active .line{width:40px !important; height:3px; background:#000 !important;}
	.nav-open-btn.active .line:nth-child(1){
		transform: translateY(5px) rotate(45deg);
	}
	.nav-open-btn.active .line:nth-child(2){
		transform: translateY(-5px) rotate(-45deg);
	}

	.nav-open-btn.active .line:nth-child(3) {opacity: 0;}
	.nav-open-btn.active {top: 27px;}
	
	/* header :: top-fixed */
	#header.top-fixed .nav-open-btn .line{background-color:#333}
	#header.top-fixed .nav-open-btn .line{background-color:var(--main-color)}
	#header.top-fixed .header-lang .lang-open-btn{color:#000;}
	#header.top-fixed .header-lang .lang-open-btn:hover{color:#fff;}
	#header.top-fixed .logo img.white{display: none;}
	#header.top-fixed .logo img.black{display: block;}

}

@media all and ( max-width: 800px ){
	
	.header-util-box {padding-right: 80px;}
  .nav-open-btn .line {width: 32px; height : 2px}
  .nav-open-btn {top: 25px;}
	#header .logo img {width:160px; padding-left:5px}
	#content .area {padding-left:1rem; padding-right:1rem;}
}

@media all and ( max-width: 480px ){
	/* -------- Header :: UTIL BOX -------- */
	/* Header :: GNB(Mobile) */
	#navigation > li > a{font-size:15px;}
	#navigation > li .gnb-2dep > ul > li > a{font-size:13px;}
    .header-util-box {padding-right: 60px;}

}

/* ****************** FOOTER ********************** */
@media all and (max-width:800px){
	/* -------- FOOTER :: 파트너리스트 -------- */
	#footerPartnerListContent .area-box{overflow:scroll;}
	.footer-partner-list{width:200%;}

	/* -------- FOOTER  -------- */
	#footer{padding-top:6rem;}
	.footer-left-con,
	.footer-right-con{float:none;}
	
	#footerTop{padding:4rem 0;}
	#footerBottom{padding:3rem 0 5rem;}
	#footerBottom > .area-box{display: flex; flex-direction:column-reverse;}
	/* Footer :: 푸터로고 */
	/* Footer :: 푸터메뉴 */
	.foot-menu{display: flex; justify-content: center; margin-bottom:3rem;}
	.foot-menu li {padding-left:0; margin: 0 2rem;}
	/* Footer :: 정보 */
	.footer-address-info-box{display: block;}
	.footer-address-info-box .footer-address-list{width:100%; margin-right:0; margin-bottom:4rem;}
	.footer-address-info-box .footer-address-list:last-child{margin-bottom:0;}
	.footer-address-list .footer-address-tit{margin-bottom:1rem;}
	.footer-address-list .inner-list dl{display: flex;}
	.footer-address-list .inner-list dl dt{width:10rem; margin-right:0;}
	.footer-address-list .inner-list dl dd{width:calc(100% - 10rem);}
	/* Footer :: Copyright */
	.footer-copyright{text-align:center;}
	/* Footer :: 패밀리사이트 */
	.family-site-box{margin:4rem auto 0;}
}
@media all and (max-width:480px){
	.footer-partner-list{width:300%;}
}

/* ****************** SUB LAYOUT ********************** */
@media all and (max-width:1280px){
	/*  SUB LAYOUT :: 비주얼 */
	#visual .visual-txt-con{/* padding:0 */ box-sizing:border-box;}
	/*  SUB LAYOUT :: 서브메뉴(스타일2,3,4) */
	#topMenu02 .area,
	#topMenu03 .area,
	#topMenu04 .area{padding:0 var(--area-padding);}
	#topMenu02 .area,
	#topMenu03 .area{margin:0 -1px}	
	/*  SUB LAYOUT :: 컨텐츠 레이아웃 */
	#content:not(.wide){padding:70px var(--area-padding)}
	#content.wide{padding:7rem 0 7rem 0}
}

@media all and (max-width:800px){
	/*  SUB LAYOUT :: 비주얼 */
	#visual .visual-txt-container{align-items: center; justify-content: center; height: calc(100% - var(--header-height) + (var(--sub-menu-height) / 2)); margin-bottom:0rem;}
	#visual .visual-tit{font-size:5.4rem;}
	#visual .location{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: calc(-1 * (var(--sub-menu-height) / 2)); left:0; right:0; height:var(--sub-menu-height); }
	#topMenuM .top-menu-inner{position:relative; height:var(--sub-menu-height); padding:0 9px}
	#topMenuM .menu-location{position:relative; box-sizing:border-box; width:100%; background:#fff; border-radius:1rem; box-shadow: 1rem 1.2rem 2.5rem 0px rgba(0,0,0,0.14); transition:var(--transition-custom);}
	#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:#000; font-weight:500; 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:2.2rem;}
	#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 a > span br {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%; /* border-left:1px solid #ddd; */}
	#topMenuM .menu-2dep .menu-location.loaction2{}
	#topMenuM .menu-2dep .menu-location .location-menu-con{/* border:1px solid #ddd; */ border-top:0; box-shadow: 1rem 1.2rem 2.5rem 0px rgba(0,0,0,0.14); border-radius:0 0 1rem 1rem;}
	/* Menu OPEN */
	#topMenuM .menu-location.open{border-radius:1rem 1rem 0 0;}
	#topMenuM .menu-location.open > .cur-location .arrow{transform:rotate(-180deg); margin-top:-10px;}

	/*  SUB LAYOUT :: 상단정보 (공통) */
	#contentInfoCon {margin: 0 auto 3rem;}
	#contentInfoCon .content-tit:after{margin-top:3rem;}

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

/***** footer 수정 05-29 *****/
@media all and (max-width: 1280px) {
	#footerBottom .footer-right-con {margin-top: 0;}
	#footerTop .footer-left-con {display: block; width: 100%; margin-bottom: 3rem;padding : 0 1rem}
	#footerTop .footer-right-con {width: auto;}
	#footerTop .footer-right-con .family-site-box {width: 22rem;}
	.footer-address-info-box .footer-address-list {margin-right: 0;}
	.footer-address-info-box {padding: 5rem 0 0 0;}
	#footerTop .footer-left-con #footerLogo .area-box {padding: 0;}
}

@media all and (max-width: 800px) {
	#footer {padding-top: 0;}
	#footerTop {padding: 6rem 0;}
	#footerBottom {padding: 4rem 0;}
	.footer-address-info-box .footer-address-list {display: block; margin-bottom: 2rem;}
	.footer-address-info-box .footer-address-list .inner-list {display: block;}
	.footer-address-list .number dl {padding-left: 0; margin-left: 0; margin-bottom: 1rem;}
	.footer-address-list .number dl::before {display: none;}
	.footer-address-list span {min-width: auto; width: 10rem; margin-right: 1.5rem;}
	.footer-address-list .inner-list dl dt {margin-right: 1.5rem; width: 5rem;}
	.footer-address-info-box .footer-address-list .inner-list .number {display: block;}
  .foot-logo img{
    height: 3rem;
}
}