@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--gray {
    color: #898989 !important;
}

.pc__br {
    display: block;
}

.m__br {
    display: none;
}

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

/*  */
.header {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
}

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

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

/*  */
.nav {
    width: fit-content;
    height: 100%;
}

.nav>ul {
    width: fit-content;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav>ul>li {
    position: relative;
}

.nav>ul>li>span {
    font-size: 1rem;
    font-weight: 500;
    display: inline-block;
    padding: 5px 0;
    cursor: pointer;
}

.nav>ul>li>span:hover {
    font-weight: 600;
    color: #254061;
    box-shadow: inset 0 -4px 0 0 #254061;
}

.drop__nav {
    width: max-content;
    display: none;
    flex-direction: column;
    gap: 8px;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.10) 0px 3px 6px, rgba(0, 0, 0, 0.12) 0px 3px 6px;
    padding: 1rem 2rem;
    z-index: 99;
}

.drop__nav.active {
    display: flex;
}

.drop__nav>li>h2 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.drop__nav>li>a {
    font-size: 0.95rem;
    font-weight: 400;
}

/*  */
.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;
}


/* 웹킷 기반 브라우저 */
.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;
    flex-direction: column;
}

.footer .top {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    background-color: #f2ebdb;
    padding: 1rem 0;
}

.footer .top>.inner {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer .top .title {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-right: 2px solid #bfbfbf;
    padding-right: 2rem;
}

.footer .top .title img {
    width: 30px;
    height: auto;
    object-fit: contain;
}

.footer .top .title span {
    font-size: 1.2rem;
    font-weight: 600;
}

.footer .top>.inner>a>p {
    font-size: 1rem;
    font-weight: 600;
}

.footer .top>.inner>a>span {
    font-size: 1rem;
    color: #595959;
}


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

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

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

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

.footer .bot>.inner>ul>li>button {
    font-size: 1rem;
    color: #b1b1b1;
    margin-bottom: 10px;
    cursor: pointer;
}

/*  */
.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;
}

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

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

    .header {
        border-bottom: 1px solid #ccc;
        padding: 0 1rem;
    }

    .nav {
        width: 100%;
        height: auto;
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        background-color: #fff;
        border-bottom: 1px solid #ccc;
        padding: 2rem;
        z-index: 99;
    }

    .nav.active {
        display: flex;
    }

    .nav>ul {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav>ul>li>span {
        display: none;
    }

    .drop__nav {
        display: flex;
        position: static;
        transform: none;
        box-shadow: none;
        padding: 0;
    }

    /*  */
    .m__menu {
        display: block;
    }

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

    .footer .bot {
        padding: 2rem 1rem;
    }

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






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

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

    .pc__br {
        display: none;
    }

    .m__br {
        display: block;
    }

    .header {
        height: 70px;
        border-bottom: 1px solid #ccc;
        padding: 0 1rem;
    }

    .logo img {
        width: 250px;
    }

    .nav {
        width: 100%;
        height: auto;
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: #fff;
        border-bottom: 1px solid #ccc;
        padding: 2rem;
        z-index: 99;
    }

    .nav.active {
        display: flex;
    }

    .nav>ul {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav>ul>li>span {
        display: none;
    }

    .drop__nav {
        display: flex;
        position: static;
        transform: none;
        box-shadow: none;
        padding: 0;
    }

    /*  */
    .m__menu {
        display: block;
    }

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

    .footer .top>.inner {
        flex-wrap: wrap;
        gap: 1rem 0;
    }

    .footer .top .title {
        width: 100%;
        border: none;
        border-bottom: 1px solid #ccc;
        justify-content: center;
        padding: 0 0 1rem;
    }

    .footer .top>.inner>a {
        width: 50%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .footer .bot {
        padding: 2rem 1rem;
    }

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

}