/* YOKOSO PAY 紹介ページ
 *
 * 方針:
 * - 主役は本物のアプリ画面 (assets/screens/。e2e/lp-assets.spec.ts で撮影)。図は描かない
 * - 地は白とごく淡い藍。朱 (アプリのブランド色) は「押すところ」と強調だけに使う
 * - 和の要素は 1 か所だけ: 町のセクションの青海波 (せいがいは) の地紋
 * - 見せ場は「旅の流れ」1 つ。スクロールでスマホの画面が旅前→旅中→旅後と替わる
 * - 単一テーマ (ライト)。マーケティングページとして見え方を固定する
 */
:root {
  color-scheme: light;

  /* 色 — アプリ本体 (services/frontend/src/index.css @theme) の朱・藍・金を継承 */
  --white: #FFFFFF;
  --mist: #F3F6FA;          /* 淡い藍の地 */
  --mist-2: #E7EDF5;
  --ink: #0F2342;           /* 藍の墨 (見出し・本文) */
  --ink-2: #44546B;
  --ink-3: #7A889C;
  --navy: #13294B;
  --navy-deep: #0B1A33;
  --shu: #E63946;           /* 朱 */
  --shu-deep: #C1121F;
  --shu-soft: #FDECEE;
  --gold: #C9A23A;
  --gold-soft: #FBF3DC;
  --matcha: #5E8A3F;
  --line: rgba(15, 35, 66, 0.10);
  --line-strong: rgba(15, 35, 66, 0.18);

  /* 書体 */
  --f-head: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", sans-serif;
  --f-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  --f-en: "Outfit", "Noto Sans JP", sans-serif;

  /* 文字の大きさ */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-2xl: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem);
  --fs-hero: clamp(2.375rem, 1.3rem + 3.6vw, 4.25rem);

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(11, 26, 51, .06), 0 2px 8px rgba(11, 26, 51, .04);
  --shadow-md: 0 2px 4px rgba(11, 26, 51, .04), 0 12px 32px rgba(11, 26, 51, .08);
  --shadow-lg: 0 4px 8px rgba(11, 26, 51, .04), 0 24px 64px rgba(11, 26, 51, .16);
  --header-h: 72px;
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--fs-md);
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
}
img { max-width: 100%; height: auto; display: block; }
/* hidden 属性はどの表示指定より優先する (display:grid 等で上書きされて残らないように) */
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); margin: 0; line-height: 1.4; text-wrap: balance; letter-spacing: 0.02em; }
/* 日本語の見出しを文節で折り返す (Chrome 119+。未対応のブラウザは通常の折り返し) */
h1, h2, h3, h4, .hero-sub, .answer p, .journey-note b, .town-cta p, .chip b { word-break: auto-phrase; }
/* 日本語の見出しは <wbr> の位置だけで折り返す (語の途中で切らない) */
.kw { word-break: keep-all; overflow-wrap: anywhere; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--shu); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 仮の印 (公開前に確定させる箇所) */
.kari {
  display: inline-flex; align-items: center;
  font-family: var(--f-body); font-size: 0.6875rem; font-weight: 700; line-height: 1; letter-spacing: 0.04em;
  padding: 4px 7px; border-radius: 4px; vertical-align: 0.2em; white-space: nowrap;
  background: var(--gold-soft); color: #6E5300; border: 1px dashed #B08A1E;
}
.draftbar { background: var(--gold-soft); color: #5C4500; font-size: var(--fs-xs); line-height: 1.6; }
.draftbar .wrap { padding-block: 8px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }

/* ---------- ボタン ---------- */
.btn {
  --_bg: var(--shu); --_fg: #fff; --_bd: var(--shu);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--_bg); color: var(--_fg); border: 1.5px solid var(--_bd);
  font-family: var(--f-body); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.04em; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(230, 57, 70, .28); }
.btn--primary:hover { --_bg: var(--shu-deep); --_bd: var(--shu-deep); }
.btn--outline { --_bg: transparent; --_fg: var(--ink); --_bd: var(--line-strong); }
.btn--outline:hover { --_bd: var(--ink); box-shadow: var(--shadow-sm); }
.btn--white { --_bg: #fff; --_fg: var(--ink); --_bd: #fff; }
.btn--white:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
.btn--ghost-light { --_bg: transparent; --_fg: #fff; --_bd: rgba(255, 255, 255, .45); }
.btn--ghost-light:hover { --_bd: #fff; box-shadow: none; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: var(--fs-sm); }
.btn .arrow { width: 16px; height: 16px; flex: none; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }

/* ---------- 見出しまわり ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-en); font-weight: 600; font-size: var(--fs-xs); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--shu);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.sec { padding-block: clamp(80px, 10vw, 140px); }
.sec--mist { background: var(--mist); }
.sec-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-title { font-size: var(--fs-2xl); font-weight: 900; line-height: 1.45; }
.sec-lead { font-size: var(--fs-lg); color: var(--ink-2); line-height: 2; }
.em-shu { color: var(--shu); }

/* ---------- ヘッダ ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  transition: box-shadow .25s ease, background .25s ease;
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(11, 26, 51, .06); background: rgba(255, 255, 255, .94); }
.header .wrap { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo img { width: 36px; height: 36px; }
.logo span { font-family: var(--f-en); font-weight: 700; font-size: 1.1875rem; letter-spacing: 0.04em; color: var(--ink); }
.logo b { color: var(--shu); font-weight: 700; }
.gnav { margin-left: auto; }
.gnav ul { list-style: none; display: flex; gap: 30px; }
.gnav a { text-decoration: none; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2); position: relative; padding-block: 6px; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--shu); transition: right .25s ease; }
.gnav a:hover { color: var(--ink); }
.gnav a:hover::after { right: 0; }
.header-cta { display: flex; gap: 10px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 10px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.drawer { display: none; }
@media (max-width: 1080px) {
  .gnav, .header-cta { display: none; }
  .menu-btn { display: block; }
  .drawer {
    display: block; position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 12px var(--gutter) 24px;
  }
  .drawer[hidden] { display: none; }
  .drawer ul { list-style: none; display: grid; }
  .drawer li a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; }
  .drawer .btns { display: grid; gap: 10px; margin-top: 20px; }
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(230, 57, 70, .10), transparent 70%),
    radial-gradient(70% 80% at 70% 90%, rgba(19, 41, 75, .10), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--mist) 100%);
}
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px);
  align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 120px);
}
.hero-copy { display: grid; gap: 28px; align-content: center; }
.hero-title { font-size: var(--fs-hero); font-weight: 900; line-height: 1.25; letter-spacing: 0.03em; }
.hero-title .line { display: block; white-space: nowrap; }
.hero-sub { font-family: var(--f-head); font-size: var(--fs-xl); font-weight: 700; line-height: 1.6; color: var(--ink); }
.hero-sub .mark { background: linear-gradient(transparent 62%, rgba(230, 57, 70, .22) 62%); padding-inline: 2px; }
.hero-lead { color: var(--ink-2); line-height: 2; max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badges li {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.hero-badges svg { width: 16px; height: 16px; color: var(--matcha); flex: none; }

/* 端末の組み合わせ */
.stage { position: relative; max-width: 100%; }
.tablet {
  position: relative; background: #0B1626; border-radius: 7% / 4.9%; padding: 3.4%;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .08);
}
.tablet img { width: 100%; aspect-ratio: 820 / 1180; object-fit: cover; object-position: top; border-radius: 3.4% / 2.4%; background: var(--mist); }
.phone {
  position: relative; background: #0B1626; border-radius: 15% / 7%; padding: 3.2%;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .08);
}
.phone::before { /* カメラ */
  content: ""; position: absolute; top: 2.6%; left: 50%; width: 28%; height: 2.6%; transform: translateX(-50%);
  background: #0B1626; border-radius: 999px; z-index: 2;
}
.phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 11.5% / 5.3%; background: var(--mist); }
.stage { aspect-ratio: 1 / 1.02; }
.stage .tablet { position: absolute; right: 2%; top: 0; width: 62%; }
.stage .phone { position: absolute; left: 4%; bottom: 0; width: 31%; z-index: 2; }
.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-md);
  font-size: 0.75rem; line-height: 1.45; border: 1px solid var(--line);
  animation: bob 6s ease-in-out infinite;
}
.chip b { display: block; font-size: 0.8125rem; color: var(--ink); }
.chip span { color: var(--ink-3); }
.chip .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.chip .dot svg { width: 18px; height: 18px; }
.chip .n {
  display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 6px; border-radius: 50%;
  background: var(--ink); color: #fff; font-family: var(--f-en); font-size: 0.6875rem; font-weight: 700; vertical-align: 0.08em;
}
.chip--guest { left: 0; top: 17%; }
.chip--guest .dot { background: var(--shu-soft); color: var(--shu); }
.chip--store { right: 0; bottom: 7%; animation-delay: -2s; }
.chip--store .dot { background: #E7EDF5; color: var(--navy); }
.chip--pay { left: 22%; bottom: -2%; animation-delay: -4s; }
.chip--pay .dot { background: #E9F2E2; color: var(--matcha); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { max-width: 560px; margin-inline: auto; width: 100%; }
}
@media (max-width: 520px) {
  .chip { font-size: 0.6875rem; padding: 8px 10px; gap: 8px; }
  .chip .dot { width: 26px; height: 26px; border-radius: 8px; }
  .chip b { font-size: 0.75rem; }
  .chip--guest { top: 10%; }
  .chip--pay { display: none; }
}

/* ---------- 数字の帯 ---------- */
.facts { background: var(--white); border-block: 1px solid var(--line); }
.facts ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { padding: 32px 24px; display: grid; gap: 4px; justify-items: center; text-align: center; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; }
.facts .num { font-family: var(--f-en); font-weight: 700; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.facts .num small { font-family: var(--f-head); font-size: 0.45em; font-weight: 700; margin-left: 2px; }
.facts .label { font-size: var(--fs-sm); color: var(--ink-2); }
@media (max-width: 760px) {
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- 課題 ---------- */
.issues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.issue { background: #fff; border-radius: var(--radius); padding: 36px 32px; display: grid; gap: 16px; align-content: start; box-shadow: var(--shadow-sm); border: 1px solid var(--line); min-width: 0; }
.issue-who { display: flex; align-items: center; gap: 12px; font-family: var(--f-head); font-weight: 700; font-size: var(--fs-lg); }
.issue-who .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); color: var(--navy); flex: none; }
.issue-who .ico svg { width: 22px; height: 22px; }
.issue blockquote { margin: 0; font-size: 0.9375rem; color: var(--ink-2); line-height: 2; }
.answer { margin-top: clamp(40px, 5vw, 64px); text-align: center; display: grid; gap: 16px; justify-items: center; }
.answer-arrow { width: 2px; height: 48px; background: linear-gradient(var(--line-strong), var(--shu)); }
.answer p { font-family: var(--f-head); font-weight: 900; font-size: var(--fs-xl); line-height: 1.7; }
@media (max-width: 900px) { .issues { grid-template-columns: 1fr; } .issue { padding: 28px 24px; } }

/* ---------- 旅の流れ (見せ場) ---------- */
.journey { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.journey-stage { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 28px; justify-items: center; }
.route {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); width: min(360px, 100%);
}
.route::before { content: ""; position: absolute; left: 16.66%; right: 16.66%; top: 13px; height: 4px; background: var(--mist-2); border-radius: 4px; }
.route-fill { position: absolute; left: 16.66%; top: 13px; height: 4px; width: 0; background: var(--shu); border-radius: 4px; transition: width .5s ease; }
.route .rs { position: relative; display: grid; justify-items: center; gap: 8px; }
.route .st { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 4px solid var(--mist-2); transition: border-color .3s ease, transform .3s ease; position: relative; z-index: 1; }
.route .nm { font-family: var(--f-head); font-weight: 700; font-size: var(--fs-sm); color: var(--ink-3); transition: color .3s ease; }
.route .rs.is-on .st { border-color: var(--shu); }
.route .rs.is-now .st { transform: scale(1.18); background: var(--shu); box-shadow: 0 0 0 6px rgba(230, 57, 70, .15); }
.route .rs.is-on .nm { color: var(--ink); }
.journey-phone { width: min(320px, 78%, calc((100svh - var(--header-h) - 190px) * 0.44)); }
.journey-phone .screens { position: relative; aspect-ratio: 390 / 844; border-radius: 11.5% / 5.3%; overflow: hidden; background: var(--mist); }
.journey-phone .screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.02); transition: opacity .45s ease, transform .6s ease; border-radius: 0; aspect-ratio: auto; }
.journey-phone .screens img.is-active { opacity: 1; transform: none; }
.journey-steps { display: grid; gap: 0; }
.stage-label { display: flex; align-items: baseline; gap: 14px; padding-top: 24px; margin-bottom: 4px; }
.stage-label h3 { font-size: var(--fs-2xl); font-weight: 900; }
.stage-label span { font-family: var(--f-en); font-weight: 600; font-size: var(--fs-xs); letter-spacing: 0.22em; color: var(--ink-3); }
.jstep { padding-block: 40px; min-height: 38vh; display: grid; gap: 14px; align-content: center; border-top: 1px solid var(--line); opacity: .38; transition: opacity .35s ease; }
.stage-label + .jstep { border-top: 0; }
.jstep.is-active { opacity: 1; }
.jstep h4 { font-size: var(--fs-xl); font-weight: 700; line-height: 1.55; }
.jstep p { color: var(--ink-2); line-height: 2; max-width: 30em; }
.jstep .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.jstep .tags span { font-size: 0.75rem; font-weight: 500; padding: 4px 10px; border-radius: 6px; background: var(--mist); color: var(--ink-2); }
.jstep-shot { display: none; }
.journey-note {
  margin-top: 56px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center;
  padding: 28px 32px; border-radius: var(--radius); background: var(--navy); color: #fff;
}
.journey-note svg { width: 40px; height: 40px; color: var(--gold); }
.journey-note b { font-family: var(--f-head); font-size: var(--fs-lg); display: block; line-height: 1.6; }
.journey-note span { font-size: var(--fs-sm); color: rgba(255, 255, 255, .78); }
@media (max-width: 900px) {
  .journey { grid-template-columns: 1fr; }
  .journey-stage { display: none; }
  .jstep { min-height: 0; opacity: 1; grid-template-columns: minmax(0, 1fr) 132px; column-gap: 20px; align-items: start; padding-block: 28px; }
  .jstep > *:not(.jstep-shot) { grid-column: 1; }
  .jstep-shot { display: block; grid-column: 2; grid-row: 1 / span 4; width: 132px; }
  .journey-note { grid-template-columns: 1fr; padding: 24px; }
}
@media (max-width: 480px) {
  .jstep { grid-template-columns: minmax(0, 1fr) 104px; column-gap: 14px; }
  .jstep-shot { width: 104px; }
}

/* ---------- 町と一緒に ---------- */
.town {
  position: relative; color: #fff; overflow: hidden;
  background-color: var(--navy);
  /* 青海波。ごく薄く。 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='28' viewBox='0 0 56 28'%3E%3Cg fill='%2313294B' stroke='%23FFFFFF' stroke-opacity='0.07' stroke-width='1.2'%3E%3Cg%3E%3Ccircle cx='28' cy='0' r='28'/%3E%3Ccircle cx='28' cy='0' r='21' fill='none'/%3E%3Ccircle cx='28' cy='0' r='14' fill='none'/%3E%3Ccircle cx='28' cy='0' r='7' fill='none'/%3E%3C/g%3E%3Cg%3E%3Ccircle cx='0' cy='14' r='28'/%3E%3Ccircle cx='0' cy='14' r='21' fill='none'/%3E%3Ccircle cx='0' cy='14' r='14' fill='none'/%3E%3Ccircle cx='0' cy='14' r='7' fill='none'/%3E%3C/g%3E%3Cg%3E%3Ccircle cx='56' cy='14' r='28'/%3E%3Ccircle cx='56' cy='14' r='21' fill='none'/%3E%3Ccircle cx='56' cy='14' r='14' fill='none'/%3E%3Ccircle cx='56' cy='14' r='7' fill='none'/%3E%3C/g%3E%3Cg%3E%3Ccircle cx='28' cy='28' r='28'/%3E%3Ccircle cx='28' cy='28' r='21' fill='none'/%3E%3Ccircle cx='28' cy='28' r='14' fill='none'/%3E%3Ccircle cx='28' cy='28' r='7' fill='none'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.town::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 41, 75, .2), rgba(11, 26, 51, .92) 85%); pointer-events: none; }
.town .wrap { position: relative; z-index: 1; }
.town .eyebrow { color: #F4D03F; }
.town .sec-lead { color: rgba(255, 255, 255, .8); }
.town-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.town-top .sec-head { margin-bottom: 0; }
.town-top { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
.town-media { display: grid; justify-items: center; }
.town-media .phone { width: min(300px, 80%); box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 0 0 1.5px rgba(255, 255, 255, .12); }
.town-feats { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.town-feat { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 28px 24px; display: grid; gap: 12px; align-content: start; backdrop-filter: blur(4px); min-width: 0; }
.town-feat .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(244, 208, 63, .14); color: #F4D03F; display: grid; place-items: center; }
.town-feat .ico svg { width: 22px; height: 22px; }
.town-feat h3 { font-size: var(--fs-lg); font-weight: 700; }
.town-feat p { font-size: var(--fs-sm); color: rgba(255, 255, 255, .78); line-height: 1.9; }
.town-feat ul { list-style: none; display: grid; gap: 6px; font-size: 0.8125rem; color: rgba(255, 255, 255, .86); }
.town-feat li { display: flex; gap: 8px; }
.town-feat li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #F4D03F; margin-top: .75em; flex: none; }
.cases { margin-top: clamp(48px, 6vw, 72px); display: grid; gap: 20px; }
.cases-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cases-head h3 { font-size: var(--fs-lg); font-weight: 700; }
.case-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 26px 26px 28px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.case .pref { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 500; letter-spacing: .08em; }
.case .city { font-family: var(--f-head); font-weight: 900; font-size: 1.375rem; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; line-height: 1.3; }
.case .what { display: inline-flex; width: fit-content; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; background: var(--shu-soft); color: var(--shu-deep); }
.case p { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.9; }
/* 導入事例の「募集中」。いまはこのカードだけ (導入いただいた地域ができたら、事例の記事へのカードを足す) */
.cases-badge { display: inline-flex; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--gold-soft); color: #6E5300; }
.case--open { border: 2px dashed var(--line-strong); }
.case-link { width: fit-content; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 8px 16px; border-radius: 999px; background: var(--shu); color: #fff; font-size: var(--fs-sm); font-weight: 700; text-decoration: none; transition: transform .2s ease; }
.case-link:hover { transform: translateY(-2px); }
.case-link .arrow { width: 16px; height: 16px; }
.town-cta { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .18); }
.town-cta p { font-family: var(--f-head); font-weight: 700; font-size: var(--fs-lg); }
.town-cta .btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 1080px) { .town-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .town-top { grid-template-columns: 1fr; } .case-list { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .town-feats { grid-template-columns: 1fr; } .town-cta { padding: 24px; } }

/* ---------- 店舗の方へ ---------- */
.feature-rows { display: grid; gap: clamp(72px, 9vw, 120px); }
.frow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.frow:nth-child(even) .frow-media { order: -1; }
.frow-copy { display: grid; gap: 18px; align-content: center; }
.frow-copy .no { font-family: var(--f-en); font-weight: 700; font-size: var(--fs-sm); color: var(--shu); letter-spacing: .12em; }
.frow-copy h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 900; line-height: 1.5; }
.frow-copy p { color: var(--ink-2); line-height: 2; }
.checks { list-style: none; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; font-size: 0.9375rem; font-weight: 500; line-height: 1.7; }
.checks svg { width: 20px; height: 20px; color: var(--matcha); flex: none; margin-top: 3px; }
.frow-media { position: relative; isolation: isolate; display: grid; justify-items: center; padding-block: 8px; }
.frow-media::before { content: ""; position: absolute; inset: 12% 4% 6%; border-radius: 32px; background: var(--mist); z-index: -1; }
.frow-media .tablet { width: min(440px, 82%); }
.frow-media .phone.overlap { position: absolute; width: min(170px, 30%); right: 2%; bottom: -4%; }
@media (max-width: 900px) {
  .frow { grid-template-columns: 1fr; }
  .frow:nth-child(even) .frow-media { order: 0; }
  .frow-media .tablet { width: min(420px, 78%); }
}
.minis { margin-top: clamp(72px, 9vw, 112px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mini { background: #fff; padding: 28px; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-content: start; min-width: 0; }
.mini .ico { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--mist); color: var(--navy); display: grid; place-items: center; }
.mini .ico svg { width: 22px; height: 22px; }
.mini h4 { font-size: 1rem; font-weight: 700; }
.mini p { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.85; }
@media (max-width: 900px) { .minis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .minis { grid-template-columns: 1fr; } .mini { padding: 22px; } }

/* ---------- 料金 ---------- */
.pricing { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px; align-items: stretch; }
.plan { background: #fff; border-radius: 28px; padding: clamp(32px, 4vw, 48px); box-shadow: var(--shadow-md); border: 1px solid var(--line); display: grid; gap: 28px; align-content: start; position: relative; overflow: hidden; }
.plan::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--shu); }
.plan-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.plan-name h3 { font-size: var(--fs-lg); font-weight: 700; }
.plan-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan-price .per { font-weight: 700; color: var(--ink-2); }
.plan-price .yen { font-family: var(--f-en); font-weight: 700; font-size: clamp(3.5rem, 2.6rem + 3vw, 5rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan-price .unit { font-family: var(--f-head); font-weight: 900; font-size: 1.5rem; }
.plan-price .tax { font-size: var(--fs-sm); font-weight: 700; color: var(--ink-2); }
.plan-rows { margin: 0; display: grid; }
.plan-rows div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding-block: 16px; border-top: 1px solid var(--line); align-items: baseline; }
.plan-rows dt { color: var(--ink-2); font-size: 0.9375rem; }
.plan-rows dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; font-size: 1.0625rem; }
.plan-rows dd small { display: block; font-weight: 500; font-size: 0.75rem; color: var(--ink-3); }
.plan-rows .zero { color: var(--shu); font-family: var(--f-en); font-size: 1.25rem; }
.plan-note { font-size: 0.8125rem; color: var(--ink-3); line-height: 1.9; }
.offers { display: grid; gap: 16px; align-content: start; }
.offer { border-radius: 24px; padding: 28px 30px; display: grid; gap: 10px; }
.offer--hot { background: linear-gradient(135deg, var(--shu) 0%, #D62839 100%); color: #fff; box-shadow: 0 16px 40px rgba(230, 57, 70, .3); }
.offer--hot .kari { background: #fff; color: #8A1A22; border-color: #8A1A22; }
.offer--hot .lbl { font-family: var(--f-en); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .2em; opacity: .85; }
.offer--plain { background: #fff; border: 1px solid var(--line); }
.offer h3 { font-size: var(--fs-xl); font-weight: 900; line-height: 1.5; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.offer p { font-size: var(--fs-sm); line-height: 1.9; }
.offer--plain p { color: var(--ink-2); }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }

/* ---------- 動画 ---------- */
.video-wrap { max-width: 960px; margin-inline: auto; }
.video { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 24px; overflow: hidden; background: var(--navy); box-shadow: var(--shadow-lg); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: var(--navy) center / cover no-repeat; display: grid; place-items: center; color: #fff; font: inherit; }
.video-poster::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 26, 51, .1), rgba(11, 26, 51, .6)); }
.video-poster .play { position: relative; width: 84px; height: 84px; border-radius: 50%; background: var(--shu); display: grid; place-items: center; box-shadow: 0 12px 40px rgba(230, 57, 70, .5); transition: transform .2s ease; }
.video-poster:hover .play { transform: scale(1.06); }
.video-poster .play::after { content: ""; border-left: 24px solid #fff; border-top: 15px solid transparent; border-bottom: 15px solid transparent; margin-left: 7px; }
.video-poster .cap { position: absolute; left: 24px; bottom: 20px; font-size: var(--fs-sm); font-weight: 700; display: flex; gap: 10px; align-items: center; }
.video-poster[disabled] { cursor: default; }
.video-poster[disabled] .play { display: none; }
.video-poster[disabled] .cap { position: relative; left: auto; bottom: auto; font-size: var(--fs-lg); }

/* ---------- 導入の流れ ---------- */
.flow { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: f; }
.flow li { counter-increment: f; background: #fff; border-radius: var(--radius); padding: 28px 24px; display: grid; gap: 10px; align-content: start; border: 1px solid var(--line); position: relative; min-width: 0; }
.flow li::before { content: "STEP " counter(f, decimal-leading-zero); font-family: var(--f-en); font-weight: 700; font-size: var(--fs-xs); letter-spacing: .16em; color: var(--shu); }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--line-strong); border-right: 2px solid var(--line-strong); transform: translateY(-50%) rotate(45deg); }
.flow h3 { font-size: var(--fs-lg); font-weight: 700; }
.flow p { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.85; }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flow li::after { display: none; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 16px; border: 1px solid var(--line); transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 22px 24px; font-weight: 700; line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-family: var(--f-en); font-weight: 700; color: var(--shu); font-size: 1.125rem; }
.faq summary .pm { width: 22px; height: 22px; position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; background: var(--ink-3); border-radius: 2px; transition: transform .25s ease; }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq .a { padding: 0 24px 24px 58px; color: var(--ink-2); line-height: 2; font-size: 0.9375rem; }

/* ---------- 締めの帯 ---------- */
.closing { background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 55%, #26406B 100%); color: #fff; position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(230, 57, 70, .35), transparent 65%); }
.closing .wrap { position: relative; padding-block: clamp(72px, 9vw, 112px); display: grid; gap: 28px; justify-items: center; text-align: center; }
.closing h2 { font-size: var(--fs-2xl); font-weight: 900; line-height: 1.5; }
.closing p { color: rgba(255, 255, 255, .8); max-width: 36em; }
.closing .btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- お問い合わせ ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact .sec-head { margin-bottom: 0; }
.contact-info { margin-top: 32px; display: grid; gap: 14px; }
.contact-info div { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.85; }
.contact-info svg { width: 20px; height: 20px; color: var(--navy); margin-top: 4px; }
.contact-info b { color: var(--ink); display: block; }
.form { background: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-md); border: 1px solid var(--line); display: grid; gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > label, .field > legend { font-size: var(--fs-sm); font-weight: 700; padding: 0; }
.req { display: inline-block; margin-left: 8px; font-size: 0.6875rem; font-weight: 700; color: #fff; background: var(--shu); border-radius: 4px; padding: 2px 6px; vertical-align: 0.1em; letter-spacing: .04em; }
.opt { display: inline-block; margin-left: 8px; font-size: 0.6875rem; font-weight: 700; color: var(--ink-3); background: var(--mist); border-radius: 4px; padding: 2px 6px; vertical-align: 0.1em; }
.field input:not([type="radio"]), .field textarea, .field select {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  background: var(--mist); border: 1.5px solid transparent; border-radius: 12px; padding: 14px 16px;
  transition: border-color .2s ease, background .2s ease;
}
.field textarea { min-height: 168px; resize: vertical; line-height: 1.8; }
.field input:not([type="radio"]):focus, .field textarea:focus, .field select:focus { outline: none; background: #fff; border-color: var(--shu); }
.field ::placeholder { color: var(--ink-3); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
/* テック記事から来て「開発・技術のご相談」が出たときは 4 つになるので、2 列 × 2 段に並べる (3 列だと「その他」だけが 2 段目に残る) */
@media (min-width: 561px) { .choices:has(> label:not([hidden]) > #cat-dev) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: grid; place-items: center; text-align: center; min-height: 56px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); font-size: var(--fs-sm); font-weight: 700; line-height: 1.5; transition: border-color .2s ease, background .2s ease, color .2s ease; cursor: pointer; }
.choice input:checked + span { border-color: var(--shu); background: var(--shu-soft); color: var(--shu-deep); }
.choice input:focus-visible + span { outline: 3px solid var(--shu); outline-offset: 2px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: grid; gap: 14px; }
.form-foot .btn { width: 100%; }
.form-foot small { font-size: 0.75rem; color: var(--ink-3); text-align: center; }
.form-msg { font-size: var(--fs-sm); padding: 14px 16px; border-radius: 12px; line-height: 1.7; }
.form-msg.is-ok { background: #E9F2E2; color: #2F5418; }
.form-msg.is-err { background: var(--shu-soft); color: var(--shu-deep); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .row-2, .choices { grid-template-columns: 1fr; } .choice span { min-height: 48px; } }

/* ---------- フッタ ---------- */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .72); font-size: var(--fs-sm); }
.footer .wrap { padding-block: 64px 40px; display: grid; gap: 48px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer .logo span { color: #fff; }
.footer-about { display: grid; gap: 16px; align-content: start; }
.footer-about p { line-height: 1.9; }
.footer h4 { font-family: var(--f-en); font-size: var(--fs-xs); letter-spacing: .2em; color: #fff; font-weight: 600; margin-bottom: 14px; text-transform: uppercase; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 0.75rem; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ---------- スクロールで現れる ---------- */
/* JS が動いたときだけ隠す (動かなければ最初から見えている) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* アイコン (index.html 冒頭の symbol を <use> で参照) */
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* 動画の一覧 (押すと上の大きい枠で再生が切り替わる) */
.video-list-head { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.video-list-head h3 { font-size: var(--fs-lg); font-weight: 700; }
.video-list { list-style: none; margin-top: 16px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.video-list button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 8px; width: 100%; }
.video-list .thumb { position: relative; display: block; border-radius: 10px; overflow: hidden; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .2s ease; }
.video-list img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--mist-2); transition: transform .3s ease; }
.video-list .thumb::after { /* 再生中の印 */
  content: "再生中"; position: absolute; left: 6px; top: 6px; font-size: 0.625rem; font-weight: 700; letter-spacing: .06em;
  color: #fff; background: var(--shu); padding: 2px 6px; border-radius: 4px; opacity: 0; transition: opacity .2s ease;
}
.video-list button:hover img { transform: scale(1.04); }
.video-list button[aria-current="true"] .thumb { outline-color: var(--shu); }
.video-list button[aria-current="true"] .thumb::after { opacity: 1; }
.video-list button:focus-visible .thumb { outline-color: var(--shu); }
.video-list .t { font-size: 0.8125rem; font-weight: 700; line-height: 1.5; }
@media (max-width: 900px) { .video-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .video-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 動画の下のチャンネルへのリンク */
.video-more { margin-top: 20px; text-align: right; }
.video-more a { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 700; text-decoration: none; color: var(--ink-2); }
.video-more a:hover { color: var(--shu); }
.video-more .arrow { width: 16px; height: 16px; }

/* ヒーローの「動画で見る」 */
.play-link { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding-inline: 6px; font-weight: 700; font-size: 0.9375rem; color: var(--ink); }
.play-link .pl-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--shu); box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .2s ease; }
.play-link .pl-ico svg { width: 22px; height: 22px; }
.play-link:hover .pl-ico { transform: scale(1.08); }
.play-link:focus-visible { outline: 3px solid var(--shu); outline-offset: 3px; border-radius: 999px; }

/* 店舗の機能 → 動画 */
.watches { display: flex; flex-wrap: wrap; gap: 10px; }
.watch { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-size: var(--fs-sm); font-weight: 700; color: var(--ink); padding: 8px 16px 8px 10px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; transition: border-color .2s ease, color .2s ease; }
.watch:hover { border-color: var(--shu); color: var(--shu-deep); }
.watch:focus-visible { outline: 3px solid var(--shu); outline-offset: 3px; }
.watch .yt { width: 22px; height: 16px; border-radius: 4px; background: var(--shu); position: relative; flex: none; }
.watch .yt::after { content: ""; position: absolute; left: 8px; top: 4px; border-left: 7px solid #fff; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }

/* 動画のダイアログ */
.vdialog { width: min(1040px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; border-radius: 20px; background: var(--navy-deep); color: #fff; box-shadow: 0 40px 120px rgba(0, 0, 0, .5); }
.vdialog::backdrop { background: rgba(6, 14, 28, .78); backdrop-filter: blur(4px); }
.vdialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 12px 22px; }
.vdialog-head p { font-family: var(--f-head); font-weight: 700; }
.vdialog-close { all: unset; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; position: relative; flex: none; }
.vdialog-close:hover { background: rgba(255, 255, 255, .1); }
.vdialog-close:focus-visible { outline: 3px solid var(--shu); }
.vdialog-close span { position: absolute; left: 11px; right: 11px; top: 19px; height: 2px; background: #fff; border-radius: 2px; transform: rotate(45deg); }
.vdialog-close span + span { transform: rotate(-45deg); }
.vdialog-body { aspect-ratio: 16 / 9; background: #000; }
.vdialog-body iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ヒーローの画像は、画面の高さに収まる大きさまで (高さの低いノート PC で下が切れないように) */
@media (min-width: 961px) {
  .stage { width: min(100%, calc((100svh - var(--header-h) - 150px) / 1.02)); justify-self: center; }
}
@media (min-width: 961px) and (max-height: 860px) {
  .hero .wrap { padding-block: 40px 72px; }
  .hero-copy { gap: 22px; }
}

/* ---------- 法務ページ (terms / privacy / refund。scripts/build-legal.mjs が生成) ---------- */
.legal { background: var(--white); }
.legal-wrap { padding-block: clamp(32px, 5vw, 56px) clamp(72px, 9vw, 120px); }
.legal-crumb { display: flex; gap: 10px; font-size: var(--fs-sm); color: var(--ink-3); margin-bottom: 20px; }
.legal-crumb a { text-decoration: none; color: var(--ink-2); }
.legal-crumb a:hover { color: var(--shu); }
.legal h1 { font-size: var(--fs-2xl); font-weight: 900; margin-bottom: clamp(28px, 4vw, 48px); }
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100svh - var(--header-h) - 48px); overflow: auto; font-size: 0.8125rem; border-left: 2px solid var(--line); padding-left: 16px; }
.legal-toc p { font-weight: 700; color: var(--ink-3); letter-spacing: .1em; margin-bottom: 10px; }
.legal-toc ol { list-style: none; display: grid; gap: 8px; }
.legal-toc a { text-decoration: none; color: var(--ink-2); line-height: 1.6; display: block; }
.legal-toc a:hover { color: var(--shu); }
.legal-body { max-width: 760px; font-size: 0.9375rem; line-height: 2; color: var(--ink); }
.legal-body > * + * { margin-top: 16px; }
.legal-body h2 { font-size: var(--fs-xl); font-weight: 900; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.legal-body h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 32px; }
.legal-body h3 { font-size: var(--fs-lg); font-weight: 700; margin-top: 32px; }
.legal-body h4 { font-size: 1rem; font-weight: 700; margin-top: 24px; }
.legal-body ol, .legal-body ul { padding-left: 1.6em; display: grid; gap: 6px; }
.legal-body li > ol, .legal-body li > ul { margin-top: 6px; }
.legal-body code { font-size: 0.875em; background: var(--mist); padding: 2px 6px; border-radius: 4px; }
.legal-body a { color: var(--shu-deep); }
.legal-body hr { border: 0; border-top: 1px solid var(--line); margin-block: 40px 24px; }
.legal-note { background: var(--gold-soft); border-radius: 12px; padding: 16px 20px; font-size: var(--fs-sm); color: #5C4500; }
.legal-note p + p { margin-top: 6px; }
.legal-table { overflow-x: auto; }
.legal-table table { border-collapse: collapse; width: 100%; font-size: var(--fs-sm); line-height: 1.8; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal-table th { background: var(--mist); font-weight: 700; white-space: nowrap; }
@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { position: static; max-height: none; }
}

/* ---------- 店舗の方へ: 業態タブ (飲食 / 体験 / 販売) ---------- */
.biz-tabs {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 6px;
  background: var(--mist); border-radius: 20px; margin-bottom: clamp(48px, 6vw, 80px);
  position: sticky; top: calc(var(--header-h) + 12px); z-index: 5;
}
.biz-tabs button {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 12px; justify-content: center;
  padding: 14px 16px; border-radius: 14px; font-family: var(--f-head); font-weight: 900; font-size: 1.125rem; color: var(--ink-2);
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.biz-tabs button .i { width: 24px; height: 24px; }
.biz-tabs button span { display: grid; line-height: 1.3; }
.biz-tabs small { font-family: var(--f-body); font-size: 0.75rem; font-weight: 500; color: var(--ink-3); }
.biz-tabs button:hover { color: var(--ink); }
.biz-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.biz-tabs button[aria-selected="true"] .i { color: var(--shu); }
.biz-tabs button:focus-visible { outline: 3px solid var(--shu); outline-offset: 2px; }
.biz-panel[hidden] { display: none; }
/* スクリプトが動かないときは 3 業態とも出す (タブは隠す) */
html:not(.js) .biz-tabs { display: none; }
html:not(.js) .biz-panel + .biz-panel { margin-top: clamp(72px, 9vw, 120px); }
@media (max-width: 640px) {
  .biz-tabs { gap: 4px; padding: 4px; border-radius: 16px; }
  .biz-tabs button { flex-direction: column; gap: 4px; padding: 10px 4px; font-size: 1rem; text-align: center; }
  .biz-tabs small { display: none; }
}

/* どの業態でも使えること */
.common { margin-top: clamp(96px, 11vw, 140px); padding-top: clamp(56px, 7vw, 80px); border-top: 1px solid var(--line); display: grid; gap: clamp(48px, 6vw, 72px); }
.common-title { font-size: var(--fs-xl); font-weight: 900; }
.common .minis { margin-top: 0; }

/* 画面の下半分が空いているもの (受付・一覧など) は、上の中身の部分だけ見せて下へ溶かす */
.tablet--top { padding-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0;
  -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.tablet--top img { aspect-ratio: 820 / 820; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* ---------- 試してみる: お店側とお客様側を並べた体験ページの予告 (#2123) ---------- */
.console {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) auto minmax(0, 0.75fr); gap: clamp(16px, 3vw, 40px);
  align-items: center; padding: clamp(40px, 5vw, 64px) clamp(20px, 5vw, 64px) clamp(24px, 4vw, 48px);
  border-radius: 32px; background: linear-gradient(135deg, var(--mist) 0%, #fff 60%, var(--shu-soft) 140%); border: 1px solid var(--line);
}
.console-badge { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; white-space: nowrap; }
.console-side { display: grid; gap: 14px; justify-items: center; min-width: 0; }
.console-side .tablet { width: min(420px, 100%); }
.console-side .phone { width: min(220px, 100%); }
.console-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 700; font-size: var(--fs-sm); color: var(--navy); }
.console-side--guest .console-label { color: var(--shu-deep); }
.console-label .i { width: 18px; height: 18px; }
.console-link { position: relative; display: grid; justify-items: center; gap: 10px; }
.console-arrow { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--shu); color: #fff; transform: rotate(180deg); box-shadow: 0 10px 24px rgba(230, 57, 70, .3); position: relative; z-index: 1; }
.console-arrow .i { width: 24px; height: 24px; }
.console-note { font-size: 0.75rem; font-weight: 700; text-align: center; color: var(--ink-2); line-height: 1.5; }
.pulse { position: absolute; top: 0; width: 52px; height: 52px; border-radius: 50%; background: rgba(230, 57, 70, .25); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }
@media (max-width: 760px) {
  .console { grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr); padding-top: 64px; }
  .console-link { display: none; }
  .console-side .phone { width: min(160px, 100%); }
}

.tflows { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tflow { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.tflow h3 { display: flex; align-items: center; gap: 10px; font-size: var(--fs-lg); font-weight: 900; }
.tflow h3 .i { width: 22px; height: 22px; color: var(--shu); }
.tflow ol { list-style: none; display: grid; gap: 12px; counter-reset: t; }
.tflow li { counter-increment: t; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; align-items: start; font-size: var(--fs-sm); line-height: 1.75; }
.tflow li::before { content: counter(t); grid-row: span 2; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-en); font-weight: 700; font-size: 0.75rem; background: var(--mist); color: var(--ink-2); margin-top: 2px; }
.tflow .who { width: fit-content; font-size: 0.6875rem; font-weight: 700; padding: 1px 8px; border-radius: 4px; letter-spacing: .04em; }
.who-store { background: #E7EDF5; color: var(--navy); }
.who-guest { background: var(--shu-soft); color: var(--shu-deep); }
@media (max-width: 900px) { .tflows { grid-template-columns: 1fr; } }

.try-cta { margin-top: clamp(32px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.try-cta p { max-width: 46em; font-size: var(--fs-sm); color: rgba(255, 255, 255, .85); line-height: 1.9; }
.try-cta b { color: #fff; display: block; font-size: 1rem; }

/* 多言語メニューの見本 (#2124)。同じメニューを 3 言語のスマホで並べる */
.frow--sample { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
.frow--sample .frow-copy { padding-top: 36px; }
.sample { margin: 0; display: grid; gap: 18px; justify-items: center; }
.sample::before { inset: 14px 0 -16px; border-radius: 28px; }
.sample { padding: 0 16px 8px; }
.sample-phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 20px); width: 100%; max-width: 560px; align-items: end; padding-top: 28px; }
.sample-phone { display: grid; gap: 10px; justify-items: center; min-width: 0; }
.sample-phone:nth-child(2) { transform: translateY(-24px); }
.sample-phone .phone { width: 100%; }
.sample-phone .lang { font-family: var(--f-en); font-size: 0.75rem; font-weight: 700; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.sample figcaption { font-size: var(--fs-sm); color: var(--ink-2); text-align: center; line-height: 1.8; max-width: 34em; }
.sample-badge { display: inline-block; margin-right: 8px; font-size: 0.6875rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; background: var(--shu); color: #fff; vertical-align: 0.1em; }
@media (max-width: 900px) { .frow--sample { grid-template-columns: 1fr; } .frow--sample .frow-copy { padding-top: 0; } .sample-phone:nth-child(2) { transform: none; } }
/* 見本の実物へ (QR + ボタン) */
.sample-live { display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 16px; background: var(--mist); border: 1px solid var(--line); width: 100%; margin-top: 8px; }
.sample-live .qr { width: 96px; height: 96px; flex: none; padding: 6px; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.sample-live-body { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.sample-live-body b { font-family: var(--f-head); font-size: 1rem; }
.sample-live-body span { font-size: 0.8125rem; color: var(--ink-2); line-height: 1.7; }
.sample-live-body .btn { margin-top: 4px; }
@media (max-width: 520px) { .sample-live .qr { display: none; } }

/* ---------- 自治体・イベントの方へ: イベントでの実績 (#2125) ---------- */
.event-case {
  margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 56px);
  align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 28px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
}
.event-copy { display: grid; gap: 14px; align-content: start; min-width: 0; }
.event-badge { width: fit-content; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; padding: 4px 12px; border-radius: 999px; background: #F4D03F; color: var(--navy-deep); }
.event-copy h3 { font-size: var(--fs-2xl); font-weight: 900; line-height: 1.35; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.event-meta { font-size: var(--fs-sm); color: rgba(255, 255, 255, .7); }
.event-copy > p { color: rgba(255, 255, 255, .86); line-height: 1.95; }
.event-points { list-style: none; display: grid; gap: 10px; margin-top: 4px; }
.event-points li { display: grid; gap: 2px; padding-left: 18px; position: relative; }
.event-points li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: #F4D03F; }
.event-points b { font-size: 0.9375rem; }
.event-points span { font-size: var(--fs-sm); color: rgba(255, 255, 255, .75); line-height: 1.75; }
.event-stats { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.event-stats div { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .08); display: grid; gap: 4px; }
.event-stats dt { font-size: 0.75rem; color: rgba(255, 255, 255, .7); }
.event-stats dd { margin: 0; font-family: var(--f-en); font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.event-side { display: grid; gap: 22px; min-width: 0; }
.event-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 18px); align-items: start; }
.event-photos figure { margin: 0; display: grid; gap: 10px; justify-items: center; min-width: 0; }
.event-photos figure:nth-child(2) { margin-top: 32px; }
.event-photos .phone { width: 100%; box-shadow: 0 20px 50px rgba(0, 0, 0, .4), inset 0 0 0 1.5px rgba(255, 255, 255, .14); }
.event-photos .phone img { aspect-ratio: 868 / 1541; }
.event-photos figcaption { font-size: 0.75rem; font-weight: 700; color: rgba(255, 255, 255, .85); text-align: center; }
@media (max-width: 960px) {
  .event-case { grid-template-columns: 1fr; }
  .event-photos figure:nth-child(2) { margin-top: 0; }
}
@media (max-width: 520px) { .event-stats { grid-template-columns: 1fr; } .event-stats div { display: flex; justify-content: space-between; align-items: center; } }

/* 主催者・協賛企業にとってのメリット (#2125) */
.merits { margin-top: clamp(48px, 6vw, 72px); display: grid; gap: 22px; }
.merits-title { font-size: var(--fs-xl); font-weight: 900; }
.merit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.merit { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 24px 22px 26px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.merit .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--shu-soft); color: var(--shu); }
.merit .ico svg { width: 22px; height: 22px; }
.merit h4 { font-size: 1.0625rem; font-weight: 900; line-height: 1.5; }
.merit p { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.9; }
.merits-note { font-size: 0.8125rem; color: rgba(255, 255, 255, .7); }
@media (max-width: 1080px) { .merit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .merit-grid { grid-template-columns: 1fr; } }
.event-stats dd small { font-family: var(--f-head); font-size: 0.55em; font-weight: 700; margin-inline: 2px; }

/* ---------- これから: ポイント (構想) ---------- */
.future { background: linear-gradient(180deg, var(--white) 0%, var(--gold-soft) 100%); }
.future-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.future .sec-head { margin-bottom: 0; }
.future-badge { width: fit-content; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; padding: 4px 12px; border-radius: 999px; border: 1px dashed #B08A1E; color: #6E5300; background: #fff; }
.future-grid { display: grid; gap: 14px; }
.future-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.future-item .ico { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: #9A7A1C; }
.future-item .ico svg { width: 24px; height: 24px; }
.future-item h3 { font-size: var(--fs-lg); font-weight: 900; }
.future-item p { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.9; }
@media (max-width: 900px) { .future-inner { grid-template-columns: 1fr; } }
.future-facts { list-style: none; display: grid; gap: 8px; margin-top: 4px; }
.future-facts li { display: flex; gap: 10px; font-size: 0.9375rem; font-weight: 500; line-height: 1.7; }
.future-facts .i { width: 20px; height: 20px; color: var(--matcha); margin-top: 3px; }

/* 見本として作ったもの (修善寺の旅プラン / 世羅町の体験)。実際に稼働している地域とは別枠にする */
.case-list:has(> li:only-child) { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
.samples { margin-top: clamp(40px, 5vw, 56px); display: grid; gap: 20px; }
.samples-note { font-size: 0.8125rem; color: rgba(255, 255, 255, .72); }
.sample-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sample-card { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 22px; align-items: center; padding: 26px 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px dashed rgba(255, 255, 255, .3); min-width: 0; }
.sample-card-copy { display: grid; gap: 10px; align-content: start; min-width: 0; }
.sample-card-copy .sample-badge { width: fit-content; }
.sample-card-copy .pref { font-size: var(--fs-xs); color: rgba(255, 255, 255, .7); letter-spacing: .08em; font-weight: 500; }
.sample-card-copy h4 { font-size: var(--fs-lg); font-weight: 900; line-height: 1.5; }
.sample-card-copy p { font-size: var(--fs-sm); color: rgba(255, 255, 255, .82); line-height: 1.9; }
.sample-open { width: fit-content; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 8px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-size: var(--fs-sm); font-weight: 700; text-decoration: none; transition: transform .2s ease; }
.sample-open:hover { transform: translateY(-2px); }
.sample-open .arrow { width: 16px; height: 16px; }
.sample-card-media .phone { width: 100%; box-shadow: 0 20px 50px rgba(0, 0, 0, .4), inset 0 0 0 1.5px rgba(255, 255, 255, .14); }
@media (max-width: 1080px) { .sample-cards { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .sample-card { grid-template-columns: minmax(0, 1fr) 100px; padding: 20px; gap: 14px; } }
.facts .num:not(:has(small)) { font-family: var(--f-head); font-weight: 900; }

/* ---------- 体験ページ (trial.html, #2140) ---------- */
.trial-head { background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); }
.trial-head .wrap { padding-block: clamp(40px, 6vw, 72px) 32px; display: grid; gap: 16px; }
.trial-head .sec-lead { max-width: 46em; }
.trial-kinds-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 8px; }
.trial-kinds-row .trial-kinds { margin-top: 0; }
/* レシート: 業態のタブとは役割が違う (やり直さない) ので、区切って並べる */
.trial-receipt-tab { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1.5px dashed var(--navy); color: var(--navy); background: #fff; font-family: var(--f-head); font-weight: 900; cursor: pointer; }
.trial-receipt-tab .i { width: 18px; height: 18px; }
.trial-receipt-tab[aria-pressed="true"] { border-style: solid; background: var(--navy); color: #fff; }
.trial-receipt-tab:disabled { opacity: .5; cursor: default; }
.trial-receipt-tab:focus-visible { outline: 3px solid var(--shu); outline-offset: 2px; }
.trial-receipt-view { display: grid; justify-items: center; scroll-margin-top: calc(var(--header-h) + 12px); }
.trial-receipt-view[hidden] { display: none; }
.trial-receipt-view iframe { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-md); }
.trial-kinds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.trial-kinds button { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; font-family: var(--f-head); font-weight: 900; cursor: pointer; }
.trial-kinds button .i { width: 18px; height: 18px; }
.trial-kinds button[aria-selected="true"] { border-color: var(--shu); color: var(--shu-deep); background: var(--shu-soft); }
.trial-kinds button:disabled { color: var(--ink-3); cursor: default; }
.trial-kinds small { font-family: var(--f-body); font-size: 0.6875rem; font-weight: 700; padding: 2px 6px; border-radius: 4px; background: var(--mist-2); }
.trial-body { background: var(--mist); scroll-margin-top: var(--header-h); }
.trial-grid { padding-block: 24px 96px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.trial-stage { min-width: 0; display: grid; gap: 16px; }
.trial-start { display: grid; gap: 16px; justify-items: center; text-align: center; padding: 64px 24px; border-radius: 24px; border: 1.5px dashed var(--line-strong); background: #fff; }
.trial-start p { color: var(--ink-2); }
.trial-msg { max-width: 34em; font-size: var(--fs-sm); padding: 12px 16px; border-radius: 12px; background: var(--gold-soft); color: #5C4500; }
.trial-switch { display: none; gap: 6px; padding: 4px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.trial-switch button { all: unset; flex: 1; text-align: center; padding: 10px; border-radius: 10px; font-weight: 700; cursor: pointer; }
.trial-switch button[aria-selected="true"] { background: var(--navy); color: #fff; }
/* 2 画面は**縮めずに実寸**で並べる (縮めると文字が小さく・ぼやける)。お店は残りの幅いっぱい、
 * お客様はスマホの幅。高さはブラウザの画面に合わせ (trial.js の fit)、中だけスクロールする */
.trial-panes { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: start; scroll-margin-top: calc(var(--header-h) + 12px); }
.trial-pane { margin: 0; display: grid; gap: 10px; min-width: 0; }
.trial-pane figcaption { display: flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 700; font-size: var(--fs-sm); }
.trial-pane--store figcaption { color: var(--navy); }
.trial-pane--guest figcaption { color: var(--shu-deep); }
.trial-pane figcaption .i { width: 18px; height: 18px; }
.trial-frame { overflow: hidden; background: #fff; border: 8px solid #0B1626; box-shadow: var(--shadow-lg); }
.trial-frame--tablet { border-radius: 18px; }
.trial-frame--phone { border-radius: 28px; width: 406px; } /* スマホの幅 390 + 枠 */
.trial-frame iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
/* 操作手順 (2 画面の右)。閉じているときは細いタブ、開くと手順の一覧。お店の画面は中身が真ん中に寄るので、
 * 幅を譲っても見え方は変わらない */
.trial-panes { grid-template-columns: minmax(0, 1fr) auto auto; }
.trial-dock { align-self: stretch; display: grid; padding-top: 30px; } /* 画面名の行の分だけ下げる */
.trial-dock-tab { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 48px; padding: 16px 0; border-radius: 14px; border: 1.5px solid var(--shu); background: #fff; color: var(--shu-deep); font-weight: 700; font-size: 0.8125rem; box-shadow: var(--shadow-md); align-self: start; }
.trial-dock-tab span { writing-mode: vertical-rl; letter-spacing: .1em; }
.trial-dock-tab .i { width: 20px; height: 20px; }
.trial-dock-tab:focus-visible, .trial-dock-panel button:focus-visible, .trial-dock-steps li:focus-visible { outline: 3px solid var(--shu); outline-offset: 2px; }
.trial-dock[data-open="true"] .trial-dock-tab { display: none; }
.trial-dock-panel { width: 260px; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; background: #fff; border: 1.5px solid var(--shu); border-radius: 16px; box-shadow: var(--shadow-md); overflow: hidden; }
.trial-dock-head { display: flex; align-items: center; gap: 8px; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--line); color: var(--shu-deep); }
.trial-dock-head .i { width: 18px; height: 18px; flex: none; }
.trial-dock-head b { flex: 1; color: var(--ink); font-size: var(--fs-sm); }
.trial-dock-panel button { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-size: 0.8125rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.trial-dock-panel button.is-primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.trial-dock-panel button:disabled { opacity: .4; cursor: default; }
.trial-dock-head button { padding: 4px 9px; }
.trial-dock-body { position: relative; overflow-y: auto; }
/* #2155 飲食のパターンとお通しの切り替え (手順の上) */
.trial-dock-opts { display: grid; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--mist); }
.trial-dock-opts[hidden] { display: none; }
.trial-patterns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.trial-dock-panel .trial-patterns button { padding: 5px 8px; font-size: 0.75rem; }
.trial-dock-panel .trial-patterns button[aria-selected="true"] { background: var(--shu); border-color: var(--shu); color: #fff; }
.trial-otoshi { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.trial-otoshi input { width: 16px; height: 16px; accent-color: var(--shu); }
.trial-otoshi small { margin-left: 6px; font-weight: 500; color: var(--ink-3); }
.trial-dock-steps { list-style: none; padding: 8px; display: grid; gap: 4px; align-content: start; counter-reset: d; }
.trial-dock-steps li { counter-increment: d; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 8px 10px; border-radius: 12px; border: 1.5px solid transparent; font-size: 0.8125rem; line-height: 1.65; color: var(--ink-2); }
.trial-dock-steps li::before { content: counter(d); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-en); font-weight: 700; font-size: 0.75rem; background: var(--mist); }
.trial-dock-steps li:hover { background: var(--mist); }
.trial-dock-steps li.is-current { border-color: var(--shu); background: var(--shu-soft); color: var(--ink); font-weight: 700; }
.trial-dock-steps li.is-current::before { background: var(--shu); color: #fff; }
.trial-dock-steps li.is-done { color: var(--ink-3); }
/* 済んだ手順は番号の代わりに ✓ (実際に操作が済んだもの。見返しているだけでは付かない) */
.trial-dock-steps li.is-done::before { content: "✓"; background: var(--matcha, #6B8E4E); color: #fff; }
.trial-dock-steps li.is-done.is-current { color: var(--ink); }
/* 誰の画面かの札と説明は 1 行に続けて書く (縦を詰める) */
.trial-dock-steps .who { display: inline-block; margin-right: 6px; font-size: 0.6875rem; font-weight: 700; padding: 0 6px; border-radius: 4px; line-height: 1.6; }
.trial-dock-more { margin: 0 8px 8px; border-radius: 12px; background: var(--mist); }
.trial-dock-more summary { cursor: pointer; padding: 8px 12px; font-size: 0.8125rem; font-weight: 700; color: var(--ink-2); }
.trial-dock-more p { padding: 0 12px 10px; font-size: 0.75rem; color: var(--ink-2); line-height: 1.8; }
/* #2254 自分の受信箱で受け取る (通販のときだけ)。**2 画面の下に幅いっぱい** —
   操作手順のドックは 260px しかなく、お断りの文がスクロールしないと読めない */
.trial-ec-mail { max-width: 720px; margin: 18px auto 0; display: grid; gap: 8px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--mist); }
.trial-ec-mail[hidden] { display: none; }
.trial-ec-mail .head { display: flex; align-items: center; gap: 8px; }
.trial-ec-mail .head .i { width: 18px; height: 18px; flex: none; color: var(--shu); }
.trial-ec-mail b { font-size: var(--fs-sm); color: var(--ink); }
.trial-ec-mail .lead { font-size: 0.8125rem; color: var(--ink-2); line-height: 1.8; }
.trial-ec-mail .row { display: flex; gap: 8px; max-width: 420px; }
.trial-ec-mail input { flex: 1; min-width: 0; padding: 9px 12px; font-size: 0.875rem; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; }
.trial-ec-mail button { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 9px 20px; font-size: 0.875rem; font-weight: 700; color: #fff; background: var(--navy); border-radius: 999px; white-space: nowrap; }
.trial-ec-mail button:disabled { opacity: 0.4; cursor: default; }
.trial-ec-mail .msg { font-size: 0.8125rem; font-weight: 700; color: var(--matcha, #6B8E4E); }
.trial-ec-mail .msg.is-error { color: var(--shu); }
.trial-ec-mail .msg[hidden] { display: none; }
.trial-ec-mail .fine { font-size: 0.75rem; color: var(--ink-3); line-height: 1.8; }

.trial-dock-foot { display: grid; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.trial-dock-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.trial-dock-nav span { font-family: var(--f-en); font-weight: 700; font-size: 0.8125rem; color: var(--ink-2); }
.trial-dock-panel .trial-dock-restart { justify-content: center; gap: 6px; width: 100%; color: var(--ink-2); }
.trial-dock-restart .i { width: 14px; height: 14px; }
.trial-dock-cta { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 6px; font-size: 0.75rem; font-weight: 700; color: var(--shu-deep); text-decoration: none; border-radius: 8px; }
.trial-dock-cta:hover { background: var(--shu-soft); }
.trial-dock-cta .i { width: 14px; height: 14px; }
/* 手順の中のボタン (その手順で開く画面) */
.trial-dock-steps .trial-dock-act { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; margin-top: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--navy); color: var(--navy); background: #fff; font-size: 0.75rem; font-weight: 700; }
.trial-dock-steps .trial-dock-act:hover { background: var(--mist); }
.trial-dock-steps .trial-dock-act:focus-visible { outline: 3px solid var(--shu); outline-offset: 2px; }
/* 印刷される紙 (モーダル)。紙は細長いので縦長の枠 */
.trial-prints { width: min(460px, calc(100% - 32px)); height: min(820px, calc(100vh - 64px)); padding: 0; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.trial-prints[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.trial-prints::backdrop { background: rgba(11, 26, 51, .45); }
.trial-prints-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--line); }
.trial-prints-head button { all: unset; cursor: pointer; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-strong); }
.trial-prints iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.trial-pane.is-focus .trial-frame { box-shadow: 0 0 0 4px var(--shu), var(--shadow-lg); }
/* 右に置く幅が無いときは、2 画面の上に置く */
@media (max-width: 1080px) {
  .trial-panes { grid-template-columns: minmax(0, 1fr) auto; }
  .trial-dock { grid-column: 1 / -1; order: -1; padding-top: 0; }
  .trial-dock-tab { flex-direction: row; width: auto; padding: 8px 16px; }
  .trial-dock-tab span { writing-mode: horizontal-tb; }
  .trial-dock-panel { width: auto; max-height: 260px; }
}
/* 2 画面が並ばない幅では、どちらか 1 つをタブで出す */
@media (max-width: 760px) {
  .trial-switch:not([hidden]) { display: flex; }
  .trial-panes { grid-template-columns: minmax(0, 1fr); }
  .trial-pane { display: none; }
  .trial-pane.is-active { display: grid; }
  .trial-frame--phone { width: 100%; max-width: 406px; margin-inline: auto; }
}
.try-cta .btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 自治体・イベント向けの体験 (trial-town.html, #2173) ----------
 * 左 = 町に置くもの (チラシ) と使い方、右 = 旅行者のスマホ。店舗向けの体験の 2 画面と同じ並び */
.town-trial .trial-head + .town { margin-top: 0; }
.town-trial .trial-kinds { margin-bottom: 24px; }
.tt-stage { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 48px); align-items: start; }
.tt-panel { display: grid; gap: 24px; }
.tt-flyer { margin: 0; display: grid; gap: 10px; justify-items: start; }
.tt-flyer figcaption { font-family: var(--f-head); font-weight: 700; font-size: var(--fs-sm); color: var(--navy); }
/* チラシ・ポスターは横長 (左に文、右に QR)。縦に長いと、押した結果が出るスマホが画面の外へ流れる */
.tt-flyer-card { width: min(560px, 100%); padding: 20px 22px; border-radius: 6px; background: linear-gradient(160deg, #13294B 0%, #1F3F6E 60%, #C8102E 160%); color: #fff; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.tt-flyer-text { display: grid; gap: 8px; }
.tt-flyer-qr { display: grid; gap: 6px; justify-items: center; }
.tt-flyer-place { font-family: var(--f-display, var(--f-head)); font-weight: 700; font-size: 1.5rem; letter-spacing: .02em; }
.tt-flyer-copy { font-size: var(--fs-sm); line-height: 1.7; color: rgba(255, 255, 255, .88); }
.tt-flyer-sub { font-size: 0.8125rem; color: #F4D03F; font-weight: 700; }
.tt-qr { all: unset; box-sizing: border-box; padding: 8px; border-radius: 10px; background: #fff; cursor: pointer; box-shadow: 0 0 0 0 rgba(244, 208, 63, .7); animation: tt-pulse 2.4s ease-out infinite; }
.tt-qr img { display: block; width: 112px; height: 112px; }
.tt-qr:focus-visible { outline: 3px solid #F4D03F; outline-offset: 3px; }
@keyframes tt-pulse { 0% { box-shadow: 0 0 0 0 rgba(244, 208, 63, .7); } 70% { box-shadow: 0 0 0 14px rgba(244, 208, 63, 0); } 100% { box-shadow: 0 0 0 0 rgba(244, 208, 63, 0); } }
@media (prefers-reduced-motion: reduce) { .tt-qr { animation: none; } }
.tt-flyer-note { font-size: 0.75rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.tt-hint { font-size: var(--fs-sm); color: var(--ink-2); }
.tt-langs { display: grid; gap: 10px; max-width: 34em; }
.tt-langs p { font-size: var(--fs-sm); color: var(--ink-2); }
.tt-langs-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.tt-langs-btns button { all: unset; box-sizing: border-box; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; font-size: var(--fs-sm); font-weight: 700; cursor: pointer; }
.tt-langs-btns button[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.tt-langs-btns button:focus-visible { outline: 3px solid var(--shu); outline-offset: 2px; }
/* 手順は左の一番上に短く (読む前に操作してしまわないように) */
.tt-steps { margin: 0; padding: 12px 16px 12px 2.2em; display: grid; gap: 4px; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.7; border-radius: 12px; background: var(--mist); }
.tt-soon { padding: 28px; border-radius: var(--radius); border: 1.5px dashed var(--line-strong); background: #fff; display: grid; gap: 8px; max-width: 34em; }
.tt-soon b { font-family: var(--f-head); color: var(--ink-3); }
.tt-soon p { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.85; }
/* スマホは画面に留める (左を下に読み進めても見えている) / 高さはブラウザの画面に収める */
.tt-right { position: sticky; top: calc(var(--header-h) + 16px); }
.tt-phone { position: relative; height: min(760px, calc(100dvh - var(--header-h) - 110px)); min-height: 460px; }
.tt-phone iframe { position: absolute; inset: 0; }
.tt-phone.is-flash { animation: tt-flash 1.2s ease-out; }
@keyframes tt-flash { 0% { box-shadow: 0 0 0 6px var(--shu), var(--shadow-lg); } 100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0), var(--shadow-lg); } }
@media (prefers-reduced-motion: reduce) { .tt-phone.is-flash { animation: none; } }
.tt-phone-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; font-size: var(--fs-sm); color: var(--ink-3); line-height: 1.9; }
.tt-flow { margin: 0; padding: 0; list-style: none; counter-reset: tt; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tt-flow li { counter-increment: tt; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; display: grid; gap: 8px; align-content: start; }
.tt-flow li::before { content: counter(tt, decimal-leading-zero); font-family: var(--f-display, var(--f-head)); font-weight: 700; color: var(--shu); }
.tt-flow b { font-family: var(--f-head); font-size: var(--fs-lg); }
.tt-flow span { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.85; }
@media (max-width: 1080px) { .tt-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .tt-stage { grid-template-columns: minmax(0, 1fr); }
  .tt-right { display: grid; }
  .tt-right { position: static; }
  .tt-phone { width: 100%; max-width: 406px; margin-inline: auto; height: min(720px, calc(100dvh - var(--header-h) - 40px)); }
}
@media (max-width: 560px) { .tt-flow { grid-template-columns: 1fr; } }
/* 町の数字のタブは右のスマホを使わない (左を広げる) */
.tt-stage[data-active="numbers"] { grid-template-columns: minmax(0, 1fr); }
.tt-stage[data-active="numbers"] .tt-right { display: none; }
.tt-flyer-card--event { background: linear-gradient(160deg, #1E4D3A 0%, #2F6B4F 55%, #C8102E 170%); }
.tt-qr--soon { display: grid; place-items: center; width: 152px; height: 152px; color: var(--ink-3); font-family: var(--f-head); font-weight: 900; font-size: 1.5rem; cursor: default; animation: none; }
.tt-qr--soon small { font-size: 0.75rem; font-weight: 700; }
.tt-mapbox { margin: 0; display: grid; gap: 10px; }
.tt-mapbox figcaption { font-family: var(--f-head); font-weight: 700; font-size: var(--fs-sm); color: var(--navy); }
.tt-map { height: 300px; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: var(--mist); }
.tt-pin span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--shu); color: #fff; font-weight: 900; font-size: 0.875rem; border: 2px solid #fff; box-shadow: var(--shadow-md); }
.tt-qr-img { display: block; width: 112px; height: 112px; }
.tt-qr-img svg, .tt-pop-qr svg { display: block; width: 100%; height: 100%; }
.tt-qr:disabled { cursor: progress; animation: none; }
.tt-pop { display: grid; gap: 4px; min-width: 160px; }
.tt-pop small { color: var(--ink-3); }
.tt-pop span { font-size: 0.75rem; color: var(--ink-2); }
.tt-pop-qr { all: unset; box-sizing: border-box; display: grid; justify-items: center; gap: 2px; margin-top: 6px; padding: 6px; border-radius: 8px; border: 1.5px solid var(--shu); cursor: pointer; }
.tt-pop-qr svg { width: 120px; height: 120px; }
.tt-pop-qr span { font-weight: 700; color: var(--shu-deep); }
.tt-booths { display: flex; flex-wrap: wrap; gap: 8px; }
.tt-booths button { all: unset; box-sizing: border-box; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--shu); color: var(--shu-deep); background: #fff; font-size: var(--fs-sm); font-weight: 700; cursor: pointer; }
.tt-booths button:focus-visible { outline: 3px solid var(--shu); outline-offset: 2px; }
.tt-note { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.85; max-width: 46em; }
.tt-note b { margin-right: .5em; color: var(--ink); }
.tt-lead { font-size: var(--fs-md, 1rem); line-height: 1.9; color: var(--ink-2); max-width: 46em; }
.tt-lead b { color: var(--ink); }
.tt-reports { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.tt-report { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; align-content: start; }
.tt-report h3 { font-size: var(--fs-lg); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.tt-total { font-family: var(--f-body); font-size: var(--fs-sm); font-weight: 700; color: var(--navy); padding: 2px 10px; border-radius: 99px; background: var(--mist); }
.tt-use { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.85; border-top: 1px dashed var(--line-strong); padding-top: 12px; }
.tt-use b { display: block; color: var(--shu-deep); font-size: 0.8125rem; }
.tt-bars { display: grid; gap: 8px; }
.tt-bars p { display: grid; grid-template-columns: 5em minmax(0, 1fr) 6.5em; align-items: center; gap: 8px; font-size: 0.8125rem; }
.tt-bars i { display: block; height: 10px; width: var(--w); border-radius: 99px; background: var(--navy); }
.tt-bars b { text-align: right; white-space: nowrap; }
.tt-bars small { margin-left: 6px; font-weight: 500; color: var(--ink-3); }
.tt-cols { display: grid; grid-template-columns: repeat(9, 1fr); grid-template-rows: auto 110px auto; gap: 4px 6px; align-items: end; }
.tt-cols b { font-size: 0.6875rem; text-align: center; color: var(--ink-2); }
.tt-cols i { display: block; height: var(--h); border-radius: 4px 4px 0 0; background: var(--shu); opacity: .85; }
.tt-cols span { font-size: 0.6875rem; color: var(--ink-3); white-space: nowrap; }
.tt-rank, .tt-route { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: var(--fs-sm); }
.tt-rank li { display: flex; justify-content: space-between; padding: 6px 10px; border-radius: 8px; background: var(--mist); }
.tt-route { grid-template-columns: repeat(5, minmax(0, 1fr)); text-align: center; }
.tt-route li { display: grid; gap: 4px; padding: 10px 4px; border-radius: 10px; background: var(--mist); }
.tt-route b { font-family: var(--f-display, var(--f-head)); font-size: 1.125rem; }
.tt-route span { font-size: 0.6875rem; color: var(--ink-2); }
.tt-rank .is-low, .tt-route .is-low { background: var(--gold-soft); color: #5C4500; }
.tt-big { font-family: var(--f-display, var(--f-head)); font-weight: 700; font-size: 2.5rem; color: var(--navy); }
.tt-big small { font-size: 1rem; margin-left: 4px; }
.tt-sub { font-size: var(--fs-sm); color: var(--ink-2); margin-top: -8px; }
.tt-sum { margin: 0; display: grid; gap: 6px; font-size: var(--fs-sm); }
.tt-sum div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 12px; border-radius: 8px; background: var(--mist); }
.tt-sum dt small { display: block; font-size: 0.6875rem; color: var(--ink-3); }
.tt-sum dd { margin: 0; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tt-sum dd span { margin-right: 6px; color: var(--ink-3); }
.tt-sum .is-minus { background: #fff; border: 1px dashed var(--line-strong); }
.tt-sum .is-total { margin-top: 4px; background: var(--navy); color: #fff; }
.tt-sum .is-total dd { font-family: var(--f-display, var(--f-head)); font-size: 1.375rem; }
.tt-split { margin: 0; display: grid; gap: 6px; font-size: var(--fs-sm); }
.tt-split div { display: flex; justify-content: space-between; padding: 6px 10px; border-radius: 8px; background: var(--mist); }
.tt-split dd { margin: 0; font-weight: 700; }
.tt-use .em { display: inline; color: var(--ink); font-size: inherit; }
.tt-period { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; padding: 14px 18px; border-radius: 12px; background: var(--navy); color: #fff; font-size: var(--fs-sm); }
.tt-period strong { font-family: var(--f-display, var(--f-head)); font-size: 1.375rem; margin: 0 2px; }
.tt-sample { padding: 2px 8px; border-radius: 4px; background: var(--gold-soft); color: #5C4500; font-weight: 700; font-size: 0.75rem; }
.tt-kpis { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tt-kpis div { padding: 10px; border-radius: 10px; background: var(--navy); color: #fff; text-align: center; }
.tt-kpis dt { font-size: 0.6875rem; opacity: .8; }
.tt-kpis dd { margin: 0; font-family: var(--f-display, var(--f-head)); font-weight: 700; font-size: 1.375rem; }
.tt-kpis small { font-size: 0.75rem; margin-left: 2px; }
.tt-below { margin-top: clamp(32px, 5vw, 56px); display: grid; gap: 20px; }
.tt-h { font-size: var(--fs-lg); margin-top: 12px; }
.tt-kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tt-kinds article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 8px; align-content: start; }
.tt-kinds b { font-family: var(--f-head); font-size: var(--fs-lg); }
.tt-kinds p { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.85; }
.tt-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tt-links li { display: grid; grid-template-columns: minmax(12em, auto) 1fr; gap: 4px 16px; padding: 14px 18px; border-radius: 12px; background: var(--mist); font-size: var(--fs-sm); line-height: 1.8; }
.tt-links span { color: var(--ink-2); }
.tt-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); line-height: 1.8; background: #fff; border-radius: var(--radius); overflow: hidden; }
.tt-table th, .tt-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tt-table th { background: var(--navy); color: #fff; font-family: var(--f-head); }
.tt-table td:first-child { color: var(--ink-3); width: 45%; }
@media (max-width: 760px) {
  .tt-kinds { grid-template-columns: 1fr; }
  .tt-links li { grid-template-columns: 1fr; }
  .tt-route { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .tt-flyer-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}
/* ブースの見本カード (自治体向けの体験のイベントのタブ) */
.tt-booth-demo { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 24px; align-items: start; }
.tt-booth-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); }
.tt-booth-photo { height: 120px; display: grid; place-items: center; background: linear-gradient(135deg, #C9DDB8, #7FA36A); color: rgba(255, 255, 255, .9); font-weight: 700; font-size: var(--fs-sm); }
.tt-booth-body { padding: 16px 18px 18px; display: grid; gap: 8px; }
.tt-booth-body small { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 0.75rem; }
.tt-booth-body b { font-family: var(--f-head); font-size: var(--fs-lg); }
.tt-booth-body p { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.75; }
.tt-booth-body .tt-booth-benefit { color: #8A6A00; background: var(--gold-soft); padding: 6px 10px; border-radius: 8px; font-weight: 700; }
.tt-booth-links { display: grid; gap: 6px; }
.tt-booth-links span { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: var(--fs-sm); }
.tt-booth-links span::after { content: "↗"; color: var(--ink-3); }
.tt-booth-links .is-insta { color: #C13584; }
.tt-booth-links .is-store { background: var(--shu); border-color: var(--shu); color: #fff; font-weight: 700; }
.tt-booth-links .is-store::after { content: "→"; color: #fff; }
.tt-booth-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.tt-booth-points li { display: grid; gap: 2px; padding: 12px 16px; border-radius: 12px; background: var(--mist); font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.75; }
.tt-booth-points b { color: var(--ink); }
@media (max-width: 760px) { .tt-booth-demo { grid-template-columns: 1fr; } }
/* 「一緒にやりませんか」(自治体向けの体験の旅プラン・イベントのタブの終わり) */
.tt-together { margin-top: 16px; padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: var(--navy); color: #fff; display: grid; gap: 20px; }
.tt-together h3 { font-size: clamp(1.25rem, 2.4vw, 1.625rem); }
.tt-together-lead { color: rgba(255, 255, 255, .85); line-height: 1.9; max-width: 48em; }
.tt-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tt-roles > div { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 18px; display: grid; gap: 10px; align-content: start; }
.tt-roles h4 { font-size: var(--fs-sm); color: #F4D03F; }
.tt-roles ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: var(--fs-sm); line-height: 1.75; color: rgba(255, 255, 255, .9); }
.tt-roles li { display: flex; gap: 8px; }
.tt-roles li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #F4D03F; margin-top: .75em; flex: none; }
.tt-together-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); }
.tt-together-cta p { line-height: 1.8; max-width: 40em; }
.tt-together-cta b { color: #fff; }
@media (max-width: 900px) { .tt-roles { grid-template-columns: 1fr; } }
