/* 専用サイト「紀ノ川DX オンライン予約（子どもの教室・レッスン向け）」（public-lesson/。lib/lesson-site.js が作る。docs/lesson-subsite.md）だけで使う見た目。
   土台と、商品ページの部品（.lp-*）は site.css。ここには、このサイトで足した部品（.ls-*）だけを書く。
   並べ方は、専用サイト「LINE予約ホームページ」（yoyaku.css の .ys-*）と同じ考え方。別のサイトなので、同じ決まりをこのファイルにも書いてある（片方を直しても、もう片方は変わらない）。
   色・影・書体は site.css の変数を使う（ライト／ダークの切りかえもそのまま効く）。動きを減らす設定では動かさない */

/* ---------- ヘッダー：商品の系列の名前と、だれ向けか ---------- */
.ls-header .brand-name { display: grid; gap: 1px; font-size: 1.02rem; line-height: 1.2; letter-spacing: .03em; }
.ls-header .brand-name small { font-family: var(--f-body); font-weight: 700; font-size: max(.8rem, 13px); letter-spacing: .04em; color: var(--muted); }
/* 押してほしいのは「動く見本を試す」（オレンジ。最初の画面・下の帯と同じ）。相談は枠だけ（審査 1210） */
.ls-header .ls-nav-contact { border: 1px solid var(--line); }
@media (max-width: 1023.98px) { .ls-header .brand-name { font-size: .96rem; } }
/* スマホでは、上の「動く見本を試す」を出さない（商品名が切れるため。同じボタンが、最初の画面・画面の下の帯・メニューの中にある） */
@media (max-width: 559.98px) { .ls-header .header-cta { display: none; } }
@media (max-width: 374px) { .ls-header .brand-name { font-size: .88rem; } .ls-header .brand-name small { font-size: 13px; letter-spacing: -.02em; } .ls-header .brand-mark { width: 30px; height: 30px; } }

