@charset "utf-8";
/* layout.css는 전체적인 스타일 정의 */

#wrapper {position:relative; overflow:hidden;}

.contain {position:relative; padding-left:15px; padding-right:15px; margin:0 auto; height:inherit; letter-spacing:-.02em;}
#header .contain {max-width:1750px !important;}
#footer .contain {max-width:1470px !important;}
#main .contain {max-width:1470px;}
#sub .contain {max-width:1470px;}

/* header */
#header {position:fixed; top:0; left:0; width:100%; z-index:90; letter-spacing:-.03em; transition:all 0.6s; height:120px; background:#fff;}
#header .sitelogo a {display:block; position:absolute; top:50%; left:15px; margin-top:-36px;}

#header.active {transform:translateY(0);}
#header.hide {transform:translateY(-100%);}

#gnb>ul {display:flex; margin-left:490px;}
#gnb>ul>li {position:relative; text-align:center; width:230px;}
#gnb>ul>li:after {content:''; width:1px; height:12px; background:#ddd; position:absolute; right:0; top:50%; margin-top:-6px;}
#gnb>ul>li:last-child:after {display:none;}
#gnb>ul>li>a {position:relative; display:inline-block; color:#000; font-size:20px; line-height:120px; transition:all 0.6s; font-weight:600;}
#gnb>ul>li:hover>a {color:#b5985a;}
#gnb>ul>li.m4 .submenu {display:none !important;}

#gnb .submenu {top:108px; padding-top:10px;  width:100%; height:100%; left:0; display:none; z-index:11; position:absolute;}
#gnb .submenu:before {content:''; width:18px; height:12px; background:url('../img/layout/submenu.png') no-repeat; position:absolute; top:0; left:50%; margin-left:-9px;}

#gnb .submenu > ul {background:#b5985a; padding:37px 20px 50px;}
#gnb .submenu > ul > li {margin-bottom:24px;}
#gnb .submenu > ul > li:last-child {margin-bottom:0;}
#gnb .submenu > ul > li > a {display:block; color:#fff; font-size:18px; line-height:1.444em; opacity:0.7; font-weight:400; position:relative;}
#gnb .submenu > ul > li:hover > a {opacity:1; font-weight:700; text-decoration:underline;}

#gnb .depth {padding-top:3px; opacity:0.7;}
#gnb .submenu > ul > li:hover .depth {opacity:1;}
#gnb .depth li a {font-size:16px; line-height:1.875em; color:#fff; font-weight:400;}
#gnb .depth li a:hover {font-weight:700;}

