/* VIVATS サイト共通のスタイル（全ページが読む。下層ページは、このあとに sub.css を読む）
 * 前半は土台（色・文字・ヘッダー・ボタン）、後半はトップページの節と、全ページで使う部品（帯・質問・フォーム・フッター・動き）
 * Hallmark 主要8項 + hallmark-jp v2.3.2 · ジャンル: jp-corporate（LPの型）· 行長: 30〜36字（表のセルと狭い画面を除く）
 * 参照: 1件（カミナシ） · 案: 跳ね · 強度: 効かせる · 尖り: 7技（赤い面の最初の画面／紺の面の図／大きな数字／字幕の図
 *       ／記録の棒が再生の順に伸びる／字幕が言語ごとに替わる／読んだ位置の線） · 縦書き: 0
 * 写真: PIXTA 7点（143595659・37389436・143933635・143595640・143595637・143933722・143933666。定額制プランで取得済み） · 図: 3（最初の画面の絵／視聴記録の例／1本の動画から字幕を作って訳す）
 * 方向: 外国籍スタッフのいる現場に向ける。売りは、視聴記録・AIの字幕（20言語）・スマホで受講・月額11,000円
 * 並び（LPの型）: 最初の画面 → 特長（1つを大きく、3つを小さく）→ 使う場面 → 視聴記録（図 → 実物の画面 → 設定）
 *               → 無料お試しの帯 → AIの字幕と翻訳 → 料金と始め方 → よくある質問 → 申込み・お問い合わせ
 * 地の色: 赤 → 白（特長）→ 霧（使う場面）→ 紺（視聴記録）→ 赤の帯 → 白（AI）→ 霧（料金）→ 白（質問）→ 紺（申込み）→ 白
 * 文字の段: 68／44／28／20／16／13px（キャッチ／主張の一文／特長の名前／小見出し／本文／注）
 * 見出し: h2 は名詞の小さなラベル（20px）。その下に、事実の一文を大きく置く（.stmt）
 * 罫で区切る行は4か所（特長の右の3つ、字幕の図の行、月額プラン、よくある質問）。ほかは、色の面と余白で区切る
 * 意匠例外: ブランド色の面は2か所（最初の画面、無料お試しの帯）／紺の面は2か所（視聴記録、申込み）
 *          ／影は、最初の画面で絵に重ねた視聴記録の札・スクロール中のヘッダー・スマホの下部固定ボタン・拡大表示だけ
 *          ／飛ばした区間の斜線（図の模様。飾りのグラデーションではない）
 * 動き: ファイルの終わりにまとめてある。html に .mo が付いているときだけ動く（「視差効果を減らす」の設定では付かない）
 *       動き続けるのは、最初の画面の再生画面だけ（止めるボタンあり。画面の外では止まる）。ほかは1回きり */