/* ---------- 最初の画面：商品の名前、見本の画面（スマホは 1 枚、幅 560px 以上は 2 枚）、丸い印 ---------- */
.ls-product { margin-top: 14px; font-weight: 700; font-size: max(.95rem, 15px); line-height: 1.6; color: var(--link); }
.ls-hero .ls-product + h1 { margin-top: 6px; }
.ls-hero-shot { position: relative; margin: 0; }
.ls-phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: start; max-width: 480px; margin-inline: auto; padding-top: 12px; }
/* 見本の画面は、絵ではなく本物の文字で作った再現（下の「見本の画面の再現」）。2 枚目は少し下げる */
.ls-phones .lr-phone { max-width: none; }
.ls-phones .lr-phone + .lr-phone { margin-top: 92px; }
/* スマホ（幅 560px 未満）：振替先を選ぶ画面だけを、字が読める大きさで 1 枚。丸い印は、画面の上の 1 行の札にする */
@media (max-width: 559.98px) {
  .ls-hero-shot { display: flex; flex-direction: column; }
  .ls-hero-shot .ls-shot-label { order: 0; max-width: none; }
  .ls-hero-shot .ls-badge { order: 1; }
  .ls-hero-shot .ls-phones { order: 2; }
  .ls-hero-shot figcaption { order: 3; }
  .ls-phones { width: 100%; grid-template-columns: minmax(0, 1fr); max-width: 300px; padding-top: 10px; }
  .ls-phones .lr-phone.is-parent { display: none; }
  .ls-phones .lr-phone + .lr-phone { margin-top: 0; }
  .ls-hero-shot .ls-badge { position: static; align-self: flex-start; width: auto; height: auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; padding: 6px 14px; border-radius: 999px; box-shadow: none; }
  .ls-hero-shot .ls-badge b { font-size: max(.9rem, 15px); }
}
/* 特長などの画面の絵は <picture>（WebP を先に読み、読めない端末は PNG）で包む。<picture> は箱にしないので、並び方は絵だけのときと同じ */
.lp-pain-shot picture, .ls-sample-card picture { display: contents; }
/* 中の <source> は表示しない（箱にしない <picture> の中の <source> が、並びのマスを 1 つ取らないように） */
.lp-pain-shot source, .ls-sample-card source { display: none; }
.ls-badge { position: absolute; top: 0; right: max(4px, calc(25% - 62px)); width: 124px; height: 124px; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 1px; background: var(--navy); color: #fff; text-align: center; line-height: 1.3; box-shadow: var(--shadow-lift); }
.ls-badge span { font-size: max(.8rem, 13px); font-weight: 700; letter-spacing: .02em; }
.ls-badge b { font-size: 1.04rem; font-weight: 700; letter-spacing: 0; }
/* 見出しのすぐ下の 1 行：開発中で、申込みと契約を受け付けていないこと */
.ls-hero-rule { margin-top: 12px; font-weight: 700; font-size: max(1rem, 16px); line-height: 1.7; color: var(--ink); }
.ls-hero-rule span { display: inline-block; } /* 文の途中で折れないように、1 文ずつ */
@media (min-width: 960px) { .ls-hero .lp-hero-sub { margin-top: 0; } .ls-hero .ls-points { margin-top: 12px; gap: 8px; } .ls-hero .ls-points li { padding: 8px 12px; } .ls-hero .lp-hero-grid { row-gap: 14px; } }
/* スマホ・タブレット（幅 960px 未満）：説明の文のすぐ下に「動く見本を試す」（最初の画面のうちに押せるように。Copilot の 3 回目の MS-01）。
   最初の画面の下の方の同じボタンは隠す（同じボタンを 2 つ出さない）。パソコンの幅では、左の列の下のボタンだけ */
.ls-hero-try { display: none; }
@media (max-width: 959.98px) {
  .ls-hero-try { display: block; margin: 0; }
  .ls-hero-try .btn { width: 100%; }
  .ls-hero .lp-hero-cta .btn-accent { display: none; }
}
.ls-points { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 18px; }
@media (min-width: 560px) { .ls-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.ls-points li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: max(.9rem, 15px); line-height: 1.5; }
.ls-points .lp-icon { width: 34px; height: 34px; margin: 0; }
@media (max-width: 359px) { .ls-badge { width: 112px; height: 112px; } .ls-badge b { font-size: .96rem; } .ls-badge span { font-size: 13px; letter-spacing: 0; } }
@media (min-width: 960px) { .ls-phones { max-width: 520px; gap: 8px; } .ls-badge { width: 136px; height: 136px; } .ls-badge b { font-size: 1.16rem; } }

/* 下の固定のボタン（スマホは画面の下、パソコンは右下）：最初の画面のボタンを過ぎるまでと、相談の帯が見えている間は出さない。
   同じボタンが同じ画面に 2 つ出ないように（審査 1210）。lesson-top.js が is-held を外す。JS がないときは出さない */
.mobile-cta.is-held { visibility: hidden; }

/* ---------- 開発中の帯（実際の教室では、まだ使われていないこと） ---------- */
.section.ls-proof { padding-block: 48px; text-align: center; }
.ls-proof-text { margin: 16px auto 0; max-width: 40em; font-size: max(1rem, 16px); line-height: 1.85; color: var(--on-navy-soft); }
.ls-proof-link { margin-top: 14px; }
.ls-proof-link a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid color-mix(in srgb, #fff 55%, transparent); color: #fff; font-weight: 700; text-decoration: none; }
.ls-proof-link a:hover { background: color-mix(in srgb, #fff 12%, transparent); }

/* ---------- 悩み：4 つを短く ---------- */
.section.ls-worries, .section.ls-answer, .section.ls-sample, .section.ls-status { padding-block: 72px; }
@media (min-width: 720px) { .section.ls-worries, .section.ls-answer, .section.ls-sample, .section.ls-status { padding-block: 96px; } }
.ls-worry-list { list-style: none; display: grid; gap: 12px; }
.ls-worry-list li { position: relative; padding: 18px 18px 18px 56px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 700; font-size: max(1.02rem, 16px); line-height: 1.7; }
.ls-worry-list li::before { content: ""; position: absolute; left: 24px; top: 28px; width: 12px; height: 12px; border-radius: 50%; background: var(--link); opacity: .7; }
@media (min-width: 720px) { .ls-worry-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }

/* ---------- しくみ：保護者 2 手順 → 教室 2 手順 ---------- */
.ls-flow { list-style: none; counter-reset: lsf; display: grid; gap: 30px; }
.ls-flow li { counter-increment: lsf; position: relative; display: grid; align-content: start; gap: 6px; padding: 22px 20px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ls-flow li + li::before { content: ""; position: absolute; left: 50%; top: -22px; width: 12px; height: 12px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateX(-50%) rotate(45deg); }
.ls-flow li::after { content: counter(lsf, decimal-leading-zero); position: absolute; top: 16px; right: 18px; font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; line-height: 1; color: var(--lp-green); opacity: .45; }
.ls-who { justify-self: start; padding: 2px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .06em; }
.ls-who.is-school { background: var(--lp-green-soft); color: var(--ink); }
.ls-flow b { font-size: max(1.1rem, 17px); line-height: 1.5; }
.ls-flow li > span:last-child { font-size: max(.95rem, 16px); line-height: 1.8; color: var(--ink-soft); }
.ls-answer-note { margin-top: 24px; }
@media (min-width: 960px) {
  .ls-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
  .ls-flow li + li::before { left: -19px; top: 50%; transform: translateY(-50%) rotate(-45deg); }
}

/* ---------- 特長：画面つきの 3 つ（商品ページの .lp-pain の並べ方を使う）＋カード 4 枚 ---------- */
.ls-feat-no { font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; line-height: 1; letter-spacing: .04em; color: var(--lp-green); opacity: .55; }
.ls-feat .lp-pain-title { margin-top: 8px; }
.ls-feats .lp-pain:first-child { border-top: 0; padding-top: 0; }
.ls-cards { margin-top: 40px; }
/* スマホ：画面の絵を少し小さく（長さをへらす） */
@media (max-width: 719.98px) { .ls-feat .lp-pain-shot img { width: min(100%, 300px); } }
/* パソコンの幅：番号・題・文を、画面の絵の高さのまん中にまとめる（上下の余りは、いちばん上と下の行が受ける） */
@media (min-width: 720px) {
  .ls-feat { grid-template-rows: 1fr auto auto 1fr; row-gap: 14px; }
  .ls-feat .lp-pain-shot { grid-row: 1 / 5; }
  .ls-feat .ls-feat-no { grid-row: 1; align-self: end; }
  .ls-feat .lp-pain-title { grid-row: 2; margin-top: 0; }
  .ls-feat .lp-pain-text { grid-row: 3; align-self: start; margin-top: 0; }
  .ls-feats .lp-pain:nth-child(odd) .ls-feat-no { grid-column: 2; }
}

/* ---------- 合う教室・合わない使い方 ---------- */
#notfit { scroll-margin-top: calc(var(--header-h) + 16px); }
.lp-fit h3 + .list-cards, .lp-fit h3 + .lp-checks { margin-top: 14px; }

/* ---------- できること：保護者・教室の 2 つの枠 ---------- */
.ls-two { display: grid; gap: 16px; }
.ls-box { padding: 22px 20px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ls-box h3 { font-size: max(1.1rem, 17px); line-height: 1.5; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.ls-box ul { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.ls-box li { position: relative; padding-left: 22px; font-size: max(.98rem, 16px); line-height: 1.75; color: var(--ink); }
.ls-box li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--lp-green); }
@media (min-width: 860px) { .ls-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .ls-box { padding: 26px 26px 24px; } }

/* ---------- 開発の状況：まだできないことの表 ---------- */
.ls-status-dl { display: grid; gap: 0; max-width: 880px; border-top: 1px solid var(--line); }
.ls-status-dl div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ls-status-dl dt { font-weight: 700; color: var(--ink); font-size: max(1rem, 16px); line-height: 1.6; }
.ls-status-dl dd { margin: 0; color: var(--ink-soft); font-size: max(.98rem, 16px); line-height: 1.75; }
.ls-status-dl dd b { display: block; margin-bottom: 6px; color: var(--ink); line-height: 1.6; }
.ls-measure { max-width: 46em; }
@media (max-width: 719.98px) { .lp-en { display: none; } }
/* 確認用の仮の置き場所（プレビューのビルドの /lesson-preview/）の上の帯 */
.ls-preview-note { margin: 0; padding: 6px 16px; background: var(--navy-deep); color: #fff; font-size: max(.82rem, 13px); font-weight: 700; text-align: center; }
.ls-footer .footer-nav a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 4px; }
/* 最初の画面の絵の上の札・できることの注記・カードの中の注意 */
.ls-shot-label { margin: 0 0 4px; max-width: calc(100% - 150px); text-align: left; font-size: max(.88rem, 14px); font-weight: 700; line-height: 1.5; color: var(--ink-soft); }
.ls-box-note { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: max(.95rem, 16px); line-height: 1.75; color: var(--ink-soft); }
.ls-card-caution, .lp-card p.ls-card-caution { margin-top: 12px; padding: 12px 14px; border: 1px solid color-mix(in srgb, #C8510F 45%, var(--line)); border-left: 5px solid #C8510F; border-radius: 0 10px 10px 0; background: color-mix(in srgb, #C8510F 9%, var(--surface)); color: var(--ink); font-size: max(.98rem, 16px); line-height: 1.75; }
.ls-card-caution b { display: block; margin-bottom: 2px; color: color-mix(in srgb, #C8510F 78%, var(--ink)); font-size: max(1rem, 16px); }
/* PC の幅で、よくある質問の答えの 1 行が 60 字を超えないように */
.lp-faq details p { max-width: 46em; }
@media (min-width: 720px) { .ls-status-dl div { grid-template-columns: 15em minmax(0, 1fr); gap: 28px; } }
.ls-status { scroll-margin-top: var(--header-h); }

/* ---------- 導入までの流れの下の相談ボタン ---------- */
.ls-flow-cta { margin-top: 36px; justify-content: center; gap: 12px; }
.ls-flow-cta .btn { flex: 1 1 220px; max-width: 360px; }
.ls-flow-note { margin: 12px auto 0; max-width: 44em; text-align: center; }
.ls-flow-note a { display: inline-block; padding-block: 12px; margin-block: -12px; min-height: 44px; }

/* ---------- 動く見本（架空の教室）：カード 3 枚 ---------- */
.ls-sample-grid { list-style: none; display: grid; gap: 16px; }
.ls-sample-card { display: grid; gap: 8px; align-content: start; padding: 20px 20px 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
/* 画面の上のほうだけを見せる（下は枠で切る）。全体は「動く見本」で見られる */
.ls-sample-card figure { margin: 0 0 6px; display: grid; justify-items: center; align-items: start; height: 240px; padding-top: 14px; border-radius: 12px; background: var(--tint); overflow: hidden; }
.ls-sample-card img { width: min(100%, 300px); height: auto; }
.ls-sample-card h3 { font-size: max(1.1rem, 17px); line-height: 1.5; }
.ls-sample-card p { font-size: max(.95rem, 16px); line-height: 1.8; color: var(--ink-soft); }
.ls-sample-card .more { min-height: 44px; margin-top: 2px; }
@media (min-width: 720px) { .ls-sample-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) { .ls-sample-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ls-sample-card figure { height: 320px; } }

/* 開発中の試作の画面（サーバーで動く本体の写し。上の見本とは別の物なので、見出しと説明を付けて分ける） */
.ls-sample-note { margin-top: 16px; font-size: max(.9rem, 14px); line-height: 1.7; color: var(--ink-soft); }
.ls-proto { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.ls-proto h3 { font-size: max(1.16rem, 18px); line-height: 1.5; }
.ls-proto > p { margin-top: 8px; max-width: 46em; font-size: max(.95rem, 16px); line-height: 1.8; color: var(--ink-soft); }
.ls-proto-grid { list-style: none; margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.ls-proto-grid figure { margin: 0; display: grid; gap: 8px; }
.ls-proto-grid img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.ls-proto-grid figcaption { font-size: max(.95rem, 16px); line-height: 1.5; color: var(--ink); }
.ls-proto-grid figcaption b { display: block; width: fit-content; margin: 0 0 4px; padding: 1px 8px; border-radius: 999px; background: var(--hl-soft); color: var(--link); font-size: max(.8rem, 13px); }
@media (min-width: 860px) { .ls-proto-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } .ls-proto-grid figcaption b { display: inline-block; margin: 0 8px 0 0; } }

/* ---------- 相談の帯：ボタン 3 つと、行き先の説明 ---------- */
.ls-contact { scroll-margin-top: var(--header-h); }
.ls-contact .btn-outline { background: transparent; color: #fff; border-color: color-mix(in srgb, #fff 60%, transparent); }
.ls-contact .btn-outline:hover { background: color-mix(in srgb, #fff 12%, transparent); color: #fff; border-color: #fff; }
.ls-contact-notes { list-style: none; display: grid; gap: 18px; max-width: 46em; margin: 26px auto 0; text-align: left; }
.ls-contact-notes li b { display: block; color: var(--on-navy); }
.ls-contact-notes li { position: relative; padding-left: 18px; font-size: max(.95rem, 16px); line-height: 1.7; color: var(--on-navy-soft); }
.ls-contact-notes li::before { content: ""; position: absolute; left: 4px; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--on-navy-soft); }

/* ---------- 運営 ---------- */
.ls-company-note { margin-top: 12px; }
.ls-company-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.ls-company-links .more { min-height: 44px; }

/* ---------- フッター ---------- */
.ls-footer .footer-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.2fr); }
.ls-footer .brand-name { display: grid; gap: 1px; font-size: 1.02rem; line-height: 1.2; letter-spacing: .03em; }
.ls-footer .brand-name small { font-family: var(--f-body); font-weight: 700; font-size: max(.8rem, 13px); letter-spacing: .04em; opacity: .8; }
@media (max-width: 900px) { .ls-footer .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .ls-footer .footer-brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { .ls-proof-link a, .ls-contact .btn-outline { transition: none; } }

/* ---------- 見本の画面の再現（2026-11-12。審査 1210）。最初の画面と、しくみの動きで使う ----------
   絵ではなく本物の文字で作る（幅 390px の画面でも字が 13〜16px で読める。前の絵は 4〜7px 相当だった）。
   日付は書かない（絵の日付は古くなり、毎週の日付で動く見本と食い違うため。曜日だけ書く）。見た目は、動く見本（lesson-demo.css）に合わせる */
.lr-phone { position: relative; width: 100%; max-width: 300px; aspect-ratio: 30 / 48; margin-inline: auto; padding: 9px; border-radius: 38px; background: #17202b; box-shadow: 0 24px 44px rgba(20, 38, 64, .22), 0 2px 6px rgba(20, 38, 64, .18); }
.lr-scr { position: absolute; inset: 9px; overflow: hidden; border-radius: 30px; padding: 14px 14px 0; background: var(--paper); color: var(--ink); font-size: 15px; line-height: 1.6; text-align: left; }
.lr-scr::after { content: ""; position: absolute; inset: auto 0 0; height: 36px; background: linear-gradient(transparent, var(--paper)); pointer-events: none; }
.lr-scr > * + * { margin-top: 10px; }
.lr-logo { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 14px; line-height: 1.4; }
.lr-logo i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); box-shadow: inset 0 0 0 4px var(--navy), inset 0 0 0 6px #fff; }
.lr-logo small { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--muted); }
.lr-back { font-size: 14px; font-weight: 700; color: var(--link); }
.lr-h { font-weight: 700; font-size: 1.2rem; line-height: 1.4; }
.lr-small { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.lr-flash { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); border-left: 5px solid var(--lp-green, #1F7A4D); background: var(--surface); font-weight: 700; line-height: 1.6; }
.lr-flash span { display: block; font-weight: 400; font-size: 14px; color: var(--ink-soft); }
.lr-kid { padding-bottom: 4px; border-bottom: 2px solid var(--line); font-weight: 700; font-size: 16px; line-height: 1.5; }
.lr-kid small { display: block; font-size: 14px; color: var(--muted); }
.lr-sub { font-size: 14px; font-weight: 700; color: var(--muted); }
.lr-card { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.lr-card.is-tk { border: 2px solid var(--link); }
.lr-card.is-hl { border: 2px solid var(--link); background: var(--hl-soft); }
.lr-d { font-weight: 700; font-size: 16px; line-height: 1.5; }
.lr-t { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.lr-pill { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: 999px; background: var(--hl-soft); color: var(--link); font-size: 13px; font-weight: 700; line-height: 1.7; white-space: nowrap; }
.lr-btn { position: relative; display: grid; place-items: center; min-height: 40px; margin-top: 4px; padding: 6px 12px; border-radius: 10px; border: 1px solid var(--muted); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 15px; }
.lr-btn.is-fill { justify-self: start; border: 0; background: var(--navy); color: #fff; }
.lr-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); font-weight: 700; font-size: 15px; color: var(--ink-soft); }
.lr-tabs span { padding: 6px 12px 8px; margin-bottom: -2px; border-bottom: 3px solid transparent; }
.lr-tabs span.is-on { border-bottom-color: var(--link); color: var(--link); }
.lr-sum { padding: 8px 12px; border-radius: 10px; background: var(--hl-soft); font-weight: 700; }
.lr-row { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; }
.lr-row + .lr-row { margin-top: 8px; }
.lr-row.is-hl { border: 2px solid var(--link); background: var(--hl-soft); }

/* ---------- しくみの動き（見本の再現・4 場面・約 14 秒・音なし）。lesson-top.js が場面を切りかえる ----------
   画面の半分以上が見えたときだけ動かし、2 回くり返したら最後の場面で止まる。一時停止と、場面を選ぶボタンがある。
   JS がないときと「動きを減らす」設定のときは、自動では動かさない（最後の場面のまま。場面のボタンで切りかえられる）。
   このページでは、ほかの所は動かさない（下の「画面に入ると出てくる動き」を止めている）。動くものは 1 画面に 1 つ */
.ls-flow-wrap { display: grid; gap: 36px; }
.ls-anim { margin: 0; display: grid; justify-items: center; gap: 12px; }
.ls-anim-stage { width: min(300px, 100%); display: grid; gap: 12px; }
.ls-anim .lr-scr { opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s linear .35s; }
.ls-anim[data-screen="a"] .lr-scr[data-s="a"], .ls-anim[data-screen="b"] .lr-scr[data-s="b"], .ls-anim[data-screen="c"] .lr-scr[data-s="c"],
.ls-anim[data-screen="d"] .lr-scr[data-s="d"], .ls-anim[data-screen="e"] .lr-scr[data-s="e"] { opacity: 1; visibility: visible; transition: opacity .35s; }
/* 押す所の印（保護者が押す所）。押す少し前から、青い輪を出す */
.ls-anim .lr-tgt { transition: box-shadow .25s, transform .25s; }
.ls-anim[data-tap="a"] .lr-scr[data-s="a"] .lr-tgt, .ls-anim[data-tap="b"] .lr-scr[data-s="b"] .lr-tgt, .ls-anim[data-tap="c"] .lr-scr[data-s="c"] .lr-tgt { box-shadow: 0 0 0 4px var(--blue); transform: scale(.97); }
/* 字幕：場面ごとに 1 行。いまの場面の分だけ出す */
.ls-anim-sub { min-height: 3.3em; margin: 0; text-align: center; font-weight: 700; font-size: max(1.02rem, 16px); line-height: 1.65; color: var(--ink); }
.ls-anim-sub span { display: none; }
.ls-anim-sub i { display: inline-block; font-style: normal; } /* 言葉のまとまりの途中で折れないように */
.ls-anim-sub b { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 8px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; line-height: 1.7; vertical-align: 2px; }
.ls-anim[data-scene="1"] .ls-anim-sub [data-n="1"], .ls-anim[data-scene="2"] .ls-anim-sub [data-n="2"], .ls-anim[data-scene="3"] .ls-anim-sub [data-n="3"], .ls-anim[data-scene="4"] .ls-anim-sub [data-n="4"] { display: inline; }
.ls-anim-ctrl { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 12px; }
.ls-anim-ctrl[hidden] { display: none; }
.ls-anim-play { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--navy); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.ls-anim-steps { display: flex; gap: 6px; }
.ls-anim-steps button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft); font: inherit; font-weight: 700; cursor: pointer; }
.ls-anim-steps button[aria-current="step"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.ls-anim-play:focus-visible, .ls-anim-steps button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.ls-anim-cap { max-width: 24em; text-align: center; font-size: max(.9rem, 15px); line-height: 1.7; color: var(--muted); }
@media (min-width: 960px) {
  .ls-flow-wrap { grid-template-columns: 320px minmax(0, 1fr); gap: 56px; align-items: start; }
  .ls-flow-wrap .ls-flow { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .ls-flow-wrap .ls-flow li + li::before { left: 50%; top: -22px; transform: translateX(-50%) rotate(45deg); }
}
@media (prefers-reduced-motion: reduce) { .ls-anim .lr-scr, .ls-anim[data-screen] .lr-scr[data-s], .ls-anim .lr-tgt { transition: none; } }

/* 画面に入ると下から出てくる動き（site.css の .reveal。app.js が付ける）は、このサイトでは止める。
   読む前に待たせるだけで伝わることがなく、しくみの動きと同じ画面で動くため（審査 1210） */
main .reveal { transform: none; opacity: 1; transition: none; }
