/* --------------- PC modal start-------------- */
.modal_open_btn {
    cursor: pointer;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, 0.7);

    z-index: 9999999999;

    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.modal_iner {
    width: 100%;
    max-width: 1152px;
    background: #fff;

    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;

    border-radius: 38px;
    padding: 38px;
    box-sizing: border-box;
    max-height: calc(100vh - 40px);
}

.modal {
    display: none;
}

.modal.on_modal {
    display: flex;
}

.modal_hd {
    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 27px;
    font-weight: 600;
    margin-bottom: 38px;

    width: 100%;
}

.modal_body {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    max-height: 480px;
    overflow-y: auto;
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    word-break: keep-all;
    overflow-wrap: anywhere;
}


.modal_close {
    width: 100%;
    height: 38px;
    background: #000;
    color: #fff;
    font-size: 17px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 19px;
    cursor: pointer;
    margin-top: 38px;
    font-weight: 500;
}


/* --------------- MID range (600~1199) — 1152px 가 못 들어가는 뷰포트 -------------- */
@media screen and (min-width: 600px) and (max-width: 1199px) {
    .modal_iner {
        padding: 28px;
        border-radius: 24px;
    }
    .modal_hd {
        font-size: 22px;
        margin-bottom: 24px;
    }
    .modal_body {
        max-height: 60vh;
        font-size: 14px;
    }
    .modal_close {
        margin-top: 24px;
    }
}

/* --------------- MO modal start-------------- */
@media screen and (max-width:599px) {
    .modal {
        padding: 16px;
    }
    .modal_iner {
        max-width: 100%;
        border-radius: 16px;
        padding: 24px 20px;
        max-height: calc(100vh - 32px);
    }

    .modal_hd {
        font-size: 17px;
        margin-bottom: 18px;
    }

    .modal_body {
        max-height: none;
        font-size: 12px;
        line-height: 1.7;
    }

    .modal_close {
        height: 44px;
        font-size: 14px;
        border-radius: 12px;
        margin-top: 20px;
    }
}


/* --------------- PC footer start-------------- */


.footer {
    width: 100%;

    padding-top: 38px;
    padding-bottom: 77px;

    font-size: 16px;
    line-height: 1.5;
    font-weight: 200;
    position: relative;
    /* border-top: 1px solid #ccc; */
}

.ft_iner {
    width: 70vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.ft_txt {
    display: flex;
    flex-direction: column;
    row-gap: 19px;
}

.ft_col {
    display: flex;
    flex-direction: column;
}

.ft_row_col {
    display: flex;
    gap: 23px;
}

.ft_row {
    display: flex;
    flex-direction: column;
    column-gap: 19px;
}

.ft_logo {
    font-size: 27px;
    margin-bottom: 19px;
}

@media screen and (max-width: 1400px) {
    .ft_iner {
        width: 90vw;
    }
}

/* --------------- PC footer end-------------- */


/* --------------- MO footer start-------------- */
@media screen and (max-width: 599px) {
    .footer {
        padding: 32px 20px 48px;

        font-size: 12px;
        line-height: 1.7;
        color: #888;

        text-align: center;

        display: flex;
        justify-content: center;
        align-items: center;
    }

    .ft_iner {
        justify-content: center;
        align-items: center;

        z-index: 99;
    }

    .ft_logo {
        font-size: 20px;
        color: #222;
        margin-bottom: 14px;
    }

    .ft_txt {
        justify-content: center;
        align-items: center;
        row-gap: 8px;
    }

    .ft_row {
        display: flex;
        column-gap: 4px;
    }

    .modal_open_btn {
        font-weight: 500;
        color: #555;
    }
}

/* --------------- MO footer end -------------- */









/* --------------- PC quick start-------------- */

.contact_service {
    position: fixed;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 80px;

    padding-left: 211px;

    display: flex;
    justify-content: flex-start;
    align-items: center;

    background: #151a82;
}

.quick_logo {
    width: 336px;
    margin-right: 39px;
}

.qk_box {
    width: 220px;
    height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer_input_form {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 3px;
}

.footer_input {
    background: #fff;
    color: #291e14;

    border: 1px solid #dbd8c3;

    font-size: 17px;
    font-weight: 500;
}

.quick_submit_div {
    font-size: 26px;
    letter-spacing: -2px;
    color: #fff;
    background: #db3325;

    display: flex;
    justify-content: center;
    align-items: center;
}

.quick_agree {
    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;

    font-size: 16px;
    color: #fff;

    margin-left: 18px;
    margin-right: 25px;
}

.qk_udln {
    text-decoration: underline;
    text-underline-offset: 20%;
    text-decoration-thickness: 1px;
}

.quickAgree_checkbox {
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

    width: 13px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid #fff;
    margin-right: 8px;
    overflow: hidden;
}

.quickAgree_checkbox:checked {
    background-color: #fff;
}

.quickAgree_checkbox:checked:after {
    content: '';
    position: absolute;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #000;
}

/* --------------- PC quick end -------------- */



/* --------------- MO quick start -------------- */
@media screen and (max-width:599px) {
    .contact_service {
        height: auto;
        padding-left: 0;

        padding-bottom: 4px;
        padding-top: 38px;

        justify-content: center;
    }

    .quick_logo {
        width: 188px;
        margin-right: 0;
        position: absolute;
        top: 8px;
        left: 8px;
    }

    .footer_input_form {
        gap: 0;
    }

    .qk_box {
        width: 90px;
        height: 38px;
        border: 1px solid #000;
    }

    .quick_agree {
        position: absolute;
        font-size: 12px;
        top: 15px;
        right: 8px;
        margin: 0;
    }

    .footer_input {
        font-size: 12px;
    }

    .quick_submit_div {
        font-size: 14px;
    }

    .qk_pc {
        display: none;
    }

    .quickAgree_checkbox {
        width: 14px;
        margin-right: 6px;
    }
}

/* --------------- MO quick end -------------- */