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

@font-face {
    font-family: 'Happiness-Sans-Bold';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2205@1.0/Happiness-Sans-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url("https://cdn.jsdelivr.net/gh/wanteddev/wanted-sans@v1.0.3/packages/wanted-sans/fonts/webfonts/static/complete/WantedSans.min.css");

html{scroll-behavior: smooth;}
#wrapper {position:relative; 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:1830px !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 #ddd; background:#fff; transition:all 0.5s;}
#header .sitelogo a {display:block; position:absolute; top:50%; left:15px; margin-top:-32px;}

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

#gnb {margin-left: 90px;}
#gnb > ul {display:flex; justify-content:center; margin:0;} 
#gnb > ul > li {position:relative; text-align:center; transition: all 0.5s;}
#gnb > ul > li > a {position:relative; display:inline-block; width: 195px; color:#111; font-size:20px; line-height:100px; font-weight:500; transition: all 0.5s;}
#gnb > ul > li > a:before {opacity: 0; position: absolute; bottom: 25px; left: 50%; margin-left: -2px; content: ''; width: 5px; height: 5px; background: #132e19; border-radius: 50%; transition: all 0.4s;}
#gnb > ul > li > a:hover:before {opacity: 1; bottom: 17px;}
#gnb > ul > li > a:after {opacity: 0; position: absolute; bottom: -3px; left: 50%; transform: translateX(-50%); content: ''; width: 0; height: 3px; background: #132e19; transition: all 0.4s;}
#gnb > ul > li > a:hover:after {opacity: 1; width: 100%; transition-delay: 0.3s;}
#gnb:hover > ul > li > a {width: 240px;}
#gnb > ul > li:hover > a {font-weight: 600; color:#132e19;}

#gnb .submenu {position:absolute; top:100px; left:0; width:100%; height:0; overflow:hidden; z-index:20; border-right: 1px solid #ddd; transition: all .3s linear; visibility: hidden;}
#gnb .submenu.sub-open {height: 355px; visibility: visible; transition: all .3s linear;}
#gnb ul li.m1 .submenu {border-left: 1px solid #ddd;}
#gnb .submenu ul {display:block; padding: 38px 0; position: relative;}
#gnb .submenu ul li {padding: 6px 0;}
#gnb .submenu ul li a {display:inline-block; color:#666; font-size:16px; line-height:1.4em; position:relative; transition: all 0.5s;}
#gnb .submenu ul li a:hover {font-weight: 600; color:#132e19;}	

.mems {position:absolute; top:50%; transform:translateY(-50%); right:65px; z-index:11;}
.mems ul {display:flex; justify-content: flex-end; margin: 0 -13px;}
.mems ul li {position: relative; padding:0 13px;}
.mems ul li:after {position: absolute; top: 50%; margin-top: -6px; right: 0; content: ''; width: 1px; height: 12px; background: #ddd;}
.mems ul li:last-child:after {display: none;}
.mems ul li a {font-size: 16px; font-weight: 500; color: #888; transition: all 0.5s;}
.mems ul li a:hover {color: #111;}

.sitemap-btn {position:absolute; top:50%; right:15px; width:20px; height:22px; margin-top:-11px;}
.sitemap-btn span {position:absolute; width:3px; background:#342c2c; height:22px; left: 50%; top:0; margin-left: -1px;}
.sitemap-btn span:before,
.sitemap-btn span:after {position:absolute; top: 50%; transform: translateY(-50%); content:''; width:3px; height:14px; background:#342c2c; transition: all 0.5s;}
.sitemap-btn span:before {left: -9px;}
.sitemap-btn span:after {right: -8px;}
.sitemap-btn:hover span:before,
.sitemap-btn:hover span:after {height: 22px;}

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

/* footer */
#footer {padding:80px 0; border-top:1px solid #ddd;}
#footer .logo {margin-bottom: 38px;}
#footer .info-wrap {display: flex; font-size: 16px; line-height: 2.25em; color: #666; padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid #ddd;}
#footer .info-wrap p {}
#footer .info {max-width: 580px; width: 100%;}
#footer .info ul {display: flex; flex-wrap: wrap; margin: 0 -6px;}
#footer .info ul li {position: relative; padding: 0 6px;}
#footer .info ul li:after {position: absolute; top: 50%; margin-top: -7px; right: 0; content: ''; width: 2px; height: 14px; background: #666;}
#footer .info ul li:last-child:after {display: none;}
#footer .info ul li a {display: inline-block;}
#footer .account b {display: block; font-size: 18px; font-weight: 600; line-height: 1.8; color: #132e19;}
#footer .terms {display: flex; justify-content: space-between; font-size: 16px; color: #666;}
#footer .terms p {line-height: 1.4em;}
#footer .terms ul {display: flex;}
#footer .terms ul li {margin-left: 5px;}
#footer .terms ul li a {position: relative; width: 180px; height: 40px; line-height: 38px; color: #999; padding: 0 20px; border: 1px solid #ddd; border-radius: 5px; transition: all 0.5s;}
#footer .terms ul li:nth-child(1) a {background: #f2f2f5; border: 1px solid #f2f2f5;}
#footer .terms ul li a:hover {font-weight: 500; color: #333;}
#footer .terms ul li a:after {position: absolute; top: 50%; margin-top: -2px; right: 15px; content: ''; width: 4px; height: 4px; background: #bbb; border-radius: 50%; transition: all 0.5s;}
#footer .terms ul li a:hover:after {background: #333;}

/* side-toolbar */
.side-toolbar {position: fixed; top: 50%; right: 20px; transform: translateY(-50%); z-index: 100; transition: all 0.5s;}
.side-toolbar.hide {right: -100px;}
.side-toolbar .wrap {width: 100px; border-radius: 8px; overflow: hidden; text-align: center; box-shadow: 0px 0px 27px 0px rgba(159, 162, 161, 0.2); z-index: 100;}
.side-toolbar .quick-menu {background: #fff; padding: 18px 5px 22px;}
.side-toolbar .quick-menu li:not(:last-child) {margin-bottom: 21px;}
.side-toolbar .quick-menu a {font-size: 15px; font-weight: 600; line-height: 1.3em; color: #000;}
.side-toolbar .quick-menu .icon {width: 60px; height: 60px; background-repeat: no-repeat; background-position: center center; margin: 0 auto 10px; transition: all 0.5s;}
.side-toolbar .quick-menu li:nth-child(1) .icon {background-image: url('../img/layout/quick_edu.png');}
.side-toolbar .quick-menu li:nth-child(2) .icon {background-image: url('../img/layout/quick_donation.png');}
.side-toolbar .quick-menu li:nth-child(3) .icon {background-image: url('../img/layout/quick_calendar.png');}
.side-toolbar .quick-menu a:hover .icon {animation: rotate 0.8s;}
.side-toolbar .btn-top {height: 50px; background: #aac4bc; align-content: center; font-size: 16px; font-weight: 600; color: #fff;}
@keyframes rotate {
    33% {
		transform: rotate(-20deg);
    }
    66% {
        transform: rotate(20deg);
    }
	100% {
        transform: rotate(0);
    }
}
.side-toolbar .btn-close {display: none; position: absolute; bottom: 45px; left: -40px; width: 40px; height: 40px; background: #aac4bc; border-radius: 5px 0 0 5px; border: 0; text-align: center; transition: all 0.5s;}
.side-toolbar .btn-close img {text-align: center; transition: all 0.5s;}
.side-toolbar.hide .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.5s ease 0.2s; display:none;}
html.sitemap-opened .sitemap:before {display:block;}

.site-wrap {max-width:1830px; width:100%; padding:0 15px; margin:0 auto; height:100vh; position:relative;}
.site-wrap .head {position:absolute; top:0; left:0; width:100%; height:100px; 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.5s; 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.5s;}
.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.5s;}
.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:230px 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.5s;}
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.5s; overflow:hidden;}
.nav-menu > ul > li > span a {display:inline-block; font-size:44px; line-height:1.2em; transition:all 0.5s 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.5s;}
.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:#132e19; opacity:0.1;}
.sitemap-white .nav-menu .submenu ul li a {color:#666;}
.sitemap-white .nav-menu .submenu ul li a:hover {color:#132e19;}

.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.5s; 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:80px; padding: 0;}
	.site-wrap .head .logo img {width: 210px; margin-top: 1px;}
	.sitemap .sitemap-close {right:0;}
	
	.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 .head .logo img {width: 170px; margin-top: 1px;}
	.site-wrap .wrap {padding:30px 0; height:calc(100vh -60px);}
	.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;}
	
}
