@charset "UTF-8";

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.is-open {
    display: flex;
}

.modal_inner {
    position: absolute;
    overflow: hidden;
    width: 50%;
    max-height: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 40px;
    box-sizing: border-box;
    max-height: 540px;
}

.modal .content {}

.modal .head {
    display: flex;
    justify-content: space-between;
    color: var(--800, #262626);
    font-size: 28px;
    font-weight: 400;
    line-height: 100%;
    padding-bottom: 30px;
    border-bottom: 2px solid #333;
}

.modal#pop_calendar .head {
    display: none;
}

.modal .head h3 {}

.modal .head button {
    background: transparent;
    border: none;
}

.modal .txt_wrap {
    margin: 0;
    max-height: calc(540px - 170px);
    display: block;
    overflow-y: auto;
}

.modal#pop_calendar .txt_wrap {
    text-align: center;
    line-height: 1.6;
    font-size: 24px;
    padding-top: 30px;
}

.modal#pop_calendar .btn_close {
    padding: 0;
    border: none;
    background: transparent;
    font-size: 16px;
    color: #fff;
    background: #8E5B48;
    border-radius: 999px;
    padding: 15px 60px;
    font-family: Pretendard;
    font-weight: 500;
    box-sizing: border-box;
    margin-top: 30px;
}

.modal .txt_wrap::-webkit-scrollbar {
    width: 2px;
    background: #eee;
    visibility: hidden;
}

.modal .txt_wrap::-webkit-scrollbar-thumb {
    background-color: #8E5B48;
    border-radius: 10px;
    visibility: hidden;
}

.modal .txt_wrap.scrolling::-webkit-scrollbar {
    visibility: visible;
}

.modal .txt_wrap.scrolling::-webkit-scrollbar-thumb {
    visibility: visible;
}


.pop_policy .txt {
    width: calc(100% - 12px);
    white-space: pre-line;
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    letter-spacing: -0.64px;
}

.pop_policy strong {
    color: #333;
    font-size: 20px;
    font-weight: 700;
    line-height: 180%;
    letter-spacing: -0.8px;
}

.pop_terms .txt_wrap {
    padding-top: 40px;
}


.pop_terms .article-title {
    font-weight: 600;
    line-height: calc(1.5 / 1);
    font-size: 16px;
    margin-bottom: 5px;
}

.pop_terms .desc {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.pop_terms .article-desc {
    margin-bottom: 48px;
}

.pop_terms .para {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.pop_terms dd.para {
    margin-bottom: 48px;
}

.pop_terms .exception {
    font-size: 14px;
    line-height: 1.5;
    padding: 15px;
    background-color: rgb(243 244 246 /1);
    display: flex;
    flex-direction: column;
    gap: 0.5px;
    margin-bottom: 15px;
}




@media (max-width: 768px) {
    .modal_inner {
        padding: 30px 20px;
        width: 90%;
    }

    .pop_policy .head {
        font-size: 20px;
        padding-bottom: 20px;
    }

    .pop_policy .txt {
        font-size: 14px;
        line-height: 1.3;
    }

    .pop_policy strong {
        font-size: 14px;
        font-weight: 700;
    }

    .modal#pop_calendar .txt_wrap {
        font-size: 16px;
    }
}