/* ══ 土台 ══ 角丸は 0 と 4px の2値。影は「重なって浮いているもの」だけ */
:root {
  --paper: oklch(99.2% 0.003 25);
  --mist: oklch(96.6% 0.004 80);
  --ink: oklch(24% 0.03 262);
  --ink-2: oklch(42% 0.025 262);
  --ink-3: oklch(52% 0.02 262);
  --rule: oklch(89% 0.008 262);
  --rule-2: oklch(78% 0.012 262);
  --brand: #b21920;
  --brand-deep: #8f1219;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic", sans-serif;
  --wrap: 72.5rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  --r: 4px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --grade: contrast(1.03) saturate(.94);
  --lift: 0 22px 44px -22px oklch(24% 0.03 262 / .42);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.ph { display: inline-block; } /* 文節の途中で折り返さないための単位 */

/* ── ヘッダー（ロゴ左・ナビ右・角形ボタン） ── */
.hd {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.hd__in {
  display: flex; align-items: center; gap: 2rem;
  height: 4.5rem;
  padding-inline: var(--edge);
}
.hd__logo img { width: 9.25rem; }
.hd__nav { display: flex; gap: 1.9rem; margin-left: auto; }
.hd__nav a {
  padding-block: .5rem;
  font-size: .875rem; font-weight: 500; letter-spacing: .06em; white-space: nowrap;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat right bottom / 0 1px;
  transition: background-size .3s var(--ease);
}
.hd__nav a:hover { background-size: 100% 1px; background-position: left bottom; }
.hd__act { display: flex; align-items: center; gap: 1.4rem; }
.hd__menu { display: none; }
/* 下のページの一覧（「機能」「活用シーン」にマウスを乗せるか、キーボードで入ると開く） */
.hd__nav { align-items: center; }
.hd__grp { position: relative; display: flex; align-items: center; height: 4.5rem; }   /* ヘッダーの高さぶん。下の一覧へマウスを移しても、途中で閉じない */
.hd__grp > a { display: inline-flex; align-items: center; gap: .5em; }
.hd__grp > a::after { content: ""; width: .36em; height: .36em; margin-top: -.22em; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); transition: transform .3s var(--ease); }
.hd__grp:hover > a::after, .hd__grp:focus-within > a::after { transform: translateY(.18em) rotate(45deg); }
.hd__sub {
  position: absolute; top: calc(100% - .35rem); left: -1.5rem; z-index: 30;
  min-width: 16rem; padding-top: .5rem;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r);
  box-shadow: 0 18px 36px -18px oklch(24% 0.03 262 / .45);
  visibility: hidden; opacity: 0; transform: translateY(-.25rem);
  transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
}
.hd__grp:hover .hd__sub, .hd__grp:focus-within .hd__sub { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.hd__grp.is-shut .hd__sub { visibility: hidden; opacity: 0; }   /* Esc で閉じたとき */
.hd__sub ul { padding-inline: .5rem; }
.hd__sub--2 ul { display: grid; grid-template-rows: repeat(5, auto); grid-auto-flow: column; grid-auto-columns: max-content; column-gap: .5rem; }
.hd__nav .hd__sub a { display: block; padding: .6rem 1rem; background: none; border-radius: var(--r); font-size: .9375rem; letter-spacing: .03em; transition: background-color .2s; }
.hd__nav .hd__sub a:hover, .hd__nav .hd__sub a:focus-visible { background: var(--mist); }
.hd__nav .hd__sub a[aria-current] { font-weight: 700; }
.hd__sub p { margin-top: .5rem; border-top: 1px solid var(--rule); }
.hd__nav .hd__sub p a { padding: .8rem 1.5rem; border-radius: 0 0 var(--r) var(--r); color: var(--ink-2); font-size: .8125rem; }
.hd__nav .hd__sub p a::after { content: ""; display: inline-block; width: .42em; height: .42em; margin: 0 0 .1em .7em; border-top: 1.5px solid; border-right: 1.5px solid; transform: rotate(45deg); }

/* ── ボタンは主1種。ほかは文字のリンク ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 2.75rem; padding: .5em 1.5em;
  background: var(--brand); color: var(--paper);
  font-size: .9375rem; font-weight: 700; letter-spacing: .06em; line-height: 1.4; white-space: nowrap;
  text-decoration: none;
  border-radius: var(--r);
  transition: background-color .2s;
}
.btn::after {
  content: ""; flex: none;
  width: .42em; height: .42em;
  border-top: 2px solid; border-right: 2px solid;
  transform: rotate(45deg);
}
.btn:hover { background: var(--brand-deep); }
.btn--lg { min-height: 3.6rem; padding-inline: 2.2em; font-size: 1.0625rem; }
.lnk {
  font-size: .9375rem; font-weight: 500;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em;
}
.lnk:hover { text-decoration-thickness: 2px; }

/* ── スマホの下部固定ボタン（1個だけ） ── */
.dock { display: none; }

@media (max-width: 75rem) {
  .hd__nav, .hd__act .lnk { display: none; }
  .hd__in { height: 3.75rem; gap: 1rem; }
  .hd__logo img { width: 7.5rem; }
  .hd__act { margin-left: auto; }
  .hd__act .btn { min-height: 2.5rem; padding-inline: 1.1em; font-size: .875rem; }
  .hd__menu {
    display: grid; place-items: center;
    width: 2.75rem; height: 2.75rem; margin-right: -.5rem;
    background: none; border: 0; color: inherit; cursor: pointer;
  }
  .hd__menu span, .hd__menu span::before, .hd__menu span::after {
    display: block; width: 1.4rem; height: 2px; background: currentColor;
  }
  .hd__menu span { position: relative; }
  .hd__menu span::before, .hd__menu span::after { content: ""; position: absolute; left: 0; }
  .hd__menu span::before { top: -.42rem; }
  .hd__menu span::after { top: .42rem; }
}
@media (max-width: 40rem) {
  body { padding-bottom: 4.75rem; }
  .hd__in { gap: .5rem; }
  .hd__logo img { width: 6.75rem; }
  .hd__act .btn { padding-inline: .9em; letter-spacing: .03em; }
  .dock {
    display: block;
    position: fixed; inset: auto 0 0 0; z-index: 30;
    padding: .65rem var(--gutter) calc(.65rem + env(safe-area-inset-bottom));
    background: var(--paper);
    border-top: 1px solid var(--rule);
    box-shadow: 0 -10px 24px -18px oklch(24% 0.03 262 / .5);
  }
  .dock .btn { width: 100%; min-height: 3rem; }
}

/* ══ トップページの節と、共通の部品 ══ */
:root {
  --paper: oklch(99% 0.002 262);
  --mist: oklch(94.5% 0.006 262);
  --rule-2: oklch(63% 0.018 262);       /* 入力欄の枠。地との比 3:1 以上 */
  --g: clamp(2rem, 4.2vw, 4rem);
  --on-ink-2: oklch(84% 0.012 262);     /* 紺の面の上の、弱い文字 */
  --on-ink-rule: oklch(99% 0.003 262 / .2);
  --hot: oklch(67% 0.2 25);             /* 紺の面の上で使う、明るくしたブランドの赤 */
  --track: oklch(48% 0.03 262);         /* 紺の面の上の、再生していない区間 */
  --lift: 0 22px 44px -22px oklch(18% 0.03 262 / .55);
  --fs-catch: clamp(2.25rem, 4.9vw, 4.25rem);
  --fs-stmt: clamp(1.625rem, 3.3vw, 2.75rem);
  --fs-name: clamp(1.375rem, 2.2vw, 1.75rem);
  --latin: "Noto Sans", "Noto Sans JP", sans-serif;
}

/* ── 共通 ── */
body { line-break: strict; }
h1, h2, h3, summary, .btn, .stmt, .cta__t { word-break: auto-phrase; }
p + p { margin-top: .9em; }
[id] { scroll-margin-top: 5.5rem; }
main p a:not(.btn) { text-underline-offset: .3em; }
main p a:not(.btn):hover { text-decoration-thickness: 2px; }
.btn { letter-spacing: .05em; transition: background-color .2s, transform .15s var(--ease); }
.btn::after { transition: transform .3s var(--ease); }
.btn:hover::after { transform: translateX(.3em) rotate(45deg); }
.btn:active { transform: translateY(1px); }
.hd__logo { display: inline-block; padding-block: .5rem; }
.btn--inv { background: var(--paper); color: var(--brand); }
.btn--inv:hover { background: oklch(94% 0.012 25); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skiplink { position: absolute; left: -999rem; top: .5rem; z-index: 60; padding: .6rem 1rem; background: var(--paper); color: var(--ink); }
.skiplink:focus { left: .5rem; }

/* 日本語でない文字の書体（字幕の見本と、言語の一覧で使う） */
:lang(vi), :lang(id), :lang(tl), :lang(pt), :lang(en), :lang(es), :lang(fr), :lang(de), :lang(mn) { font-family: var(--latin); }
:lang(my) { font-family: "Noto Sans Myanmar", var(--font); }
:lang(th) { font-family: "Noto Sans Thai", var(--font); }
:lang(ne), :lang(hi) { font-family: "Noto Sans Devanagari", var(--font); }
:lang(ko) { font-family: "Noto Sans KR", var(--font); }
:lang(zh-CN) { font-family: "Noto Sans SC", var(--font); }
:lang(zh-TW) { font-family: "Noto Sans TC", var(--font); }
:lang(si) { font-family: "Noto Sans Sinhala", var(--font); }
:lang(bn) { font-family: "Noto Sans Bengali", var(--font); }
:lang(km) { font-family: "Noto Sans Khmer", var(--font); }

/* ヘッダー: いま読んでいる節に線、スクロール中は影、下の縁に読んだ位置の線 */
.hd { transition: box-shadow .3s; }
.hd.is-scrolled { box-shadow: 0 12px 24px -20px oklch(24% 0.03 262 / .55); }
.hd__nav a[aria-current] { background-size: 100% 2px; background-position: left bottom; }
.hd__prog { position: absolute; inset: auto 0 -1px 0; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* 節の名前（小さなラベル）と、その下に置く事実の一文 */
.lbl { font-size: 1.25rem; font-weight: 700; line-height: 1.5; letter-spacing: .04em; }
.lbl--on { color: var(--on-ink-2); }
.stmt { margin-top: .6rem; font-size: var(--fs-stmt); font-weight: 700; line-height: 1.4; letter-spacing: .02em; font-feature-settings: "palt"; }

/* ほかのページへ進むリンク（右向きの矢じり） */
.more { margin-top: 1.1rem; font-size: .875rem; }
.more a { display: inline-block; padding-block: .3rem; font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat left bottom .2rem / 100% 1px; }
.more a::after { content: ""; display: inline-block; width: .42em; height: .42em; margin: 0 .2em .1em .7em; border-top: 1.5px solid; border-right: 1.5px solid; transform: rotate(45deg); transition: transform .3s var(--ease); }
.more a:hover { color: var(--brand); }
.more a:hover::after { transform: translateX(.25em) rotate(45deg); }
.sec--ink .more a:hover { color: var(--paper); }
.rec .more a:hover { color: var(--paper); }

/* 棒の図の小さい版（最初の画面の札と、特長で使う） */
.mini { position: relative; display: block; height: .6rem; background: oklch(89% 0.008 262); }
.mini i { position: absolute; inset-block: 0; left: calc(var(--a) * 1%); width: calc((var(--b) - var(--a)) * 1%); min-width: 3px; background: var(--ink); transform-origin: 0 50%; }
.mini .mini__skip { background: repeating-linear-gradient(135deg, var(--brand) 0 2px, transparent 2px 6px); }
.mini--lg { height: 2.5rem; }
.mini--lg .mini__skip { background: repeating-linear-gradient(135deg, var(--brand) 0 3px, transparent 3px 9px); }

/* ── 最初の画面（赤い面。絵は「受講者に見える画面＋残る記録」の1つ） ── */
.hero { background: var(--brand); color: var(--paper); }
.hero__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; gap: var(--g); padding: clamp(2.25rem, 4vw, 3.5rem) var(--edge) clamp(2.75rem, 4.5vw, 4rem); }
.hero__label { font-size: .9375rem; font-weight: 500; letter-spacing: .05em; }
.hero__catch { margin-top: .6rem; font-size: var(--fs-catch); font-weight: 700; line-height: 1.28; letter-spacing: .03em; font-feature-settings: "palt"; }
.hero__lead { max-width: 31em; margin-top: 1.1rem; font-size: 1.0625rem; line-height: 1.85; }
.hero__nums { display: flex; flex-wrap: wrap; gap: 1rem 2.25rem; margin-top: 1.6rem; }
.hero__nums dt { font-size: .8125rem; letter-spacing: .04em; }
.hero__nums dt small { font-size: .75rem; }
.hero__nums dd { font-size: 1rem; font-weight: 500; line-height: 1.15; white-space: nowrap; }
.hero__nums b { margin-right: .05em; font-size: clamp(2.25rem, 3.7vw, 3.25rem); font-weight: 700; font-variant-numeric: tabular-nums; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.5rem; margin-top: 1.6rem; }
.hero__cta p { font-size: .8125rem; line-height: 1.7; }
.hero :focus-visible { outline-color: var(--paper); }

.hero__vis { display: grid; grid-template-columns: minmax(0, 22.5rem) minmax(0, 1fr); align-items: end; }
.player { grid-column: 1 / -1; background: var(--ink); }
.player__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.player__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 28%; }
.player__lang { position: absolute; left: .6rem; top: .6rem; display: flex; align-items: center; gap: .6em; padding: .1em .7em; background: oklch(15% 0.02 262 / .84); color: var(--on-ink-2); font-size: .75rem; line-height: 1.8; }
.player__lang b { color: var(--paper); font-weight: 600; }
.player__sub { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); width: max-content; max-width: 94%; padding: .25em .8em; background: oklch(15% 0.02 262 / .84); color: var(--paper); font-size: clamp(.875rem, 1.45vw, 1.1875rem); font-weight: 500; line-height: 1.5; text-align: center; transition: opacity .22s, transform .22s var(--ease); }
.player__sub.is-out { opacity: 0; transform: translate(-50%, .35rem); }
.player__bar { display: flex; align-items: center; gap: .9rem; min-height: 2.75rem; padding: 0 .9rem 1.25rem; color: var(--on-ink-2); font-size: .8125rem; }   /* 下の 1.25rem は、札が重なる帯 */
.player__pp { display: none; flex: none; place-items: center; width: 2.75rem; height: 2.75rem; margin-left: -.9rem; padding: 0; background: none; border: 0; color: var(--paper); cursor: pointer; }
.mo .player__pp { display: grid; }
.player__pp span { display: block; width: .7rem; height: .85rem; border-inline: .23rem solid currentColor; }
.player.is-paused .player__pp span { width: .8rem; height: .95rem; border: 0; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.player__pp:focus-visible { outline-offset: -4px; }
.player__seek { position: relative; flex: 1 1 auto; height: 3px; background: oklch(99% 0.003 262 / .28); }
.player__seek i { position: absolute; inset: 0; background: var(--paper); transform: scaleX(calc(var(--p) / 100)); transform-origin: 0 50%; }
.player__seek b { position: absolute; top: 50%; left: calc(var(--p) * 1%); width: 3px; height: .9rem; margin: -.45rem 0 0 -1.5px; background: var(--paper); }
.player__time { flex: none; font-variant-numeric: tabular-nums; }
.reccard { position: relative; z-index: 1; margin: -1.25rem 0 0 -1.5rem; padding: 1rem 1.2rem 1.1rem; background: var(--paper); color: var(--ink); border-radius: var(--r); box-shadow: var(--lift); }
.reccard__t { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; }
.reccard__row { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr) 3.75rem; align-items: center; gap: .6rem; margin-top: .55rem; font-size: .8125rem; }
.reccard__row b { text-align: right; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.reccard__row.is-low b { color: var(--brand); }
.hero__vis figcaption { grid-column: 1 / -1; padding: .75rem 0 0; font-size: .75rem; line-height: 1.7; }

/* ── 特長（1つを色の面で大きく、3つを罫の行で小さく。右の列は 7:5 の線に乗せる） ── */
.pts { padding: clamp(4rem, 8vw, 6.5rem) var(--edge) clamp(3.5rem, 7vw, 5.5rem); }
.pts__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem var(--g); margin-top: 1.5rem; }
.pt h3 { font-size: var(--fs-name); font-weight: 700; line-height: 1.45; letter-spacing: .03em; font-feature-settings: "palt"; }
.pt h3 b { margin-inline: .06em .04em; font-size: 1.7em; line-height: 1; font-variant-numeric: tabular-nums; }
.pt h3 small { font-size: .5em; font-weight: 500; }
.pt > p { max-width: 34em; margin-top: .5rem; }
.pt > .pt__more { margin-top: .9rem; font-size: .875rem; line-height: 1.6; }
.pt__more a { display: inline-block; padding-block: .3rem; font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat left bottom .2rem / 100% 1px; }
.pt__more a::after { content: ""; display: inline-block; width: .42em; height: .42em; margin: 0 .15em .2em .7em; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); transition: transform .3s var(--ease); }
.pt__more a:hover { color: var(--brand); }
.pt__more a:hover::after { transform: translateY(.2em) rotate(45deg); }
.pt--main { display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--mist); }
.pt--main h3 { font-size: var(--fs-stmt); line-height: 1.4; }
.pt--main > p { margin-top: .9rem; }
.pt__fig { margin-top: auto; padding-top: 2rem; }
.pt__who { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.pt__who p { margin: 0; font-weight: 700; line-height: 1.5; }
.pt__who p small { display: block; margin-top: .15rem; color: var(--ink-2); font-size: .8125rem; font-weight: 400; }
.pt__who .pt__rate { flex: none; display: flex; align-items: baseline; gap: .6rem; white-space: nowrap; }
.pt__who .pt__rate small { display: inline; margin: 0; font-weight: 500; letter-spacing: .06em; }
.pt__rate b { color: var(--brand); font-size: clamp(2.5rem, 4.4vw, 3.5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.pt__rate i { margin-left: .08em; font-size: .4em; font-style: normal; font-weight: 500; }
.pt__fig .mini { margin-top: .9rem; background: var(--paper); }
.pt__axis { display: flex; justify-content: space-between; margin-top: .3rem; color: var(--ink-2); font-size: .75rem; font-variant-numeric: tabular-nums; }
.pt__cap { display: flex; flex-wrap: wrap; gap: .3rem 2rem; margin-top: .8rem; color: var(--ink-2); font-size: .8125rem; }
.pt__cap li::before { content: ""; display: inline-block; width: 1.5rem; height: .6rem; margin-right: .6em; background: var(--ink); }
.pt__cap .is-skip::before { background: repeating-linear-gradient(135deg, var(--brand) 0 2px, transparent 2px 6px); }
.pt__cap b { margin-left: .7em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pt--main > .pt__more { margin-top: auto; padding-top: 1.5rem; }
.pts__side { display: grid; align-content: space-between; }
.pts__side .pt { padding-block: 1.6rem; border-top: 1px solid var(--rule); }
.pts__side .pt:first-child { padding-top: 0; border-top: 0; }
.pts__side .pt:last-child { padding-bottom: 0; }

/* ── 使う場面（霧の面。短い帯） ── */
.use { padding: clamp(3rem, 6vw, 4.5rem) var(--edge); background: var(--mist); }
.use__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.75rem var(--g); margin-top: 1.25rem; }
.use__pic { margin-bottom: 1.1rem; }
.use__pic img { display: block; width: 100%; height: clamp(11rem, 21vw, 17.5rem); object-fit: cover; object-position: var(--pos, 50% 30%); filter: var(--grade); }   /* 2枚の高さをそろえる（幅は 7:5 で違う） */
.use h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.5; letter-spacing: .03em; }
.use article p { max-width: 34em; margin-top: .5rem; }
.use__note { margin-top: 1.5rem; color: var(--ink-2); font-size: .8125rem; }

/* ── 視聴記録（紺の面。図 → 実物の画面 → 設定） ── */
.rec { padding: clamp(4.5rem, 9vw, 7.5rem) var(--edge) clamp(4rem, 8vw, 6.5rem); background: var(--ink); color: var(--paper); }
.rec :focus-visible { outline-color: var(--paper); }
.rec__lead { max-width: 36em; margin-top: 1.25rem; color: var(--on-ink-2); }
.rec__key { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; margin-top: 2.5rem; }
.rec__legend { display: flex; flex-wrap: wrap; gap: .4rem 2rem; color: var(--on-ink-2); font-size: .8125rem; }
.rec__legend li { display: flex; align-items: center; gap: .6em; }
.rec__replay { display: inline-flex; align-items: center; gap: .6em; min-height: 2.75rem; padding: 0 .2rem; background: none; border: 0; color: var(--paper); font: inherit; font-size: .8125rem; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em; cursor: pointer; }
.rec__replay[hidden] { display: none; }
.rec__replay::before { content: ""; width: .6em; height: .7em; background: var(--hot); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.rec__replay:hover { text-decoration-thickness: 2px; }
.k { display: inline-block; flex: none; }
.k--seg { width: 1.75rem; height: .8rem; background: var(--paper); }
.k--skip { width: 1.75rem; height: .8rem; background: repeating-linear-gradient(135deg, var(--hot) 0 3px, transparent 3px 8px); }
.k--tick { width: 3px; height: 1.25rem; margin-inline: .4rem; background: var(--hot); }
.rec__rows { margin-top: .75rem; }
.rec__axis, .row { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr) 9rem; gap: 1.5rem; }
.rec__axis p { grid-column: 2; display: flex; justify-content: space-between; color: var(--on-ink-2); font-size: .75rem; line-height: 1.6; font-variant-numeric: tabular-nums; }
.row { align-items: start; padding-block: 1.75rem; }
.rec__axis + .row { padding-top: .5rem; }
.row + .row { border-top: 1px solid var(--on-ink-rule); }
.row__who h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: .04em; }
.row__who p { margin-top: .2rem; color: var(--on-ink-2); font-size: .8125rem; }
.bar { position: relative; height: 1.75rem; margin-top: .25rem; background: var(--track); }
.seg, .skip { position: absolute; inset-block: 0; left: calc(var(--a) * 1%); width: calc((var(--b) - var(--a)) * 1%); }
.seg { min-width: 5px; background: var(--paper); transform-origin: 0 50%; }
.seg--join { left: calc(var(--a) * 1% - 1px); width: calc((var(--b) - var(--a)) * 1% + 1px); }   /* 続きの区間。前の区間とのすき間を出さない */
.bar .skip { background: repeating-linear-gradient(135deg, var(--hot) 0 3px, transparent 3px 9px); }
.tick { position: absolute; z-index: 1; top: -.4rem; bottom: -.4rem; left: calc(var(--a) * 1%); width: 3px; background: var(--hot); }
.evs { margin-top: .9rem; font-size: .9375rem; line-height: 1.8; }
.evs time { display: inline-block; min-width: 4.5rem; color: var(--on-ink-2); font-variant-numeric: tabular-nums; }
.row__rate { text-align: right; line-height: 1.3; }
.row__rate > span { display: block; color: var(--on-ink-2); font-size: .8125rem; letter-spacing: .06em; }
.row__rate b { font-size: 3.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.row__rate i { margin-left: .08em; font-size: 1.25rem; font-style: normal; font-weight: 500; }
.row.is-low .row__rate b { color: var(--hot); }

.rec__real { margin-top: clamp(3rem, 6vw, 5rem); }
.rec__realtxt h3 { font-size: var(--fs-name); font-weight: 700; line-height: 1.45; letter-spacing: .03em; }
.rec__realtxt p { max-width: 36em; margin-top: .6rem; color: var(--on-ink-2); }
.shot a { display: block; cursor: zoom-in; }
.shot img { display: block; width: 100%; }
.rec .shot { margin-top: 1.5rem; }
.rec .shot figcaption { margin-top: .6rem; color: var(--on-ink-2); font-size: .8125rem; }
.rec__sets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem var(--g); margin-top: clamp(3rem, 6vw, 4.5rem); }
.rec__sets h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.5; letter-spacing: .03em; }
.rec__sets p { margin-top: .5rem; color: var(--on-ink-2); }
.rec__more { margin-top: 2.25rem; }

