/* v2: 会員証は C 案、クーポンとショップカードは A 案の組み立て。文字は標準の段（本文 16px）にそろえた。
   色は店の1色から作る（theme.js）。色の量は html の data-color で3段階。
   1 = 押せる所だけ（これまで）／ 2 = 地と面に薄く ／ 3 = 主役の面を店の色で塗る */

:root {
  --brand: #0F6B3C; --on-brand: #FFFFFF; --brand-ink: #0F6B3C; --brand-press: #0B5630;
  --brand-tint: #F3F8F4; --brand-soft: #E2F0E6; --brand-line: #BCD8C6; --brand-ring: #0F6B3C;
  --brand-hi: #17734A; --brand-lo: #0A5C33; --brand-slot: #0A5630; --brand-slot-line: #2F7D54; --brand-face-sub: #CFE1D8;
  --brand-seal: #FFFFFF; --brand-seal-ink: #0F6B3C; --brand-seal-ring: #FFFFFF;
  --c-brand: var(--brand); --c-on-brand: var(--on-brand); --c-brand-press: var(--brand-press); --c-brand-tint: var(--brand-soft);
}

/* 共通 */
.nw { white-space: nowrap; }
.kari { font-size: 12px; line-height: 18px; }
.tag--brand { color: var(--brand-ink); }
.btn--primary { box-shadow: inset 0 0 0 1px var(--brand-ring); }
/* 押せない間も、何のボタンかは読めるようにする（グレーの地に 6:1 の文字） */
.btn[disabled] { box-shadow: inset 0 0 0 1px var(--c-line); color: var(--c-text-sub); }
.stamp.is-on { border-color: var(--brand-ring); }
.v-ink { color: var(--c-text); }
html:not([data-color="1"]) .v-ink { color: var(--brand-ink); }
html:not([data-color="1"]) .art { background: var(--brand-soft); color: var(--brand-ink); }
html:not([data-color="1"]) .tab[aria-selected="true"] { border-bottom-color: var(--brand-ink); }
.v-label { color: var(--c-text-sub); font-size: var(--fs-sub); }
.v-go { color: var(--brand-ink); }

/* 会員証（C 案の組み立て） */
body.v-bg { background: var(--c-bg-sub); }
html:not([data-color="1"]) body.v-bg { background: var(--brand-tint); }
.v-home { padding: var(--sp-3) var(--sp-3) var(--sp-8); }
.v-panel { background: var(--c-bg); border-radius: var(--r-panel); overflow: hidden; }
.v-id__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-5) var(--sp-4) var(--sp-4); }
.v-id__name small { font-size: var(--fs-sub); font-weight: 400; margin-left: 4px; }
.v-id__code { margin: 0 var(--sp-4); padding: var(--sp-4) var(--sp-2) 0; border-top: 1px solid var(--c-line); }
.v-id__code svg { width: 100%; height: 72px; }
.v-id__meta { display: flex; align-items: baseline; justify-content: space-between; margin: var(--sp-4) var(--sp-4) 0; padding: var(--sp-3) 0 var(--sp-4); border-top: 1px solid var(--c-line); font-size: var(--fs-sub); }
.v-id__meta dt { color: var(--c-text-sub); }
.v-id__meta dd { font-size: var(--fs-body); font-weight: 700; }
html[data-color="3"] .v-id__head { padding-bottom: var(--sp-5); background: var(--brand) linear-gradient(180deg, var(--brand-hi), var(--brand-lo)); color: var(--on-brand); }
html[data-color="3"] .v-id__head .v-label { color: inherit; }
html[data-color="3"] .v-id__head .tag { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
html[data-color="3"] .v-id__code { padding-top: var(--sp-5); border-top: 0; }

.v-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); margin-top: var(--sp-3); }
.v-tile { display: flex; flex-direction: column; padding: var(--sp-4); background: var(--c-bg); border-radius: var(--r-panel); }
.v-tile:active { background: var(--c-bg-press); }
.v-tile .t-num { display: block; margin-top: 2px; }
/* The 「…を見る」 rows of a pair sit at the tiles' foot, so their lines meet across even when one number is taller (2026-11-06). */
.v-tile__go { margin-top: auto; }
.v-tile .t-num { margin-bottom: var(--sp-3); }
.v-tile__go { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-1); min-height: calc(var(--fs-sub) * 1.45 * 2 + var(--sp-3)); margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--c-line); font-size: var(--fs-sub); font-weight: 700; line-height: 1.45; }
/* 幅 320 の端末でも「クーポンを見る」が1行に収まるように、内側の余白と記号を少し詰める */
@media (max-width: 339px) {
  .v-tile { padding-inline: var(--sp-3); }
  .v-tile__go { gap: 2px; }
  .v-tile__go .i { width: 16px; height: 16px; }
}
.v-tile__go .i { color: var(--c-text-mute); }
.v-title { padding: var(--sp-6) var(--sp-1) var(--sp-2); color: var(--c-text-sub); font-size: var(--fs-sub); font-weight: 700; }
.v-row { display: flex; align-items: center; gap: var(--sp-3); min-height: var(--tap); padding: var(--sp-3) var(--sp-4); }
.v-row:active { background: var(--c-bg-press); }
.v-row__label { flex: 1; min-width: 0; }
.v-row__sub { display: block; margin-top: 2px; font-size: var(--fs-sub); font-weight: 700; }
.v-row > .i-chev { color: var(--c-text-mute); }

/* 上の帯。画面ごとの主役を置く場所で、ここに色を入れる */
.v-top { padding: var(--sp-5) var(--gut) var(--sp-4); }
html[data-color="2"] .v-top, html[data-color="3"] .v-top--card { background: var(--brand-tint); }
html[data-color="3"] .v-top--shop { background: var(--brand) linear-gradient(180deg, var(--brand-hi), var(--brand-lo)); color: var(--on-brand); }
.v-top__line { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: var(--sp-3); }
.v-top__count { color: var(--c-text-sub); font-size: var(--fs-sub); }
.v-top__count b { margin-left: 4px; color: var(--c-text); font-size: var(--fs-lead); font-variant-numeric: tabular-nums; }
html[data-color="3"] .v-top--shop .v-top__count, html[data-color="3"] .v-top--shop .v-top__count b { color: inherit; }
html[data-color="3"] .v-top--shop .btn { border-color: transparent; }

/* クーポン（A 案の組み立て。2列のカード） */
.v-sec { padding-top: var(--sp-5); padding-bottom: var(--sp-8); }
.v-sec__head { padding: 0 var(--gut) var(--sp-3); }
.v-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); padding-inline: var(--gut); }
.v-cp { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--r-box); background: var(--c-bg); }
.v-cp__art { aspect-ratio: 2 / 1; }
.v-cp__body { flex: 1; display: flex; flex-direction: column; padding: var(--sp-3) var(--sp-3) var(--sp-2); }
.v-cp__name { margin-top: var(--sp-2); font-size: var(--fs-body); font-weight: 700; line-height: 1.35; }
.v-cp__amount { margin-top: var(--sp-1); font-size: var(--fs-sub); font-weight: 700; }
.v-cp__amount b { margin-right: 1px; font-size: var(--fs-num); line-height: 1.1; font-variant-numeric: tabular-nums; }
.v-cp__stores { margin-top: auto; padding-top: var(--sp-3); color: var(--c-text-sub); font-size: var(--fs-cap); line-height: 1.45; }
.v-cp__foot { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: var(--tap); border-top: 1px solid var(--c-line); font-size: var(--fs-sub); font-weight: 700; }
.v-cp__foot.is-got { color: var(--c-text-sub); }
.v-cp__foot.is-got .num { color: var(--c-text); }
.v-cp__foot.is-get { color: var(--brand-ink); }
.v-cp__left { margin-left: 6px; color: var(--c-danger-text); font-size: var(--fs-cap); }

/* ショップカード（A 案の組み立て）。カードの面は LINE 公式の実測に合わせた:
   幅いっぱい・高さ約 310・角 8〜10・店のロゴの丸（63）が上の縁にまたがる・中央ぞろえ・
   店名 20 太字 → 期限 13 → カード名 17 太字 → 「特典まで」の行 → 5×2 のマス（直径 46・押した印は 31）。
   「STAMP」の絵・星・鍵は LINE の素材なので使わず、印は二重の輪とチェックで描く */
