@charset "utf-8";
/* *******************************************************
 * filename : layout_responsive.css
 * description : 전체 레이아웃 반응형 CSS
 * date : 2022-07-26
******************************************************** */

/* ========================================================
 * SETTING
======================================================== */
@media all and (max-width:1280px){
	:root{
		--header-height: 82px;
	}
}
@media all and (max-width:800px){
	:root{
		--area-padding: 5vw;

		--font-size-lg: 8.4rem; /* 120 */
		--font-size-H0: 4.6rem; /* 66 */
		--font-size-H1: 3.9rem; /* 56 */
		--font-size-H2: 3.3rem; /* 48 */
		--font-size-H3: 2.9rem; /* 42 */
		--font-size-H4: 2.8rem; /* 40 */
		--font-size-H5: 2.5rem; /* 36 */
		--font-size-H6: 2.2rem; /* 32 */

		--font-size-P1: 2.1rem; /* 30 */
		--font-size-P2: 1.9rem; /* 28 */
		--font-size-P3: 1.8rem; /* 26 */
		--font-size-P4: 1.7rem; /* 24 */
		--font-size-P5: 1.6rem; /* 22 */
		--font-size-P6: 1.4rem; /* 20 */

		--line-height-110: 1.1;
		--line-height-130: 1.3;
		--line-height-145: 1.45;
		--line-height-150: 1.5;
		--line-height-160: 1.6;
	}
}
@media all and ( max-width: 480px ){
	:root{
		--header-height: 70px;
		--sub-visual-height: 53rem;
		
		--border-radius: 1.4rem;

		--font-size-lg: 6rem; /* 120 */
		--font-size-H0: 4rem; /* 66 */
		--font-size-H1: 3.3rem; /* 56 */
		--font-size-H2: 3.1rem; /* 48 */
		--font-size-H3: 2.7rem; /* 42 */
        --font-size-H4: 2.6rem; /* 40 */
		--font-size-H5: 2.2rem; /* 36 */
		--font-size-H6: 2.1rem; /* 32 */

        --font-size-P1: 2rem; /* 30 */
		--font-size-P2: 1.8rem; /* 28 */
        --font-size-P3: 1.7rem; /* 26 */
		--font-size-P4: 1.6rem; /* 24 */
		--font-size-P5: 1.5rem; /* 22 */
		--font-size-P6: 1.4rem; /* 20 */
	}
	.virtual-con06 #contentInfoCon .content-tit{white-space: nowrap;}
}

/* ========================================================
 * 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:1500px){
	.area-box{padding:0 var(--area-padding); max-width:none;}
}
@media all and (max-width:1440px){ 
	.area{padding:0 var(--area-padding); max-width:none;}
}
@media all and (max-width:1280px){ 
	.pc-br{display:none;}
}
@media all and (max-width:800px){ 
	.m-br{display:block;}
	.display-m{display:block;}
	.display-pc{display:none;}
}


/* ****************** HEADER ********************** */
@media all and ( max-width: 1280px ){
	/* -------- 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: rgba(18, 18, 18, 1);
		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); padding-bottom: var(--header-height); overflow-y:auto;}
	.gnb-navigation-inner{display:table; width:100%; height:100%;}

	/* GNB Mobile :: 메뉴영역 :: 1차 */
	#navigation{padding: 0 var(--area-padding); display:table-cell; vertical-align:middle;}
	#navigation > li{border-bottom:1px solid rgba(216, 220, 226, 0.3);}
	#navigation > li:first-child{border-top:1px solid rgba(216, 220, 226, 0.3);}
	#navigation > li > a {position:relative; display:block; padding:2.4rem 0; font-size: var(--font-size-H4); letter-spacing: -0.01em; font-weight: 600; color: #fff; text-transform: uppercase;}
	#navigation > li.active > a{color:var(--main-color);}
	#navigation > li.has-2dep > a:before{font-family:xeicon; content: "\e9c5"; position:absolute; top:50%; right:0; font-size:var(--font-size-H2); color: rgba(216, 220, 226, 0.3); transform:translateY(-50%);}
	#navigation > li.has-2dep.active > a:before{content: "\e9c1";}
	/* GNB Mobile ::  메뉴영역 :: 2차 */
	#navigation > li .gnb-2dep{display:none; padding:0 0 2rem;}
	#navigation > li .gnb-2dep > ul > li{height:auto !important;}
	#navigation > li .gnb-2dep > ul > li > a{display:block; color:#fff; font-size:var(--font-size-P1); padding:1.2rem 0; opacity: 0.3;}
	#navigation > li .gnb-2dep > ul > li.on > a{opacity: 1;}
	/* 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-util-box{padding-right:6rem;}

	/* -------- Header :: 네비게이션 오픈 버튼 -------- */
	.nav-open-btn{
		display:block; position:fixed; top:0; right:var(--area-padding); z-index:10000; 
		height:var(--header-height);
		transition:var(--transition-custom); 
	}
	.nav-open-btn .line{
		display:block; width:38px; height:2px; background-color:#fff; margin: 8px auto;
	    transition:var(--transition-custom); 
	}
	.nav-open-btn.active .line:nth-child(2), .nav-open-btn.active .line:nth-child(4){opacity: 0;}
	.nav-open-btn.active .line:nth-child(1){
		  transform: translateY(10px) rotate(45deg);
	}
	.nav-open-btn.active .line:nth-child(3){
		  transform: translateY(-10px) rotate(-45deg);
	}
}
@media all and ( min-width: 481px ) and ( max-width: 1280px ) {
	.nav-open-btn.active{right:20px;}
}
@media all and ( max-width: 480px ){
	.cm-logo-svg{height: 30px;}

	/* Header :: 사이트맵, 네비게이션 버튼 */
	.nav-open-btn .line{width:32px; height:2px; margin: 6px auto;}
	.nav-open-btn.active .line:nth-child(1){
		transform: translateY(8px) rotate(45deg);
	}
	.nav-open-btn.active .line:nth-child(3){
		transform: translateY(-8px) rotate(-45deg);
	}
}

