@charset "UTF-8";

#contact_modal *::-webkit-scrollbar {
    width: 3px;
    background: transparent;
}
#contact_modal *::-webkit-scrollbar-thumb {
    background: #c4c4c4;
}
#contact_modal *::-webkit-scrollbar-track {
    background: transparent;
}
#contact_modal *::-webkit-scrollbar-button {
    display: none;
}

.modal_wrap {
    position: fixed;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    z-index: 10000;
    transition: opacity .4s ease, visibility 0s linear .4s;
}

.modal_wrap.on {
    visibility: visible;
    opacity: 1;
    transition: opacity .4s ease, visibility 0s linear 0s;
}

#contact_modal .modal_dim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .12);
}

#contact_modal .modal_box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 60px));
    display: flex;
    flex-direction: column;
    width: calc(100% - 30px);
    max-width: 1295px;
    height: 80vh;
    padding: clamp(45px, calc(36.5px + 2.265vw), 80px) clamp(20px, calc(5.437px + 3.883vw), 80px);
    background: #221e1f;
    border-radius: 45px;
    box-sizing: border-box;
    opacity: 0;
    transition: transform .45s cubic-bezier(.16, 1, .3, 1), opacity .4s ease;
}

#contact_modal.on .modal_box {
    transform: translate(-50%, -50%);
    opacity: 1;
}

#contact_modal .modal_title h5 {
    line-height: 1.4;
    font-size: clamp(22px, calc(4.667px + 2.257vw), 48px);
    font-weight: 700;
    color: #fff;
}

#contact_modal .modal_close {
    position: absolute;
    top: 17px;
    right: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    transition: all .3s ease-in-out;
}

#contact_modal .modal_close svg {
    width: 24px;
    height: 24px;
}

#contact_modal .modal_contact_box {
    display: flex;
    flex: 1;
    min-height: 0;
    margin-top: clamp(45px, calc(38.932px + 1.618vw), 70px);
    overflow-y: auto;
    box-sizing: border-box;
}

#contact_modal .modal_left {
    width: 52.5%;
}

#contact_modal .modal_right {
    width: 47.5%;
    height: 100%;
}

#contact_modal .modal_info_box + .modal_info_box {
    margin-top: 75px;
} 

#contact_modal .point_cate {
    font-size: 15px;
    font-weight: 500;
    color: var(--main-font-point-color);
}

#contact_modal .office_name {
    margin-top: 11px;
    font-size: clamp(30px, calc(23.333px + 0.868vw), 40px);
    font-weight: 600;
    color: #fff;
}

#contact_modal .office_item {
    margin-top: 27px;   
}

#contact_modal .office_item span {
    position: relative;
    display: inline-block;
    font-size: 16px;
    color: #ffffff;
}

#contact_modal .office_item span + span {
    margin-left: 12px;
    padding-left: 14px;
}

#contact_modal .office_item span + span::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 12px;
    transform: translateY(-50%);
    background: #868686;
}

#contact_modal .office_address {
    min-height: 40px;
    margin-top: 11px;
    line-height: 1.625;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.3);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

#contact_modal .office_num {
    margin-top: 29px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

#contact_modal .modal_right form {
    margin-right: 10px;
}

#contact_modal .input-box {
    margin-bottom: 30px;
}

#contact_modal .input-box label {
    position: relative;
}

#contact_modal .input_title {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
}

#contact_modal .nec_circle {
    position: absolute;
    top: 2px;
    right: -7px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #f36f20;
}

#contact_modal .answer {
    position: relative;
    margin-top: 10px;
}

#contact_modal .answer_box {
    width: 100%;
    padding: 0 20px;
    border-radius: 7px;
    line-height: 55px;
    background: #fff;
    font-size: 15px;
    font-weight: 400;
    color: #0c0c0c;
}

#contact_modal .answer_box::placeholder {
    color: #999999;
}

#contact_modal .input_flex {
    display: flex;
    align-items: flex-start;
    gap: 0 5px;
}

#contact_modal .input_flex .select_num {
    position: relative;
    width: 140px;   
}

#contact_modal .input_flex .select_num input {
    caret-color: transparent;
    cursor: pointer;
}

#contact_modal .input_flex .enter_num {
    width: calc(100% - 145px);
} 

#contact_modal .drop_arrow {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 10px;
    height: 6px;
    transform: translateY(-50%);
}

#contact_modal .drop_arrow svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: #c9c9c9;
}


#contact_modal .pre_drop {
    position: absolute;
    top: 50px;
    left: 0;
    display: none;
    width: 100%;
    max-height: 250px;
    padding: 5px;
    border-radius: 0 0 10px 10px;
    overflow-y: scroll;
    background-color: #fff;
    z-index: 100;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 25px 20px -20px;
}

