/* ---------- Booking page (/private-tours/book/) ---------- */

/* spots list */
.book-spots{
  list-style:none;
  margin:0 auto; padding:0;
  max-width:600px;
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(150px, 1fr));
  gap:0.9rem 1rem;
}
.book-spots li{
  display:flex; align-items:center; gap:0.7rem;
  font-size:0.92rem; line-height:1.35;
  color:var(--sumi);
}
.book-spots img{
  width:48px; height:48px; flex-shrink:0;
  object-fit:cover; display:block;
  border-radius:3px; border:1px solid rgba(91,59,120,0.18);
}

/* form */
.book-form{
  max-width:520px;
  margin:0 auto;
}
.book-form label,
.book-pay legend{
  color:var(--sumi-soft);
}
.book-form select{
  width:100%;
  padding:0.75rem 0.85rem;
  border:1px solid var(--line);
  background:#fff;
  font-family:'Poppins', sans-serif;
  font-size:0.95rem;
  color:var(--ink);
}
/* 入力欄の外枠：通常はクレマチス色、選択時は太く */
.book-form input:not([type="radio"]):not([type="checkbox"]),
.book-form select,
.book-form textarea{border:1px solid var(--clematis);}
.book-form input:not([type="radio"]):not([type="checkbox"]):focus,
.book-form select:focus,
.book-form textarea:focus{
  border-color:var(--clematis); outline:none;
  box-shadow:inset 0 0 0 1px var(--clematis);
}

.book-pay{
  border:none; margin:0; padding:0;
  display:flex; flex-wrap:wrap; gap:0.6rem 1.6rem;
}
.book-pay legend{
  display:block; width:100%;
  padding:0; margin-bottom:0.6rem;
  font-size:0.78rem; letter-spacing:0.04em; text-transform:uppercase;
}
.book-form .book-radio{
  display:inline-flex; align-items:center; gap:0.45rem;
  margin:0;
  font-size:0.95rem; letter-spacing:0; text-transform:none;
  color:var(--ink); cursor:pointer;
}
.book-form .book-radio input{
  width:auto; padding:0; margin:0;
  accent-color:var(--clematis);
}

.book-form .menu-cta{margin-top:0.8rem;}
.book-form .menu-cta .btn-outline{cursor:pointer; font-family:'Poppins', sans-serif;}

@media (max-width:680px){
  .book-spots{grid-template-columns:1fr 1fr; gap:0.8rem;}
  .book-spots img{width:40px; height:40px;}
  .book-spots li{font-size:0.85rem;}
}

/* 「Booking」の文字サイズ */
.page-book .menu-eyebrow{font-size:1.5rem;}

/* 枠の中の背景：ベージュ */
.page-book .menu-sheet{background:var(--paper-soft);}

/* 希望コース：固定表示（選択不可） */
.book-form .book-label{
  display:block; font-size:0.78rem; letter-spacing:0.04em;
  text-transform:uppercase; color:var(--sumi-soft); margin-bottom:0.4rem;
}
.book-form .book-fixed{
  margin:0;
  font-size:0.95rem; font-weight:500;
  color:var(--ink);
}

/* 枠の幅：商品ページ（780px）に統一 */
.page-book .menu-sheet{max-width:780px;}

/* Fully Enjoy Kyoto：2 Days の下にアイコン（一列横並び・中央揃え） */
.book-head-icons{
  list-style:none; padding:0;
  margin:1.1rem auto 0;
  display:flex; flex-wrap:nowrap; justify-content:center;
  gap:0.6rem;
}
.book-head-icons[hidden]{display:none;}
.book-head-icons li{flex:0 1 64px; min-width:0;}
.book-head-icons img{
  width:100%; height:auto; aspect-ratio:1 / 1; display:block; object-fit:cover;
  border-radius:3px; border:1px solid rgba(91,59,120,0.18);
}
@media (max-width:680px){
  .book-head-icons{gap:0.3rem;}
}

