@charset "utf-8";
/* layout.css는 전체적인 스타일 정의 */
@font-face {
    font-family: 'Cafe24Ohsquare';
    src: url('https://cdn.jsdelivr.net/gh/fontbee/font@main/Cafe24/Cafe24Ohsquare.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

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

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

/* header */
#header {position:fixed; top:0; left:0; width:100%; height:110px; z-index:90; background:#fff; transition:all 0.6s;}
#header:before {opacity: 0; position: absolute; bottom: 0; left: 0; content: ''; width: 100%; height: 1px; background: #eee; transition: all 0.5s;}
#header:hover:before {opacity: 1;}
#header .sitelogo a {display:block; position:absolute; top:50%; left:15px; margin-top:-26px;}

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

#gnb>ul {display:flex; justify-content:flex-end; margin-right: 86px;}
#gnb>ul>li {position:relative; text-align:center; padding:0 26px;}
#gnb>ul>li>a {position:relative; display:inline-block; font-size:22px; line-height:110px; font-weight:700; color:#222;}

#gnb .submenu-wrap {position: absolute; top: 110px; left: 50%; transform: translateX(-50%); display: flex; max-width: 1610px; width: 100%; height: 0; margin: 0 auto; transition: all .5s; overflow: hidden; visibility: hidden;}
#gnb .submenu-wrap.open {height: 350px; visibility: visible; transition: all .5s;}
#gnb .submenu {flex: 1; border-left: 1px solid #eee; border-right: 1px solid #eee; padding: 32px 10px 35px 30px;}
#gnb .submenu .depth01 {position: relative; padding-bottom: 22px; margin-bottom: 15px;}
#gnb .submenu .depth01:after {position: absolute; bottom: 0; left: 0; content: ''; width: 20px; height: 2px; background: #E0711D;}
#gnb .submenu .depth01 a {font-size: 20px; font-weight: 700; line-height: 1.6em; color: #222; }
#gnb .submenu ul li {padding: 8px 0;}
#gnb .submenu ul li a {font-size: 18px; line-height: 1.6em; color: #444;}
#gnb .submenu ul li a:hover {font-weight: 600; color: #127939;}

.sitemap-btn {position:absolute; top:50%; right:15px; width:72px; height:72px; margin-top:-36px; background: #127939 url('../img/layout/sitemap.png') no-repeat center center; border-radius: 50%;}

.submenu-bg {box-shadow: 0px 5px 10px rgba(0,0,0,0.03); height: 0; visibility: hidden; background-color: #fff; transition: all .5s;}
.submenu-bg.open {height: 350px; visibility: visible; transition: all .5s;}

/* footer */
#footer {padding:58px 0 70px; background: #152328;}
.footer-top {display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px;}
.footer-top ul {display: flex; margin: 0 -28px;}
.footer-top ul li {position: relative; padding: 0 28px;}
.footer-top ul li:after {position: absolute; top: 50%; right: 0; margin-top: -7px; content: ''; width: 1px; height: 14px; background: rgba(217,217,217,0.4);}
.footer-top ul li:last-child:after {display: none;}
.footer-top ul li a {font-size: 18px; font-weight: 700; line-height: 1.6em; color: #fff; transition: all 0.5s;}
.footer-top ul li a:hover {color: #E0711D;}
.footer-bottom {display: flex; justify-content: space-between; margin-bottom: 28px;}
.footer-bottom .info ul {display: flex; flex-wrap: wrap; max-width: 860px; width: 100%; margin: 0 -25px;}
.footer-bottom .info ul li {padding: 0 25px; font-size: 18px; font-weight: 400; line-height: 1.6em; color: #fff; opacity: 0.4;}
.footer-bottom .info ul li a {display: inline-block;}
.footer-bottom .info ul li span {display: inline-block; margin-right: 5px;}
.footer-bottom .sns ul {display: flex; margin: 0 -6px;}
.footer-bottom .sns ul li {padding: 0 6px;}
.footer-bottom .sns ul li img {transition: all 0.5s;}
.footer-bottom .sns ul li a:hover img {transform: rotate(-20deg);}
.copyright {font-size: 18px; font-weight: 400; line-height: 1.6em; color: #fff; opacity: 0.4;}

/* quick-toolbar */
.quick-toolbar {position: relative; display: block; position: fixed; top: 50%; transform: translateY(-50%); right: 0; width: 112px; transition: all 0.5s; z-index: 30;}
.quick-toolbar.close {right: -112px;}
.quick-toolbar a {font-size: 15px; font-weight: 500; line-height: 1.3em; text-align: center;}
.quick-toolbar .icon {width: 32px; height: 32px; background-repeat: no-repeat; background-position: center center; margin: 0 auto 4px; transition: all 0.5s;}
.quick-toolbar a:hover .icon {transform: rotate(-15deg);}
.quick-toolbar .kakao {border-radius: 20px 0 0 20px; background: #FFEA00; box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.20); margin-bottom: 6px;}
.quick-toolbar .kakao a {color: #222; padding: 19px 13px;}
.quick-toolbar .kakao .icon {background-image: url('../img/layout/quick_kakao.png');}

.quick-toolbar .quick-wrap {border-radius: 20px 0 0 20px; box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.20); overflow: hidden;}
.quick-toolbar .faq {background: #127939; }
.quick-toolbar .faq a {color: #fff; padding: 19px 13px;}
.quick-toolbar .faq .icon {background-image: url('../img/layout/quick_faq.png');}
.quick-toolbar ul {background: #fff;}
.quick-toolbar ul li {position: relative;}
.quick-toolbar ul li:after {position: absolute; bottom: 0; left: 50%; margin-left: -36px; content: ''; width: 72px; height: 1px; background: #ccc;}
.quick-toolbar ul li:last-child:after {display: none;}
.quick-toolbar ul li a {color: #666; padding: 16px 13px;}
.quick-toolbar ul li:nth-child(1) .icon {background-image: url('../img/layout/quick_check.png');}
.quick-toolbar ul li:nth-child(2) .icon {background-image: url('../img/layout/quick_inquiry1.png');}
.quick-toolbar ul li:nth-child(3) .icon {background-image: url('../img/layout/quick_inquiry2.png');}
.quick-toolbar .scroll-top a {font-size: 16px; font-weight: 700; line-height: 1em; color: #fff; background: #444; padding: 14px 0;}
.quick-toolbar .btn-close {display: none; position: absolute; bottom: 44px; left: -40px; align-content: center; width: 40px; height: 40px; background: #444; border-radius: 10px 0 0 10px; border: 0; transition: all 0.5s;}
.quick-toolbar .btn-close img {display: block; margin: 0 auto; transition: all 0.5s;}
.quick-toolbar.close .btn-close img {transform: rotate(180deg);}

/* 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:1870px; width:100%; padding:0 15px; margin:0 auto; height:100vh; position:relative;}
.site-wrap .head {position:absolute; top:0; left:0; width:100%; height:110px; display:flex; align-items:center; z-index:11; 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:-36px; right:15px; width:72px; height:72px; background: #eee url('../img/layout/sitemap_close.png') no-repeat center center; border-radius: 50%; z-index:12; transition:all 0.6s;}

.site-wrap .wrap {padding:180px 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: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: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;}

/* 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:#127939; opacity:0.2;}
.sitemap-white .nav-menu .submenu ul li a {color:#666;}
.sitemap-white .nav-menu .submenu ul li a:hover {color:#127939;}

.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: 1700px) {
	.site-wrap .head .logo img {width: 360px;}
}

@media (max-width: 1500px) {
	.site-wrap .head .logo img {width: 320px;}
}

@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:5px;}
	.nav-menu .submenu ul li {padding-right:20px;}
	.nav-menu .submenu ul li a {font-size:20px;}
}

@media (max-width: 1300px) {
	.site-wrap .head .logo img {width: 280px;}
}

@media (max-width: 1200px) {
	.site-wrap .head .logo img {width: 240px;}

	.sitemap .sitemap-close {margin-top:-31px; width:62px; height:62px;}

}

@media (max-width:1024px){
	.site-wrap .wrap:after {display:none;}
	.site-wrap .head {position:relative; left:0; height:80px; padding: 0;}
	.site-wrap .head .logo img {width: 280px;}
	.sitemap .sitemap-close {right:0; margin-top:-26px; width:52px; height:52px;}
	
	.site-wrap .wrap {padding:40px 0; height:calc(100vh - 80px); 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:768px){
	.site-wrap .head {height:60px;}
	.site-wrap .wrap {padding:30px 0; height:calc(100vh -60px);}
	.site-wrap .head .logo img {width: 240px;}
	.sitemap .sitemap-close {right:0; margin-top:-20px; width:40px; height:40px;}
	.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;}
	
}
