:root {
  color-scheme: dark;
  --ink: #080b0d;
  --ink-soft: #101619;
  --gold: #d8a461;
  --gold-light: #f2d2a0;
  --cream: #f6efe4;
  --paper: #fbf8f2;
  --muted: #9c9c96;
  --line: rgba(216, 164, 97, 0.25);
  --serif: "Iowan Old Style", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
[hidden] { display: none !important; }

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 8%, rgba(186, 116, 48, .16), transparent 30rem),
    radial-gradient(circle at 86% 33%, rgba(216, 164, 97, .08), transparent 24rem),
    linear-gradient(135deg, #0b0f11, #07090a 60%);
}

.topbar {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 20px;
}
.brand strong, .brand small { display: block; letter-spacing: .12em; }
.brand strong { font-family: var(--serif); font-size: 13px; }
.brand small { margin-top: 3px; color: #938b7f; font-size: 8px; }
.secure-note { color: #aaa399; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.secure-note i { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #80b889; box-shadow: 0 0 10px #80b889; }

main { overflow: hidden; }
.hero {
  width: min(1220px, calc(100% - 40px));
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
}
.hero-image-wrap {
  position: relative;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .45);
  overflow: hidden;
}
.hero-image-wrap::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(247, 211, 158, .25); pointer-events: none; }
.hero-image-wrap img { display: block; width: 100%; height: auto; }
.hero-shine { position: absolute; inset: -60% auto -60% -20%; width: 30%; transform: rotate(14deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent); animation: shine 8s ease-in-out infinite; }
@keyframes shine { 0%, 72% { left: -35%; } 100% { left: 125%; } }
.eyebrow, .section-kicker { margin: 0 0 18px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .24em; }
.hero-copy h1 { margin: 0; font-family: var(--serif); font-size: clamp(36px, 4vw, 61px); font-weight: 500; line-height: 1.34; letter-spacing: .02em; }
.hero-copy h1 em { color: var(--gold-light); font-style: normal; }
.hero-lead { max-width: 34em; margin: 28px 0 0; color: #bdb6ac; font-size: 14px; line-height: 2; }
.session-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 36px 0 0; border-block: 1px solid var(--line); }
.session-facts div { padding: 18px 12px; border-right: 1px solid var(--line); }
.session-facts div:first-child { padding-left: 0; }
.session-facts div:last-child { border: 0; }
.session-facts dt { margin-bottom: 7px; color: #77746f; font-size: 9px; letter-spacing: .16em; }
.session-facts dd { margin: 0; color: #beb8af; font-size: 11px; }
.session-facts b { color: var(--cream); font-family: var(--serif); font-size: 19px; font-weight: 500; }

.booking-shell {
  width: min(1120px, calc(100% - 40px));
  margin: clamp(92px, 12vw, 160px) auto 0;
  padding: clamp(28px, 5vw, 64px);
  background: var(--paper);
  color: #1b1c1d;
  box-shadow: 0 25px 90px rgba(0, 0, 0, .42);
}
.section-intro { display: flex; align-items: center; gap: 20px; margin-bottom: 42px; }
.section-number { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 auto; border: 1px solid #d8b685; border-radius: 50%; color: #a06a2d; font-family: var(--serif); font-size: 15px; }
.section-intro .section-kicker { margin: 0 0 6px; color: #a06a2d; }
.section-intro h2 { margin: 0; font-family: var(--serif); font-size: clamp(25px, 3vw, 38px); font-weight: 500; }
.notice-card { padding: 46px 28px; border: 1px solid #dbc49e; background: #f7efe2; text-align: center; }
.notice-card span { color: #a06a2d; font-size: 9px; font-weight: 700; letter-spacing: .22em; }
.notice-card h3 { margin: 13px 0 10px; font-family: var(--serif); font-size: 25px; font-weight: 500; }
.notice-card p { margin: 0; color: #746b60; font-size: 13px; line-height: 1.8; }
.loading-panel { min-height: 260px; display: grid; place-content: center; justify-items: center; color: #7e766d; font-size: 13px; }
.loader { width: 32px; height: 32px; border: 2px solid #eadcc6; border-top-color: #a06a2d; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.date-strip-wrap { display: grid; grid-template-columns: 38px minmax(0, 1fr) 38px; gap: 10px; align-items: center; padding-bottom: 30px; border-bottom: 1px solid #ded8cd; }
.date-strip { display: flex; gap: 9px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.date-strip::-webkit-scrollbar { display: none; }
.strip-arrow { width: 38px; height: 38px; border: 1px solid #dbd2c3; border-radius: 50%; background: transparent; color: #6a6258; cursor: pointer; }
.strip-arrow:hover { border-color: #b88648; color: #8f5f29; }
.date-button { min-width: 78px; padding: 12px 8px 11px; border: 1px solid #e1dbd0; background: transparent; color: #81796f; cursor: pointer; transition: .2s ease; }
.date-button small, .date-button strong, .date-button span { display: block; }
.date-button small { font-size: 9px; letter-spacing: .08em; }
.date-button strong { margin: 4px 0; color: #252525; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.date-button span { font-size: 10px; }
.date-button:hover, .date-button.is-active { border-color: #9a682f; background: #15191b; color: #d8b37f; box-shadow: 0 8px 24px rgba(42, 28, 11, .16); }
.date-button.is-active strong { color: #fff6e8; }
.date-button.is-sunday small, .date-button.is-sunday span { color: #a9534e; }

.booking-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(28px, 5vw, 64px); padding-top: 38px; }
.nickname-panel { padding-left: clamp(28px, 5vw, 64px); border-left: 1px solid #ded8cd; }
.panel-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.panel-heading span { color: #aa7a43; font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.panel-heading h3 { margin: 0; font-family: var(--serif); font-size: 21px; font-weight: 500; }
.time-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.time-button { min-height: 48px; border: 1px solid #dad3c7; background: #fff; color: #413b34; cursor: pointer; transition: .18s ease; }
.time-button:hover, .time-button.is-active { border-color: #a66e30; background: #f3e4ce; color: #6f4216; box-shadow: inset 0 0 0 1px #a66e30; }
.selection-summary { min-height: 76px; margin-bottom: 24px; padding: 16px 18px; border-left: 3px solid #b37834; background: #f2ede4; }
.selection-summary small, .selection-summary strong { display: block; }
.selection-summary small { color: #9b8b76; font-size: 8px; letter-spacing: .16em; }
.selection-summary strong { margin-top: 7px; font-family: var(--serif); font-size: 17px; font-weight: 500; }
.nickname-label { display: flex; justify-content: space-between; margin-bottom: 9px; font-size: 12px; font-weight: 700; }
.nickname-label span { color: #a66e30; font-size: 9px; letter-spacing: .08em; }
#nickname { width: 100%; height: 54px; padding: 0 16px; border: 1px solid #cfc7bb; border-radius: 0; outline: 0; background: #fff; color: #1c1c1b; }
#nickname:focus { border-color: #9d682c; box-shadow: 0 0 0 3px rgba(157, 104, 44, .12); }
#nickname:disabled { background: #f3f0eb; cursor: not-allowed; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.book-button { width: 100%; min-height: 58px; margin-top: 18px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border: 0; background: #171b1d; color: #fff7eb; cursor: pointer; transition: .2s ease; }
.book-button:not(:disabled):hover { background: #815321; transform: translateY(-1px); box-shadow: 0 10px 25px rgba(66, 42, 18, .2); }
.book-button:disabled { background: #c7c2ba; cursor: not-allowed; }
.book-button b { color: #e5b978; font-size: 20px; font-weight: 400; }
.form-note { margin: 12px 0 0; color: #8b8379; font-size: 10px; line-height: 1.7; }
.form-status { min-height: 1.5em; margin: 11px 0 0; color: #9b4c45; font-size: 12px; line-height: 1.5; }

.result-shell, .manage-shell { width: min(760px, calc(100% - 40px)); margin: 90px auto 0; padding: clamp(34px, 6vw, 72px); border: 1px solid var(--line); background: #101416; text-align: center; box-shadow: 0 30px 90px rgba(0,0,0,.4); }
.result-icon { width: 62px; height: 62px; margin: 0 auto 24px; display: grid; place-items: center; border: 1px solid #c99a5f; border-radius: 50%; color: #efc995; font-size: 26px; }
.result-shell h2, .manage-shell h1 { margin: 0; font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); font-weight: 500; }
.result-card, .manage-card { display: grid; grid-template-columns: 1fr 1fr; margin: 36px 0 22px; border: 1px solid var(--line); text-align: left; }
.result-card div, .manage-card div { padding: 20px; border-right: 1px solid var(--line); }
.result-card div:last-child, .manage-card div:last-child { border-right: 0; }
.result-card small, .result-card strong, .manage-card small, .manage-card strong { display: block; }
.result-card small, .manage-card small { margin-bottom: 8px; color: #8a8176; font-size: 8px; letter-spacing: .16em; }
.result-card strong, .manage-card strong { color: #f4e6d1; font-family: var(--serif); font-size: 17px; font-weight: 500; }
.result-guidance { color: #a49d94; font-size: 12px; line-height: 1.8; }
.result-actions, .manage-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.primary-action, .secondary-action, .meeting-action, .danger-action { min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid #b8874c; text-decoration: none; cursor: pointer; }
.primary-action { background: #b8874c; color: #0a0c0d; }
.secondary-action, .meeting-action { background: transparent; color: #ead6b8; }
.danger-action { border-color: #8b4e49; background: transparent; color: #e3aaa4; }
.copy-status { min-height: 1.5em; color: #b9d5bd; font-size: 11px; }
.manage-card { grid-template-columns: repeat(3, 1fr); }
.manage-shell .eyebrow { margin-bottom: 15px; }

.how-it-works { width: min(1120px, calc(100% - 40px)); margin: 120px auto; }
.section-intro.light h2 { color: #f2e6d6; }
.section-intro.light .section-kicker { color: var(--gold); }
.how-it-works ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; border-block: 1px solid var(--line); }
.how-it-works li { min-height: 150px; padding: 30px; display: flex; gap: 20px; align-items: flex-start; border-right: 1px solid var(--line); }
.how-it-works li:last-child { border: 0; }
.how-it-works li > span { color: var(--gold); font-family: var(--serif); font-size: 22px; }
.how-it-works strong { font-family: var(--serif); font-size: 19px; font-weight: 500; }
.how-it-works p { margin: 9px 0 0; color: #8f8b85; font-size: 12px; line-height: 1.7; }

footer { width: min(1220px, calc(100% - 40px)); margin: 0 auto; padding: 34px 0; display: flex; align-items: end; justify-content: space-between; border-top: 1px solid var(--line); color: #827c74; }
footer strong, footer small { display: block; }
footer strong { color: #cbb28e; font-family: var(--serif); font-size: 13px; letter-spacing: .1em; }
footer small { margin-top: 5px; font-family: var(--serif); font-style: italic; }
footer p { margin: 0; font-size: 9px; letter-spacing: .1em; }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 680px; }
  .booking-grid { grid-template-columns: 1fr; }
  .nickname-panel { padding: 32px 0 0; border-left: 0; border-top: 1px solid #ded8cd; }
  .how-it-works ol { grid-template-columns: 1fr; }
  .how-it-works li { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 600px) {
  .topbar, .hero, .booking-shell, .how-it-works, footer { width: min(100% - 24px, 1220px); }
  .topbar { padding: 18px 0; }
  .secure-note { display: none; }
  .hero { margin-top: 4px; gap: 30px; }
  .hero-image-wrap { padding: 5px; }
  .hero-image-wrap::after { inset: 11px; }
  .hero-copy h1 { font-size: 34px; }
  .hero-lead { margin-top: 18px; }
  .session-facts { margin-top: 24px; }
  .session-facts div { padding: 14px 7px; }
  .session-facts b { font-size: 16px; }
  .booking-shell { margin-top: 78px; padding: 24px 16px 28px; }
  .section-intro { margin-bottom: 28px; }
  .date-strip-wrap { grid-template-columns: 30px minmax(0, 1fr) 30px; gap: 5px; }
  .strip-arrow { width: 30px; height: 30px; }
  .date-button { min-width: 68px; }
  .time-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .time-button { min-height: 45px; }
  .result-shell, .manage-shell { width: calc(100% - 24px); margin-top: 64px; padding: 34px 18px; }
  .result-card { grid-template-columns: 1fr; }
  .manage-card { grid-template-columns: 1fr; }
  .result-card div, .manage-card div { border-right: 0; border-bottom: 1px solid var(--line); }
  .result-card div:last-child, .manage-card div:last-child { border-bottom: 0; }
  .result-actions > *, .manage-actions > * { width: 100%; }
  .how-it-works { margin-block: 84px; }
  footer { align-items: flex-start; gap: 20px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

