@charset "UTF-8";

/* -------------------------------------------------------
    contact.html タブレット版（768px〜1439px）
    css/contact.css（PC版）の px 指定を 1440px 基準で vw に変換
    計算式：px ÷ 1440 × 100 = vw（小数点4桁まで）
    セレクタ・レイアウト構成はPC版から変更していません
------------------------------------------------------- */

@media screen and (min-width: 768px) and (max-width: 1439px) {

    /* -------------------------
        このファイルは contact.html（16_資料請求・お問い合わせ）専用のスタイルです。
        ヘッダー・フッター・共通ボタン（.c-btn-more--sm）は css/common.css を参照しています。
        このページにはFigma上、波形ヒーローは存在せず、
        見出しはオレンジのピル型バッジのみのシンプルな構成です。
    ------------------------- */

    .l-main {
        min-width: 69.4444vw;
        background: var(--color-cream);
    }


    /* -------------------------
        見出し
    ------------------------- */

    .contact-hero {
        padding: 17.3611vw 1.3889vw 0;
        text-align: center;
    }

    .contact-hero__title {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 5.9028vw;
        padding: 0 4.1667vw;
        background: var(--color-orange);
        border-radius: 13.8889vw;
        color: #fff;
        font-size: 3.4722vw;
        font-weight: 700;
        letter-spacing: 10px;
        white-space: nowrap;
    }


    /* -------------------------
        お電話でのお問い合わせ
    ------------------------- */

    .contact-tel {
        padding: 4.1667vw 1.3889vw 0;
    }

    .contact-tel__inner {
        max-width: 100vw;
        margin: 0 auto;
        padding: 0 15.2778vw;
    }

    .contact-tel__box {
        max-width: 70vw;
        margin: 0 auto;
        padding: 4vw 3vw;
        background: var(--color-yellow-pale);
        border-radius: 1.5972vw;
        text-align: center;
    }

    .contact-tel__heading {
        color: var(--color-green);
        font-size: 1.9vw;
        font-weight: 700;
        letter-spacing: 1.5px;
    }

    .contact-tel__phone {
        display: flex;
        align-items: center;
        gap: 1vw;
        margin-top: 2.0833vw;
        text-align: left;
    }

    .contact-tel__phone-body {
        flex: 1;
        min-width: 0;
    }

    .contact-tel__label {
        margin: 0;
        font-size: 1.5972vw;
        font-weight: 700;
        line-height: 2.8472vw;
        font-family: "Noto Sans JP", sans-serif;
    }

    .contact-tel__note {
        margin: 0.2778vw 0 0;
        font-size: 1.25vw;
        letter-spacing: -1px;
    }

    .contact-tel__phone-number {
        flex-shrink: 0;
        text-align: center;
    }

    .contact-tel__phone-numberdiv {
        display: flex;
        align-items: center;
        gap: 0.6944vw;
        line-height: 1;
    }

    .contact-tel__tel-icon {
        flex-shrink: 0;
        width: 3.5417vw;
        height: 3.5417vw;
    }

    .contact-tel__phone-numberdiv a {
        font-size: 4.1667vw;
        font-weight: 700;
        letter-spacing: 3px;
        color: #000;
        text-decoration: none;
    }

    .contact-tel__hours {
        margin: 0.1389vw 0 0;
        font-size: 1.3889vw;
    }


    /* -------------------------
        お問い合わせフォーム
    ------------------------- */

    .contact-form {
        padding: 10.4167vw 1.3889vw 20.8333vw;
    }

    .contact-form__inner {
        max-width: 100vw;
        margin: 0 auto;
        padding: 0 15.2778vw;
    }

    .contact-form__card {
        position: relative;
        max-width: 71vw;
        margin: 0 auto;
        padding: 6.9444vw 7vw;
        background: #fff;
        border-radius: 2.0833vw;
    }

    .contact-form__deco-bird {
        position: absolute;
        top: -4.1667vw;
        right: -3.4722vw;
        width: 12.7083vw;
        height: auto;
    }

    .contact-form__deco-clover {
        display: block;
        width: 10.4167vw;
        height: auto;
        margin: -2.0833vw 0 0 -1.3889vw;
        z-index: 1;
        position: relative;
        right: 2.7778vw;
        top: -2.7778vw;
    }

    .contact-form__lead {
        margin-bottom: 4.1667vw;
        font-size: 1.25vw;
        line-height: 2.0833vw;
        letter-spacing: -0.9px;
    }

    .contact-form__row {
        display: flex;
        align-items: center;
        gap: 2.0833vw;
        padding: 1.1806vw 0;
        border-top: 1px solid #e5e5e5;
    }

    .contact-form__row:first-child {
        border-top: none;
    }

    .contact-form__row--textarea {
        align-items: flex-start;
    }

    .contact-form__label {
        display: flex;
        flex-shrink: 0;
        align-items: center;
        gap: 0.3472vw;
        width: 11.8056vw;
        font-size: 1.25vw;
        font-weight: 400;
        line-height: 1.4;
    }

    .contact-form__required {
        flex-shrink: 0;
        font-size: 0.9722vw;
        font-weight: 700;
        color: var(--color-orange);
    }

    .contact-form__field {
        flex: 1;
        min-width: 0;
    }

    .contact-form__radios {
        display: grid;
        grid-template-columns: repeat(2, max-content);
        column-gap: 4.1667vw;
        row-gap: 0.6944vw;
    }

    .contact-form__radio,
    .contact-form__radios .wpcf7-list-item label {
        display: flex;
        align-items: center;
        gap: 0.6944vw;
        white-space: nowrap;
        font-size: 1.25vw;
        cursor: pointer;
    }

    .contact-form__radio input[type="radio"],
    .contact-form__radios .wpcf7-list-item input[type="radio"] {
        width: 1.25vw;
        height: 1.25vw;
        accent-color: var(--color-green);
        cursor: pointer;
    }

    .contact-form__field input[type="text"],
    .contact-form__field input[type="email"],
    .contact-form__field input[type="tel"] {
        width: 100%;
        height: 2.8472vw;
        padding: 0 1.1111vw;
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 0.5556vw;
        font-size: 1.1111vw;
        font-family: inherit;
    }

    .contact-form__field textarea {
        width: 100%;
        height: 21.25vw;
        padding: 0.8333vw 1.1111vw;
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 0.5556vw;
        font-size: 1.1111vw;
        font-family: inherit;
        line-height: 1.7;
        resize: vertical;
    }

    .contact-form__submit {
        display: flex;
        justify-content: center;
        margin-top: 3.4722vw;
    }

    .contact-form__submit .c-btn-more--sm {
        border: none;
        cursor: pointer;
    }

    /* -------------------------
        確認・完了ページ（contact-confirm.html / contact-thanks.html）
    ------------------------- */

    .contact-form__heading {
        margin-bottom: 2.0833vw;
        font-size: 2.0833vw;
    }

    .contact-form__value {
        padding: 0.3472vw 0;
        font-size: 1.25vw;
    }

    .contact-form__submit--double {
        gap: 1.3889vw;
    }

    .contact-form__submit--double .c-btn-more {
        flex: 0 1 27.0139vw;
    }
}
