@charset 'UTF-8';
@import url('var.css');
/* 1. mo ~767px까지 */
@media all and (max-width: 767px) {
    .hs-mo-gnb-sec {
        right: -100%;
        top: 0;
    }
    .mo-depth2 {
        height: 0;
        overflow: hidden;
        opacity: 0;
        transition: 0.5s;
    }
    .mo-depth1.active .mo-depth2 {
        height: auto;
        opacity: 1;
    }

    .ft-faq-wrap ul {}
    .ft-faq-wrap li {
        width: 45%;
    }
    .ft-faq li:last-child,
    .ft-info-wrap dl dd:nth-of-type(1),
    .ft-info-wrap dl dd:nth-of-type(2) {
        display: none;
    }
}
/* 2. tb 768px부터~ */
@media all and (min-width: 768px) {
    body {
        font-size: 16px;
    }
    .pd-l {padding: 100px 0;}
    .pd-m {padding: 60px 0;}
    .pd-s {padding: 40px 0;}
    .hd-wrap {
        height: 100px;
    }
    .hs-logo {
        width: 140px;
    }
    .util-wrap a, .sitemap-open-btn {
        width: 1.5em;
        height: 1.5em;
    }
    .sitemap-close-btn {
        right: -0.5em;
        top: 0.5em;
        width: 80px;
        height: 80px;
        background-size: 50%;
        z-index: 1;
    }
    /* 사이트맵 */
    .hs-mo-gnb-sec {
        background: var(--light-brown);
        overflow-x: hidden;
    }
    .mo-gnb-container {
        padding: 3em 5em;
    }
    .mo-gnb-wrap {}
    .mo-gnb {
        display: flex;
        flex-wrap: wrap;
        overflow-x: hidden;
    }
    .mo-gnb.active a {
        color: #444;
    }
    .mo-depth1 {
        position: relative;
        width: 100%;
        padding: 1em 0;
        border-bottom: 1px solid var(--pale-gray);
        background-color: transparent;
    }
    .mo-depth1 a {
        position: relative;
        padding: 0 0.7em;
        font-size: 1.6em;
        font-weight: 600;
        line-height: 1.4;
        color: #000;
        z-index: 1;
        transition: color 0.3s; 
    }
    .mo-depth1::before {
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background-color: var(--main-color);
        transition: left 0.6s, width 0.6s;
        content: '';
    }
    .mo-depth2 {
        position: static;
        width: 100%;
        opacity: 1;
        margin: auto;
        padding-top: 0.5em 0;
    }
    .mo-depth2 li {
        float: left;
    }
    .mo-depth2 li > a {
        line-height: 1.4;
    }
    .mo-sns-wrap {
        margin-top: 6em;
    }

    /* 모바일 gnb (pc 사이트맵) 동작 */
    .mo-depth1:hover a {
        color: #fff;
        transition: 0.6s;
    }
    .mo-depth1:hover:before {
        left: 0;
    }
    .mo-depth1 > a::before, .mo-depth1 > a::after, .mo-depth1:hover:after {
        display: none;
    }
    .ft-container {
        font-size: 1.1em;
    }
}

/* 3. only tb 768px ~ 1279px */
@media all and (min-width: 768px) and (max-width: 1279px) {
    
}

/* 4. pc 1280px부터~ */
@media all and (min-width: 1280px) {
    body {
        font-size: 17px;
    }
    .hd-wrap {
        height: auto;
    }
    .hs-logo {
        width: 160px;
    }
    #hs-gnb {
        display: block;
        width: 55%;
        min-width: 720px;
    }
    .hs-gnb {
        display: flex;
        justify-content: space-between;
        width: 100%;
        font-family: var(--pre-font);
    }
    .util-wrap a, .sitemap-open-btn {
        width: 1.6em;
        height: 1.6em;
    }
    .depth1 {
        position: relative;
    }
    .depth1 > a {
        position: relative;
        display: block;
        padding: 0 1em;
        line-height: 100px;
        font-weight: 600;
        font-size: 1.3em;
        z-index: 2;
        transition: 0.3s;
    }
    .depth1 > a::before { /* 메인메뉴 호버시 나타나는 빨간선 */
        display: none;
        position: absolute;
        left: calc(50% - 25px);
        bottom: 0;
        width: 50px;
        height: 5px;
        background-color: var(--main-color);
        content: '';
    }
    .depth2-container {}
    .depth2 {
        position: absolute;
        left: calc(50% - 120px);
        top: 0;
        width: 240px;
        padding: 120px 0 20px;
        letter-spacing: -1px;
        text-align: center;
        line-height: 2;
        overflow: hidden;
        z-index: 1;
        transform: translateY(-100%);
        transition: 0.6s;
        font-size: 1.1em;
        font-weight: 500;
    }
    .depth2:before { /* 서브메뉴 배경박스 */
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background-color: var(--light-brown);
        content: '';
        z-index: -1;
    }
    .depth2 li {
        opacity: 0;
        transform: translateY(100%);
        transition: 0.2s;
    }
    .depth2 li a {}

    /* hs-gnb 동작 */
    .hs-gnb:hover a {
        /* color: #fff; */
        transition: 0.3s;
        z-index: -1;
    }
    #hs-gnb .depth1:hover a {
        color: #000;
        z-index: 2;
    }
    .depth1.active .depth2 {
        transform: translateY(0);
    }
    .depth1.active .depth2 li {
        opacity: 1;
        transform: translateY(0);
        transition: 0.4s 0.5s;
    }
    .depth1:hover > a::before, .depth1:focus-within > a::before {
        display: block;
    }

    /* 사이트맵 */
    .hs-mo-gnb-sec {
        background: rgba(0, 0, 0, 0.7);
    }
    .mo-gnb-container {
        position: absolute;
        right: 0;
        top: 0;
        width: 70%;
        height: 100%;
        padding: 5em;
        background: var(--light-brown);
    }
    .mo-gnb-wrap {}
    .mo-depth1 {
    }
    .mo-depth1 a {
        font-size: 1.8em;
    }
    .mo-depth2 {
        padding-left: 0.2em;
    }
    .mo-depth2 li > a {
        line-height: 1.2;
    }
    /* 하단(footer) */
    .ft-faq-wrap {
        width: 95%;
    }
}

@media screen and (min-width: 1600px) {
    .mo-gnb-container {
        padding: 5%;
    }
}

@media screen and (min-width: 1900px) {
    .sitemap-close-btn {
        right: 2.5em;
    }
}