@charset "utf-8";

/* layout.css는 전체적인 스타일 정의 */

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


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

/* header */
#header {position:fixed; top:0; left:0; width:100%; height:100px; z-index:90; letter-spacing:-.03em; border-bottom:1px solid rgba(255,255,255,0.2); transition:all 0.4s;}
#header.hactive {background:#fff; border-color:#ddd;}
#header.active {background:#fff; border-color:#ddd;}
#header.active {transform:translateY(0);}
#header.hide {transform:translateY(-100%);}

#header .sitelogo a {background-image:url('../img/layout/logo-w.png'); display:block; position:absolute; top:50%; left:15px; margin-top:-25px; width:124px; height:50px; background-repeat:no-repeat; background-size:contain; transition:all 0.4s;}
#header.hactive .sitelogo a {background-image:url('../img/layout/logo-c.png');}
#header.active .sitelogo a {background-image:url('../img/layout/logo-c.png');}

#gnb>ul {display:flex; justify-content:center; margin:0;} 
#gnb>ul>li {position:relative; text-align:center; margin:0 60px;}
#gnb>ul>li>a {position:relative; display:inline-block; color:#fff; font-size:24px; line-height:100px; font-weight:700; transition:all 0.4s;}
#header.hactive #gnb>ul>li>a {color:#222;}
#header.hactive #gnb>ul>li:hover>a {color:#0157D6;}
#header.active #gnb>ul>li>a {color:#222;}
#header.active #gnb>ul>li:hover>a {color:#0157D6;}

#gnb>ul>li:hover .submenu {opacity:1;}
#gnb .submenu {position:absolute; top:100px; left:0; width:100%; height:0; z-index:20; opacity:0; transition:all 0.4s;}
#gnb .submenu ul {display:block; padding:40px 0 60px; text-align:left;}
#gnb .submenu ul li {margin-bottom:16px;}
#gnb .submenu ul li:last-child {margin-bottom:0;}
#gnb .submenu ul li:last-child {margin-bottom:0;}
#gnb .submenu ul li a {display:inline-block; color:#666; font-size:18px; line-height:1.4em; transition:all 0.4s; white-space:nowrap;}
#gnb .submenu ul li a:hover {color:#0157D6;}	 
#gnb .submenu ul li a sup {display:inline-block; margin-top:-2px; font-size:14px; line-height:1.1em;}

