*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
[hidden] { display: none !important; }
/* 配色：背景 --paper(こげ茶)に、文字・線 --ink(白)。選択中は --sel(水色)に濃い文字。メニューの行と入力欄は白地に黒 */
:root { --ink: #fff; --paper: #443a32; --red: #ffb0a4; --gray: #cdc6c0; --line: #6e645b; --tint: #51463d; --mute: #877c73; --sel: #bce2ed; --seltext: #261f1a; --m: 20px; color-scheme: dark; }
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  overflow-wrap: anywhere; /* 収まらない場合に折り返す */
  word-break: normal; /* 単語の分割はデフォルトに依存 */
  line-break: strict; /* 禁則処理を厳格に適用 */
  text-autospace: normal; /* 和文中の英数字に余白 */
  font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 560px; margin: 0 auto; padding: 28px var(--m) 64px; }
.head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.head .logo { font-size: 26px; font-weight: 700; letter-spacing: .08em; line-height: 1; text-decoration: none; }
.head .logo img { display: block; height: 48px; width: auto; }
@media (max-width: 600px) { .wrap { padding-top: 19px; } .head .logo img { height: 68px; } }
.head .tel { text-align: right; }
.head .tel small { display: block; margin-top: 5px; font-size: 11px; letter-spacing: .04em; color: var(--gray); }
.head a.back { font-size: 12px; letter-spacing: .04em; text-decoration: none; border-bottom: 1px solid currentColor; }
h1 { font-size: 22px; font-weight: 700; margin: 0 0 8px; }
.lead {margin: 0 0 15px;font-size: 14px;}
.note { font-size: 12px; color: var(--gray); margin-top: 6px; }
.notes { list-style: none; margin: 16px 0 0; padding: 0; font-size: 12px; color: var(--gray); }
.notes li { position: relative; padding-left: 1.2em; margin-top: 4px; }
.notes li::before { content: '※'; position: absolute; left: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
legend, label.l { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 7px; padding: 0; }
legend.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
legend small { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--gray); margin-left: 6px; }
input[type=text], input[type=tel], input[type=email], input[type=date], textarea {
  width: 100%; font: inherit; color: #000; background: #fff; caret-color: #000;
  border: 1px solid var(--ink); border-radius: 7px; padding: 12px 14px; -webkit-appearance: none; appearance: none;
}
input[type=date] { min-height: 50px; }
input::placeholder, textarea::placeholder { color: var(--mute); opacity: 1; }
input:-webkit-autofill { -webkit-text-fill-color: #000; box-shadow: 0 0 0 1000px #fff inset; caret-color: #000; }
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
button { font: inherit; color: inherit; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt {background: var(--paper);border: 1px solid var(--ink);padding: 12px 8px;cursor: pointer;text-align: center;line-height: 1.3;border-radius: 9px;}
.opt small { display: block; font-size: 11px; color: var(--gray); margin-top: 2px; }
.opt[aria-pressed=true] { background: var(--sel); color: var(--seltext); border: 1px solid var(--sel); }
.opt[aria-pressed=true] small { color: var(--seltext); }
.opt.big { font-size: 18px; font-weight: 700; letter-spacing: .08em; }
.opt.big small { font-weight: 400; letter-spacing: 0; margin-top: 4px; }
.opt.big {position: relative;display: flex;align-items: center;justify-content: center;border-radius: 9px;padding: 14px 10px;}
.opt.big .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); line-height: 0; }
.opt.big .ico svg { display: block; }
.opt.big .txt { text-align: center; min-width: 0; }
@media (max-width: 420px) { .opt.big .ico svg { width: 34px; height: 34px; } }
@media (max-width: 350px) { .opt.big .ico { left: 8px; } .opt.big .ico svg { width: 30px; height: 30px; } .opt.big small { font-size: 10px; } }
.opt.big .lbl { display: block; }
.opt.big small { text-wrap: balance; }
.staffs { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.staffs .opt { font-weight: 700; width: 100%; flex: 1; }
.staff { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.prof { align-self: center; background: none; border: 0; padding: 2px 6px; font-size: 12px; color: var(--gray); text-decoration: underline; cursor: pointer; }
.staffs .opt small { font-weight: 400; }

/* メニュー・クーポンの行 */
.cat { font-size: 18px; font-weight: 700; margin: 18px 0 6px; padding-bottom: 4px; border-bottom: none; }
.cat:first-child { margin-top: 0; }
.item {border-bottom: none;padding: 17px 19px;background: #fff;color: #000;margin-bottom: 12px;border-radius: 9px;overflow: hidden;position: relative;}
.pick {display: grid;grid-template-columns: 22px 1fr auto;gap: 4px 20px;align-items: start;width: 100%;background: none;border: 0;padding: 0px 0 4px;cursor: pointer;text-align: left;}
.pick .box {width: 24px;height: 24px;border: 1px solid #443a32;margin-top: 3px;position: relative;}
.item.on { background: var(--sel); color: var(--seltext); }
.pick[aria-pressed=true] .box { background: var(--paper); }
.pick[aria-pressed=true] .box::after { content: ''; position: absolute; left: 8px; top: 3px; width: 6px; height: 12px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pick .nm {font-weight: 700;font-size: 17px;line-height: 140%;overflow-wrap: anywhere;}
.pick .nm .tag { display: inline-block; font-size: 10px; font-weight: 700; border: 1px solid currentColor; padding: 0 5px; margin-left: 6px; vertical-align: 2px; white-space: nowrap; }
.pick .nm .subttl { display: block; margin-top: 4px; font-size: 13px; font-weight: 700; line-height: 1.4; color: #000000; }
.pick .nm .setnote { display: block; margin-top: 4px; font-size: 13px; font-weight: 700; line-height: 1.4; color: #000000; }
.pick .nm .setnote::before { content: '└ '; }
.pick .pt {text-align: right;white-space: nowrap;font-size: 17px;line-height: 126%;}
.pick .pt small {display: block;font-size: 15px;color: #000000;}
.item { cursor: pointer; }
.item .vars { cursor: default; }
.desc {font-size: 12px;color: #000000;margin: 0 0 10px 42px;overflow-wrap: anywhere;}
.desc.clamp {white-space: normal;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;overflow: hidden;line-height: 150%;}
.item.nomore .desc { margin-bottom: 0; }
.more {background: none;border: 0;padding: 0;margin: -6px 0 0px 42px;font-size: 12px;text-decoration: underline;cursor: pointer;color: #000000;display: block;}
/* 「続きを読む」が無いカードは、最後の要素の下の余白を取る */
.item > :last-child { margin-bottom: 0; }
.vars { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 8px 42px; }
.vars .opt { padding: 7px 10px; font-size: 13px; background: transparent; color: var(--paper); border-color: var(--paper); }
.vars .opt[aria-pressed=true] { background: var(--paper); color: #fff; border-color: var(--paper); }

.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slots button { background: var(--paper); border: 1px solid var(--ink); font-size: 14px; padding: 9px 0; cursor: pointer; }
.slots button[aria-pressed=true] { background: var(--sel); color: var(--seltext); }
.slots button:disabled { opacity: .25; cursor: not-allowed; text-decoration: line-through; }
.slots-msg { font-size: 13px; color: var(--gray); padding: 8px 0; }
.err { color: var(--red); font-size: 13px; font-weight: 700; margin-top: 6px; display: none; }
.err.on { display: block; }
.err::before { content: "！ "; }
input.is-error, textarea.is-error { border-color: var(--red); border-width: 2px; }
.alert { border: 2px solid var(--red); color: var(--red); font-weight: 700; padding: 12px 14px; font-size: 14px; margin-bottom: 20px; display: none; }
.alert.on { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sum { border: 1px solid var(--ink); padding: 14px 16px; margin: 0 0 16px; font-size: 14px; }
/* 予約フォームでは、確認欄と予約ボタンを同じ枠に入れる(確認欄が出ていないときは枠なしでボタンだけ) */
.sumbox.has { border: 1px solid var(--ink); padding: 14px 16px 16px; }
.sumbox .sum { border: 0; padding: 0; }
.sum h2 { font-size: 12px; letter-spacing: .1em; margin: 0 0 8px; }
.sum table { width: 100%; border-collapse: collapse; }
.sum td { padding: 3px 0; vertical-align: top; }
.sum td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
.sum td small { color: var(--gray); font-size: 11px; display: block; }
.sum tr.total td { border-top: 1px solid var(--ink); padding-top: 8px; font-weight: 700; font-size: 16px; }
.sum .meta { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.submit {width: 100%;font-weight: 700;background: #92daec;color: var(--paper);border: none;padding: 22px;cursor: pointer;letter-spacing: .06em;border-radius: 8px;font-size: 20px;}
.submit:disabled { opacity: .4; cursor: not-allowed; }
.submit.ghost { background: var(--paper); color: var(--ink); border: 1px solid var(--ink); margin-top: 10px; }
.submit.danger { background: var(--paper); color: var(--red); border: 1px solid var(--red); margin-top: 10px; }
/* 画面上部に固定する合計バー(すりガラス風。backdrop-filter 非対応のブラウザでは不透明に近い白) */
.bar { position: fixed; left: 0; right: 0; top: 0; background: rgba(255, 255, 255, .94); color: #2e2620; padding: calc(12px + env(safe-area-inset-top)) var(--m) 12px; font-size: 14px; z-index: 10; border-bottom: 1px solid rgba(255, 255, 255, .35); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .bar { background: rgba(255, 255, 255, .57); -webkit-backdrop-filter: saturate(180%) blur(10px); backdrop-filter: saturate(180%) blur(10px); }
}
.bar { transition: transform .35s ease, visibility 0s; }
.bar.away { transform: translateY(-100%); visibility: hidden; pointer-events: none; transition: transform .35s ease, visibility 0s .35s; }
@media (prefers-reduced-motion: reduce) { .bar, .bar.away { transition: none; } }
.bar .in { max-width: 520px; margin: 0 auto; }
.bar .bl { list-style: none; margin: 0 0 6px; padding: 0 0 6px; border-bottom: 1px solid rgba(46, 38, 32, .25); font-size: 12px; line-height: 1.5; max-height: 30vh; overflow-y: auto; }
.bar .bl li { display: flex; justify-content: space-between; gap: 12px; }
.bar .bl li span:last-child { white-space: nowrap; }
.bar .bl li.off { color: #b3261e; }
/* 直前のメニューにかかる割引は、字下げして「└」を付ける */
.bar .bl li.sub span:first-child, .sum tr.sub td:first-child { padding-left: 0.3em; }
.bar .bl li.sub span:first-child::before, .sum tr.sub td:first-child::before { content: '└ '; }
.sum tr.off td { color: var(--red); }
.bar .bt { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bar b { font-size: 18px; }
.done dl { margin: 20px 0; border-top: 1px solid var(--ink); }
.done dt { font-size: 12px; letter-spacing: .1em; padding-top: 12px; color: var(--gray); }
.done dd { margin: 2px 0 12px; font-size: 17px; border-bottom: 1px solid var(--ink); padding-bottom: 12px; white-space: pre-line; }
@media (max-width: 400px) { .slots { grid-template-columns: repeat(3, 1fr); } }

/* 空き状況の週間表 */
.weeknav { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; margin-bottom: 10px; }
.weeknav .opt { padding: 8px 10px; font-size: 13px; }
.weeknav .opt:disabled { opacity: .25; cursor: not-allowed; }
.weeknav span { text-align: center; font-size: 13px; font-weight: 700; line-height: 1.3; }
.wk { width: 100%; border-collapse: collapse; table-layout: fixed; }
.wk th, .wk td { border: 1px solid var(--line); padding: 0; text-align: center; }
.wk thead th { position: sticky; top: var(--bar-h, 0px); z-index: 2; background: var(--paper); font-size: 13px; font-weight: 700; padding: 6px 0 5px; line-height: 1.2; box-shadow: 0 1px 0 var(--ink); }
.wk thead th small { display: block; font-size: 11px; font-weight: 400; }
.wk thead th.d0, .wk thead th.d6 { background: var(--tint); }
.wk thead th.closed { color: var(--mute); }
.wk th.t { width: 46px; font-size: 12px; font-weight: 400; color: var(--gray); background: var(--paper); }
.wk td { height: 36px; }
/* ○は文字だと上下にずれるので、文字は隠して円を描く(マスの中央に置く) */
.wk td button { display: flex; align-items: center; justify-content: center; width: 100%; height: 36px; border: 0; background: none; cursor: pointer; font-size: 0; padding: 0; }
.wk td button::before { content: ''; width: 18px; height: 18px; border: 2px solid currentColor; border-radius: 50%; }
.wk td button:hover { background: var(--tint); }
.wk td button[aria-pressed=true] { background: var(--sel); color: var(--seltext); }
.wk td.x { color: var(--mute); font-size: 13px; }
.picked { border: 1px solid var(--ink); padding: 10px 14px; margin-top: 10px; font-weight: 700; }

/* 担当のプロフィール(画面に重ねて表示) */
.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, .55); }
.sheet { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; background: #fff; color: #000; border-radius: 12px; padding: 22px; }
.sheet .x { position: absolute; top: 10px; right: 10px; z-index: 1; width: 38px; height: 38px; background: rgba(255, 255, 255, .85); border: 0; border-radius: 50%; font-size: 24px; line-height: 1; color: #000; cursor: pointer; }
.sheet .ph { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 20%; border-radius: 10px; margin: 0 0 16px; background: #eee; }
.sheet h2 { font-size: 22px; margin: 0 40px 2px 0; }
.sheet .ttl { font-size: 13px; margin: 0 0 12px; color: #555; }
.sheet .catch { font-size: 14px; font-weight: 700; margin: 0 0 16px; }
.sheet dl { margin: 0 0 18px; }
.sheet dt { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: #0b0b0b; margin-top: 14px; background: #bce2ed; padding: 3px 8px; border-radius: 3px; }
.sheet dd { margin: 4px 0 0; font-size: 14px; }
.sheet .submit { margin-top: 10px; padding: 16px; font-size: 16px; }
/* 予約の確認画面 */
.sheet.conf:focus { outline: none; }
.sheet.conf h2 { margin-right: 0; }
.conf dd { white-space: pre-line; overflow-wrap: anywhere; }
.conf dd a { color: inherit; }
.conf .cl { list-style: none; margin: 0; padding: 0; white-space: normal; }
.conf .cl li { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }
.conf .cl li span:last-child { white-space: nowrap; }
.conf .cl li.off { color: #b3261e; }
.conf .cl li.sub span:first-child { padding-left: 0.3em; }
.conf .cl li.sub span:first-child::before { content: '└ '; }
.conf .cl li.total { margin-top: 6px; padding-top: 8px; border-top: 1px solid #bbb; font-weight: 700; font-size: 16px; }
.conf .policy { margin: 0 0 8px; padding: 12px 14px; border: 1px solid #b3261e; border-radius: 8px; color: #b3261e; font-size: 14px; font-weight: 700; }
.conf .textlink { display: block; margin: 14px auto 0; padding: 6px 10px; background: none; border: 0; font: inherit; font-size: 13px; color: #333; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.conf .textlink:disabled { opacity: .4; cursor: not-allowed; }
.sheet button:focus-visible, .sheet a:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
.ig { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; text-decoration: underline; }
.sheet .ig { display: flex; width: fit-content; margin: 6px 0 14px; color: #000; }
.sheet .ttl:not([hidden]) + .ig { margin-top: -4px; }

/* 切り替えたときなどの短いお知らせ */
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 40; max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 999px; background: rgba(0, 0, 0, .82); color: #fff; font-size: 13px; text-align: center; }
