/*
(주)파이브센스_FIVESENSES.Corp.
파이브프로_FIVEPro_웹솔루션.
본 라이브러리(소스코드 및 디자인 포함)는 (주)파이브센스의 자산이며, 저작권법 및 부정경쟁방지법에 의해 보호됩니다.
무단 사용, 외부 유출, 복제, 배포, 변형을 금지합니다.
위반 시 민·형사상 법적 책임 및 손해배상 청구 대상이 됩니다.
작성일: 2025-03-18 | 저작권자: (주)파이브센스(520-86-01244) | All Rights Reserved.
*/

/* inquiry_container */
.QU4 .inquiry_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
}

.QU4 .inquiry_container > div {
    width: 50%;
}

/* 인사말 */
.QU4 .inquiry_title {
    padding-left: 117px;
}

.QU4 .inquiry_title h2 {
    font-size: 60px;
    font-weight: bold;
    line-height: 1.2;
    color: #fff;
}

/* 문의 폼 */
/* 문의 폼 컨테이너 */
.QU4 .inquiry_form_container {
    max-width: 880px;
    padding: 235px 90px;
    background: #fff;
    border-radius: 40px;
}

/* 타이틀 */
.QU4 .inquiry_form_title {
    text-align: center;
    margin-bottom: 70px;
}

.QU4 .inquiry_form_title h3 {
    font-size: 40px;
    font-weight: bold;
    color: #2a2a2a;
    word-break: keep-all;
    margin-bottom: 45px;
}

.QU4 .inquiry_form_title h4 {
    font-size: 22px;
    color: #777777;
    line-height: 1.5;
    word-break: keep-all;
}

/* 문의 폼 */
.QU4 .inquiry_form_content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.QU4 .inquiry_form_content > div {
    width: 50%;
}

.QU4 .inquiry_form_content label {
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    color: #2a2a2a;
    margin-bottom: 13px;
}

/* 셀렉트 박스 커스텀 */
.QU4 .select_box {
    position: relative;
}

.QU4 .custom_select {
    position: relative;
    width: 100%;
    user-select: none;
}

/* 셀렉트박스 트리거 */
.QU4 .custom_select_trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 60px;
    background: #fff;
    border-radius: 30px;
    border: 1px solid #113577;
    padding: 0 20px 0 25px;
    font-size: 16px;
    font-weight: 500;
    color: #113577;
    cursor: pointer;
    text-align: left;
    gap: 10px;
}

.QU4 .custom_select .custom_select_trigger.placeholder {
    opacity: 0.4;
}

.QU4 .custom_select.is_open .custom_select_trigger.placeholder {
    opacity: 1;
}

.QU4 .custom_select.is_open .custom_select_trigger .arrow_icon {
    transform: rotate(180deg);
}

/* 셀렉트박스 옵션 */
.QU4 .custom_select_options {
    display: none;
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #113577;
    border-radius: 30px;
    overflow: hidden;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(17, 53, 119, 0.12);
}

.QU4 .custom_select.is_open .custom_select_options {
    display: block;
}

.QU4 .custom_select_options ul {
    max-height: 226px;
    overflow-y: auto;
    padding: 10px;
}

.QU4 .custom_select_options li {
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    color: #777777;
    border-radius: 26px;
    cursor: pointer;
    transition: background 0.15s;
    margin-bottom: 10px;
}

.QU4 .custom_select_options li:last-child {
    margin-bottom: 0;
}

.QU4 .custom_select_options li:hover,
.QU4 .custom_select_options li.is_selected {
    background: rgba(17, 53, 119, 0.1);
    color: #113577;
}

/* 전송 버튼 */
.QU4 .inquiry_btn_container {
    text-align: center;
}

.QU4 .inquiry_btn_container .inquiry_btn {
    width: 100%;
    height: 60px;
    background: #113577;
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    border-radius: 30px;
}

@media (max-width: 991px) {
    /* inquiry_container */
    .QU4 .inquiry_container {
        flex-direction: column;
        gap: 90px;
    }

    .QU4 .inquiry_container > div {
        width: 100%;
    }

    /* 인사말 */
    .QU4 .inquiry_title {
        padding-left: 0;
        text-align: center;
    }

    .QU4 .inquiry_title h2 {
        font-size: 27px;
    }

    /* 문의 폼 */
    /* 문의 폼 컨테이너 */
    .QU4 .inquiry_form_container {
        max-width: 330px;
        padding: 30px;
        border-radius: 20px;
    }

    /* 타이틀 */
    .QU4 .inquiry_form_title {
        margin-bottom: 25px;
    }

    .QU4 .inquiry_form_title h3 {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .QU4 .inquiry_form_title h4 {
        font-size: 15px;
    }

    /* 문의 폼 */
    .QU4 .inquiry_form_content {
        flex-direction: column;
        gap: 18px;
        margin-bottom: 25px;
    }

    .QU4 .inquiry_form_content > div {
        width: 100%;
    }

    .QU4 .inquiry_form_content label {
        font-size: 14px;
        margin-bottom: 10px;
    }

    /* 셀렉트박스 트리거 */
    .QU4 .custom_select_trigger {
        width: 100%;
        height: 40px;
        border-radius: 20px;
        padding: 0 15px;
        font-size: 13px;
    }

    /* 셀렉트박스 옵션 */
    .QU4 .custom_select_options {
        top: calc(100% + 10px);
        border-radius: 15px;
    }

    .QU4 .custom_select_options ul {
        max-height: 130px;
        padding: 5px;
    }

    .QU4 .custom_select_options li {
        padding: 10px;
        font-size: 13px;
        border-radius: 15px;
        margin-bottom: 5px;
    }

    /* 전송 버튼 */
    .QU4 .inquiry_btn_container .inquiry_btn {
        height: 40px;
        font-size: 15px;
        border-radius: 20px;
    }
}