.submenu-bg {background-color:#fff;}

#header .linkin {position:absolute; background-image:url('../img/layout/linkin-w.png'); width:42px; height:42px; background-repeat:no-repeat; background-size:cover; top:50%; margin-top:-21px; right:165px; transition:all 0.4s;}
#header.hactive .linkin {background-image:url('../img/layout/linkin-c.png');}
#header.active .linkin {background-image:url('../img/layout/linkin-c.png');}
#header .linkin:hover {background-image:url('../img/layout/linkin-c.png');}

#header .lang {position:absolute; top:50%; margin-top:-21px; right:80px;}
#header .lang .open {background-image:url('../img/layout/lang-w.png'); width:62px; padding-right:20px; height:42px; background-repeat:no-repeat; background-size:contain; background-position:left center; transition:all 0.4s;}
#header.hactive .lang .open {background-image:url('../img/layout/lang-c.png');}
#header.active .lang .open {background-image:url('../img/layout/lang-c.png');}
#header .lang .open:hover {background-image:url('../img/layout/lang-c.png');}
#header .lang .open:after {content:''; width:20px; height:20px; background-repeat:no-repeat; background-size:cover; position:absolute; top:50%; margin-top:-10px; right:0; background-image:url('../img/layout/lang-arrow-w.png'); transition:all 0.4s;}
#header.hactive .lang .open:after {background-image:url('../img/layout/lang-arrow-c.png');}
#header.active .lang .open:after {background-image:url('../img/layout/lang-arrow-c.png');}
#header .lang .open:hover:after {background-image:url('../img/layout/lang-arrow-c.png');}
#header .lang .wrap {position:absolute; top:50px; background:#fff; padding:5px 10px; right:0; width:100%; text-align:center; display:none;}
#header .lang .wrap a {font-size:16px; line-height:1.4em; color:#0157D6; transition:all 0.4s; font-weight:500; margin-bottom:6px;}
#header .lang .wrap a:last-child {margin:0;}
#header .lang .wrap a:hover {color:#0157D6;}

.sitemap-btn {width:48px; height:48px; position:absolute; top:50%; margin-top:-24px; right:15px;}
.sitemap-btn span {position:absolute; right:0; height:3px; transition:all 0.4s;}
.sitemap-btn span.top {top:16px; width:48px; background:#0157D6;}
.sitemap-btn span.btm {bottom:16px; width:40px; background:#fff;}
#header.hactive .sitemap-btn span.btm {background:#222;}
#header.active .sitemap-btn span.btm {background:#222;}
.sitemap-btn:hover span.btm {background:#222;}

/* footer */
#footer {padding:40px 0 60px; background:#001637; font-family:'Roboto';}
.foot-cnt {display:flex; justify-content:space-between; align-items:center; padding-bottom:24px; margin-bottom:24px; border-bottom:1px solid rgba(255,255,255,0.1);}
.foot-cnt ul {display:flex; margin:0 -24px;}
.foot-cnt ul li {padding:0 24px; position:relative;}
.foot-cnt ul li:after {content:''; width:1px; height:12px; background:#999; position:absolute; top:50%; margin-top:-6px; right:0;}
.foot-cnt ul li:last-child:after {display:none;}
.foot-cnt ul li a {font-size:16px; line-height:1.6em; font-weight:500; color:#999; transition:all 0.4s;}
.foot-cnt ul li a:hover {color:#fff;}

.foot-info {display:flex; justify-content:space-between;}
.foot-info p {font-size:16px; line-height:1.4em; color:#999; margin-bottom:4px;}
.foot-info p.copy {font-size:14px;}
.foot-info p strong {color:#fff; font-weight:600; display:inline-block; margin-right:8px;}
.foot-info p span {margin:0 16px;}
.foot-info p br {display:none;}

.scrolltop {position:fixed; right:40px; bottom:90px; mix-blend-mode:difference; z-index:80;}
.scrolltop span {height:0; overflow:hidden; position:relative; display:block; transition:all 0.4s; opacity:0;}
html.scroll-fade .scrolltop span {height:90px; opacity:1;}


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

.site-wrap {max-width:1630px; width:100%; padding:0 15px; margin:0 auto; height:100vh; position:relative;}
.site-wrap .head {position:absolute; top:0; left:0; width:100%; height:120px; display:flex; align-items:center; z-index:1; padding:0 15px;}
.site-wrap .head ul {margin-left:50px; margin-top:10px; display:flex;}
.site-wrap .head ul li {padding-right:15px; margin-right:15px; position:relative;}
.site-wrap .head ul li:after {content:''; width:1px; height:12px; background:#fff; position:absolute; top:50%; margin-top:-6px; right:0;}
.site-wrap .head ul li:last-child:after {display:none;}
.site-wrap .head ul li a {font-size:14px; color:#888; letter-spacing:0; line-height:1.6em; transition:all 0.6s; font-weight:700; font-family:'Montserrat';}
.site-wrap .head ul li.active a {color:#fff;}

.sitemap .sitemap-close {position:absolute; top:50%; margin-top:-18px; right:15px; 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 .wrap {padding:160px 0 60px;  height:100vh;display:flex; position:relative;}
.site-wrap .wrap:after {content:''; width:1px; height:100vh; background:rgba(255,255,255,0.2); position:absolute; top:0; left:700px;}
.site-wrap .wrap .info-wrap {width:100%; max-width:700px; display:flex; flex-direction:column; justify-content:space-between; padding-right:60px;}
.site-wrap .info .box {margin-bottom:50px; position:relative; left:100px; opacity:0; transition:all 0.6s;}
html.sitemap-opened .site-wrap .info .box {transition-delay:0.1s; left:0; opacity:1;}
html.sitemap-opened .site-wrap .info .box:nth-child(2) {transition-delay:0.2s;}

.site-wrap .info .box:last-child {margin-bottom:0;}
.site-wrap .info .box h4 {font-size:18px; font-weight:700; color:#fff; line-height:1.6em; font-family:'Montserrat'; margin-bottom:16px;}
.site-wrap .info .box dl {display:flex; font-size:18px; line-height:1.6em; margin-bottom:8px;}
.site-wrap .info .box dt {width:170px; font-weight:500; color:#bbb;}
.site-wrap .info .box dd {width:1%; flex:1 1 auto; color:#888;}
.site-wrap .info .box dd a.mail {text-decoration:underline;}
.site-wrap .btn-wrap .more {display:inline-block; width:230px; line-height:62px; border:1px solid #fff; color:#fff; font-size:18px; padding:0 30px; position:relative; margin-bottom:50px;}
.site-wrap .btn-wrap .more:after {content:''; width:12px; height:12px; background:url('../img/layout/sitemap-btn-w.png') no-repeat; position:absolute; top:50%; margin-top:-6px; right:30px;}
.site-wrap .btn-wrap .more:hover:after {animation: btn-move 1s both .1s;}
@keyframes btn-move {
    0% {right:30px;}
    25% {right:20px;}
    50% {right:30px;}
    75% {right:25px;}
    100 {right:30px;}
}
.site-wrap .btn-wrap ul {display:flex;}
.site-wrap .btn-wrap ul li {margin-right:12px;}
.site-wrap .btn-wrap ul li a {display:block; transition:all 0.3s;}
.site-wrap .btn-wrap ul li a:hover {opacity:0.6;}
.site-wrap .wrap .nav-menu {width:1%; flex:1 1 auto; padding-left:100px;}
.nav-menu > ul > li {margin-bottom:20px;}
.nav-menu > ul > li > span {display:block; position:relative; transition:all 0.6s; overflow:hidden;}
.nav-menu > ul > li > span a {display:inline-block; font-size:44px; line-height:1.2em; transition:all 0.6s ease 0s; position:relative; transform:translateY(110%); font-weight:500; padding:0 5px; color:#fff;}
html.sitemap-opened .nav-menu > ul > li > span a {transform:translateY(0); transition-delay:0.5s; transition-property:transform;}
.nav-menu > ul > li > span a:after {content:''; background:#fff; width:0; height:20px; position:absolute; bottom:5px; left:0; z-index:-1; opacity:0.2; transition:all 0.6s;}
.nav-menu > ul > li.active > span a:after {width:100%;}
.nav-menu > ul > li > span a:hover:after {width:100%;}

.nav-menu .submenu {display:none;}
.nav-menu .submenu ul {display:flex; flex-wrap:wrap; padding-top:20px; padding-left:15px;}
.nav-menu .submenu ul li {padding-right:40px; margin-bottom:20px;}
.nav-menu .submenu ul li a {display:inline-block; font-size:24px; line-height:1.5em; position:relative; color:#888;}
.nav-menu .submenu ul li a:hover {color:#fff; font-weight:700;}
.nav-menu .submenu ul li a sup {font-size:18px; line-height:1.1em;}

/* sitemap-white */
.sitemap-white:before {background:url('../img/layout/sitemap-white.jpg') center center no-repeat; background-size: cover;}
.sitemap-white .sitemap-close:before,
.sitemap-white .sitemap-close:after {background:#000;}
.sitemap-white {color:#000;}
.sitemap-white .head ul li:after {background:#ddd;}
.sitemap-white .head ul li a {font-size:14px; color:#666;}
.sitemap-white .head ul li.active a {color:#000;}
.sitemap-white .wrap:after {background:#ddd;}
.sitemap-white .info .box h4 {color:#000;}
.sitemap-white .info .box dt {color:#000;}
.sitemap-white .info .box dd {color:#666;}
.sitemap-white .btn-wrap .more {border:1px solid #000; color:#fff; background:#000;}
.sitemap-white .nav-menu > ul > li > span a {color:#000;}
.sitemap-white .nav-menu > ul > li > span a:after {background:#000; opacity:0.1;}
.sitemap-white .nav-menu .submenu ul li a {color:#666;}
.sitemap-white .nav-menu .submenu ul li a:hover {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:1400px){
	.site-wrap .wrap:after {left:500px;}
	.site-wrap .wrap .info-wrap {max-width:500px; padding-right:40px;}
	.site-wrap .info .box dl {font-size:16px;}	
	.site-wrap .wrap .nav-menu {padding-left:60px;}
	.nav-menu > ul > li > span a {font-size:40px;}
	.nav-menu .submenu ul {padding-top:20px; padding-left:0;}
	.nav-menu .submenu ul li {padding-right:20px;}
	.nav-menu .submenu ul li a {font-size:20px;}
}
@media (max-width:1024px){
	.site-wrap .wrap:after {display:none;}
	.site-wrap .head {position:relative; left:0; height:100px; padding:0;}
	.sitemap .sitemap-close {right:0;}
	
	.site-wrap .wrap {padding:40px 0; height:calc(100vh - 100px); flex-direction:column-reverse;}
	.site-wrap .wrap .nav-menu {width:100%; padding-left:0;}
	
	.nav-menu > ul > li {margin-bottom:20px;}
	.nav-menu > ul > li > span a {font-size:24px; padding:0 5px;}
	.nav-menu .submenu ul {padding-top:10px;}
	.nav-menu .submenu ul li {padding-right:15px; margin-bottom:10px;}
	.nav-menu .submenu ul li a {font-size:16px;}
	
	.site-wrap .wrap .info-wrap {max-width:none;}
	.site-wrap .info .box {margin-bottom:20px;}
	.site-wrap .info .box h4 {font-size:16px; margin-bottom:10px;}
	.site-wrap .info .box:last-child {margin-bottom:20px;}
	.site-wrap .btn-wrap .more {width:200px; line-height:50px; font-size:16px; padding:0 20px; margin-bottom:20px;}
	.site-wrap .btn-wrap .more:after {right:20px;}
}
@media (max-width:640px){
	.site-wrap .head {height:100px;}
	.site-wrap .wrap {padding:30px 0; height:calc(100vh -100px);}
	.nav-menu > ul > li > span a {font-size:20px;}
	.nav-menu > ul > li > span a:after {height:10px; bottom:0;}
	.nav-menu .submenu ul li {padding-right:15px; margin-bottom:8px;}
	.nav-menu .submenu ul li a {font-size:16px;}
	.site-wrap .wrap .info-wrap {display:none;}
	
}

@media (max-width:440px){
	.site-wrap .head {height:100px;}
}
