@charset "utf-8";

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

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

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

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

.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: 200px;
    height: auto;
    object-fit: contain;
}

.nav>ul {
    width: 100%;
    height: auto;
    display: flex;
    gap: 4vw;
}

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

.nav>ul>li>a:hover {
    color: #007fff;
}

/* 웹킷 기반 브라우저 */
.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;
    align-items: center;
    gap: 2rem;
    border-top: 1px solid #ccc;
    padding: 2rem 0 0;
}

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

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

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

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

.footer .bot img {
    width: 140px;
    min-width: 140px;
    height: auto;
    object-fit: contain;
}

.footer .bot p {
    font-size: 0.9rem;
}

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

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

    .header {
        padding: 0 1rem;
    }

    .logo img {
        width: 180px;
    }

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

    /*  */
    .footer>.inner {
        padding: 0 1rem;
    }

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






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

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

    .pc__br {
        display: none;
    }

    .m__br {
        display: block;
    }

    /*  */
    .header {
        height: auto;
    }

    .logo {
        padding: 1rem;
    }

    .logo img {
        width: 140px;
    }

    .header>.inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav {
        width: 100%;
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
        padding: 1rem;
    }

    .nav>ul {
        justify-content: space-around;
        gap: 0;
    }

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

    /*  */
    .footer>.inner {
        padding: 0 1rem;
    }

    .footer .bot {
        padding: 1rem;
    }

    .footer .bot>.inner {
        flex-wrap: wrap;
    }
}