@charset "UTF-8";

/* ==========================================================
   2604 リニューアル Contact
========================================================== */

.contact {
    margin-top: 60px;
    padding-block: 40px 80px;
    padding-inline: 17.5px;
}

.contact input,
.contact select,
.contact textarea {
    width: 100%;
    color: var(--color-black-primary);
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0;
}

.contact select {
    padding: 10px;
    font-family: var(--font-japanese);
}

.contact input,
.contact textarea {
    padding: 5px 10px 10px;
}

.contact input[type="text"],
.contact input[type="file"],
.contact textarea {
    font-size: calc(12 * var(--rem));
    font-weight: 500;
    font-family: var(--font-japanese);
    line-height: 2.2;
    letter-spacing: 0.1em;
}

.contact-title {
    margin-bottom: 30px;
    font-size: calc(18 * var(--rem));
    font-weight: 400;
    text-align: center;
}

.contact_must {
    color: #ff0000;
    font-size: 12px;
    margin-top: -8px;
    margin-left: 4px;
}

.contact-common-text {
    font-size: calc(12 * var(--rem));
    font-weight: 500;
    font-family: var(--font-japanese);
    line-height: 2.2;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.contact-common-note {
    font-size: calc(12 * var(--rem));
    font-family: var(--font-japanese);
    line-height: 1.6;
    color: var(--color-black-primary);
}

.contact-catering-note {
    margin-top: 10px;
    font-size: calc(12 * var(--rem));
    font-weight: 500;
    font-family: var(--font-japanese);
    line-height: 1.8;
    letter-spacing: 0.05em;
}

.contact-catering-note a {
    text-decoration: underline !important;
}

.category-wrapper {
    background-color: transparent;
    padding: 0;
    border: none;
    border-radius: 0;
}

.category {
    display: block;
    padding: 1px;
    margin-bottom: 20px;
}

.name-inputs {
    display: flex;
    gap: 3%;
}

.contact input::placeholder {
    position: relative;
    top: 1px;
    color: rgba(58, 58, 58, 0.5);
    font-size: calc(10 * var(--rem));
    font-weight: 500;
    font-family: var(--font-japanese);
    letter-spacing: 0.1em;
}

.submit-btn {
    width: calc(140 / 375 * 100%);
    min-width: 140px;
    margin-inline: auto;
}

.contact .submit-btn input {
    padding: 16px 12px;
    font-size: 14px;
    text-align: center;
    border: 1px solid var(--color-black-primary);
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact .submit-btn input:hover {
    background-color: var(--color-black-primary);
    color: var(--color-white);
}

/* 条件分岐用のスタイル */
.conditional-field {
    display: none;
}

.conditional-field.show {
    display: block;
}
