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

@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fastly.jsdelivr.net/gh/wanteddev/wanted-sans@v1.0.1/packages/wanted-sans/fonts/webfonts/variable/split/WantedSansVariable.min.css');

/* ========================================================
 * SETTING
======================================================== */
:root{
	--main-color: #9c005c;
	--area-wrap-width: 1700px;
	--area-box-width: 1600px;
	--area-width: 1400px;
	--area-padding: 30px;
	--header-top: 20px;
	--header-height: 140px;
	--header-fixed-height: 100px;
	--sub-visual-height: 64rem;
	--sub-menu-height: 7rem;
	--full-height: 100vh;
	--transition-custom: all 0.4s ease-in-out;
	--transition-custom1: all 0.2s ease-in-out;
	--transition-custom2: all 0.8s ease-in-out; /* data-scroll */
	--font-family1: 'Exo 2', 'Wanted Sans Variable', "나눔고딕", NanumGothic, "Nanum Gothic","돋움", Dotum, Arial, sans-serif;
	--font-family2: 'Wanted Sans Variable', "나눔고딕", NanumGothic, "Nanum Gothic","돋움", Dotum, Arial, sans-serif;
}
::selection {
    background: var(--main-color);   
    color: #fff;
}
::-moz-selection {
    background: var(--main-color);    
    color: #fff;
}
html{font-size:10px;}
body, table, th, td, button, select, input, textarea {
	font-family:var(--font-family1);
	color:#666;
	-webkit-text-size-adjust:none;
	-moz-text-size-adjust:none;
	text-size-adjust:none;
	word-break:keep-all;
}
body { background-color:#fff; }
table, th, td{word-break:break-word;}
#wrap {overflow:hidden; width:100%; min-width:320px; position:relative; }
.font-wanted {font-family:var(--font-family2);}

/* ========================================================
 * SETTING
======================================================== */
@media all and (max-width:1280px){
	:root{
		--header-height: 100px;
		--header-fixed-height: 80px;
	}
}
@media all and (max-width:800px){
	:root{
		--header-height: 80px;
		--area-padding: 5vw;
		--sub-visual-height: 45rem;
		--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:1760px){	/* max-width : (area-wrap-width) + 60px */
	.area-wrap{padding:0 var(--area-padding); max-width:none;}
}
@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:1460px){ 
	.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;}
}


/* ========================================================
 * LAYOUT
======================================================== */
/* ****************** 공통클래스 ********************** */
.area{ max-width:var(--area-width); margin:0px auto;}
.area-box{ max-width:var(--area-box-width); margin:0px auto; }
.area-wrap{ max-width:var(--area-wrap-width); margin:0px auto; }
.full-height{height:var(--full-height);}
/* Fullpage Layout */
.fullpage-html{overflow:hidden; height:100%;}
.fullpage-html #wrap{position:static;}
/* br tag */
.m-br{display:none;}
.display-m{display:none;}

/* ****************** HEADER ********************** */
#header{position:absolute; height:var(--header-height); top:var(--header-top); left:0; width:100%; z-index:9999; transition:var(--transition-custom);}
#headerInnerWrap{position:fixed; top:0px; left:0px; width:100%; height:var(--header-height); z-index:9999; transition:var(--transition-custom); transition-property:background-color;}
#headerInner{position:relative; display:flex; align-items:center; justify-content:space-between; max-width: var(--area-wrap-width); height:var(--header-height); margin:0px auto; padding:0 var(--area-padding); box-sizing: border-box;}
#header .logo{position:relative; z-index:100;}
#header .logo a{height: 40px; display: flex; align-items: center;}
#header .logo img{max-height: 100%; display:block; filter: drop-shadow(0rem 0rem 2rem rgba(3,33,63,1));}

