@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Play:wght@400;700&display=swap');

/* layout.css는 전체적인 스타일 정의 */
#wrapper {position:relative;}
#main #wrapper {overflow:hidden;}

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


/* 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.6s;}
#header.hactive {background:#fff; border-color:#ddd;}
#header .sitelogo a {display:block; position:absolute; top:50%; left:15px; margin-top:-13px; width:318px; height:26px; background-image:url('../img/layout/logo-w.png'); background-repeat:no-repeat; background-size:cover; transition:all 0.6s;}
#header.hactive .sitelogo a {background-image:url('../img/layout/logo-b.png');}

#header.active {transform:translateY(0); background:#fff; border-color:#ddd;}
#header.hide {transform:translateY(-100%);}
/* #header.hide {transform:translateY(0);} */

#header.active .sitelogo a {background-image:url('../img/layout/logo-b.png');}
#header.active #gnb>ul>li>a {color:#000;}
#header.active #gnb>ul>li:hover>a {color:#d12338;}
#header.active .mems ul li:after {background:#000;}
#header.active .mems ul li a {color:#000;}
#header.active .lang ul li:after {background:#000;}
#header.active .lang ul li a {color:#000;}
#header.active .lang ul li a:after {background:#000;} 
#header.active .sitemap-btn span {background:#000;}


#gnb>ul {display:flex; justify-content:center; margin:0;} 
#gnb>ul>li {position:relative; text-align:center; width:100%; max-width:190px;}
#gnb>ul>li>a {position:relative; display:block; color:#fff; font-size:20px; line-height:100px; font-weight:700; transition:all 0.6s;}
#header.hactive #gnb>ul>li>a {color:#000;}
#header.hactive #gnb>ul>li:hover>a {color:#d12338;}
#gnb>ul>li>a:after {content:''; width:0; height:2px; background:#d12338; position:absolute; left:50%; bottom:0; transition:all 0.6s;}
#gnb>ul>li:hover>a:after {width:100%; left:0;}

#gnb .submenu {position:absolute; top:100px; left:0; width:100%; height:0; overflow:hidden; z-index:20; border-left:1px solid #ddd;}
#gnb>ul>li:last-child .submenu {border-right:1px solid #ddd;}
#gnb .submenu ul {display:block; padding:34px 0 38px;}
#gnb .submenu ul li {padding:0; text-align:center; margin-bottom:10px;}
#gnb .submenu ul li:last-child {margin-bottom:0;}
#gnb .submenu ul li a {display:inline-block; color:#666; font-size:16px; line-height:20px; position:relative; padding:2px; transition:all 0.6s;}
#gnb .submenu ul li a:hover {color:#d12338;}	 
#gnb .submenu ul li a:after {content:''; width:0; height:1px; background:#d12338; position:absolute; bottom:0; left:50%; transition:all 0.6s;}
#gnb .submenu ul li a:hover:after {width:100%; left:0;}



