/* Leg Flow Artist LP v2 — design.md 準拠（お手本: クビレ11/3 LP の型をネイビー×白×イエローに置換） */
:root {
  --navy: #3d4e6b;
  --navy-deep: #2b3a51;
  --white: #ffffff;
  --white-alt: #f3f4f7;
  --ink: #22304a;
  --ink-soft: #5a6678;
  --line: #c8bfbd;
  --line-soft: rgba(200, 191, 189, 0.55);
  --yellow: #f2c84b;
  --yellow-deep: #d9ae2e;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --measure: 40rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.9; letter-spacing: 0.02em; font-feature-settings: "palt"; padding-bottom: 5.5rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
.wrap { width: min(100% - 2.5rem, var(--measure)); margin-inline: auto; }

/* 背景のリズム */
.sec { padding: 4rem 0; }
.sec.navy { background: var(--navy); color: #fff; }
.sec.navy-deep { background: var(--navy-deep); color: #fff; }
.sec.white { background: var(--white); color: var(--ink); }
.sec.white + .sec.white { border-top: 1px solid var(--line); }

/* 見出し: 太い明朝、本文の2.2〜2.6倍 */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 800; letter-spacing: 0.06em; margin: 0; word-break: keep-all; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.25rem); line-height: 1.45; margin-bottom: 1.4rem; }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.5rem); line-height: 1.5; margin: 2.4rem 0 0.9rem; }
.lead { font-size: 1.02rem; margin-bottom: 1.5rem; }

/* 決め文: 太字＋イエロー下線 */
/* 決め文: 太字＋文字の下に太い下線（文字に帯を重ねない） */
.key { font-weight: 700; font-size: clamp(1.15rem, 1rem + 0.8vw, 1.35rem); line-height: 1.75; margin: 1.6rem 0; }
.key span { box-decoration-break: clone; -webkit-box-decoration-break: clone; padding-bottom: 0.12em; background: linear-gradient(var(--yellow), var(--yellow)) no-repeat left bottom / 100% 4px; }
.navy .key span, .navy-deep .key span { color: #fff; }

/* ボタン: ピル型、イエロー */
.btn { display: block; width: 100%; max-width: 30rem; margin: 0 auto; background: var(--yellow); color: var(--navy-deep); text-decoration: none; text-align: center; font-weight: 700; font-size: 1.08rem; padding: 1.1em 1.4em; border-radius: 999px; border: 0; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18); transition: transform 150ms ease; }
.btn:hover { transform: translateY(-2px); }
@media (max-width: 899px) { .btn { padding: 1.1em 0.9em; font-size: 1.03rem; letter-spacing: 0; } }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.white .btn:focus-visible { outline-color: var(--navy); }
.note { font-size: 0.85rem; line-height: 1.7; text-align: center; margin: 0.9rem auto 0; max-width: 30rem; color: var(--ink-soft); }
.navy .note, .navy-deep .note { color: rgba(255, 255, 255, 0.85); }
.cta { margin-top: 2.5rem; }

/* 背景の縦文字（IG投稿の左端ロゴ。薄く、各セクションの背景として） */
.sec { position: relative; z-index: 0; overflow: hidden; }
.sec::before { content: "LEGFLOWARTIST"; position: absolute; z-index: -1; left: -0.55rem; top: 2.2rem; writing-mode: vertical-rl; font-family: "Cinzel", "Trajan Pro", "Times New Roman", serif; font-weight: 600; font-size: clamp(2.6rem, 1.6rem + 5vw, 4.6rem); letter-spacing: 0.04em; line-height: 1; white-space: nowrap; color: var(--line); opacity: 0.09; pointer-events: none; user-select: none; animation: wm-sway 70s ease-in-out infinite alternate; }
.sec.white::before { opacity: 0.16; }
.hero::before { opacity: 0.1; }
@keyframes wm-sway { from { translate: 0 0; } to { translate: 0 -6%; } }
footer::before { content: none; }
/* ネイビー面の細い内枠（IG投稿の枠） */
.sec.navy::after, .sec.navy-deep::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(200, 191, 189, 0.42); pointer-events: none; }
@media (min-width: 900px) { .sec.navy::after, .sec.navy-deep::after { inset: 18px; } }