/* ── 無料お試しの帯（全幅・赤） ── */
.cta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 1.5rem var(--g); padding: clamp(3rem, 6vw, 4.5rem) var(--edge); background: var(--brand); color: var(--paper); }
.cta__t { font-size: clamp(1.5rem, 2.6vw, 2.125rem); font-weight: 700; line-height: 1.55; letter-spacing: .03em; font-feature-settings: "palt"; }
.cta__act p { margin-top: .75rem; font-size: .8125rem; line-height: 1.7; }
.cta :focus-visible { outline-color: var(--paper); }

/* ── AIの字幕と翻訳（白。見せ場は、1本の動画から字幕を作って訳す図） ── */
.ai { padding: clamp(4.5rem, 9vw, 7.5rem) var(--edge) clamp(4rem, 8vw, 6.5rem); }
.tr { margin-top: clamp(2rem, 4vw, 3rem); }
.tr__panel { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: stretch; gap: clamp(1.25rem, 3vw, 2.75rem); padding: clamp(1rem, 2.4vw, 2rem); background: var(--ink); color: var(--paper); }
.tr__panel :focus-visible { outline-color: var(--paper); outline-offset: -2px; }
.tr__pic { position: relative; overflow: hidden; }
.tr__pic img { display: block; width: 100%; height: 100%; min-height: 16rem; object-fit: cover; object-position: 38% 28%; }
.tr__sub { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); width: max-content; max-width: 94%; margin: 0; padding: .25em .8em; background: oklch(15% 0.02 262 / .86); color: var(--paper); font-size: clamp(.875rem, 1.45vw, 1.1875rem); font-weight: 500; line-height: 1.5; text-align: center; transition: opacity .2s, transform .2s var(--ease); }
.tr__sub.is-out { opacity: 0; transform: translate(-50%, .35rem); }
.tr__step { display: flex; align-items: baseline; gap: .7em; color: var(--on-ink-2); font-size: .8125rem; font-weight: 500; letter-spacing: .05em; line-height: 1.5; }
.tr__step b { color: var(--hot); font-size: 1.375rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.tr__out ul { margin-top: .4rem; border-top: 1px solid var(--on-ink-rule); }
.tr__out ul + .tr__step { margin-top: 1.4rem; }
.tr__out li { border-bottom: 1px solid var(--on-ink-rule); }
.tr__out button { position: relative; display: grid; grid-template-columns: 7.25rem minmax(0, 1fr); align-items: baseline; gap: .9rem; width: 100%; min-height: 2.75rem; padding: .5rem .5rem .5rem 1.25rem; background: none; border: 0; color: oklch(92% 0.006 262); font: inherit; text-align: left; cursor: pointer; transition: background-color .2s, color .2s; }
.tr__out button::before { content: ""; position: absolute; left: .15rem; top: 50%; width: .5rem; height: .6rem; margin-top: -.3rem; background: var(--hot); clip-path: polygon(0 0, 100% 50%, 0 100%); opacity: 0; transform: translateX(-.3rem); transition: opacity .2s, transform .25s var(--ease); }
.tr__out button:hover { background: oklch(99% 0.003 262 / .07); }
.tr__out button[aria-pressed="true"] { color: var(--paper); }
.tr__out button[aria-pressed="true"]::before { opacity: 1; transform: none; }
.tr__lang { color: var(--on-ink-2); font-size: .8125rem; line-height: 1.5; }
.tr__line { font-size: 1rem; font-weight: 500; line-height: 1.5; }
.tr__more { margin-top: .7rem; padding-left: 1.25rem; color: var(--on-ink-2); font-size: .8125rem; }
.tr figcaption { margin-top: .75rem; color: var(--ink-2); font-size: .8125rem; }
.ai__cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: 2.5rem var(--g); margin-top: clamp(3rem, 6vw, 4.5rem); }
.ai__cols h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.5; letter-spacing: .03em; }
.ai__how h3:not(:first-child) { margin-top: 2rem; }
.ai__how p { max-width: 34em; margin-top: .5rem; }
.langs { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 1rem 2.25rem; margin-top: 1.25rem; }
.langs span { display: block; font-size: 1.1875rem; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.langs small { display: block; color: var(--ink-2); font-family: var(--font); font-size: .75rem; line-height: 1.5; white-space: nowrap; }
.hira { display: grid; grid-template-columns: 11rem minmax(0, 1fr); align-items: center; gap: 1.5rem; margin-top: 2.5rem; padding: 1.25rem; background: var(--mist); }
.hira__shot a { display: block; cursor: zoom-in; }
.hira__shot img { display: block; width: 100%; }
.hira p { margin-top: .5rem; }
.ai__fine { max-width: 38em; margin-top: 2.5rem; color: var(--ink-2); font-size: .8125rem; }
.ai__fine + .ai__fine { margin-top: .5em; }

/* ── 料金と始め方（霧の面。大きな数字 → 始め方の4手順 → 月額プランの表 → 申込み） ── */
.price { padding: clamp(4.5rem, 9vw, 7.5rem) var(--edge) clamp(4rem, 8vw, 6.5rem); background: var(--mist); }
.price__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; gap: 1.75rem var(--g); margin-top: 1.25rem; }
.bignum { font-size: 1.375rem; font-weight: 700; line-height: 1.15; white-space: nowrap; }
.bignum span { display: block; margin-bottom: .5rem; color: var(--ink-2); font-size: 1rem; font-weight: 500; }
.bignum small { font-size: .8125rem; }
.bignum b { margin-inline: .03em .06em; font-size: clamp(3.25rem, 7.2vw, 5.75rem); font-weight: 700; font-variant-numeric: tabular-nums; }
.bignum b + b { margin-left: .22em; }
.price__lead { max-width: 36em; margin-top: 1.5rem; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(2.5rem, 5vw, 4rem); background: var(--paper); counter-reset: st; }
.steps li { position: relative; padding: 1.5rem 1.5rem 1.6rem; counter-increment: st; }
.steps li + li { border-left: 1px solid var(--rule); }
.steps li::before { content: counter(st); display: block; color: var(--brand); font-size: 2.25rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
/* 手順の境目に、進む向きの矢じり */
.steps li + li::after { content: ""; position: absolute; left: -.5rem; top: 1.9rem; width: .85rem; height: .85rem; background: var(--paper); border-top: 2px solid var(--brand); border-right: 2px solid var(--brand); transform: rotate(45deg); }
.steps h3 { margin-top: .75rem; font-size: 1.25rem; font-weight: 700; line-height: 1.5; }
.steps p { margin-top: .4rem; font-size: .9375rem; line-height: 1.75; }
.steps__note { max-width: 38em; margin-top: 1rem; color: var(--ink-2); font-size: .8125rem; }

.plist { margin-top: clamp(2.5rem, 5vw, 4rem); background: var(--paper); border-block: 1px solid var(--ink); }
.plist table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .9375rem; line-height: 1.7; }
.plist th, .plist td { padding: .9rem 1.25rem; border-top: 1px solid var(--rule); text-align: left; vertical-align: top; font-weight: 400; }
.plist th:first-child { width: 12.5rem; }
.plist th + th, .plist td { border-left: 1px solid var(--rule); }
.plist thead th { padding-block: 1.3rem .9rem; border-top: 0; font-size: 1.25rem; font-weight: 700; letter-spacing: .03em; }
.plist tbody th { color: var(--ink-2); font-size: .8125rem; line-height: 1.9; }
.plist__price td { font-weight: 500; white-space: nowrap; }
.plist__price b { margin-right: .05em; font-size: 2.5rem; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.plist__note { max-width: 38em; margin-top: 1rem; color: var(--ink-2); font-size: .8125rem; }
.plist__note + .plist__note { margin-top: .5em; }
.price__act { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.5rem; margin-top: 2.5rem; }
.price__act span { color: var(--ink-2); font-size: .8125rem; }

/* ── よくある質問（罫の行） ── */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: 1.75rem var(--g); padding: clamp(4.5rem, 9vw, 7rem) var(--edge); }
.faq__ask { max-width: 24em; margin-top: 1rem; color: var(--ink-2); font-size: .8125rem; }
.faq__list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { position: relative; padding: 1.15rem 3rem 1.15rem 0; font-weight: 500; list-style: none; cursor: pointer; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: .35rem; top: 50%; width: .9rem; height: 1.5px; background: currentColor; }
.faq summary::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
.faq summary:hover { color: var(--brand); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details > div { max-width: 36em; padding: 0 0 1.4rem; color: var(--ink-2); }

/* ── 申込み・お問い合わせ（紺の面） ── */
.ct { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: 2.5rem var(--g); padding: clamp(4.5rem, 8vw, 6.5rem) var(--edge); background: var(--ink); color: var(--paper); }
.ct__h { font-size: clamp(1.625rem, 2.8vw, 2.25rem); font-weight: 700; line-height: 1.45; letter-spacing: .02em; font-feature-settings: "palt"; }
.ct__lead > p { max-width: 30em; margin-top: 1.25rem; }
.ct__trial { margin-top: 2rem; }
.ct__trial > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; }
.ct__trial > div + div { margin-top: .6rem; }
.ct__trial dt { padding-top: .2em; color: var(--on-ink-2); font-size: .8125rem; }
.ct__trial dd { font-weight: 500; }
.ct__tel { margin-top: 2.25rem; }
.ct__tel dt { color: var(--on-ink-2); font-size: .8125rem; letter-spacing: .06em; }
.ct__tel a { display: inline-block; padding-block: .2rem; font-size: 2rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.4; text-decoration: none; }
.ct__lead > .ct__op { margin-top: .25rem; color: var(--on-ink-2); font-size: .8125rem; }
.ct__lead :focus-visible { outline-color: var(--paper); }

