/* イチゴス横浜 予約ページ（お客さんの画面）
   レイアウト・文字の組み方は ichigos.jp のキッチンカーのページ（kitchencar.css）にそろえ、
   色はロゴ（金茶・焦げ茶・苺・葉）と、かなこさんの水彩画（花の緑・生成り・いちごの珊瑚色）から取る。
   コントラストは飾り（--faint）以外 WCAG AA（4.5:1）以上。 */
:root {
  --paper: #FBF7F0;        /* ページの地（生成りの紙） */
  --surface: #FFFDF9;      /* カード */
  --ink: #33261B;          /* 見出し・本文（ロゴの焦げ茶に寄せた黒） */
  --body: #5A4B3D;
  --muted: #76685A;        /* 補足 */
  --faint: #9C8F80;        /* 飾りの記号だけ */
  --line: rgba(51, 38, 27, .12);
  --line-strong: rgba(51, 38, 27, .24);
  --berry: #B83A42;        /* アクセント・ボタン（水彩のいちごを締めた色） */
  --berry-deep: #962C34;
  --berry-wash: #FBEDEA;
  --leaf: #2F7A4F;         /* 空きあり（ロゴの葉） */
  --sage: #E4EEDD;         /* 水彩の花の緑をうすく */
  --sage-deep: #7FA886;
  --gold: #81611E;         /* 番号・英字の見出し（ロゴの文字色） */
  --amber: #9A6A0E;        /* 残りわずか */
  --cream: #F4EAD0;
  --sat: #3F6690;
  --night: #3D3A7C;
  --radius: 3px;           /* 入れ物（カード・表・入力欄）はほぼ四角 */
  --pill: 999px;           /* 押せるもの（ボタン）は丸く。ichigos.jp・勤怠システムとそろえる（2026-10-25 オーナー） */
  --gutter: clamp(20px, 5vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  font-family: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', system-ui, sans-serif;
  font-weight: 400; font-size: 15px; line-height: 1.85; letter-spacing: .04em;
  font-feature-settings: "palt"; -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-underline-offset: .22em; text-decoration-thickness: 1px; transition: color .2s; }
a:hover { color: var(--berry); }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; border-radius: 2px; }
img, svg { max-width: 100%; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--surface); padding: 8px 12px; }

/* ── 上の帯 ─────────────────────────────── */
.site-head {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1120px; width: 100%; margin: 0 auto; padding: 18px var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
/* ロゴは ichigos.jp のヘッダーと同じくらいの大きさ（字の幅 約220px）。下の YOKOHAMA は枠の外に出して隠す（ロゴの高さ200のうち上の137が字） */
.brand .mark { display: block; height: 48px; overflow: hidden; }
.brand .logo { height: calc(48px * 200 / 137); width: auto; display: block; }
.brand-sub { font-size: 10px; letter-spacing: .3em; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line-strong); line-height: 1.4; }
.head-links { display: flex; align-items: center; gap: 18px; font-size: 12px; letter-spacing: .14em; }
.head-links a { color: var(--body); text-decoration: none; }
.head-links a:hover { color: var(--berry); }
.lang-switch { margin: 0; }
.lang-switch button {
  display: inline-block; width: auto; min-height: 0; margin: 0; box-shadow: none;
  background: none; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--body);
  font: inherit; font-size: 11px; letter-spacing: .16em; padding: 3px 12px; cursor: pointer; transition: border-color .2s, color .2s;
}
.lang-switch button:hover { border-color: var(--berry); color: var(--berry); background: none; box-shadow: none; }