/* Notes 欄の補足文 */
.book-form .book-hint{
  margin:-0.1rem 0 0.5rem;
  font-size:0.85rem; line-height:1.5;
  color:var(--sumi-soft);
}

/* 支払いロゴ＋キャンセルポリシー（カスタムページと同じ表示） */
.book-form .book-pay-info{margin-top:0.4rem;}
.book-form .book-pay-info .pay-logos{margin-top:0.2rem;}
.book-form .book-pay-info .cancel-policy .cancel-h,
.book-form .book-pay-info .cancel-policy .cancel-note{text-align:center;}
.book-form .book-pay-info .cancel-row{font-size:0.84rem; color:#3d3346;}
.book-form .book-pay-info .cancel-policy .cancel-note{color:#3d3346;}

/* Book Now の上：カレンダー確認の一文＋ボタン */
.book-form .book-avail-check{margin:0.8rem auto 0; text-align:center; background:#fff;}
.book-form .book-avail-check p{font-size:0.9rem; color:#3d3346;}
.book-form .book-avail-check .btn-calendar{margin:0.3rem 0 0;}

/* Back to Tour / Back to Tours を縦に並べる */
.page-book .tour-back{
  display:flex; justify-content:center; align-items:stretch; flex-wrap:wrap;
  gap:0.8rem 1rem;
}
.page-book .tour-back .btn-back{
  flex:0 1 220px; min-width:200px;
  text-align:center; white-space:nowrap;
  padding-left:1.2rem; padding-right:1.2rem;
}
@media (max-width:480px){
  .page-book .tour-back{flex-direction:column; align-items:center;}
  .page-book .tour-back .btn-back{flex:none; width:220px;}
}

/* 送信フォーム（Web3Forms） */
.book-form .book-botcheck{display:none;}
/* 希望日：Month / Day / Year を横並び */
.book-date{display:grid; grid-template-columns:2fr 1fr 1.3fr; gap:0.6rem;}
.book-form .error-msg{
  display:none;
  padding:0.9rem 1rem;
  background:rgba(160,60,60,0.08);
  border:1px solid #a03c3c;
  color:#a03c3c;
  font-size:0.9rem;
}
.book-form .error-msg.show{display:block;}
.book-form .error-msg a{color:inherit;}
.book-form .menu-cta .btn-outline:disabled{opacity:0.55; cursor:wait;}

/* 選んだ日付の表示と「日付を変える」 */
.book-date-picked{
  display:flex; flex-wrap:wrap; align-items:baseline; gap:0.4rem 1rem;
}
.book-date-picked .book-fixed{margin:0;}
.book-date-picked[hidden],
.book-date[hidden]{display:none;}
.book-date-change{
  padding:0;
  border:none; background:none;
  font-family:'Poppins', sans-serif;
  font-size:0.85rem;
  color:var(--clematis);
  text-decoration:underline;
  cursor:pointer;
}

/* キャンセルポリシー（ツアー詳細ページと同じ文字色） */
.page-book .menu-desc .cancel-row{font-size:0.84rem; color:#3d3346;}
.page-book .menu-desc .cancel-policy .cancel-note{color:#3d3346;}

/* 予約ページのカレンダー（ツアー詳細ページと同じ見た目） */
.book-cal{margin-top:0.4rem;}
.book-cal[hidden]{display:none;}

/* 送信後に隠す・出す（Book Now ／ 下のボタン） */
.book-form .menu-cta[hidden],
.page-book .tour-back[hidden]{display:none;}

/* 送信ボタン上の個人情報の取り扱い */
.book-form .book-privacy{
  margin:0.4rem auto 0;
  max-width:520px;
  font-size:0.8rem; line-height:1.6;
  color:var(--sumi-soft);
  text-align:center;
}

/* 8名以上になったときの料金欄（上限の案内に切り替え） */
.book-form .book-fee-over{font-size:0.9rem; color:#a0303a;}
