/*
 * Web予約（/reserve/）と送信完了（/reserve/thanks/）だけで読む。subpages.css の後。
 * subpages.css は版の番号が固定(ver=0.1.25)でブラウザに古いものが残るため、このファイルは更新時刻つきで読み込む（inc/reservation-form.php）。
 */

/* 項目名の帯の色をサイトの色(--primary-dark)に合わせる（2026-10-09。以前は旧予約フォームの #5f7fac。subpages.css 側も同じ値に直してある）。
   白い文字とのコントラスト 5.9:1（#5f7fac は 4.1:1） */
.reserve-field-label { background: var(--primary-dark); }

/* ===== 送信完了 ===== */
/* 書体はサイト共通の明朝(base.css の body)のまま。2026-10-13 同じ指定の重なりを削除(元はしっぽり明朝にするための指定) */
.reserve-thanks-section { padding-top: 30px; }
.reserve-thanks {
  max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 48px 48px 40px; text-align: center;
}
.reserve-thanks-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px;
  border-radius: 50%; background: var(--primary-light); color: var(--primary);
}
.reserve-thanks-title {
  margin: 18px 0 0; font-size: 24px; font-weight: 800; color: var(--navy); line-height: 1.5; letter-spacing: 0.02em;
}
.reserve-thanks-title span { display: inline-block; }
.reserve-thanks-text { margin: 18px 0 0; font-size: 15px; line-height: 1.95; color: var(--text); }
.reserve-thanks-text strong { color: var(--navy); font-weight: 700; }
.reserve-thanks-text strong span { display: inline-block; } /* 文の切れ目でだけ折り返す */
.reserve-thanks-note {
  margin: 28px auto 0; max-width: 620px; padding: 16px 20px; text-align: left;
  background: var(--primary-lighter); border-left: 3px solid var(--primary); border-radius: var(--radius-sm);
}
.reserve-thanks-note-title { margin: 0 0 6px; font-size: 13.5px; font-weight: 800; color: var(--navy); }
.reserve-thanks-note ul { margin: 0; padding-left: 1.2em; }
.reserve-thanks-note li { font-size: 13.5px; line-height: 1.85; color: var(--text); }
.reserve-thanks-actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.reserve-thanks-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 220px;
  padding: 15px 28px; font-size: 15px; font-weight: 800; border-radius: 6px; text-decoration: none;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.reserve-thanks-btn--tel { color: var(--primary-dark); background: #fff; border: 1.5px solid var(--primary); }
.reserve-thanks-btn--tel:hover { background: var(--primary-lighter); }
.reserve-thanks-btn--home { color: #fff; background: var(--primary-dark); border: 1.5px solid var(--primary-dark); box-shadow: var(--shadow); }
.reserve-thanks-btn--home:hover { background: var(--navy); border-color: var(--navy); box-shadow: var(--shadow-hover); }
.reserve-thanks-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

@media (max-width: 782px) {
  .reserve-thanks { padding: 32px 20px 28px; }
  .reserve-thanks-title { font-size: 20px; }
  .reserve-thanks-text { font-size: 14px; text-align: left; }
  .reserve-thanks-btn { width: 100%; }
}