.sitemap-btn {position:absolute; top:50%; right:15px; width:30px; height:18px; margin-top:-9px; display:flex;}
.sitemap-btn span {position:absolute; left:0; height:2px; transition:all 0.6s;}
.sitemap-btn span.bk {background:#000; width:100%;}
.sitemap-btn span.bktop {top:0;}
.sitemap-btn span.bkbot {bottom:0;}
.sitemap-btn span.gl {background:#b5985a; top:50%; margin-top:-1px; width:20px;}
.sitemap-btn:hover span.bk {width:20px;}
.sitemap-btn:hover span.gl {left:10px;}
/* footer */
#footer {padding:74px 0; background:#191919;}
.foot-wrap {display:flex; align-items:center;}
.foot-wrap .logo {width:100%; max-width:330px;}
.foot-wrap .box {width:1%; flex:1 1 auto;}
.foot-wrap .box .info {padding-bottom:24px; margin-bottom:24px; border-bottom:1px solid rgba(255,255,255,0.1);}
.foot-wrap .box p {font-size:16px; line-height:1.6em; color:#606060;}
.foot-wrap .box .copy {display:flex; justify-content:space-between;}
.foot-wrap .box .copy ul {display:flex; margin:0 -12px;}
.foot-wrap .box .copy ul li {padding:0 12px; position:relative;}
.foot-wrap .box .copy ul li:after {content:''; width:1px; height:10px; background:#606060; position:absolute; top:50%; margin-top:-5px; right:0;}
.foot-wrap .box .copy ul li:last-child:after {display:none;}
.foot-wrap .box .copy ul li a {font-size:16px; line-height:1.6em; color:#606060; transition:all 0.6s;}
.foot-wrap .box .copy ul li a:hover {color:#fff;}

/* scroll top */
.scroll-top {position:fixed; bottom:130px; right:100px; width:55px; height:55px; border:1px solid #4c4e4e; border-radius:10px; overflow:hidden; z-index:10; transform:translateX(300%); opacity:0; transition:all 0.6s;}
html.scroll-fade .scroll-top {transform:translateX(0); opacity:1;}
.scroll-top:after {content:''; width:55px; height:110px; position:absolute; top:-1px; left:-1px; background:url('../img/layout/scroll-top.png'); background-position:bottom center; transition:all 0.6s;}
.scroll-top:hover:after {background-position:top center;}


/* siteMap : S */
.sitemap {position:fixed; max-width:100vw; max-height:100vh; width:0; height:0; z-index:1111;  display:block; top:0; right:0; overflow:hidden; letter-spacing:0;}
html.sitemap-opened .sitemap {width:100%; height:100%; visibility:visible; }
.sitemap:before {content:''; position:fixed; z-index:-1; top:0; left:0; width:100vw; height:100vh; background:url('../img/layout/sitemap-black.jpg') center center no-repeat; background-size:cover; transition:all 0.6s ease 0.2s; display:none;}
html.sitemap-opened .sitemap:before {display:block;}

.sitemap .sitemap-close {position:absolute; top:calc(80px/2); right:4.5%; width:36px; height:36px; z-index:12; transition:all 0.6s;}
.sitemap .sitemap-close:hover {opacity:0.6;}
.sitemap .sitemap-close:before,
.sitemap .sitemap-close:after {content:''; width:36px; height:2px; background:#fff; position:absolute; left:0; transition:all 0.6s;}
.sitemap .sitemap-close:before {top:10px;}
.sitemap .sitemap-close:after {bottom:10px;}
html.sitemap-opened .sitemap .sitemap-close:before {transform:rotate(45deg); top:50%; margin-top:-1px;}
html.sitemap-opened .sitemap .sitemap-close:after {transform:rotate(-45deg); bottom:50%; margin-bottom:-1px;}

.site-wrap {max-width:1690px; width:100%; padding:0 15px; margin:0 auto; height:100vh; position:relative;}
.site-wrap .wrap {height:100vh; position:relative;}
.nav-menu {display: flex; align-items: center; height: 100%;}
.nav-menu > ul {display: flex; width: 100%;}
.nav-menu > ul > li {position: relative; width: 25%; text-align: center; padding: 0 15px;}
.nav-menu > ul > li:after {position: absolute; top: 0; right: 0; content: ''; width: 1px; height: 100%; background: #ddd;}
.nav-menu > ul > li:last-child:after {display: none;}
.nav-menu > ul > li > span > a {position: relative; display: inline-block; font-family: 'wanted sans'; font-size: 40px; font-weight: 500; color: #000; margin-bottom: 50px;}
.nav-menu > ul > li > span > a:after {content:''; background:#b5985a; width:0; height:24px; position:absolute; top: 50%; transform: translateY(-50%); left:-8px; z-index:-1; opacity:0.2; transition:all 0.6s;}
.nav-menu > ul > li.on > span > a:after {width: calc(100% + 16px);}
.nav-menu > ul > li > span > a:hover:after {width:calc(100% + 16px);}

.nav-menu .submenu > ul > li > a {display:inline-block; font-family: 'wanted sans'; font-size:22px; line-height:1.4em; margin: 8px 0; position:relative; color:#666;}
.nav-menu .submenu > ul > li:hover > a {color:#b5985a;}
.nav-menu .submenu > ul > li > a br {display: none;} 

.nav-menu .depth a {position: relative; display: inline-block; font-family: 'wanted sans'; font-size:18px; color:#999; transition:all 0.6s; line-height:2.1em; padding-left: 11px;}
.nav-menu .depth a:before {position: absolute; top: 17px; left: 0; content: ''; width: 6px; height: 2px; background: #999;}
.nav-menu .depth a:after {position: absolute; bottom: 9px; left: 11px; content: ''; width: 0; height: 1px; background: #111; transition: all 0.6s;}
.nav-menu .depth a:hover {color:#111;} 
.nav-menu .depth a:hover:after {width: calc(100% - 11px);}

/* sitemap-white */
.sitemap-white:before {background:#fff;}
.sitemap-white .sitemap-close:before,
.sitemap-white .sitemap-close:after {background:#000;}
.sitemap-white {color:#000;}

.sitemap-white .btn-wrap ul li a img {filter:invert(1);}

.sm-bt {position:absolute; bottom:60px; right:60px; background:#fff; width:30px; height:30px; border-radius:50%; cursor:pointer; transition:all 0.6s; z-index:111;}
.sitemap-white .sm-bt {background:#000;}



/* siteMap : E */
/* siteMap : responsive */
@media (max-width:1300px){
	.nav-menu .submenu > ul > li > a br {display: block;} 
}
@media (max-width:1024px){
	.sitemap .sitemap-close {top: calc(40px / 2);}

	.nav-menu > ul > li {width: 25%; padding: 0 10px;}
	.nav-menu > ul > li > span > a {font-size: 28px; margin-bottom: 30px;}
	.nav-menu > ul > li > span > a:after {height:16px; left:-8px;}
	.nav-menu > ul > li.on > span > a:after {width: calc(100% + 16px);}
	.nav-menu > ul > li > span > a:hover:after {width:calc(100% + 16px);}

	.nav-menu .submenu > ul > li > a {font-size:18px; margin: 8px 0;}

	.nav-menu .depth a {font-size:15px; padding-left: 11px;}
	.nav-menu .depth a:before {top: 14px;}
	.nav-menu .depth a:after {bottom: 8px; left: 11px;}

	.nav-menu .depth a:hover:after {width: calc(100% - 11px);}
}
@media (max-width:768px){
	.sitemap .sitemap-close {top: calc(60px / 2);}	

	.site-wrap .wrap {padding:100px 0 0;}
	.nav-menu > ul {flex-wrap: wrap;}
	.nav-menu > ul > li {width: 50%; padding: 0 10px; margin-bottom: 50px;}
	.nav-menu > ul > li:nth-child(even):after {display: none;}
	.nav-menu > ul > li > span > a {font-size: 24px; margin-bottom: 20px;}

	.nav-menu .submenu > ul > li > a {font-size:17px; margin: 5px 0;}

	.nav-menu .depth a {font-size:14px;}
	.nav-menu .depth a:before {top: 13px;}
	.nav-menu .depth a:after {bottom: 6px;}


	
}
@media (max-width:400px){
	/* .site-wrap .head {position:relative; left:0; height:70px;}
	.site-wrap .head .logo img {height:50px;}
	.site-wrap .wrap {padding:30px 0; height:calc(100vh - 70px); flex-direction:column-reverse;} */
	.sitemap .sitemap-close {top: calc(40px / 2);}
	.site-wrap .wrap {padding:70px 0 0;  }
	/* .nav-menu .depth {margin-top:0;}
	.nav-menu .submenu ul li a {font-size:12px; margin-bottom:5px;} */
}