:root {
  /* ==== Color ==== */
  --line-green: #06C755;
  --line-green-dark: #05B34C;
  --line-green-weak: #E8F9EF;

  --honcho: #FF7B54;
  --honcho-deep: #E45E36;
  --honcho-weak: #FFF1EB;
  --honcho-soft: #FFC478;

  --teal: #00AF91;
  --teal-weak: #E3F5F1;
  --leaf: #ADCE74;

  --text: #111111;
  --text-sub: #666666;
  --text-mute: #999999;
  --line: #E5E5E5;
  --line-soft: #F0F0F0;
  --surface: #FFFFFF;
  --sunken: #F7F8F9;
  --danger: #D93025;

  --r-btn: 8px;
  --r-input: 8px;
  --r-card: 12px;
  --r-chip: 999px;

  --s4: 4px; --s6: 6px; --s8: 8px; --s12: 12px; --s16: 16px; --s20: 20px;
  --s24: 24px; --s32: 32px; --s40: 40px; --s48: 48px; --s64: 64px;

  --font: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  background: var(--sunken);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
input, textarea, select { font-family: inherit; }
img { max-width: 100%; display: block; }

/* ============ アプリの器 ============ */
.app {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-width: 480px;
  margin: 0 auto;
  background: var(--sunken);
  position: relative;
}

.app-topbar {
  flex: 0 0 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
}
.app-topbar .title { font-size: 15px; font-weight: 700; letter-spacing: 0.2px; }
.icon-btn {
  width: 30px; height: 30px; flex: none;
  display: flex; align-items: center; justify-content: center;
  color: #3B3B3B;
}

.screen { display: none; flex: 1 1 auto; flex-direction: column; min-height: 0; background: var(--sunken); }
.screen.is-active { display: flex; }
.screen-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.screen-body { display: flex; flex-direction: column; }

.section-block { padding: 0 0 10px; display: flex; flex-direction: column; gap: 8px; }
.sec-head { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; margin: 0 16px; }

.screen[data-screen="home"] {
  --hm-paper: oklch(0.955 0.008 80);
  --hm-ink: oklch(0.24 0.02 50);
  --hm-ink-sub: oklch(0.45 0.015 50);
  --hm-rule: oklch(0.9 0.008 80);
  --hm-glow: oklch(0.84 0.14 65);
  --hm-stamp: oklch(0.27 0.03 40);
  background: var(--hm-paper); color: var(--hm-ink);
}
.screen[data-screen="home"] .screen-body { padding-block-end: 24px; }
.screen[data-screen="home"] .ic { inline-size: 24px; block-size: 24px; flex: none; }

.hm-hero { position: relative; block-size: 200px; overflow: clip; background: var(--hm-ink); }
.hm-hero img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 40% 18%; }
.hm-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, oklch(0.15 0.01 50 / 0.78), oklch(0.15 0.01 50 / 0.12) 62%, transparent); }
.hm-hero .cap { position: absolute; z-index: 2; inset-inline: 16px; inset-block-end: 14px; color: #fff; display: flex; flex-direction: column; gap: 2px; }
.hm-hero h1 { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.25; }
.hm-hero p { margin: 0; font-size: 15px; font-weight: 700; }
.hm-mypage {
  position: absolute; z-index: 2; inset-block-start: 12px; inset-inline-end: 16px;
  display: inline-flex; align-items: center; gap: 6px; min-block-size: 44px; padding-inline: 14px 16px;
  border-radius: 999px; background: var(--surface); font-size: 15px; font-weight: 700; color: var(--hm-ink);
}
.hm-mypage:active { background: var(--honcho-weak); }

.hm-bands { margin: 18px 16px 0; display: flex; flex-direction: column; gap: 10px; }
.hm-band {
  display: flex; align-items: center; gap: 12px; min-block-size: 64px; padding: 10px 14px; inline-size: 100%; text-align: start;
  border-radius: 14px; background: var(--surface); border: 1px solid var(--hm-rule); color: var(--hm-ink);
}
.hm-band .hm-chip { display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 50%; background: var(--honcho-weak); color: var(--honcho-deep); flex: none; }
.hm-band .txt { flex: 1; min-inline-size: 0; display: flex; flex-direction: column; }
.hm-band .name { font-size: 17px; font-weight: 700; line-height: 1.35; }
.hm-band .note { font-size: 15px; color: var(--hm-ink-sub); line-height: 1.4; }
.hm-band .go { color: var(--hm-ink-sub); inline-size: 20px; block-size: 20px; flex: none; }
.hm-band:active { background: var(--honcho-weak); }
.hm-band.main { background: var(--honcho-weak); border-color: color-mix(in oklch, var(--honcho) 45%, white); }
.hm-band.main .hm-chip { background: #fff; }
.hm-band.main .name { color: var(--honcho-deep); }
.hm-band.main:active { background: color-mix(in oklch, var(--honcho) 22%, white); }

.hm-rows { list-style: none; margin: 0 16px; padding: 0; background: var(--surface); border: 1px solid var(--hm-rule); border-radius: 14px; overflow: clip; }
.hm-rows li + li { border-block-start: 1px solid var(--hm-rule); }
.hm-rows .row { display: flex; align-items: center; gap: 14px; min-block-size: 64px; padding: 10px 14px; inline-size: 100%; text-align: start; color: var(--hm-ink); }
.hm-rows .row:active { background: var(--honcho-weak); }
.hm-rows .hm-chip { display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 50%; background: var(--honcho-weak); color: var(--honcho-deep); flex: none; }
.hm-rows .txt { flex: 1; min-inline-size: 0; display: flex; flex-direction: column; }
.hm-rows .name { font-size: 17px; font-weight: 700; line-height: 1.35; }
.hm-rows .note { font-size: 15px; color: var(--hm-ink-sub); line-height: 1.4; }
.hm-rows .go { color: var(--hm-ink-sub); inline-size: 20px; block-size: 20px; flex: none; }
.hm-badge {
  min-inline-size: 26px; block-size: 26px; padding-inline: 8px; border-radius: 999px; flex: none;
  display: grid; place-items: center; background: var(--danger); color: #fff; font-size: 14px; font-weight: 700;
}

.hm-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 24px 16px 10px; min-block-size: 44px; }
.hm-sec-head h2 { margin: 0; font-size: 18px; font-weight: 700; }
.hm-more { display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: 4px; font-size: 15px; font-weight: 700; color: var(--honcho-deep); }

.hm-carousel {
  list-style: none; margin: 0; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
  padding: 0 16px 4px; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.hm-carousel::-webkit-scrollbar { display: none; }
.hm-carousel > li { flex: none; scroll-snap-align: start; }
.hm-carousel > .empty-note { flex: 1; }
.hm-post { display: flex; flex-direction: column; gap: 8px; inline-size: 212px; color: var(--hm-ink); }
.hm-post .pic {
  inline-size: 100%; aspect-ratio: 3 / 4; border-radius: 10px; overflow: clip; background: var(--surface); border: 1px solid var(--hm-rule);
  display: grid; place-items: center; color: var(--hm-ink-sub);
}
.hm-post .pic img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: top; }
.hm-post .ttl { font-size: 15px; font-weight: 700; line-height: 1.45; word-break: auto-phrase; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: clip; }
.hm-post .date { font-size: 14px; color: var(--hm-ink-sub); line-height: 1.2; }
.hm-post:active .pic { border-color: var(--honcho-deep); }
.hm-post.noimg .pic {
  background: var(--honcho-weak); border-color: color-mix(in oklch, var(--honcho) 35%, white);
  align-content: center; justify-items: stretch; gap: 10px; padding: 16px; color: var(--honcho-deep);
}
.hm-post.noimg .pic .ic { inline-size: 36px; block-size: 36px; }
.hm-post.noimg .ex { min-inline-size: 0; overflow-wrap: anywhere; font-size: 16px; font-weight: 700; line-height: 1.55; color: var(--hm-ink); word-break: auto-phrase; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: clip; }

@media (hover: hover) and (pointer: fine) {
  .hm-rows .row:hover, .hm-mypage:hover, .hm-band:hover { background: var(--honcho-weak); }
}
.hm-mypage:focus-visible, .hm-rows .row:focus-visible, .hm-more:focus-visible, .hm-post:focus-visible, .hm-band:focus-visible {
  outline: 2px solid var(--honcho-deep); outline-offset: 2px;
}

/* ============ 検索・チップ ============ */
.search-bar {
  padding: 12px 16px 10px; background: #fff; border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
}
.search-input {
  height: 46px; border: 1px solid var(--line); border-radius: var(--r-input);
  display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--sunken);
}
.search-input input {
  border: 0; background: none; outline: none; flex: 1; font-size: 15px; color: var(--text);
}
.search-input input::placeholder { color: var(--text-mute); }
.filter-seg {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; padding: 3px;
  background: var(--sunken); border: 1px solid var(--line); border-radius: 10px;
}
.filter-seg button {
  block-size: 36px; border-radius: 7px; font-size: 14px; font-weight: 600; color: var(--text-sub);
}
.filter-seg button[aria-pressed="true"] {
  background: var(--surface); color: var(--honcho-deep);
  box-shadow: 0 0 0 1px var(--line), 0 1px 3px oklch(0 0 none / 0.1);
}
.filter-row { display: flex; gap: 8px; }
.filter-select {
  position: relative; flex: 1; min-inline-size: 0; display: flex; align-items: center; gap: 8px;
  block-size: 42px; padding-inline: 12px 34px; border: 1px solid var(--line); border-radius: var(--r-input);
  background: var(--surface);
}
.filter-select select {
  appearance: none; flex: 1; min-inline-size: 0; block-size: 100%; border: 0; background: none;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--text); text-overflow: ellipsis; outline: none;
}
.filter-select .ic {
  position: absolute; inset-inline-end: 10px; inset-block-start: 50%; translate: 0 -50%; rotate: 90deg;
  inline-size: 16px; block-size: 16px; color: var(--text-mute); pointer-events: none;
}
.filter-select.is-set { border-color: var(--honcho); background: var(--honcho-weak); }
.filter-select.is-set select, .filter-select.is-set .ic { color: var(--honcho-deep); }
.filter-select:has(select:focus-visible) { outline: 2px solid var(--honcho); outline-offset: 2px; }
.filter-toggle {
  flex: none; display: inline-flex; align-items: center; gap: 6px; block-size: 42px; padding-inline: 12px;
  border: 1px solid var(--line); border-radius: var(--r-input); background: var(--surface);
  font-size: 14px; font-weight: 600; color: var(--text-sub); white-space: nowrap;
}
.filter-toggle .ic { inline-size: 17px; block-size: 17px; flex: none; }
.filter-toggle[aria-pressed="true"] { border-color: var(--honcho); background: var(--honcho-weak); color: var(--honcho-deep); }
.filter-seg button:focus-visible, .filter-toggle:focus-visible { outline: 2px solid var(--honcho); outline-offset: 2px; }
.filter-seg button:active, .filter-toggle:active { scale: 0.97; }
@media (hover: hover) and (pointer: fine) {
  .filter-seg button[aria-pressed="false"]:hover { color: var(--text); }
  .filter-toggle:hover, .filter-select:hover { border-color: oklch(from var(--line) calc(l - 0.15) c h); }
}
@media (prefers-reduced-motion: no-preference) {
  .filter-seg button, .filter-toggle { transition: background-color 0.15s ease-out, color 0.15s ease-out, box-shadow 0.15s ease-out, scale 0.1s ease-out; }
}