.fm { position: relative; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--paper); color: var(--ink); }
.fm__hp { position: absolute; left: -9999px; }
.fm__row + .fm__row { margin-top: 1.1rem; }
.fm__row > label { display: block; margin-bottom: .4rem; font-size: .875rem; font-weight: 500; }
.fm input[type="text"], .fm input[type="email"], .fm select, .fm textarea { width: 100%; min-height: 3rem; padding: .6rem .8rem; background: var(--paper); color: inherit; border: 1px solid var(--rule-2); border-radius: var(--r); font: inherit; transition: border-color .2s; }
.fm input[type="text"]:hover, .fm input[type="email"]:hover, .fm select:hover, .fm textarea:hover { border-color: var(--ink); }
.fm textarea { display: block; resize: vertical; }
.fm ::placeholder { color: var(--ink-3); }
.req, .opt { margin-left: .7em; font-size: .75rem; font-weight: 400; }
.req { color: var(--brand); }
.opt { color: var(--ink-3); }
.fm__row--check label { display: flex; align-items: flex-start; gap: .6rem; font-weight: 400; cursor: pointer; }
.fm__row--check input { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .35rem; accent-color: var(--brand); }
.fm__msg { margin-top: 1.1rem; padding: .8rem 1rem; border: 1px solid var(--brand); color: var(--brand-deep); font-size: .875rem; white-space: pre-line; }
.fm__msg[hidden] { display: none; }
.fm__submit { width: 100%; margin-top: 1.5rem; border: 0; font-family: inherit; cursor: pointer; }
.fm__submit[disabled] { background: var(--ink-3); cursor: default; }
/* 選ぶ欄（申込みの種類、プラン、AIを使うか） */
.fm__set { margin: 0; padding: 0; border: 0; min-width: 0; }
.fm__set + .fm__set, .fm__set + .fm__row, .fm__row + .fm__set { margin-top: 1.6rem; }
.fm__set > legend { margin-bottom: .6rem; padding: 0; font-size: .875rem; font-weight: 500; }
.fm__pick { display: grid; gap: .5rem; }
.fm__pick label { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .2rem .75rem; padding: .8rem 1rem; border: 1px solid var(--rule-2); border-radius: var(--r); cursor: pointer; transition: border-color .2s, background-color .2s; }
.fm__pick label:hover { border-color: var(--ink); }
.fm__pick input { width: 1.15rem; height: 1.15rem; margin: .35rem 0 0; accent-color: var(--brand); }
.fm__pick b { font-weight: 700; }
.fm__pick small { grid-column: 2; color: var(--ink-2); font-size: .8125rem; line-height: 1.6; }
.fm__pick label:has(input:checked) { border-color: var(--brand); background: oklch(97.5% 0.012 25); }
.fm__pick--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fm__hint { margin-top: .4rem; color: var(--ink-2); font-size: .8125rem; line-height: 1.7; }
.fm__row + .fm__ai { margin-top: 1.1rem; }
.fm__ai + .fm__row { margin-top: 1.1rem; }