.v-top--card { padding: calc(var(--sp-8) + var(--sp-3)) var(--gut) var(--sp-5); }
.v-card {
  --face: var(--c-bg-sub); --face-img: none; --face-text: var(--c-text); --face-sub: var(--c-text-sub);
  --slot: #E4E4E4; --slot-line: #BDBDBD; --slot-num: var(--c-text-sub);
  --seal: var(--brand); --seal-ink: var(--on-brand); --seal-ring: var(--brand-ring);
  padding: 0 clamp(20px, 7.5vw, 30px) var(--sp-8);
  border: 1px solid var(--c-line); border-radius: 10px;
  background-color: var(--face); background-image: var(--face-img);
  color: var(--face-text); text-align: center;
}
html[data-color="2"] .v-card { --face: var(--c-bg); --slot: var(--brand-soft); --slot-line: var(--brand-line); border-color: var(--brand-line); }
html[data-color="3"] .v-card {
  --face: var(--brand); --face-img: linear-gradient(180deg, var(--brand-hi), var(--brand-lo));
  --face-text: var(--on-brand); --face-sub: var(--brand-face-sub);
  --slot: var(--brand-slot); --slot-line: var(--brand-slot-line); --slot-num: var(--brand-face-sub);
  --seal: var(--brand-seal); --seal-ink: var(--brand-seal-ink); --seal-ring: var(--brand-seal-ring);
  border-color: transparent;
}
.v-card__logo { display: grid; place-items: center; width: 64px; height: 64px; margin: -32px auto 0; border: 3px solid #FFFFFF; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 1px var(--c-line); color: var(--brand-ink); font-size: 26px; font-weight: 700; line-height: 1; }
.v-card__shop { margin-top: var(--sp-3); font-size: var(--fs-title); font-weight: 700; line-height: 1.35; }
.v-card__exp { margin-top: 2px; color: var(--face-sub); font-size: var(--fs-cap); font-variant-numeric: tabular-nums; }
.v-card__rank { margin-top: var(--sp-2); font-size: var(--fs-lead); font-weight: 700; line-height: 1.35; }
.v-card__to { display: flex; align-items: center; gap: var(--sp-2); min-height: 44px; margin: var(--sp-3) -12px 0 0; text-align: left; font-size: var(--fs-body); }
.v-card__to .i { width: 20px; height: 20px; }
.v-card__to b { margin-inline: 3px; font-size: var(--fs-title); line-height: 1; font-variant-numeric: tabular-nums; }
.v-card__fold { display: grid; place-items: center; width: 48px; height: 48px; margin-left: auto; color: inherit; }
.v-card__fold .i { transform: rotate(-90deg); }

/* マス = くぼみ。押した印 = くぼみの中の小さな丸と、その外の細い輪 */
.v-card .stamps { margin-top: var(--sp-1); gap: clamp(8px, 2.4vw, 10px) clamp(8px, 3.8vw, 15px); }
.v-card .stamp { position: relative; border: 0; background: var(--slot); color: var(--slot-num); font-size: var(--fs-cap); }
.v-card .stamp::before { content: ""; position: absolute; inset: 11%; border: 1px dashed var(--slot-line); border-radius: 50%; }
.v-card .stamp.is-on::before { inset: 16%; border: 0; background: var(--seal); box-shadow: 0 0 0 2px var(--slot), 0 0 0 3.2px var(--seal-ring); }
.v-card .stamp .i { position: relative; width: 40%; height: 40%; }
.v-card .stamp.is-on .i { color: var(--seal-ink); }
.v-card .stamp.is-on:nth-child(3n+1) .i-check { transform: rotate(-8deg); }
.v-card .stamp.is-on:nth-child(3n+2) .i-check { transform: rotate(6deg); }
.v-card .stamp.is-on:nth-child(3n) .i-check { transform: rotate(-3deg); }

.v-reward { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-4) var(--gut); }
.v-reward:active { background: var(--c-bg-press); }
.v-reward__art { flex: none; width: 96px; height: 96px; border-radius: var(--r-box); }
.v-reward__art .i { width: 40px; height: 40px; }
.v-reward__name { font-weight: 700; line-height: 1.4; }
.v-reward__need { margin-top: 2px; color: var(--c-text-sub); font-size: var(--fs-sub); }
.v-text { padding: 0 var(--gut); }
.v-text h2 { margin-top: var(--sp-5); font-size: var(--fs-sub); font-weight: 700; }
.v-text p { margin-top: 2px; color: var(--c-text-sub); font-size: var(--fs-sub); }
.v-rows { margin-top: var(--sp-6); }

/* LINE と同じ、浮かせた丸いボタン */
.v-fab { position: fixed; left: 0; right: 0; bottom: calc(var(--sp-5) + env(safe-area-inset-bottom, 0px)); z-index: 10; display: flex; justify-content: center; pointer-events: none; }
.v-fab .btn { pointer-events: auto; min-width: 200px; padding-inline: var(--sp-6); box-shadow: inset 0 0 0 1px var(--brand-ring), 0 2px 8px rgba(0, 0, 0, 0.18); }
.has-fab { --bar-space: 92px; }

/* ===== ここから下は、3画面の後に足した部品（入会・申込・カード登録・クーポン詳細・マイクーポン） ===== */

/* 店の名前の行。LINE の実測: ロゴ 40・名前は太字・右に線の丸い枠（高さ 32） */
.v-acct { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4) var(--gut) 0; }
.v-logo { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 1px var(--c-line); color: var(--brand-ink); font-size: 17px; font-weight: 700; line-height: 1; }
.v-acct__body { flex: 1; min-width: 0; }
/* テナントのロゴの画像（CHG-2026-1108-member-logo）: 丸いっぱいに出し、丸く切る。読めないときは 1文字目に戻る（tenant-logo.js）。 */
.v-logo.has-img, .v-card__logo.has-img { overflow: hidden; }
.v-logo__img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.v-acct__name { font-weight: 700; line-height: 1.35; }
.v-acct__sub { color: var(--c-text-sub); font-size: var(--fs-cap); line-height: 1.45; }
.v-pill { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 1px solid var(--c-line); border-radius: var(--r-pill); font-size: var(--fs-cap); font-weight: 700; white-space: nowrap; }
.v-pill .i { width: 16px; height: 16px; color: var(--brand-ink); }

