@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-normal-height: 120px;
		--header-height: 80px;
	}
}
@media all and (max-width:800px){
	:root{
		--area-padding: 5vw;
		--sub-visual-height: 28.5rem;
		--sub-menu-height: 7.3rem;
	}
}
@media all and ( max-width: 480px ){
	:root{
		--header-normal-height: 90px;
		--header-height: 60px;
	}
}

/* ========================================================
 * 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:1760px){
	.area-box{padding:0 var(--area-padding); max-width:none;}
}
@media all and (max-width:1460px){
	.area{padding:0 var(--area-padding); max-width:none;}
	#content:not(.wide) {padding:10rem var(--area-padding);}
}
@media all and (max-width:1280px){ 
	.m-br{display:block;}
	.pc-br{display:none;}
	.display-m{display:block !important;}
	.display-pc{display:none !important;}
}

/* ****************** HEADER ********************** */
@media all and ( max-width: 1280px ){
	#headerInnerWrap{position: absolute; top: 0; height: var(--header-normal-height); z-index:99;}
	#headerInner{height: var(--header-normal-height);}

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

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

	/* -------- Header :: top-fixed -------- */
	#header.top-fixed #headerInnerWrap{position:fixed; height: var(--header-height); background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);}
	#header.top-fixed #headerInner{height: var(--header-height);}

}
@media all and (max-width: 800px ) {
	.header-product {margin-right: 1rem;}
	.header-sns-menu {width: 9rem;}
	.header-sns-menu li {margin-left: 1.3rem;}
}

@media all and ( max-width: 480px ){
	#header .logo a{width: 114px; height:30px;}
	.header-newpong {display: none;}
}

/* ****************** FOOTER ********************** */
@media all and (max-width:1280px){
	/* -------- FOOTER :: 레이아웃 -------- */
	#footer{background-color:#090112;}
	.footer-left-con,.footer-right-con{float:none;}
	/* -------- FOOTER :: 상단 -------- */
	#footerTop{padding:4rem 0 3rem;}
	#footerTop .footer-left-con,
	#footerTop .footer-right-con{width: 100%; display: flex; flex-wrap:wrap;}

	.foot-logo-menu-box{width: 100%; display: flex; flex-wrap:wrap; flex-direction: column;}

	/* Footer :: 푸터로고 */
	.foot-logo{padding-bottom:0;}

	/* Footer :: 푸터메뉴 */
	.foot-menu{margin-top: 2rem; flex-direction: row;}
	.foot-menu li{margin-top:0; margin-right: 2rem;}
	.foot-menu li a{font-size:1.4rem; line-height: 1.7;}

	/* Footer :: sns 리스트 */
	.foot-sns-menu ul {justify-content: start;}
	
	/* Footer :: 정보 */
	.footer-address-info-box{margin-top: 4.5rem; width: 100%;}
	.footer-address-info-box .footer-address-txt {margin: 0 -1rem;}
	.footer-address-info-box p {margin: 0 1rem;}
	.footer-address-info-box p:before {left: -1rem;}
	.footer-address-list dl dt,
	.footer-address-list dl dd{font-size:1.4rem; line-height:1.7;}
	.footer-address-list dl dt{margin-bottom: 0.5rem;}

	/* Footer :: Copyright */
	.footer-copyright{width: 100%; font-size:1.3rem; line-height: 1.3;}
}

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

@media all and (max-width:800px){
	/*  SUB LAYOUT :: 비주얼 */
	#visual .visual-tit{font-size:6rem; padding: calc(var(--header-height)/1.2) 0 0;}
	/*  SUB LAYOUT ::  서브메뉴(스타일1,2,3) */
	#topMenu01,
	#topMenu02,
	#topMenu03{display:none}
	/* -------- SUB LAYOUT :: 서브메뉴 모바일 -------- */
	#topMenuM{margin: 0 auto; display:block; position:relative; width: calc(100% - (var(--area-padding)*2)); height:calc(var(--sub-menu-height) + 2px); } /* (+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); border-bottom:2px solid #333; }
	#topMenuM .menu-location{position:relative; box-sizing:border-box; width:100%;}
	#topMenuM .menu-location > .cur-location{position:relative; display:block; width:100%; text-align:center; height:var(--sub-menu-height); padding:0 calc(var(--area-padding) + 2rem); 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:#333; font-weight:600; font-size:2rem;}
	#topMenuM .menu-location > .cur-location .arrow{position:absolute; top:50%; right:0; width:2rem; height:2rem; margin-top:-1rem; font-size:2rem; color:#333;}
	#topMenuM .menu-location .location-menu-con{display:none; position:absolute; top:100%; left:0; right:0; border:1px solid rgba(0,0,0,0.1); border-top:2px solid #333; background-color:#e4e4e4; z-index:11; }
	#topMenuM .menu-location .location-menu-con li + li{border-top:1px solid rgba(0,0,0,0.1);}
	#topMenuM .menu-location .location-menu-con li a{display:flex; align-items:center; justify-content: 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; text-align: center;}
	#topMenuM .menu-location .location-menu-con li.on{position:relative;}
	#topMenuM .menu-location .location-menu-con li.on a{color: #333; font-weight:600;}
	/* Menu OPEN */
	#topMenuM .menu-location.open > .cur-location .arrow{transform:rotate(-180deg); margin-top:-10px;}

	/*  SUB LAYOUT :: 상단정보 (공통) */
	#contentInfoCon{margin-bottom: 4rem;}
	#contentInfoCon .content-tit{font-size:2.2rem; padding-bottom: 0;}
	#contentInfoCon .content-tit:after {bottom:-10px;}

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