:root {
  --accent: #3B5B52;      /*  */
  --bg: #F6F5F2;
  --ink: #1E1E1C;
  --sub: #66665F;
  --line: #D9D6CE;
  --off: #8A877D;
  --danger: #9B2C2C;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  -webkit-text-size-adjust: 100%;
}
button, input, textarea { font-family: inherit; }
a { color: var(--accent); }
a:hover { color: var(--ink); }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* PC */
.app { max-width: 480px; min-height: 100vh; min-height: 100dvh; margin: 0 auto; display: flex; flex-direction: column; background: var(--bg); }
@media (min-width: 520px) { .app { border-left: 1px solid var(--line); border-right: 1px solid var(--line); } }

/*  */
.header { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 8px; flex-shrink: 0; }
.header .slot { width: 44px; height: 44px; }
.icon-btn { width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; }
.logo { font-family: 'Jost', sans-serif; font-weight: 500; font-size: 18px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); text-decoration: none; }

/*  */
.progress { padding: 4px 20px 14px; flex-shrink: 0; }
.progress[hidden] { display: none; }
.segs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.seg { height: 3px; border-radius: 2px; background: var(--line); }
.seg.on { background: var(--accent); }
.progress-label { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--sub); }
.progress-label .en { font-family: 'Jost', sans-serif; letter-spacing: .12em; }
.progress-label .name { font-weight: 500; color: var(--ink); }

