/*
 * 団体・無料会員・学校の LP の見た目（2026-11-09）
 * prototypes/lp-claude/src/lp.css のうち、この3ページが使う分を .cb-lp の下に限ったもの（元の文言・値は変えていない）。手本は hero-lp.php の <style>。
 * 見た目の語彙は製品の画面から取っている: 青い板／黄色の札／紺のふち＋下に落ちる硬い影／斜めの帯。
 * 書体: 見出しの要所 = Dela Gothic One（header.php が読む）／本文 = BIZ UDPGothic
 * 読み込みは各テンプレートの本文の頭（Cocoon のスタイルより後に効かせるため）。
 */

/* ── 青い板と水色の節を画面の端まで出すため、Cocoon の記事の左右の余白（29px・スマホ 12px）と本文の上の余白を外す。登録フォームの包み（.cb-lp-form）が自分の余白を持つ */
.page-template-organization-lp-php .article, .page-template-page-free-registration-php .article, .page-template-school-lp-php .article { padding-left: 0; padding-right: 0; }
.page-template-organization-lp-php .entry-content, .page-template-page-free-registration-php .entry-content, .page-template-school-lp-php .entry-content { margin-top: 0; }
/* 団体: style.css が古いテンプレート向けに .article を透明にしている（body.page-template-organization-lp .article）。ほかのページと同じ白に戻す */
body.page-template-organization-lp-php .article { background: #fff; padding-bottom: 20px; }
@media (max-width: 834px) { body.page-template-organization-lp-php .article { padding-bottom: 10px; } }
/* 学校: このページだけ Cocoon のページ設定が全幅ではない。上の線が途中で切れ、左右に背景の模様が出るので、中身の枠を画面いっぱいにする（本文の幅は .wrap が決める） */
.page-template-school-lp-php .content-in, .page-template-school-lp-php .main { width: 100%; max-width: none; }
/* 画面下の申込みバー（760px 以下）が出ている間は、Cocoon の「トップへ戻る」（右下）がバーのボタンに重なるので、バーの上へ逃がす（cb-lp.js が body に cb-lp-dock-on を付ける） */
@media (max-width: 760px) { body.cb-lp-dock-on .go-to-top { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); } }

/* ── Cocoon の飾りの打ち消し。:where() で詳細度を「.article .cb-lp」（0,2,0）に留め、Cocoon の「.article h2」などには勝ち、下の部品の指定（.cb-lp .sec h2 など）には負ける（page-about-ai.php と同じ）。
      学校はフォームを本文の列に置くので、フォーム（.rf-regform）の中には当てない */
.article .cb-lp :where(h1, h2, h3, h4):where(:not(.rf-regform *)) { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; color: inherit; }
.article .cb-lp :where(h1, h2, h3, h4):where(:not(.rf-regform *))::before, .article .cb-lp :where(h1, h2, h3, h4):where(:not(.rf-regform *))::after { content: none; display: none; }
.article .cb-lp :where(li, dd, figure):where(:not(.rf-regform *)) { margin: 0; padding: 0; }
.article .cb-lp :where(dl):where(:not(.rf-regform *)) { margin: 1em 0; } /* 試作（ブラウザ既定の 1em）と同じに。Cocoon は dl の下を 1.7em にする */
.article .cb-lp :where(figcaption):where(:not(.rf-regform *)) { margin: 0; padding: 0; opacity: 1; } /* Cocoon は figcaption を opacity .8 にする */
.article .cb-lp :where(table):where(:not(.rf-regform *)) { margin: 0; border: 0; width: auto; }
.article .cb-lp :where(tr, th, td):where(:not(.rf-regform *)) { border: 0; background: none; padding: 0; font-size: inherit; line-height: inherit; } /* Cocoon はスマホで td の文字を小さくする */
.article .cb-lp :where(details, summary):where(:not(.rf-regform *)) { margin: 0; padding: 0; border: 0; background: none; }
.article .cb-lp :where(q):where(:not(.rf-regform *))::before, .article .cb-lp :where(q):where(:not(.rf-regform *))::after { content: none; }
/* Cocoon の目次（.toc）と名前がぶつかるので、Cocoon が付ける枠と余白を外す（下の .cb-lp .toc が順に上書きする） */
.cb-lp .toc { display: block; width: auto; margin: 0; padding: 0; border: 0; }