/* 現れる動き（スクロールで1回だけ、reduced-motionでは無効） */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rv.in { opacity: 1; transform: none; }
.rv.key span { background-size: 0% 4px; transition: background-size 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s; }
.rv.key.in span { background-size: 100% 4px; }
.voice.rv:nth-child(2), .reasons li.rv:nth-child(2), .five li.rv:nth-child(2), .four li.rv:nth-child(2), .flow li.rv:nth-child(2) { transition-delay: 0.08s; }
.voice.rv:nth-child(3), .reasons li.rv:nth-child(3), .five li.rv:nth-child(3), .four li.rv:nth-child(3), .flow li.rv:nth-child(3) { transition-delay: 0.16s; }
.voice.rv:nth-child(4), .five li.rv:nth-child(4), .four li.rv:nth-child(4) { transition-delay: 0.24s; }
.voice.rv:nth-child(5), .five li.rv:nth-child(5) { transition-delay: 0.32s; }
/* ヒーロー: 読み込み時に上から順に */
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sec::before { animation: none; } .hero .label, .hero h1, .hero .sub, .hero .target, .hero .facts, .hero .btn, .hero .note, .hero .photo { animation: none; } .rv { opacity: 1; transform: none; transition: none; } .rv.key span { background-size: 100% 4px; } }

/* 固定ボタン（スマホ） */
.sticky.is-hidden { transform: translateY(110%); }
.sticky { transition: transform 0.25s ease; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(43, 58, 81, 0.96); padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom)); backdrop-filter: blur(6px); }
.sticky .btn { box-shadow: none; padding: 0.9em 1em; font-size: 1rem; }
@media (min-width: 900px) { .sticky { display: none; } body { padding-bottom: 0; } }