/* クーポン詳細。LINE の実測: しるし → 題 20 太字 → 金額 → 条件と期間 → 幅いっぱいの絵 → 利用ガイド → 線のボタン → 下に固定 */
.v-detail { padding: var(--sp-3) var(--gut) var(--sp-5); }
.v-detail__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.v-detail__title { margin-top: var(--sp-2); }
.v-amount { margin-top: var(--sp-1); font-size: var(--fs-lead); font-weight: 700; }
.v-amount b { margin-right: 2px; font-size: 40px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.v-detail .kv { margin-top: var(--sp-4); }
.v-bleed { aspect-ratio: 16 / 9; }
.v-bleed .i { width: 56px; height: 56px; }
.v-guide { padding: var(--sp-5) var(--gut) 0; }
.v-guide h2 { color: var(--c-text-sub); font-size: var(--fs-cap); }
.v-guide p { margin-top: 2px; }
.v-guide .v-note { margin-top: var(--sp-2); color: var(--c-text-sub); font-size: var(--fs-cap); }
.v-stack { display: grid; gap: var(--sp-2); padding: var(--sp-6) var(--gut) var(--sp-8); }
.v-box { margin: var(--sp-5) var(--gut) 0; padding: var(--sp-4); border: 1px solid var(--c-line); border-radius: var(--r-box); }
.v-box h2 { font-size: var(--fs-sub); font-weight: 700; }
.v-box .kv { margin-top: var(--sp-3); }

/* 店頭で見せる画面。面を店の色で塗り、中の白い券に名前と金額と番号を置く */
.v-showpage .v-top--card { padding-top: var(--sp-5); }
.v-show { padding-top: var(--sp-6); }
.v-show__lead { font-size: var(--fs-title); font-weight: 700; line-height: 1.4; }
.v-show__ticket { margin-top: var(--sp-5); padding: var(--sp-5) var(--sp-4); border-radius: var(--r-box); background: #FFFFFF; color: var(--c-text); }
.v-show__name { margin-top: var(--sp-2); font-size: var(--fs-lead); font-weight: 700; line-height: 1.35; }
.v-show__no { margin-top: var(--sp-4); padding-top: var(--sp-3); border-top: 1px dashed var(--c-line-strong); color: var(--c-text-sub); font-size: var(--fs-cap); }
.v-show__no b { display: block; margin-top: 2px; color: var(--c-text); font-size: var(--fs-lead); font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.v-show__sub { margin-top: var(--sp-4); color: var(--face-sub); font-size: var(--fs-sub); }

/* 入会のご案内 */
.v-join .v-card__rank { font-size: var(--fs-title); }
.v-fee { margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--slot-line); }
.v-fee dt { color: var(--face-sub); font-size: var(--fs-sub); }
.v-fee dd { margin-top: 2px; font-size: var(--fs-lead); font-weight: 700; }
.v-fee .v-fee__how { color: var(--face-sub); font-size: var(--fs-sub); font-weight: 400; }
.v-fee b { margin-right: 2px; font-size: 40px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.v-fee .kari { border-color: currentColor; color: inherit; }
.v-sec2 { padding: var(--sp-8) var(--gut) 0; }
.v-sec2 > h2 { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-lead); font-weight: 700; line-height: 1.35; }
.v-sec2 > h2 .v-n { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); font-size: var(--fs-sub); font-variant-numeric: tabular-nums; }
.v-sec2 .kv { margin-top: var(--sp-3); }
.v-list { margin-top: var(--sp-3); }
.v-list li { display: flex; gap: var(--sp-2); padding: var(--sp-2) 0; }
.v-list li + li { border-top: 1px solid var(--c-line); }
.v-list .i { margin-top: 0.2em; width: 18px; height: 18px; color: var(--brand-ink); }
.v-terms { margin-top: var(--sp-3); border: 1px solid var(--c-line); border-radius: var(--r-box); overflow: hidden; }
.v-terms__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); min-height: var(--tap); padding: var(--sp-2) var(--sp-4); font-weight: 700; }
.v-terms__body { max-height: 168px; overflow: auto; padding: var(--sp-3) var(--sp-4) var(--sp-4); border-top: 1px solid var(--c-line); background: var(--c-bg-sub); color: var(--c-text-sub); font-size: var(--fs-sub); }
.v-terms__body p + p { margin-top: var(--sp-2); }
.v-terms__act { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); padding: var(--sp-3) var(--sp-4) var(--sp-4); border-top: 1px solid var(--c-line); }
.v-terms.is-done .v-terms__head { color: var(--c-text-sub); }

