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

.color--gray {
    color: #888 !important;
    font-weight: 400 !important;
}

.pc__br {
    display: block;
}

.m__br {
    display: none;
}

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

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

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

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

.logo>a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

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

.call {
    display: flex;
    align-items: center;
    gap: 10px;
}

.call img {
    width: 36px;
    height: auto;
    object-fit: contain;
}

.call span {
    font-size: 1.2rem;
    font-weight: 700;
}


/*  */
.m__nav {
    display: none;
}

.nav {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ccc;
    position: relative;
}

.main__nav {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    gap: 4vw;
}

.main__nav>li {
    width: fit-content;
    height: auto;
}

.main__nav>li>a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
}

.main__nav>li>a:hover {
    color: #3053c1;
}

.main__nav>li>a.is-active {
    font-weight: 600;
    color: #3053c1;
}

/*  */
.drop__nav {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    position: absolute;
    top: 61px;
    left: 0;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    padding: 2rem 0;
    z-index: 97;

    /* hide */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .nav:hover .drop__nav {
        /* show */
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}


.drop__nav>.inner {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.drop__nav .item {
    width: calc(25% - 24px);
    height: auto;
}

.drop__nav .item>h2 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.drop__nav .item>ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.drop__nav .item>ul>li>a {
    font-size: 1rem;
    font-weight: 500;
    color: #595959;
}

.drop__nav .item>ul>li>a:hover {
    color: #150f96;
}

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

.agreement {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.agreement.is-active {
    display: flex;
}

.agreement__inner {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    background-color: #fff;
    border-radius: 1rem;
    padding: 5rem 2rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.agreement__close {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 2rem;
    right: 2rem;
    cursor: pointer;
}

.agreement__close img {
    width: 100%;
    height: auto;
}

.agreement__txt {
    overflow-y: auto;
    padding-right: 10px;
}

.agreement__txt::-webkit-scrollbar {
    width: 6px;
}

.agreement__txt::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.agreement__txt .box {
    margin-bottom: 25px;
}

.agreement__txt .box:last-child {
    margin-bottom: 0;
}

.agreement__txt .box h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    word-break: keep-all;
}

.agreement__txt .box h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.agreement__txt .box p {
    font-size: 0.95rem;
    color: #555;
    word-break: keep-all;
}

.agreement__txt .box ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.agreement__txt .box ul li {
    font-size: 0.9rem;
    color: #666;
}

.essential {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.essential.is-active {
    display: flex;
}

.essential__inner {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    background-color: #fff;
    border-radius: 1rem;
    padding: 5rem 2rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.essential__close {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 2rem;
    right: 2rem;
    cursor: pointer;
}

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

.essential__txt {
    overflow-y: auto;
    padding-right: 10px;
}

.essential__txt::-webkit-scrollbar {
    width: 6px;
}

.essential__txt::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.essential__txt .box {
    margin-bottom: 25px;
}

.essential__txt .box:last-child {
    margin-bottom: 0;
}

.essential__txt .box h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    word-break: keep-all;
}

.essential__txt .box h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.essential__txt .box p {
    font-size: 0.95rem;
    color: #555;
    word-break: keep-all;
}

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

.essential__txt .box ul li {
    font-size: 0.9rem;
    color: #666;
}

.fixed__stuff {
    width: 70px;
    height: auto;
    position: fixed;
    right: 1rem;
    bottom: 2rem;
}

.fixed__stuff button {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    border-radius: 50%;
    font-size: 0.9rem;
    color: #fff;
    line-height: normal;
    cursor: pointer;
}

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

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

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

.footer .top button {
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
}

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

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

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



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

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

    .header {
        padding: 0 1rem;
    }

    .call img {
        width: 34px;
    }

    .call span {
        display: none;
    }

    /*  */
    .nav {
        flex-direction: column;
        justify-content: flex-start;
        border-bottom: none;
        padding: 0;
    }

    .m__nav {
        width: 100%;
        height: 50px;
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 0.9rem;
        font-weight: 500;
        border-bottom: 1px solid #ccc;
        padding: 0 1rem;
        cursor: pointer;
    }

    .m__nav>img {
        width: 12px;
    }

    .main__nav {
        display: none;
    }

    .drop__nav {
        top: 50px;
        padding: 1.5rem;
    }

    .drop__nav.active {
        /* show */
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .drop__nav>.inner {
        gap: 1.5rem 1rem;
    }

    .drop__nav .item {
        width: 100%;
    }

    .drop__nav .item>ul>li>a {
        font-size: 0.95rem;
    }


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

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

}






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

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

    .pc__br {
        display: none;
    }

    .m__br {
        display: block;
    }

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

    .header {
        height: 70px;
        padding: 0 1rem;
    }

    .logo img {
        width: 170px;
    }

    .call img {
        width: 34px;
    }

    .call span {
        display: none;
    }

    /*  */
    .nav {
        flex-direction: column;
        justify-content: flex-start;
        border-bottom: none;
        padding: 0;
    }

    .m__nav {
        width: 100%;
        height: 50px;
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 0.9rem;
        font-weight: 500;
        border-bottom: 1px solid #ccc;
        padding: 0 1rem;
        cursor: pointer;
    }

    .m__nav>img {
        width: 12px;
    }

    .main__nav {
        display: none;
    }

    .drop__nav {
        top: 50px;
        padding: 1.5rem;
    }

    .drop__nav.active {
        /* show */
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .drop__nav>.inner {
        gap: 1.5rem 1rem;
    }

    .drop__nav .item {
        width: 100%;
    }

    .drop__nav .item>ul>li>a {
        font-size: 0.95rem;
    }


    /*  */
    .fixed__stuff {
        width: 60px;
        right: 10px;
        bottom: 1rem;
    }

    .fixed__stuff button {
        height: 60px;
    }

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

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

}