:root {
  --bg: #0a0a0a;
  --panel: #141414;
  --panel-alt: #1b1b1b;
  --border: #2b2b2b;
  --gold: #b8975a;
  --gold-soft: rgba(184, 151, 90, 0.15);
  --text: #f2f0ec;
  --text-dim: #a9a49b;
  --danger: #e07a5f;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #050505;
  color: var(--text);
  font-family: "Noto Sans JP", "Meiryo", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.icon { margin-right: 6px; }

/* HEADER */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  letter-spacing: 2px;
  display: block;
}
.brand-sub {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  text-transform: uppercase;
}
.header-tag {
  font-size: 13px;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

/* NOTICE */
.notice {
  margin: 16px 20px 0;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}
.notice-head {
  background: var(--gold);
  color: #0a0a0a;
  font-weight: 700;
  text-align: center;
  padding: 8px;
  font-size: 14px;
}
.notice-body {
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}
.line-inline {
  display: inline-block;
  margin-top: 8px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
}

/* HERO */
.hero {
  padding: 36px 20px 28px;
  text-align: center;
  background: radial-gradient(ellipse at top, #1c1a15 0%, #0a0a0a 70%);
  border-bottom: 1px solid var(--border);
}
.hero-eyebrow {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--gold);
  font-size: 16px;
  margin: 0 0 6px;
}
.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  letter-spacing: 3px;
  margin: 0;
}
.hero h1 span {
  display: block;
  font-size: 16px;
  letter-spacing: 6px;
  color: var(--text-dim);
  font-family: "Noto Sans JP", sans-serif;
  margin-top: 6px;
}

/* STEP SECTIONS */
.step {
  padding: 24px 20px;
  border-bottom: 1px solid var(--border);
}
.hidden { display: none; }
.step h2 {
  font-size: 16px;
  display: flex;
  align-items: center;
  margin: 0 0 16px;
  color: var(--text);
}
.step h2 .icon { color: var(--gold); }

/* OPTION CARDS (step1) */
.option-list { display: flex; flex-direction: column; gap: 12px; }
.option-card {
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
  color: var(--text);
  transition: border-color .15s, background .15s;
}
.option-card:hover { border-color: var(--gold); }
.option-card.selected {
  background: var(--gold-soft);
  border-color: var(--gold);
}
.option-title { font-weight: 700; margin-bottom: 4px; font-size: 14px; }
.option-desc { font-size: 12.5px; color: var(--text-dim); line-height: 1.6; }

/* CAPACITY */
.capacity-box { text-align: center; }
.capacity-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.stepper-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-size: 20px;
  cursor: pointer;
}
.capacity-value { font-size: 22px; font-weight: 700; min-width: 70px; }
.capacity-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-dim);
}
.capacity-warn {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--danger);
  display: none;
}
.capacity-warn a { color: var(--gold); }
.capacity-warn.show { display: block; }

/* CALENDAR */
.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 700;
}
.cal-nav {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  width: 32px; height: 32px;
  cursor: pointer;
}
.cal-nav:disabled { opacity: .3; cursor: default; }
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}
.cal-dow {
  font-size: 12px;
  color: var(--text-dim);
  padding-bottom: 6px;
}
.cal-dow.sun { color: var(--danger); }
.cal-dow.sat { color: #7fb1e3; }
.cal-cell {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 13px;
  border: 1px solid transparent;
}
.cal-cell.empty { visibility: hidden; }
.cal-cell.disabled { color: #444; }
.cal-cell.available {
  color: var(--text);
  border-color: var(--border);
  cursor: pointer;
}
.cal-cell.available:hover { border-color: var(--gold); }
.cal-cell.selected {
  background: var(--gold);
  color: #0a0a0a;
  font-weight: 700;
}
.cal-mark { font-size: 11px; margin-top: 2px; }
.cal-mark.holiday { color: var(--danger); }
.cal-cell.selected .cal-mark.holiday { color: #0a0a0a; }
.calendar-note {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--text-dim);
}
.selected-date-tag {
  margin-top: 12px;
  font-size: 14px;
  color: var(--gold);
  font-weight: 700;
}

/* TIME */
.time-mode {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.time-mode-btn {
  flex: 1;
  padding: 10px;
  font-size: 12.5px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text-dim);
  cursor: pointer;
}
.time-mode-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-soft);
}
.time-mode-btn:disabled { opacity: .35; cursor: not-allowed; }

.slot-label {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0 0 10px;
}
.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.slot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 6px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
}
.slot-card:hover { border-color: var(--gold); }
.slot-card .slot-mark { font-size: 11px; color: var(--text-dim); }
.slot-card.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0a0a;
  font-weight: 700;
}
.slot-card.selected .slot-mark { color: #0a0a0a; }

.overnight-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
  background: var(--panel);
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.time-rate-note {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* OPTIONS TOGGLES */
.option-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.option-toggle-row:last-child { border-bottom: none; }
.option-toggle-title { font-size: 13.5px; font-weight: 700; }
.option-toggle-sub { font-size: 11.5px; color: var(--text-dim); margin-top: 3px; }

.switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--border);
  border-radius: 26px;
  transition: .2s;
}
.slider::before {
  content: "";
  position: absolute;
  height: 20px; width: 20px;
  left: 3px; top: 3px;
  background: #f2f0ec;
  border-radius: 50%;
  transition: .2s;
}
.switch input:checked + .slider { background: var(--gold); }
.switch input:checked + .slider::before { transform: translateX(20px); }

.qty-stepper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.qty-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
}
.qty-stepper span { min-width: 16px; text-align: center; font-weight: 700; }

/* SUMMARY */
.summary-head {
  background: var(--gold);
  color: #0a0a0a;
  text-align: center;
  font-weight: 700;
  padding: 10px;
  border-radius: 8px 8px 0 0;
  margin: 0 20px;
}
.summary-table {
  width: calc(100% - 40px);
  margin: 0 20px;
  border-collapse: collapse;
  background: var(--panel);
  font-size: 13px;
}
.summary-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.summary-table td:first-child {
  color: var(--text-dim);
  width: 40%;
  white-space: nowrap;
}
.summary-table tr.total td {
  font-weight: 700;
  font-size: 16px;
  color: var(--gold);
  border-bottom: none;
}
.summary-warn {
  margin: 14px 20px 0;
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.8;
}

/* CUSTOMER FORM */
.field-block { margin-bottom: 16px; }
.field-block label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--text-dim);
}
.req {
  background: var(--gold);
  color: #0a0a0a;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
}
.field-block input, .field-block textarea {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}
.field-note { font-size: 11px; color: var(--text-dim); margin-top: 4px; }

.terms-box {
  margin-top: 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.terms-title { font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.terms-body {
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.9;
  max-height: 150px;
  overflow-y: auto;
  padding-right: 4px;
}
.terms-agree {
  display: block;
  margin-top: 12px;
  font-size: 13px;
}

.submit-btn {
  width: 100%;
  margin-top: 22px;
  padding: 16px;
  border-radius: var(--radius);
  border: none;
  background: var(--gold);
  color: #0a0a0a;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.submit-btn:disabled {
  background: var(--border);
  color: var(--text-dim);
  cursor: not-allowed;
}
.submit-help {
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-top: 10px;
}
.line-btn {
  display: block;
  text-align: center;
  margin-top: 12px;
  padding: 13px;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.copy-btn {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  font-size: 13px;
  cursor: pointer;
}

.footer {
  padding: 24px 20px 40px;
  text-align: center;
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.9;
}
.footer a { color: var(--gold); }

@media (max-width: 520px) {
  .app { border-left: none; border-right: none; }
}