/*  */
.body { flex: 1; padding: 4px 20px 24px; outline: none; }
.screen[hidden] { display: none; }
h1 { margin: 0 0 6px; font-size: 22px; font-weight: 700; line-height: 1.4; }
.lead { margin: 0 0 20px; font-size: 13px; line-height: 1.7; color: var(--sub); }
h2.cat { margin: 22px 0 10px; font-size: 13px; font-weight: 700; color: var(--sub); letter-spacing: .06em; }
h2.cat:first-child { margin-top: 0; }
h2.sub-title { margin: 26px 0 12px; font-size: 15px; font-weight: 700; }
.alert { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; font-size: 13px; line-height: 1.7; background: #FBEDEA; color: var(--danger); }
.alert[hidden] { display: none; }
.note { margin: 14px 0 0; font-size: 12px; line-height: 1.7; color: var(--sub); }
.status-msg { min-height: 20px; margin: 12px 0 0; font-size: 13px; color: var(--sub); }

/*  */
.tabs { display: flex; gap: 0; margin: 0 0 14px; border-bottom: 1px solid var(--line); }
.tabs[hidden], .chips[hidden], .note[hidden] { display: none; }
.tabs button { flex: 1; padding: 12px 0; font-size: 15px; font-weight: 500; color: var(--sub); background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.chips { display: flex; gap: 8px; margin: 0 0 14px; padding-bottom: 2px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; padding: 7px 14px; font-size: 13px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; white-space: nowrap; }
.chip[aria-pressed="true"] { color: #fff; background: var(--accent); border-color: var(--accent); }
.chip-n { margin-left: 5px; font-size: 11px; opacity: .6; }
.badge { display: inline-block; margin-right: 6px; padding: 1px 7px; font-size: 11px; font-weight: 700; line-height: 1.5; color: var(--accent); border: 1px solid var(--accent); border-radius: 4px; vertical-align: 1px; }

/*  */
.menu-list { display: flex; flex-direction: column; gap: 10px; }
.menu-card { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 72px; padding: 14px 16px; text-align: left; cursor: pointer; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.menu-card[aria-pressed="true"] { border: 2px solid var(--accent); padding: 13px 15px; }
.radio { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid #9A968B; display: flex; align-items: center; justify-content: center; }
.menu-card[aria-pressed="true"] .radio { border: 0; background: var(--accent); }
.radio svg { display: none; }
.menu-card[aria-pressed="true"] .radio svg { display: block; }
.menu-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.menu-name { font-size: 15px; font-weight: 500; line-height: 1.5; }
.menu-sub { font-size: 12px; color: var(--sub); line-height: 1.5; }
.menu-price { font-size: 15px; font-weight: 500; white-space: nowrap; }
.link-line { margin-top: 14px; font-size: 13px; }
.info { margin-top: 28px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; line-height: 1.8; color: var(--sub); }
.info .en { font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: .16em; color: var(--ink); margin-bottom: 6px; }

/*  */
.week-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.week-nav .month { font-family: 'Jost', sans-serif; font-size: 14px; letter-spacing: .12em; }
.week-nav .btns { display: flex; gap: 4px; }
.nav-btn { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.nav-btn:disabled { color: var(--off); background: transparent; cursor: not-allowed; opacity: .5; }
.legend { margin: 0 0 10px; font-size: 12px; color: var(--sub); }
.dates { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; min-height: 64px; }
.date-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 64px; padding: 8px 0; border-radius: 10px; cursor: pointer; background: #fff; color: var(--ink); border: 1px solid var(--line); }
.date-btn .w, .date-btn .m { font-size: 11px; }
.date-btn .d { font-family: 'Jost', sans-serif; font-size: 17px; font-weight: 500; }
.date-btn[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.date-btn:disabled { background: transparent; color: var(--off); cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slot-btn { height: 48px; border-radius: 10px; cursor: pointer; font-family: 'Jost', sans-serif; font-size: 16px; font-weight: 500; background: #fff; color: var(--ink); border: 1px solid var(--line); }
.slot-btn[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.slot-btn:disabled { background: transparent; color: var(--off); text-decoration: line-through; cursor: not-allowed; }

/*  */
.summary-box { padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; line-height: 1.7; margin-bottom: 22px; }
.summary-box .strong { font-weight: 500; }
.summary-box .muted { color: var(--sub); }
.fields { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; }
.field label small { color: var(--sub); font-weight: 400; font-size: 13px; }
.field input, .field textarea { width: 100%; padding: 0 14px; border: 1px solid #BDB9AF; border-radius: 10px; background: #fff; font-size: 16px; color: var(--ink); }
.field input { height: 48px; }
.field textarea { padding: 12px 14px; line-height: 1.6; resize: none; }
.hint { min-height: 0; margin: 0; font-size: 12px; line-height: 1.6; color: var(--sub); }
.hint.err { color: var(--danger); }
.hint:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/*  */
.confirm-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 16px; }
.confirm-box dl { margin: 0; }
.confirm-row { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid #ECE9E2; font-size: 14px; }
.confirm-row:last-child { border-bottom: 0; }
.confirm-row dt { width: 76px; flex-shrink: 0; color: var(--sub); font-size: 12px; padding-top: 2px; }
.confirm-row dd { flex: 1; margin: 0; white-space: pre-line; word-break: break-all; }

/*  */
.done { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 32px; }
.done-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.done h1 { margin: 22px 0 8px; }
.done .lead { margin-bottom: 24px; line-height: 1.8; }
.done-card { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-align: left; font-size: 14px; line-height: 1.8; }
.done-card .en { font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: .16em; color: var(--sub); }
.done-card .when { font-weight: 500; margin-top: 4px; }
.done-card .addr { color: var(--sub); font-size: 13px; margin-top: 6px; }
.done a.back { margin-top: 24px; font-size: 14px; }

/*  */
.footer { position: sticky; bottom: 0; flex-shrink: 0; padding: 12px 20px calc(22px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
.footer[hidden] { display: none; }
.foot-note { min-height: 18px; margin-bottom: 8px; font-size: 12px; color: var(--sub); text-align: center; }
.cta { width: 100%; height: 52px; border: 0; border-radius: 12px; font-size: 16px; font-weight: 700; letter-spacing: .04em; cursor: pointer; background: var(--accent); color: #fff; }
.cta:disabled { background: var(--line); color: var(--sub); cursor: not-allowed; }
.cta.danger { background: var(--danger); }
.cta-ghost { width: 100%; height: 48px; margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; background: transparent; font-size: 14px; color: var(--ink); cursor: pointer; }
