@charset "UTF-8";
@import "fonts.css";
@import "reset.css";

:root {
    --font-nanum : "NanumSquareRound", "맑은 고딕", sans-serif;
    --font-lexend : "Lexend", sans-serif;
    --text-color-blue : #46A1EE;
    --text-color-green : #61C548;
    --text-color-orange : #FFC42C;
    --btn-color-green : #71CD59;
    --btn-color-info : #42BDFB;
    --bs-btn-close-color: #fff;
}

.text-hide {position: absolute; overflow: hidden; border: 0; width: 1px; height: 1px; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);}
.area-title {position: relative; font-family: var(--font-nanum); font-size: 2.5rem; font-weight: 800;}
.area-title::after {display: block; content: ""; position: absolute; top: -.2em; right: -.8rem; z-index: -1; width: .6em; height: .6em; border-radius: 9999px; background-color: #fff; opacity: .5;}

/* modal alert, confirm */
.modal.bootbox-alert .modal-dialog, .modal.bootbox-confirm .modal-dialog {max-width: 400px; display: flex; align-items: center; min-height: calc(100% - var(--bs-modal-margin) * 2);}
.modal.bootbox-alert .modal-content, .modal.bootbox-confirm .modal-content {padding: 2rem 0rem 0rem; border: none; border-radius: 10px;}
.modal.bootbox-alert .modal-header, .modal.bootbox-confirm .modal-header {display: none;}
.modal.bootbox-alert .modal-body, .modal.bootbox-confirm .modal-body {text-align: center; padding-bottom: 2rem; padding-top: 3.75rem; background: url(../img/icon-alert.png) no-repeat top center/3rem;}
.modal.bootbox-alert .bootbox-body, .modal.bootbox-confirm .bootbox-body {color: #636D7B; line-height: 1.45;}
.modal.bootbox-alert .modal-footer, .modal.bootbox-confirm .modal-footer {justify-content: center; border-top: none; padding: 0;}
.modal.bootbox-alert .modal-footer .btn, .modal.bootbox-confirm .modal-footer .btn {width: 100%; border-radius: 0 0 10px 10px; margin: 0; padding: .85rem; background-color: transparent; color: #636D7B; border: none; border-top: 1px solid #eee; transition: all .2s; font-family: var(--font-nanum);}
.modal.bootbox-alert .modal-footer .btn:hover, .modal.bootbox-confirm .modal-footer .btn:hover {border-color: var(--btn-color-green); background-color: var(--btn-color-green); color: #fff;}

/* header */
header {position: fixed; top: 0; left: 0; z-index: 100; width: 100%; padding: 0 6.25rem;}
header:has(.sitemap-area.active) {z-index: 200;}
header .header-container {display: flex; align-items: center; justify-content: space-between; width: 100%; height: 86px;}
header #logo a {display: block; width: 12rem; height: 3rem; background: url(../img/logo-headerW.png) no-repeat center/contain;}
header #gnb {width: 100%; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);}
header #gnb ul {display: flex; justify-content: center; gap: 7.5rem;}
header #gnb .depth1-list>li>a {color: rgba(97, 197, 72,.0); font-size: 1.13rem; font-weight: 700; text-shadow: none; -webkit-transition: color .6s; transition: color .6s; }
header #gnb .depth1-list>li>a::before {color: #fff; content: attr(data-hover); position: absolute; -webkit-transition: -webkit-transform 0.4s, opacity 0.2s; transition: transform 0.4s, opacity 0.2s;}
header #gnb .depth1-list>li.active>a, 
header #gnb .depth1-list>li>a:hover,
header #gnb .depth1-list>li>a:focus {color: var(--text-color-green);}
header #gnb .depth1-list>li.active>a::before, 
header #gnb .depth1-list>li>a:hover::before,
header #gnb .depth1-list>li>a:focus::before {-webkit-transform: scale(0.9); transform: scale(0.9); opacity: 0;}
header #gnb .depth2-list {display: none; width: 100%; height: 0; overflow: hidden; position: absolute; left: 0; top: 52px; z-index: 101; border-top: 1px solid #e9eaed; border-bottom: 1px solid #f2f3f7; background: #fff;}
header #gnb li.active .depth2-list {display: block;}
header #gnb .depth2-list ul {padding-top: 40px;}
header #gnb .depth2-list ul a {color: #333; font-weight: 600;}
header .utill {display: flex; gap: 2rem; z-index: 1;}
header .utill .btn-sitemap,
header .utill .btn-user {display: block; width: 2rem; height: 2rem; background-repeat: no-repeat; background-position: center;}
header .utill .btn-sitemap {background-image: url(../img/icon-header-menuW.png); background-size: auto 2.35rem;}
header .utill .btn-user {background-image: url(../img/icon-header-userW.png); background-size: auto 1.85rem;}
header:has(#gnb li.active) {background-color: #fff;}
header:has(#gnb li.active) #logo a,
/* header.black {background-color: #F6FAFD;} */
header.black #logo a {background-image: url(../img/logo-headerB.png);}
header:has(#gnb li.active) #gnb ul a::before,
header.black #gnb ul a::before {color: #333;}
header:has(#gnb li.active) .utill .btn-sitemap,
header.black .utill .btn-sitemap {background-image: url(../img/icon-header-menuB.png);}
header:has(#gnb li.active) .utill .btn-user,
header.black .utill .btn-user {background-image: url(../img/icon-header-userB.png);}
/*sub header*/
body.sub header {position: relative; background: url(../img/sub_bg.png) no-repeat center/cover;}
body.sub header:has(#gnb li.active) {background: none;}


/* footer */
footer {padding: 3rem 0; background-color: #F6FAFD;}
footer .footer-top {display: flex; justify-content: space-between; align-items: center;}
footer .footer-menu {display: flex; gap: 2rem; margin-bottom: 2rem;}
footer .footer-menu a {font-size: 0.88rem; color: #636D7B;}
footer .footer-menu strong {font-weight: 600;}
footer .footer-family {font-size: 0.88rem;}
footer .footer-family button {font-size: 0.88rem; border: 1px solid #DAD9E4; color: #86858F; font-weight: 300;}
footer .footer-family button:hover {border: 1px solid #DAD9E4;}
footer .footer-family button span {padding-right: 1rem;}
footer address {margin-bottom: .85rem; font-size: 0.88rem; color: #8D96A0; font-weight: 300; line-height: 1.65; letter-spacing: -.5px;}
footer address span {position: relative; display: block;}
footer address strong {margin-right: .45rem;}
footer .footer-bottom {display: flex; justify-content: space-between; align-items: end;}
footer .footer-bottom .copy {font-family: var(--font-lexend); color: #9EA5AE; font-size: 0.75rem;}
footer .footer-bottom .footer-logo {display: flex; align-items:flex-start; gap: 2rem;}
footer .footer-bottom .footer-logo a {display: block; opacity: .8;}
footer .footer-bottom .footer-logo a:first-of-type img {height: 1.75rem;}
footer .footer-bottom .footer-logo a:last-of-type img {height: 1.65rem;}

/* sitemap */
.sitemap-area {position: absolute; left: 0; top: 0; width: 100vw; height: 100vh; padding: 0 6.25rem; overflow: hidden; box-sizing: border-box; background: #75c57a url(../img/icon-logoW.png) no-repeat right bottom -2rem/400px; transform: translateY(-100%); transition: transform .4s;}
.sitemap-area.active {transform: translateY(0);}
.sitemap-area .sitemap-header {display: flex; align-items: center; justify-content: space-between; margin-top: 4rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.35);}
.sitemap-area .sitemap-header strong{display: block; color: #fff;}
.sitemap-area .sitemap-header .btn-close {font-size: 1.5rem;}
.sitemap-area .sitemap-menu {display: flex; flex-direction: column; gap: 8.5rem; position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 100%; padding: 0 7.25rem;}
.sitemap-area .sitemap-menu>li {display: flex; align-items: center;}
.sitemap-area .sitemap-menu>li strong {color: #fff; flex: 0 0 20%; font-size: 2rem;}
.sitemap-area .sitemap-menu>li a {color: #fff;;}
.sitemap-area .sitemap-depth2 {display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem 3.5rem;}
.sitemap-area .sitemap-depth2 a {position: relative; font-size: 1.5rem; font-weight: 600; opacity: .65; transition: opacity .2s;}
.sitemap-area .sitemap-depth2 a:hover {opacity: 1;}
.sitemap-area .sitemap-depth2 li:not(:last-of-type) a::after {position: absolute; content: ""; top: 50%; right: -1.75rem; transform: translateY(-50%); width: 1px; height: 1.25rem; background-color: rgba(255,255,255,.5);}


/* contents response */
/* 1200px ~ 1400px*/
@media (max-width: 1400px) {
    html {font-size: 14px;}
    header .header-container {height: 70px}
    header #gnb ul {gap: 4rem;}
    .sitemap-area .sitemap-menu>li strong {flex-basis: 30%;}
}

/* 992px ~ 1200px*/
@media (max-width: 1200px) {
    header {width: 100%; padding: 0;}
    header .header-container {width: 90%; margin: 0 auto;}
    footer .main-container.footer {max-width: 90% !important;}
}

/* 768px ~ 992px*/
@media (max-width: 992px) {
    header #gnb {display: none;}
    .area-title {font-size: 1.75rem;}
    .sitemap-area, .sitemap-area .sitemap-menu {padding: 0 3rem;}
    .sitemap-area .sitemap-menu {gap: 50px;}
    .sitemap-area .sitemap-menu>li {display: block;}
    .sitemap-area .sitemap-menu>li strong {font-size: 1.5rem;}
    .sitemap-area .sitemap-depth2 {margin-top: 2rem; gap: 1.25rem 2rem;}
    .sitemap-area .sitemap-depth2 li:not(:last-of-type) a::after {right: -1rem;}
}

/* 576px ~ 768px*/
@media (max-width: 768px) {
    .sitemap-area {background-size: auto 200px;}
    .sitemap-area .sitemap-depth2 a {font-size: 1.25rem;}
}

/* ~ 576px*/
@media (max-width: 576px) {
    footer {position: relative;}
    footer .footer-menu {padding:1.5rem 0 1rem; margin: .5rem 0 0; flex-wrap: wrap; gap: .5rem .875rem;}
    footer .footer-family {position: absolute; top: 2rem; right: 5%;}
    .mobile-area {width: 100% !important;}
}