/* ==========================================================================
   海の味処 藤田屋：高級和モダン・完全レスポンス対応カスタムCSS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');

body, site-container, input, select, textarea, button {
    font-family: "Noto Serif JP", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif !important;
    -webkit-font-smoothing: antialiased;
    background-color: #ffffff;
    color: #1a1a1a;
}

.fujitaya-form {
    background-color: #ffffff; 
    border: none;
    border-top: 1px solid #0B2545;
    border-bottom: 1px solid #0B2545;
    padding: 50px 15px;
    max-width: 800px;
    margin: 0 auto 50px;
}

.fujitaya-form .form-row {
    margin-bottom: 35px;
}

.fujitaya-form label {
    display: block;
    font-weight: 500;
    color: #0B2545;
    margin-bottom: 12px;
    font-size: 18px;
    letter-spacing: 0.08em;
}

/* 入力欄の基本装飾 */
.fujitaya-form input[type="text"],
.fujitaya-form input[type="tel"],
.fujitaya-form input[type="email"],
.fujitaya-form input[type="number"],
.fujitaya-form input[type="date"],
.fujitaya-form select,
.fujitaya-form textarea {
    width: 100%;
    padding: 14px 14px;
    border: 1px solid #cccccc;
    background-color: #fcfcfc;
    border-radius: 0px;
    font-size: 17px;
    color: #1a1a1a;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.fujitaya-form input:focus,
.fujitaya-form select:focus,
.fujitaya-form textarea:focus {
    border-color: #C5A880;
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 0 5px rgba(197, 168, 128, 0.2);
}

/* --------------------------------------------------------------------------
   ★新設：万能横並びフレックスグループ（PCで横並び、スマホで縦並び）
   -------------------------------------------------------------------------- */
.fujitaya-form .form-flex-group {
    display: flex;
    gap: 20px;
    align-items: center;
    width: 100%;
}

/* ① 日付・時間の比率（等幅 50% : 50%） */
.fujitaya-form .datetime-layout .flex-col {
    flex: 1;
}

/* ② 仕出し商品の比率（選択肢を広く、個数をコンパクトに： 3 : 1） */
.fujitaya-form .item-layout .flex-select {
    flex: 3;
}
.fujitaya-form .item-layout .flex-qty {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.fujitaya-form .item-layout .flex-qty input[type="number"] {
    text-align: center;
}

/* スマホ環境（768px以下）ではすべてを美しい縦並びに強制変換 */
@media (max-width: 768px) {
    .fujitaya-form .form-flex-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .fujitaya-form .datetime-layout .flex-col,
    .fujitaya-form .item-layout .flex-select,
    .fujitaya-form .item-layout .flex-qty {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   仕出し商品ブロックの装飾
   -------------------------------------------------------------------------- */
.fujitaya-form .menu-item-block {
    border-bottom: 1px solid #eeeeee;
    padding: 25px 0;
}
.fujitaya-form .menu-item-block:last-of-type {
    border-bottom: none;
}

.fujitaya-form .item-title {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #1a1a1a;
}

/* バッジ、ラジオボタン、警告、ボタン等のその他デザインは維持 */
.fujitaya-form .badge {
    background-color: #C5A880 !important;
    color: #fff !important;
    border: 1px solid #C5A880;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 0px;
    margin-right: 10px;
    vertical-align: middle;
    font-weight: 700;
}

.fujitaya-form .item-spec-col {
    margin-top: 15px;
    font-size: 15px;
}
.fujitaya-form .wpcf7-list-item {
    margin: 0 20px 0 0;
}

#reserve-date-warning, #catering-date-warning {
    font-size: 15px;
    color: #b38954;
    margin-top: 10px;
}

.fujitaya-form .sliding-panel {
    border-left: 2px solid #C5A880;
    padding: 5px 0 5px 25px;
    margin: 20px 0;
}
.fujitaya-form .sliding-panel .sliding-panel {
    border-left: none;
    padding-left: 0;
}

.fujitaya-form .catering-calculation-panel {
    border-top: 1px dashed rgba(11, 37, 69, 0.3);
    border-bottom: 1px dashed rgba(11, 37, 69, 0.3);
    padding: 40px 20px;
    margin: 40px 0;
    text-align: center;
}

.fujitaya-form .calc-label {
    font-size: 1rem;
    color: #666666;
    font-weight: 600;
}

.fujitaya-form .calc-total {
    font-size: 42px;
    font-weight: 300;
    color: #0B2545;
    margin: 10px 0;
}

.fujitaya-form .calc-alert {
    border: 1px solid #cc0000;
    color: #cc0000;
    padding: 15px;
    margin-top: 15px;
}

.fujitaya-form .form-notice {
    background-color: #fffafb; 
    border-left: 3px solid #8A1C14;
    padding: 20px;
    font-size: 15px;
    color: #333333;
    line-height: 1.8;
    margin: 40px 0;
}
.fujitaya-form .form-notice strong {
    color: #8A1C14;
}

.fujitaya-form .form-submit-container {
    text-align: center;
}

.fujitaya-form input[type="submit"] {
    background-color: #8A1C14;
    color: #ffffff;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 0.15em;
    padding: 20px 65px;
    border: 1px solid #8A1C14;
    cursor: pointer;
    transition: all 0.4s ease;
}

.fujitaya-form input[type="submit"]:hover {
    background-color: #ffffff;
    color: #8A1C14;
    border-color: #8A1C14;
}

/* ==========================================================================
   追加：人数入力の横並び調整（予約フォーム用）
   ========================================================================== */
.fujitaya-form .form-row.inline-qty {
    display: block !important;
}

.fujitaya-form .form-row.inline-qty .qty-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.fujitaya-form .form-row.inline-qty .wpcf7-form-control-wrap {
    flex: 0 0 120px; /* 入力欄の幅を固定 */
}

.fujitaya-form .form-row.inline-qty .qty-unit {
    font-weight: bold;
    color: #1a1a1a;
    font-size: 17px;
    white-space: nowrap;
}

/* スマホ対応：スマホでは少しコンパクトに */
@media (max-width: 480px) {
    .fujitaya-form .form-row.inline-qty .wpcf7-form-control-wrap {
        flex: 0 0 100px;
    }
}

/* ==========================================================================
   追加：無料送迎補足エリアの微調整（予約フォーム用）
   ========================================================================== */
.shuttle-notice-box {
    margin-top: 10px;
    border-left: 4px solid #0b2545 !important;
}

/* ラベル（見出し）の視認性向上 */
.fujitaya-form label {
    font-weight: 700 !important; /* 少し太くしました */
    color: #0b2545 !important;
    font-size: 19px !important;   /* 少しだけ大きく */
    letter-spacing: 0.05em;
    margin-bottom: 15px !important;
}

/* 「必須」の文字を赤色で強調 */
/* HTML側で必須項目には通常[text*]などが使われますが、
   ラベル内に手動で「（必須）」と書いている場合、
   自動的に赤字になるよう調整します */
.fujitaya-form label:contains("必須"), 
.fujitaya-form label:has(.wpcf7-list-item-label) {
    /* 必要に応じてスタイルを追加 */
}

.fujitaya-form .menu-select label {
    font-size: 17px !important;
    color: #1a1a1a !important;
}

/* 必須マークのスタイル */
.fujitaya-form .req {
    color: #d32f2f !important; /* 落ち着いた赤色 */
    font-weight: 600;
    font-size: 0.8em;
    margin-left: 5px;
}
.fujitaya-form .small {
    font-weight: 600;
    font-size: 0.8em;
}

.wpcf7-spinner {
    display: block;
}

.fujitaya-form.confirm .sliding-panel {
    border-left-color: #777;
}

.qty-input-wrap {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==========================================
   確認画面：戻るボタン・送信ボタンの横並びと装飾
   ========================================== */
.fujitaya-form .form-submit-container {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center !important;
    align-items: center !important;
    gap: 1.25rem !important; /* 20px幅の絶妙な余白 */
    margin-top: 2rem !important;
}

/* 「入力画面へ戻る」ボタンの上品な和モダン装飾 */
.fujitaya-form .wpcf7-previous {
    display: inline-block !important;
    background-color: #ffffff !important; /* 白背景 */
    color: #4a5568 !important;            /* 落ち着いたグレー文字 */
    font-weight: 700 !important;
    font-size: 1.0625rem !important;      /* 相対rem基準に統一 */
    letter-spacing: 0.1em !important;
    padding: 1.25rem 2.5rem !important;  /* 送信ボタンと同じ高さにするための余白 */
    border: 1px solid #cbd5e1 !important;  /* 繊細な薄いボーダー */
    cursor: pointer !important;
    transition: all 0.3s ease !important;  /* ふわっと変化するアニメーション */
    border-radius: 0px !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* ホバー時に上品な薄グレーに切り替わる */
.fujitaya-form .wpcf7-previous:hover {
    background-color: #f8fafc !important;
    color: #1a202c !important;
    border-color: #94a3b8 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
}

/* スマホ表示（768px以下）ではボタンを縦並びにきれいに折り返す */
@media screen and (max-width: 768px) {
    .fujitaya-form .form-submit-container {
        flex-direction: column-reverse !important; /* 戻るを下に、送信を上にして直感的に */
        gap: 0.875rem !important;
        width: 100% !important;
    }
    .fujitaya-form .wpcf7-previous,
    .fujitaya-form .wpcf7-submit {
        width: 100% !important;
        padding: 1rem 1.5rem !important;
    }
}

/* ==========================================
   B. 予約・仕出しフォーム：サンクスページ高級和モダンデザイン
   （Inspired by THE KAWABUN NAGOYA）
   ========================================== */
.thanks-container {
    max-width: 720px; /* 引き締まった高級感を生む幅に調整 */
    margin: 0 auto;
    padding: 50px 15px;
    font-family: "Noto Serif JP", "Georgia", "Hiragino Mincho ProN", serif !important; /* 美しい明朝体に統一 */
    color: #1f1f1f; /* 柔らかく上品な炭黒 */
    letter-spacing: 0.06em;
}

/* キャッチコピーエリア */
.thanks-header {
    text-align: center;
    margin-bottom: 50px;
}
.thanks-title {
    font-family: "Noto Serif JP", serif !important;
    font-size: 1.85rem;
    color: #0b2545; /* 藤田屋の藍色 */
    margin-bottom: 25px;
    font-weight: 500; /* KAWABUN風に太すぎず、繊細で美しい太さに */
    line-height: 1.6;
    letter-spacing: 0.12em; /* ゆったりとした空気感 */
}
.thanks-lead {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.8;
}

/* 重要なお知らせ（仮予約・仮注文アラート） */
/* 派手なイエロー・レッドを一切廃止し、トープ（砂白色）×真鍮ゴールドの静寂ある高級感に変更 */
.thanks-alert-box {
    background-color: #faf9f6 !important; /* 極めて上品な薄い砂白色 */
    border: 1px solid #e4decb !important;  /* 薄い真鍮色の細枠 */
    border-left: 3px solid #bfa15f !important; /* アクセントのシャンパンゴールド */
    padding: 30px 25px;
    margin-bottom: 40px;
    border-radius: 0px !important; /* 丸みを完全に排除 */
}
.thanks-alert-title {
    margin-top: 0;
    color: #3f3529 !important; /* 深いダークブロンズ */
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.thanks-alert-text {
    font-size: 0.9rem;
    color: #4a4a4a;
    line-height: 1.8;
    margin: 15px 0 0 0;
}
.thanks-alert-list {
    font-size: 0.85rem;
    color: #555555;
    line-height: 1.8;
    margin: 15px 0 0 20px;
    padding: 0;
}
.thanks-alert-list .alert-danger {
    color: #8a1c14 !important; /* 派手な赤を落ち着いた茜色（クラシックレッド）に変更 */
    font-weight: 700;
}

/* 自動返信メール案内ボックス */
.thanks-info-box {
    background-color: #fcfcfc !important;
    border: 1px solid #eeeeee !important;
    padding: 25px 25px;
    margin-bottom: 40px;
    border-radius: 0px !important; /* シャープな直角 */
}
.thanks-info-title {
    margin-top: 0;
    color: #0b2545;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}
.thanks-info-text {
    font-size: 0.85rem;
    color: #555555;
    line-height: 1.7;
    margin: 12px 0 0 0;
}

/* お急ぎ案内ボックス */
.thanks-contact-box {
    text-align: center;
    background-color: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    padding: 35px 20px;
    margin-bottom: 50px;
    border-radius: 0px !important;
}
.thanks-contact-title {
    margin-top: 0;
    color: #1f1f1f;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.thanks-contact-text {
    font-size: 0.85rem;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* お急ぎの電話ボタン：完全に角を削った大人のシャープ・ボタン */
.thanks-phone-btn {
    display: inline-block;
    background-color: #0b2545 !important; /* 藤田屋ネイビー */
    color: #ffffff !important;
    padding: 14px 45px;
    font-size: 1.15rem;
    font-weight: 700;
    border: 1px solid #0b2545 !important;
    border-radius: 0px !important; /* 完全にシャープに */
    letter-spacing: 0.08em;
    transition: all 0.4s ease !important;
    text-decoration: none !important;
}
.thanks-phone-btn:hover {
    background-color: #ffffff !important;
    color: #0b2545 !important;
    box-shadow: 0 5px 15px rgba(11, 37, 69, 0.08);
}
.thanks-phone-btn i {
    font-size: 0.95em;
    margin-right: 6px;
}
.thanks-contact-note {
    font-size: 0.75rem;
    color: #888888;
    margin: 12px 0 0 0;
    letter-spacing: 0.04em;
}

/* 区切り線（非常に薄い上品な線に） */
.thanks-divider {
    border: none;
    border-top: 1px solid #eaeaea;
    margin: 40px 0;
}

/* 下部ナビゲーションボタン群 */
.thanks-btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.thanks-btn {
    display: inline-block;
    text-decoration: none;
    padding: 14px 40px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 0px !important; /* 丸みの完全排除 */
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    text-align: center;
}

/* ホームへ戻るボタン：ミニマルな白枠の美しいボタン */
.thanks-btn.btn-secondary {
    background-color: #ffffff !important;
    color: #555555 !important;
    border: 1px solid #cccccc !important;
}
.thanks-btn.btn-secondary:hover {
    background-color: #fafafa !important;
    color: #1f1f1f !important;
    border-color: #888888 !important;
}

/* もう一つのボタン（最新情報へ、お品書きへなど）：KAWABUNのシグネチャーゴールド */
.thanks-btn.btn-primary {
    background-color: #bfa15f !important; /* KAWABUNゴールド */
    color: #ffffff !important;
    border: 1px solid #bfa15f !important;
}
.thanks-btn.btn-primary:hover {
    background-color: #ffffff !important;
    color: #bfa15f !important;
    box-shadow: 0 4px 10px rgba(191, 161, 95, 0.15);
}

/* レスポンシブ対応（スマホ表示時に上品さを崩さない設定） */
@media screen and (max-width: 599px) {
    .thanks-container {
        padding: 30px 10px;
    }
    .thanks-title {
        font-size: 1.4rem;
        line-height: 1.5;
    }
    .thanks-alert-box {
        padding: 25px 15px;
    }
    .thanks-btn-group {
        flex-direction: column;
        gap: 12px;
    }
    .thanks-btn {
        width: 100% !important;
    }
    .thanks-phone-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 1.1rem;
    }
}


/* ==========================================================================
   追加改修：大人・子供人数入力の並列表示と予算入力欄の最適化
   ========================================================================== */

/* 大人と子供の入力欄用の極細ラベル */
.fujitaya-form .qty-label {
    font-size: 14px !important;
    color: #4a5568 !important;
    margin-bottom: 6px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
}

/* 予算数値インプット欄の和モダン装飾（数字のみの入力時に適切な幅を持たせる） */
.fujitaya-form input[type="number"]#course-price {
    font-family: 'Noto Serif JP', serif !important;
    font-weight: 700;
    color: #0B2545;
    font-size: 20px;
    letter-spacing: 0.05em;
    background-color: #faf9f6; /* KAWABUN風トープ */
    border: 1px solid #C5A880; /* 真鍮ゴールド枠 */
    padding: 12px 14px;
}

/* 予算数値入力フィールドの固定横幅（160px）を保持し、単位「円（税別）」との美しい横一列表示を約束する */
.fujitaya-form .inline-qty .wpcf7-form-control-wrap {
    flex: 0 0 160px !important; /* 入力欄が潰れず適正幅を維持 */
}

/* 車椅子台数などの1列・コンパクト並列制御 */
#wheelchair-area .qty-input-wrap {
    max-width: 150px;
}

/* ラジオボタン全体の行間調整 */
.fujitaya-form .menu-select {
    padding: 5px 0;
}
.fujitaya-form .menu-select .wpcf7-list-item {
    display: inline-block;
    margin: 8px 24px 8px 0 !important;
}

/* スマホ表示（768px以下）での1列あたりのマージン調整 */
@media (max-width: 768px) {
    .fujitaya-form .menu-select .wpcf7-list-item {
        display: block;
        margin-right: 0 !important;
        border-bottom: 1px dashed #e2e8f0;
        padding-bottom: 8px;
    }
    .fujitaya-form .menu-select .wpcf7-list-item:last-child {
        border-bottom: none;
    }
    .fujitaya-form {
        padding: 30px 5px;
    }
}

/* ==========================================================================
   追加改修：仕出し注文フォームの自由価格横並び・注意書き装飾
   ========================================================================== */

/* 注文金額入力欄（大人・子供やご予算と同じ上品なゴールド枠と明朝文字） */
.fujitaya-form input[type="number"]#odo-price,
.fujitaya-form input[type="number"]#sashimi-odo-price,
.fujitaya-form input[type="number"]#sashimi-price,
.fujitaya-form input[type="number"]#fune-price,
.fujitaya-form input[type="number"]#sushi-price {
    font-family: 'Noto Serif JP', serif !important;
    font-weight: 700;
    color: #0B2545;
    font-size: 18px;
    background-color: #faf9f6;
    border: 1px solid #C5A880;
    padding: 10px 12px;
}

/* 料理ごとの価格と個数の均等な空気感をキープ */
.fujitaya-form .menu-item-block .qty-input-wrap.inline-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fujitaya-form .menu-item-block .qty-input-wrap.inline-qty .wpcf7-form-control-wrap {
    flex: 0 0 150px !important;
}

/* 無料配達に関する補足案内（ゴールドベージュの上品な枠） */
.delivery-notice-box {
    border-left: 4px solid #C5A880 !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
}