.cb-lp {
  --ink: #10254d;
  --ink-soft: #485b82;
  --paper: #ffffff;
  --sky: #eaf4ff;
  --sky-line: #c8dcf3;
  --blue: #2274e2;
  --blue-deep: #123a7a;
  --sun: #ffcf1f;
  --sun-deep: #e2a600;
  --flame: #e9710f;

  --w: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 10vw, 136px);
  --radius: 14px;

  --font-text: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --font-display: "Dela Gothic One", "BIZ UDPGothic", "Hiragino Sans", sans-serif;
}
.cb-lp, .cb-lp *, .cb-lp *::before, .cb-lp *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
.cb-lp {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.9;
  line-break: strict;
  overflow-wrap: anywhere;
}
.article .cb-lp :where(img):where(:not(.rf-regform *)), .article .cb-lp :where(video):where(:not(.rf-regform *)) { max-width: 100%; height: auto; display: block; }
.article .cb-lp :where(a):where(:not(.rf-regform *)) { color: var(--blue); text-underline-offset: 0.2em; }
.article .cb-lp :where(a:hover):where(:not(.rf-regform *)) { color: var(--blue-deep); }
.article .cb-lp :where(p):where(:not(.rf-regform *)) { margin: 0 0 1em; }
.article .cb-lp :where(p:last-child):where(:not(.rf-regform *)) { margin-bottom: 0; }
.article .cb-lp :where(ul):where(:not(.rf-regform *)), .article .cb-lp :where(ol):where(:not(.rf-regform *)) { margin: 0; padding: 0; list-style: none; }
.article .cb-lp :where(h1):where(:not(.rf-regform *)), .article .cb-lp :where(h2):where(:not(.rf-regform *)), .article .cb-lp :where(h3):where(:not(.rf-regform *)) { margin: 0; line-height: 1.45; font-feature-settings: "palt"; word-break: auto-phrase; text-wrap: balance; }
.article .cb-lp :where(rt):where(:not(.rf-regform *)) { font-size: 0.5em; font-weight: 400; }
.article .cb-lp :where(small):where(:not(.rf-regform *)) { font-size: 0.82em; }
.cb-lp :focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
.cb-lp .wrap { width: min(100%, calc(var(--w) + var(--gutter) * 2)); margin-inline: auto; padding-inline: var(--gutter); }
/* ───────── ボタン（製品の「スタート！」ボタンと同じ作り: 紺のふち＋下の硬い影） ───────── */
.cb-lp .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 56px; padding: 0.5em 1.6em;
  border: 3px solid var(--blue-deep); border-radius: 12px;
  background: var(--sun); color: var(--blue-deep);
  box-shadow: 0 5px 0 var(--blue-deep);
  font: 700 1.06rem/1.3 var(--font-text); text-decoration: none; text-align: center;
  cursor: pointer; transition: transform 0.08s, box-shadow 0.08s;
}
.cb-lp .btn:hover { color: var(--blue-deep); background: #ffd83f; }
.cb-lp .btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--blue-deep); }
.cb-lp .btn--small { min-height: 44px; padding: 0.3em 1.1em; font-size: 0.94rem; box-shadow: 0 4px 0 var(--blue-deep); }
.cb-lp .btn--quiet { background: var(--paper); }
.cb-lp .btn--quiet:hover { background: var(--sky); }
/* ───────── 黄色の札（製品の MISSION の札）: セクションの対象読者など、意味のあるラベルにだけ使う ───────── */
.cb-lp .tag {
  display: inline-block; padding: 0.2em 0.9em 0.15em;
  background: var(--sun); color: var(--blue-deep);
  font-weight: 700; font-size: 0.9rem; line-height: 1.6;
  clip-path: polygon(0 12%, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
/* ───────── 画面写真 ───────── */
.cb-lp .shot { margin: 0; }
.cb-lp .shot img, .cb-lp .shot video {
  width: 100%;
  border: 3px solid var(--blue-deep); border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--blue-deep);
  background: var(--sky);
}
.cb-lp .shot figcaption { margin-top: 1.1em; font-size: 0.86rem; line-height: 1.7; color: var(--ink-soft); }
/* ───────── ヘッダー＋冒頭 ───────── */
.cb-lp .top {
  position: relative; isolation: isolate; color: #fff;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0 34px, transparent 34px 150px),
    linear-gradient(180deg, #3d92f3 0%, #2274e2 55%, #1b62cf 100%);
  padding-bottom: clamp(88px, 11vw, 150px);
  overflow: hidden;
}
/* 斜めの下端（ミッションの帯と同じ 銀→黄→紺 の線） */
.cb-lp .top::after {
  content: ""; position: absolute; z-index: -1; left: -4%; right: -4%; bottom: -4vw; height: 9vw; min-height: 70px;
  background: var(--paper);
  border-top: 7px solid var(--sun);
  box-shadow: 0 -7px 0 #dbe5f1, inset 0 6px 0 var(--blue-deep);
  transform: rotate(-1.6deg); transform-origin: 50% 0;
}
.cb-lp .bar { display: flex; align-items: center; gap: 24px; padding-block: 18px; }
.cb-lp .bar__nav { margin-left: auto; display: flex; gap: clamp(14px, 2.2vw, 30px); font-size: 0.94rem; font-weight: 700; }
.cb-lp .bar__nav a { color: #fff; text-decoration: none; padding-block: 6px; }
.cb-lp .bar__nav a:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .cb-lp .bar__nav { display: none; }
  .cb-lp .bar .btn { margin-left: auto; }
}
/* 子ども向けのひとこと（子どもがこのページを開いて保護者に見せる流れのため） */
.cb-lp .kidnote {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 6px;
  padding: 4px 18px 4px 6px; border-radius: 999px; background: #fff; color: var(--ink);
  font-size: 0.92rem; font-weight: 700; line-height: 2;
}
.cb-lp .kidnote img { width: 38px; height: 38px; object-fit: contain; }
.cb-lp .kidnote rt { font-size: 0.55em; }
/* 冒頭: 左に 札→見出し→説明、右に料金と申込み。見出しは左の列に2行で収まる大きさにする */
.cb-lp .opening { display: grid; grid-template-columns: minmax(0, 1fr) 330px; column-gap: clamp(24px, 4vw, 56px); align-items: end; padding-top: clamp(20px, 3vw, 36px); }
.cb-lp .opening > .tag { grid-column: 1; justify-self: start; }
.cb-lp .opening h1 {
  grid-column: 1; margin-top: 0.3em;
  font: 400 clamp(1.6rem, calc((100vw - 500px) / var(--h1-div, 9.2)), var(--h1-max, 4.9rem))/1.24 var(--font-display);
  letter-spacing: 0.02em; text-shadow: 0 0.07em 0 var(--blue-deep); text-wrap: wrap;
}
.cb-lp .opening__lead { grid-column: 1; margin-top: 1.4em; max-width: 35em; font-size: clamp(1rem, 1.5vw, 1.12rem); }
.cb-lp .offer { grid-column: 2; grid-row: 1 / span 3; padding: 22px 24px 24px; border-radius: var(--radius); background: #fff; color: var(--ink); border: 3px solid var(--blue-deep); box-shadow: 0 6px 0 var(--blue-deep); }
.cb-lp .offer__price { font-size: 0.95rem; line-height: 1.4; font-weight: 700; }
.cb-lp .offer__price span { display: block; }
.cb-lp .offer__price b { font: 400 2.5rem/1.1 var(--font-display); letter-spacing: 0.01em; margin-right: 0.08em; }
.cb-lp .offer .btn { width: 100%; margin-top: 14px; }
.cb-lp .offer__note { margin-top: 14px; font-size: 0.84rem; line-height: 1.7; color: var(--ink-soft); }
@media (max-width: 900px) {
  .cb-lp .opening { grid-template-columns: minmax(0, 1fr); }
  .cb-lp .opening h1 { font-size: clamp(1.6rem, var(--h1-vw, 8.4vw), 4.9rem); }
  .cb-lp .offer { grid-column: 1; grid-row: auto; margin-top: 28px; max-width: 420px; }
}
/* ───────── 学びの流れ（実画面を順に見せる） ───────── */
.cb-lp .loop { margin-top: clamp(32px, 5vw, 60px); display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: stretch; }
.cb-lp .loop__screen {
  position: relative; aspect-ratio: 1600 / 1063; overflow: hidden;
  border: 4px solid #fff; border-radius: var(--radius); box-shadow: 0 0 0 3px var(--blue-deep), 0 9px 0 var(--blue-deep);
  background: #1b62cf;
}
.cb-lp .loop__screen picture { position: absolute; inset: 0; opacity: 0; transition: opacity 0.45s; }
.cb-lp .loop__screen picture.is-on { opacity: 1; }
.cb-lp .loop__screen img { width: 100%; height: 100%; object-fit: cover; }
.cb-lp .loop__main { min-width: 0; }
.cb-lp .loop__label { margin: 18px 0 0; font-size: 0.82rem; line-height: 1.6; opacity: 0.9; }
.cb-lp .loop__side { display: flex; flex-direction: column; gap: 10px; }
.cb-lp .loop__rail { display: flex; flex-direction: column; gap: 8px; flex: 1; counter-reset: step; }
.cb-lp .loop__rail li { position: relative; border-radius: 12px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.cb-lp .loop__rail li.is-on { background: #fff; color: var(--ink); box-shadow: 0 4px 0 var(--blue-deep); }
.cb-lp .loop__btn {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px;
  border: 0; background: none; color: inherit; font: 700 1rem/1.4 var(--font-text); text-align: left; cursor: pointer;
}
.cb-lp .loop__n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.22); font: 400 0.95rem/1 var(--font-display); }
.cb-lp .is-on .loop__n { background: var(--sun); color: var(--blue-deep); }
.cb-lp .loop__c { margin: 0; padding: 0 16px 16px 56px; font-size: 0.9rem; line-height: 1.75; }
.cb-lp .loop__c q { quotes: none; font-weight: 700; color: var(--flame); }
.cb-lp .loop__c q::before, .cb-lp .loop__c q::after { content: none; }
.cb-lp .loop__c .m-title { display: none; }
/* JS が有効なときだけ、選ばれていない段の説明をたたむ（無効なら全部読める） */
.cb-lp .is-js .loop__rail li:not(.is-on) .loop__c { display: none; }
.cb-lp .loop__bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--flame); }
.cb-lp .is-playing .loop__rail li.is-on .loop__bar { animation: loopbar var(--loop-ms, 6500ms) linear forwards; }
.cb-lp .is-playing.is-held .loop__rail li.is-on .loop__bar { animation-play-state: paused; }
@keyframes loopbar { to { width: 100%; } }
.cb-lp .loop__ctl { align-self: flex-start; border: 0; background: none; color: #fff; font: 700 0.84rem/1 var(--font-text); padding: 8px 4px; cursor: pointer; text-decoration: underline; text-underline-offset: 0.25em; }
.cb-lp .loop:not(.is-js) .loop__ctl { display: none; }
@media (max-width: 980px) {
  .cb-lp .loop { grid-template-columns: 1fr; }
  .cb-lp .loop__rail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .cb-lp .is-js .loop__rail li { display: contents; }
  .cb-lp .is-js .loop__btn { grid-row: 1; justify-content: center; padding: 8px 0; border-radius: 12px; background: rgba(255, 255, 255, 0.14); }
  .cb-lp .is-js .loop__rail li.is-on .loop__btn { background: #fff; color: var(--ink); box-shadow: 0 4px 0 var(--blue-deep); }
  .cb-lp .is-js .loop__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cb-lp .is-js .loop__c { grid-row: 2; grid-column: 1 / -1; padding: 16px 18px; border-radius: 12px; background: #fff; color: var(--ink); min-height: 9.5em; }
  .cb-lp .is-js .loop__c .m-title { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 0.2em; }
  .cb-lp .is-js .loop__bar { display: none; }
  .cb-lp .loop:not(.is-js) .loop__rail { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cb-lp .loop__screen picture { transition: none; }
}
/* ───────── セクション共通 ───────── */
.cb-lp .sec { padding-block: var(--section); }
.cb-lp .sec--sky { background: var(--sky); }
/* 青い板の上に置くセクション（学びの流れを途中に置くとき） */
.cb-lp .sec--blue { color: #fff; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0 34px, transparent 34px 150px), linear-gradient(180deg, #3d92f3 0%, #1b62cf 100%); }
.cb-lp .sec--blue .loop { margin-top: 0; }
.cb-lp .sec__head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.cb-lp .sec h2 { font-size: clamp(1.65rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: 0.01em; }
.cb-lp .sec__head p { margin-top: 1.2em; max-width: 37em; }
.cb-lp .sec h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; }
.cb-lp .note { font-size: 0.86rem; line-height: 1.8; color: var(--ink-soft); }
.cb-lp .split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.cb-lp .split--flip > :first-child { order: 2; }
.cb-lp .split--wide { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.cb-lp .split__text > * + * { margin-top: 1.2em; }
.cb-lp .split__text > h3 + p { margin-top: 0.6em; }
@media (max-width: 860px) {
  .cb-lp .split, .cb-lp .split--wide { grid-template-columns: 1fr; }
  .cb-lp .split--flip > :first-child { order: 0; }
}
/* ───────── 教材の概要（表のように読める定義リスト） ───────── */
.cb-lp .facts { border-top: 3px solid var(--ink); }
.cb-lp .facts > div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 4px 24px; padding-block: 18px; border-bottom: 1px solid var(--sky-line); }
.cb-lp .facts dt { font-weight: 700; }
.cb-lp .facts dd { margin: 0; }
@media (max-width: 560px) {
  .cb-lp .facts > div { grid-template-columns: 1fr; }
}
.cb-lp .duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 64px); margin-top: clamp(48px, 7vw, 88px); }
.cb-lp .duo h3 { margin-top: 1.3em; }
.cb-lp .duo p { margin-top: 0.6em; font-size: 0.97rem; }
.cb-lp .duo p + p { margin-top: 1em; }
@media (max-width: 860px) {
  .cb-lp .duo { grid-template-columns: 1fr; }
}
/* ───────── コースの表 ───────── */
.cb-lp .table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.cb-lp .table th, .cb-lp .table td { padding: 16px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--sky-line); }
.cb-lp .table thead th { border-bottom: 3px solid var(--ink); font-size: 0.88rem; white-space: nowrap; }
.cb-lp .table tbody th { font-size: 1.05rem; white-space: nowrap; }
.cb-lp .table .num { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) {
  .cb-lp .table thead { display: none; }
  .cb-lp .table, .cb-lp .table tbody, .cb-lp .table tr, .cb-lp .table th, .cb-lp .table td { display: block; }
  .cb-lp .table tr { padding-block: 16px; border-bottom: 1px solid var(--sky-line); }
  .cb-lp .table th, .cb-lp .table td { padding: 2px 0; border: 0; }
  .cb-lp .table td[data-l]::before { content: attr(data-l) "："; font-weight: 700; }
}
/* ───────── 安全・見守り ───────── */
.cb-lp .pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
@media (max-width: 760px) {
  .cb-lp .pair { grid-template-columns: 1fr; }
}
.cb-lp .list { display: grid; gap: 0; border-top: 3px solid var(--ink); margin-top: 16px; }
.cb-lp .list li { padding: 15px 0; border-bottom: 1px solid var(--sky-line); }
.cb-lp .list b { display: block; }
.cb-lp .list span { display: block; font-size: 0.93rem; color: var(--ink-soft); line-height: 1.75; }
/* ───────── 開発者 ───────── */
.cb-lp .people { display: grid; gap: clamp(40px, 6vw, 72px); }
.cb-lp .person { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.cb-lp .person__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; border-radius: 50%; border: 3px solid var(--blue-deep); }
.cb-lp .person__name { font-size: 1.3rem; font-weight: 700; }
.cb-lp .person__bio { margin-top: 0.3em; font-size: 0.86rem; line-height: 1.75; color: var(--ink-soft); }
.cb-lp .person__say { margin-top: 1.1em; max-width: 38em; }
.cb-lp .person__say h3 { font-size: 1.15rem; margin-bottom: 0.6em; }
@media (max-width: 640px) {
  .cb-lp .person { grid-template-columns: 1fr; }
  .cb-lp .person__photo { width: 120px; }
}
.cb-lp .steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.cb-lp .steps li { counter-increment: s; padding: 20px 20px 22px; border-radius: var(--radius); background: #fff; border: 2px solid var(--sky-line); font-size: 0.93rem; line-height: 1.8; }
.cb-lp .steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 10px; border-radius: 50%; background: var(--blue); color: #fff; font: 400 1.1rem/1 var(--font-display); }
.cb-lp .steps b { display: block; font-size: 1.02rem; line-height: 1.5; margin-bottom: 0.3em; }
@media (max-width: 900px) {
  .cb-lp .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .cb-lp .steps { grid-template-columns: 1fr; }
}
/* ───────── よくある質問 ───────── */
.cb-lp .faq { border-top: 3px solid var(--ink); max-width: 52rem; }
.cb-lp .faq details { border-bottom: 1px solid var(--sky-line); }
.cb-lp .faq summary { position: relative; padding: 20px 48px 20px 0; font-weight: 700; cursor: pointer; list-style: none; }
.cb-lp .faq summary::-webkit-details-marker { display: none; }
.cb-lp .faq summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(45deg); transition: transform 0.15s; }
.cb-lp .faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.cb-lp .faq details p { padding: 0 0 22px; max-width: 42em; font-size: 0.97rem; }
/* ───────── 最後の申込み ───────── */
.cb-lp .cb-close {
  position: relative; isolation: isolate; color: #fff; text-align: left; overflow: hidden;
  padding-block: clamp(96px, 12vw, 160px) clamp(72px, 9vw, 112px);
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0 34px, transparent 34px 150px),
    linear-gradient(180deg, #3d92f3 0%, #1b62cf 100%);
}
.cb-lp .cb-close::before {
  content: ""; position: absolute; z-index: -1; left: -4%; right: -4%; top: -4vw; height: 9vw; min-height: 70px;
  background: var(--paper);
  border-bottom: 7px solid var(--sun);
  box-shadow: 0 7px 0 var(--blue-deep), inset 0 -6px 0 #dbe5f1;
  transform: rotate(-1.6deg); transform-origin: 50% 100%;
}
.cb-lp .cb-close__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 64px); align-items: center; }
.cb-lp .cb-close h2 { font: 400 clamp(1.9rem, 4.6vw, 3.3rem)/1.3 var(--font-display); text-shadow: 0 0.07em 0 var(--blue-deep); }
.cb-lp .cb-close p { margin-top: 1.2em; max-width: 34em; }
@media (max-width: 860px) {
  .cb-lp .cb-close__grid { grid-template-columns: 1fr; }
}
/* ───────── 画面下の申込みバー（冒頭を過ぎたら出す。スマホ用） ───────── */
.cb-lp .dock { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 3px solid var(--blue-deep); transform: translateY(110%); visibility: hidden; transition: transform 0.2s, visibility 0.2s; }
.cb-lp .dock.is-on { transform: none; visibility: visible; }
.cb-lp .dock__price { font-weight: 700; font-size: 0.9rem; line-height: 1.3; }
.cb-lp .dock__price b { font: 400 1.35rem/1 var(--font-display); }
@media (max-width: 760px) {
  .cb-lp .dock { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  .cb-lp .dock { transition: none; }
}
/* ───────── 3枚並べる（クイズバトル・タイピングバトル・素材。2026-11-08） ───────── */
.cb-lp .trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 48px); margin-top: clamp(48px, 7vw, 88px); }
.cb-lp .trio h3 { margin-top: 1.2em; font-size: 1.1rem; }
.cb-lp .trio p { margin-top: 0.55em; font-size: 0.95rem; }
@media (max-width: 980px) {
  .cb-lp .trio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cb-lp .trio { grid-template-columns: 1fr; }
}
/* ───────── 動く絵（無音の短いループ動画。2026-11-08） ─────────
   画面に近づいたら読み、見えない間は止める（lp.js）。動きを減らす設定・省データでは最初のコマの写真（poster）のまま */