#contact_modal .pre_drop li {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
    color: #5d5d5d;
    background-color: #fff;
    transition: all .3s ease-in-out;
    cursor: pointer;
}

#contact_modal .pre_drop li + li {
    margin-top: 5px;
}

#contact_modal .pre_drop li:hover {
    font-weight: 500;
    color: #161314;
    background-color: #efefef;
}

.pre_drop.on {
    display: block;
}

#contact_modal .textarea_box {
    height: 160px;  
    padding: 20px;
    border-radius: 7px;
    background-color: #fff;
}

#contact_modal .textarea_box .answer_box {
    height: 100%;
    padding: 0;
    overflow-y: auto;
    line-height: 1.35;
    resize: none;
}

#contact_modal .file_content {
    display: flex;
    gap: 0 5px;
}

#contact_modal .left_file {
    width: calc(100% - 145px);
}

#contact_modal .left_file input {
    width: 100%;
}

#contact_modal .right_file {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 55px;
    border-radius: 7px;
    background: #c9c9c9;
    font-size: 15px;
    font-weight: 500;
    color: #161314  ;
    cursor: pointer;
    transition: all .3s ease-in-out;
}

#contact_modal input[type="file"] {
    display: none;
}

#contact_modal .file_info {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 400;
    color: #7f7f7f;
}

#contact_modal .privacy_input input {
    display: none;
}

#contact_modal .privacy_input label {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0 8px;
    cursor: pointer;
}

#contact_modal .privacy_input .rec_check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    background: #ffffff;
}

#contact_modal .privacy_input .privacy_text {
    display: block;
    line-height: 1.2;
    font-size: 15px;
    color: #ffffff;
}


#contact_modal .privacy_input input:checked + label .rec_check {
    border-color: #f36f20;
    background-color: #f36f20;
    background-image: url('/img/check_svg.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 11px 9px;
}

#contact_modal .modal_foot {
    width: 100%;
    margin-top: 35px;
}

#contact_modal .modal_foot .submit_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 55px;
    border-radius: 7px;
    font-size: 17px;
    font-weight: 700;
    color: #161314;
    background: #c9c9c9;
    transition: all .3s ease-in-out;
}

@media (hover:hover) and (pointer: fine) {
    #contact_modal .modal_close:hover {
        background-color: #f36f20;
    }


    #contact_modal .right_file:hover {
        background: #f36f20;
        color: #fff;
    }

    #contact_modal .modal_foot .submit_btn:hover {
        background: #f36f20;
        color: #fff;
    }
}


@media (max-width:991px) {
    #contact_modal .modal_box {
        width: calc(100% - 34px);
        max-width: unset;
        height: 80vh;
        border-radius: 20px;
    }

    #contact_modal .modal_close {
        top: 9px;
        right: 9px;
        width: 37px;
        height: 37px;
    }

    #contact_modal .modal_close svg {
        width: 19px;
        height: 19px;
    }

    #contact_modal .modal_left {
        display: none;
    }

    #contact_modal .modal_right {
        width: 100%;
    }

    #contact_modal .modal_contact_box {
        height: 100%;
        overflow-y: hidden;
    }

    #contact_modal .modal_contact_box form {
        width: 100%;
        height: 100%;
    }

    #contact_modal .modal_input_wrap {
        height: calc(100% - 80px);
        min-height: 0;
        margin-right: 0;
        padding-right: 5px;
        overflow-y: auto;
    }

    #contact_modal .answer_box {
        padding: 0 13px;
        border-radius: 5px;
        line-height: 44px;
    }

    #contact_modal .input_flex .select_num {
        width: 100px;
    }

    #contact_modal .pre_drop {
        top: 38px;
        max-height: 150px;
        border-radius: 5px;
    }

    #contact_modal .pre_drop li {
        line-height: 30px;
        border-radius: 5px;
        font-size: 14px;
    }

    #contact_modal .input_flex .enter_num {
        width: calc(100% - 105px);
    }

    #contact_modal .textarea_box {
        height: 150px;
        padding: 15px 10px;
        border-radius: 5px; 
    }

    #contact_modal .modal_foot {
        margin-top: 30px;
    }

    #contact_modal .modal_foot .submit_btn {
        height: 50px;
        border-radius: 12px;
        font-size: 15px;
        color: #fff;
        background: #f36f20;
    }

    #contact_modal .left_file {
        width: calc(100% - 105px);
    }

    #contact_modal .right_file {
        width: 100px;
        height: 44px;
        font-size: 15px;
    }

    #contact_modal .privacy_input .rec_check {
        width: 15px;
        height: 15px;
        border-radius: 2px;
    }

    #contact_modal .privacy_input input:checked + label .rec_check {
        background-size: 9px 7px;
    }

    #contact_modal .privacy_input .privacy_text {
        font-size: 14px;
    }
}