#reservation { scroll-margin-top: 100px; }
#booking-app {
  --booking-gold: #dec275;
  --booking-ink: #3c3c3c;
  --booking-line: #dcd5c8;
  box-sizing: border-box;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 48px) clamp(14px, 3vw, 36px);
  background: #fff;
  color: var(--booking-ink);
  font: 400 16px/1.75 "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  text-align: left;
  overflow-wrap: anywhere;
}
#booking-app *, #booking-app *::before, #booking-app *::after { box-sizing: border-box; }
#booking-app [hidden] { display: none !important; }
#booking-app h2, #booking-app h3, #booking-app h4, #booking-app p { margin: 0; color: inherit; }
#booking-app .booking-heading { font-family: "Noto Serif JP", "Yu Mincho", serif; font-size: clamp(28px, 5vw, 38px); font-weight: 500; line-height: 1.5; letter-spacing: .07em; text-align: center; }
#booking-app .booking-intro { margin: 14px 0 26px; text-align: center; }
#booking-app .booking-intro span { display: inline-block; }
#booking-app .booking-banner { padding: 14px 16px; border: 1px solid var(--booking-line); background: #f8f5ef; font-size: 14px; line-height: 1.8; margin-bottom: 30px; }
#booking-app .booking-step { font-family: "Noto Serif JP", "Yu Mincho", serif; font-size: clamp(20px, 3vw, 24px); font-weight: 500; line-height: 1.5; margin: 32px 0 22px; scroll-margin-top: 110px; }
#booking-app .booking-calendar-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
#booking-app .booking-month-panel, #booking-app .booking-day-panel { min-width: 0; }
#booking-app .booking-month-nav { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px; margin-bottom: 12px; }
#booking-app .booking-month-nav h4 { font-size: 18px; text-align: center; font-weight: 500; }
#booking-app button, #booking-app input, #booking-app select, #booking-app textarea { font: inherit; letter-spacing: normal; }
#booking-app button { cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
#booking-app .booking-month-arrow { width: 44px; height: 44px; padding: 0; border: 1px solid var(--booking-line); border-radius: 4px; background: #fff; color: var(--booking-ink); font-size: 26px; }
#booking-app .booking-calendar { width: 100%; margin: 0; table-layout: fixed; border-spacing: 0; border-collapse: collapse; }
#booking-app .booking-calendar th { border: 0; padding: 5px 0 10px; font-size: 13px; font-weight: 400; text-align: center; background: #fff; }
#booking-app .booking-calendar td { height: 60px; border: 1px solid #e8e3da; padding: 0; text-align: center; background: #fff; vertical-align: middle; }
#booking-app .booking-date { width: 100%; min-width: 0; min-height: 60px; padding: 3px 0; display: flex; align-items: center; flex-direction: column; justify-content: center; gap: 0; background: #fff; color: var(--booking-ink); border: 0; border-radius: 0; line-height: 1.45; }
#booking-app .booking-date-number { font-size: 15px; }
#booking-app .booking-date-symbol { font-size: 16px; font-weight: 500; color: #79602f; }
#booking-app .booking-date:disabled { cursor: default; background: #f7f7f5; color: #777; opacity: 1; }
#booking-app .booking-date:disabled .booking-date-symbol { color: #737373; font-size: 12px; }
#booking-app .booking-date.is-selected { background: #f3ebdc; box-shadow: inset 0 0 0 2px var(--booking-gold); }
#booking-app .booking-day-title { font-size: 16px; font-weight: 500; margin: 0 0 14px; scroll-margin-top: 110px; }
#booking-app .booking-slots { display: grid; gap: 8px; }
#booking-app .booking-slot { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--booking-line); border-radius: 4px; color: var(--booking-ink); background: #fff; font-size: 15px; }
#booking-app .booking-slot-state { font-size: 13px; white-space: nowrap; }
#booking-app .booking-slot.is-selected { border-color: var(--booking-gold); background: #f3ebdc; }
#booking-app .booking-slot:disabled { color: #747474; background: #f6f6f4; cursor: default; }
#booking-app .booking-legend { margin-top: 16px; font-size: 12px; line-height: 1.8; }
#booking-app .booking-help { margin-top: 12px; font-size: 14px; line-height: 1.8; color: #5f5f5f; }
#booking-app .booking-chosen { margin: 26px 0 12px; padding: 16px 0; border-top: 1px solid var(--booking-line); border-bottom: 1px solid var(--booking-line); font-weight: 500; }
#booking-app fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
#booking-app .booking-form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
#booking-app .booking-field { display: flex; flex-direction: column; min-width: 0; gap: 7px; }
#booking-app .booking-field label { font-size: 14px; font-weight: 500; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
#booking-app .booking-required { color: #686050; font-weight: 400; font-size: 11px; }
#booking-app .booking-field input, #booking-app .booking-field select, #booking-app .booking-field textarea { width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; border: 1px solid #a9a499; border-radius: 4px; background: #fff; color: var(--booking-ink); font-size: 16px; line-height: 1.6; box-shadow: none; }
#booking-app .booking-field select { text-overflow: ellipsis; padding-right: 24px; }
#booking-app .booking-field textarea { resize: vertical; }
#booking-app .booking-field-error { color: #9a2929; font-size: 13px; }
#booking-app .booking-field-error:empty { display: none; }
#booking-app [aria-invalid="true"] { border-color: #9a2929; }
#booking-app .booking-consent { margin: 26px 0; }
#booking-app .booking-consent label { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; cursor: pointer; padding: 8px 0; }
#booking-app .booking-consent input { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; accent-color: #80642e; }
#booking-app a { color: #705522; text-decoration: underline; text-underline-offset: 3px; }
#booking-app .booking-button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 20px; border: 1px solid var(--booking-line); border-radius: 4px; background: #fff; color: var(--booking-ink); text-decoration: none; font-size: 15px; line-height: 1.6; }
#booking-app .booking-primary { width: 100%; min-height: 56px; background: var(--booking-gold); border-color: var(--booking-gold); color: #171717; font-weight: 500; text-align: center; }
#booking-app button:disabled { cursor: default; }
#booking-app .booking-button:disabled, #booking-app .booking-month-arrow:disabled { background: #eeeae3; border-color: #ddd7cd; color: #746e62; }
#booking-app :focus-visible { outline: 3px solid #665029; outline-offset: 3px; }
#booking-app .booking-error { background: #fff8f6; border: 1px solid #c79b90; padding: 18px; margin-bottom: 24px; scroll-margin-top: 110px; }
#booking-app .booking-error ul { margin: 10px 0; padding-left: 20px; }
#booking-app .booking-error .booking-button { margin-top: 12px; }
#booking-app .booking-review-notice { margin-bottom: 22px; font-size: 14px; }
#booking-app .booking-summary { display: grid; grid-template-columns: 1fr; margin: 0; }
#booking-app .booking-summary dt { padding: 14px 0 3px; border-top: 1px solid var(--booking-line); font-size: 13px; color: #62605b; }
#booking-app .booking-summary dd { margin: 0; padding: 0 0 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
#booking-app .booking-actions { display: flex; flex-direction: column-reverse; gap: 12px; margin-top: 26px; }
#booking-app .booking-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (min-width: 760px) {
  #booking-app .booking-calendar-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; }
  #booking-app .booking-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  #booking-app .booking-field-full { grid-column: 1 / -1; }
  #booking-app .booking-summary { grid-template-columns: 160px minmax(0, 1fr); }
  #booking-app .booking-summary dt, #booking-app .booking-summary dd { border-top: 1px solid var(--booking-line); padding: 16px 0; }
  #booking-app .booking-actions { flex-direction: row; }
  #booking-app .booking-actions .booking-primary { flex: 1; }
}
@media (hover: hover) {
  #booking-app .booking-date:not(:disabled):hover, #booking-app .booking-slot:not(:disabled):hover { background: #f8f3e9; }
  #booking-app .booking-primary:not(:disabled):hover { background: #d1b262; border-color: #d1b262; }
}
@media (max-width: 359px) {
  #booking-app { padding-inline: 6px; }
  #booking-app .booking-calendar { width: calc(100% + 10px); margin-inline: -5px; }
}
@media (prefers-reduced-motion: reduce) {
  #reservation, #booking-app, #booking-app * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