.cb-lp .shot video { width: 100%; }
/* 学びの流れ: 981px 以上で、動画を使えるときだけ写真の代わりに動画（lp.js が .loop に is-video を付ける。スマホは切り出した写真の5段のまま） */
.cb-lp .loop__screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.cb-lp .loop.is-video .loop__screen video { display: block; }
.cb-lp .loop.is-video .loop__screen picture { display: none; }
.cb-lp .loop.is-video .loop__bar { display: none; }
.cb-lp .loop__labelVideo { display: none; }
.cb-lp .loop.is-video .loop__labelVideo { display: inline; }
/* ═════════ 団体向けだけで使うもの ═════════ */
/* 冒頭: 生徒の画面と先生の画面を並べる */
/* 2枚の高さをそろえる: 列の幅を写真の縦横比（HTML の --two-a・--two-b）で分け、写真は切り落とさない（2026-11-09。前は 3:2 に切り落として、端の文字と見出しが欠けた）。
   枠はふちではなく影で描く（ふちだと縦横比のちがう2枚で高さが数 px ずれる） */
.cb-lp .two { margin-top: clamp(32px, 5vw, 60px); display: grid; grid-template-columns: minmax(0, var(--two-a, 1fr)) minmax(0, var(--two-b, 1fr)); gap: clamp(24px, 3vw, 36px); align-items: start; }
.cb-lp .two figure { margin: 0; }
.cb-lp .two img, .cb-lp .two video { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--blue-deep), 0 9px 0 4px var(--blue-deep); background: #fff; }
.cb-lp .two figcaption { margin-top: 24px; font-size: 0.95rem; line-height: 1.75; }
.cb-lp .two figcaption b { display: block; font-size: 1.08rem; }
@media (max-width: 760px) {
  .cb-lp .two { grid-template-columns: 1fr; }
}
/* 先生の仕事 3つ */
.cb-lp .jobs { display: grid; gap: clamp(56px, 8vw, 104px); }
.cb-lp .jobs .duo { margin-top: clamp(32px, 5vw, 56px); }
/* 料金の計算 */
.cb-lp .calc { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); background: #fff; border: 3px solid var(--blue-deep); box-shadow: 0 6px 0 var(--blue-deep); }
.cb-lp .calc__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: end; }
.cb-lp .calc label { font-weight: 700; display: block; }
.cb-lp .calc__input { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.cb-lp .calc input[type="range"] { flex: 1; min-width: 0; accent-color: var(--blue); height: 32px; }
.cb-lp .calc input[type="number"] { width: 5.2em; padding: 8px 10px; border: 2px solid var(--blue-deep); border-radius: 10px; font: 700 1.2rem/1.2 var(--font-text); color: var(--ink); text-align: right; }
.cb-lp .calc__out { text-align: right; line-height: 1.3; font-weight: 700; }
.cb-lp .calc__out b { font: 400 clamp(2.4rem, 6vw, 3.6rem)/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.cb-lp .calc__formula { margin-top: 6px; font-size: 0.88rem; color: var(--ink-soft); font-weight: 400; }
.cb-lp .calc ul { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--sky-line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; font-size: 0.95rem; }
.cb-lp .calc li { padding-left: 1.5em; position: relative; }
.cb-lp .calc li::before { content: ""; position: absolute; left: 0.1em; top: 0.6em; width: 0.75em; height: 0.4em; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }
@media (max-width: 700px) {
  .cb-lp .calc__row { grid-template-columns: minmax(0, 1fr); }
  .cb-lp .calc__out { text-align: left; }
  .cb-lp .calc ul { grid-template-columns: minmax(0, 1fr); }
}
/* ═════════ 学校向けの案内ページだけで使うもの ═════════
   説得するページではなく、先生が読んで判断するための案内。
   青い板・斜めの帯・見出し用の書体・画面下の申込みバーは使わない。LP と揃えるのは、書体・色・ボタン・表の線だけ。 */
.cb-lp.doc { --w: 1080px; }
.cb-lp .doc-bar { border-bottom: 1px solid var(--sky-line); }
.cb-lp .doc-bar .wrap { display: flex; align-items: center; gap: 20px; padding-block: 14px; }
.cb-lp .doc-bar__link { font-size: 0.92rem; font-weight: 700; }
@media (max-width: 600px) {
  .cb-lp .doc-bar__link { display: none; }
}
.cb-lp .doc-head { max-width: 46rem; padding-block: clamp(36px, 6vw, 72px) clamp(32px, 5vw, 56px); }
.cb-lp .doc-head h1 { margin-top: 0.5em; font-size: clamp(1.7rem, 4.2vw, 2.5rem); font-weight: 700; line-height: 1.35; }
.cb-lp .doc-head p { margin: 1.1em 0 0; }
.cb-lp .doc-act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.cb-lp .doc-act p { flex: 1 1 16em; margin: 0; font-size: 0.9rem; line-height: 1.7; color: var(--ink-soft); }
/* 左に目次、右に本文。目次は読んでいる間ついてくる */
.cb-lp .doc-body { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; padding-bottom: var(--section); }
.cb-lp .doc-main { min-width: 0; }
.cb-lp .toc { position: sticky; top: 24px; font-size: 0.92rem; line-height: 1.5; }
.cb-lp .toc__title { margin: 0 0 10px; font-size: 0.84rem; font-weight: 700; color: var(--ink-soft); }
.cb-lp .toc ol { border-left: 2px solid var(--sky-line); }
.cb-lp .toc a { display: block; margin-left: -2px; padding: 7px 0 7px 16px; border-left: 2px solid transparent; color: var(--ink-soft); text-decoration: none; }
.cb-lp .toc a:hover { color: var(--ink); }
.cb-lp .toc a[aria-current] { border-left-color: var(--blue-deep); color: var(--ink); font-weight: 700; }
@media (max-width: 900px) {
  .cb-lp .doc-body { grid-template-columns: minmax(0, 1fr); }
  .cb-lp .toc { position: static; padding: 16px 20px 14px; border-radius: 10px; background: var(--sky); }
  .cb-lp .toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; border-left: 0; }
  .cb-lp .toc a, .cb-lp .toc a[aria-current] { margin-left: 0; padding: 6px 0; border-left: 0; color: var(--blue); font-weight: 400; text-decoration: underline; }
}
@media (max-width: 420px) {
  .cb-lp .toc ol { grid-template-columns: minmax(0, 1fr); }
}
/* 節: 上の太い線と見出しで始める */
.cb-lp .doc-sec { padding-top: clamp(18px, 3vw, 26px); border-top: 3px solid var(--ink); scroll-margin-top: 20px; }
.cb-lp .doc-sec + .doc-sec { margin-top: clamp(56px, 8vw, 88px); }
.cb-lp .doc-sec h2:where(:not(.rf-regform *)) { margin-bottom: 0.9em; font-size: clamp(1.35rem, 2.8vw, 1.7rem); font-weight: 700; }
.cb-lp .doc-sec h3:where(:not(.rf-regform *)) { margin: 2.2em 0 0.4em; font-size: 1.1rem; font-weight: 700; }
.cb-lp .doc-sec > p { max-width: 42em; }
.cb-lp .doc-sec > .note { max-width: none; }
.cb-lp.doc .facts, .cb-lp.doc .list { border-top: 1px solid var(--sky-line); }
.cb-lp.doc .facts { margin-top: 1.4em; }
.cb-lp .doc-sec h2 + .facts { margin-top: 0; }
.cb-lp .facts--wide > div { grid-template-columns: 13em minmax(0, 1fr); }
@media (max-width: 560px) {
  .cb-lp .facts--wide > div { grid-template-columns: 1fr; }
}
.cb-lp.doc .pair h3 { margin-top: 0.4em; }
.cb-lp.doc .pair + p { margin-top: 1.6em; }
.cb-lp.doc .list { margin-top: 10px; }
/* 画面写真: 細い線で囲むだけ（LP の太いふちと影は使わない） */
.cb-lp .fig { display: block; margin: 1.2em 0 0; }
.cb-lp .fig img { width: 100%; border: 1px solid var(--sky-line); border-radius: 8px; background: var(--sky); }
.cb-lp .fig video { display: block; width: 100%; height: auto; border: 1px solid var(--sky-line); border-radius: 8px; background: var(--sky); }
.cb-lp .fig__media { position: relative; }
.cb-lp .fig__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 0.5em; margin: 0; padding: 0.75em 1.4em; border: 0; border-radius: 999px; background: rgba(16, 37, 77, 0.82); color: #fff; font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; white-space: nowrap; cursor: pointer; box-shadow: 0 4px 14px rgba(16, 37, 77, 0.3); }
.cb-lp .fig__play:hover, .cb-lp .fig__play:focus-visible { background: var(--blue); }
.cb-lp .fig__play:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.cb-lp .fig__play[hidden] { display: none; }
.cb-lp .fig figcaption { margin-top: 0.7em; font-size: 0.86rem; line-height: 1.7; color: var(--ink-soft); }
.cb-lp .fig--small { max-width: 300px; }
.cb-lp .fig-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
@media (max-width: 640px) {
  .cb-lp .fig-pair { grid-template-columns: minmax(0, 1fr); }
}
/* 課題を1つ解くまで（写真と説明を上から順に並べる。全部が最初から見えている） */
.cb-lp .seq { counter-reset: seq; margin-top: 1.6em; border-top: 1px solid var(--sky-line); }
.cb-lp .seq li { counter-increment: seq; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(16px, 3vw, 28px); align-items: center; padding-block: 20px; border-bottom: 1px solid var(--sky-line); }
.cb-lp .seq .fig { margin: 0; }
.cb-lp .seq h3 { display: flex; align-items: center; gap: 0.6em; margin: 0 0 0.5em; }
.cb-lp .seq h3::before, .cb-lp .doc-steps li::before {
  content: counter(seq); flex: none; display: grid; place-items: center; width: 1.8em; height: 1.8em; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 0.9rem; font-weight: 700; line-height: 1;
}
.cb-lp .seq p { font-size: 0.97rem; }
.cb-lp .seq + .note { margin-top: 1em; }
@media (max-width: 640px) {
  .cb-lp .seq li { grid-template-columns: minmax(0, 1fr); }
}
/* 利用開始の流れ */
.cb-lp .doc-steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cb-lp .doc-steps li { counter-increment: s; padding-top: 16px; border-top: 1px solid var(--sky-line); font-size: 0.95rem; line-height: 1.8; }
.cb-lp .doc-steps li::before { content: counter(s); margin-bottom: 10px; }
.cb-lp .doc-steps b { display: block; font-size: 1.05rem; line-height: 1.5; margin-bottom: 0.2em; }
@media (max-width: 640px) {
  .cb-lp .doc-steps { grid-template-columns: minmax(0, 1fr); }
}
.cb-lp .doc-note { margin: 1.8em 0 1.4em; padding: 16px 20px; border-left: 4px solid var(--sun-deep); border-radius: 0 8px 8px 0; background: #fff9e0; font-size: 0.95rem; }
/* よくある質問（たたまずに全部出す） */
.cb-lp .qa { margin: 0; border-top: 1px solid var(--sky-line); }
.cb-lp .qa > div { padding-block: 20px; border-bottom: 1px solid var(--sky-line); }
.cb-lp .qa dt { font-weight: 700; }
.cb-lp .qa dd { margin: 0.5em 0 0; max-width: 42em; font-size: 0.97rem; }
/* 自由制作の画面を見せる学びの流れ: 3段（スマホでは番号が横に並ぶ）。画面写真は 16:10 */
.cb-lp .loop--free .loop__screen { aspect-ratio: 16 / 10; }
@media (max-width: 980px) {
  .cb-lp .loop--free .loop__rail { grid-template-columns: repeat(3, 1fr); }
}
/* 登録なし／無料会員の比較。無料会員の列だけ白地にして目が行くようにする */
.cb-lp .compare thead td { border-bottom: 3px solid var(--ink); }
.cb-lp .compare tbody th { width: 10.5em; white-space: normal; font-size: 1rem; }
.cb-lp .compare thead th:last-child, .cb-lp .compare tbody td:last-child { background: #fff; font-weight: 700; }
.cb-lp .compare tbody td { width: 40%; }
@media (max-width: 700px) {
  .cb-lp .compare tbody th { width: auto; font-size: 1.05rem; margin-bottom: 4px; }
  .cb-lp .compare tbody td { width: auto; }
  .cb-lp .compare tbody td:last-child { background: none; }
}
/* 登録の流れが3段のとき */
.cb-lp .steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .cb-lp .steps--3 { grid-template-columns: 1fr; }
}

/* ───────── テーマの中でだけ要るもの ───────── */
/* 無料の「無料で登録する」・学校の「登録フォームへ」は文字が長く、320px では左上の固定ロゴに届くので、狭い幅では左右の余白を詰める */
@media (max-width: 360px) { .cb-lp .bar .btn, .cb-lp .doc-bar .btn { padding-inline: 0.7em; } }
/* 学校: ロゴの帯は Cocoon の固定ロゴに置き換わるので、残りは右寄せ。目次と節の頭は固定ロゴの下へ */
.cb-lp .doc-bar .wrap { justify-content: flex-end; }
.cb-lp .toc { top: 76px; }
.cb-lp .doc-sec, .cb-lp #registration, .cb-lp-form #registration { scroll-margin-top: 72px; } /* #registration は3ページとも。ボタンで飛んだときに、見出しや「すでに登録されています。」が固定ロゴ（下端 64px）に隠れないように */
@media (max-width: 900px) { .cb-lp .toc { top: auto; } }
.cb-lp .doc-register { margin-top: 1.6em; }

/* ───────── 登録フォームの外わく（フォームの中身は css/reg-flow.css の .rf-regform） ───────── */
.cb-lp-form { padding: 0 clamp(12px, 4vw, 48px) clamp(48px, 7vw, 96px); }
.cb-lp-form__box { margin-top: 3rem; }
.registration-form { max-width: 600px; margin: 3rem auto 0; padding: 2rem; background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); }
.registration-form__head { margin-bottom: 1.5rem; text-align: center; }
.article .registration-form__head h2 { margin: 0 0 0.5em; padding: 0; border: 0; background: none; box-shadow: none; color: #10254d; font-size: clamp(1.3rem, 3vw, 1.6rem); font-weight: 700; line-height: 1.45; }
.article .registration-form__head h2::before, .article .registration-form__head h2::after { content: none; display: none; }
.article .registration-form__head p { margin: 0; color: #485b82; font-size: 0.95rem; line-height: 1.7; }
.login-link { max-width: 640px; margin: 1.5rem auto 0; color: #485b82; font-size: 0.92rem; text-align: center; }
.article .login-link p { margin: 0; }
.login-link a { color: #2274e2; font-weight: 700; }
/* 団体: 登録済み・別アカウントの案内と、登録後の流れ */
.olp-status-box { margin: 2rem 0; padding: 2rem; border-radius: 12px; text-align: center; }
.olp-status-box--ok { background: #e7f6ec; color: #14532d; }
.olp-status-box--warn { background: #fdf3dc; color: #92400e; }
.article .olp-status-box h3 { padding: 0; border: 0; background: none; color: inherit; font-size: 1.25rem; }
.article .olp-status-box h3::before, .article .olp-status-box h3::after { content: none; display: none; }
.olp-flow { margin-top: 2.6rem; }
.article .olp-flow h4 { margin: 0 0 1.6rem; padding: 0; border: 0; background: none; color: #10254d; font-size: 1.15rem; font-weight: 700; text-align: center; }
.article .olp-flow h4::before, .article .olp-flow h4::after { content: none; display: none; }
.olp-flow-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.5rem 1rem; counter-reset: olpstep; }
.olp-flow-step { position: relative; padding: 1.6rem 0.9rem 1.1rem; border: 1px solid #c8dcf3; border-radius: 10px; background: #eaf4ff; text-align: center; counter-increment: olpstep; }
.olp-flow-step::before { content: counter(olpstep); position: absolute; top: -16px; left: 50%; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #2274e2; color: #fff; font-weight: 700; transform: translateX(-50%); }
.olp-flow-step strong { display: block; margin-bottom: 0.3rem; color: #10254d; }
.olp-flow-step small { color: #485b82; }
.olp-flow-step strong, .olp-flow-step small { word-break: auto-phrase; line-break: strict; }
@media (max-width: 768px) { .registration-form { margin: 2rem 1rem 0; padding: 1.5rem; } }
@media (max-width: 640px) {
  .registration-form { margin: 2rem 0 0; padding: 1.5rem 0.75rem; }
  .cb-lp-form__box { margin-top: 2rem; }
  .olp-status-box { padding: 1.25rem 1rem; }
}
