@charset "utf-8";

/*
 * File       : common.css
 * Author     : YONG
 *
 * 최종수정일 : 25/00/00
 *
 * SUMMARY:
 * 통합.CSS
 */

/* 
■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■ PC ■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■
*/

.mw-1200 {
    max-width: 1200px;
}

.mw-1250 {
    max-width: 1250px;
}

.blind {
    position: absolute;
    clip: rect(0 0 0 0);
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
}

.hide {
    font-size: 0.5rem;
    color: #fff;
}

.color--red {
    color: #ed3722 !important;
}

.color--khaki {
    color: #9b8968 !important;
}

.pc__br {
    display: block;
}

.m__br {
    display: none;
}

.mb-1 {
    margin-bottom: 1rem;
}


/*  */
.header {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

.header .top {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ccc;
}

.header .top > .inner {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 300px;
    height: auto;
    object-fit: contain;
}

/*  */
.m__menu {
    width: 24px;
    height: 20px;
    display: none;
}

.m__menu ul {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.m__menu ul li {
    width: 100%;
    height: 3px;
    background-color: #444;
    border-radius: 2rem;
    transition: all 0.3s ease;
    position: absolute;
}

.m__menu ul li:nth-of-type(1) {
    width: 100%;
    background-color: #444;
    top: 0px;
    right: 0px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.m__menu ul li:nth-of-type(2) {
    background-color: #444;
    top: 8px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.m__menu ul li:nth-of-type(3) {
    background-color: #444;
    top: 16px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

/*  */
.nav {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid #ccc;
    position: relative;
}

.nav > .inner {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav > ul > li {
    font-size: 1rem;
    font-weight: 500;
}

/*  */
.drop__nav {
    width: 100%;
    height: auto;
    display: none;
    justify-content: center;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background-color: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 99;
}

.drop__nav.active {
    display: flex;
}

.drop__nav > .inner {
    width: 100%;
    height: auto;
}

.drop__grid {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 1rem;
    padding: 2rem;
}

.drop__grid > li {
    width: calc(25% - 12px);
    height: auto;
}

.drop__grid > li > h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.drop__grid > li > ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.drop__grid > li > ul > li > a {
    font-size: 0.95rem;
    color: #595959;
}

.drop__grid > li > ul > li > a:hover {
    color: #f7b400;
}

 /* 웹킷 기반 브라우저 */
 .modal__scrollbar ::-webkit-scrollbar {
    width: 6px;
}

.modal__scrollbar ::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

.modal__scrollbar ::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 6px;
}

.modal__scrollbar ::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/*  */
.notice__modal {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    background-color: rgba(0, 0, 0, 70%);
}

.notice__modal.active {
    display: flex;
}

.notice__modal>.inner {
    width: 50%;
    height: 80%;
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 4rem 1rem 2rem 2rem;
    position: relative;
}

.notice__close {
    width: 22px;
    height: 22px;
    display: flex;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    cursor: pointer;
}

.notice__close img {
    width: 100%;
    height: 100%;
}

.notice__txt {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    line-height: normal;
    overflow-y: auto;
    padding-right: 1rem;
}

.notice__txt .box>h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.notice__txt .box>ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notice__txt .box>ul>li {
    font-size: 0.9rem;
    text-indent: -10px;
    padding-left: 10px;
}

.notice__txt .box>h5 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.notice__txt .box>p {
    font-size: 0.9rem;
    color: #444;
}

/*  */
.footer {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    background-color: #595959;
    padding: 2rem 0;
}

.footer > .inner {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ft__btn {
    display: flex;
    gap: 1rem;
}

.ft__btn button {
    font-size: 0.9rem;
    color: #c9c9c9;
    cursor: pointer;
}

.footer > .inner > ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer > .inner > ul > li {
    font-size: 0.9rem;
    color: #c9c9c9;
}

 /*  */
 .essential__modal {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    background-color: rgba(0, 0, 0, 70%);
}

.essential__modal.active {
    display: flex;
}

.essential__modal>.inner {
    width: 50%;
    height: 80%;
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 4rem 1rem 2rem 2rem;
    position: relative;
}

.essential__close {
    width: 22px;
    height: 22px;
    display: flex;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    cursor: pointer;
}

.essential__close img {
    width: 100%;
    height: 100%;
}

.essential__txt {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    line-height: normal;
    overflow-y: auto;
    padding-right: 1rem;
}

.essential__txt>h4 {
    font-size: 1rem;
    font-weight: 700;
}

.essential__txt .box>ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.essential__txt .box>ul>li {
    font-size: 0.9rem;
}

.essential__txt .box>h5 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.essential__txt .box>p {
    font-size: 0.9rem;
    color: #444;
}

/*  */
.depositor__modal {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    background-color: rgba(0, 0, 0, 70%);
}

.depositor__modal.active {
    display: flex;
}

.depositor__modal>.inner {
    width: 50%;
    height: auto;
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 4rem 1rem 2rem 2rem;
    position: relative;
}

.depositor__close {
    width: 22px;
    height: 22px;
    display: flex;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    cursor: pointer;
}

.depositor__close img {
    width: 100%;
    height: 100%;
}

.depositor__txt {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    line-height: normal;
    overflow-y: auto;
    padding-right: 1rem;
}

.depositor__txt>h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.depositor__txt>ul>li {
    font-size: 0.9rem;
}

@media screen and (min-width: 768px) and (max-width: 1200px) {

    /* 
    ■■■■■■■■■■■■■■■■■■■■■
    ■■■■■■■■ 태블릿 ■■■■■■■■
    ■■■■■■■■■■■■■■■■■■■■■
    */

    .header .top {
        padding: 0 1rem;
    }

    .drop__grid > li {
        width: calc(50% - 8px);
        height: auto;
    }

    /*  */
    .footer {
        padding: 2rem 1rem;
    }

    /*  */
    .notice__modal > .inner {
        width: 80%;
        height: 80%;
    }
    .essential__modal > .inner {
        width: 80%;
        height: 80%;
    }
    .depositor__modal > .inner {
        width: 80%;
        height: auto;
    }
}






@media screen and (max-width: 767px) {

    /* 
    ■■■■■■■■■■■■■■■■■■■■■
    ■■■■■■■■ 모바일 ■■■■■■■■
    ■■■■■■■■■■■■■■■■■■■■■
    */

    .pc__br {
        display: none;
    }
    
    .m__br {
        display: block;
    }

    /*  */
    .header .top {
        height: 70px;
        border: none;
        padding: 0 1rem;
    }

    .logo img {
        width: 245px;
    }

    .m__menu {
        display: block;
    }

    /*  */
    .nav > .inner {
        display: none;
    }

    .drop__grid > li {
        width: 100%;
    }

    /*  */
    .footer {
        padding: 2rem 1rem;
    }

    /*  */
    .notice__modal > .inner {
        width: 90%;
        height: 90%;
    }
    .essential__modal > .inner {
        width: 90%;
        height: 90%;
    }
    .depositor__modal > .inner {
        width: 90%;
        height: auto;
    }

}