/* ****************** FOOTER ********************** */
@media all and (max-width:800px){
	#footerInner{padding:5rem 0 15rem;}
	#footerInner .area-box{display: block;}
	.footer-left-con{width: 100%; max-width: none; display: flex; flex-wrap:wrap;}
	.footer-right-con{margin-top: 4rem; width: 100%; max-width: none;}

	/* Footer :: 푸터로고 */
	.foot-logo{display:block; width: 100%;}
	.foot-logo .cm-logo-svg{height: 5.8rem; height: var(--font-size-H0); max-height: 58px;}

	/* Footer :: 정보 */
	.footer-address-info-box{margin-top: 3rem; width: 100%;}
	.footer-address-list dl{width: 100%;}
	.footer-address-list dl + dl{margin-top: 1rem;}
	.footer-address-list dl dt,
	.footer-address-list dl dd{width: 100%; font-size:var(--font-size-P5); line-height:var(--line-height-150);}
	.footer-address-list dl dt{width: 100%; /* margin-right:2rem; */}

	/* Footer :: Copyright */
	.footer-copyright{position: absolute; left: var(--area-padding); right: var(--area-padding); bottom: 6.5rem; margin-top: 0; font-size:var(--font-size-P6); line-height:var(--line-height-150);}

	/* Footer :: 사이트맵 */
	.footer-sitemap-list-con > ul{margin: -0.6rem; display: flex; flex-wrap:wrap;}
	.footer-sitemap-list-con > ul > li{margin: 0.6rem; width: calc(50% - 1.2rem);}
	.footer-sitemap-list-con > ul > li a{font-size:var(--font-size-P3); line-height:var(--line-height-150);}
	.footer-sitemap-list-con > ul > li .gnb-2dep{display: none;}
}

/* ****************** SUB LAYOUT ********************** */
@media all and (max-width:1500px){
	#content:not(.wide){padding:16rem var(--area-padding)}
}
@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:13rem var(--area-padding)}
	#content.wide{padding:13rem 0 0 0}
	#content.content-contact{padding:16rem 0 0 0}
	#content.content-virtual{padding:17rem 0 0 0}
}
@media all and (max-width:800px){
	/*  SUB LAYOUT :: 비주얼 */
	#visual .visual-tit{font-size: var(--font-size-H0);}
	#visual .main-scroll-icon{bottom:4.8rem; margin-left: -10rem; width: 20rem;}
	#visual .main-scroll-icon .scroll-box {width: 2rem; height: 4rem;}
	#visual .main-scroll-icon .scroll-box::after {margin-left: -0.3rem; width: 0.6rem; height: 0.6rem;}
	#visual .main-scroll-icon .scroll-txt{margin-top: 1rem; font-size: 1.8rem; line-height: 1.3;}
	/*  SUB LAYOUT :: 컨텐츠 레이아웃 */
	#content:not(.wide){padding:10rem var(--area-padding)}
	#content.wide{padding:10rem 0 0 0}
	#content.content-contact{padding:10rem 0 0 0}
	#content.content-virtual{padding:0 0 0 0}
	#content.content-ip{padding:0 0 0 0}
	/*  SUB LAYOUT :: 상단정보 (공통) */
	#contentInfoCon{margin-bottom: 4rem; text-align: center;}
	#contentInfoCon .content-tit{font-size:var(--font-size-H1);}
	#contentInfoCon .content-sub-tit{margin-top: 2.5rem; font-size: var(--font-size-P2); line-height: var(--line-height-150);}
}
@media all and (max-width:480px){
	#visual{height: 0px !important; padding-top: 69.01%;}
	#visual .visual-txt-con {position: absolute; top: 0; left: 0; padding-top: calc(var(--header-height) / 2) !important;}
	#visual .main-scroll-icon{display: none;}
}

/* ****************** 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;}
}