/* =========================
   section4（お問い合わせ）
========================= */
#section-information {
    background-color: rgba(228, 68, 52, 0.15);
    position: relative;
    z-index: 0;
    overflow: visible;
}

/* =========================
   タイトル・本文
========================= */
#section-information .secTitle {
    color: var(--accent-orange);
    z-index: 3;
}
#section-information .text-contents {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: var(--accent-orange);
    padding: 0 24px;
}
#section-information .text-contents p {
    z-index: 3;
}

/* =========================
   左側の葉っぱ
========================= */

#section-information .sil-left-leaf img {
    --x: calc(50% - clamp(420px, 42vw, 1300px));
    --y: -200px;
    transform: translate(var(--x), var(--y)) scaleX(-1) rotate(15deg);
    width: 350px;
    height: auto;
}

/* =========================
   お問い合わせフォーム
========================= */
.fit-form {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(55, 40, 20, 0.08);
    padding: clamp(16px, 3vw, 28px);
}
.fit-row {
    margin-top: 18px;
}
.fit-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.req-badge {
    display: inline-block;
    font-size: 0.72rem;
    background: var(--accent-orange);
    color: #fff;
    padding: 0.18em 0.5em;
    border-radius: 6px;
    line-height: 1;
}
.fit-input,
.fit-select,
.fit-textarea {
    width: 100%;
    margin-top: 0.6rem;
    font: inherit;
    background: #fff;
    border: 1.6px solid #e7e0d6;
    border-radius: 12px;
    padding: 14px 16px;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.fit-input::placeholder {
    color: #b7b0a6;
}
.fit-input:focus,
.fit-select:focus,
.fit-textarea:focus {
    outline: none;
    border-color: color-mix(in srgb, var(--accent-orange) 70%, #fff);
    box-shadow: 0 0 0 3px
        color-mix(in srgb, var(--accent-orange) 22%, transparent);
}
.fit-select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path fill='%232e6b45' d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px 20px;
    padding-right: 42px;
}
.fit-textarea {
    resize: vertical;
}
.fit-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 6px;
}
.fit-legend {
    font-weight: 600;
    margin-bottom: 0.6rem;
}
.fit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 28px;
}
.fit-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}
.fit-check input {
    appearance: none;
    inline-size: 18px;
    block-size: 18px;
    border-radius: 6px;
    border: 1.6px solid #d8d0c6;
    display: grid;
    place-items: center;
    transition: border-color 0.2s, background-color 0.2s;
    background-color: #fff;
}
.fit-check input:checked {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
}
.fit-check input:checked::after {
    content: "";
    width: 9px;
    height: 9px;
    border: 2px solid #fff;
    border-top: 0;
    border-left: 0;
    transform: rotate(45deg);
}
.fit-help {
    margin-top: 6px;
    color: #a07454;
    font-size: 0.9rem;
}
.fit-actions {
    margin-top: 22px;
}
.fit-button {
    width: min(780px, 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-inline: auto;
    border: none;
    border-radius: 999px;
    padding: 18px 24px;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: var(--accent-orange);
    color: #fff;
    cursor: pointer;
    transition: transform 0.03s ease, filter 0.2s;
}
.fit-button:hover {
    filter: brightness(1.03);
}
.fit-button:active {
    transform: translateY(1px);
}
#section-information .fit-form {
    position: relative;
    z-index: 2; /* 最前面 */
}

/* =========================
   確認画面の設定
========================= */
#confirm-screen {
    position: relative; /* 必要 */
    z-index: 5;      /* 好きな指数 */
}

/* ======================================================================
   レスポンシブ対応
====================================================================== */
@media (max-width: 1200px) {
    .fit-form {
        max-width: 720px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    #section-information .sil-left-leaf img {
        width: 320px;
        height: auto;
    }
    .fit-grid {
        grid-template-columns: 1fr;
    }
    .fit-input,
    .fit-select,
    .fit-textarea {
        font-size: 14px;
        padding: 0 0 0 16px;
    }
    .pc-disblock {
        display: none;
    }
    .fit-check {
        font-size: 12px;
    }
    .fit-row {
        margin-top: 4px;
    }
    .fit-legend {
        margin-bottom: 0;
    }
}