/* -------- Header :: GNB(PC) -------- */
.gnb-overlay-bg{position:fixed; top:0; left:0; width:100%; height:100%; visibility:hidden; opacity:0; background:rgba(0,0,0,0.5); z-index:9997;  transition:var(--transition-custom); }	/* gnb overlay BG */
.gnb-overlay-bg.open{visibility:visible; opacity:1.0;}
#gnb{position:absolute; text-align:right; top:0; left:0px; width:100%; z-index:99;}
#gnb > ul{display:inline-block; display: flex; justify-content: end; width: 100%; max-width: var(--area-box-width); margin: 0px auto; padding:0 var(--area-padding); box-sizing: border-box;}
#gnb > ul > li{position:relative; word-break:keep-all; transition:var(--transition-custom);}
#gnb > ul > li + li{margin-left: 4rem;}
#gnb > ul > li > a{
	position:relative; z-index:100; display:block; line-height:var(--header-height); text-align:center; color:#fff; font-size:1.8rem; letter-spacing:-0.025em; font-weight:600; transition:var(--transition-custom);
}

/* -------- Header :: GNB(Mobile) -------- */
.nav-open-btn{display:none;}
#gnbM{display:none}


/* ****************** FOOTER ********************** */
/* -------- FOOTER :: 레이아웃 -------- */
#footer{background-color:#fff; border-radius: 0 10rem 0 0;}
.footer-left-con{float:left;}
.footer-right-con{float:right;}

/* Footer :: TOP버튼 */
.to-top-btn{
	position:fixed; 
	bottom:-100px; 
	right:15px;
	display:block; 
	width:46px; 
	height:46px; 
	background-color:#fff; 
	text-align:center; 
	color:#333; 
	z-index:99;
	border:1px solid #eee;
	box-sizing:border-box;
	opacity:0;
	transition:var(--transition-custom);
	border-radius:50%;
}
.to-top-btn.bottom-fixed{bottom:15px; opacity:1.0;}
.to-top-btn i{display:inline-block; font-size:16px; line-height:46px; transition:var(--transition-custom);}
.to-top-btn:hover i{transform:translateY(-3px)}
#fullpage .to-top-btn{display:none;}

