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

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

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

.top__banner {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    background-color: #FFD102;
}

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

.top__banner > .inner > ul {
    width: 100%;
    height: auto;
    display: flex;
}

.top__banner > .inner > ul > li {
    width: fit-content;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0 2rem;
}

.top__banner > .inner > ul > li:nth-of-type(1){
    color: #fff;
    background-color: #1972B5;
}

.top__banner > .inner > ul > li:nth-of-type(2){
    color: #fff;
    border-right: 1px solid #fff;
}

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

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

.nav {
    width: calc(100% - 350px - 2rem);
    height: 100%;
}

.nav > ul {
    width: 100%;
    height: 100%;
    display: flex;
}

.nav > ul > li {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav > ul > li > h2.on {
    color: #1972B5;
}

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

.nav > ul > li > ul {
    width: 250px;
    height: auto;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 1rem;
    padding: 1rem;
    z-index: 99;
}


.nav > ul > li.active > ul {
    display: flex;
}

.nav > ul > li > ul > li > a {
    width: 100%;
    height: 100%;
    display: flex;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.nav > ul > li > ul > li > a:hover {
    color: #1972B5;
}

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

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

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

.ft__top {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ccc;
    padding: 1rem 0;
}

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

.ft__top button {
    border: 1px solid #ccc;
    padding: 8px 1rem;
    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) {

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

    .top__banner > .inner > ul > li:nth-of-type(2){
        border-right: none;
    }

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

    .m__menu {
        display: block;
    }

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

    .nav.active {
        display: block;
    }

    .nav > ul {
        flex-wrap: wrap;
        gap: 2rem 1rem;
    }

    .nav > ul > li {
        width: calc(50% - 8px);
        justify-content: flex-start;
        align-items: flex-start;
        font-weight: 700;
    }

    .nav > ul > li > ul {
        position: static;
        border: none;
        border-radius: 0;
        transform: none;
        display: flex;
        align-items: flex-start;
        margin-top: 10px;
        padding: 0;
    }

    .nav > ul > li > ul > li > a {
        font-weight: 500;
        color: #595959;
    }

    /*  */
    .ft__top {
        padding: 1rem;
    }

    .footer>.inner {
        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;
    }

    .m__menu {
        display: block;
    }

    /*  */
    .top__banner > .inner > ul > li {
        width: 30%;
        font-size: 0.85rem;
        padding: 0 1rem;
    }

    .top__banner > .inner > ul > li:nth-of-type(2){
        width: 70%;
        text-align: center;
        border-right: none;
    }

    /*  */
    .header > .inner {
        height: 70px;
        border-bottom: 1px solid #ebebeb;
        padding: 0 1rem;
    }

    .logo img {
        width: 260px;
    }

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

    .nav.active {
        display: block;
    }

    .nav > ul {
        flex-wrap: wrap;
        gap: 2rem 1rem;
    }

    .nav > ul > li {
        width: 100%;
        justify-content: flex-start;
        align-items: flex-start;
        font-weight: 700;
    }

    .nav > ul > li > ul {
        position: static;
        border: none;
        border-radius: 0;
        transform: none;
        display: flex;
        align-items: flex-start;
        margin-top: 10px;
        padding: 0;
    }

    .nav > ul > li > ul > li > a {
        font-weight: 500;
        color: #595959;
    }

    /*  */
    .ft__top {
        padding: 1rem;
    }

    .footer>.inner {
        padding: 2rem 1rem;
    }

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

}