/* 入力の欄。文字は 16px 以上（小さいと iPhone が勝手に拡大する）。高さ 52 */
.v-strip { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.v-strip__no { color: var(--c-text-sub); font-size: var(--fs-cap); font-variant-numeric: tabular-nums; }
.v-field { margin-top: var(--sp-5); }
.v-field__label { display: flex; align-items: center; gap: var(--sp-2); font-weight: 700; }
.v-input, .v-select { display: block; width: 100%; min-height: 52px; margin-top: var(--sp-2); padding: 0 var(--sp-4); border: 1px solid var(--c-line-strong); border-radius: var(--r-box); background-color: #FFFFFF; color: var(--c-text); font: inherit; font-size: max(16px, var(--fs-body)); -webkit-appearance: none; appearance: none; }
.v-input:focus-visible, .v-select:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 1px; }
.v-select { padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C5C5C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 20px; }
/* 年は「1952年（昭和27年）」まで読めるように1行を使い、月と日をその下に並べる */
.v-row3 { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--sp-2); }
.v-row3 > :first-child { grid-column: 1 / -1; }
.v-hint { margin-top: 6px; color: var(--c-text-sub); font-size: var(--fs-cap); }
.v-line { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-top: var(--sp-3); padding: var(--sp-3) var(--sp-4); border: 1px solid var(--c-line); border-radius: var(--r-box); }
.v-line { flex-wrap: wrap; }
.v-line .btn { flex: 1 0 auto; min-height: 44px; padding-inline: var(--sp-4); font-size: var(--fs-sub); white-space: nowrap; }
.v-check { margin-top: var(--sp-3); border-top: 1px solid var(--c-line); }
.v-check > div { display: grid; grid-template-columns: 7em 1fr; gap: var(--sp-3); padding: var(--sp-3) 0; border-bottom: 1px solid var(--c-line); }
.v-check dt { color: var(--c-text-sub); font-size: var(--fs-sub); }
.v-check dd { font-weight: 700; }
.v-sub-acts { display: grid; gap: var(--sp-2); padding: var(--sp-6) var(--gut) var(--sp-8); }
.v-danger-link { justify-self: center; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--sp-4); color: var(--c-danger-text); font-size: var(--fs-sub); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* 受け付けた後 */
.v-done { padding: var(--sp-10) var(--gut) 0; text-align: center; }
.v-done__mark { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px #FFFFFF, 0 0 0 5.5px var(--brand-ring); color: var(--on-brand); }
.v-done__mark .i { width: 34px; height: 34px; }
.v-done h1 { margin-top: var(--sp-5); }
.v-done__no { margin-top: var(--sp-2); color: var(--c-text-sub); font-size: var(--fs-sub); font-variant-numeric: tabular-nums; }
.v-next { margin: var(--sp-6) var(--gut) 0; padding: var(--sp-4); border-radius: var(--r-box); background: var(--brand-soft); text-align: left; }
html[data-color="1"] .v-next { background: var(--c-bg-sub); }
.v-next h2 { color: var(--c-text-sub); font-size: var(--fs-cap); }
.v-next p { margin-top: 2px; font-size: var(--fs-lead); font-weight: 700; line-height: 1.4; }

/* 会員カードの写真 */
.v-shot { display: grid; place-items: center; padding: var(--sp-2) 0 var(--sp-1); }
.v-shot__card { position: relative; width: min(100%, 260px); aspect-ratio: 1.586; border-radius: 10px; background: #FFFFFF; box-shadow: 0 0 0 1px var(--c-line-strong); overflow: hidden; }
.v-shot__band { position: absolute; left: 0; right: 0; top: 16%; height: 14%; background: #3A3A3A; }
.v-shot__no { position: absolute; left: 8%; bottom: 14%; padding: 3px 8px; border: 2px solid var(--brand-ink); border-radius: 4px; color: var(--c-text); font-size: var(--fs-sub); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }
.v-shot__cap { margin-top: var(--sp-3); text-align: center; font-weight: 700; }
.v-shot__fmt { margin-top: 2px; color: var(--c-text-sub); font-size: var(--fs-cap); text-align: center; }
.v-shot__re { display: flex; justify-content: center; margin-top: var(--sp-3); }
.v-shot__re .btn { min-height: 44px; font-size: var(--fs-sub); }

/* マイクーポン */
.v-cp__date { margin-top: var(--sp-2); color: var(--c-text-sub); font-size: var(--fs-cap); font-variant-numeric: tabular-nums; line-height: 1.45; }
.v-cp__state { margin-top: auto; padding-top: var(--sp-3); }
.v-cp.is-past .v-cp__art { background: var(--c-bg-sub); color: var(--c-text-mute); }
.v-cp.is-past .v-cp__name { color: var(--c-text-sub); }
.v-pane[hidden] { display: none; }
.v-find { padding: var(--sp-5) var(--gut) var(--sp-8); }
.v-grid--top { padding-top: var(--sp-4); }
.tag .i { width: 14px; height: 14px; margin-right: 4px; }
.v-cp__link { flex: 1; display: flex; flex-direction: column; }
.v-cp__link:active { background: var(--c-bg-press); }
.v-cp.is-past .v-ink { color: var(--c-text-sub); }
.v-card .v-fee { text-align: center; }

/* 機能の出し分け。会員カードの撮影を使う企業だけ html に data-photo="on" が付く（アヤハディオ様は付かない） */
[data-f="photo-on"] { display: none; }
html[data-photo="on"] [data-f="photo-on"] { display: flex; }
html[data-photo="on"] [data-f="photo-off"] { display: none; }
/* 見出しの中の文字だけを出し分けるとき（入会申込の「会員カードの登録」。2026-10-15 RV-M-07） */
html[data-photo="on"] span[data-f="photo-on"] { display: inline; }

/* ===== 残りの7画面で足した部品（利用履歴・マイショップカード・特典・アンケート・登録情報・退会・困ったとき） ===== */

/* 利用履歴 */
.v-hist li { display: flex; align-items: center; gap: var(--sp-3); min-height: 64px; padding: var(--sp-3) var(--gut); border-bottom: 1px solid var(--c-line); }
.v-hist__main { flex: 1; min-width: 0; }
.v-hist__date { font-weight: 700; font-variant-numeric: tabular-nums; }
.v-hist__store { color: var(--c-text-sub); font-size: var(--fs-sub); }
.v-hist__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.v-hist__n { flex: none; font-size: var(--fs-title); font-weight: 700; font-variant-numeric: tabular-nums; }
.v-hist li.is-void .v-hist__n { color: var(--c-text-mute); text-decoration: line-through; }
.v-hist li.is-void .v-hist__date { color: var(--c-text-sub); }

/* マイショップカード。LINE の実測: 店の色の面・ロゴ 40・店名・カード名・「1 / 25」と進み具合のバー */
.v-count { display: flex; align-items: baseline; justify-content: space-between; padding: var(--sp-5) var(--gut) var(--sp-3); }
.v-count h2 { font-size: var(--fs-lead); font-weight: 700; }
.v-count h2 b { margin-left: 6px; font-variant-numeric: tabular-nums; }
.v-card { --prog: var(--brand); }
html[data-color="3"] .v-card { --prog: var(--on-brand); }
.v-card--row { display: block; margin: 0 var(--gut); padding: var(--sp-5); text-align: left; }
.v-mycard__head { display: flex; align-items: center; gap: var(--sp-3); }
.v-mycard__name { font-weight: 700; line-height: 1.35; }
.v-mycard__sub { color: var(--face-sub); font-size: var(--fs-cap); font-variant-numeric: tabular-nums; }
.v-mycard__title { margin-top: var(--sp-4); font-size: var(--fs-lead); font-weight: 700; line-height: 1.35; }
.v-mycard__num { display: flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-3); font-variant-numeric: tabular-nums; }
.v-mycard__num b { font-size: var(--fs-num); line-height: 1; }
.v-mycard__of { color: var(--face-sub); }
.v-prog { height: 8px; margin-top: var(--sp-3); border-radius: 4px; background: var(--slot); overflow: hidden; }
.v-prog i { display: block; height: 100%; border-radius: 4px; background: var(--prog); }
.v-sealmark { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--seal); box-shadow: 0 0 0 1px var(--seal-ring); color: var(--seal-ink); }
.v-sealmark .i { width: 16px; height: 16px; }
.v-past { --seal: var(--brand); --seal-ink: var(--on-brand); --seal-ring: var(--brand-ring); display: grid; gap: var(--sp-2); padding: 0 var(--gut); }
.v-past a { display: flex; align-items: center; gap: var(--sp-3); min-height: 72px; padding: var(--sp-3) var(--sp-4); border: 1px solid var(--c-line); border-radius: var(--r-box); }
.v-past a:active { background: var(--c-bg-press); }
.v-past__main { flex: 1; min-width: 0; }
.v-past__name { font-weight: 700; }
.v-past__sub { color: var(--c-text-sub); font-size: var(--fs-sub); font-variant-numeric: tabular-nums; }
.v-pill--fill { border: 0; background: var(--c-bg-sub); font-variant-numeric: tabular-nums; }
a.v-pill { min-height: 44px; }
a.v-pill:active { background: var(--c-bg-press); }
a.v-pill .i-chev { width: 14px; height: 14px; color: var(--c-text-mute); }

/* アンケート。選ぶ行は高さ 52。選んだ行は線と地の色で分かる（色だけに頼らず、丸の中の印も変わる） */
.v-q { margin-top: var(--sp-6); }
.v-q__t { display: flex; align-items: flex-start; gap: var(--sp-2); font-weight: 700; line-height: 1.5; }
.v-q__t .tag { flex: none; margin-top: 1px; }
.v-opts { display: grid; gap: var(--sp-2); margin-top: var(--sp-3); }
.v-opt { display: flex; align-items: center; gap: var(--sp-3); min-height: 52px; padding: var(--sp-2) var(--sp-4); border: 1px solid var(--c-line-strong); border-radius: var(--r-box); background: #FFFFFF; }
.v-opt:has(input:checked) { border-color: var(--brand-ink); box-shadow: inset 0 0 0 1px var(--brand-ink); background: var(--brand-tint); font-weight: 700; }
html[data-color="1"] .v-opt:has(input:checked) { background: var(--c-bg-sub); }
.v-opt input { flex: none; -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin: 0; border: 2px solid var(--c-line-strong); border-radius: 50%; background: #FFFFFF; }
.v-opt input[type="checkbox"] { border-radius: 5px; }
.v-opt input[type="radio"]:checked { border-color: var(--brand-ink); background: var(--brand-ink); box-shadow: inset 0 0 0 4px #FFFFFF; }
.v-opt input[type="checkbox"]:checked { border-color: var(--brand-ink); background: var(--brand-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.v-yn { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); margin-top: var(--sp-3); }
.v-yn .v-opt { justify-content: center; }
.v-textarea { min-height: 120px; padding: var(--sp-3) var(--sp-4); line-height: 1.6; resize: vertical; }
.v-formhead { padding: var(--sp-5) var(--gut) 0; }
.v-formhead p { margin-top: var(--sp-1); color: var(--c-text-sub); font-size: var(--fs-sub); }

/* 登録情報と通知。切り替えは、言葉（受け取る・受け取らない）と形の両方で見せる */
.v-set { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4) 0; border-bottom: 1px solid var(--c-line); }
.v-set__body { flex: 1; min-width: 0; }
.v-set__name { font-weight: 700; }
.v-set__sub { margin-top: 2px; color: var(--c-text-sub); font-size: var(--fs-cap); }
.v-set__state { flex: none; font-size: var(--fs-sub); font-weight: 700; }
.v-switch { flex: none; position: relative; width: 56px; height: 44px; }
.v-switch::before { content: ""; position: absolute; left: 2px; right: 2px; top: 6px; height: 32px; border-radius: 16px; background: var(--c-line-strong); }
.v-switch::after { content: ""; position: absolute; top: 9px; left: 5px; width: 26px; height: 26px; border-radius: 50%; background: #FFFFFF; transition: transform 0.15s; }
.v-switch[aria-checked="true"]::before { background: var(--brand-ink); }
.v-switch[aria-checked="true"]::after { transform: translateX(20px); }
.v-log { margin-top: var(--sp-3); }
.v-log li { display: flex; gap: var(--sp-3); padding: var(--sp-2) 0; font-size: var(--fs-sub); }
.v-log time { flex: none; color: var(--c-text-sub); font-variant-numeric: tabular-nums; }
.v-text-btn { justify-self: center; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--sp-4); font-size: var(--fs-sub); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* 退会・困ったとき */
.v-info { margin-top: var(--sp-3); padding: var(--sp-4); border-radius: var(--r-box); background: var(--c-bg-sub); }
.v-info p + p { margin-top: var(--sp-2); }
.v-info .v-info__strong { font-weight: 700; }
.v-bul { margin-top: var(--sp-3); }
.v-bul li { position: relative; padding: var(--sp-2) 0 var(--sp-2) 1.2em; }
.v-bul li::before { content: ""; position: absolute; left: 0.2em; top: 1.05em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-text-sub); }
.v-search { margin-top: var(--sp-3); padding-left: 44px; background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C5C5C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 14px center / 20px no-repeat; }
.v-faq { margin-top: var(--sp-3); border-top: 1px solid var(--c-line); }
.v-faq details { border-bottom: 1px solid var(--c-line); }
.v-faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); min-height: 52px; padding: var(--sp-2) 0; font-weight: 700; list-style: none; cursor: pointer; }
.v-faq summary::-webkit-details-marker { display: none; }
.v-faq summary::after { content: ""; flex: none; width: 20px; height: 20px; background: var(--c-text-mute); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform 0.15s; }
.v-faq details[open] summary::after { transform: rotate(180deg); }
.v-faq details p { padding-bottom: var(--sp-4); color: var(--c-text-sub); }
.v-last { padding-bottom: var(--sp-8); }
/* 設問と設定の名前も、文節で折り、行の長さをそろえる */
.v-q__t > span:first-child, .v-opt span { word-break: auto-phrase; }
.v-set__name, .v-q__t > span:first-child { text-wrap: balance; }

/* ===== ショップカードの下半分。公式の実測（3倍の画面 4枚・2026-10-10）に合わせて作り直した =====
   見出し 20 太字／タブ 17 太字・線 2／特典の絵 114 の白い角丸（線 1・角 8）／題 17 太字・補足 14／
   ショートカットは線で区切らず、絵記号と 17 の文字を 40 の間隔で並べる／浮かせたボタン 189×44 */
.i-card { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='14' x='2' y='5' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E"); }
.i-history { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3Cpath d='M12 7v5l4 2'/%3E%3C/svg%3E"); }
.i-home { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8'/%3E%3Cpath d='M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E"); }

/* 押す前のマス: 番号と点線をやめ、うっすらした輪だけにする（公式は彫り込みの絵。絵は後で差し替える） */
.v-card .stamp::before { inset: 15%; border: 1.5px solid var(--slot-line); opacity: 0.55; }
.v-card .stamp.is-on::before { opacity: 1; }
.v-card .stamps { gap: clamp(7px, 2.2vw, 8px) clamp(8px, 4.2vw, 16px); }
.v-card { padding-inline: clamp(18px, 8.4vw, 33px); }
.v-card--row { padding: var(--sp-5); }

.v-pastbar { display: flex; align-items: center; gap: var(--sp-3); min-height: 48px; margin-top: var(--sp-3); padding: 0 var(--sp-3) 0 var(--sp-4); border-radius: 8px; background: var(--c-bg); font-size: var(--fs-sub); }
html[data-color="1"] .v-pastbar { background: var(--c-bg-sub); }
.v-pastbar span { flex: 1; min-width: 0; padding-block: var(--sp-2); line-height: 1.4; word-break: auto-phrase; }
.v-pastbar .i-chev { color: var(--c-text-mute); }
.v-pastbar:active { background: var(--c-bg-press); }

.v-tabs .tab { min-height: 54px; font-size: 17px; }
.v-reward { gap: var(--sp-4); padding: var(--sp-5) var(--gut); }
.v-reward__art { display: grid; place-items: center; width: 112px; height: 112px; border: 1px solid var(--c-line); border-radius: 8px; background: var(--c-bg); color: var(--brand-ink); }
html:not([data-color="1"]) .v-reward__art.art, .v-reward__art { background: var(--c-bg); }
.v-reward__art .i { width: 48px; height: 48px; }
.v-reward__name { font-size: 17px; font-weight: 700; line-height: 1.45; }
.v-reward__need { margin-top: var(--sp-1); color: var(--c-text-sub); font-size: var(--fs-sub); }

.v-block { padding: var(--sp-10) var(--gut) 0; }
.v-block h2 { font-size: var(--fs-title); font-weight: 700; line-height: 1.35; }
.v-block p { margin-top: var(--sp-3); color: var(--c-text-sub); line-height: 1.7; }
.v-short { padding-bottom: var(--sp-8); }
.v-short h2 { margin-bottom: var(--sp-2); }
.v-short a { display: flex; align-items: center; gap: var(--sp-4); min-height: 52px; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); font-size: 17px; }
.v-short a:active { background: var(--c-bg-press); }
.v-short .i { width: 24px; height: 24px; }
.v-fab .btn { min-width: 200px; min-height: 48px; font-size: 17px; }

/* ===== 印と絵（形は art/art.css と art/illust.js。ここでは色と大きさだけを付ける） =====
   公式の実測: くぼみ 46・押した印 32（くぼみの 70%）。印の外に輪は足さない */
.v-card .stamp::before, .v-card .stamp.is-on::before { content: none; }
.v-seal { display: block; width: 70%; height: 70%; border-radius: 50%; background: var(--seal); box-shadow: inset 0 0 0 1.5px var(--seal-ring); }
.v-mark { display: block; width: 100%; height: 100%; background: var(--seal-ink); }
.v-mark--slot { width: 70%; height: 70%; background: var(--slot-line); }
.v-sealmark { box-shadow: inset 0 0 0 1.5px var(--seal-ring); }
.v-cp__art svg, .v-bleed svg { max-height: 100%; }
.v-bleed[data-art] { padding: var(--sp-3) 0; }
/* 使い終わった券の絵は、色を抜いてグレーにする */
.v-cp.is-past .v-cp__art { --brand: #B5B5B5; --brand-ink: #8A8A8A; --brand-soft: #EDEDED; --brand-line: #D6D6D6; background: var(--c-bg-sub); }
/* 幅 350 未満の端末でも、押した印が 26px を下回らないようにする */
@media (max-width: 349px) {
  .v-card { padding-inline: var(--sp-4); }
  .v-card .stamps { gap: 7px 10px; }
}
/* 一覧のカード: 上の店の行とカード名の間を、公式の実測（約 40）に近づける（Codex の差の一覧 5件目） */
.v-mycard__title { margin-top: var(--sp-8); }

/* ===== ショップカードで直した決まりを、ほかの画面にも広げる（2026-10-10） =====
   見出しは 21 太字・上に 40 の余白／下のリンクは絵記号つきで線なし／印の絵を数や履歴の目印にも使う */
.i-cards { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z'/%3E%3Cpath d='M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12'/%3E%3Cpath d='M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17'/%3E%3C/svg%3E"); }
.v-sec2 { padding-top: var(--sp-10); }
.v-sec2 > h2 { font-size: var(--fs-title); }
.v-sec2 > h2 .v-n { width: 28px; height: 28px; }
.v-count h2 { font-size: var(--fs-title); }
.v-sec__head .t-lead { font-size: var(--fs-title); }
.v-title { padding-top: var(--sp-8); color: var(--c-text); font-size: var(--fs-lead); }
.v-short:not(:has(h2)) { padding-top: var(--sp-6); }

/* 会員証 */
.v-id__head { align-items: center; }
.v-id__who { flex: 1; min-width: 0; }
.v-logo--m { width: 48px; height: 48px; font-size: 20px; }
html[data-color="3"] .v-id__head .v-logo { box-shadow: none; }
/* 緑の帯の上のロゴの画像（CHG-2026-1108-member-logo）: 緑の丸が地に溶けないよう、白い縁で丸を見せる（カードの丸の白い縁と同じ考え）。 */
html[data-color="3"] .v-id__head .v-logo.has-img { box-shadow: 0 0 0 2px #FFFFFF; }
.v-tile, .v-hist { --seal: var(--brand); --seal-ink: var(--on-brand); --seal-ring: var(--brand-ring); }
.v-tile__label { display: flex; align-items: center; gap: var(--sp-2); }
.v-tile__label .v-sealmark { width: 24px; height: 24px; }
.v-tile__label .i { width: 22px; height: 22px; color: var(--brand-ink); }
html[data-color="1"] .v-tile__label .i { color: var(--c-text-sub); }

/* 利用履歴 */
.v-hist li.is-void .v-sealmark { --seal: #E4E4E4; --seal-ink: #8A8A8A; --seal-ring: #E4E4E4; }

/* マイショップカードの頭。公式の実測: ロゴ 70・店名 22 太字・補足 13 */
.v-shophead { padding: var(--sp-8) var(--gut) var(--sp-6); text-align: center; }
.v-logo--l { width: 70px; height: 70px; margin: 0 auto; font-size: 28px; }
.v-shophead__name { margin-top: var(--sp-3); font-size: 22px; font-weight: 700; line-height: 1.35; }
.v-shophead__sub { margin-top: 2px; color: var(--c-text-sub); font-size: var(--fs-sub); }
.v-shophead__sub b { margin-left: 4px; color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.v-short a { padding-block: var(--sp-2); line-height: 1.45; }
/* 幅 350 未満では、数字の面の見出しから記号を外して1行に収める */
@media (max-width: 349px) { .v-tile__label .i, .v-tile__label .v-sealmark { display: none; } }

/* ===== 状態の画面で足した部品（2026-10-10） ===== */
/* 確認の窓。LINE の実測: 幅 288・角 12・後ろは薄暗く・題は太字で中央・下に「OK」 */
.v-dim { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: var(--sp-6); background: rgba(0, 0, 0, 0.36); }
.v-dialog { width: min(288px, 100%); padding: var(--sp-8) var(--sp-5) 0; border-radius: 12px; background: var(--c-bg); text-align: center; --seal: var(--brand); --seal-ink: var(--on-brand); --seal-ring: var(--brand-ring); }
.v-dialog__art { display: flex; justify-content: center; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.v-dialog__art .v-sealmark { width: 56px; height: 56px; }
.v-dialog__title { font-size: var(--fs-lead); font-weight: 700; line-height: 1.45; }
.v-dialog__text { margin-top: var(--sp-2); color: var(--c-text-sub); font-size: var(--fs-sub); }
.v-dialog__ok { display: block; width: calc(100% + var(--sp-5) * 2); min-height: 56px; margin: var(--sp-6) calc(-1 * var(--sp-5)) 0; border-top: 1px solid var(--c-line); font-size: 17px; font-weight: 700; }
.v-dialog__ok:active { background: var(--c-bg-press); border-radius: 0 0 12px 12px; }
.v-dialog .btn { margin: var(--sp-6) 0 var(--sp-5); }
/* 下から出る確認。LINE の実測: 上の角 16・右上に閉じる・題 20 太字・説明はグレー・幅いっぱいのボタン */
.v-dim--sheet { place-items: end stretch; padding: 0; }
.v-sheet { position: relative; padding: var(--sp-10) var(--gut) calc(var(--sp-5) + env(safe-area-inset-bottom, 0px)); border-radius: 16px 16px 0 0; background: var(--c-bg); text-align: center; }
.v-sheet__x { position: absolute; top: var(--sp-2); right: var(--sp-2); display: grid; place-items: center; width: 48px; height: 48px; font-size: 26px; line-height: 1; }
.v-sheet__title { font-size: var(--fs-title); font-weight: 700; line-height: 1.4; }
.v-sheet__text { margin-top: var(--sp-3); color: var(--c-text-sub); text-align: left; line-height: 1.7; }
.v-sheet .btn { margin-top: var(--sp-6); }

/* 登録状況。上から順に、済んだもの・待っているものを並べる */
.v-now { margin: var(--sp-3) 0 0; padding: var(--sp-4); border-radius: var(--r-panel); background: var(--brand-soft); }
html[data-color="1"] .v-now { background: var(--c-bg); }
.v-now h2 { color: var(--c-text-sub); font-size: var(--fs-cap); }
.v-now p { margin-top: 2px; font-size: var(--fs-lead); font-weight: 700; line-height: 1.45; }
.v-steps { padding: var(--sp-2) var(--sp-4); --seal: var(--brand); --seal-ink: var(--on-brand); --seal-ring: var(--brand-ring); }
.v-steps li { display: flex; align-items: center; gap: var(--sp-3); min-height: 60px; padding: var(--sp-3) 0; }
.v-steps li + li { border-top: 1px solid var(--c-line); }
.v-steps__dot { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--c-line-strong); color: var(--c-text-mute); }
.v-steps__dot.is-done { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 1px var(--brand-ring); color: var(--on-brand); }
.v-steps__dot .i { width: 16px; height: 16px; }
.v-steps__main { flex: 1; min-width: 0; }
.v-steps__name { font-weight: 700; }
.v-steps__sub { color: var(--c-text-sub); font-size: var(--fs-sub); }

/* 読み込み中の枠。数字は読めてから入れる（0 と出さない） */
.v-skel { border-radius: 6px; background: #EAEAEA; }
.v-skel--line { height: 14px; }
.v-skel--num { width: 64px; height: 30px; margin-top: 6px; }
.v-skel--code { height: 72px; margin: var(--sp-4) var(--sp-4) 0; }
.v-loadnote { padding: var(--sp-4); color: var(--c-text-sub); font-size: var(--fs-sub); text-align: center; }

/* 空・失敗・開けないとき */
.v-state { padding: var(--sp-10) var(--gut) var(--sp-8); text-align: center; }
.v-state__mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto var(--sp-5); border-radius: 50%; background: var(--c-bg-sub); color: var(--c-text-sub); }
.v-state__mark .i { width: 30px; height: 30px; }
.v-state__title { font-size: var(--fs-lead); font-weight: 700; line-height: 1.5; }
.v-state__text { margin-top: var(--sp-2); color: var(--c-text-sub); }
.v-state .btn { margin-top: var(--sp-6); }
.v-state .btn + .btn { margin-top: var(--sp-2); }
.i-alert { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4'/%3E%3Cpath d='M12 16h.01'/%3E%3C/svg%3E"); }
.i-refresh { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3Cpath d='M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16'/%3E%3Cpath d='M8 16H3v5'/%3E%3C/svg%3E"); }

/* 過去のカード・使った後 */
.v-donebar { display: flex; align-items: center; gap: var(--sp-3); min-height: 48px; margin-top: var(--sp-3); padding: 0 var(--sp-4); border-radius: 8px; background: var(--c-bg); font-size: var(--fs-sub); --seal: var(--brand); --seal-ink: var(--on-brand); --seal-ring: var(--brand-ring); }
html[data-color="1"] .v-donebar { background: var(--c-bg-sub); }
.v-donebar .v-sealmark { width: 24px; height: 24px; }
.v-used__mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto var(--sp-4); border-radius: 50%; background: var(--seal); color: var(--seal-ink); }
.v-used__mark .i { width: 30px; height: 30px; }
.v-used__left { margin-top: var(--sp-3); font-size: var(--fs-body); font-weight: 700; }
.v-used__left b { margin-inline: 3px; font-size: var(--fs-title); font-variant-numeric: tabular-nums; }
.v-answers { margin: var(--sp-6) var(--gut) 0; }
/* 送った内容: 設問の文は長いので、答えを下の行に置く */
.v-answers .v-check > div { grid-template-columns: 1fr; gap: 2px; }

/* ===== 知らせの3つの型（2026-10-10）。確認の窓 v-dialog と全面の v-state と合わせて5つで、全部の知らせを出す =====
   1. v-toast  済んだことの短い知らせ（『保存しました』など）。画面の下に出て消える
   2. v-banner 画面の上に出す知らせ。やり直しのボタンを付けられる（『時間をおいてもう一度お試しください』など）
   3. v-err    入力欄の下の誤り（『入力内容をご確認ください』など）。欄の線も赤くする */
.v-toast { position: fixed; left: 50%; bottom: calc(var(--sp-6) + env(safe-area-inset-bottom, 0px)); z-index: 40; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: var(--sp-3) var(--sp-4); border-radius: 8px; background: #262626; color: #FFFFFF; font-size: var(--fs-sub); font-weight: 700; line-height: 1.5; text-align: center; }
.v-toast--above { bottom: calc(var(--bar-h) + var(--sp-10) + env(safe-area-inset-bottom, 0px)); }
.v-toast--static, .v-dialog--static { position: static; transform: none; }
.v-banner { display: flex; align-items: flex-start; gap: var(--sp-3); margin: var(--sp-3) var(--gut) 0; padding: var(--sp-3) var(--sp-4); border-radius: 8px; background: var(--c-warn-tint); color: var(--c-warn-text); font-size: var(--fs-sub); font-weight: 700; line-height: 1.5; }
.v-banner--danger { background: var(--c-danger-tint); color: var(--c-danger-text); }
.v-banner > .i { margin-top: 1px; }
.v-banner__body { flex: 1; min-width: 0; }
.v-banner__act { display: inline-flex; align-items: center; min-height: 44px; margin: var(--sp-1) 0 calc(-1 * var(--sp-2)); color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.v-home .v-banner { margin-inline: 0; }
.v-err { display: flex; align-items: flex-start; gap: 6px; margin-top: 6px; color: var(--c-danger-text); font-size: var(--fs-sub); font-weight: 700; }
.v-err .i { width: 18px; height: 18px; margin-top: 2px; }
.v-input.is-error, .v-select.is-error { border-color: var(--c-danger); box-shadow: inset 0 0 0 1px var(--c-danger); }

/* ===== 追加の状態（入会・申込・カード登録・会員証） ===== */
.v-shot__card--guide { border: 2px dashed var(--brand-ink); box-shadow: none; background: transparent; }
.v-status-line { margin-top: var(--sp-3); font-weight: 700; }
.v-prog--page { margin-top: var(--sp-4); --slot: var(--c-line); --prog: var(--brand); }
.v-codewait { padding: var(--sp-6) var(--sp-3); border-radius: var(--r-box); background: var(--c-bg-sub); color: var(--c-text-sub); font-weight: 700; text-align: center; }

/* ===== 追加の状態（クーポン・ショップカード・履歴・特典） ===== */
.v-fab .btn[disabled] { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); background: #EDEDED; }
.v-card.is-folded { padding-bottom: var(--sp-4); }
.v-card__fold.is-closed .i { transform: rotate(90deg); }
.v-sort { display: flex; justify-content: flex-end; padding: 0 var(--gut) var(--sp-3); }
.v-select--s { width: auto; min-height: 44px; margin-top: 0; font-size: max(16px, var(--fs-sub)); }

/* ===== 追加の状態（アンケート・登録情報・退会・困ったとき） ===== */
/* 取り返しのつかない操作。LINE の実測: 赤い塗り（使用済みにする）。白い文字で 5.9:1 */
.v-btn-destroy { background: var(--c-danger); color: #FFFFFF; }
.v-btn-danger { border-color: var(--c-danger); color: var(--c-danger-text); }
.v-h3 { margin-top: var(--sp-8); font-size: var(--fs-lead); font-weight: 700; }
.v-sec2 > h2 + .v-bul, .v-sec2 .v-bul + h2 { margin-top: var(--sp-3); }
.v-thread { padding: var(--sp-5) var(--gut) var(--sp-2); }
.v-thread li { padding: var(--sp-4); border-radius: var(--r-panel); background: var(--c-bg-sub); }
.v-thread li + li { margin-top: var(--sp-3); }
.v-thread li.is-shop { background: var(--brand-soft); }
html[data-color="1"] .v-thread li.is-shop { background: var(--c-bg); box-shadow: inset 0 0 0 1px var(--c-line); }
.v-thread__who { display: flex; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-1); font-size: var(--fs-sub); font-weight: 700; }
.v-thread__who time { color: var(--c-text-sub); font-weight: 400; font-variant-numeric: tabular-nums; }

/* 追加の直し: 塗りのボタンの中の「案」は、ボタンの文字色に合わせる。日付の券の足は2行まで折り返してよい */
.btn .kari { border-color: currentColor; color: inherit; }
.v-cp__foot { flex-wrap: wrap; padding: 6px var(--sp-2); line-height: 1.4; text-align: center; }
.v-steps li { flex-wrap: wrap; }
.v-steps__name { white-space: nowrap; }
.v-steps li > .tag { margin-left: auto; }
.v-bul li { word-break: auto-phrase; }

/* ===== 2026-10-10 夜: Codex の検査（coverage・audit）を受けた直し。状態の絵・会員証のメニュー・失敗の表示からの入口・お問い合わせ先 ===== */
.v-state__art { width: 96px; height: 96px; margin: 0 auto var(--sp-4); }
.v-state .v-text-btn { margin-top: var(--sp-4); }
.v-menu .v-row { font-weight: 700; }
.v-menu .v-row + .v-row { border-top: 1px solid var(--c-line); }
.v-title .kari, .v-card__rank .kari, .v-reward__name .kari { margin-left: var(--sp-2); vertical-align: middle; font-weight: 400; }
.v-card .kari { border-color: currentColor; color: inherit; }
.v-state__kv { margin-top: var(--sp-6); padding: 0 var(--sp-4); border: 1px solid var(--c-line); border-radius: var(--r-box); text-align: left; }
.v-state__kv > div { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); min-height: 52px; }
.v-state__kv > div + div { border-top: 1px solid var(--c-line); }
.v-state__kv dt { color: var(--c-text-sub); font-size: var(--fs-sub); }
.v-state__kv dd { display: inline-flex; align-items: center; gap: var(--sp-2); font-weight: 700; }
.v-contact { margin-top: var(--sp-6); padding: var(--sp-4); border-radius: var(--r-box); background: var(--c-bg-sub); text-align: left; }
.v-contact h2 { color: var(--c-text-sub); font-size: var(--fs-sub); font-weight: 700; }
.v-contact--plain { margin-top: 0; background: none; }
.v-contact-panel { margin-top: var(--sp-3); }
.v-contact .v-bul { margin-top: var(--sp-2); }
.i-help { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E"); }

/* ===== 2026-10-11: 文字起こしと要件の照合で足した部品。支払い確認待ちの「お申し込みの内容」 ===== */
.v-entry .v-id__meta:first-child { margin-top: 0; border-top: 0; }
.v-entry .v-id__meta { align-items: center; padding-block: var(--sp-4); }
.v-entry .v-id__meta dd { font-size: var(--fs-body); }
.v-entry__note { margin: 0 var(--sp-4); padding: var(--sp-3) 0 var(--sp-4); border-top: 1px solid var(--c-line); color: var(--c-text-sub); font-size: var(--fs-sub); }
.v-sec2 > .v-hint { margin-top: var(--sp-4); }

/* ===== 2026-10-12: お支払い前の画面に、店員が読むコード（入会の承認をコードで読む形にしたため） ===== */
.v-entry__code { padding: var(--sp-5) var(--sp-4) var(--sp-2); text-align: center; }
.v-entry .v-entry__code + .v-id__meta { margin-top: var(--sp-3); border-top: 1px solid var(--c-line); }

/* ===== 2026-10-15 AY1014: 中間確認①（10/14）の決定で足した部品 =====
   会員証の QR（RULING-AY1014-01・02）／ランクの欄と印（10・11）／スタンプの欄を横に送る（12）／
   お知らせの3件と「もっと見る」（19）／クーポンの枚数・使う画面・バーコード・使った日時（13〜18） */

/* 店の色はランクの色で上書きしない所に使う（ロゴの丸など）。html の値をそのまま受け継ぐ */
:root { --store-ink: var(--brand-ink); }
[data-card-color] .v-card__logo, [data-card-color] .v-logo { color: var(--store-ink); }

/* 会員証の QR。白い地と余白は QR の中に含めて描く（codes.js）。店員の端末で読める大きさ 176px */
.v-qr { text-align: center; }
.v-qr .v-qr__box { width: 176px; margin: 0 auto; }
.v-qr .v-qr__svg { display: block; width: 176px; height: 176px; }
.v-qr__note { margin-top: var(--sp-2); color: var(--c-text-sub); font-size: var(--fs-sub); }
.v-id__code.v-qr { padding-bottom: var(--sp-1); }
/* 会員証の QR はボタンで出す（2026-11-30 R-002・apps/member-web/src/views/member-qr.js）: 「出す」→ 注記、出したあとは QR → 注記 → 「閉じる」。
   隠すのは div の hidden（この CSS には頼らない）。ここは「閉じる」の余白だけ */
.v-id__code.v-qr > [data-qr-part="hide"] { margin: var(--sp-2) 0 var(--sp-3); }
.v-entry__lead { margin: 0 var(--sp-4); padding: var(--sp-5) 0 0; font-weight: 700; line-height: 1.5; text-align: center; }
.v-entry .v-entry__code { padding-top: var(--sp-3); }

/* ランクの欄。主役の面と同じく、ランクの色（data-card-color）の中の弱い濃淡で塗る */
.v-rank { display: flex; align-items: center; gap: var(--sp-3); min-height: 72px; margin-top: var(--sp-3); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-panel); background: var(--c-bg); }
html[data-color="3"] .v-rank:not(.v-rank--skel) { background: var(--brand) linear-gradient(180deg, var(--brand-hi), var(--brand-lo)); color: var(--on-brand); }
.v-rank__body { flex: 1; min-width: 0; }
.v-rank__label { color: var(--c-text-sub); font-size: var(--fs-sub); line-height: 1.4; }
html[data-color="3"] .v-rank:not(.v-rank--skel) .v-rank__label { color: var(--brand-face-sub); }
.v-rank__name { font-size: var(--fs-title); font-weight: 700; line-height: 1.3; }
.v-rank .kari { border-color: currentColor; color: inherit; }

/* ランクの印。先方が用意する画像（正方形・背景透明）が入る枠。今はメダルの仮の印を店の色ではなくランクの色で描く */
.v-rankmark { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px var(--brand-line); color: var(--brand-ink); }
.v-rankmark__svg { width: 32px; height: 32px; }
.v-card__rank { display: flex; align-items: center; justify-content: center; gap: var(--sp-2); }
.v-card__rank .v-rankmark { width: 40px; height: 40px; box-shadow: none; }
.v-card__rank .v-rankmark__svg { width: 29px; height: 29px; }
.v-dialog__art .v-rankmark { width: 64px; height: 64px; }
.v-dialog__art .v-rankmark__svg { width: 46px; height: 46px; }
.v-mycard__title { display: flex; align-items: center; gap: var(--sp-2); }
.v-mycard__title .v-rankmark { width: 36px; height: 36px; box-shadow: none; }
.v-mycard__title .v-rankmark__svg { width: 26px; height: 26px; }

/* スタンプの欄を横に送る。1ページ = 2×5 のマス。ページの点は満了数/10 */
.v-pages { margin-top: var(--sp-1); }
.v-pages__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.v-pages__track::-webkit-scrollbar { display: none; }
.v-card .v-pages__page { flex: 0 0 100%; min-width: 0; margin-top: 0; scroll-snap-align: start; }
.v-pages__dots { display: flex; justify-content: center; gap: 8px; margin-top: var(--sp-4); }
.v-pages__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--slot); box-shadow: inset 0 0 0 1px var(--slot-line); }
.v-pages__dots i.is-on { background: var(--face-text); box-shadow: none; }

/* お知らせ。見出しの下に説明、行は題・締切・「詳しく見る」。4件目からは「もっと見る」で同じ画面の中に開く */
.v-title__sub { padding: 0 var(--sp-1) var(--sp-3); color: var(--c-text-sub); font-size: var(--fs-sub); line-height: 1.5; }
.v-notice .v-row + .v-row { border-top: 1px solid var(--c-line); }
.v-notice [hidden] { display: none; }
.v-row__date { display: block; margin-top: 2px; color: var(--c-text-sub); font-size: var(--fs-sub); font-variant-numeric: tabular-nums; }
.v-more { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; min-height: var(--tap); border-top: 1px solid var(--c-line); color: var(--brand-ink); font-size: var(--fs-sub); font-weight: 700; }
.v-more .i { width: 18px; height: 18px; transform: rotate(90deg); }
.v-more:active { background: var(--c-bg-press); }
.v-empty-row { padding: var(--sp-4); color: var(--c-text-sub); }

/* クーポン: 持っている枚数（券を並べず1枚のカードに N枚）、レジの特典の額の行、使った日時、券の中のバーコード */
.v-cp__have { display: flex; align-items: center; gap: 4px; margin-top: var(--sp-1); font-size: var(--fs-sub); font-weight: 700; }
.v-cp__have .i { width: 18px; height: 18px; color: var(--brand-ink); }
.v-cp__have b { font-size: var(--fs-lead); font-variant-numeric: tabular-nums; }
.v-amount--label { font-size: var(--fs-lead); }
.v-used__at { margin-top: var(--sp-3); padding: var(--sp-2) var(--sp-3); border-radius: var(--r-box); background: var(--c-bg-sub); font-size: var(--fs-lead); font-weight: 700; font-variant-numeric: tabular-nums; }
.v-used__at--detail { display: inline-block; }
.v-jan { margin-top: var(--sp-4); padding: var(--sp-2) 0 0; border-top: 1px dashed var(--c-line-strong); }
.v-jan .v-jan__svg { display: block; width: 100%; height: 76px; }
.v-jan__no { margin-top: var(--sp-1); color: var(--c-text); font-size: var(--fs-body); font-weight: 700; letter-spacing: 0.1em; }
.v-sheet__x .i { width: 24px; height: 24px; }
.i-x { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E"); }

/* アンケートの数字の設問。単位を欄の右に置く */
.v-unit { display: flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-2); }
.v-unit .v-input { max-width: 8em; margin-top: 0; }
.v-unit span { font-weight: 700; }

/* アンケートの質問の説明と均等目盛（1〜5 など）。数字を横に並べ、両端の言葉を下に置く */
.v-q__help { margin-top: var(--sp-1); color: var(--c-text-sub); font-size: var(--fs-sub); line-height: 1.5; }
.v-q__help + .v-input, .v-q__help + .v-select { margin-top: var(--sp-2); }
.v-formhead__desc { white-space: pre-line; }
.v-scale { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; margin-top: var(--sp-3); }
.v-scale__step { position: relative; display: grid; place-items: center; min-height: 52px; border: 1px solid var(--c-line-strong); border-radius: var(--r-box); background: #FFFFFF; font-weight: 700; }
.v-scale__step input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.v-scale__step:has(input:checked) { border-color: var(--brand-ink); background: var(--brand-ink); color: #FFFFFF; }
.v-scale__step:has(input:focus-visible) { outline: 3px solid var(--brand-ink); outline-offset: 1px; }
.v-scale__ends { display: flex; justify-content: space-between; gap: var(--sp-3); margin-top: var(--sp-1); color: var(--c-text-sub); font-size: var(--fs-sub); }
.v-scale__ends span:last-child { text-align: right; }

/* クーポンの写真（本部が入れた画像。無い券は絵のまま） */
.v-photo { overflow: hidden; background: var(--c-bg-sub); }
.v-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 詳細は横幅に合わせて、写真の全体を見せる（OAM と同じ。絵の 16:9 の枠に入れない） */
.v-photo--wide { aspect-ratio: auto; }
.v-photo--wide img { height: auto; }
.v-formintro__img { display: block; width: 100%; height: auto; }
.v-formintro__body { color: var(--c-text); font-size: var(--fs-body, 16px); white-space: pre-line; overflow-wrap: anywhere; }

/* 2026-11-06 画面の幅の見直し: 日本語は文節で折る（Chrome の auto-phrase。効かないブラウザーは今までどおり）。題の最後の1文字だけが次の行に落ちないように。 */
body { word-break: auto-phrase; }

/* このサービスについて（2026-11-06・CHG-2026-1106-operator-info）: the small link at the bottom of ホーム・入会のご案内, the page, the privacy note */
.v-foot { display: grid; justify-items: center; margin-top: var(--sp-6); }
.v-foot .v-text-btn { color: var(--c-text-sub); font-weight: 400; }
.v-about__title { padding: var(--sp-4) var(--sp-1) var(--sp-2); }
.v-about__box { padding: var(--sp-4); }
.v-about__box .kv dd { overflow-wrap: anywhere; }
.v-doc + .v-row, .v-row + .v-doc, .v-doc + .v-doc { border-top: 1px solid var(--c-line); }
.v-doc > summary { list-style: none; cursor: pointer; font-weight: 700; }
.v-doc > summary::-webkit-details-marker { display: none; }
.v-doc[open] > summary .i-chev { transform: rotate(90deg); }
.v-doc .v-terms__body { max-height: 50vh; }
.v-privacy { margin: 0 0 var(--sp-3); }
.v-privacy a { color: var(--brand-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* 読み込み中（2026-11-08 村岡「オシャレなくるくるを画面中央に」）: 上の「読み込んでいます…」の文の代わりに、画面の真ん中に店の色のくるくる。
   文は読み上げのためだけに残す（.vh）。速く読めたときにちらつかないよう、0.15 秒待ってから浮かび上がる。index.html と dom.js loadingHtml が同じ形。
   弧は円周（2π×20 ≒ 126）の上で伸び縮みしながら回る。動きを減らす設定の端末（ds.css は全部の動きを止める）でも、ゆっくり回して読み込み中と分かるようにする。 */
.v-loading { display: grid; place-items: center; padding-bottom: 0; }
.v-loading__box { display: grid; place-items: center; animation: v-loading-in .32s cubic-bezier(.2, .7, .3, 1) .15s both; }
.v-spinner { width: 44px; height: 44px; overflow: visible; animation: v-spin 1.4s linear infinite; }
.v-spinner circle { fill: none; stroke-width: 4; }
.v-spinner__track { stroke: var(--brand-soft); }
.v-spinner__arc { stroke: var(--brand); stroke-linecap: round; stroke-dasharray: 1 126; stroke-dashoffset: 0; animation: v-spin-dash 1.4s ease-in-out infinite; }
@keyframes v-spin { to { transform: rotate(360deg); } }
@keyframes v-spin-dash {
  0% { stroke-dasharray: 1 126; stroke-dashoffset: 0; }
  50% { stroke-dasharray: 88 126; stroke-dashoffset: -32; }
  100% { stroke-dasharray: 88 126; stroke-dashoffset: -125; }
}
@keyframes v-loading-in { from { opacity: 0; transform: scale(.9); } }
@media (prefers-reduced-motion: reduce) {
  .v-spinner { animation: v-spin 2.4s linear infinite !important; }
  .v-spinner__arc { stroke-dasharray: 32 126; }
}