.mems {position:absolute; top:50%; transform:translateY(-50%); right:220px; z-index:11;}
.mems ul {display:flex; margin:0 -12px;}
.mems ul li {padding:0 12px; position:relative;}
.mems ul li:after {content:''; width:2px; height:12px; background:#fff; position:absolute; right:-1px; top:50%; margin-top:-6px; transition:all 0.6s;}
#header.hactive .mems ul li:after {background:#000;}
.mems ul li:last-child:after {display:none;}
.mems ul li a {font-size:15px; font-weight:600; color:#fff; line-height:2em; position:relative; transition:all 0.6s;}
.mems ul li a:hover {opacity:.7;}
#header.hactive .mems ul li a {color:#000;}


.lang {position:absolute; right:105px; top:50%; transform:translateY(-50%); z-index:11;}
.lang ul {display:flex; margin:0 -12px;}
.lang ul li {padding:0 10px; position:relative;}
.lang ul li:after {content:''; width:2px; height:12px; background:#fff; position:absolute; right:-1px; top:50%; margin-top:-6px; transition:all 0.6s;}
#header.hactive .lang ul li:after {background:#000;}
.lang ul li:last-child:after {display:none;}
.lang ul li a {font-size:15px; color:#fff; line-height:3em; position:relative; padding:0 2px; transition:all 0.6s;}
#header.hactive .lang ul li a {color:#000;}
.lang ul li a:after {content:''; width:100%; height:2px; background:#fff; position:absolute; left:0; bottom:10px; transition:all 0.6s; opacity:0;}
.lang ul li.on a:after {opacity:1;}
#header.hactive .lang ul li a:after {background:#000;} 


.sitemap-btn {position:absolute; top:50%; right:15px; width:18px; height:20px; margin-top:-10px;}
.sitemap-btn span {background:#fff; width:2px; position:absolute; top:50%; transition:all 0.3s;}
#header.hactive .sitemap-btn span {background:#000;}
.sitemap-btn span.left {height:12px; margin-top:-6px; left:0;}
.sitemap-btn span.mid {height:20px; margin-top:-10px; left:50%; margin-left:-1px;}
.sitemap-btn span.right {height:12px; margin-top:-6px; right:0;}
.sitemap-btn:hover span.left {margin-top:-10px;}
.sitemap-btn:hover span.right {margin-top:-2px;}



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


/* footer */
.foot-btn {background:#393737; padding:21px 0;}
.foot-btn ul {display:flex; margin:0 -11px; justify-content:flex-end;}
.foot-btn ul li {padding:0 11px; position:relative;}
.foot-btn ul li:after {content:''; width:2px; height:14px; background:#fff; position:absolute; top:50%; margin-top:-7px; right:-1px;}
.foot-btn ul li:last-child:after {display:none;}
.foot-btn ul li a {display:block; font-size:16px; line-height:1.7em; color:#fff; transition:all 0.6s;}
.foot-btn ul li a:hover {opacity:0.6;}

.foot-cnt {padding:80px 0; background:#232323;}
.foot-cnt .col {display:flex; align-items:center;}
.foot-cnt .info {width:1%; flex:1 1 auto;}
.foot-cnt .info .tit {font-size:16px; line-height:1.8em; color:#fff;}
.foot-cnt .info p {font-size:16px; line-height:1.8em; color:#979595; margin-bottom:2px;}
.foot-cnt .center {width:100%; max-width:380px;}
.foot-cnt .center .tit {font-size:16px; line-height:1.8em; color:#fff; font-weight:600; margin-bottom:2px;}
.foot-cnt .center .tel {margin-bottom:6px;}
.foot-cnt .center .tel a {display:inline-block; font-size:30px; font-weight:700; color:#fff; line-height:1.1em; position:relative; padding-left:26px;}
.foot-cnt .center .tel a:after {content:''; width:14px; height:22px; background:url('../img/layout/foot-tel.png') no-repeat; position:absolute; left:0; top:50%; margin-top:-11px; transition:all 0.3s;}
.foot-cnt .center .tel a:hover:after {left:6px;}
.foot-cnt .center .time {font-size:16px; line-height:1.8em; color:#fff; opacity:0.5;}
 
.foot-cnt .family {width:100%; max-width:220px; position:relative;}
.foot-cnt .family .family-btn {display:block; line-height:60px; font-size:16px; color:#fff; padding:0 25px; position:relative; background:rgba(255,255,255,0.1); transition:all 0.6s;}
.foot-cnt .family .family-btn:hover {background:rgba(255,255,255,0.3);}
.foot-cnt .family.family-open .family-btn {background:#fff; color:#232323;}
.foot-cnt .family .family-btn span {position:absolute; width:10px; height:10px; position:absolute; right:25px; top:50%; margin-top:-5px;}
.foot-cnt .family .family-btn span:before,
.foot-cnt .family .family-btn span:after {content:''; background:#fff; position:absolute; top:50%; left:50%; transition:all 0.6s;}
.foot-cnt .family .family-btn span:before {width:10px; height:2px; margin-left:-5px; margin-top:-1px;}
.foot-cnt .family .family-btn span:after {width:2px; height:10px; margin-left:-1px; margin-top:-5px;}
.foot-cnt .family.family-open .family-btn span:before {background:#232323;}
.foot-cnt .family.family-open .family-btn span:after {height:0; margin-top:0; background:#232323;}
.foot-cnt .family .family-box {position:absolute; bottom:60px; left:0; width:100%; background:#fff; transition:all 0.6s; overflow:hidden; padding:0 10px;}
.foot-cnt .family.family-open .family-box {padding:10px; border-bottom:1px solid #ddd;}
.foot-cnt .family .family-box ul {height:0; overflow:hidden; transition:all 0.4s;}
.foot-cnt .family.family-open .family-box ul {height:200px; overflow-y:scroll;}
.foot-cnt .family .family-box ul::-webkit-scrollbar {background:#ddd; border-radius:10px; width:8px;}
.foot-cnt .family .family-box ul::-webkit-scrollbar-thumb {background:#393737; border-radius:10px;} 
.foot-cnt .family .family-box ul li {padding-right:10px;}
.foot-cnt .family .family-box ul li a {font-size:14px; color:#666; line-height:30px; padding:0 10px; border-bottom:1px solid #ddd; transition:all 0.3s;}
.foot-cnt .family .family-box ul li:last-child a {border-bottom:0;}
.foot-cnt .family .family-box ul li a:hover {background:#ddd;}

.scrolltop {opacity:0; transition:all 0.6s; position:fixed; bottom:105px; right:45px; width:55px; border:1px solid #6f6f6f; height:55px; overflow:hidden; z-index:110; text-align:center; font-size:0;}
html.scroll-fade .scrolltop {opacity:1;}
.scrolltop:before {content:''; width:55px; height:110px; position:absolute; top:-1px; left:-1px; background:url('../img/layout/scrolltop.png'); background-position:bottom center; transition:all 0.6s;}
.scrolltop:hover:before {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;}


.site-wrap {width:100vw; padding:0 15px; margin:0 auto; height:100vh; position:relative;}
.site-wrap .head {position:absolute; top:0; left:50%; transform:translateX(-50%); width:100%; max-width:1830px; padding:0 15px; height:100px; display:flex; align-items:center; z-index:11;}

.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;}

.sitemap .lang ul li a {color:#666;}
.sitemap .lang ul li.on a {color:#000;}
.sitemap .lang ul li:after {background:#ddd;}



.site-wrap .wrap {padding:140px 0 80px;  height:100vh; display:flex; position:relative; max-width:1800px; width:100%; margin:0 auto;}
.site-wrap .wrap:after {content:''; width:1px; height:100vh; background:rgba(255,255,255,0.2); position:absolute; top:0; left:600px;}
.site-wrap .wrap .info-wrap {width:100%; max-width:600px; display:flex; flex-direction:column; justify-content:space-between; padding-left:0;}
.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:50px; 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:30px;}
.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:40px; 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:30px; 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;}

/* sitemap-white */
.sitemap-white:before {background:url('../img/layout/sitemap-white.jpg') center center no-repeat;}
.sitemap-white .sitemap-close:before,
.sitemap-white .sitemap-close:after {background:#000;}
.sitemap-white {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 .mob-wrap {display:none;}


/* siteMap : E */
/* siteMap : responsive */
@media (max-width:1400px){
	.site-wrap .wrap:after {left:500px;}
	.site-wrap .wrap .info-wrap {max-width:500px; padding-left:0;}
	.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:1200px){
	.site-wrap .head .logo {width:245px; height:20px; margin-top:-10px;}
}
@media (max-width:1024px){
	.site-wrap .wrap:after {display:none;}
	.site-wrap .head {position:relative; left:0; height:90px; transform:translateX(0); padding:0;}
	.site-wrap .lang {right:100px;}
	.site-wrap .wrap {padding:30px 0; flex-direction:column-reverse; height:calc(100vh - 90px);}
	.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 .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:70px;}
	.site-wrap .head .logo  {width:196px; height:16px; margin-top:-8px;}
	.site-wrap .lang {display:none;}
	.sitemap .sitemap-close {right:0; width:30px; height:30px; margin-top:-15px;}
	.sitemap .sitemap-close:before, .sitemap .sitemap-close:after {width:30px;}
	.site-wrap .wrap {padding:0 0 30px; height:calc(100vh - 70px); display:block;}
	

	.sitemap .mob-wrap {display:flex; margin-bottom:30px; justify-content:flex-end; border:1px solid #ddd; padding:10px 0;}
	.sitemap .mob-wrap > div {width:50%; border-right:1px solid #ddd;}
	.sitemap .mob-wrap > div:last-child {border-right:0;}
	.sitemap .mob-wrap ul {display:flex; margin:0 -10px; justify-content:center;}
	.sitemap .mob-wrap ul li {padding:0 10px; position:relative;}
	.sitemap .mob-wrap ul li:after {content:''; width:1px; height:10px; background:#ddd; position:absolute; top:50%; margin-top:-5px; right:0;}
	.sitemap .mob-wrap ul li:last-child:after {display:none;}
	.sitemap .mob-wrap ul li a {font-size:14px; color:#666; line-height:2em;}
	.sitemap .mob-wrap ul li.on a {color:#000; text-decoration:underline;}
	
	
	.nav-menu > ul > li > span a {font-size:24px;}
	.nav-menu > ul > li > span a:after {height:10px; bottom:0;}
	.nav-menu .submenu ul {padding-left:10px;}
	.nav-menu .submenu ul li {padding-right:15px; margin-bottom:8px; width:100%;}
	.nav-menu .submenu ul li a {font-size:16px;}
	.site-wrap .wrap .info-wrap {display:none;}
	
}