/* 水彩の花の帯（領収書と同じ素材。白は乗算で紙の色になじむ） */
.wash {
  position: absolute; left: 0; right: 0; top: 0; height: clamp(130px, 17vw, 230px);
  background: url("receipt/flowers.e768c1c61c07.jpg") center top / cover no-repeat;
  mix-blend-mode: multiply; opacity: .42; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(#000 40%, transparent);
          mask-image: linear-gradient(#000 40%, transparent);
}
.page-top { position: relative; }

/* ── 本文 ──────────────────────────────── */
main {
  position: relative; flex: 1;
  width: 100%; max-width: 760px; margin: 0 auto; padding: 8px var(--gutter) 72px;
}
main.wide { max-width: 1120px; }
.eyebrow { margin: clamp(28px, 6vw, 56px) 0 14px; font-size: 11px; letter-spacing: .32em; color: var(--gold); text-transform: uppercase; }
h1 {
  margin: 0 0 18px; font-weight: 400; font-size: clamp(26px, 4.6vw, 40px);
  line-height: 1.5; letter-spacing: .12em; word-break: auto-phrase; text-wrap: pretty;
}
h1 .sub { display: block; margin-top: 6px; font-size: .42em; letter-spacing: .14em; color: var(--muted); }
h2 { margin: 48px 0 16px; font-weight: 400; font-size: clamp(18px, 2.4vw, 21px); letter-spacing: .12em; line-height: 1.6; }
.card h2, .panel h2 { margin: 0 0 14px; }
h3 { font-weight: 500; font-size: 15px; letter-spacing: .08em; margin: 0 0 6px; }
.lead { color: var(--body); font-size: 15px; margin: 0 0 8px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); font-size: 14px; }
.small { font-size: 12.5px; line-height: 1.9; }
.nowrap { white-space: nowrap; }
strong, b { font-weight: 500; }
.back { display: inline-flex; align-items: center; gap: 8px; margin: 22px 0 0; font-size: 12px; letter-spacing: .14em; color: var(--body); text-decoration: none; }
.back::before { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .25s var(--ease); }
.back:hover::before { width: 28px; }

/* 手順（01 日付 → 05 完了） */
.steps { list-style: none; display: flex; gap: 0; margin: 20px 0 0; padding: 0; counter-reset: step; }
.steps li {
  flex: 1; min-width: 0; padding-top: 10px; border-top: 1px solid var(--line-strong);
  font-size: 11px; letter-spacing: .1em; color: var(--muted); line-height: 1.5;
}
.steps li .n { display: block; font-size: 10px; letter-spacing: .24em; }
.steps li.done { color: var(--muted); border-top-color: var(--sage-deep); }
.steps li.now { color: var(--ink); border-top: 2px solid var(--berry); padding-top: 9px; }
.steps li.now .n { color: var(--berry); }
@media (max-width: 420px) { .steps li:not(.now) .t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* 番号付きの段（キッチンカーの .sec-head と同じ組み方） */
.sec-head { display: flex; align-items: baseline; gap: 14px; margin: 44px 0 16px; }
.sec-head .num { font-size: 11px; letter-spacing: .26em; color: var(--berry); }
.sec-head h2 { margin: 0; }

/* カード */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 4vw, 32px); margin: 16px 0;
}
.card > :last-child { margin-bottom: 0; }

/* ── 人数と月 ───────────────────────────── */
.party { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 26px 0 6px; }
.party label { margin: 0; font-size: 13px; letter-spacing: .16em; color: var(--body); font-weight: 400; }
.party .hint { flex-basis: 100%; }
select {
  -webkit-appearance: none; appearance: none; font: inherit; font-size: 16px; color: var(--ink);
  padding: 10px 40px 10px 16px; min-height: 46px; min-width: 96px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2333261B' stroke-width='1.2'/%3E%3C/svg%3E") right 16px center no-repeat;
  border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; transition: border-color .2s;
}
select:hover, select:focus { border-color: var(--ink); outline: none; }