/* ── フッター（サイトマップ型） ── */
.ft { padding: 3.5rem var(--edge) 2rem; }
.ft__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem var(--g); padding-bottom: 2.5rem; border-bottom: 1px solid var(--rule); }
.ft__brand img { width: 9.25rem; }
.ft__brand p { margin-top: .75rem; color: var(--ink-2); font-size: .8125rem; }
.ft__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.ft__nav li + li { margin-top: .3rem; }
.ft__nav a { display: inline-block; padding-block: .45rem; font-size: .875rem; line-height: 1.4; text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat right bottom .3rem / 0 1px; transition: background-size .3s var(--ease); }
.ft__nav a:hover { background-size: 100% 1px; background-position: left bottom .3rem; }
.ft__op { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 2rem; padding-top: 1.25rem; color: var(--ink-2); font-size: .8125rem; }
.ft__op p + p { margin-top: 0; }

/* ── スマホのメニュー ── */
.sp { padding: .25rem var(--gutter) 1rem; background: var(--paper); border-top: 1px solid var(--rule); }
.sp[hidden] { display: none; }
.sp { max-height: calc(100dvh - 3.75rem); overflow-y: auto; overscroll-behavior: contain; }
.sp a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--rule); font-weight: 500; text-decoration: none; }
.sp a[aria-current="page"] { color: var(--brand); }
/* 「機能」「活用シーン」は、押すと下のページの一覧が開く */
.sp details { border-bottom: 1px solid var(--rule); }
.sp summary { display: flex; align-items: center; justify-content: space-between; padding: .85rem 0; font-weight: 500; cursor: pointer; list-style: none; }
.sp summary::-webkit-details-marker { display: none; }
.sp summary::after { content: ""; flex: none; width: .5em; height: .5em; margin: -.2em .4rem 0 0; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); transition: transform .3s var(--ease); }
.sp details[open] summary::after { transform: translateY(.25em) rotate(225deg); }
.sp details a { padding: .7rem 0 .7rem 1rem; border-bottom: 0; border-top: 1px solid var(--rule); font-size: .9375rem; font-weight: 400; }
@media (min-width: 75.0625rem) { .sp { display: none; } }
.hd__menu span, .hd__menu span::before, .hd__menu span::after { transition: transform .3s var(--ease), background-color .2s; }
.hd__menu[aria-expanded="true"] span { background: transparent; }
.hd__menu[aria-expanded="true"] span::before { transform: translateY(.42rem) rotate(45deg); }
.hd__menu[aria-expanded="true"] span::after { transform: translateY(-.42rem) rotate(-45deg); }
.dock[hidden] { display: none; }
.dock { transition: transform .4s var(--ease), visibility 0s; }
.dock.is-off { transform: translateY(110%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; }

/* ── 画面の拡大表示（元の大きさに近づけて、縦横に動かせる） ── */
.zoom { width: min(96vw, 80rem); max-width: none; max-height: 94vh; padding: 0; border: 0; overflow: hidden; background: var(--paper); box-shadow: 0 30px 80px -20px oklch(24% 0.03 262 / .6); }
.zoom[open] { display: flex; flex-direction: column; }
.zoom::backdrop { background: oklch(24% 0.03 262 / .72); }
.zoom__sc { flex: 1 1 auto; min-height: 0; overflow: auto; }
.zoom img { display: block; width: max(100%, 56rem); max-width: none; height: auto; }
.zoom img.is-tall { width: min(100%, 26rem); margin-inline: auto; }
.zoom form { flex: none; display: flex; justify-content: flex-end; padding: .5rem .75rem; border-top: 1px solid var(--rule); }
.zoom button { min-height: 2.75rem; padding: .3rem 1.25rem; background: none; border: 1px solid var(--rule-2); border-radius: var(--r); color: inherit; font: inherit; font-size: .875rem; cursor: pointer; }

/* ── カンプの断り（本番には入れない） ── */
.cmpnote { padding: .45rem var(--edge); background: oklch(24% 0.03 262); color: oklch(93% 0.005 262); font-size: .75rem; line-height: 1.6; }

/* 字幕の図の行: 幅が足りなくなる手前で、言語の名前を訳の上に置く（訳を1行に収める） */
@media (max-width: 78rem) {
  .tr__out button { grid-template-columns: minmax(0, 1fr); gap: .1rem; padding-block: .55rem; }
}

/* ── 中くらいの幅（〜1100px）: 2列のまま、すこし詰める ── */
@media (max-width: 68.75rem) {
  .rec__axis, .row { grid-template-columns: 8.5rem minmax(0, 1fr) 7.5rem; gap: 1.25rem; }
  .row__rate b { font-size: 2.75rem; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .steps li:nth-child(3)::after { display: none; }
  .langs { grid-template-columns: repeat(3, auto); }
  .tr__out button { grid-template-columns: minmax(0, 1fr); gap: .1rem; padding-block: .55rem; }
}

/* ── 1列（〜900px） ── */
@media (max-width: 56.25rem) {
  .hero__in, .pts__grid, .use__grid, .cta, .ai__cols, .price__top, .faq, .ct, .tr__panel, .ft__in { grid-template-columns: minmax(0, 1fr); }
  .hero__in { gap: 1.75rem; padding-top: 1.5rem; }
  .hero__vis { order: -1; grid-template-columns: minmax(0, 1fr); }
  .reccard { margin: -1.25rem .75rem 0; }
  .tr__pic img { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .pts__side .pt:first-child { padding-top: 1.6rem; border-top: 1px solid var(--rule); }
  .rec__axis { display: none; }
  .rec__rows { margin-top: 1.25rem; }
  .row { grid-template-columns: minmax(0, 1fr) auto; gap: .75rem 1rem; }
  .row__track { grid-column: 1 / -1; grid-row: 2; }
  .rec__sets { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .tr__line { font-size: 1.0625rem; }
  .langs { grid-template-columns: repeat(4, auto); }
  .price__top { gap: 1.75rem; }
  .fm { max-width: 44rem; }
}

/* ── スマホ（〜640px） ── */
@media (max-width: 40rem) {
  .hero__in { padding-inline: var(--gutter); }
  .pts, .use, .rec, .cta, .ai, .price, .faq, .ct, .ft { padding-inline: var(--gutter); }
  .hero__lead { font-size: 1rem; }
  .hero__nums { gap: .9rem 1.5rem; }
  .hero__nums dt small { display: block; }
  .hero__nums b { font-size: 2rem; }
  .hero__cta .btn, .cta__act .btn, .price__act .btn { width: 100%; }
  .player__sub, .tr__sub { font-size: .875rem; }
  .pt__who { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .row__rate b { font-size: 2.5rem; }
  .evs time { min-width: 4.25rem; }
  .tr__panel { padding: .75rem .75rem 1rem; }
  .tr__out button { grid-template-columns: minmax(0, 1fr); gap: .1rem; padding: .6rem .25rem .6rem 1.1rem; }
  .tr__line { font-size: .9375rem; }
  .tr__more { padding-left: 1.1rem; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .steps li:nth-child(3)::after, .steps li + li::after { display: block; left: 1.5rem; top: -.5rem; transform: rotate(135deg); }
  .langs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.25rem; }
  .langs span, .langs small { white-space: normal; }
  .hira { grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding: 1rem; }
  .plist table { font-size: .8125rem; }
  .plist th, .plist td { padding: .7rem .65rem; }
  .plist th:first-child { width: 5.25rem; }
  .plist thead th { font-size: 1rem; }
  .plist tbody th { font-size: .75rem; }
  .plist__price td { white-space: normal; }
  .plist__price b { font-size: 1.625rem; }
  .ct__tel a { font-size: 1.75rem; }
  .fm__pick--2 { grid-template-columns: minmax(0, 1fr); }
  .ft__nav { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hd__act .btn { display: none; }  /* 下の固定ボタンがあるので、上のボタンは出さない */
  .sp { padding-bottom: 6rem; }       /* 下の固定ボタンに、メニューの最後が隠れないように */
  main p a:not(.btn), .lnk { display: inline-block; padding-block: .35rem; }
}

/* ══ 動き ══
 * .mo は、head の短いスクリプトが html に付ける。付かないとき（設定で動きを減らしている、古いブラウザ、
 * スクリプトが読めなかった）は、下の規則がどれも効かず、全部が最初から見えている。 */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* 最初の画面: 文字は上から順に、絵は少し遅れて出る（1回きり） */
@keyframes rise { from { opacity: 0; transform: translateY(1rem); } }
@keyframes lift { from { transform: translateY(1.5rem); } }
@keyframes fade { from { opacity: 0; } }
.mo .hero__txt > * { animation: rise .8s var(--ease) both; }
.mo .hero__txt > :nth-child(2) { animation-delay: .07s; }
.mo .hero__txt > :nth-child(3) { animation-delay: .14s; }
.mo .hero__txt > :nth-child(4) { animation-delay: .21s; }
.mo .hero__txt > :nth-child(5) { animation-delay: .28s; }
.mo .player { animation: lift .9s var(--ease) both; }   /* 写真は最初から見せておく（読み込みの計測を遅らせない） */
.mo .reccard { animation: rise .7s var(--ease) .5s both; }
.mo .hero__vis figcaption { animation: fade .6s .9s both; }

/* 再生画面: 写真がゆっくり寄る。止めるボタンと、画面の外では止まる */
@keyframes drift { to { transform: scale(1.055) translate(-.5%, -.4%); } }
.mo .player__frame img { animation: drift 22s ease-in-out infinite alternate; }
.mo .player.is-paused .player__frame img { animation-play-state: paused; }

/* スクロールで見えたときに出る（1回きり）。--d で、となり同士を少しずらす */
.mo [data-rv] { opacity: 0; transform: translateY(1.25rem); }
.mo [data-rv].is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }

/* 記録の棒: 再生の順に伸びる。伸ばす前の形（動かすのは top.js。終わると .is-done が付く） */
.mo [data-bar]:not(.is-done) > :not(.tick):not(.skip):not(.mini__skip) { transform: scaleX(0); }
.mo [data-bar]:not(.is-done) > .skip, .mo [data-bar]:not(.is-done) > .mini__skip { clip-path: inset(0 100% 0 0); }
.mo [data-bar]:not(.is-done) > .tick { opacity: 0; }
.mo .evs li { opacity: .3; transition: opacity .4s; }
.mo .evs li.is-on { opacity: 1; }

/* 字幕の図: 行が1つずつ、左から現れる */
.mo .tr__out button .tr__line { clip-path: inset(0 100% 0 0); }
.mo .tr__out button .tr__lang { opacity: 0; }
.mo .tr__out button.is-in .tr__line { clip-path: inset(0 0 0 0); transition: clip-path .6s var(--ease); }
.mo .tr__out button.is-in .tr__lang { opacity: 1; transition: opacity .4s; }
.mo .tr__more { opacity: 0; }
.mo .tr.is-shown .tr__more { opacity: 1; transition: opacity .5s; }

/* 言語の一覧: 20個が続けて出る */
.mo .langs li { opacity: 0; transform: translateY(.5rem); }
.mo .langs.is-in li { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 30ms); }

/* 読んだ位置の線（スクロールに連動。対応していないブラウザでは出ない） */
@keyframes prog { to { transform: scaleX(1); } }
@supports (animation-timeline: scroll()) {
  .mo .hd__prog { animation: prog linear both; animation-timeline: scroll(root); }
}

/* よくある質問: 開閉をなめらかに（対応しているブラウザだけ） */
@supports (interpolate-size: allow-keywords) {
  .mo .faq details { interpolate-size: allow-keywords; }
  .mo .faq details::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size .4s var(--ease), opacity .3s, content-visibility .4s allow-discrete; }
  .mo .faq details[open]::details-content { block-size: auto; opacity: 1; }
}

/* 拡大表示とスマホのメニュー: 開くときに、ふわっと出る（対応しているブラウザだけ） */
.mo .zoom { opacity: 0; transform: translateY(.75rem) scale(.985); transition: opacity .25s, transform .35s var(--ease), overlay .35s allow-discrete, display .35s allow-discrete; }
.mo .zoom[open] { opacity: 1; transform: none; }
.mo .zoom::backdrop { opacity: 0; transition: opacity .3s, overlay .35s allow-discrete, display .35s allow-discrete; }
.mo .zoom[open]::backdrop { opacity: 1; }
.mo .sp { transition: opacity .25s, transform .35s var(--ease); }
@starting-style {
  .mo .zoom[open] { opacity: 0; transform: translateY(.75rem) scale(.985); }
  .mo .zoom[open]::backdrop { opacity: 0; }
  .mo .sp:not([hidden]) { opacity: 0; transform: translateY(-.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@media print {
  [data-rv], .langs li { opacity: 1 !important; transform: none !important; }
}