/* 写真枠（未入手時はプレースホルダ） */
.photo { position: relative; border: 1px solid var(--line); background: var(--white-alt); overflow: hidden; margin: 1.5rem 0; }
.photo.wide { aspect-ratio: 16 / 10; }
.photo.tall { aspect-ratio: 3 / 4; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.photo .ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--ink-soft); font-size: 0.85rem; line-height: 1.6; background: repeating-linear-gradient(135deg, #eef0f4 0 14px, #f6f7f9 14px 28px); }
.navy .photo, .navy-deep .photo { border-color: var(--line-soft); }
.navy .photo .ph, .navy-deep .photo .ph { background: repeating-linear-gradient(135deg, #46587a 0 14px, #3f5071 14px 28px); color: rgba(255,255,255,0.85); }

/* ロゴ: Leg / Flow / Artist の3段。Helvetica系の素のサンセリフ、字間を詰めて行間を殺す */
.logo { font-family: "Helvetica Neue", Helvetica, Arial, "Inter", sans-serif; font-weight: 400; font-size: 2.6rem; line-height: 0.92; letter-spacing: -0.025em; color: #fff; margin: 0 0 1rem; }
.logo span { display: block; }
.logo::after { content: ""; display: block; width: 3rem; height: 1px; background: rgba(255,255,255,0.7); margin-top: 1.1rem; }
.logo-s::after { margin-top: 0.8rem; }
.logo-s { font-size: 1.5rem; margin: 0; }
footer { text-align: left; }
footer .logo { width: min(100% - 2.5rem, var(--measure)); margin-inline: auto; }
.hero .label { margin-top: 0; }
.hero .logo { font-size: 1.3rem; margin-bottom: 0.9rem; }
.hero .logo::after { width: 2rem; margin-top: 0.6rem; }
@media (max-width: 899px) { footer .logo { margin-left: 1.85rem; } }

/* コンセプト（IG投稿の「名前の意味」と決め文） */
.concept { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 2.2rem 0.2rem 2.2rem; margin: 2.2rem 0 0.5rem; text-align: center; }
.concept-title { font-family: var(--sans); font-size: 1.05rem; letter-spacing: 0.22em; margin: 0 0 1.3rem; opacity: 0.9; }
.meaning { margin: 0 auto 1.6rem; display: grid; gap: 0.55rem; width: fit-content; }
.meaning div { display: grid; grid-template-columns: 4.6em 4.6em; align-items: baseline; column-gap: 1.6rem; }
.meaning dt { font-family: "Helvetica Neue", Helvetica, Arial, "Inter", sans-serif; font-size: 1.3rem; letter-spacing: 0.02em; text-align: right; font-feature-settings: normal; }
.meaning dd { margin: 0; font-family: var(--sans); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.1em; text-align: left; font-feature-settings: normal; }
.concept-line { word-break: keep-all; overflow-wrap: anywhere; font-family: var(--sans); font-weight: 500; letter-spacing: 0.12em; line-height: 1.9; margin: 0; font-size: 1.02rem; font-feature-settings: normal; }
.concept-line span { display: inline-block; font-weight: 700; font-size: clamp(1.35rem, 1.1rem + 1.4vw, 1.9rem); letter-spacing: 0.08em; margin-top: 0.35em; line-height: 1.5; }
.after-voice { font-family: var(--sans); letter-spacing: 0.06em; line-height: 1.9; margin: 2rem auto 0; text-align: center; word-break: keep-all; overflow-wrap: anywhere; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.6rem 0.2rem; }
.after-voice span { display: inline-block; font-weight: 700; font-size: clamp(1.35rem, 1.1rem + 1.4vw, 1.9rem); line-height: 1.55; margin-top: 0.4em; letter-spacing: 0.08em; }

/* FV */
.hero { padding: 2.5rem 0 3rem; }
.hero .wrap { position: relative; display: block; }
.hero .wrap > div:nth-child(2) { position: relative; z-index: 1; }
.hero .logo, .hero h1, .hero .sub { max-width: 54%; }

.hero-legs { position: absolute; right: 0.6rem; top: 0; height: var(--legs-h, 112vw); width: auto; max-width: none; z-index: 0; pointer-events: none; }
.hero-legs img { width: auto; height: 100%; display: block; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.35)); }
.hero .label { font-size: 0.9rem; letter-spacing: 0.1em; color: var(--line); margin-bottom: 0.8rem; }
.hero h1 { font-size: clamp(1.15rem, 5.2vw, 1.9rem); line-height: 1.55; margin-bottom: 1.2rem; color: #fff; }
.hero .pc-br { display: none; }
.hero .tw-line { display: block; width: fit-content; min-height: 1.5em; min-width: 1em; white-space: nowrap; background: #fff; color: var(--navy-deep); font-weight: 800; padding: 0.04em 0.3em; line-height: 1.5; margin-bottom: 0.18em; }
.hero .tw-line:empty { background: transparent; }
.hero .tw-line.on::after { content: ""; display: inline-block; width: 2px; height: 0.95em; background: var(--navy-deep); margin-left: 0.1em; vertical-align: -0.1em; animation: tw-caret 0.8s steps(1) infinite; }
@keyframes tw-caret { 50% { opacity: 0; } }
.hero .sub { font-size: clamp(0.95rem, 4.1vw, 1.08rem); line-height: 1.9; margin-bottom: 1.1rem; }
.hero .sub .l { display: block; white-space: nowrap; }
.hero .sub .box { font-weight: 700; white-space: nowrap; padding-bottom: 0.1em; border-bottom: 3px solid var(--yellow); }
.hero .target { font-weight: 700; margin-bottom: 1.2rem; font-size: 0.97rem; letter-spacing: 0; }
.hero .facts { background: #fff; color: var(--navy-deep); margin: 0 0 1.4rem; padding: 0.9rem 1.1rem; display: grid; gap: 0.55rem; letter-spacing: 0.01em; }
.hero .facts div { display: grid; grid-template-columns: 3.6em 1fr; gap: 0 0.8rem; align-items: baseline; }
.hero .facts dt { font-weight: 700; font-size: 0.86rem; color: var(--navy); letter-spacing: 0.04em; }
.hero .facts dd { margin: 0; font-size: 0.95rem; line-height: 1.6; font-weight: 500; }
.hero .facts b { font-weight: 700; font-size: 1.45rem; line-height: 1.2; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.hero .facts small { font-size: 0.78rem; font-weight: 700; margin-left: 0.1em; }
.hero .facts .early { display: block; margin-top: 0.15rem; font-size: 0.86rem; }
@media (min-width: 900px) { .hero .facts .early { display: inline-block; margin: 0 0 0 0.9em; } }
.hero .facts .early b { font-size: 1.05rem; }
.hero .facts .early .cond { display: block; font-size: 0.78rem; font-weight: 600; color: var(--navy); margin-top: 0.1rem; }
@media (min-width: 900px) { .hero .facts .early .cond { display: inline; margin: 0 0 0 0.6em; } }
@media (min-width: 900px) {
  /* Z型: 左に見出しと申込情報、右に脚 */
  .hero .wrap { width: min(100% - 4rem, 60rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto auto auto; gap: 0 2.5rem; align-items: start; padding-top: 1rem; }
  .hero .wrap > div:nth-child(2) { display: contents; }
  .hero .logo, .hero h1, .hero .sub, .hero .facts { grid-column: 1; }
  .hero .facts { margin-bottom: 0; }
  .hero-legs { grid-column: 2; grid-row: 1 / 5; align-self: stretch; position: relative !important; min-height: 0; width: var(--legs-w, 10rem); }
  .hero-legs img { position: absolute; left: 0; bottom: 0; height: 100%; width: auto; max-width: none; }
  .hero .btn { grid-column: 1 / -1; grid-row: 5; justify-self: center; margin-top: 1.6rem; }
  .hero .logo, .hero h1, .hero .sub { max-width: none; }
  .hero .sub .l { display: inline; }
  .hero .sub .l + .l::before { content: "　"; }
  .hero-legs { height: auto !important; max-width: none; margin: 0; }
  .hero h1 { font-size: 2.4rem; }
  .hero .pc-br { display: block; }
  .hero .tw-line { display: inline; width: auto; margin: 0; box-decoration-break: clone; -webkit-box-decoration-break: clone; line-height: 1.6; }
  .hero .tw-line:nth-of-type(1) { padding-right: 0; }
  .hero .tw-line:nth-of-type(2) { padding-left: 0; }
}
}

/* 受講者の声: カードにしない。引用は明朝、名前と顔写真の枠を下に */
.voices-row { display: flex; gap: 1rem; overflow-x: auto; padding: 0.25rem 0 1rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin: 0 -1.25rem; padding-inline: 1.25rem; }
.voices-row .voice { flex: 0 0 18rem; scroll-snap-align: start; border: 1px solid var(--line); padding: 1.3rem 1.2rem 1.2rem; background: var(--white); display: flex; flex-direction: column; }
.voices-row .voice .q { flex: 1 0 auto; }
.voices-row .voice .who { margin-top: auto; }
.voice .q { font-family: var(--sans); font-weight: 500; font-size: 1rem; line-height: 1.95; letter-spacing: 0.04em; margin: 0 0 1rem; }
.voice .who { display: flex; align-items: center; gap: 0.8rem; }
.face { flex: 0 0 3.6rem; width: 3.6rem; height: 3.6rem; border: 3px solid #fff; outline: 1px solid var(--line); background: var(--white-alt); overflow: hidden; }
.face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.voices-list .face { flex-basis: 4.2rem; width: 4.2rem; height: 4.2rem; }
.voice .name { font-weight: 700; line-height: 1.4; font-size: 0.95rem; }
.voice .meta { font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); line-height: 1.5; }
.more { text-align: center; font-size: 0.9rem; margin-top: 0.5rem; }
.voices-list { margin: 1.5rem 0 0.5rem; border-top: 1px solid var(--line); }
.voices-list .voice { padding: 1.5rem 0 1.4rem; border-bottom: 1px solid var(--line); }
.voices-list .voice .q { font-size: 1.02rem; line-height: 2; }
.voice-single { border: 1px solid var(--line); padding: 1.3rem 1.2rem 1.2rem; margin-top: 1.5rem; }
.disclaimer { font-size: 0.8rem; color: var(--ink-soft); margin: 0.5rem 0 1.5rem; }
.voice .pd { font-size: 0.7rem; color: var(--ink-soft); margin: 0.7rem 0 0; text-align: right; letter-spacing: 0.02em; }
.voices-row .voice .pd { margin-top: 0.6rem; }

/* チェックリスト */
.checks { list-style: none; padding: 0; margin: 1.5rem 0; }
.checks li { display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.9rem 0; border-bottom: 1px solid var(--line-soft); font-weight: 500; line-height: 1.75; }
.checks li:first-child { border-top: 1px solid var(--line-soft); }
.checks svg { flex: 0 0 1.3rem; width: 1.3rem; height: 1.3rem; margin-top: 0.3rem; }

/* 引用 */
/* 引用: 上下の細い罫線だけ。色の棒や背景は付けない */
.quote { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 1.5rem 0.2rem; margin: 1.8rem 0; font-family: var(--sans); font-weight: 500; font-size: 1.08rem; line-height: 2.1; letter-spacing: 0.08em; }
.white .quote { border-color: var(--line); }
.quote cite { display: block; font-style: normal; font-family: var(--sans); font-size: 0.82rem; margin-top: 0.9em; text-align: right; opacity: 0.85; }

/* 3つの考え方: 罫線で区切った番号つきの段落 */
.reasons { list-style: none; counter-reset: r; padding: 0; margin: 1.5rem 0; border-top: 1px solid var(--line-soft); }
.reasons li { counter-increment: r; display: grid; grid-template-columns: 2.2rem 1fr; gap: 0 0.5rem; padding: 1.3rem 0 1.25rem; border-bottom: 1px solid var(--line-soft); }
.reasons li::before { content: counter(r); font-family: var(--sans); font-size: 1.5rem; line-height: 1; color: var(--line); padding-top: 0.15rem; }
.reasons h3 { margin: 0 0 0.5rem; font-size: 1.2rem; font-family: var(--serif); }
.reasons p { grid-column: 2; font-size: 0.97rem; line-height: 1.85; margin: 0; }

/* 5カード・2枠 */
.five { list-style: none; padding: 0; margin: 1.25rem 0; counter-reset: f; border-top: 1px solid var(--line); }
.five li { counter-increment: f; border-bottom: 1px solid var(--line); padding: 0.8rem 0.2rem; font-weight: 700; line-height: 1.6; display: flex; gap: 0.9rem; align-items: baseline; }
.five li::before { content: counter(f); font-family: var(--sans); color: var(--line); font-size: 1.2rem; flex: 0 0 1.2em; }
.pair { display: grid; gap: 1rem; margin: 1.5rem 0; }
@media (min-width: 720px) { .pair { grid-template-columns: 1fr 1fr; } }
.pair .box { border: 1px solid var(--line-soft); padding: 1.2rem 1.15rem; background: rgba(255, 255, 255, 0.06); }
.pair .box h3 { margin: 0 0 0.6rem; font-size: 1.15rem; }
.pair .box ul { margin: 0; padding-left: 1.2em; }
.pair .box li { margin-bottom: 0.5em; line-height: 1.75; }

/* 4条件・10ポイント: ラベルはHTML、図版は文字なしの線画 */
.figrow { display: grid; gap: 1rem; margin: 1.25rem 0 1.5rem; }
@media (min-width: 720px) { .figrow { grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: center; } .figrow-rev { grid-template-columns: 1fr; } .figrow-rev figure { order: -1; max-width: none; } }
.figrow figure { margin: 0; }
.four { list-style: none; counter-reset: w; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.four li { counter-increment: w; font-family: var(--sans); font-weight: 700; font-size: 1.1rem; padding: 0.6em 0.2rem; border-bottom: 1px solid var(--line); display: flex; gap: 0.8rem; align-items: baseline; }
.four li::before { content: counter(w); font-size: 1.1rem; color: var(--line); flex: 0 0 1.1em; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.points h4 { font-family: var(--sans); font-weight: 700; font-size: 1.02rem; margin: 0 0 0.3rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--ink); }
.points ol { list-style: none; counter-reset: pt; padding: 0; margin: 0; }
.points li { counter-increment: pt; font-size: 0.92rem; font-weight: 500; padding: 0.45em 0; border-bottom: 1px solid var(--line-soft); display: flex; gap: 0.5rem; }
.points li::before { content: counter(pt); font-family: var(--sans); color: var(--line); flex: 0 0 1em; }

/* 歩行の4条件: 注釈つき写真4枚（SPは2列、PCは4列） */
.walkgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 0.8rem; margin: 1.25rem 0 1.5rem; }
@media (min-width: 900px) { .walkgrid { grid-template-columns: repeat(4, 1fr); gap: 1.2rem; } }
.walkgrid figure { margin: 0; }
.walkgrid img { width: 100%; height: auto; border: 1px solid var(--line); }
.walkgrid figcaption { font-family: var(--sans); font-weight: 700; font-size: 0.98rem; color: var(--ink); line-height: 1.5; margin-top: 0.6em; display: flex; gap: 0.5rem; align-items: baseline; }
.walkgrid figcaption b { font-weight: 700; color: var(--line); font-size: 1.1rem; }
.walkgrid.rv figure, .walkgrid figure.rv:nth-child(2) { transition-delay: 0.08s; }
.walkgrid figure.rv:nth-child(3) { transition-delay: 0.16s; } .walkgrid figure.rv:nth-child(4) { transition-delay: 0.24s; }
.thigh img { border: 1px solid var(--line); }
.figrow-rev .thigh { width: 100%; }

/* BEFORE / AFTER: 横幅いっぱいのスライダー（IG投稿の写真を切り出し。ラベルはHTML） */
.baslider { width: 100vw; margin: 1.5rem 0 0.5rem calc(50% - 50vw); }
.baslider { overflow: hidden; }
.baslider .track { display: flex; gap: 0.75rem; padding: 0.25rem 0 1rem; will-change: transform; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.baslider .track.is-drag { cursor: grabbing; }
.baslider .track img { -webkit-user-drag: none; pointer-events: none; }
.baslider .track::-webkit-scrollbar { display: none; }
.bapair { flex: 0 0 78vw; max-width: 24rem; margin: 0; }
@media (min-width: 900px) { .bapair { flex-basis: 19rem; } }
.bapair .shots { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.bapair .shots img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 2; border: 1px solid var(--line); }
.bapair figcaption { display: grid; grid-template-columns: 1fr 1fr; font-family: var(--sans); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.16em; text-align: center; color: var(--ink); margin-top: 0.55em; }
.bapair .af { color: #8b2332; display: inline-flex; align-items: center; justify-content: center; gap: 0.35em; }
.bapair .af i { display: inline-block; width: 0; height: 0; border-top: 0.38em solid transparent; border-bottom: 0.38em solid transparent; border-left: 0.6em solid #8b2332; }

.forest { margin: 1.5rem 0; background: #fff; }
.fcanvas { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; }

.anatomy { margin: 1.5rem 0 0; }
.anatomy img { width: 100%; display: block; border: 1px solid var(--line); }

/* 図版 */
figure { margin: 1.5rem 0; }
figure img { width: 100%; }
figcaption { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.5em; }

/* 持ち帰るもの */
.takeaway { background: var(--white-alt); border: 1px solid var(--line); padding: 1.3rem 1.2rem; margin: 1.5rem 0; }
.takeaway h3 { margin: 0 0 0.7rem; font-size: 1.15rem; }
.takeaway ul { margin: 0; padding-left: 1.2em; }
.takeaway li { font-weight: 700; margin-bottom: 0.4em; }
.takeaway li small { display: block; font-weight: 400; font-size: 0.85rem; color: var(--ink-soft); }

/* 講師 */
.profile { display: grid; gap: 1.5rem; margin-bottom: 1.5rem; }
@media (min-width: 720px) { .profile { grid-template-columns: 1fr 13rem; align-items: start; } .profile-photo-right .photo { order: 2; } }
.profile .photo { margin: 0; width: 100%; background: #fff; aspect-ratio: 4 / 5; }
.profile .photo img { object-position: center top; }
@media (min-width: 720px) { .profile .photo { width: 13rem; } }
.profile .name { font-family: var(--sans); font-weight: 700; font-size: 1.6rem; line-height: 1.3; margin: 0 0 0.2rem; }
.profile .title { font-size: 0.92rem; opacity: 0.9; margin-bottom: 1rem; }
.career { margin: 0 0 1.2rem; border-top: 1px solid var(--line-soft); }
.career div { display: grid; grid-template-columns: 3.6em 1fr; gap: 0 0.8rem; padding: 0.55em 0.1rem; border-bottom: 1px solid var(--line-soft); font-size: 0.95rem; line-height: 1.7; }
.career dt { font-family: var(--sans); font-weight: 700; }
.career dd { margin: 0; }
.fact { font-family: var(--sans); font-weight: 700; font-size: 1.18rem; line-height: 1.7; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 1rem 0.1rem; margin: 1.5rem 0 1.2rem; }

/* 料金 */
.price { border: 1px solid var(--line); margin: 1.25rem 0; }
.price .row { display: grid; grid-template-columns: 6.5em 1fr; align-items: baseline; gap: 0.5rem 1rem; padding: 1rem 1.2rem; }
.price .row + .row { border-top: 1px solid var(--line); }
.price .k { font-weight: 700; }
.price .v { font-family: var(--sans); font-weight: 700; font-size: 1.5rem; white-space: nowrap; letter-spacing: 0; }
.price .v small { font-size: 1rem; margin-left: 0.1em; }
.nw { white-space: nowrap; }
.red { color: #c0202a; font-style: normal; font-weight: 700; }
.price .d { grid-column: 2; font-weight: 400; font-size: 0.85rem; color: var(--ink-soft); }

/* 表 */
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 1.25rem 0; background: var(--white); }
th, td { text-align: left; vertical-align: top; padding: 0.8em 0.7em; border-bottom: 1px solid var(--line); line-height: 1.7; }
th { width: 28%; font-weight: 700; background: var(--white-alt); white-space: nowrap; }
tr:first-child th, tr:first-child td { border-top: 1px solid var(--line); }

/* 申込ステップ */
.flow { list-style: none; padding: 0; margin: 1.25rem auto 1.5rem; width: fit-content; max-width: 100%; text-align: left; }
.flow li { font-weight: 700; font-size: clamp(1.15rem, 5.8vw, 1.75rem); line-height: 1.5; padding: 0.35rem 0; white-space: nowrap; letter-spacing: 0.02em; }
.flow-n { display: inline-block; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--sans); font-size: 0.68em; line-height: 1.5em; text-align: center; margin-right: 0.45em; vertical-align: 0.15em; }
.flow-arrow { padding: 0.2rem 0; text-align: center; }
.flow-arrow::before { content: ""; display: inline-block; width: 0; height: 0; border-left: 0.6rem solid transparent; border-right: 0.6rem solid transparent; border-top: 0.8rem solid var(--yellow-deep); }
.line-btn { display: inline-block; vertical-align: middle; margin-left: 0.4em; line-height: 0; }
.line-btn img { height: 1.75em; width: auto; display: inline-block; }
.flow li.rv:nth-child(3) { transition-delay: 0.08s; } .flow li.rv:nth-child(5) { transition-delay: 0.16s; }
.voice.rv:nth-child(4), .five li.rv:nth-child(4), .four li.rv:nth-child(4) { transition-delay: 0.24s; }
.voice.rv:nth-child(5), .five li.rv:nth-child(5) { transition-delay: 0.32s; }
/* FAQ */
.faq { margin: 1rem 0 0; }
.faq dt { font-weight: 700; padding: 1rem 0 0.3rem; border-top: 1px solid var(--line); }
.faq dt::before { content: "Q."; font-family: var(--sans); color: var(--navy); margin-right: 0.5em; }
.faq dd { margin: 0 0 1rem; padding-left: 1.6em; color: var(--ink); }

/* 追伸・特商法 */
.sign { font-family: var(--sans); font-weight: 700; text-align: right; margin: 1.2rem 0 2rem; }
.legal { margin-top: 3rem; border-top: 1px solid var(--line-soft); padding-top: 1.5rem; font-size: 0.8rem; opacity: 0.9; }
.legal h3 { font-size: 1rem; margin: 0 0 0.6rem; }
.legal table { background: transparent; font-size: 0.78rem; color: #fff; }
.legal th, .legal td { border-color: var(--line-soft); }
.legal th { background: rgba(255,255,255,0.06); color: #fff; width: 32%; }
footer { background: var(--navy-deep); color: var(--line); text-align: center; font-family: var(--sans); letter-spacing: 0.12em; font-size: 0.85rem; padding: 1.5rem 0 2rem; }
