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

/* ========================================================
 * SETTING
======================================================== */
@media all and (max-width:1279px){
	:root{
		--header-top: 0px;
		--header-fixed-top: 0px;
		--header-height: 100px;
		--sub-con-paddingBottom: 12rem;
	}
}
@media all and (max-width:800px){
	:root{
		--area-padding: 5vw;
		--header-top: 0px;
		--header-fixed-top: 0px;
		--header-height: 80px;
		--sub-visualTop-height: 28rem;
		--sub-visual-height: 53.5rem;
		--sub-menu-height: 6rem;
		--sub-con-paddingBottom: 10rem;
	}
}
@media all and ( max-width: 480px ){
	:root{
		--sub-menu-height: 5.5rem;
	}
}

/* ========================================================
 * FONT SIZE
======================================================== */
@media all and (max-width:1536px){
	html{font-size:0.6510vw;} /* 10 */
}
@media all and (max-width:1179px){
	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:1754px){
	.area-box{padding:0 var(--area-padding); max-width:none;}
}
@media all and (max-width:1545px){ 
	.area{padding:0 var(--area-padding); max-width:none;}
}
@media all and (max-width:1440px){ 
	.area-sub{padding:0 var(--area-padding); max-width:none;}
}
@media all and (max-width:1279px){ 
	.display-m{display:block;}
	.display-pc{display:none;}
	.pc-br{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 a{max-height: 41px; height: 4.1rem;}
	
	/* -------- Header :: UTIL BOX -------- */
	.header-util-box{padding-right:90px;}
	/* 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: 2.2rem var(--area-padding); color:#333; font-size:2.6rem; font-weight:600; font-family: var(--font-family1);}
	#navigation > li.active > a{padding-bottom: 1.5rem; color:var(--main-color); font-weight: 800;}
	#navigation > li.active > a span,
	#navigation > li > a span{font-weight: inherit; color: inherit;}
	/* GNB Mobile ::  메뉴영역 :: 2차 */
	#navigation > li .gnb-2dep{display:none; padding:0.5rem 0 1.5rem; background-color:#fff;}
	#navigation > li .gnb-2dep > ul li{height:auto !important;}
	#navigation > li .gnb-2dep > ul li > a{display:block; color: #CECECE; font-weight:600; font-size:1.6rem; padding:1.5rem var(--area-padding);}
	#navigation > li .gnb-2dep > ul li.on > a{color: #333;}
	/* 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:var(--header-height); left:0; padding-top:0;}
	.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.8s;}
	.gnb-style-full.open #navigation > li:nth-child(6){transition-delay:0.9s;}
	.gnb-style-full.open #navigation > li:nth-child(7){transition-delay:1.0s;}

	/* -------- Header :: 네비게이션 오픈 버튼 -------- */
	.nav-open-btn-box{display: block; position:fixed; top:var(--header-top); right:var(--area-padding); z-index:10000; transition:var(--transition-custom); transition-property: top;}
	.nav-open-btn{
		display:flex; flex-wrap:wrap; justify-content: center; align-items: center; align-content: center; /* position: absolute; top:0; right:var(--area-padding); */ z-index:9999; width: 60px; height:var(--header-height); box-sizing:border-box;
	}
	.nav-open-btn .dotted-line{position: relative; display: flex; transition:var(--transition-custom);}
	.nav-open-btn .dotted{position: relative; display:block; width:4px; height:4px; background-color:#fff; margin:3px 2.5px; transition:var(--transition-custom);}
	.nav-open-btn.active .dotted{background-color:#000;}
	.nav-open-btn.active .dotted-line:nth-child(1){transform:translateY(5px) rotate(225deg);}
	.nav-open-btn.active .dotted-line:nth-child(2){transform:translateY(-5px) rotate(-225deg);}
	.nav-open-btn.active .dotted{margin:3px 0; width:9px;}

	#header.top-fixed .nav-open-btn-box{top: var(--header-fixed-top);}
}
@media all and ( max-width: 800px ){
	#header .logo a{max-height: 38px; height: 3.8rem;}

	/* -------- Header :: UTIL BOX -------- */
	.header-util-box{padding-right:75px;}
	/* Header :: 언어선택 */
	.header-lang {width:70px;}
	.header-lang .lang-open-btn {height:30px; padding:0 14px 0 8px; border-radius: 30px;}
	.header-lang .lang-open-btn i {font-size:18px;}
	.header-lang .lang-open-btn strong{font-size:13.5px;}
	.header-lang > ul {top: 30px;}
	.header-lang > ul > li{padding-top: 6px;}
	.header-lang > ul > li > a{height:30px; padding:0 10px; border-radius: 30px;}
}

/* ****************** FOOTER ********************** */
@media all and (max-width:1545px){
	#footerBottom .area{padding-left: 0; padding-right: 0; margin: 0 var(--area-padding); width: calc(100% - (var(--area-padding)*2));}
}
@media all and (max-width:1279px){
	/* Footer :: 푸터로고 */
	.foot-logo{width: 100%;}
	/* Footer :: 정보 */
	.footer-address{margin-top: 3rem; width: 100%;}
}
@media all and (max-width:800px){
	/* -------- FOOTER :: 상단 -------- */
	#footerTop{padding:7.5rem 0 8.5rem;}
	#footerTop .footer-left-con,
	#footerTop .footer-center-con,
	#footerTop .footer-right-con{width: 100%;}

	/* Footer :: 푸터로고 */
	.foot-logo{width: 100%;}
	.foot-logo svg,
	.foot-logo img{height: 4.1rem;}

	/* Footer :: 정보 */
	.footer-address{margin-top: 3rem; width: 100%;}
	.footer-address .footer-address-txt + .footer-address-txt{margin-top: 1.5rem;}
	.footer-address p{margin-right: 2rem; font-size:1.8rem; line-height:1.3;}
	.footer-address .footer-address-txt p:last-child{margin-right: 0;}

	/* Footer :: 패밀리사이트 */
	.family-site-box{margin-top: 3rem;}
	.family-site-box .family-site-open-btn{height:6rem; padding: 0 4rem 0 3.5rem; font-size: 1.55rem;}
	.family-site-box .family-site-open-btn:after{right:3rem; font-size:1.6rem;}
	.family-site-list{bottom: calc(100% - 1px); left:0; padding: 2rem 0 0;}
	.family-site-list a{padding:10px 3.5rem; font-size:1.4rem;}


	/* -------- FOOTER :: 하단 -------- */
	#footerBottom .area{padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; justify-content: flex-start;}
	#footerBottom .footer-left-con{width: 100%;}

	/* Footer :: Copyright */
	.footer-copyright{font-size:1.3rem; line-height: 1.3;}
	.footer-headoffice-logo{margin-top: 1rem; margin-left: 0; height: 1.1rem; display: block;}

	/* Footer :: 푸터메뉴 */
	.foot-menu{margin-top: 2.5rem; display: flex; align-items: center;}
	.foot-menu li{padding-left:3rem;} 
	.foot-menu li:first-child{padding-left:0}
	.foot-menu li a{font-size:1.55rem; line-height: 1.3;}
	.foot-menu li a i{font-size: 2.05rem; margin-right: 1rem;}
}

/* ****************** SUB LAYOUT ********************** */
@media all and (max-width:1460px){ 
	/*  SUB LAYOUT :: 비주얼 */
	#visual .visual-txt-con{padding:0}
	/*  SUB LAYOUT :: 컨텐츠 레이아웃 */
	#content:not(.wide){padding: 11.5rem var(--area-padding) var(--sub-con-paddingBottom);}
	#content.wide{padding: 11.5rem 0 0}
}
@media all and (max-width:1279px){
	#visual .visual-tit{font-size: 8rem;}
	
	/*  SUB LAYOUT :: 서브메뉴(스타일1) */
	#topMenu01 .side-menu-inner ul li{padding: 0 2rem;}

	/*  SUB LAYOUT :: 컨텐츠 레이아웃 */
	#content:not(.wide){padding: 10rem var(--area-padding) var(--sub-con-paddingBottom);}
	#content.wide{padding: 10rem 0 0}
}
@media all and (max-width:800px){
	.sub-wrap #container{padding-top: var(--header-height);}
	#visualTop{height:var(--sub-visualTop-height);}
	#visualTop .visualTop-tit{font-size:7.7rem;}
	#visualTop .visualTop-sub-txt{margin-top: 1rem; font-size:2.2rem; line-height: 1.22;}
	#visualTop .visualTop-sub-txt02{margin-top: 1rem; font-size:1.7rem; line-height: 1.4;}

	.location{margin-top: 5rem;}
	.location li{font-size:1.4rem;}
	.location li img{margin-right: 1rem; top: -0.2rem;}
	.location li:before{top: -0.1rem; margin:0px 1rem 0 1.5rem; font-size:1.5rem;}

	/*  SUB LAYOUT :: 비주얼 */
	#visual{height:var(--sub-visual-height);}
	#visual .visual-img-con{width: 80%; width:100% !important; height:var(--sub-visual-height);}
	#visual .visual-txt-container{padding-bottom: var(--sub-menu-height);}
	#visual .visual-scroll{width: 7.2rem; height: 7.2rem; border: 2px solid #fff;}
	#visual .visual-scroll:before{margin-top: -5rem; margin-left: -5rem; width: 10rem; height: 10rem;}
	#visual .visual-scroll i{font-size: 2rem;}
	#visual .visual-tit{margin-top: 5rem; font-size: 5.6rem; line-height: 1.2;}

	/*  SUB LAYOUT ::  서브메뉴(스타일1,2,3) */
	#topMenu01,
	#topMenu02,
	#topMenu03{display:none}

	/* -------- SUB LAYOUT :: 서브메뉴 모바일 -------- */
	#topMenuM{margin-top: calc(-1 * var(--sub-menu-height)); position:relative; left:50%; transform:translateX(-50%); width:70%; width: 100% !important; z-index: 1; display:block; position:relative; height:var(--sub-menu-height)}
	#topMenuM .top-menu-wrapper{position:absolute; top:0; left:0; right:0; height:var(--sub-menu-height); background-color: rgba(0,0,0,0.29); backdrop-filter: blur(2.9rem);}
	#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); font-size:1.7rem; line-height:1.2; letter-spacing:-0.055em; font-weight:500; color: #fff;}
	#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 #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:#fff; font-size:2rem; line-height:var(--sub-menu-height);}
	/* 2depth 있을때 */
	#topMenuM .menu-2dep{display:flex;}
	#topMenuM .menu-2dep .menu-location{width:50%;}
	#topMenuM .menu-2dep .menu-location:before{position: absolute; left: 0; top: 50%; margin-top: -0.8rem; width: 1px; height: 1.6rem; background-color: rgba(255,255,255,0.5); content: '';}
	#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 :: 상단정보 (공통) */
	#contentInfoCon .content-tit{font-size: 2rem; line-height: 1.3;}
	#contentInfoCon .content-tit.sm-size{font-size: 1.8rem;}
	#contentInfoCon .content-sub-tit{margin-top: 2rem; font-size: 4rem; line-height: 1.3;}
	#contentInfoCon .content-sub-txt{margin-bottom: 5rem; font-size: 3rem; line-height: 1.4;}
	#contentInfoCon .content-sub-txt:before{margin: 2.5rem auto 3.5rem; width: 2.5rem; height: 2px;}

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