/* Customer pages: one responsive style, independent of the admin screen. */
:root{color-scheme:light;--ink:#423b31;--muted:#71685b;--paper:#faf7ef;--line:#ded8cb;--green:#356448;--orange:#ad5729;--soft:#eef3e9}
*{box-sizing:border-box}
html{scroll-padding-top:24px}
body{margin:0;color:var(--ink);background:var(--paper);font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;line-height:1.7}
[hidden]{display:none!important}
a{color:var(--green);text-underline-offset:5px}
a:hover{text-decoration-thickness:2px}
.topbar{border-top:5px solid #dc9959;background:#fffdf8;border-bottom:1px solid var(--line)}
.brand{display:block;max-width:1100px;margin:auto;padding:18px 24px;color:var(--ink);font-size:18px;font-weight:800;letter-spacing:.04em;text-decoration:none}
.container{width:100%;max-width:1040px;padding:0 24px;margin:40px auto 64px}
h1{font-size:36px;line-height:1.35;letter-spacing:.02em;margin:16px 0;color:var(--ink)}
h2{font-size:20px;line-height:1.5;margin:0 0 20px}
p{margin:12px 0}
.muted,.intro{color:var(--muted);font-size:14px}
.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:28px;margin:24px 0;min-width:0}
.home-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:center;padding:24px 0 40px}
.welcome h1{font-size:52px;margin:12px 0 24px}
.eyebrow{color:var(--orange);font-size:14px;font-weight:700;letter-spacing:.12em}
.home-facts{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 32px}
.home-facts span{padding:5px 12px;background:#eee9db;border-radius:6px;font-size:13px}
button,.btn{font:inherit;cursor:pointer;font-weight:700;min-height:48px;border:1px solid #bdcebd;border-radius:8px;padding:12px 20px;background:#fff;color:var(--green);text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:12px}
button.primary,.btn.primary{background:var(--green);border-color:var(--green);color:#fff}
button:hover:not(:disabled),.btn:hover{filter:brightness(.96)}
button:disabled{opacity:.55;cursor:not-allowed}
:focus-visible{outline:3px solid #b76a2b;outline-offset:4px}
.start-booking{width:100%;justify-content:space-between;min-height:60px;font-size:17px}
.secondary-link{display:inline-block;margin-top:18px;font-size:14px}
.booking-guide{margin:0;border-top:4px solid #d99a59;box-shadow:0 12px 32px #47351508}
.booking-flow{list-style:none;counter-reset:steps;padding:0;margin:0}
.booking-flow li{counter-increment:steps;position:relative;padding:0 0 24px 46px}
.booking-flow li:before{content:counter(steps,decimal-leading-zero);position:absolute;left:0;top:0;background:var(--soft);color:var(--green);width:32px;height:32px;border-radius:50%;text-align:center;font-weight:700;line-height:32px;font-size:12px}
.booking-flow strong,.booking-flow span{display:block}.booking-flow span{font-size:13px;color:var(--muted);margin-top:2px}
.notice{background:#fff4dd;border-radius:8px;padding:12px 16px;font-size:14px;color:#714a23}
.visit-notes{border-top:1px solid var(--line);padding:24px 0}.visit-notes h2{font-size:16px;margin:0 0 8px}.visit-notes p{font-size:14px;color:var(--muted)}
.coupon-teaser{padding:24px;border:1px dashed #ba9762;background:#fff6dc;border-radius:8px}.coupon-teaser h2{font-size:18px;margin:0}.coupon-teaser a{margin-top:8px}
.page-reserve .container{max-width:840px}.back-link{font-size:14px}.intro{margin-bottom:24px}
.form-nav{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0 30px}.form-nav a{background:#eee9db;padding:8px 16px;border-radius:6px;text-decoration:none;font-size:14px}
form{margin:0}.form-section h2{display:flex;align-items:center;gap:14px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.section-number{font-size:13px;color:var(--orange);letter-spacing:.04em}
.row{display:grid;grid-template-columns:1fr;align-content:start;gap:7px;margin:20px 0;min-width:0}
label{font-size:15px;font-weight:700;color:var(--ink)}
.required,.optional{font-size:11px;margin-left:7px;vertical-align:middle;padding:2px 6px;border-radius:4px;font-weight:500}.required{color:#91421d;background:#fff0e4}.optional{color:var(--muted);background:#f0eee9}
input,select,textarea{width:100%;min-width:0;max-width:100%;font:inherit;font-size:16px;min-height:52px;line-height:1.5;border:1px solid #bcb6aa;border-radius:8px;padding:12px 14px;background:#fff;color:var(--ink)}
input::placeholder,textarea::placeholder{color:#7c766e;opacity:1}
input:focus,select:focus,textarea:focus{border-color:var(--green)}
textarea{min-height:112px;resize:vertical}input:disabled,select:disabled,textarea:disabled{background:#f1f0ec;color:#6c685f}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0 0}.submit-panel .actions{margin:0}.submit-panel .primary{width:100%;min-height:58px;font-size:17px}
.submit-panel{padding:8px 0 16px}.submit-panel .muted{margin-top:18px!important;line-height:1.9}
.form-error{padding:16px;background:#fff0ec;border:1px solid #b9624c;border-radius:8px;color:#85341f}
body .peopleSplit{display:grid;grid-template-columns:1fr 1.4fr;gap:24px;width:100%;align-items:start}
body .peopleBox{display:flex;flex-direction:column;gap:8px;min-width:0;position:relative}
body .peopleBox label{font-size:15px;color:var(--ink)}
body .childrenNativeSelect{min-height:0;height:1px;width:1px;padding:0;border:0;position:absolute;opacity:0;pointer-events:none}
body .childCountCard{padding:14px;background:var(--soft);border:1px solid #d4dfce;border-radius:10px}
body .childCountTitle{display:none}body .childCountCaption{font-size:12px;line-height:1.7;color:var(--muted)}
body .childCountSummary{background:var(--green);font-size:12px}
body .childCountStepper{grid-template-columns:48px minmax(0,1fr) 48px;gap:8px;margin-top:12px}
body .stepperBtn{min-height:48px;padding:8px;background:#fff;color:var(--green);font-size:22px;border:1px solid #b4c4ad;border-radius:8px}
body .stepperValue{min-height:48px;background:#fff;border:0;color:var(--ink);font-size:18px}
body .childAgesBox{padding:12px;background:#fafaf7;border:1px solid var(--line);border-radius:8px}
body .childAgeCard{padding:10px;background:#fff;border:1px solid var(--line);border-radius:8px}
body .childAgeIndex,body .childAgeCurrent,body .childAgesSummary,body .childAgesBox small{font-size:12px;line-height:1.7}
body .childAgeCurrent{color:var(--green)}body .childAgeCurrent.is-empty{color:#945321}
body .ageChip{min-width:44px;min-height:44px;padding:8px;font-size:13px;border-radius:8px;color:var(--ink)}
body .ageChip.is-selected{background:var(--green);color:#fff;border-color:var(--green);box-shadow:none}
body .flatpickr-day.selected,body .flatpickr-day.selected:hover{background:var(--green);border-color:var(--green)}
#code{display:inline-block;font-size:28px;letter-spacing:.08em;color:var(--green);overflow-wrap:anywhere}
@media(min-width:701px){#visit-section{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}#visit-section h2{grid-column:1/-1}#visit-section .row:has(#date){grid-column:1/-1}#visit-section .row{margin:12px 0}#visit-section .retry{grid-column:1/-1}}
@media(max-width:700px){.brand{padding:15px 18px;font-size:16px}.container{padding:0 16px;margin:24px auto 40px}.home-layout{grid-template-columns:1fr;gap:28px;padding:8px 0 28px}.welcome h1{font-size:38px}.home-facts{margin:16px 0 24px}.card{padding:20px 16px;margin:20px 0}.booking-guide{margin:0}h1{font-size:28px}h2{font-size:18px}.form-nav a{padding:8px 12px}.form-nav{gap:6px}.row{margin:18px 0}body .peopleSplit{grid-template-columns:1fr;gap:20px}body .ageChip{flex:0 1 auto;min-width:44px}.actions .btn{flex:1 1 auto}.form-section h2{gap:10px}.secondary-link{min-height:44px;line-height:2}}

/* Compact rhythm: keep 44px touch targets and 16px form text. */
.optional-note summary{min-height:44px;padding:10px 0;cursor:pointer;font-size:14px;color:var(--green)}
.optional-note summary:focus-visible{outline:3px solid #b76a2b;outline-offset:2px}
.optional-note[open] summary{border-bottom:1px solid var(--line)}
.brand{padding-top:12px;padding-bottom:12px}
.container{margin:24px auto 32px}
h1{font-size:28px;margin:8px 0}
h2{font-size:18px;margin-bottom:12px}
.card{padding:20px;margin:16px 0}
.home-layout{gap:28px;padding:8px 0 20px}
.welcome h1{font-size:36px;margin:8px 0 12px}
.home-facts{margin:12px 0 16px}
.start-booking{min-height:52px;font-size:16px}
.secondary-link{margin-top:8px}
.booking-guide{margin:0}
.booking-flow li{padding:0 0 12px 40px}
.booking-flow li:last-child{padding-bottom:0}
.notice{padding:8px 12px;margin:12px 0 0}
.visit-notes{padding:16px 0}
.visit-notes p{margin:4px 0}
.page-reserve .container{max-width:1040px}
.intro{margin:8px 0 12px}
.form-nav{margin:12px 0;gap:8px}
.form-nav a{min-height:44px;display:flex;align-items:center;padding:6px 12px}
.form-section h2{padding-bottom:10px;margin-bottom:12px;gap:8px}
.row{gap:4px;margin:12px 0}
input,select,textarea{min-height:44px;padding:9px 10px}
textarea{min-height:76px}
#visit-section{display:grid;grid-template-columns:1fr 1fr;gap:0 12px;align-content:start}
#visit-section h2,#visit-section .row:has(#date),#visit-section .retry{grid-column:1/-1}
#visit-section .row{margin:6px 0}
#visit-section .row small:empty{display:none}
body .peopleSplit{grid-template-columns:1fr;gap:12px}
body .peopleBox{gap:4px}
body .peopleBox:not(.peopleBox--children){display:grid;grid-template-columns:72px 1fr;align-items:center}
body .peopleBox--children{display:grid;grid-template-columns:72px 1fr;align-items:center}
body .childCountCard{padding:0;border:0;background:none}
body .childCountTop{display:none}
body .childCountStepper{grid-template-columns:44px minmax(0,1fr) 44px;margin:0;gap:6px}
body .stepperBtn,body .stepperValue{min-height:44px}
body .stepperValue{border:1px solid var(--line);font-size:16px;background:var(--soft)}
body .childAgesBox{grid-column:1/-1;margin-top:8px;padding:8px}
body .childAgeCard{padding:8px}
.submit-panel{padding:0}
.submit-panel .primary{min-height:48px;font-size:16px}
.submit-panel .muted{margin:8px 0!important;line-height:1.6;font-size:12px}
@media(min-width:801px){
  #reservationForm{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}
  #reservationForm>.card{margin:0}
  #visit-section{grid-column:1;grid-row:1}
  #people-section{grid-column:1;grid-row:2}
  #contact-section{grid-column:2;grid-row:1/3}
  #contact-section .row{margin:10px 0}
  #reservationForm>.submit-panel{grid-column:1/-1}
}
@media(max-width:800px){
  .container{margin:16px auto 24px}
  .card{padding:16px;margin:12px 0}
  .form-section>.row:last-child{margin-bottom:0}
  .form-nav{margin:8px 0}
  #reservationForm{background:#fff;border:1px solid var(--line);border-radius:12px;padding:0 16px 12px}
  #reservationForm>.card{border:0;border-radius:0;margin:0;padding:14px 0;background:none}
  #reservationForm>.card+.card{border-top:1px solid var(--line)}
  #reservationForm .form-section h2{font-size:16px;border:0;padding:0;margin:0 0 8px}
  #reservationForm .row{margin:8px 0}
  #reservationForm #visit-section .row{margin:4px 0}
  #reservationForm>.submit-panel{padding-top:8px}
}
@media(max-width:700px){
  .home-layout{gap:16px;padding:0 0 16px}
  .welcome h1{font-size:30px}
  .booking-guide{margin:0}
  .booking-flow li{padding-bottom:8px}
  .booking-flow strong{font-size:14px}
  .booking-flow span{font-size:12px}
  .home-facts{gap:6px;margin:8px 0 12px}
  .home-facts span{padding:3px 8px;font-size:12px}
  .secondary-link{margin-top:4px;line-height:1.5;display:inline-flex;align-items:center}
  .visit-notes{padding:12px 0}
  .visit-notes p{font-size:13px}
  .intro{font-size:13px}
}
