/* 
---------------------------------------------
              Inquiry Form
--------------------------------------------- 
*/
.cont1 .visual {
    margin-bottom: 28px;
}

.cont-lead {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cont-lead .sub {
    color: var(--black-800);
    font-size: var(--font-lg);
    line-height: 32px;
    white-space: pre-line;
}

.contact-note {
    margin-top: 24px;
    text-align: right;
    font-size: var(--font-base);
}

.contact-note .star {
    color: var(--primary);
    font-weight: 500;
}

.contact-divider {
    margin: 14px 0 30px;
    height: 1px;
    background: var(--black);
    border: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.field-label {
    display: flex;
    align-items: center;
    font-size: var(--font-xl);
    font-weight: 600;
}

.req {
    color: var(--primary);
}

.form-control {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.select {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

.selectbox {
    position: relative;
}

.selectbox .select-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: white;
    outline: 0;
    border: 1px solid #D0D4DA;
    border-radius: 10px;
    color: var(--black-700);
    font-size: var(--font-md);
    line-height: 28.8px;
    cursor: pointer;
    user-select: none;
    transition: border-color .16s ease, box-shadow .16s ease, color .16s ease;
}

.selectbox.is-open .select-btn {
    border-color: #D0D4DA !important;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0
}

.selectbox:not(.is-open) .select-btn:hover,
.selectbox:not(.is-open) .select-btn:focus-visible {
    border-color: var(--indigo);
}

.selectbox .arrow {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    display: inline-block;
    transition: transform .16s ease;
}

.selectbox.is-open .arrow {
    transform: rotate(180deg);
}

.selectbox .select-list {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: -1px;
    background: white;
    border: 1px solid #D0D4DA;
    border-top: 0;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .06);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity .14s ease, transform .14s ease;
    z-index: 20;
    overflow: hidden;
}

.selectbox.is-open .select-list {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0)
}

.selectbox .option {
    padding: 14px 20px;
    background: white;
    color: #4C5057;
    font-size: var(--font-md);
    line-height: 28.8px;
    cursor: pointer;
    user-select: none;
    transition: background-color .12s ease, color .12s ease;
}

.selectbox .option.is-placeholder {
    color: var(--black-700);
}

.selectbox .option:hover {
    background: var(--primary-100);
}

.selectbox .option.is-active {
    background: var(--primary-100);
    color: var(--primary);
    font-weight: 600;
}

.placeholder {
    color: var(--black-700);
}

.input,
.select,
.textarea {
    width: 100%;
    padding: 16px 20px;
    background: white;
    border-radius: 10px;
    border: 1px solid var(--black-500);
    font-size: var(--font-md);
    line-height: 28.8px;
    transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
}

.textarea {
    min-height: 250px;
    resize: none;
}

.input:hover,
.select:hover,
.textarea:hover,
.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible {
    border-color: var(--indigo);
}

.form-row:focus-within .field-label {
    color: var(--indigo);
}

.helper {
    margin-top: 10px;
    color: var(--black-800);
    font-size: var(--font-base);
    font-weight: 400;
    line-height: 25.6px;
}

.form-control:focus-within .helper {
    color: var(--indigo);
}

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

.form-agree .agree {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-xl);
    font-weight: 700;
    cursor: pointer;
}

.form-agree input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    background: white;
    border: 1.5px solid #D0D4DA;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.form-agree input[type="checkbox"]:hover {
    border-color: var(--indigo);
}

.form-agree input[type="checkbox"]:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--indigo) 30%, transparent);
    border-color: var(--indigo);
}

.form-agree input[type="checkbox"]:checked {
    background: var(--primary);
    border-color: var(--primary);
}

.form-agree input[type="checkbox"]:checked::after {
    content: "";
    width: 6px;
    height: 11px;
    border: 2px solid white;
    border-top: 0;
    border-left: 0;
    transform: translateY(-1px) rotate(45deg);
}

.form-agree .agree span {
    transition: color .18s ease, text-decoration-color .18s ease, text-underline-offset .18s ease;
}

.form-agree .agree:hover span {
    color: var(--indigo);
}

.form-agree .terms-link {
    color: var(--black-800);
    font-size: var(--font-xl);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--black-800);
    text-underline-offset: 5px;
}

.form-actions {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.btn-fill {
    background: var(--primary);
}

.qna-form .headline,
.qna-form .contact-note {
    text-align: center;
}

.qna-form .contact-note {
    margin-top: 70px;
}

.col-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.file-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
}

.file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    clip-path: inset(50%);
    border: 0;
    padding: 0;
    margin: -1px;
}

.file-display {
    padding: 16px 20px;
    background: white;
    border: 1px solid #D0D4DA;
    border-radius: 10px;
    color: var(--black-900);
    font-size: var(--font-md);
    line-height: 28.8px;
}

.btn-file {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 16px 28px;
    background: var(--indigo);
    color: white;
    border-radius: 300px;
    font-size: var(--font-md);
    font-weight: 500;
    line-height: 28.8px;
    cursor: pointer;
}

