:root {
  color-scheme: light;
  --kinari: #F4F1EA;
  --sumi: #2C2E30;
  --blue: #5E7C8C;
  --blue-pale: #DFE7EB;
  --anzu: #D9A07A;
  --gray: #6E7073;
  --line: #D8D4CB;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #E6E3DC; color: var(--sumi); font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif; line-height: 1.8; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
h1, h2, h3 { word-break: auto-phrase; text-wrap: balance; line-break: strict; }
[hidden] { display: none !important; }

.demo-bar { padding: 8px 16px; background: var(--blue); color: #fff; font-size: 13px; text-align: center; }
.demo-bar p { margin: 0; line-height: 1.6; }
.back-link { width: min(100%, 640px); margin: 0 auto; padding: 10px 16px; background: var(--kinari); font-size: 14px; }
.back-link a { color: var(--sumi); text-underline-offset: 4px; }

.lp { width: min(100%, 640px); margin: 0 auto; background: var(--kinari); box-shadow: 0 12px 48px rgba(44,46,48,.14); }
.panel { position: relative; width: 100%; }
.panel img { display: block; width: 100%; height: auto; }

.hotspot { position: absolute; display: block; padding: 0; border: 0; border-radius: 4px; background: transparent; cursor: pointer; }
.hotspot:hover { background: rgba(255,255,255,.14); }
.hotspot:focus-visible { outline: 3px solid var(--anzu); outline-offset: 3px; }
.hs-fv { left: 5%; width: 62%; top: 85.5%; height: 6.5%; }
.hs-end { left: 5%; width: 90%; top: 85.5%; height: 6.5%; }

/* 料金と営業時間（HTMLで補う） */
.info { padding: 40px 6% 44px; border-top: 1px solid var(--line); }
.info h2 { margin: 0 0 18px; font-weight: 300; font-size: 22px; letter-spacing: .06em; }
.info h2::before { content: ""; display: inline-block; width: 24px; height: 1px; margin-right: 10px; vertical-align: middle; background: var(--anzu); }
.info table { width: 100%; border-collapse: collapse; font-size: 16px; }
.info th, .info td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; }
.info th { width: 42%; color: var(--blue); font-size: 15px; }
.info .note { display: block; color: var(--gray); font-size: 13px; }
.info-note { margin: 14px 0 0; color: var(--gray); font-size: 13px; line-height: 1.7; }
.info-label { margin: 0 0 6px; color: var(--blue); font-size: 13px; letter-spacing: .06em; }
.info-label::before { content: ""; display: inline-block; width: 24px; height: 1px; margin-right: 10px; vertical-align: middle; background: var(--anzu); }
.info-label span { margin-left: 12px; color: var(--gray); }
.info .info-label + h2::before { display: none; }
.qa { margin: 0 0 32px; }
.qa dt { position: relative; margin-top: 14px; padding: 10px 14px 10px 40px; border: 1px solid var(--blue); border-radius: 6px; font-size: 16px; }
.qa dt::before { content: "Q"; position: absolute; left: 14px; color: var(--blue); }
.qa dd { position: relative; margin: 6px 0 0; padding: 10px 14px 10px 40px; background: #fff; color: #5B5D60; font-size: 15px; line-height: 1.7; }
.qa dd::before { content: "A"; position: absolute; left: 14px; color: var(--blue); }
.week { table-layout: fixed; background: #fff; text-align: center; }
.info .week th, .info .week td { width: auto; padding: 8px 0; border: 1px solid var(--line); text-align: center; color: var(--sumi); font-size: 13px; line-height: 1.5; }
.week td.off { background: var(--kinari); color: var(--gray); }

/* ついてくるボタン */
.sticky-bar { position: fixed; left: 50%; bottom: 12px; z-index: 20; display: flex; gap: 8px; width: min(calc(100% - 32px), 440px); transform: translate(-50%, 160%); transition: transform .4s ease; }
.sticky-bar.show { transform: translate(-50%, 0); }
.sticky-bar a { display: flex; align-items: center; justify-content: center; min-height: 52px; font-size: 16px; text-decoration: none; box-shadow: 0 8px 24px rgba(44,46,48,.22); }
.sb-line { flex: 2; background: var(--blue); color: #fff; }
.sb-tel { flex: 1; border: 1px solid var(--blue); background: #fff; color: var(--blue); }
.sticky-bar a:focus-visible { outline: 3px solid var(--anzu); outline-offset: 2px; }

.footer { max-width: 640px; margin: 0 auto; padding: 28px 20px 96px; background: var(--sumi); color: #fff; text-align: center; }
.footer p { margin: 0 0 12px; font-size: 14px; }
.footer small { opacity: .7; font-size: 12px; }

/* 予約のダイアログ */
.booking { width: min(calc(100% - 24px), 500px); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 10px; background: var(--kinari); color: var(--sumi); }
.booking::backdrop { background: rgba(44,46,48,.55); }
.dlg { position: relative; padding: 22px 20px 20px; }
.dlg-demo { margin: 0 52px 0 0; padding: 6px 10px; border-radius: 6px; background: var(--blue-pale); font-size: 13px; }
.dlg-close { position: absolute; top: 12px; right: 10px; min-width: 44px; min-height: 44px; border: 0; background: transparent; color: var(--sumi); font: inherit; font-size: 13px; cursor: pointer; }
.dlg h2 { margin: 14px 0 6px; font-weight: 300; font-size: 21px; line-height: 1.55; letter-spacing: .04em; }
.dlg-lead { margin: 0 0 16px; color: var(--gray); font-size: 14px; }
.dlg fieldset { margin: 0 0 16px; padding: 0; border: 0; }
.dlg legend { margin-bottom: 8px; font-size: 14px; color: var(--blue); }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choices.col1 { grid-template-columns: 1fr; }
.choices.days { grid-template-columns: repeat(6, 1fr); }
.choices label { position: relative; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 6px 4px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 15px; line-height: 1.4; text-align: center; cursor: pointer; word-break: auto-phrase; }
.choices.col1 span { justify-content: flex-start; padding-left: 14px; text-align: left; }
.choices input:checked + span { border-color: var(--blue); background: var(--blue-pale); color: var(--sumi); }
.choices input:focus-visible + span { outline: 3px solid var(--anzu); outline-offset: 2px; }
.hint { margin: 6px 0 0; color: var(--gray); font-size: 13px; min-height: 0; }
.time-hint:empty { display: none; }
.time-hint { color: #A0583A; }

.msg-label { display: block; margin-bottom: 4px; font-size: 14px; }
.dlg textarea { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--sumi); font: inherit; font-size: 16px; resize: vertical; }
.dlg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.btn-copy, .btn-line { flex: 1 1 180px; display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 12px; border-radius: 6px; font: inherit; font-size: 15px; text-align: center; text-decoration: none; }
.btn-copy { border: 1px solid var(--blue); background: #fff; color: var(--blue); cursor: pointer; }
.btn-line { border: 1px solid var(--line); background: transparent; color: var(--gray); cursor: not-allowed; }
.btn-line.is-live { border-color: #06C755; background: #06C755; color: #fff; cursor: pointer; }
.copied { min-height: 1.8em; margin: 8px 0 0; font-size: 14px; color: var(--blue); }
.dlg-foot { margin: 4px 0 0; color: var(--gray); font-size: 13px; }

@media (max-width: 640px) { .lp { box-shadow: none; } }
@media (max-width: 360px) { .choices.days { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .sticky-bar { transition: none; } }