.footer-con { border-radius: 0 10rem 0 0; background: #fff;}

/* -------- FOOTER :: 상단 -------- */
#footerTop{ padding:9rem 0 0;}
#footerTop .area-wrap{display: flex;}
#footerTop .footer-left-con {display: flex; width: calc(100% - 42rem);}
#footerTop .footer-right-con {display: flex; width: 40rem;}

/* Footer :: 푸터로고 */
.foot-logo{display:block; padding-right: 5rem;}

/* Footer :: 정보 style02 */
.footer-address-info-box{ letter-spacing:-0.5px;}
.footer-address-list {margin-bottom: 2rem;}
.footer-address-list:last-of-type {margin-bottom: 0;}
.footer-address-list dl{display:inline-block; vertical-align:middle; color:#888888; font-size:1.4rem; font-weight: 500; line-height:1.7; margin-right:2.4rem; }
.footer-address-list dl:last-child{margin-right:0}
.footer-address-list dl dt,
.footer-address-list dl dd{vertical-align:top; display:inline-block;}
.footer-address-list dl dt{color:#333; font-weight: 800;}
.footer-address-list span{display:inline-block; margin-right:15px}
.footer-address-list .sns-list a {display: inline-block; font-size: 18px; padding: 0 0.7rem;}
.footer-address-list .sns-list a img {position: relative; top: -2px;}

.footer-right-con {display: flex; justify-content: end;}
/* Footer :: 푸터메뉴 */
.foot-menu{}
.foot-menu li{float:left; position:relative; padding-left:5px;}
.foot-menu li a{display: inline-flex; align-items: center; padding:0 1.8rem; height: 4rem; border-radius: 2rem; border: 1px solid #dddddd; color:#aaa; font-size:1.4rem; font-weight: 500; letter-spacing:-0.05em; color: #555555; -webkit-box-sizing: border-box;-moz-box-sizing: border-box; box-sizing: border-box;}
.foot-menu li a b{color:var(--main-color); font-weight:500;}

/* Footer :: 패밀리사이트 */
.family-site-box{margin-left: 5px; position:relative; width:15rem; text-align:left; letter-spacing:-0.05em;}
.family-site-box .family-site-open-btn{position: relative; display:block; width:100%; height:4rem; line-height:4rem; padding:0 2rem; text-align:left; font-size:14px; background-color:#e5e5e5; color:#555555; box-sizing:border-box; border-radius: 2rem;}
.family-site-box .family-site-open-btn:after{position:absolute; right:1.5rem; top:50%; transform:translateY(-50%); font-size:2rem; font-family: 'xeicon'; content:"\e942";}
.family-site-box.open .family-site-open-btn:after{content:"\e945";}
.family-site-list{position:absolute; bottom:100%; left:0px; width:100%;  padding:10px 0; background-color:#fff; border:1px solid #ddd; border-bottom:0;  z-index:11; display:none; box-sizing:border-box;}
.family-site-list a{display:block; padding:10px 20px; color:#333; font-size:12px;}
.family-site-list a:hover{color:#000; text-decoration:underline;}

/* -------- FOOTER :: 하단 -------- */
#footerBottom{ padding:0.5rem 0 6rem; }

/* Footer :: Copyright */
.footer-copyright{float: left; font-size:14px; letter-spacing:-0.5px; color: #999999;   line-height: 1.4; margin-right: 2rem;}

.footer-top-btn {display: inline-flex; align-items: center; font-size: 14px; font-weight: 900; color: #888888;}
.footer-top-btn i {font-size: 2rem; font-weight: 400; margin-left: 0.5rem; }


/* ****************** HEADER ********************** */
@media all and ( max-width: 1280px ){
	#headerInnerWrap{position:fixed; z-index:99;}
	
	/* -------- Header :: UTIL BOX -------- */
	.header-util-box{padding-right:50px;}

	/* -------- 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; padding:12px var(--area-padding); }
	#navigation > li .gnb-2dep > ul > li.on > a{color:#000; font-weight:500;}

	/* -------- Header :: 네비게이션 오픈 버튼 -------- */
	.nav-open-btn{display:block; position:fixed; top:40px; right:var(--area-padding); z-index:10000; width:26px; height:26px; display:flex; flex-wrap:wrap; justify-content: space-between; margin: -4px 0; transition:var(--transition-custom); }
	.nav-open-btn .dot{display:block; width:9px; height:9px; border-radius: 9px; margin: 4px 0; background-color:#fff; transition:var(--transition-custom);}
	.nav-open-btn .dot:nth-child(2) {background-color: var(--main-color);}
	.nav-open-btn .dot:before{position: absolute; content:''; width:100%; height:100%; background:#fff; top:0; left:0; border-radius:4px; transition: var(--transition-custom);}
	.nav-open-btn .dot:nth-child(1){transform:rotate(45deg);}
	.nav-open-btn .dot:nth-child(2){transform:rotate(135deg);}
	.nav-open-btn .dot:nth-child(3){transform:rotate(-45deg);}
	.nav-open-btn .dot:nth-child(4){transform:rotate(-135deg);}
	.nav-open-btn .dot:nth-child(2):before{background:var(--main-color) !important;}
	/* active */
	.nav-open-btn.active .dot{width:13px; height:3px; background-color: #000;}
	.nav-open-btn.active .dot:before {background: #000;}
	.nav-open-btn.active .dot:nth-child(1):before{width:17px;}
	.nav-open-btn.active .dot:nth-child(2):before{width:17px;}
	.nav-open-btn.active .dot:nth-child(3):before{width:17px;}
	.nav-open-btn.active .dot:nth-child(4):before{width:17px;}
}
@media all and ( min-width: 481px ) and ( max-width: 1280px ) {
	.nav-open-btn.active{right:20px;}
}
@media all and ( max-width: 800px ){
	#header .logo a{height: 36px;}

	/* -------- Header :: UTIL BOX -------- */
	.header-util-box{padding-right:40px;}

	/* Header :: 언어선택 */
	.header-lang{width:60px; margin-left:5px}
	.header-lang strong{display:none;}
	.header-lang > ul{border-color:#ccc;}
	.header-lang > ul > li > a{padding:0; text-align:center;}
	/* Header :: 사이트맵, 네비게이션 버튼 */
	.nav-open-btn{top:22px; margin-top:0;}
	.nav-open-btn .line{width:20px; height:2px;}
	.nav-open-btn.active .line:nth-child(1){
		transform: translateY(6px) rotate(45deg);
	}
	.nav-open-btn.active .line:nth-child(3){
		transform: translateY(-6px) rotate(-45deg);
	}
	/* Header :: GNB(Mobile) */
	#navigation > li > a{font-size:15px;}
	#navigation > li .gnb-2dep > ul > li > a{font-size:13px;}
}

/* ****************** FOOTER ********************** */
@media all and (max-width:1280px){
	/* -------- FOOTER :: 레이아웃 -------- */
	#footerTop .footer-left-con {flex-wrap: wrap;}
	.foot-logo {padding-right: 0; padding-bottom: 2rem;}
	.footer-address-info-box {width: 100%;}
}
@media all and (max-width:800px){
	/* -------- FOOTER :: 레이아웃 -------- */
	#footer{border-radius: 0 5rem 0 0;}
	#footerTop {padding: 6rem 0 0;}
	.footer-con {border-radius: 0 5rem 0 0;}
	.footer-right-con {width: 100%; justify-content: start;}
	#footerTop .area-wrap{flex-wrap: wrap;}
	#footerTop .footer-left-con {width: 100%;}
	#footerTop .footer-right-con{padding-top: 2rem; width: 100%;}
	#footerBottom {padding: 3rem 0 3.5rem;}
	/* Footer :: 푸터로고 */
	.foot-logo img{height:24px;}
	/* Footer :: 푸터메뉴 */
	.foot-menu li:first-child {padding-left: 0;}
	/* Footer :: SNS 리스트 */

	/* Footer :: 정보 style02 */
	.footer-address-list {margin-bottom: 1rem;}

	/* Footer :: 패밀리사이트 */
	.family-site-box {width: 18rem;}
}


/* ****************** MODAL LAYERPOPUP ********************** */
/* modal layer */
.modal-fixed-pop-wrapper{display:none; overflow-y:scroll; overflow-x:hidden;  position:fixed; top:0px; left:0px; width:100%; height:100%; z-index:9999; background:#000; background:rgba(0,0,0,0.8);}
.modal-fixed-pop-inner{position:absolute; display:table; width:100%; height:100%; text-align:center;}
.modal-inner-box{ position:relative; display:table-cell; vertical-align:middle;}
.modal-loading{position:absolute; top:50%; left:50%; margin:-25px 0 0 -25px; z-index:10000;}
.modal-inner-content{text-align:left;}
.loading {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 8px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@-webkit-keyframes spin {
  to { transform: rotate(360deg); }
}
/* modal layer content */
.footer-modal-content{position:relative; width:96%; max-width:1000px; margin:20px auto; }
.footer-modal-content h1{font-size:24px; font-weight:600; letter-spacing:-0.5px; text-align:center; padding:0 50px 20px; color:#fff;}
.modal-close-btn{position:absolute; top:-6px; right:-6px; color:#fff; }
.modal-close-btn i{font-size:38px;}
.modal-close-btn i:hover {color:#fff}
.footer-inner-box{padding:30px; background-color:#fff; }
.footer-inner{padding:20px; height:400px; overflow-y:auto; overflow-x:hidden; border:1px solid #ddd;}

/* ****************** 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;}
}