.file-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.file-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--indigo);
    font-size: var(--font-md);
    font-weight: 500;
    line-height: 28.8px;
}

.chip-remove {
    width: 32px;
    height: 32px;
    border: 0;
    padding: 0;
    border-radius: 300px;
    background: var(--primary-100);
    cursor: pointer;
    position: relative;
}

.cont1.qna-form .chip-remove::before {
    content: "";
    position: absolute;
    inset: 9px;
    background-color: var(--primary);
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14" fill="none"><path d="M1 1L13 13M1 13L13 1" stroke="black" stroke-width="2" stroke-linecap="round"/></svg>') no-repeat center / contain;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14" fill="none"><path d="M1 1L13 13M1 13L13 1" stroke="black" stroke-width="2" stroke-linecap="round"/></svg>') no-repeat center / contain;
}

.contact-form .error-msg {
    color: var(--primary);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

.contact-form .input.error,
.contact-form .textarea.error {
    border-color: var(--primary);
}

.contact-form .selectbox.error .select-btn {
    border-color: var(--primary);
}

@media (max-width: 1440px) {

    .cont1 .visual {
        margin-bottom: 24px;
    }

    .headline {
        font-size: 38px;
        line-height: 1.35;
    }

    .cont-lead .sub {
        font-size: var(--font-md);
        line-height: 1.6;
    }

    .contact-form {
        gap: 50px;
    }
}

@media (max-width: 1280px) {
    .headline {
        font-size: 34px;
        line-height: 1.35;
    }

    .contact-note {
        font-size: var(--font-base);
    }

    .field-label {
        font-size: var(--font-lg);
    }

    .input,
    .textarea,
    .selectbox .select-btn {
        padding: 14px 18px;
    }

    .textarea {
        min-height: 220px;
    }
}

@media (max-width: 1024px) {
    .container .cont-lead {
        gap: 8px;
    }

    .headline {
        font-size: 30px;
        line-height: 1.35;
    }

    .contact-note {
        text-align: left;
    }

    .contact-divider {
        margin: 12px 0 26px;
    }

    .contact-form {
        gap: 40px;
    }

    .col-wrap {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-agree {
        align-items: flex-start;
        gap: 12px;
    }

    .form-agree .agree {
        font-size: var(--font-lg);
    }

    .form-agree .terms-link {
        font-size: var(--font-md);
    }

    .btn-file {
        min-width: 180px;
        padding: 14px 24px;
    }

    .file-row {
        gap: 16px;
    }

    .file-display {
        font-size: var(--font-base);
        padding: 14px 18px;
    }

    .file-chips {
        gap: 20px;
    }

    .qna-form .contact-note {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .cont1 .visual img {
        width: 100%;
        height: auto;
        display: block;
    }

    .headline {
        font-size: 26px;
        line-height: 1.35;
    }

    .cont-lead .sub {
        font-size: var(--font-base);
        line-height: 1.55;
        white-space: normal;
    }

    .contact-note {
        margin-top: 16px;
    }

    .form-row {
        gap: 14px;
    }

    .field-label {
        font-size: var(--font-md);
    }

    .input,
    .textarea,
    .selectbox .select-btn {
        font-size: var(--font-base);
        line-height: 1.6;
        padding: 12px 16px;
    }

    .textarea {
        min-height: 200px;
    }

    .helper {
        margin-top: 0;
        font-size: var(--font-sm);
        line-height: 1.45;
    }

    .selectbox .option {
        padding: 12px 16px;
        font-size: var(--font-base);
        line-height: 1.6;
    }

    .selectbox .arrow {
        width: 16px;
        height: 16px;
    }

    .form-agree {
        flex-direction: column;
        gap: 8px;
    }

    .form-agree .agree {
        font-size: var(--font-md);
    }

    .form-agree input[type="checkbox"] {
        width: 22px;
        height: 22px;
    }

    .btn-file {
        min-width: 160px;
        padding: 12px 20px;
        font-size: var(--font-base);
    }

    .chip-remove {
        width: 28px;
        height: 28px;
    }

    .form-actions {
        margin-top: 10px;
    }

    .btn-fill {
        width: 100%;
    }

    .qna-form .contact-note {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .headline {
        font-size: var(--font-2xl);
        line-height: 1.35;
    }

    .cont-lead .sub {
        font-size: var(--font-md);
    }

    .contact-note {
        font-size: var(--font-sm);
    }

    .contact-form {
        gap: 32px;
    }

    .input,
    .textarea,
    .selectbox .select-btn {
        padding: 11px 14px;
    }

    .textarea {
        min-height: 180px;
    }

    .field-label {
        font-size: var(--font-base);
    }

    .form-agree .agree {
        font-size: var(--font-base);
    }

    .form-agree .terms-link {
        font-size: var(--font-base);
    }

    .file-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .btn-file {
        width: 100%;
        min-width: 0;
    }

    .file-display {
        font-size: var(--font-base);
    }

    .file-chips {
        gap: 14px;
    }

}