.result-summary {
  padding: 11px 16px 8px; display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--text-sub);
}
.result-summary b { color: var(--text); }

.list-wrap { padding: 0 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.empty-note { padding: 40px 16px; text-align: center; color: var(--text-sub); font-size: 13.5px; line-height: 1.8; }
.empty-note:has(+ .coupon-used-hint) { padding-block-end: 6px; }
.coupon-used-hint { padding-block-start: 0; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.shop-card { padding: 12px; display: flex; align-items: flex-start; gap: 12px; inline-size: 100%; text-align: start; }
.shop-card.is-unpublished { opacity: 0.6; }
.shop-card .thumb {
  width: 64px; height: 64px; border-radius: 10px; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  background: var(--sunken); border: 1px solid var(--line-soft); overflow: hidden;
}
.shop-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.shop-card .body { min-width: 0; flex: 1; }
.shop-card .name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: clip; font-size: 15.5px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.shop-card .meta { display: block; font-size: 12px; line-height: 1.5; color: var(--text-sub); margin-block-start: 2px; word-break: keep-all; overflow-wrap: anywhere; }
.shop-card .status-row { margin-block-start: 6px; display: flex; align-items: center; gap: 6px; min-inline-size: 0; }
.shop-card .status-row .badge { flex: none; }
.shop-card .status-row .hours { min-inline-size: 0; font-size: 12px; color: var(--text-sub); white-space: nowrap; overflow: clip; text-overflow: ellipsis; }

.badge {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  border-radius: 4px; font-size: 11.5px; font-weight: 700;
}
.badge-open { background: var(--teal-weak); color: #007A66; }
.badge-closed { background: #F1F1F1; color: #8A8A8A; }
.badge-unknown { background: #F1F1F1; color: #8A8A8A; }


/* ============ お店の詳細 ============ */
.detail-hero {
  height: 86px; background: linear-gradient(135deg, #FFE9DC, #FFF6EE);
  display: flex; align-items: center; justify-content: center; font-size: 52px; overflow: hidden;
}
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-head { padding: 16px; background: #fff; border-bottom: 1px solid var(--line); }
.detail-head .status-row { display: flex; align-items: center; gap: 8px; }
.detail-head h2 { font-size: 22px; font-weight: 700; margin-top: 8px; line-height: 1.4; }
.detail-head .meta { font-size: 13px; color: var(--text-sub); margin-top: 4px; }

.info-rows { padding: 14px 16px; background: #fff; display: flex; flex-direction: column; gap: 0; }
.info-row {
  display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-soft);
}
.info-row:last-child { border-bottom: 0; }
.info-row .k { width: 74px; flex: none; font-size: 13.5px; color: var(--text-sub); }
.info-row .v { font-size: 15px; flex: 1; }
.info-row .v.link { color: #1665C0; font-weight: 600; }
.info-row .more { font-size: 12.5px; color: var(--text-sub); }

.use-here { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.use-here-card { padding: 13px; display: flex; align-items: center; gap: 11px; }
.use-here-card .emoji { font-size: 22px; }
.use-here-card .name { font-size: 15px; font-weight: 700; }
.use-here-card .note { font-size: 12px; color: var(--text-sub); margin-top: 1px; }

/* ============ 駐車場 ============ */
.geo-bar { padding: 12px 16px 11px; background: #fff; border-bottom: 1px solid var(--line); }
.geo-bar + .list-wrap { padding-top: 14px; }
.geo-bar .row { display: flex; align-items: center; gap: 7px; }
.geo-bar .row .label { font-size: 14.5px; font-weight: 700; flex: 1; }
.geo-bar .use-geo-btn { font-size: 14px; min-height: 32px; color: var(--honcho-deep); font-weight: 700; }
.geo-notice {
  margin-top: 8px; border: 1px dashed #C9C3BA; border-radius: 8px; padding: 8px 10px;
  background: var(--sunken); font-size: 12.5px; font-weight: 700; display: flex; align-items: center; gap: 6px;
}

.parking-card { padding: 14px 15px; }
.parking-card .name { font-size: 17px; font-weight: 700; line-height: 1.4; }
.parking-card .top-row { display: flex; align-items: center; gap: 8px; margin-top: 7px; }
.parking-card .dist-badge { background: var(--teal-weak); color: #007A66; }
.parking-card .dist-text { font-size: 14px; color: var(--text-sub); }
.parking-card .detail-lines { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.parking-card .detail-lines .line { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.6; }
.parking-card .detail-lines .line .k { width: 5.5em; flex: none; color: var(--text-sub); }
.parking-card .detail-lines .line .v { color: var(--text); }
.parking-card .detail-lines .line .v.mute { color: var(--text-mute); }
.parking-note { font-size: 13px; color: var(--text-mute); line-height: 1.75; padding: 0 18px 18px; }

/* ============ ボタン ============ */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; border-radius: var(--r-btn); font-size: 17px; font-weight: 700;
}
.btn-primary { background: var(--line-green); color: #fff; }
.btn-sub { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.btn-orange { background: var(--honcho); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { height: 34px; font-size: 13px; padding: 0 12px; border-radius: var(--r-btn); }

/* ============ マイページ ============ */
.mypage-profile {
  background: #fff; padding: 20px 16px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px;
}
.mypage-profile .avatar {
  width: 56px; height: 56px; border-radius: 50%; background: var(--sunken);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.mypage-profile .name { font-size: 17px; font-weight: 700; }
.mypage-profile .caption { font-size: 12.5px; color: var(--text-sub); margin-top: 2px; }

.stat-row { padding: 16px; display: flex; gap: 11px; }
.stat-card { flex: 1; padding: 14px 12px; text-align: center; }
.stat-card .k { font-size: 11.5px; color: var(--text-sub); }
.stat-card .v { font-size: 22px; font-weight: 700; margin-top: 2px; white-space: nowrap; }
.stat-card .unit { font-size: 13px; font-weight: 600; color: var(--text-sub); }

.menu-card { padding: 0; }
.menu-item {
  display: flex; align-items: center; gap: 12px; padding: 15px 14px;
  border-bottom: 1px solid var(--line-soft); width: 100%; text-align: left;
}
.menu-item:last-child { border-bottom: 0; }
.menu-item .emoji { font-size: 19px; }
.menu-item .label { font-size: 15.5px; flex: 1; }
.menu-item .chev { color: var(--text-mute); }

.note-card { padding: 14px; background: var(--sunken); }
.note-card .heading { font-size: 14.5px; font-weight: 700; }
.note-card .body { font-size: 12.5px; color: var(--text-sub); line-height: 1.75; margin-top: 5px; }
.note-card .body b { color: var(--text); }

.legal-footer {
  padding: 4px 16px 20px; display: flex; flex-direction: column; gap: 6px;
}
.legal-footer a { font-size: 12px; color: var(--text-sub); text-decoration: underline; }

/* ============ クーポン一覧（C5） ============ */
.coupon-tabbar { display: flex; background: #fff; border-bottom: 1px solid var(--line); }
.coupon-tab { flex: 1; text-align: center; padding: 13px 0; font-size: 15px; color: var(--text-sub); border-bottom: 2px solid transparent; }
.coupon-tab.on { font-weight: 700; color: var(--honcho-deep); border-bottom-color: var(--honcho); }

.coupon-list { padding: 16px; display: flex; flex-direction: column; gap: 13px; }

.coupon-card { display: flex; overflow: hidden; }
.coupon-card-badge {
  width: 64px; flex: none; background: linear-gradient(160deg, var(--honcho), var(--honcho-soft));
  color: #fff; display: flex; align-items: center; justify-content: center;
}
.coupon-card-badge .ic { inline-size: 30px; block-size: 30px; }
.coupon-card-main { flex: 1; padding: 13px; min-width: 0; }
.coupon-card-title { font-size: 16px; font-weight: 700; line-height: 1.45; }
.coupon-card-desc { font-size: 12.5px; color: var(--text-sub); margin-top: 3px; }
.coupon-card-expiry { font-size: 12.5px; color: var(--text-sub); margin-top: 6px; }
.coupon-card-btn { margin-top: 10px; }

.coupon-used-row { padding: 13px; }
.coupon-used-title { font-size: 15px; font-weight: 700; }
.coupon-used-meta { font-size: 12.5px; color: var(--text-sub); margin-top: 4px; }

/* ============ お店にお見せする画面（C6） ============ */
.code-tabbar { padding: 18px 16px 8px; background: #fff; }
.code-tabbar-inner { display: flex; background: var(--sunken); border-radius: 10px; padding: 4px; }
.code-tab { flex: 1; text-align: center; padding: 9px 0; font-size: 14px; color: var(--text-sub); border-radius: 7px; }
.code-tab.on { font-weight: 700; color: var(--text); background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }

.code-content { background: #fff; padding: 6px 16px 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; min-height: 320px; }

.code-context-card { width: 100%; display: flex; overflow: hidden; }
.code-context-badge {
  width: 64px; flex: none; background: linear-gradient(160deg, var(--honcho), var(--honcho-soft));
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.code-context-main { flex: 1; padding: 10px 12px; min-width: 0; }
.code-context-label { font-size: 11.5px; color: var(--text-sub); }
.code-context-title { font-size: 16px; font-weight: 700; margin-top: 3px; line-height: 1.4; }
.code-context-expiry { font-size: 12px; color: var(--text-sub); margin-top: 2px; }

.code-qr-wrap { inline-size: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.code-qr-lead { font-size: 17px; font-weight: 700; text-align: center; line-height: 1.55; margin-top: 8px; }
.code-qr-box { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.code-qr-box canvas { display: block; width: 176px; height: 176px; }

.rw-wrap { inline-size: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.rw-prize {
  inline-size: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px; text-align: center;
  background: linear-gradient(180deg, var(--surface), var(--honcho-weak));
}
.rw-prize-lead { font-size: 13px; font-weight: 700; color: var(--honcho-deep); letter-spacing: .08em; }
.rw-prize-name { font-size: 21px; font-weight: 800; line-height: 1.45; margin-block-start: 6px; overflow-wrap: anywhere; }
.rw-prize-campaign { font-size: 14px; color: var(--text-sub); margin-block-start: 4px; overflow-wrap: anywhere; }
.rw-ask { font-size: 17px; font-weight: 700; text-align: center; line-height: 1.6; word-break: auto-phrase; text-wrap: pretty; }
.rw-ask small { display: block; font-size: 13.5px; font-weight: 400; color: var(--text-sub); margin-block-start: 4px; }
.rw-slide {
  position: relative; inline-size: 100%; block-size: 64px; margin-block-start: 12px; border-radius: 999px;
  background: var(--honcho-weak); border: 1px solid #F6D3C6; overflow: clip; user-select: none; -webkit-user-select: none;
}
.rw-slide-fill { position: absolute; inset-block: 0; inset-inline-start: 0; inline-size: 64px; background: color-mix(in oklch, var(--honcho-soft) 50%, transparent); border-radius: 999px; }
.rw-slide-label {
  position: absolute; inset: 0; display: grid; place-items: center; padding-inline-start: 44px;
  font-size: 16px; font-weight: 700; color: var(--honcho-deep); pointer-events: none;
}
.rw-knob {
  position: absolute; inset-block-start: 4px; inset-inline-start: 4px; inline-size: 56px; block-size: 56px; border-radius: 50%;
  background: var(--honcho); color: #fff; display: grid; place-items: center; touch-action: none; cursor: grab;
  box-shadow: 0 3px 8px color-mix(in oklch, var(--honcho-deep) 35%, transparent);
}
.rw-knob svg { inline-size: 26px; block-size: 26px; }
.rw-knob:active { background: var(--honcho-deep); }
.rw-knob:focus-visible { outline: 3px solid var(--honcho-deep); outline-offset: 3px; }
.rw-knob:disabled { cursor: default; }
.rw-note { font-size: 13px; color: var(--text-mute); text-align: center; }
.rw-error { inline-size: 100%; font-size: 14px; line-height: 1.6; color: var(--danger); background: #FDEAE8; border-radius: 10px; padding: 10px 12px; }
.rw-done {
  position: relative; inline-size: 100%; overflow: clip; border-radius: 16px; border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 18px 22px;
}
.rw-done > :not(.rw-done-bg) { position: relative; }
.rw-done-bg {
  position: absolute; inset: 0; opacity: .75;
  background: repeating-linear-gradient(135deg, var(--teal-weak) 0 18px, var(--surface) 18px 36px); background-size: 200% 200%;
}
.rw-done-mark { inline-size: 112px; block-size: 112px; }
.rw-done-mark .seal { inline-size: 100%; block-size: 100%; transform: rotate(-6deg); }
.rw-done-title { font-size: 30px; font-weight: 900; color: var(--teal); }
.rw-done .rw-prize { background: color-mix(in oklch, var(--surface) 85%, transparent); }
.rw-done-when { font-size: 15px; font-weight: 700; color: var(--text-sub); }
.rw-now { padding: 10px 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.rw-now-label { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--text-sub); }
.rw-now-label i { inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--teal); }
.rw-now-clock { font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.rw-done-back { inline-size: 100%; margin-block-start: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .rw-slide.is-back .rw-knob { transition: transform .25s ease-out; }
  .rw-slide.is-back .rw-slide-fill { transition: inline-size .25s ease-out; }
  .rw-done-bg { animation: rw-drift 6s linear infinite; }
  .rw-done-mark .seal { animation: rw-press .55s cubic-bezier(.2, 1.4, .4, 1) both; }
  .rw-now-label i { animation: rw-blink 1s steps(2, jump-none) infinite; }
  @keyframes rw-drift { to { background-position: 100% 100%; } }
  @keyframes rw-press { 0% { transform: scale(2.2) rotate(-14deg); opacity: 0; } 60% { opacity: 1; } 100% { transform: scale(1) rotate(-6deg); } }
  @keyframes rw-blink { 50% { opacity: .15; } }
}

.code-shortnum { text-align: center; }
.code-shortnum-label { font-size: 12px; color: var(--text-sub); }
.code-shortnum-value {
  font-size: 30px; font-weight: 700; letter-spacing: 6px; margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

.code-timer {
  width: 100%; background: var(--honcho-weak); border-radius: 10px; padding: 11px 14px;
  display: flex; align-items: center; gap: 9px;
}
.code-timer-text { font-size: 13.5px; color: var(--honcho-deep); font-weight: 700; }
.code-timer.is-warning { background: #FDEAE8; }
.code-timer.is-warning .code-timer-text { color: var(--danger); }

.code-howto { width: 100%; background: var(--sunken); border-radius: 10px; padding: 13px 14px; }
.code-howto-title { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.code-howto ol { display: flex; flex-direction: column; gap: 5px; }
.code-howto li { font-size: 12.5px; color: var(--text-sub); line-height: 1.7; }
.code-note {
  width: 100%; background: var(--sunken); border-radius: 10px; padding: 13px 14px;
  font-size: 12.5px; color: var(--text-sub); line-height: 1.7;
}
.code-note b { color: var(--text); }

.code-result { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 8px; text-align: center; }
.code-result .emoji { font-size: 44px; }
.code-result h3 { font-size: 18px; font-weight: 700; }
.code-result p { font-size: 14px; color: var(--text-sub); line-height: 1.8; }
.code-result-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; align-items: center; }
.code-result-actions .btn { min-width: 220px; }

/* ============ スタンプカード（C7） ============ */
.stamp-hero {
  background: linear-gradient(135deg, var(--honcho), #FFA06B); padding: 20px 18px; color: #fff;
}
.stamp-hero-name { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; opacity: 0.92; }
.stamp-hero-count { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.stamp-hero-count .num { font-size: 44px; font-weight: 700; line-height: 1; }
.stamp-hero-count .goal { font-size: 18px; font-weight: 700; }
.stamp-hero-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.35); margin-top: 12px; overflow: hidden; }
.stamp-hero-bar-fill { height: 100%; background: #fff; border-radius: 4px; }
.stamp-hero-note { font-size: 13px; margin-top: 8px; opacity: 0.95; }

.stamp-grid-wrap { padding: 15px 16px; background: #fff; }
.stamp-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.stamp-cell { aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.stamp-cell.is-filled .seal { inline-size: 100%; block-size: 100%; }
.stamp-cell.is-empty { border: 2px dashed #E0DCD5; color: #C9C3BA; font-size: 15px; font-weight: 700; }

.stamp-action { padding: 0 16px 16px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.stamp-action-note { font-size: 12px; color: var(--text-mute); text-align: center; margin-top: -3px; }

/* ============ C5 の案内 ============ */
.tip-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 13px;
  display: flex; gap: 10px; align-items: flex-start;
}
.tip-emoji { font-size: 18px; }
.tip-text { font-size: 12.5px; color: var(--text-sub); line-height: 1.75; }
.tip-text b { color: var(--text); }

/* ============ C11 お店のQRを読んだ画面 ============ */
.qr-shop-head {
  background: #fff; padding: 18px 16px 16px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 13px;
}
.qr-shop-thumb {
  width: 56px; height: 56px; border-radius: 10px; flex: none; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  background: var(--sunken); border: 1px solid var(--line-soft);
}
.qr-shop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.qr-shop-meta { flex: 1; min-width: 0; }
.qr-shop-label { font-size: 12px; color: var(--text-sub); }
.qr-shop-name { font-size: 21px; font-weight: 700; line-height: 1.35; margin-top: 2px; word-break: keep-all; overflow-wrap: anywhere; }
.qr-shop-area { font-size: 12px; color: var(--text-sub); margin-top: 2px; }

.qr-sections { padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.qr-sections .sec-head { margin: 0; }
.qr-coupons { display: flex; flex-direction: column; gap: 10px; }

.qr-stamp-card { padding: 15px; }
.qr-stamp-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.qr-stamp-name { font-size: 15px; font-weight: 700; }
.qr-stamp-achieved { margin-block-start: 6px; font-size: 13px; font-weight: 700; color: var(--honcho-deep); }
.qr-stamp-count { font-size: 13px; color: var(--text-sub); white-space: nowrap; }
.qr-stamp-count b { font-size: 18px; color: var(--text); }
.qr-stamp-cond { font-size: 12.5px; color: var(--text-sub); margin-top: 6px; line-height: 1.7; }
.qr-stamp-action { margin-top: 12px; }
.qr-stamp-btn { width: 100%; height: 60px; font-size: 19px; }
.qr-stamp-btn:disabled { opacity: 0.6; }
.qr-stamp-rule { font-size: 12px; color: var(--text-mute); margin-top: 7px; text-align: center; }
.qr-stamp-off {
  background: var(--sunken); border-radius: 10px; padding: 14px; text-align: center;
  font-size: 14.5px; font-weight: 700; color: var(--text-sub);
}
.qr-stamp-done {
  background: var(--line-green-weak); border-radius: 10px; padding: 14px; text-align: center;
  display: flex; flex-direction: column; gap: 4px;
}
.qr-stamp-done.is-achieved { background: var(--honcho-weak); }
.qr-stamp-done { position: relative; overflow: clip; }
.qr-stamp-mark { position: relative; inline-size: 72px; block-size: 72px; margin-inline: auto; }
.qr-stamp-mark .seal { inline-size: 100%; block-size: 100%; }
.qr-stamp-done.is-celebrate .qr-stamp-mark { inline-size: 96px; block-size: 96px; }
.qr-stamp-goal { font-size: 26px; font-weight: 800; color: var(--honcho-deep); line-height: 1.3; }
.confetti { position: absolute; inset-block-start: 50%; inset-inline-start: 50%; pointer-events: none; }
.confetti-bit { position: absolute; inline-size: 8px; block-size: 12px; border-radius: 2px; opacity: 0; }
.confetti-bit.is-round { inline-size: 9px; block-size: 9px; border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) {
  .qr-stamp-mark .seal { animation: seal-press 420ms cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
  .is-celebrate .qr-stamp-mark .seal { animation-duration: 560ms; }
  .is-celebrate .qr-stamp-goal { animation: goal-pop 520ms cubic-bezier(0.2, 0.9, 0.3, 1.4) 380ms both; }
  .confetti-bit { animation: confetti-fly 1300ms cubic-bezier(0.15, 0.7, 0.3, 1) calc(320ms + var(--delay)) both; }
}
@keyframes seal-press {
  0% { transform: scale(1.9) rotate(-16deg); opacity: 0; }
  55% { transform: scale(0.9) rotate(2deg); opacity: 1; }
  78% { transform: scale(1.05); }
  100% { transform: none; opacity: 1; }
}
@keyframes goal-pop {
  0% { transform: scale(0.4); opacity: 0; }
  70% { transform: scale(1.12); opacity: 1; }
  100% { transform: none; opacity: 1; }
}
@keyframes confetti-fly {
  0% { transform: translate(-50%, -50%) rotate(0); opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--rot)); opacity: 0; }
}
.qr-stamp-done-title { font-size: 17px; font-weight: 700; }
.qr-stamp-done-count { font-size: 15px; font-weight: 700; }
.qr-stamp-done-sub { font-size: 13px; color: var(--text-sub); line-height: 1.7; }
.qr-stamp-done-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }

.qr-note { background: var(--sunken); border-radius: 10px; padding: 12px 14px; }
.qr-note p { font-size: 12.5px; color: var(--text-sub); line-height: 1.75; }
.qr-note b { color: var(--text); }

/* ============ C11 06-2 クーポンを使う（スライドで確定） ============ */
.qr-confirm {
  min-height: calc(100dvh - 46px); background: #fff; padding: 24px 18px 20px;
  display: flex; flex-direction: column; gap: 18px;
}
.qr-confirm-head { text-align: center; }
.qr-confirm-title { font-size: 24px; font-weight: 700; line-height: 1.4; word-break: keep-all; overflow-wrap: anywhere; }
.qr-confirm-sub { font-size: 13px; color: var(--text-sub); margin-top: 8px; }
.qr-confirm-warn { background: var(--honcho-weak); border-radius: 10px; padding: 12px 14px; }
.qr-confirm-warn p { font-size: 13px; color: var(--honcho-deep); font-weight: 700; line-height: 1.7; }
.qr-confirm-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.qr-confirm-error {
  background: #FDEAE8; color: var(--danger); border-radius: 10px; padding: 11px 14px;
  font-size: 13px; font-weight: 700; line-height: 1.7;
}

.slide-track {
  position: relative; height: 64px; border-radius: 32px; background: var(--sunken); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; user-select: none; -webkit-user-select: none;
}
.slide-label { font-size: 15px; font-weight: 700; color: var(--text-sub); padding-left: 40px; pointer-events: none; }
.slide-knob {
  position: absolute; left: 5px; top: 4px; width: 54px; height: 54px; border-radius: 50%;
  background: var(--honcho); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(228,94,54,0.35); touch-action: none; cursor: grab;
}
.slide-knob.is-animating { transition: transform 0.2s ease; }
.slide-knob:focus-visible { outline: 3px solid var(--honcho-deep); outline-offset: 3px; }
.slide-track.is-done { background: var(--honcho-weak); }
.slide-track.is-done .slide-label { padding-left: 0; padding-right: 56px; color: var(--honcho-deep); }

/* ============ C11 06-3 使用済み画面（店員さんが見る） ============ */
.c11-used {
  min-height: calc(100dvh - 46px); padding: 26px 20px 22px;
  display: flex; flex-direction: column; align-items: center; color: #fff;
  background: linear-gradient(135deg, #06C755, #00AF91, #06C755); background-size: 300% 300%;
  animation: c11-flow 6s ease infinite;
}
.c11-label { font-size: 14px; font-weight: 700; opacity: 0.95; }
.c11-shop { font-size: 27px; font-weight: 700; line-height: 1.35; text-align: center; margin-top: 6px; word-break: keep-all; overflow-wrap: anywhere; }
.c11-shop-sub { font-size: 17px; }
.c11-ring {
  margin-top: 22px; width: 132px; height: 132px; border-radius: 50%; border: 5px solid rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  animation: c11-pulse 1.6s ease-in-out infinite;
}
.c11-clock { margin-top: 22px; font-size: 40px; font-weight: 700; letter-spacing: 1px; font-variant-numeric: tabular-nums; line-height: 1; }
.c11-date { font-size: 13px; margin-top: 6px; opacity: 0.95; }
.c11-coupon {
  margin-top: 18px; width: 100%; background: rgba(255,255,255,0.18); border-radius: 10px; padding: 11px 14px;
  text-align: center; font-size: 15px; font-weight: 700;
}
.c11-staff { margin-top: auto; width: 100%; background: #fff; color: var(--text); border-radius: 12px; padding: 13px 15px; }
.c11-staff-title { font-size: 14.5px; font-weight: 700; }
.c11-staff-text { font-size: 13.5px; line-height: 1.7; margin-top: 3px; }
.c11-used.is-expired { background: #9A9A9A; animation: none; }
.c11-used.is-expired .c11-ring { animation: none; opacity: 0.6; }
.c11-used.is-expired .c11-clock { opacity: 0.85; }
@keyframes c11-flow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes c11-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0.55); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(255,255,255,0); }
}
@media (prefers-reduced-motion: reduce) {
  .c11-used { animation: none; }
}

.stamp-shops-wrap { padding: 0 16px; display: flex; flex-direction: column; gap: 10px; }
.stamp-shop-card { padding: 0; }
.stamp-shop-row {
  padding: 12px 14px; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; gap: 10px;
}
.stamp-shop-row:last-child { border-bottom: 0; }
.stamp-shop-row .seal { inline-size: 28px; block-size: 28px; flex: none; }
.stamp-shop-row .name { font-size: 14.5px; font-weight: 600; flex: 1; }
.stamp-shop-row .date { font-size: 12px; color: var(--text-mute); }

.tiny { font-size: 12.5px; color: var(--text-sub); line-height: 1.75; }

/* ============ アンケート一覧（C9） ============ */
.survey-card { padding: 14px; display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; }
.survey-card.is-answered { opacity: 0.65; }
.survey-card-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.survey-card-title { font-size: 15.5px; font-weight: 700; line-height: 1.4; }
.survey-card-status { font-size: 12px; color: var(--text-sub); font-weight: 700; flex: none; }
.survey-card-go { inline-size: 18px; block-size: 18px; color: var(--text-mute); flex: none; }
.survey-list { padding-block-start: 16px; }

/* ============ アンケート回答（C9） ============ */
.survey-kind-badge { background: var(--honcho-weak); color: var(--honcho-deep); border: 1px solid #F8C7B4; }

.survey-head { background: #fff; padding: 16px; border-bottom: 1px solid var(--line); }
.survey-badge-row { display: flex; gap: 6px; flex-wrap: wrap; }
.survey-title { font-size: 19px; font-weight: 700; margin-top: 8px; line-height: 1.45; }
.survey-count-note { font-size: 12.5px; color: var(--text-sub); margin-top: 5px; }
.survey-progress-bar { height: 6px; border-radius: 3px; background: var(--line-soft); margin-top: 12px; overflow: hidden; }
.survey-progress-fill { height: 100%; background: var(--honcho); border-radius: 3px; }
.survey-progress-note { font-size: 11.5px; color: var(--text-mute); margin-top: 5px; }

.survey-question-body { padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; background: var(--sunken); flex: 1; }
.survey-question-label { font-size: 17px; font-weight: 700; line-height: 1.55; }
.survey-optional-row { display: flex; align-items: center; gap: 8px; margin-top: -4px; }
.survey-optional-badge { background: #F1F1F1; color: #666; flex: none; }
.survey-optional-note { font-size: 12.5px; color: var(--text-sub); line-height: 1.6; }

.survey-answer { display: flex; flex-direction: column; gap: 12px; }
.survey-option {
  display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 15px 14px;
}
.survey-option.is-checked { background: var(--honcho-weak); border: 2px solid var(--honcho); padding: 14px 13px; font-weight: 700; }
.survey-option input { width: 22px; height: 22px; flex: none; accent-color: var(--honcho); }
.survey-option-text { font-size: 16px; }

.survey-textarea {
  width: 100%; min-height: 140px; border: 1px solid var(--line); border-radius: var(--r-input);
  padding: 12px 14px; font-size: 15px; line-height: 1.7; resize: vertical; background: #fff;
}

.survey-actions { padding: 4px 16px 24px; display: flex; gap: 10px; background: var(--sunken); }
.survey-actions .btn:first-child { flex: 1; }
.survey-actions .btn:last-child { flex: 2; }

/* ============ 準備中・汎用状態画面 ============ */
.state-view {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 40px 24px; text-align: center;
}
.state-view .emoji { font-size: 40px; }
.state-view h3 { font-size: 17px; font-weight: 700; }
.state-view p { font-size: 13.5px; color: var(--text-sub); line-height: 1.8; }
.state-view .btn { min-width: 160px; }

.confirm-view { flex: 1; display: flex; flex-direction: column; padding: 24px 20px; gap: 16px; }
.confirm-view h3 { font-size: 17px; font-weight: 700; }
.confirm-view p { font-size: 13.5px; color: var(--text-sub); line-height: 1.8; }

/* ============ タブバー ============ */
.icon-sprite { position: absolute; inline-size: 0; block-size: 0; overflow: clip; }
.tabbar {
  flex: none; display: flex; background: var(--surface); border-top: 1px solid var(--line);
  padding-block-end: env(safe-area-inset-bottom, 0px);
}
.tabbar a {
  flex: 1; min-block-size: 60px; padding-block: 7px 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--text-sub); font-size: 12px; font-weight: 700; line-height: 1.2; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.tabbar .ti { display: grid; place-items: center; inline-size: 56px; block-size: 30px; border-radius: 999px; }
.tabbar .ti svg { inline-size: 24px; block-size: 24px; }
.tabbar a.on { color: var(--honcho-deep); }
.tabbar a.on .ti { background: var(--honcho-weak); }
.tabbar a:active .ti { background: var(--honcho-weak); }
.tabbar a:focus-visible { outline: 2px solid var(--honcho-deep); outline-offset: -4px; border-radius: 10px; }

/* ============ トースト ============ */
.app-toast {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 40;
  background: rgba(20,20,20,0.92); color: #fff; font-size: 13px; line-height: 1.6;
  padding: 12px 14px; border-radius: 10px; opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease;
}
.app-toast.is-visible { opacity: 1; }
.app-toast-link { display: block; margin-top: 6px; color: var(--honcho-soft); font-weight: 700; text-decoration: underline; }

/* ============ 法定ページ ============ */
.legal-page { min-height: 100%; background: var(--sunken); }
.legal-wrap { max-width: 480px; margin: 0 auto; padding: 20px 20px 40px; }
.legal-h1 { font-size: 20px; font-weight: 700; }
.legal-updated { font-size: 12.5px; color: var(--text-sub); margin-top: 6px; }
.legal-h2 { font-size: 15px; font-weight: 700; margin-top: 26px; }
.legal-p { font-size: 13.5px; line-height: 1.9; margin-top: 10px; }
.legal-list { font-size: 13.5px; line-height: 1.9; margin-top: 10px; padding-left: 20px; }
.legal-list.is-bullet { list-style: disc; }
.legal-list:not(.is-bullet) { list-style: decimal; }
.legal-list li { margin-top: 4px; }
.legal-signature { font-size: 12.5px; color: var(--text-sub); margin-top: 28px; line-height: 1.8; }
.legal-back-btn { display: block; margin-top: 28px; text-align: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-btn); font-weight: 700; font-size: 14px; }
.pending {
  background: var(--honcho-weak); color: var(--honcho-deep); border: 1px solid #F8C7B4;
  padding: 1px 6px; border-radius: 4px; font-weight: 700; font-size: 12.5px;
}

.info-row-action { padding-block: 10px 12px; }
.detail-map-btn { display: flex; align-items: center; justify-content: center; inline-size: 100%; min-block-size: 48px; font-size: 16px; font-weight: 700; }
