/* 予約画面。公開サイトの色と形に合わせる */
#booking { scroll-margin-top: 90px; }

.test-notice {
  padding: 10px 16px;
  background: #fff4d6;
  color: #5c4300;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.booking-card {
  max-width: 640px;
  margin: 28px auto 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.booking-step { margin-bottom: 24px; }

.booking-step > label,
.booking-step > legend,
.booking-label {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  font-weight: 800;
}

.booking-step fieldset { margin: 0; padding: 0; border: 0; }

.booking-card input:not([type="checkbox"]),
.booking-card select,
.booking-card textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.booking-field { margin-bottom: 16px; }
.booking-field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }

.booking-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px;
}

.slot {
  min-height: 48px;
  border: 1px solid var(--green);
  border-radius: 12px;
  background: #fff;
  color: var(--green);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.slot[aria-pressed="true"] { background: var(--green); color: #fff; }

/* 開始時間は時間帯ごとに分ける。深夜は色を変えて見つけやすくする */
.booking-slots { display: block; }
.slot-group { margin: 14px 0 8px; font-size: 14px; font-weight: 800; color: var(--ink); }
.slot-group:first-child { margin-top: 0; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot-night { border-color: #2f3a66; color: #2f3a66; }
.slot-night[aria-pressed="true"] { background: #2f3a66; color: #fff; }
.booking-summary p, .booking-summary ul { margin: 0 0 6px; }
.booking-summary ul { padding-left: 1.2em; font-weight: 600; font-size: 14px; }
.summary-plan { font-size: 14px; }
.summary-total { font-size: 18px; }
.summary-hint { font-size: 13px; font-weight: 700; color: #2f3a66; }
.booking-night-notice { margin: 0 0 16px; padding: 14px; border: 1px solid #2f3a66; border-radius: 12px; font-size: 14px; line-height: 1.7; }
.booking-night-notice ul { margin: 6px 0 0; padding-left: 1.2em; }

.booking-summary {
  margin: 16px 0;
  padding: 14px;
  border-radius: 12px;
  background: var(--mint);
  font-weight: 800;
}

.booking-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
  font-size: 14px;
  line-height: 1.7;
}

.booking-agree input { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.booking-agree a, .policy-links a, .policy a { text-decoration: underline; }

.booking-message {
  margin: 12px 0;
  padding: 12px;
  border-radius: 12px;
  background: #fdecea;
  color: #8c2318;
  font-weight: 700;
}

.booking-card .btn {
  width: 100%;
  border: 0;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.booking-card .btn:disabled { opacity: .6; cursor: default; }
.booking-note { color: #5f6f6b; font-size: 13px; line-height: 1.7; }

.policy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 14px 0;
  font-size: 13px;
}

[hidden] { display: none !important; }

.policy {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 80px;
  line-height: 1.9;
}

.policy h1 { font-size: 28px; line-height: 1.4; }
.policy h2 { margin-top: 32px; font-size: 18px; }
.policy table { width: 100%; border-collapse: collapse; }
.policy th, .policy td { padding: 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.policy th { width: 34%; background: var(--mint); }

.tbd {
  padding: 1px 6px;
  border-radius: 6px;
  background: #fff4d6;
  color: #5c4300;
  font-weight: 700;
}

/* 予約状況の画面 */
.result { padding-top: 32px; }
.result-brand { font-size: 13px; letter-spacing: .12em; color: #668b84; }
.result-brand b { color: var(--ink); font-size: 18px; }
.result-card { margin: 18px 0 28px; padding: 24px; border-radius: 18px; background: #fff; box-shadow: 0 12px 40px rgba(19, 53, 48, .08); }
.result-card h1 { margin: 8px 0; font-size: 24px; }
.result-state { display: inline-block; margin: 0; padding: 2px 12px; border-radius: 999px; background: var(--mint); color: var(--green); font-size: 13px; font-weight: 800; }
.result-state[data-status="confirmed"] { background: var(--green); color: #fff; }
.result-state[data-status="canceled"], .result-state[data-status="payment_failed"], .result-state[data-status="expired"], .result-state[data-status="released"] { background: #fdecea; color: #8c2318; }
.result-table th { width: 38%; }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.result-link { text-decoration: underline; font-weight: 700; }

/* 深夜・早朝の料金カード */
.price-night { margin-top: 18px; }
.price-night strong { font-size: 28px; }
.price-night ul { margin: 14px 0; }
.price-night-note { margin: 8px 0 0; font-size: 14px; line-height: 1.7; }
.price-night .tbd { font-size: 13px; }

/* パックへの切り替えの案内 */
.pack-offer { margin-top: 12px; padding: 14px; border: 2px solid #2f3a66; border-radius: 12px; background: #fff; }
.pack-offer p { margin: 0 0 8px; font-weight: 700; }
.pack-offer p:first-child { font-size: 16px; color: #2f3a66; }
.pack-offer p:nth-child(2) { font-size: 13px; font-weight: 600; }
.pack-switch { width: 100%; background: #2f3a66; }

/* 定期利用の案内 */
.price-regular { margin-top: 18px; }
.price-regular strong { font-size: 28px; }
.price-regular ul { margin: 14px 0; }
.regular-invite { padding-top: 48px; padding-bottom: 48px; }
.regular-invite h2 { margin: 6px 0 12px; }
.regular-invite p { line-height: 1.8; }
.regular-invite-points { margin: 14px 0 20px; padding-left: 1.2em; line-height: 1.9; font-weight: 700; }
.regular-invite-points .tbd { font-size: 13px; font-weight: 600; }

/* 割引の案内 */
.price-discount { margin-top: 18px; }
.price-discount li { line-height: 1.7; }
.price-discount .tbd { font-size: 13px; }

/* 料金のポイント（トップページ） */
.price-points { margin-top: 18px; }
.price-points ul { margin: 14px 0; padding: 0; list-style: none; }
.price-points li { padding: 9px 0; border-bottom: 1px solid var(--line); line-height: 1.7; }
.price-points li strong { display: block; color: var(--green); }
.price-points .tbd { font-size: 12px; }
/* 料金ページ */
.regular-lead-dark { font-weight: 700; }
.price-page h3 { margin: 20px 0 8px; font-size: 17px; }
.price-examples th, .price-examples td { padding: 10px 8px; font-size: 13px; text-align: center; white-space: normal; }
.price-cta { margin: 40px 0 0; text-align: center; }
.price-examples { table-layout: fixed; }
.price-examples th, .price-examples td { padding: 10px 4px; font-size: 13px; text-align: right; white-space: nowrap; }
.price-examples th { width: 3.5em; text-align: left; }
.price-page .regular-price td { white-space: normal; }
.price-page .price-examples td { white-space: nowrap; }
.price-card.price-points li strong { font-size: 17px; line-height: 1.5; }
.price-card.price-points > p:first-child { font-weight: 800; }