/* ── カレンダー ─────────────────────────── */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin: 36px 0 14px; }
.cal-title { margin: 0; font-weight: 400; font-size: clamp(20px, 3vw, 26px); letter-spacing: .14em; }
.cal-title .y { display: block; font-size: 11px; letter-spacing: .3em; color: var(--gold); text-align: center; }
.cal-nav {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1px solid var(--line-strong); border-radius: 50%; text-decoration: none; color: var(--ink);
  font-size: 18px; line-height: 1; transition: border-color .2s, background .2s, color .2s;
}
a.cal-nav:hover { border-color: var(--berry); color: var(--berry); background: var(--berry-wash); }
.cal-nav.off { color: var(--line-strong); border-color: var(--line); }
table.cal {
  width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
table.cal th { padding: 12px 0 10px; font-size: 11px; font-weight: 400; letter-spacing: .18em; color: var(--muted); border-bottom: 1px solid var(--line); }
table.cal td { height: clamp(74px, 12vw, 96px); padding: 3px; vertical-align: top; text-align: center; border-top: 1px solid var(--line); }
table.cal tbody tr:first-child td { border-top: 0; }
table.cal td a, table.cal td .cell {
  display: flex; flex-direction: column; align-items: center; height: 100%; padding: 7px 0 6px;
  border-radius: 2px; text-decoration: none; color: inherit; transition: background .2s var(--ease), transform .2s var(--ease);
}
table.cal td a:hover { background: var(--berry-wash); }
table.cal td a:active { transform: scale(.97); }
table.cal .d { font-size: 14px; letter-spacing: .02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
table.cal .sym { font-size: 17px; line-height: 1.5; margin-top: 3px; color: var(--faint); }
table.cal .small-sym { font-size: 9.5px; letter-spacing: .06em; color: var(--muted); margin-top: 8px; }
table.cal .price { font-size: 10px; letter-spacing: .02em; color: var(--muted); line-height: 1.4; font-variant-numeric: tabular-nums; }
table.cal .price.night { color: var(--night); white-space: nowrap; letter-spacing: 0; font-size: 9.5px; }
table.cal td.past .d, table.cal td.closed .d { color: var(--faint); }
table.cal td.many .sym { color: var(--leaf); }
table.cal td.few .sym { color: var(--amber); }
table.cal td.full .sym { color: var(--faint); }
.sun, .sun a, table.cal td.sun .d, table.cal th.sun { color: var(--berry); }
.sat, .sat a, table.cal td.sat .d, table.cal th.sat { color: var(--sat); }
table.cal td.past.sun .d, table.cal td.past.sat .d, table.cal td.closed.sun .d, table.cal td.closed.sat .d { opacity: .55; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 10px; padding: 0; font-size: 12.5px; color: var(--body); }
.legend b { font-weight: 400; margin-right: 4px; }
.legend .many { color: var(--leaf); } .legend .few { color: var(--amber); } .legend .full { color: var(--faint); }
.legend .small-sym { font-size: 10px; color: var(--muted); }
/* 料金・キャンセル・お支払いのまとめ（D112） */
.summary { margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.summary > div { display: grid; grid-template-columns: 6.5em 1fr; gap: 0 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary dt { font-size: 12px; letter-spacing: .14em; color: var(--body); font-weight: 400; padding-top: 1px; }
.summary dd { margin: 0; font-size: 13px; line-height: 1.8; color: var(--ink); }
.summary dd .muted { font-size: 12px; }
.price-table summary { cursor: pointer; font-size: 12px; color: var(--body); margin-top: 4px; }
.price-table table { margin-top: 8px; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 4px 10px 4px 0; text-align: right; font-weight: 400; border-bottom: 1px solid var(--line); }
.price-table tbody th { text-align: left; color: var(--body); }
.price-table thead th { color: var(--muted); }
/* 昼・夜の切り替え（D112） */
/* 昼・夜の切り替え（D112）。押せるものは丸く（--pill）：溝の中で選んだ所だけが白く浮く切り替え（iPhone の「セグメント」の形） */
.kind-switch { display: flex; gap: 4px; margin: 28px 0 0; padding: 4px; background: var(--cream); border-radius: var(--pill); width: fit-content; }
.kind-switch a { padding: 8px 20px; min-height: 40px; box-sizing: border-box; display: inline-flex; align-items: center; gap: 4px; border-radius: var(--pill);
  font-size: 13px; letter-spacing: .1em; color: var(--body); text-decoration: none; transition: background .2s var(--ease), color .2s var(--ease); }
.kind-switch a[aria-current] { background: var(--surface); color: var(--berry); box-shadow: 0 1px 3px rgba(51, 38, 27, .18); }
.kind-switch a:not([aria-current]):hover { color: var(--berry); }
main.wide .kind-switch { margin-top: 0; }
/* 切り替え・月の移動の後に #cal へ飛ぶとき、切り替えの上が画面の端で切れないよう少し空ける（iPhone・2026-10-27） */
#cal { scroll-margin-top: 20px; }
.notes { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.notes p { font-size: 12.5px; line-height: 1.9; color: var(--muted); margin: 0 0 6px; }

/* ── 時間の一覧 ─────────────────────────── */
.slot-list { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.slot-row {
  position: relative; display: grid; grid-template-columns: 78px 26px 1fr 16px; align-items: center; gap: 14px;
  padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); transition: border-color .2s, transform .25s var(--ease), box-shadow .25s var(--ease);
}
a.slot-row::after { content: "→"; color: var(--faint); transition: transform .25s var(--ease), color .2s; }
a.slot-row:hover { border-color: var(--berry); box-shadow: 0 8px 24px -16px rgba(150, 44, 52, .5); transform: translateY(-1px); color: var(--ink); }
a.slot-row:hover::after { color: var(--berry); transform: translateX(3px); }
.slot-row .time { font-size: 22px; font-weight: 300; letter-spacing: .06em; line-height: 1.25; font-variant-numeric: tabular-nums; }
.slot-row .sym { font-size: 18px; text-align: center; }
.slot-row .info { font-size: 14px; line-height: 1.7; }
.slot-row.many .sym { color: var(--leaf); } .slot-row.few .sym { color: var(--amber); }
.slot-row.full { background: transparent; color: var(--muted); }
.slot-row.full .sym { color: var(--faint); }
.night { color: var(--night); font-size: 11px; letter-spacing: .1em; }
.slot-row .night { display: block; }

/* ── フォーム ──────────────────────────── */
label { display: block; margin: 22px 0 8px; font-size: 13px; letter-spacing: .12em; color: var(--body); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; letter-spacing: .04em; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 110px; line-height: 1.7; }
input:hover, textarea:hover { border-color: rgba(51, 38, 27, .4); }
input:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(184, 58, 66, .12); }
input[type=number] { width: 96px; text-align: center; }
input[type=checkbox], input[type=radio] { accent-color: var(--berry); width: 18px; height: 18px; margin: 0; flex: none; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.row:last-of-type { border-bottom: 0; }
.row > span:first-child { line-height: 1.6; }
.row .muted { font-size: 12.5px; }
.row select { min-width: 96px; }
.row label { margin: 0; }
.row.sub { border-bottom: none; padding: 6px 0; } .row.sub input { width: 70px; }
.checks ul, .checks div { list-style: none; padding: 0; margin: 8px 0; }
.checks label { margin: 10px 0; display: flex; gap: 10px; align-items: center; font-size: 14px; letter-spacing: .04em; color: var(--ink); }
.radios > div { display: flex; flex-wrap: wrap; gap: 0 22px; }
label.inline { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 8px; font-size: 14px; letter-spacing: .04em; color: var(--ink); line-height: 1.7; }
label.inline input { margin-top: 4px; }
.small-label { font-size: 12.5px; }
.discount-box { margin-top: 18px; padding: 16px 18px; background: var(--sage); border-radius: var(--radius); }
.discount-box h3 { font-size: 14px; }
.doc-list { margin: 4px 0 8px; }
details.discount { margin-top: 18px; }
details.discount summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
  font-size: 13px; letter-spacing: .08em; transition: border-color .2s, color .2s;
}
details.discount summary:hover { border-color: var(--berry); color: var(--berry); }
details.discount summary::before { content: "+"; font-size: 15px; line-height: 1; color: var(--berry); transition: transform .25s var(--ease); }
details.discount[open] summary::before { transform: rotate(45deg); }
details.discount summary::-webkit-details-marker { display: none; }
details > summary.small { cursor: pointer; color: var(--body); margin-top: 8px; }
.notice-box { max-height: 280px; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 18px; background: var(--paper); font-size: 13.5px; line-height: 1.9; }
.notice-box h4, .notice-flow h4 { font-size: 13.5px; font-weight: 500; letter-spacing: .06em; margin: 16px 0 4px; }
.notice-box h4::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--berry); margin: 0 10px 2px 0; }
.notice-open { max-height: none; overflow: visible; border: 0; padding: 0; background: none; }
.notice-box p, .notice-box ul { margin: 2px 0 8px; } .notice-box ul, .notice-flow ol { padding-left: 1.3em; }
.notice-flow { font-size: 13.5px; line-height: 1.9; }
/* いちご狩りのルール（予約のときに同意してもらう分）は枠で囲まずに全部見せる */
.notice-rules { font-size: 14px; line-height: 1.9; }
.notice-rules h4 { font-size: 14px; font-weight: 500; letter-spacing: .06em; margin: 18px 0 4px; }
.notice-rules h4::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--berry); margin: 0 10px 2px 0; }
.notice-rules p, .notice-rules ul { margin: 2px 0 8px; } .notice-rules ul { padding-left: 1.3em; }
.notice-rules li { margin: 2px 0; }
.notice-flow ul { padding-left: 1.3em; margin: 10px 0; }
.season-note { background: #FBF1DC; border-left: 3px solid var(--amber); padding: 12px 16px; margin: 16px 0; font-size: 14px; }
.late-note { background: #FBF1DC; border-left: 3px solid var(--amber); padding: 10px 14px; margin: 12px 0; font-size: 13.5px; }
label.agree { margin-top: 20px; }
.notice-flow li { margin: 4px 0; }

/* ボタン */
button, .btn {
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 58px; margin-top: 24px;
  padding: 14px 24px; font: inherit; font-size: 15px; letter-spacing: .16em; color: #fff; text-decoration: none;
  background: var(--berry); border: 0; border-radius: var(--pill); cursor: pointer;
  transition: background .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
button:hover, .btn:hover { background: var(--berry-deep); color: #fff; box-shadow: 0 10px 24px -14px rgba(150, 44, 52, .8); }
button:active, .btn:active { transform: translateY(1px); }
button:disabled { opacity: .45; cursor: default; box-shadow: none; }
button.two-line { flex-direction: column; gap: 2px; }
/* お客さんの画面のボタンは、スマホでは画面いっぱい、パソコンでは広がりすぎないよう真ん中に。
   お支払いの画面のカードの欄・Apple Pay・Google Pay（.pay-box）も同じ幅にそろえる（2026-10-27 オーナー） */
body:not(.staff) main button:not(.link-button), body:not(.staff) main .btn, .pay-box { max-width: 440px; margin-left: auto; margin-right: auto; }
button.two-line .note { font-size: 11px; letter-spacing: .12em; opacity: .85; }
.link-button {
  display: inline; width: auto; min-height: 0; margin-top: 14px; padding: 4px 0; background: none; color: var(--muted);
  font-size: 13px; letter-spacing: .06em; text-decoration: underline; text-underline-offset: .25em;
}
.link-button:hover { background: none; color: var(--berry); box-shadow: none; }
/* 2つ並ぶ操作（人数を減らす・キャンセル・領収書） */
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
a.slot, .btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 22px;
  border: 1px solid var(--ink); border-radius: var(--pill); background: transparent; color: var(--ink);
  font-size: 13.5px; letter-spacing: .12em; text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
a.slot:hover, .btn-line:hover { background: var(--ink); color: var(--paper); }

/* 金額の表 */
table { width: 100%; border-collapse: collapse; }
.card table td { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.card table tr:last-child td { border-bottom: 0; }
td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.total td { padding-top: 14px; font-size: 16px; border-top: 1px solid var(--line-strong); }
.code { font-size: 26px; font-weight: 300; letter-spacing: .14em; line-height: 1.3; font-variant-numeric: tabular-nums; }
.kv { font-size: 11px; letter-spacing: .24em; color: var(--gold); margin: 0 0 2px; }
.when { font-size: 18px; letter-spacing: .08em; margin: 14px 0 12px; }

/* 状態の知らせ */
.error { color: var(--berry); font-weight: 500; }
.paid { display: flex; gap: 10px; align-items: center; margin: 16px 0 14px; padding: 12px 16px; background: var(--sage); color: var(--leaf); font-size: 13.5px; border-radius: var(--radius); }
.warn-box { border-left: 3px solid var(--amber); background: #FBF1DC; border-radius: 0 var(--radius) var(--radius) 0; padding: 12px 16px; font-size: 13.5px; margin: 10px 0; color: var(--ink); }
.errorlist { list-style: none; padding: 0; margin: 6px 0 8px; color: var(--berry); font-weight: 500; font-size: 13px; }
.errorlist li::before { content: "— "; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border: 1.5px solid var(--berry); background: var(--berry-wash); }
.next-steps ol { counter-reset: ns; list-style: none; padding: 0; margin: 0 0 12px; }
.next-steps li { counter-increment: ns; position: relative; padding: 12px 0 12px 44px; border-bottom: 1px solid var(--line); font-size: 14px; }
.next-steps li::before { content: counter(ns, decimal-leading-zero); position: absolute; left: 0; top: 13px; font-size: 11px; letter-spacing: .2em; color: var(--berry); }
.pay-note { margin-top: 22px; }
.pay-note p { font-size: 12.5px; line-height: 1.9; color: var(--muted); }
#card-container { min-height: 90px; }
.card-brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 0 10px; }
.card-brands img { display: block; width: 38px; height: auto; border-radius: 3px; }
/* Apple Pay・Google Pay（D109）。ボタンの見た目は各社の決まりのまま（Apple Pay は Safari の組み込みの絵） */
.wallets { margin: 0 0 18px; }
.wallets.busy { pointer-events: none; opacity: .45; }
.wallet-buttons { display: flex; gap: 10px; }
.wallet-buttons > * { flex: 1 1 0; min-width: 0; }
.apple-pay-button {
  display: block; width: 100%; height: 50px; margin: 0; border-radius: var(--pill); cursor: pointer;
  -webkit-appearance: -apple-pay-button; -apple-pay-button-type: plain; -apple-pay-button-style: black;
}
.apple-pay-button[hidden] { display: none; }
/* 丸い形と縁なしは、Google Pay の API の buttonRadius・buttonBorderType（no_border）で選べる見た目。Square の attach がそれを渡せないので CSS で同じにする */
#google-pay-button { height: 50px; border-radius: var(--pill); overflow: hidden; }
#google-pay-button:empty { display: none; }
/* サイト全体のボタンの色・幅を、Google の描くボタンに効かせない */
#google-pay-button button { width: 100%; min-height: 0; margin: 0; letter-spacing: normal; box-shadow: none; transform: none; border: 0 !important; outline: 0; border-radius: var(--pill) !important; }
.wallets-or { text-align: center; margin: 14px 0 0; }
.hold { display: flex; align-items: baseline; gap: 10px; margin: 20px 0 0; font-size: 14px; color: var(--body); }
.hold strong { font-size: 20px; font-weight: 400; letter-spacing: .08em; color: var(--berry); font-variant-numeric: tabular-nums; }

/* 完了の画面のいちご */
.done-mark { float: right; width: clamp(72px, 14vw, 110px); height: auto; margin: clamp(20px, 5vw, 44px) 0 8px 16px; mix-blend-mode: multiply; transform: rotate(-6deg); }
.done-mark + .eyebrow + h1 { clear: none; }
.done-mark ~ .card { clear: both; }

/* アプリ内ブラウザの案内（D52） */
.in-app { background: #FBF1DC; border-left: 3px solid var(--amber); padding: 14px 18px; margin: 16px 0; font-size: 13.5px; }
.in-app p { margin: 4px 0; }
.in-app-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.in-app-btn { display: inline-flex; width: auto; min-height: 40px; margin: 0; padding: 8px 16px; font-size: 13px; letter-spacing: .08em; background: var(--amber); color: #fff; border-radius: var(--pill); text-decoration: none; }
.in-app-btn:hover { background: #7E560A; color: #fff; }

/* ── 下の帯：かなこさんの水彩「丘の上の温室」を背景に ─────────── */
/* 絵の下端は地の色（#AEC99B）へ溶かしてあり（hill.jpg）、その下を同じ色で続ける。空の白は乗算で紙の色になじむ */
.site-foot { position: relative; margin-top: auto; padding-top: clamp(96px, 26vw, 380px); background: var(--paper); }
.site-foot::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(clamp(96px, 26vw, 380px) + 2px);
  background: url("receipt/hill.4ac85f8360cf.jpg") 28% bottom / cover no-repeat; mix-blend-mode: multiply; pointer-events: none;
}
/* 中身と見た目は ichigos.jp のフッター（WEBサイト/トップページ/assets/footer.css）と同じ */
.site-foot .inner {
  position: relative;
  max-width: none; margin: 0; padding: clamp(16px, 3vw, 32px) max(var(--gutter), calc((100% - 1120px) / 2 + var(--gutter))) 34px;
  background: #ABC392; color: #4A3B2E;
}
.site-foot .logo { height: clamp(52px, 7vw, 68px); width: auto; display: block; margin: 0 0 18px -4px; }
.site-foot address { font-style: normal; font-size: 12.5px; line-height: 2; letter-spacing: .08em; color: #4A3B2E; }
.site-foot address a { color: #4A3B2E; text-decoration: none; }
/* 左：ロゴ・住所・営業日／右：ページへのリンク（スマホでは縦に並ぶ） */
.foot-grid { display: grid; gap: 28px 64px; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } }
.site-foot .foot-hours { display: grid; grid-template-columns: auto 1fr; gap: 0 14px; margin: 12px 0 0; font-size: 12.5px; line-height: 2; letter-spacing: .08em; color: #4A3B2E; }
.site-foot .foot-hours dt { font-weight: 500; }
.site-foot .foot-hours dd { margin: 0; }
.site-foot .foot-note { margin: 10px 0 0; font-size: 11.5px; line-height: 1.9; letter-spacing: .06em; color: #4A3B2E; }
.site-foot .foot-note a { color: #4A3B2E; text-decoration: underline; }
/* 14項目を「左の列→右の列」の順に読む（行ごとではなく列ごとに並べる） */
.foot-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(7, auto); gap: 4px 24px; margin: 0; padding: 0; list-style: none; font-size: 12px; line-height: 2; letter-spacing: .12em; }
@media (min-width: 768px) { .foot-links { padding-top: 8px; } }
.foot-links a,
.foot-sns a { color: var(--ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.foot-links a:hover,
.foot-sns a:hover { color: var(--ink); background-size: 100% 1px; }
.foot-sns { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 28px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(51, 38, 27, .18); list-style: none; font-size: 12px; letter-spacing: .12em; }
.site-foot .foot-copy { margin: 14px 0 0; font-size: 11px; letter-spacing: .08em; color: #5E4F40; }
.site-foot .foot-copy a { color: #5E4F40; text-decoration: none; margin-right: 1em; }
.site-foot .foot-copy a:hover { text-decoration: underline; }

/* ── 動き（読み込み時にそっと上がる。動きを減らす設定では止める） ── */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
main > * { animation: rise .7s var(--ease) both; }
main > *:nth-child(2) { animation-delay: .05s; } main > *:nth-child(3) { animation-delay: .1s; }
main > *:nth-child(4) { animation-delay: .15s; } main > *:nth-child(5) { animation-delay: .2s; }
main > *:nth-child(n+6) { animation-delay: .25s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── 大きい画面 ──────────────────────────── */
/* カレンダーの画面は、説明を左・カレンダーを右に並べる */
@media (min-width: 1024px) {
  main.wide .split {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 80px; align-items: start;
    grid-template-areas: "intro cal" "notes cal"; grid-template-rows: auto 1fr;
  }
  main.wide .intro { grid-area: intro; }
  main.wide .cal-wrap { grid-area: cal; margin-top: 56px; }
  main.wide .cal-notes { grid-area: notes; margin-top: 36px; }
  main.wide .cal-head { margin-top: 0; }
  main.wide .eyebrow { margin-top: 56px; }
  main.wide h1 { font-size: 34px; letter-spacing: .1em; }
}
@media (min-width: 900px) {
  body { font-size: 15.5px; }
  .site-head { padding-top: 26px; padding-bottom: 26px; }
  .brand .mark { height: 72px; }
  .brand .logo { height: calc(72px * 200 / 137); }
}
@media (max-width: 560px) {
  .head-links .ext { display: none; }
  .brand-sub { display: none; }
  .slot-row { grid-template-columns: 64px 22px 1fr 14px; gap: 10px; padding: 16px 16px; }
  .slot-row .time { font-size: 19px; }
}
@media print {
  .wash, .site-head, .site-foot, .steps, .lang-switch { display: none; }
  body { background: #fff; }
  main > * { animation: none; }
}

/* 段の見出し：苺色の短い線を頭に置く（カレンダーの月は除く） */
.card h2, main > h2 { display: flex; align-items: center; gap: 14px; }
.card h2::before, main > h2::before { content: ""; flex: none; width: 18px; height: 1px; background: var(--berry); }
.hold-note { margin-top: 20px; }
.addressee { display: flex; align-items: center; gap: 12px; }
.addressee span { flex: none; }
button + p, form + p, .actions + p { margin-top: 14px; }
