/* ==== このページの枠（国試黒本治療家エージェント／体験談ランキング型） ====
   部品の見た目は parts.css（LPパーツ集_体験談ランキング型・無改変）。
   ここには、改行の調整と、台本v7で「既存パーツに無理にはめず専用で」と指定された FV だけを置く。
   ページ枠・サイト名の帯・フッターはサイト共通の ../site.css */
body { padding-bottom: 90px; } /* mt-sticky のぶん */
.mt-prbar { margin-top: .8em; } /* サイト名の帯とのすき間 */
.mt-figure { margin: 1.2em 0; }
.mt-figure img { display: block; width: 100%; border-radius: 6px; }

/* ---- 改行：本文は自然に折り返し、見出し・強調は語句の途中で切らない ---- */
.mt-body p, .mt-body li { text-wrap-style: pretty; } /* text-wrap（一括指定）だとパーツの nowrap を上書きするので -style だけ */
.mt-h2, .mt-h3, .mt-h4, .mt-oneline, .mt-worry, .mt-cta__micro, .mt-conclusion__ttl, .lp-center { text-wrap-style: balance; }
.lp-nw { display: inline-block; } /* この中では改行しない（語句のまとまり） */

/* ---- FV（専用ヒーロー）：背景画像＋HTMLテキスト。CTAは置かない ----
   画像は元の16:9のまま（拡大・切り抜きしない）。スマホもPCも、画像の左の明るい部分に文字を重ねる。
   デザインはFVモック（紺の吹き出し／青の大見出し＋黄マーカー／赤の波線・赤文字＋ピンクマーカー／電球つきの白い箱）に合わせる。
   文字サイズだけ画面幅に合わせて小さくする。 */
.lp-fv { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; margin: 0 -16px 1.6em; aspect-ratio: 16 / 9; padding: 2.6vw 4.5vw;
  background:
    linear-gradient(90deg, rgba(255,255,255,.92) 0, rgba(255,255,255,.8) 45%, rgba(255,255,255,0) 64%),
    url("images/fv-hero.webp") center / cover no-repeat,
    #f7f5f2; }
.lp-fv > p, .lp-fv > h1 { max-width: 64%; }
.lp-fv > .lp-fv__box { max-width: 72%; }
.lp-fv__kicker { position: relative; margin: 0 0 .45em !important; padding: .15em .7em; border-radius: 6px; background: #1d3a66; color: #fff; font-size: clamp(10.5px, 3vw, 16px); font-weight: 700; line-height: 1.45; }
.lp-fv__kicker::after { content: ""; position: absolute; right: 18%; bottom: -5px; border-style: solid; border-width: 6px 5px 0 5px; border-color: #1d3a66 transparent transparent transparent; }
.lp-fv__ttl { margin: 0 0 .35em; font-size: clamp(13px, 3.8vw, 20px); font-weight: 700; line-height: 1.25; color: #333; }
.lp-fv__key { font-size: clamp(19px, 5.7vw, 28px); font-weight: 900; line-height: 1.22; color: var(--mt-blue); background: linear-gradient(transparent 62%, rgba(255, 238, 90, .7) 62%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lp-fv__lead { margin: 0 !important; font-size: clamp(10.5px, 3vw, 15.5px); font-weight: 700; line-height: 1.5; color: #333; }
.lp-fv__wave { text-decoration: underline wavy #e8505b; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lp-fv__lead b { color: var(--mt-red); background: linear-gradient(transparent 60%, rgba(255, 170, 180, .45) 60%); }
.lp-fv__box { position: relative; margin: .5em 0 0 !important; padding: .35em .7em .35em 2.3em; border-radius: 8px; background: rgba(255,255,255,.9); box-shadow: 0 1px 4px rgba(0,0,0,.06); font-size: clamp(10px, 2.75vw, 15px); font-weight: 700; line-height: 1.5; color: #333; white-space: nowrap; }
.lp-fv__box::before { content: ""; position: absolute; left: .5em; top: 50%; width: 1.4em; height: 1.4em; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M12%202.8a6.3%206.3%200%200%200-3.8%2011.3c.7.6%201.1%201.3%201.1%202.1v.6h5.4v-.6c0-.8.4-1.5%201.1-2.1A6.3%206.3%200%200%200%2012%202.8z'%20fill='%23ffd84d'%20stroke='%23333'%20stroke-width='1.3'/%3E%3Cpath%20d='M9.6%2018.6h4.8M10.2%2020.8h3.6'%20stroke='%23333'%20stroke-width='1.5'%20stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.lp-fv__box mark { background: linear-gradient(transparent 55%, #ffe27a 55%); color: #1d3a66; }
.lp-fv__q { position: absolute; font-family: Georgia, "Times New Roman", serif; font-weight: 700; color: #3a3f47; line-height: 1; pointer-events: none; }
.lp-fv__q--1 { top: 6%; left: 64%; font-size: clamp(16px, 5vw, 30px); transform: rotate(-10deg); }
.lp-fv__q--2 { top: 30%; left: 88%; font-size: clamp(11px, 3.2vw, 20px); transform: rotate(12deg); }
@media (min-width: 600px) {
  .lp-fv { margin: 0 0 1.6em; padding: 28px 36px; border-radius: 6px; }
  .lp-fv > p, .lp-fv > h1 { max-width: 58%; }
  .lp-fv > .lp-fv__box { max-width: 62%; }
}

/* 本文中の中央寄せ強調（v7「ボックスにせず通常中央寄せ強調」） */
.lp-center { text-align: center; font-size: 18px; font-weight: 700; line-height: 1.6; }

/* サービス説明後のCTA：ページ中央の主CTAなので、見出し文字を1行足して強める（v7） */
.lp-cta-lead { margin: 0 0 .4em !important; font-size: 22px; font-weight: 900; line-height: 1.4; color: var(--mt-blue); }

/* 公式バナー（mt-banner）：画像を入れる。見本ページと同じく幅を抑えて中央に */
.mt-banner { max-width: 420px; margin-left: auto; margin-right: auto; }
.mt-banner img { display: block; width: 100%; height: auto; border-radius: 4px; }

/* 画像直下の小さな注記（例：※画像はイメージです。）。画像は既存の mt-figure を使う */
.mt-figure + .lp-image-note { margin: -.7em 0 1.4em !important; font-size: 11px; line-height: 1.6; color: #888; text-align: center; }

/* サービス早見（mt-spec）の中の「相談・利用は完全無料」：箱の端にくっつかないよう内側に余白を取り、中央に置く */
.mt-spec > .mt-oneline { margin: .3em 1em 0 !important; text-align: center; }
/* 評価表（mt-spec__grid）の下にも区切り線を引き、「相談・利用は完全無料」との間をあける */
.mt-spec__grid + .mt-oneline { margin-top: 1em !important; }
.mt-spec__grid { border-bottom: 2px solid var(--mt-blue); }

/* 画像指示枠（mt-imgslot）：画像ができるまで常に表示する（GPTに貼る指示文つき）。画像ができたら mt-figure の img に差し替える */
