@charset "UTF-8";
/* ============================================================================
 * FDE診断 LP — スタイル（段3・2026-10-15 第9版）
 * ----------------------------------------------------------------------------
 * 9節（ファーストビュー → おすすめ → FDE診断とは → 受け方 → 分かること → 生かし方 → 根拠 → 質問 → 開始）。
 * 節の番号は付けない。見出しは名詞で短く、本文はです・ます調。イラストは AIキャリア診断の人物と同じ描き方。
 *
 * 見た目の決まり:
 *   余白は 8/12/16/24/32/48/64/96。節の上下は PC 96px・スマートフォン 64px。
 *   角丸は 16（札）・12（小さい札）・999（丸い札とボタン）。影は2段（--sh-1・--sh-2）。黄色はボタンだけ。
 *
 * 動き（第8版から続けて）:
 *   要素（[data-in]）は、画面に入ったら1回だけ薄く現れ、そのまま残る（lp.js が .is-in を付けて外さない）。
 *   固定の節・スクロールの進み具合に結びついた表示・カウントアップ・黄色い丸は使わない。
 *   ページの末尾まで来たら、lp.js が残りの要素を全部表示する。印刷と JS が無いときも全部表示。
 *   ★prefers-reduced-motion: reduce のときは遷移も付けない（ファイル末尾）。
 *
 * 受験の画面と結果（.fde-*）、型 × 段階の表（.tl-*）、求人の札（.lp-job）はこのファイルの後半。
 * 既存の LP・ウィジェットは書き換えない（このファイルだけで完結させる）。
 * ========================================================================== */

@font-face {
  font-family: "YakuHanJP";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/YakuHanJP/YakuHanJP-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "YakuHanJP";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/YakuHanJP/YakuHanJP-Bold.woff2") format("woff2");
}

:root {
  --lp-navy: #16233f;
  --lp-night: #0b1d47;
  --lp-night-2: #0b2a66;
  --lp-bg: #ffffff;
  --lp-f-blue: #2670d2;
  --lp-f-blue-80: #599af2;
  --lp-f-blue-20: #ebf4ff;
  --lp-f-blue-10: #f5f9ff;
  --lp-f-blue-40: #cbe8ff;
  --lp-f-gold: #d29c09;
  --lp-f-gold-soft: #fdf5dc;
  --lp-f-gold-text: #8c6400;
  --lp-f-ink: #07132d;
  --lp-f-ink-2: #193162;
  --lp-f-muted: #5f6779;
  --lp-f-line: #b1b9cb;
  --lp-gray-line: #d5dbe6;
  --lp-gray-bg: #f7f8fb;
  --lp-f-yellow-top: #fff45a;
  --lp-f-yellow-bottom: #ffe31a;
  --lp-ok: #13803c;
  --lp-ng: #b42318;
  --g-decide: #2670d2;
  --g-build: #d29c09;
  --g-build-text: #8c6400;
  --g-link: #0ea5c6;
  --g-link-text: #0b6f86;
  /* 型の色（アイコンの線・表の列） */
  --t-build: #2670d2;
  --t-push: #0b6f86;
  --t-product: #8c6400;
  /* 影は2段だけ */
  --sh-1: 0 6px 18px rgba(7, 19, 45, 0.06);
  --sh-2: 0 16px 34px rgba(7, 19, 45, 0.12);
  /* 文字の段（スマートフォンの値。PC は下の @media で上書き） */
  --fs-h1: 36px;
  --fs-h2: 28px;
  --fs-h3: 19px;
  --fs-body: 15px;
  --fs-note: 12.5px;
  --fs-eyebrow: 11px;
  --sec-pad: 64px;
  --btn-h: 52px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --lp-font: "YakuHanJP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",
             -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP",
             "游ゴシック", "Yu Gothic", YuGothic, "メイリオ", Meiryo, sans-serif;
}
@media (min-width: 768px) {
  :root { --fs-h1: 56px; --fs-h2: 36px; --fs-h3: 22px; --fs-body: 16px; --fs-note: 13px; --sec-pad: 96px; --btn-h: 56px; }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.lp-fde {
  font-family: var(--lp-font);
  color: var(--lp-f-ink);
  background: var(--lp-bg);
  font-size: var(--fs-body);
  line-height: 1.85;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body.lp-fde.fde-scroll-lock { overflow: hidden; }
h1, h2, h3, h4, p, ul, ol, li, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }

.lp-inner { width: 100%; max-width: 680px; margin: 0 auto; padding: 0 16px; }
.lp-nowrap { white-space: nowrap; }
.lp-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.lp-note { margin-top: 16px; font-size: var(--fs-note); line-height: 1.85; color: var(--lp-f-muted); }

/* --- ヘッダー（既存の診断LPと同じ形＋右に小さな CTA）------------------------- */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px 0 16px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(25, 49, 98, 0.08);
}
.lp-header-logo { height: 20px; width: auto; flex: 0 0 auto; }
.lp-header-title { min-width: 0; font-size: 12px; line-height: 1.6; color: var(--lp-f-ink-2); white-space: nowrap; }
.lp-header-cta {
  margin-left: auto;
  padding: 0 16px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--lp-f-yellow-top), var(--lp-f-yellow-bottom));
  color: var(--lp-f-ink-2);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}
@media (max-width: 480px) { .lp-header-title { display: none; } }

/* ============================================================================
 * LP（第9版）— 9節：ファーストビュー → おすすめ → FDE診断とは → 受け方 → 分かること →
 *   生かし方 → 根拠 → よくある質問 → 開始。節の番号は付けない。
 * ========================================================================== */

/* --- 節の共通 ------------------------------------------------------------- */
.s { position: relative; padding: var(--sec-pad) 0; background: var(--lp-bg); }
.s-soft { background: var(--lp-f-blue-10); }
.s-inner { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.s-center { text-align: center; }
.s-h2 { font-size: var(--fs-h2); line-height: 1.4; font-weight: 900; letter-spacing: .02em; color: var(--lp-navy); }
.s-sub { margin-top: 12px; font-size: var(--fs-body); line-height: 1.8; color: var(--lp-f-muted); }
.s-h3 { margin: 64px 0 0; font-size: var(--fs-h3); line-height: 1.5; font-weight: 900; color: var(--lp-navy); }
.s-cta { margin-top: 48px; text-align: center; }
.lp-note { margin-top: 16px; font-size: var(--fs-note); line-height: 1.85; color: var(--lp-f-muted); }

/* --- ボタン（黄色の帯・丸・高さ 56／52） ------------------------------------ */
.btn, .lp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-h);
  padding: 0 32px;
  border: 1px solid rgba(25, 49, 98, .35);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--lp-f-yellow-top) 0%, var(--lp-f-yellow-bottom) 100%);
  box-shadow: var(--sh-1);
  color: var(--lp-f-ink-2);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .06em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
@media (hover: hover) { .btn:hover, .lp-cta:hover { transform: translateY(-2px); box-shadow: var(--sh-2); } }
.btn:active, .lp-cta:active { transform: translateY(1px); }
.btn:focus-visible, .lp-cta:focus-visible, .s8-arrow:focus-visible, .fold summary:focus-visible { outline: 3px solid var(--lp-f-blue); outline-offset: 3px; }
.btn-lg { width: 320px; max-width: 100%; font-size: 19px; }

/* --- 型のアイコンと色 ------------------------------------------------------- */
.t-build { --tc: var(--t-build); --tc-soft: #e8f1fc; }
.t-push { --tc: var(--t-push); --tc-soft: #e3f6fa; }
.t-product { --tc: var(--t-product); --tc-soft: var(--lp-f-gold-soft); }
.ic { display: inline-block; flex: 0 0 auto; width: 24px; height: 24px; color: var(--tc, currentColor); }
.ic-line { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }

/* --- 出現：画面に入ったら1回だけ薄く現れ、そのまま残る（lp.js が .is-in を付ける） ---- */
.lp-js [data-in]:not(.is-in) { opacity: 0; transform: translateY(16px); }
.lp-js [data-in] { transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
@media print { .lp-js [data-in] { opacity: 1 !important; transform: none !important; } }

/* --- ファーストビュー ----------------------------------------------------- */
.s1 { padding: 40px 0 var(--sec-pad); background: linear-gradient(180deg, var(--lp-f-blue-10) 0%, #fff 100%); }
.s1-inner { display: grid; gap: 32px; align-items: center; }
.s1-pill { display: inline-flex; align-items: center; height: 32px; padding: 0 16px; border-radius: 999px; background: var(--lp-f-ink-2); color: #fff; font-size: var(--fs-note); font-weight: 700; }
.s1-h1 { margin-top: 16px; font-size: 20px; font-weight: 900; letter-spacing: .08em; color: var(--lp-f-blue); }
.s1-title { margin-top: 4px; font-size: var(--fs-h1); line-height: 1.3; font-weight: 900; color: var(--lp-navy); }
.s1-lead { margin-top: 16px; font-size: var(--fs-body); line-height: 1.9; color: var(--lp-f-ink-2); }
.s1-gets { display: grid; gap: 8px; margin-top: 24px; }
.s1-gets li { display: flex; align-items: center; gap: 12px; font-size: var(--fs-body); font-weight: 700; color: var(--lp-navy); }
.s1-get-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; box-shadow: var(--sh-1); color: var(--lp-f-blue); }
.s1-actions { margin-top: 32px; }
.s1-cap { margin-top: 8px; font-size: var(--fs-note); color: var(--lp-f-muted); }
.s1-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(25, 49, 98, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(25, 49, 98, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.s1-sample { position: relative; }
.s1-card { position: relative; padding: 32px 24px 24px; border: 1px solid var(--lp-gray-line); border-radius: 16px; background: #fff; box-shadow: var(--sh-2); }
.s1-card-tag { position: absolute; top: -12px; left: 24px; height: 24px; padding: 0 12px; border-radius: 999px; background: var(--lp-f-ink-2); color: #fff; font-size: 11px; font-weight: 700; line-height: 24px; letter-spacing: .06em; }
.s1-card-head { display: flex; justify-content: space-between; gap: 16px; }
.s1-k { font-size: var(--fs-eyebrow); font-weight: 900; letter-spacing: .18em; color: var(--lp-f-muted); }
.s1-type { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 22px; line-height: 1.4; font-weight: 900; color: var(--lp-navy); }
.s1-type .ic { width: 32px; height: 32px; }
.s1-typesub { margin-top: 4px; font-size: var(--fs-note); line-height: 1.6; color: var(--lp-f-muted); }
.s1-stage { flex: 0 0 auto; text-align: right; }
.s1-stage-big { font-size: 48px; line-height: 1.05; font-weight: 900; color: var(--lp-navy); font-variant-numeric: tabular-nums; }
.s1-near { display: inline-block; margin-top: 4px; padding: 0 12px; border-radius: 999px; background: var(--lp-f-blue-20); color: var(--lp-f-blue); font-size: 12px; font-weight: 700; line-height: 24px; }
.s1-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; margin: 16px 0; }
.s1-steps li { height: 28px; border: 1px solid transparent; border-radius: 999px; background: var(--lp-gray-bg); color: var(--lp-f-muted); font-size: 12px; font-weight: 900; line-height: 26px; text-align: center; }
.s1-steps .is-on { background: var(--lp-f-ink-2); color: #fff; }
.s1-steps .is-near { border: 1px dashed var(--lp-f-blue); background: #fff; color: var(--lp-f-blue); }
.s1-card-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 16px; align-items: center; }
.s1-radar { display: block; width: 100%; height: auto; }
.s1-radar-grid polygon { fill: none; stroke: #dbe3ef; stroke-width: 1; }
.s1-radar-shape { fill: rgba(38, 112, 210, .18); stroke: var(--lp-f-blue); stroke-width: 2; stroke-linejoin: round; }
.rd-l { font-size: 11px; font-weight: 700; }
.g-d { fill: var(--g-decide); }
.g-b { fill: var(--g-build-text); }
.g-l { fill: var(--g-link-text); }
.s1-next-v { margin-top: 4px; font-size: 18px; font-weight: 900; line-height: 1.5; color: var(--g-link-text); }
.s1-fig { margin-top: 12px; font-size: 11px; color: var(--lp-f-muted); text-align: right; }
.s1 { position: relative; overflow: hidden; }
.s1-inner { position: relative; }
.s1-card { max-width: 520px; margin: 0 auto; }
/* 読み込み時に1回だけ：外周の線が描かれ、中の形が開き、段の印が順に点く（本当に動く・止まらない） */
.s1-radar-outline { fill: none; stroke: var(--lp-f-blue-80); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 0; stroke-linejoin: round; }
.s1-radar-shape { transform-box: fill-box; transform-origin: 50% 50%; }
@media (prefers-reduced-motion: no-preference) {
  .s1-radar-outline { animation: s1Draw 1s var(--ease-out) .2s both; }
  .s1-radar-shape { animation: s1Open .5s var(--ease-out) .8s both; }
  .s1-steps li { animation: s1Step .4s var(--ease-out) both; }
  .s1-steps li:nth-child(1) { animation-delay: .2s; }
  .s1-steps li:nth-child(2) { animation-delay: .35s; }
  .s1-steps li:nth-child(3) { animation-delay: .5s; }
  .s1-steps li:nth-child(4) { animation-delay: .65s; }
  .s1-steps li:nth-child(5) { animation-delay: .8s; }
  .s1-steps li:nth-child(6) { animation-delay: .95s; }
}
@keyframes s1Draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes s1Open { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
@keyframes s1Step { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* イラストは白地で作っている。淡い青の地や札の上でも白い四角が見えないよう、乗算で重ねる。 */
.worry img, .about-art img, .step img, .type img, .levels-art img, .power-head img, .use img, .closing-art img { mix-blend-mode: multiply; }

/* --- こんな方におすすめ ----------------------------------------------------- */
.worries { display: grid; gap: 16px; margin-top: 32px; }
.worry { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 16px; }
.worry img { width: 96px; height: 96px; border-radius: 50%; background: #fff; object-fit: cover; box-shadow: var(--sh-1); }
.worry p { position: relative; padding: 16px 20px; border-radius: 16px; background: #fff; box-shadow: var(--sh-1); font-size: var(--fs-body); line-height: 1.8; font-weight: 700; color: var(--lp-navy); }
.worry p::before { content: ""; position: absolute; left: -10px; top: 50%; margin-top: -8px; border: 8px solid transparent; border-right: 10px solid #fff; border-left: 0; }

/* --- FDE診断とは・根拠の見出しの横の絵 -------------------------------------------- */
.about { display: grid; gap: 24px; align-items: center; }
.about-body { margin-top: 16px; font-size: var(--fs-body); line-height: 1.9; color: var(--lp-f-ink); }
.about-note { margin-top: 16px; padding: 12px 16px; border-left: 4px solid var(--lp-f-blue-40); background: var(--lp-f-blue-10); border-radius: 0 12px 12px 0; font-size: var(--fs-note); line-height: 1.8; color: var(--lp-f-ink-2); }
.about-art img { width: 100%; max-width: 480px; margin: 0 auto; }
.about-art.is-small img { max-width: 320px; }
.fold { margin-top: 32px; border: 1px solid var(--lp-gray-line); border-radius: 16px; background: #fff; }
.fold summary { position: relative; padding: 16px 48px 16px 24px; font-size: var(--fs-body); font-weight: 900; color: var(--lp-navy); cursor: pointer; list-style: none; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: "+"; position: absolute; right: 24px; top: 12px; font-size: 22px; color: var(--lp-f-blue); }
.fold[open] summary::after { content: "−"; }
.jobs3 { display: grid; gap: 16px; padding: 0 24px 24px; }
.job3 { padding: 24px; border-radius: 12px; background: var(--lp-gray-bg); }
.job3 b { font-size: var(--fs-h3); font-weight: 900; color: var(--lp-navy); }
.job3 > p { margin-top: 8px; font-size: var(--fs-note); line-height: 1.8; font-weight: 700; color: var(--lp-f-ink); }
.job3 ul { display: grid; gap: 4px; margin-top: 12px; }
.job3 li { position: relative; padding-left: 16px; font-size: var(--fs-note); line-height: 1.7; color: var(--lp-f-ink-2); }
.job3 li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--lp-f-blue-80); }

/* --- 診断の受け方 ----------------------------------------------------------- */
.howto { display: grid; gap: 32px; margin-top: 32px; }
.steps { display: grid; gap: 12px; }
.step { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 16px; padding: 16px; border-radius: 16px; background: #fff; box-shadow: var(--sh-1); }
.step img { width: 72px; height: 72px; }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%; background: var(--lp-f-ink-2); color: #fff; font-size: 12px; font-weight: 900; vertical-align: 2px; }
.step b { font-size: 17px; font-weight: 900; color: var(--lp-navy); }
.step p { margin-top: 4px; font-size: var(--fs-note); line-height: 1.7; color: var(--lp-f-ink-2); }
.step-goal { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--lp-f-blue); color: #fff; font-size: 28px; font-weight: 900; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.shot img { width: 100%; border-radius: 16px; border: 1px solid var(--lp-gray-line); box-shadow: var(--sh-2); background: #fff; }
.shot figcaption { margin-top: 8px; font-size: 12px; line-height: 1.7; color: var(--lp-f-muted); }

/* --- 診断で分かること ------------------------------------------------------- */
.part-h { display: flex; align-items: center; gap: 12px; margin-top: 64px; font-size: var(--fs-h3); font-weight: 900; color: var(--lp-navy); }
.part-k { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 12px; background: var(--lp-f-ink-2); color: #fff; font-size: 16px; }
.part-sub { margin-top: 8px; font-size: var(--fs-body); line-height: 1.8; color: var(--lp-f-ink-2); }
.part-note { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: var(--fs-note); color: var(--lp-f-muted); }
.types { display: grid; gap: 16px; margin-top: 24px; }
.type { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--lp-gray-line); border-top: 4px solid var(--tc); border-radius: 16px; background: #fff; box-shadow: var(--sh-1); }
.type img { width: 160px; height: 160px; margin: 0 auto 8px; }
.type b { display: flex; align-items: center; gap: 8px; font-size: var(--fs-h3); font-weight: 900; color: var(--tc); }
.type p { font-size: var(--fs-note); line-height: 1.8; color: var(--lp-f-ink-2); }
.levels { display: grid; gap: 24px; margin-top: 24px; align-items: center; }
.stairs { display: grid; gap: 6px; }
.stairs li { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 12px; margin-left: calc(var(--i) * 6px); padding: 10px 16px; border-radius: 12px; background: color-mix(in srgb, var(--lp-f-blue) calc(8% + var(--i) * 14%), #fff); color: var(--lp-navy); }
.stairs li b { font-size: 20px; font-weight: 900; }
.stairs li span { font-size: var(--fs-note); line-height: 1.6; }
.stairs li em { display: block; font-style: normal; font-size: 15px; font-weight: 900; }
.stairs li:nth-child(-n+3) { color: #fff; }
.levels-art img { width: 100%; max-width: 420px; margin: 0 auto; }

/* FDE キャリアマップ（一部だけ見せる） */
.cmap-block { margin-top: 40px; padding: 24px; border: 1px solid var(--lp-gray-line); border-radius: 16px; background: var(--lp-gray-bg); }
.cmap-h { font-size: 17px; font-weight: 900; color: var(--lp-navy); }
.cmap-sub { margin-top: 8px; font-size: var(--fs-note); line-height: 1.8; color: var(--lp-f-ink-2); }
.cmap-grid { display: grid; gap: 16px; margin-top: 16px; }
.cmap { display: grid; gap: 4px; overflow-x: auto; }
.cmap-row { display: grid; grid-template-columns: 76px repeat(3, minmax(76px, 1fr)); gap: 4px; }
.cmap-head span { padding: 6px 8px; border-radius: 8px; background: var(--tc-soft, transparent); color: var(--tc, var(--lp-f-muted)); font-size: 12px; font-weight: 900; text-align: center; }
.cmap-row > span[role="rowheader"] { padding: 6px 8px; border-radius: 8px; background: var(--lp-f-ink-2); color: #fff; font-size: 10.5px; line-height: 1.4; }
.cmap-row > span[role="rowheader"] b { display: block; font-size: 15px; }
.cmap-cell { padding: 8px; border-radius: 8px; background: #fff; border: 2px solid var(--tc); font-size: 11.5px; line-height: 1.5; font-weight: 700; color: var(--lp-f-ink); }
.cmap-cell.is-open { box-shadow: var(--sh-2); }
.lp-js .cmap-block:not(.is-in) .cmap-row:not(.cmap-head), .lp-js .cmap-block:not(.is-in) .cmap-board { opacity: 0; transform: translateY(8px); }
.lp-js .cmap-row, .lp-js .cmap-board { transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
.lp-js .cmap-block.is-in .cmap-row:nth-child(7) { transition-delay: .05s; }
.lp-js .cmap-block.is-in .cmap-row:nth-child(6) { transition-delay: .13s; }
.lp-js .cmap-block.is-in .cmap-row:nth-child(5) { transition-delay: .21s; }
.lp-js .cmap-block.is-in .cmap-row:nth-child(4) { transition-delay: .29s; }
.lp-js .cmap-block.is-in .cmap-row:nth-child(3) { transition-delay: .37s; }
.lp-js .cmap-block.is-in .cmap-row:nth-child(2) { transition-delay: .45s; }
.lp-js .cmap-block.is-in .cmap-board { transition-delay: .55s; }
.cmap-blur { display: block; min-height: 56px; border-radius: 8px; background:
  repeating-linear-gradient(180deg, #c9d3e3 0 7px, transparent 7px 14px) 10px 12px / calc(100% - 20px) 35px no-repeat, #fff;
  filter: blur(2.5px); }
.cmap-board { padding: 20px; border-radius: 12px; background: #fff; border-top: 4px solid var(--tc); box-shadow: var(--sh-1); }
.cmap-board-k { font-size: 14px; font-weight: 900; color: var(--tc); }
.cmap-board-sk { margin-top: 12px; padding-top: 10px; border-top: 1px solid #eef1f6; font-size: var(--fs-eyebrow); font-weight: 900; letter-spacing: .12em; color: var(--lp-f-muted); }
.cmap-board p:not(.cmap-board-k):not(.cmap-board-sk), .cmap-board li { margin-top: 4px; font-size: var(--fs-note); line-height: 1.7; color: var(--lp-f-ink-2); }
.cmap-board ul { display: grid; gap: 2px; }
.cmap-board li { position: relative; padding-left: 14px; }
.cmap-board li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--tc); }
.cmap-note { margin-top: 16px; font-size: var(--fs-note); line-height: 1.8; font-weight: 700; color: var(--lp-navy); }

/* 9つの力 */
.powers { display: grid; gap: 16px; margin-top: 24px; }
.power { padding: 24px; border: 1px solid var(--lp-gray-line); border-radius: 16px; background: #fff; box-shadow: var(--sh-1); }
.power.g-d { --gc: var(--g-decide); }
.power.g-b { --gc: var(--g-build-text); }
.power.g-l { --gc: var(--g-link-text); }
.power-head { display: flex; align-items: center; gap: 12px; }
.power-head img { width: 56px; height: 56px; }
.power-head b { font-size: var(--fs-h3); font-weight: 900; color: var(--gc); }
.power dl { display: grid; gap: 10px; margin-top: 16px; }
.power dt { font-size: 15px; font-weight: 900; color: var(--lp-navy); }
.power dt::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--gc); vertical-align: middle; }
.power dd { margin-top: 2px; font-size: var(--fs-note); line-height: 1.7; color: var(--lp-f-ink-2); }

/* 求人の例（横の帯） */
.s8-nav { display: none; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.s8-arrow { width: 48px; height: 48px; border: 1px solid var(--lp-gray-line); border-radius: 999px; background: #fff; color: var(--lp-f-ink-2); font-size: 18px; cursor: pointer; }
.lp-jobs-band { display: flex; gap: 16px; margin-top: 16px; padding: 8px 16px 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: thin; }
.lp-jobs-band:focus-visible { outline: 3px solid var(--lp-f-blue); outline-offset: -3px; }

/* --- 結果の生かし方・FDE詳細診断 ---------------------------------------------- */
.uses { display: grid; gap: 16px; margin-top: 32px; }
.use { display: grid; grid-template-columns: 88px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 16px; align-items: start; padding: 20px; border-radius: 16px; background: #fff; box-shadow: var(--sh-1); }
.use img { grid-row: span 2; width: 88px; height: 88px; }
.use b { font-size: 17px; font-weight: 900; color: var(--lp-navy); }
.use p { margin-top: 4px; font-size: var(--fs-note); line-height: 1.8; color: var(--lp-f-ink-2); }
.more { position: relative; display: grid; gap: 24px; margin-top: 48px; padding: 32px 24px; border: 2px solid var(--lp-f-gold); border-radius: 16px; background: #fff; box-shadow: 0 0 0 6px rgba(210, 156, 9, .1); }
.more-k { font-size: var(--fs-note); font-weight: 900; color: var(--lp-f-gold-text); }
.more-h { margin-top: 4px; font-size: var(--fs-h3); line-height: 1.4; font-weight: 900; color: var(--lp-navy); }
.more-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 16px; }
.more-flow li { position: relative; display: grid; gap: 2px; padding: 12px 8px; border-radius: 12px; background: var(--lp-f-blue-10); text-align: center; }
.more-flow li:not(:last-child)::after { content: ""; position: absolute; right: -15px; top: 50%; margin-top: -6px; border: 6px solid transparent; border-left: 9px solid var(--lp-f-blue-80); }
.more-flow b { font-size: 14px; font-weight: 900; color: var(--lp-navy); }
.more-flow span { font-size: 11.5px; color: var(--lp-f-muted); }
.more-flow .is-goal { background: var(--lp-f-gold-soft); }
.more-checks { display: grid; gap: 8px; margin-top: 16px; }
.more-checks li { position: relative; padding-left: 28px; font-size: var(--fs-note); font-weight: 700; line-height: 1.7; color: var(--lp-f-ink-2); }
.more-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; margin-top: .1em; border-radius: 50%; background: var(--lp-f-gold-soft); color: var(--lp-f-gold-text); font-size: 12px; font-weight: 900; line-height: 20px; text-align: center; }
.more-note { margin-top: 12px; font-size: var(--fs-note); font-weight: 700; color: var(--lp-f-gold-text); }
/* 見本の問題（出題しない見本専用の問題・lp_sample_item_v0_1.yaml の写し） */
.sample-q { padding: 20px; border: 1px solid var(--lp-gray-line); border-radius: 12px; background: var(--lp-gray-bg); }
.sample-k { display: inline-block; padding: 0 10px; border-radius: 999px; background: var(--lp-f-ink-2); color: #fff; font-size: 11px; font-weight: 700; line-height: 22px; }
.sample-title { margin-top: 8px; font-size: 15px; font-weight: 900; color: var(--lp-navy); }
.sample-stem { margin-top: 8px; display: grid; gap: 6px; font-size: var(--fs-note); line-height: 1.8; color: var(--lp-f-ink-2); }
.sample-stem .is-role { font-weight: 700; color: var(--lp-f-blue); }
.sample-ask { margin-top: 10px; padding: 10px 12px; border-left: 3px solid var(--lp-f-blue); border-radius: 0 8px 8px 0; background: #fff; font-size: 14px; line-height: 1.7; font-weight: 900; color: var(--lp-f-ink); }
.sample-opts { display: grid; gap: 6px; margin-top: 10px; }
.sample-opts li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; align-items: start; padding: 8px 10px; border: 1px solid var(--lp-gray-line); border-radius: 8px; background: #fff; font-size: 13px; line-height: 1.6; color: var(--lp-f-ink); }
.sample-opts b { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 6px; background: var(--lp-gray-bg); font-size: 12px; color: var(--lp-f-muted); }
.sample-ans { margin-top: 10px; }
.sample-ans summary { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--lp-f-blue-40); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; color: var(--lp-f-blue); cursor: pointer; list-style: none; }
.sample-ans summary::-webkit-details-marker { display: none; }
.sample-ans summary:focus-visible { outline: 3px solid var(--lp-f-blue); outline-offset: 2px; }
.sample-ans p { margin-top: 8px; font-size: 13px; line-height: 1.8; color: var(--lp-f-ink-2); }
.sample-best { font-weight: 700; color: var(--lp-ok) !important; }
.sample-why { padding: 10px 12px; border-radius: 8px; background: var(--lp-f-gold-soft); white-space: pre-line; }
/* 詳細版の見本の問題（2つ・開いて読む） */
.sample-full { margin-top: 24px; padding: 24px 20px; border: 1px solid var(--lp-gray-line); border-radius: 16px; background: #fff; }
.sample-full-k { font-size: 17px; font-weight: 900; color: var(--lp-navy); }
.sample-full-sub { margin-top: 4px; font-size: var(--fs-note); line-height: 1.8; color: var(--lp-f-muted); }
.sample-fold { margin-top: 12px; border: 1px solid var(--lp-gray-line); border-radius: 12px; background: var(--lp-gray-bg); }
.sample-fold > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-height: 52px; padding: 12px 44px 12px 16px; position: relative; cursor: pointer; list-style: none; }
.sample-fold > summary::-webkit-details-marker { display: none; }
.sample-fold > summary::after { content: "＋"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--lp-f-blue); }
.sample-fold[open] > summary::after { content: "−"; }
.sample-fold > summary:focus-visible { outline: 3px solid var(--lp-f-blue); outline-offset: 2px; border-radius: 12px; }
.sample-fold-n { padding: 0 10px; border-radius: 999px; background: var(--lp-f-ink-2); color: #fff; font-size: 11px; font-weight: 700; line-height: 22px; }
.sample-fold-t { font-size: 15px; font-weight: 900; color: var(--lp-navy); }
.sample-q.is-full { border: 0; border-top: 1px solid var(--lp-gray-line); border-radius: 0 0 12px 12px; }
.sample-ask.is-reason { margin-top: 16px; }

/* --- 診断の根拠 ------------------------------------------------------------- */
.srcs { display: grid; gap: 16px; margin-top: 16px; }
.srcs-h { margin-top: 32px; }
.src { display: flex; flex-direction: column; gap: 8px; padding: 16px 24px; border: 1px solid var(--lp-gray-line); border-radius: 12px; background: #fff; }
.src a { font-size: 14px; line-height: 1.6; font-weight: 900; color: var(--lp-f-blue); }
.src span { font-size: var(--fs-note); line-height: 1.7; color: var(--lp-f-ink-2); }
/* 調査の箱。上から 数字 → 説明 → 注記 → 出典。3つの箱で行の高さと位置を揃える
 * （PC は subgrid で行を共有。注記の無い箱も .q-note.is-empty で高さを取る）。 */
.quotes { display: grid; gap: 16px; margin-top: 24px; }
.q { display: grid; grid-template-rows: auto auto auto 1fr; row-gap: 12px; padding: 24px; border: 1px solid var(--lp-gray-line); border-radius: 16px; background: #fff; box-shadow: var(--sh-1); }
.q-num { display: flex; align-items: baseline; gap: 4px; line-height: 1; color: var(--lp-navy); }
.q-num b { font-size: 44px; font-weight: 900; letter-spacing: -.01em; color: var(--lp-f-blue); font-variant-numeric: tabular-nums; }
.q-num span { font-size: 16px; font-weight: 900; }
.q-text { min-height: 3.4em; font-size: var(--fs-body); line-height: 1.7; font-weight: 700; color: var(--lp-f-ink); }
.q-note { justify-self: start; align-self: start; height: 24px; padding: 0 12px; border: 1px solid var(--lp-gray-line); border-radius: 999px; background: var(--lp-gray-bg); color: var(--lp-f-muted); font-size: 12px; font-weight: 700; line-height: 22px; white-space: nowrap; }
.q-note.is-empty { visibility: hidden; }
.q-src { align-self: start; padding-top: 12px; border-top: 1px solid #eef1f6; font-size: 12px; line-height: 1.7; color: var(--lp-f-muted); }
.q-src a, .q-src-name { display: block; font-weight: 700; color: var(--lp-f-ink-2); }
.q-src a { color: var(--lp-f-blue); }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 768px) {
    .quotes { grid-template-rows: repeat(4, auto); }
    .q { grid-row: span 4; grid-template-rows: subgrid; }
    .q-text { min-height: 0; }
  }
}
.cite { margin: 24px 0 0; padding: 16px 24px; border-left: 4px solid var(--lp-f-blue-40); background: var(--lp-f-blue-10); border-radius: 0 12px 12px 0; }
.cite p { font-size: var(--fs-body); line-height: 1.8; font-weight: 700; color: var(--lp-f-ink); }
.cite footer { margin-top: 8px; font-size: 12px; line-height: 1.7; color: var(--lp-f-muted); }
.cite a { color: var(--lp-f-blue); font-weight: 700; margin-right: 4px; }

/* --- よくある質問 ----------------------------------------------------------- */
.lp-faq { max-width: 760px; margin: 32px auto 0; }
.lp-faq details { border-bottom: 1px solid var(--lp-gray-line); }
.lp-faq summary { position: relative; padding: 16px 32px 16px 0; font-size: var(--fs-body); font-weight: 700; color: var(--lp-navy); cursor: pointer; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 20px; color: var(--lp-f-blue); }
.lp-faq details[open] summary::after { content: "−"; }
.lp-faq summary:focus-visible { outline: 3px solid var(--lp-f-blue); outline-offset: 2px; }
.lp-faq details p { padding: 0 0 16px; font-size: 15px; line-height: 1.85; color: var(--lp-f-ink-2); }

/* --- 診断を始める ----------------------------------------------------------- */
.closing { display: grid; gap: 24px; align-items: center; text-align: center; }
.closing .s-h2 { margin-bottom: 24px; }
.closing-art img { width: 100%; max-width: 560px; margin: 0 auto; }
.s11-cap { margin-top: 12px; font-size: var(--fs-note); color: var(--lp-f-muted); }
.lp-about-privacy { max-width: 760px; margin: 48px auto 0; font-size: 12px; line-height: 1.8; color: var(--lp-f-muted); }

/* --- フッター（既存と同じ）------------------------------------------------- */
.lp-footer { background: #07132D; color: rgba(255, 255, 255, 0.82); padding: 32px 0 96px; font-size: 12.5px; line-height: 1.9; }
.lp-footer-company { font-weight: 700; color: #fff; }
.lp-footer-fee { margin-top: 8px; }
.lp-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-top: 16px; }
.lp-footer-links a { text-decoration: underline; }
.lp-footer-links details { max-width: 560px; }
.lp-footer-links details p { margin-top: 8px; text-align: left; }
.lp-footer-copy { margin-top: 16px; color: #999; text-align: center; }

/* --- 追従ボタン（スマートフォンのみ） --------------------------------------- */
.lp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--lp-gray-line); padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px)); }
.lp-sticky[hidden] { display: none; }
.lp-cta-sticky { width: 100%; }

/* --- スマートフォンだけの改行 ---------------------------------------------- */
.lp-br-pc { display: none; }
.lp-br-sp { display: inline; }

/* ============================================================================
 * タブレット以上
 * ========================================================================== */
@media (min-width: 768px) {
  .lp-header { height: 60px; padding: 0 24px; }
  .lp-header-logo { height: 26px; }
  .lp-br-pc { display: inline; }
  .lp-br-sp { display: none; }
  .s-inner { padding: 0 32px; }
  .s1 { padding-top: 64px; }
  .worries { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .worry { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .worry img { width: 160px; height: 160px; }
  .worry p::before { left: 50%; top: -10px; margin: 0 0 0 -8px; border: 8px solid transparent; border-bottom: 10px solid #fff; border-top: 0; }
  .worry p { order: -1; }
  .jobs3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .powers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .srcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .q-num b { font-size: 56px; }
  .s8-nav { display: flex; }
  .lp-jobs-band { padding-left: max(32px, calc((100vw - 1080px) / 2 + 32px)); padding-right: 32px; scroll-padding-inline: max(32px, calc((100vw - 1080px) / 2 + 32px)); }
  .more { padding: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; gap: 32px; }
  .lp-footer { padding-bottom: 48px; }
  .lp-sticky { display: none; }
}

@media (min-width: 1024px) {
  .s1 { padding: 80px 0 var(--sec-pad); }
  .s1-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; }
  .about { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; }
  .howto { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; gap: 48px; }
  .levels { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; }
  .stairs li { margin-left: calc(var(--i) * 16px); }
  .cmap-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
  .cmap-row { grid-template-columns: 120px repeat(3, minmax(0, 1fr)); }
  .srcs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .closing { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); text-align: left; }
}

/* --- レベルのはしご（結果で型が分からないときの控え）------------------------ */
.lp-ladder { display: grid; gap: 6px; }
.lp-ladder-step {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  padding: 11px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--lp-gray-line);
}
.lp-ladder-l { grid-row: 1 / span 2; display: inline-flex; align-items: center; justify-content: center; height: 40px; border-radius: 10px; background: var(--lp-f-blue-20); color: var(--lp-f-blue); font-weight: 900; transition: background-color .5s, color .5s; }
.lp-ladder-name { font-size: 15px; font-weight: 700; line-height: 1.5; }
.lp-ladder-desc { font-size: 12.5px; line-height: 1.6; color: var(--lp-f-muted); }
/* LP: 下から順に点く */
.lp-ladder-anim .lp-ladder-step { opacity: .35; transform: translateX(-8px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.lp-ladder-anim.is-in .lp-ladder-step { opacity: 1; transform: none; }
.lp-ladder-anim.is-in .lp-ladder-step:nth-child(6) { transition-delay: .05s; }
.lp-ladder-anim.is-in .lp-ladder-step:nth-child(5) { transition-delay: .15s; }
.lp-ladder-anim.is-in .lp-ladder-step:nth-child(4) { transition-delay: .25s; }
.lp-ladder-anim.is-in .lp-ladder-step:nth-child(3) { transition-delay: .35s; }
.lp-ladder-anim.is-in .lp-ladder-step:nth-child(2) { transition-delay: .45s; }
.lp-ladder-anim.is-in .lp-ladder-step:nth-child(1) { transition-delay: .55s; }
.lp-ladder-anim.is-in .lp-ladder-l { background: var(--lp-f-blue); color: #fff; }
/* 結果: 自分の段 */
.lp-ladder-step.is-mine { background: var(--lp-f-gold-soft); border-color: var(--lp-f-gold); box-shadow: 0 0 0 1px var(--lp-f-gold); }
.lp-ladder-step.is-mine .lp-ladder-l { background: var(--lp-f-ink-2); color: #fff; }
.lp-ladder-step.is-next { border-style: dashed; border-color: var(--lp-f-blue-80); }
.lp-ladder-tag { position: absolute; top: -10px; right: 12px; padding: 0 10px; border-radius: 999px; background: var(--lp-f-ink-2); color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; }
.lp-ladder-tag.is-next { background: var(--lp-f-blue); }

/* 段階の考え方（出典） */
.lp-basis { margin-top: 16px; font-size: 13px; color: var(--lp-f-muted); }
.lp-basis summary { cursor: pointer; font-weight: 700; color: var(--lp-f-blue); list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.lp-basis summary::-webkit-details-marker { display: none; }
.lp-basis summary::before { content: "i"; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--lp-f-blue); color: #fff; font-size: 11px; font-weight: 900; font-style: italic; }
.lp-basis summary:focus-visible { outline: 3px solid var(--lp-f-blue); outline-offset: 2px; border-radius: 6px; }
.lp-basis p { margin: 6px 0 8px; line-height: 1.8; }
.lp-basis ul { display: grid; gap: 8px; }
.lp-basis li { line-height: 1.6; }
.lp-basis a { color: var(--lp-f-blue); font-weight: 700; }
.lp-basis li span { display: block; font-size: 12.5px; }


/* ============================================================================
 * 受験の画面（全画面）
 * ========================================================================== */
.fde-app { position: fixed; inset: 0; z-index: 1000; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; background: var(--lp-gray-bg); color: var(--lp-f-ink); }
.fde-app[hidden] { display: none; }
.fde-app.is-result { background: #fff; }
.fde-bar { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 6px 0 16px; background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid #e6eaf1; }
.fde-bar-logo { height: 20px; width: auto; flex: 0 0 auto; }
.fde-bar-title { flex: 1 1 auto; text-align: left; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; color: var(--lp-f-ink-2); }
@media (max-width: 359px) { .fde-bar-title { display: none; } }
.fde-close { flex: 0 0 auto; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--lp-f-muted); font-size: 26px; line-height: 1; cursor: pointer; }
.fde-close:focus-visible { outline: 3px solid var(--lp-f-blue); }
.fde-progress { position: sticky; top: 56px; z-index: 2; max-width: 600px; margin: 0 auto; padding: 14px 20px 8px; background: linear-gradient(180deg, var(--lp-gray-bg) 70%, rgba(247, 248, 251, 0)); }
.fde-progress[hidden] { display: none; }
.fde-progress-track { position: relative; height: 6px; border-radius: 6px; background: #e3e8f0; overflow: hidden; }
.fde-progress-fill { position: relative; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--lp-f-blue-80), var(--lp-f-blue)); transition: width .6s var(--ease-out); overflow: hidden; }
.fde-progress-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent); animation: barShine 1.8s linear infinite; }
@keyframes barShine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.fde-progress-label { margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--lp-f-muted); text-align: center; letter-spacing: 0.04em; }
.fde-body { max-width: 600px; margin: 0 auto; padding: 18px 20px 56px; }
.fde-body > * { animation: stepIn .45s var(--ease-out) both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.fde-app.is-result .fde-body { max-width: 760px; padding-top: 0; }
.fde-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.fde-h { font-size: 21px; line-height: 1.55; font-weight: 900; margin: 0 0 12px; }
.fde-h:focus, .fde-sr:focus, .fde-res-type-name:focus { outline: none; }
.fde-sub { font-size: 14px; line-height: 1.8; color: var(--lp-f-muted); margin: 0 0 18px; }
.fde-card { position: relative; padding: 24px 20px; border-radius: 16px; background: #fff; border: 1px solid #e6eaf1; box-shadow: 0 1px 2px rgba(7, 19, 45, 0.04); }

/* はじめる前に */
.fde-rules { display: grid; gap: 12px; margin: 8px 0 26px; }
.fde-rules li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid #e6eaf1; font-size: 15px; line-height: 1.7; }
.fde-rules-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--lp-f-blue-20); color: var(--lp-f-blue); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 15px; }

/* 選択肢：選んでいない枠は落ち着いた灰色。選んだものだけ金で強調（塗り＋太い枠＋印の3つ） */
.fde-opts { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.fde-opt { position: relative; display: flex; align-items: flex-start; gap: 12px; width: 100%; min-height: 56px; padding: 15px 16px; border: 1.5px solid var(--lp-gray-line); border-radius: 12px; background: #fff; cursor: pointer; text-align: left; font-size: 15px; line-height: 1.65; color: var(--lp-f-ink); transition: border-color .15s ease, background-color .15s ease, transform .15s ease; }
.fde-opt input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; pointer-events: none; }
.fde-opt:focus-within, .fde-opt:focus-visible { outline: 3px solid var(--lp-f-blue); outline-offset: 2px; }
@media (hover: hover) { .fde-opt:hover { border-color: #9aa7bd; background: #fbfcfe; } }
.fde-opt:active { transform: scale(.99); }
.fde-opt.is-on { border-color: var(--lp-f-gold); background: var(--lp-f-gold-soft); box-shadow: 0 0 0 1.5px var(--lp-f-gold); }
.fde-opt-key { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 4px; border: 1.5px solid var(--lp-gray-line); border-radius: 6px; background: #fff; font-size: 13px; font-weight: 700; color: var(--lp-f-muted); transition: background-color .15s, border-color .15s, color .15s; }
.fde-opt.is-on .fde-opt-key { background: var(--lp-f-gold); border-color: var(--lp-f-gold); color: #fff; animation: keyPop .25s var(--ease-out); }
@keyframes keyPop { 50% { transform: scale(1.18); } }
.fde-opt-radio .fde-opt-key { border-radius: 50%; }
.fde-opt-text { flex: 1 1 auto; min-width: 0; }
.fde-opt.is-on .fde-opt-text { font-weight: 700; }

/* 次へ（既存の黄色のボタン） */
.fde-actions { display: grid; gap: 10px; margin-top: 26px; }
.fde-next { display: block; width: 100%; min-height: 56px; border: 1px solid var(--lp-f-ink-2); border-radius: 12px; background: linear-gradient(180deg, var(--lp-f-yellow-top) 0%, var(--lp-f-yellow-bottom) 100%); box-shadow: 0 3px 0 rgba(7, 19, 45, 0.55); color: var(--lp-f-ink-2); font-size: 17px; font-weight: 900; cursor: pointer; text-decoration: none; text-align: center; line-height: 54px; letter-spacing: 0.04em; transition: transform .15s, background-color .2s; }
@media (hover: hover) { .fde-next:hover:not(:disabled) { background: var(--lp-f-gold); color: var(--lp-f-ink); } }
.fde-next:active:not(:disabled) { transform: translateY(2px); }
.fde-next:disabled { background: #e7ebf2; border-color: var(--lp-gray-line); box-shadow: none; color: var(--lp-f-muted); cursor: not-allowed; }
.fde-next:focus-visible, .fde-ghost:focus-visible, .fde-back:focus-visible { outline: 3px solid var(--lp-f-blue); outline-offset: 2px; }
.fde-ghost { min-height: 48px; border: 1px solid var(--lp-gray-line); border-radius: 12px; background: #fff; color: var(--lp-f-ink-2); font-size: 15px; font-weight: 700; cursor: pointer; }
.fde-back { justify-self: start; min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: var(--lp-f-muted); font-size: 14px; cursor: pointer; text-decoration: underline; }
.fde-step-note { margin-top: 14px; font-size: 13px; line-height: 1.8; color: var(--lp-f-muted); }

/* 経験の表（PC は表、スマートフォンは1行ずつ） */
.fde-mx { display: grid; gap: 10px; }
.fde-mx-head { display: none; }
.fde-mx-row { padding: 14px; border-radius: 12px; background: #fff; border: 1px solid #e6eaf1; min-width: 0; transition: border-color .2s; }
.fde-mx-row.is-done { border-color: #e9d9a6; }
.fde-mx-q { font-size: 14.5px; font-weight: 700; line-height: 1.6; }
.fde-mx-layer { display: block; font-size: 11px; font-weight: 700; color: var(--lp-f-blue); }
.fde-mx-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 10px; }
.fde-mx-choice { position: relative; display: block; cursor: pointer; }
.fde-mx-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.fde-mx-choice span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 8px; border: 1.5px solid var(--lp-gray-line); border-radius: 8px; background: #fff; font-size: 13px; line-height: 1.5; text-align: center; color: var(--lp-f-ink-2); transition: background-color .15s, border-color .15s; }
.fde-mx-choice input:checked + span { background: var(--lp-f-gold-soft); border-color: var(--lp-f-gold); box-shadow: 0 0 0 1.5px var(--lp-f-gold); font-weight: 700; color: var(--lp-f-ink); }
.fde-mx-choice input:focus-visible + span { outline: 3px solid var(--lp-f-blue); outline-offset: 1px; }
.fde-mx-left { margin-top: 14px; font-size: 13px; color: var(--lp-f-muted); text-align: center; }

/* 問題 */
.fde-answer-label { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 16px 7px 10px; border-radius: 999px; background: var(--lp-f-ink-2); color: #fff; font-size: 14.5px; font-weight: 700; line-height: 1.5; }
.fde-answer-label::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: #ffe31a; box-shadow: inset 0 0 0 4px var(--lp-f-ink-2); }
.fde-answer-label.is-error { background: #8a2b14; }
.fde-answer-label.is-error::before { box-shadow: inset 0 0 0 4px #8a2b14; }
.fde-answer-hint { margin: -10px 0 16px; font-size: 13px; color: var(--lp-f-muted); }
.fde-q-part { margin-top: 28px; }

/* 問題の部分（コピー対策）。文字の選択を止めるが、読み上げは DOM の文字をそのまま読む。 */
.fde-q { position: relative; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.fde-q-inner { position: relative; z-index: 1; transition: filter .15s ease; }
.fde-question-context, .fde-question-answer { min-width: 0; }
.fde-question-layout { display: grid; align-items: start; gap: 24px; }
/* PCでは画面を使い、条件と回答を見比べる。列の多い表と図は全幅を確保する。 */
@media (min-width: 1024px) {
  .fde-app.is-question .fde-body, .fde-app.is-question .fde-progress { max-width: 1120px; }
  .fde-question-layout:not(.has-wide-material) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .fde-app.is-question .fde-card { padding: 32px; }
  .fde-app.is-question .fde-actions { max-width: 440px; margin-left: auto; }
}
.fde-stem { margin: 0 0 22px; }
.fde-stem p { font-size: 16px; line-height: 2; margin: 0; }
.fde-stem p + p { margin-top: 14px; }
.fde-stem .is-role { color: var(--lp-f-blue); font-weight: 700; font-size: 15px; }
.fde-stem .is-table { white-space: pre-wrap; font-size: 14px; line-height: 1.8; padding: 10px 12px; border-radius: 8px; background: var(--lp-gray-bg); overflow-x: auto; }
.fde-ask { margin: 2px 0 20px; padding: 14px 16px; border-radius: 12px; background: var(--lp-f-blue-10); border-left: 4px solid var(--lp-f-blue); }
.fde-ask p { font-size: 17px; line-height: 1.75; font-weight: 900; color: var(--lp-f-ink); }
.fde-ask p + p { margin-top: 6px; }
.fde-ask .fde-ask-note { margin-top: 8px; font-size: 13px; font-weight: 400; line-height: 1.7; color: var(--lp-f-muted); }
/* 受験ごとの薄い透かし（受験番号）。ノイズ画像は使わない。 */
.fde-mark { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-repeat: repeat; background-size: 220px 120px; border-radius: inherit; }
/* 画面から離れたら、問題をぼかす */
.fde-q.is-veiled .fde-q-inner { filter: blur(9px); }
.fde-veil-note { display: none; }
.fde-q.is-veiled .fde-veil-note { display: block; position: absolute; z-index: 2; left: 50%; top: 80px; transform: translateX(-50%); width: max-content; max-width: 90%; padding: 12px 18px; border-radius: 10px; background: var(--lp-f-ink-2); color: #fff; font-size: 14px; font-weight: 700; text-align: center; }

/* 並べ替え */
.fde-order-picked { display: grid; gap: 6px; margin: 0 0 12px; padding: 12px; border: 1.5px dashed var(--lp-gray-line); border-radius: 12px; background: var(--lp-gray-bg); min-height: 54px; }
.fde-order-picked:empty::before { content: "押した順に、ここへ並びます"; font-size: 13px; color: var(--lp-f-muted); align-self: center; text-align: center; }
.fde-order-item { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.6; font-weight: 700; animation: stepIn .3s var(--ease-out) both; }
.fde-order-no { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lp-f-ink-2); color: #fff; font-size: 12px; }
.fde-opt.is-used { opacity: .5; }

/* 数値・組み合わせ */
.fde-field { display: grid; gap: 6px; margin-bottom: 14px; }
.fde-field label { font-size: 14.5px; font-weight: 700; }
.fde-input, .fde-select { width: 100%; min-height: 50px; padding: 8px 12px; border: 1.5px solid var(--lp-gray-line); border-radius: 10px; background: #fff; font-family: inherit; font-size: 16px; color: var(--lp-f-ink); }
.fde-input:focus, .fde-select:focus { outline: 3px solid var(--lp-f-blue); outline-offset: 1px; border-color: var(--lp-f-blue); }
.fde-match-opts { display: grid; gap: 6px; margin: 0 0 16px; }
.fde-match-opt { display: flex; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--lp-gray-bg); font-size: 14.5px; line-height: 1.7; }

/* 送信中・エラー */
.fde-status { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: #fff3f2; color: var(--lp-ng); font-size: 14px; line-height: 1.7; }
.fde-loading { padding: 56px 0; text-align: center; color: var(--lp-f-muted); font-weight: 700; }
.fde-confirm { margin-bottom: 16px; padding: 16px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 2px var(--lp-f-ink-2); }
.fde-confirm p { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.fde-confirm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* 集計中（結果発表の前の間） */
.fde-tally { display: grid; justify-items: center; gap: 18px; padding: 72px 0 40px; text-align: center; }
.fde-tally-ring { width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(from 0deg, var(--g-decide), var(--g-build), var(--g-link), var(--g-decide)); -webkit-mask: radial-gradient(circle, transparent 48px, #000 49px); mask: radial-gradient(circle, transparent 48px, #000 49px); animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fde-tally p { font-size: 16px; font-weight: 900; color: var(--lp-f-ink-2); letter-spacing: .06em; }
.fde-tally small { font-size: 13px; color: var(--lp-f-muted); }

/* ---- 結果 ---- */
.fde-res-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 0 -20px;
  padding: 36px 20px 30px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(11, 29, 71, 0.5), rgba(11, 29, 71, 0.92)),
    url("assets/kv-bg.webp") center 70% / cover no-repeat;
}
.fde-res-hero::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, transparent 0 20deg, rgba(255, 227, 26, 0.07) 20deg 40deg, transparent 40deg 80deg, rgba(127, 243, 255, 0.06) 80deg 100deg, transparent 100deg 140deg, rgba(255, 227, 26, 0.06) 140deg 160deg, transparent 160deg 200deg, rgba(127, 243, 255, 0.06) 200deg 220deg, transparent 220deg 260deg, rgba(255, 227, 26, 0.06) 260deg 280deg, transparent 280deg); animation: spin 40s linear infinite; }
.fde-res-kicker { font-size: 12px; font-weight: 900; letter-spacing: .3em; color: #7ff3ff; }
.fde-res-type { display: grid; justify-items: center; gap: 6px; margin-top: 14px; }
.fde-res-type-img { position: relative; }
.fde-res-type-img img { width: 128px; height: 128px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12), 0 20px 50px rgba(0, 0, 0, 0.4); animation: typePop .9s var(--ease-out) .15s both; }
@keyframes typePop { 0% { opacity: 0; transform: scale(.6) rotate(-6deg); } 70% { transform: scale(1.05) rotate(1deg); } 100% { opacity: 1; transform: none; } }
.fde-res-code { margin-top: 8px; font-size: 11px; font-weight: 900; letter-spacing: .24em; opacity: .75; animation: fadeUp .6s var(--ease-out) .5s both; }
.fde-res-type-name { font-size: 32px; font-weight: 900; line-height: 1.3; animation: fadeUp .7s var(--ease-out) .6s both; text-shadow: 0 4px 24px rgba(26, 160, 245, 0.5); }
.fde-res-type-tag { font-size: 16px; font-weight: 700; color: #ffe600; animation: fadeUp .7s var(--ease-out) .75s both; }
.fde-res-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 8px; animation: fadeUp .7s var(--ease-out) .9s both; }
.fde-res-chips span { padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); font-size: 12.5px; font-weight: 700; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.fde-confetti { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.fde-confetti i { position: absolute; top: -10px; width: 7px; height: 12px; border-radius: 2px; opacity: 0; animation: confetti var(--d, 2.6s) ease-in var(--delay, 0s) forwards; }
@keyframes confetti { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(340px) rotate(540deg); } }

.fde-res-section { margin-top: 40px; }
.fde-res-section[data-reveal] { transition-duration: .8s; }
.fde-res-eyebrow { font-size: 11px; font-weight: 900; letter-spacing: .24em; color: var(--lp-f-blue); }
.fde-res-h { font-size: 22px; font-weight: 900; margin: 2px 0 14px; color: var(--lp-navy); }
.fde-res-stage { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.fde-res-stage b { font-size: 44px; font-weight: 900; color: var(--lp-f-ink-2); line-height: 1.1; font-variant-numeric: tabular-nums; }
.fde-res-stage > span { font-size: 14px; font-weight: 700; color: var(--lp-f-muted); }
.fde-res-gap { margin: 8px 0 18px; display: inline-block; padding: 6px 14px; border-radius: 12px; background: var(--lp-f-blue-10); font-size: 13.5px; font-weight: 700; color: var(--lp-f-ink-2); }
.fde-res-ladder .lp-ladder-step { opacity: .45; transition: opacity .5s var(--ease-out), background-color .4s, border-color .4s; }
.fde-res-ladder.is-in .lp-ladder-step { opacity: 1; }
.fde-res-next { margin-top: 16px; padding: 18px 20px; border-radius: 16px; background: linear-gradient(135deg, #133a86, var(--lp-night)); color: #fff; }
.fde-res-next b { display: block; font-size: 12px; letter-spacing: .14em; color: #7ff3ff; margin-bottom: 4px; }
.fde-res-next p { font-size: 16px; line-height: 1.75; font-weight: 700; }
.fde-res-job { margin-top: 12px; font-size: 13.5px; color: var(--lp-f-muted); }
.fde-res-job b { color: var(--lp-f-ink-2); }
.fde-res-powers { display: grid; gap: 22px; align-items: center; }
.fde-radar { display: block; width: 100%; max-width: 440px; height: auto; margin: 0 auto; overflow: visible; }
.fde-radar-shape { transform-origin: center; transform-box: fill-box; }
.fde-res-powers.is-in .fde-radar-shape { animation: radarGrow 1.3s var(--ease-out) .1s both; }
.fde-radar-label { font-size: 11.5px; font-weight: 700; }
.fde-res-caption { font-size: 12.5px; color: var(--lp-f-muted); text-align: center; }
.fde-bars { display: grid; gap: 16px; }
.fde-bars-h { font-size: 13px; font-weight: 900; letter-spacing: .04em; color: var(--lp-f-ink-2); }
.fde-barrow { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: end; font-size: 14px; }
.fde-barrow b { font-weight: 700; }
.fde-barrow-num { font-size: 22px; font-weight: 900; color: var(--lp-f-blue); font-variant-numeric: tabular-nums; line-height: 1; }
.fde-barrow-num small { font-size: 11px; color: var(--lp-f-muted); margin-left: 2px; }
.fde-bar-track { grid-column: 1 / -1; height: 10px; border-radius: 6px; background: #e8edf5; overflow: hidden; }
.fde-bar-fill { height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--lp-f-blue-80), var(--lp-f-blue)); transition: width 1.2s var(--ease-out) .2s; }
.fde-grow { position: relative; overflow: hidden; margin-top: 22px; padding: 20px; border-radius: 16px; background: var(--lp-f-gold-soft); border: 1px solid #f0dca0; }
.fde-grow-k { font-size: 11px; font-weight: 900; letter-spacing: .2em; color: var(--lp-f-gold-text); }
.fde-grow-name { font-size: 22px; font-weight: 900; color: var(--lp-f-ink); margin: 2px 0 6px; }
.fde-grow-act { font-size: 15px; line-height: 1.8; }
.fde-res-auth { padding: 18px 20px; border-radius: 16px; background: var(--lp-gray-bg); }
.fde-res-auth strong { display: block; font-size: 17px; margin-bottom: 4px; }
.fde-res-auth p { font-size: 14.5px; line-height: 1.8; }

/* FDE詳細診断（結果の下） */
.fde-more { position: relative; overflow: hidden; isolation: isolate; padding: 28px 22px 24px; border-radius: 20px; background: linear-gradient(160deg, #133a86 0%, var(--lp-night) 70%); color: #fff; }
.fde-more::before { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -160px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 227, 26, 0.35), transparent 70%); }
.fde-more-k { font-size: 11px; font-weight: 900; letter-spacing: .24em; color: #ffe600; }
.fde-more h3 { font-size: 24px; font-weight: 900; line-height: 1.4; margin-top: 2px; }
.fde-more-sub { font-size: 14px; color: rgba(255, 255, 255, 0.8); margin-top: 2px; }
.fde-more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0 14px; }
.fde-more-grid div { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); font-size: 13.5px; font-weight: 700; line-height: 1.5; }
.fde-more-grid i { display: block; font-style: normal; font-size: 18px; margin-bottom: 4px; }
.fde-more-note { margin: 12px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.8); }
.fde-more .fde-next { margin-top: 16px; font-size: 18px; }

/* 解説 */
.fde-ex { padding: 20px; border-radius: 16px; background: #fff; border: 1px solid #e6eaf1; }
.fde-ex + .fde-ex { margin-top: 12px; }
.fde-ex-title { font-size: 16px; font-weight: 900; margin-bottom: 8px; }
.fde-ex-stem { font-size: 14px; line-height: 1.9; color: var(--lp-f-ink-2); margin-bottom: 12px; }
.fde-ex-stem p + p { margin-top: 8px; }
.fde-ex-stem .is-ask { font-weight: 700; color: var(--lp-f-ink); }
.fde-ex-opts { display: grid; gap: 6px; margin-bottom: 12px; }
.fde-ex-opt { display: flex; gap: 8px; align-items: flex-start; padding: 9px 11px; border-radius: 8px; background: var(--lp-gray-bg); font-size: 14px; line-height: 1.65; }
.fde-ex-opt.is-best { background: #eaf7ee; box-shadow: inset 0 0 0 1.5px var(--lp-ok); }
.fde-ex-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-left: auto; flex: 0 0 auto; }
.fde-tag { display: inline-block; padding: 0 6px; border-radius: 4px; font-size: 11px; font-weight: 700; line-height: 20px; white-space: nowrap; }
.fde-tag-best { background: var(--lp-ok); color: #fff; }
.fde-tag-you { background: var(--lp-f-ink-2); color: #fff; }
.fde-ex-compare { display: grid; gap: 4px; margin-bottom: 12px; font-size: 14px; }
.fde-ex-compare b { color: var(--lp-f-ink-2); }
.fde-ex-why { padding: 12px 14px; border-left: 3px solid var(--lp-f-gold); background: var(--lp-f-gold-soft); font-size: 14px; line-height: 1.9; border-radius: 0 10px 10px 0; white-space: pre-line; }
/* 問の図（SVG を img の data URI で出す）。狭い画面では図だけを横に動かす */
.fde-figure { margin: 4px 0 16px; padding: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #e1e6ef; border-radius: 10px; background: #fff; }
.fde-figure img { display: block; width: 100%; min-width: 32rem; height: auto; }
.fde-ex-more { margin-top: 14px; font-size: 13.5px; color: var(--lp-f-muted); text-align: center; }
.fde-res-foot { display: grid; gap: 10px; margin-top: 32px; }


/* 数でなく記号で答える欄（「最も安いのは」など） */
.fde-field-label { margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--lp-f-ink-2); }
.fde-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.fde-seg-opt { position: relative; cursor: pointer; }
.fde-seg-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fde-seg-opt span { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 48px; padding: 0 16px; border: 1.5px solid var(--lp-gray-line); border-radius: 12px; background: #fff; font-size: 16px; font-weight: 900; color: var(--lp-f-ink-2); }
.fde-seg-opt input:checked + span { border-color: var(--lp-f-gold); background: var(--lp-f-gold-soft); box-shadow: 0 0 0 1.5px var(--lp-f-gold); }
.fde-seg-opt input:focus-visible + span { outline: 3px solid var(--lp-f-blue); outline-offset: 2px; }
.fde-q-inner[inert] { opacity: .7; }
/* 結果のボタンも LP と同じ丸い形に揃える */
.fde-next, .fde-ghost { border-radius: 999px; }
/* 結果：型のアイコン */
.fde-res-type-ic { display: inline-flex; align-items: center; justify-content: center; width: 112px; height: 112px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12), 0 20px 50px rgba(0, 0, 0, 0.4); animation: typePop .9s var(--ease-out) .15s both; }
.fde-res-type-ic .ic { width: 64px; height: 64px; }
.fde-res-near { display: inline-block; padding: 0 12px; border-radius: 999px; background: var(--lp-f-blue-20); color: var(--lp-f-blue); font-size: 13px; font-weight: 700; line-height: 28px; }

@media (min-width: 768px) {
  .fde-body { padding-top: 24px; }
  .fde-h { font-size: 23px; }
  .fde-card { padding: 32px 32px 28px; }
  .fde-mx { gap: 0; border-radius: 12px; background: #fff; border: 1px solid #e6eaf1; }
  .fde-mx-head { display: grid; grid-template-columns: minmax(200px, 1.8fr) repeat(5, minmax(0, 1fr)); gap: 4px; padding: 10px 14px; background: var(--lp-f-ink-2); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.5; text-align: center; position: sticky; top: 112px; z-index: 1; border-radius: 12px 12px 0 0; }
  .fde-mx-head > span { white-space: pre-line; }
  .fde-mx-head span:first-child { text-align: left; }
  .fde-mx-row { display: grid; grid-template-columns: minmax(200px, 1.8fr) repeat(5, minmax(0, 1fr)); gap: 4px; align-items: center; border: 0; border-radius: 0; border-top: 1px solid #eef1f6; }
  .fde-mx-q { line-height: 1.55; }
  .fde-mx-choices { display: contents; padding: 0; }
  .fde-mx-choice span { min-height: 48px; font-size: 0; }
  .fde-mx-choice span::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--lp-f-line); background: #fff; }
  .fde-mx-choice input:checked + span::before { border-color: var(--lp-f-gold); background: radial-gradient(var(--lp-f-gold) 45%, #fff 50%); }
  .fde-res-hero { margin: 0 -20px; border-radius: 0 0 28px 28px; padding: 48px 20px 40px; }
  .fde-res-powers { grid-template-columns: 1.2fr 1fr; }
  .fde-res-type-name { font-size: 42px; }
  .fde-res-stage b { font-size: 56px; }
  .fde-more-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================================
 * 型 × 段階の表（LP と結果で共通）
 *   段階が上がるほど行の色が濃くなる（--lv）。見えたら下の段から順に点く。
 *   PC は 段階 × 3つの型の表、スマートフォンは型のタブで1列に切り替える。
 * ========================================================================== */
.tl { margin-top: 8px; }
.tl-build { --tc: var(--t-build); --tc-soft: #e8f1fc; }
.tl-push { --tc: var(--t-push); --tc-soft: #e3f6fa; }
.tl-product { --tc: var(--t-product); --tc-soft: var(--lp-f-gold-soft); }
.tl-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.tl-tab { display: grid; gap: 0; padding: 8px 4px; border-radius: 12px; border: 1.5px solid var(--lp-gray-line); background: #fff; cursor: pointer; color: var(--lp-f-ink-2); }
.tl-tab b { font-size: 14px; }
.tl-tab span { font-size: 11px; color: var(--lp-f-muted); }
.tl-tab[aria-selected="true"] { border-color: var(--tc); background: var(--tc-soft); box-shadow: 0 0 0 1px var(--tc); }
.tl-tab:focus-visible { outline: 3px solid var(--lp-f-blue); outline-offset: 2px; }
.tl-grid { display: grid; gap: 6px; }
.tl-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 6px; align-items: stretch; }
.tl-head { display: none; }
.tl-stage {
  display: grid;
  align-content: center;
  padding: 10px 10px;
  border-radius: 12px;
  color: #fff;
  background: color-mix(in srgb, var(--lp-f-ink-2) calc(30% + var(--lv) * 14%), #599af2);
}
.tl-stage b { font-size: 18px; font-weight: 900; line-height: 1.1; }
.tl-stage small { font-size: 10.5px; font-weight: 700; line-height: 1.4; opacity: .9; }
.tl-cell {
  position: relative;
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--tc-soft) calc(100% - var(--lv) * 7%), var(--tc));
  border: 1px solid transparent;
  font-size: 13.5px;
  line-height: 1.6;
  font-weight: 700;
  color: var(--lp-f-ink);
  transition: transform .25s var(--ease-out), box-shadow .25s, border-color .25s;
}
.tl-root[data-tab="実装型"] .tl-cell[data-type="実装型"],
.tl-root[data-tab="推進型"] .tl-cell[data-type="推進型"],
.tl-root[data-tab="製品還元型"] .tl-cell[data-type="製品還元型"] { display: block; }
.tl-cell.is-mine { box-shadow: 0 0 0 3px #ffe31a, 0 10px 30px rgba(210, 156, 9, 0.35); border-color: #ffe31a; z-index: 1; }
.tl-cell.is-next { border: 2px dashed var(--lp-f-blue); }
.tl-flag { position: absolute; top: -10px; right: 10px; padding: 0 9px; border-radius: 999px; background: #ffe31a; color: var(--lp-f-ink); font-style: normal; font-size: 11px; font-weight: 900; line-height: 20px; }
.tl-flag.is-next { background: var(--lp-f-blue); color: #fff; }
/* 見えたら下の段から順に点く */
.tl[data-reveal] .tl-row:not(.tl-head) { opacity: .25; transform: translateY(6px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.tl[data-reveal].is-in .tl-row:not(.tl-head) { opacity: 1; transform: none; }
.tl[data-reveal].is-in .tl-row:nth-child(7) { transition-delay: .05s; }
.tl[data-reveal].is-in .tl-row:nth-child(6) { transition-delay: .15s; }
.tl[data-reveal].is-in .tl-row:nth-child(5) { transition-delay: .25s; }
.tl[data-reveal].is-in .tl-row:nth-child(4) { transition-delay: .35s; }
.tl[data-reveal].is-in .tl-row:nth-child(3) { transition-delay: .45s; }
.tl[data-reveal].is-in .tl-row:nth-child(2) { transition-delay: .55s; }
@media (hover: hover) { .tl-cell:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(7, 19, 45, 0.15); } .tl-cell.is-mine:hover { box-shadow: 0 0 0 3px #ffe31a, 0 12px 30px rgba(210, 156, 9, 0.4); } }

/* 求人の札（LP の横の帯は幅 280px 固定。結果では格子） */
.lp-job { flex: 0 0 280px; width: 280px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--lp-gray-line); border-radius: 16px; background: #fff; box-shadow: var(--sh-1); transition: opacity .3s ease, transform .3s var(--ease-out); }
.lp-job.is-far { opacity: .45; }
@media (hover: hover) { .lp-job:hover { transform: translateY(-4px); box-shadow: var(--sh-2); opacity: 1; } }
.lp-job-type { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 900; color: var(--tc); }
.lp-job-type .ic { width: 20px; height: 20px; }
.lp-job-title { font-size: 16px; line-height: 1.6; font-weight: 900; color: var(--lp-f-ink); min-height: 3.2em; }
.lp-job-co { font-size: var(--fs-note); line-height: 1.6; color: var(--lp-f-muted); }
.lp-job-scale { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 8px; }
.lp-job-scale li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 4px; font-size: 11px; font-weight: 700; color: var(--lp-f-muted); }
.lp-job-scale li::before { content: ""; width: 100%; height: 4px; background: #eef1f6; }
.lp-job-scale li:first-child::before { border-radius: 999px 0 0 999px; }
.lp-job-scale li:last-child::before { border-radius: 0 999px 999px 0; }
.lp-job-scale li.is-range::before { background: var(--lp-f-blue-40); }
.lp-job-scale li.is-range { color: var(--lp-f-ink-2); }
.lp-job-scale li.is-apply { color: var(--lp-navy); font-weight: 900; }
.lp-job-scale li.is-apply::before { background: var(--lp-f-blue); }
.lp-job-scale li small { margin-top: -6px; font-size: 10px; font-weight: 700; color: var(--lp-f-blue); white-space: nowrap; }
.lp-job-legend { font-size: 11.5px; line-height: 1.6; color: var(--lp-f-muted); }
.lp-job-pay { margin-top: auto; padding-top: 12px; border-top: 1px solid #eef1f6; font-size: 15px; font-weight: 900; color: var(--lp-f-ink-2); }

/* 結果：本人の位置 */
.fde-res-pos { margin: 4px 0 14px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, #fffbe6, var(--lp-f-gold-soft)); border: 1px solid #f0dca0; }
.fde-res-pos-k { font-size: 12px; font-weight: 900; letter-spacing: .06em; color: var(--lp-f-gold-text); }
.fde-res-pos-v { font-size: 17px; font-weight: 900; line-height: 1.6; color: var(--lp-f-ink); }
.fde-res-jobs { display: grid; gap: 12px; }
.fde-res-jobs .lp-job { width: auto; }
a.fde-ghost { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.fde-jobs-cta { margin-top: 12px; }

@media (min-width: 768px) {
  .tl-tabs { display: none; }
  .tl-grid { gap: 8px; }
  .tl-row { grid-template-columns: 150px repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tl-head { display: grid; }
  .tl-corner { font-size: 12px; font-weight: 900; color: var(--lp-f-muted); align-self: end; padding: 0 0 6px 4px; }
  .tl-col { display: grid; padding: 10px 14px; border-radius: 12px; background: var(--tc-soft); color: var(--tc); }
  .tl-col b { font-size: 16px; }
  .tl-col small { font-size: 11.5px; font-weight: 700; color: var(--lp-f-ink-2); }
  .tl-stage { padding: 12px 14px; }
  .tl-stage b { font-size: 22px; }
  .tl-stage small { font-size: 11.5px; }
  .tl-cell, .tl-root .tl-cell[data-type] { display: block; font-size: 13px; }
  .fde-res-jobs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .tl[data-reveal] .tl-row:not(.tl-head) { opacity: 1 !important; transform: none !important; }
}


/* --- 動きを止める（prefers-reduced-motion）----------------------------------
 * LP の要素は最初から表示（遷移も付けない）。受験の画面と結果の演出も止める。 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .lp-js [data-in] { opacity: 1 !important; transform: none !important; }
  [data-reveal], .fde-res-ladder .lp-ladder-step { opacity: 1 !important; transform: none !important; }
  .fde-confetti { display: none !important; }
  .s1-radar-outline { stroke-dashoffset: 0 !important; }
  .s1-radar-shape, .s1-steps li, .lp-js .cmap-row, .lp-js .cmap-board { opacity: 1 !important; transform: none !important; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ============================================================================
 * 第11版：職種の「ほかの職種を見る」・数値の欄の検査・問題の表・タイプの目安・続きの入口・詳細版の段
 * ========================================================================== */
.fde-app [hidden] { display: none !important; }
.fde-more-toggle { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 10px 4px; border: 0; background: none; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--lp-f-blue); cursor: pointer; }
.fde-more-toggle::after { content: "＋"; font-size: 13px; }
.fde-more-toggle:focus-visible { outline: 3px solid var(--lp-f-blue); outline-offset: 2px; border-radius: 6px; }
.fde-field-error { margin: 0; font-size: 13px; font-weight: 700; color: var(--lp-ng); }
.fde-input[aria-invalid="true"] { border-color: var(--lp-ng); background: #fff8f7; }
.fde-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 4px 0 16px; border: 1px solid #e1e6ef; border-radius: 10px; background: #fff; }
.fde-table-wrap:focus-visible { outline: 3px solid var(--lp-f-blue); outline-offset: 2px; }
.fde-table { width: 100%; min-width: 20rem; border-collapse: collapse; font-size: 14px; line-height: 1.6; text-align: left; }
.fde-table thead th { padding: 9px 12px; background: #f2f5fa; font-size: 12.5px; font-weight: 700; color: var(--lp-f-muted); white-space: nowrap; }
.fde-table tbody th, .fde-table td { padding: 9px 12px; border-top: 1px solid #eef1f6; vertical-align: top; }
.fde-table tbody th { font-weight: 700; color: var(--lp-f-ink); white-space: nowrap; }
.fde-table td { min-width: 5.5em; }
.fde-table td { font-variant-numeric: tabular-nums; color: var(--lp-f-ink-2); }
.fde-q-reason:not([hidden]) { animation: fadeUp .35s var(--ease-out) both; }
.fde-res-provisional { margin-top: 10px; font-size: 13px; color: rgba(255, 255, 255, 0.85); }
.fde-res-hero .fde-res-type-none { margin-top: 6px; font-size: 22px; font-weight: 900; line-height: 1.5; color: #fff; }
.fde-continue-box { margin-top: 16px; }
.fde-continue { display: grid; gap: 12px; margin-top: 4px; }
.fde-continue-opt { padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); }
.fde-continue-opt b { display: block; font-size: 15px; }
.fde-continue-opt p { margin: 4px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.85); }
.fde-more .fde-continue-opt .fde-next { margin-top: 12px; font-size: 16px; }
.fde-intake { padding: 20px 16px; }
.fde-peek { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 12.5px; color: var(--lp-f-muted); }
.fde-peek b { padding: 2px 10px; border-radius: 999px; background: var(--lp-f-gold-soft); color: var(--lp-f-gold-text); font-size: 12px; }
.fde-q-note { margin: 0 0 12px; font-size: 12.5px; line-height: 1.7; color: var(--lp-f-muted); }
.fde-continue-off { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.12); font-size: 13px; font-weight: 700; color: #fff; }
.fde-full-sub { margin: 0 0 10px; font-size: 14.5px; font-weight: 700; color: var(--lp-f-ink); }
.fde-full-sub.is-ok { color: var(--lp-f-gold-text); }
.fde-found { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.fde-found li { padding: 12px 14px; border-radius: 10px; background: #f3f7fd; border: 1px solid #d6e3f6; font-size: 14px; line-height: 1.7; }
.fde-found b { display: block; font-size: 12.5px; color: var(--lp-f-blue); }
.fde-found p { margin: 4px 0 0; }
.fde-found small { color: var(--lp-f-muted); }
.fde-source { justify-content: space-between; align-items: center; }
.fde-source small { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--lp-f-blue); }
.fde-cats { display: grid; gap: 6px; margin: 0 0 16px; padding: 12px; border-radius: 12px; background: #f3f7fd; border: 1px solid #d6e3f6; }
.fde-cat { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 2px 10px; align-items: baseline; font-size: 14px; line-height: 1.7; }
.fde-cat dt { font-weight: 700; color: var(--lp-f-blue); }
.fde-cat dd { margin: 0; color: var(--lp-f-ink); }
@media (max-width: 480px) { .fde-cat { grid-template-columns: 1fr; } }
.fde-sort { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fde-sort li { display: grid; gap: 6px; padding: 12px; border-radius: 10px; background: #fff; border: 1px solid #e6eaf1; }
.fde-sort label { font-size: 14px; line-height: 1.7; }
.fde-alloc { display: grid; gap: 8px; margin: 0 0 10px; padding: 0; list-style: none; }
.fde-alloc li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid #e6eaf1; }
.fde-alloc-t { flex: 1 1 auto; min-width: 0; font-size: 14px; line-height: 1.6; }
.fde-alloc-b { flex: 0 0 auto; width: 40px; height: 40px; border: 1.5px solid var(--lp-gray-line); border-radius: 8px; background: #fff; font: inherit; font-size: 18px; font-weight: 700; color: var(--lp-f-ink); cursor: pointer; }
.fde-alloc-b:disabled { opacity: .3; cursor: default; }
.fde-alloc-n { flex: 0 0 auto; width: 28px; text-align: center; font-size: 18px; font-weight: 900; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .fde-q-reason:not([hidden]) { animation: none; } }
/* 詳細版の結果だけの項目（技術地図・次のレベルに向けて・前回からの変化・近い求人のタイプ） */
.fde-other-axes { margin-top: 12px; }
.fde-other-axes ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.fde-other-axes li { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px; background: #f5f7fb; font-size: 13px; }
.fde-other-axes b { flex: 0 0 auto; font-size: 12px; color: var(--lp-f-ink); white-space: nowrap; }
.fde-tech { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fde-tech-item { padding: 12px; border-radius: 10px; border: 1px solid #e6eaf1; background: #fff; }
.fde-tech-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 700; }
.fde-tech-head small { margin-right: 6px; font-size: 12px; color: var(--lp-f-muted); }
.fde-tech-tag { flex: 0 0 auto; padding: 2px 10px; border-radius: 999px; font-size: 11.5px; background: #eef1f6; color: var(--lp-f-muted); }
.fde-tech-tag.is-strong { background: var(--lp-f-blue); color: #fff; }
.fde-tech-tag.is-standard { background: #e3edfb; color: var(--lp-f-blue); }
.fde-tech-tag.is-growth { background: var(--lp-f-gold-soft); color: var(--lp-f-gold-text); }
.fde-tech-read { margin-top: 8px; }
.fde-tech-read p { margin: 0; font-size: 11.5px; color: var(--lp-f-muted); }
.fde-tech-read ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.fde-tech-read a { font-size: 13px; color: var(--lp-f-blue); text-decoration: underline; text-underline-offset: 2px; word-break: break-all; }
.fde-next3 { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fde-next3 li { display: flex; gap: 12px; padding: 12px; border-radius: 10px; background: #f3f7fd; font-size: 14px; line-height: 1.7; }
.fde-next3-no { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lp-f-blue); color: #fff; font-size: 12px; font-weight: 700; }
.fde-trend-level { margin: 0 0 10px; font-size: 14px; }
.fde-trend { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.fde-trend li { padding: 10px; border-radius: 10px; border: 1px solid #e6eaf1; background: #fff; }
.fde-trend small { font-size: 12px; color: var(--lp-f-muted); }
.fde-trend p { margin: 2px 0 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.fde-trend span { margin-left: 6px; font-size: 12px; color: var(--lp-f-muted); }
.fde-trend span.is-up { color: var(--lp-f-blue); }
.fde-history { margin-top: 12px; padding-top: 10px; border-top: 1px solid #eef1f6; font-size: 13px; }
.fde-history p { margin: 0 0 4px; font-size: 12px; font-weight: 700; color: var(--lp-f-muted); }
.fde-history ul { margin: 0; padding: 0; list-style: none; }
.fde-history li { display: flex; justify-content: space-between; }
.fde-jo-type { margin: 0; font-size: 15px; font-weight: 700; }
.fde-jo-line, .fde-jo-next { margin: 4px 0 0; font-size: 13.5px; color: var(--lp-f-muted); }
.fde-jobs-items { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fde-jobs-items li { display: grid; gap: 2px; padding: 12px; border-radius: 10px; border: 1px solid #e6eaf1; background: #fff; font-size: 14px; }
.fde-jobs-items small { color: var(--lp-f-muted); }
/* 詳細版の結果：マイページへの取り込みの案内 */
.fde-res-keep { margin: 20px 0 0; padding: 14px 16px; border: 1.5px solid var(--lp-f-gold); border-radius: 12px; background: var(--lp-f-gold-soft); }
.fde-res-keep b { display: block; font-size: 14.5px; color: var(--lp-f-gold-text); }
.fde-res-keep p { margin: 4px 0 0; font-size: 14px; line-height: 1.8; color: var(--lp-f-ink); }

/* 経験の回答でも、項目と5段階を読める幅を確保する。 */
@media (min-width: 768px) {
  .fde-app.is-matrix .fde-body, .fde-app.is-matrix .fde-progress { max-width: 1120px; }
}

/* SP：選択肢は1組だけ。項目を切り替えても回答ボタンの位置を保つ。 */
.fde-mx-desktop { display: none; }
.fde-mx-mobile { display: flex; flex-direction: column; gap: 16px; min-height: calc(100svh - 190px); }
.fde-mx-mobile-count { font-size: 13px; font-weight: 700; color: var(--lp-f-muted); }
.fde-mx-mobile-prompt { min-height: 112px; font-size: 20px; font-weight: 700; line-height: 1.65; }
.fde-mx-mobile-prompt:focus { outline: none; }
.fde-mx-mobile-panel { position: relative; margin-top: auto; padding: 12px 0 max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--lp-gray-line); background: var(--lp-gray-bg); }
.fde-mx-mobile-help { margin-bottom: 8px; font-size: 12px; color: var(--lp-f-muted); }
.fde-mx-mobile-choices { display: grid; gap: 8px; }
.fde-mx-mobile-choices[hidden] { display: none; }
.fde-mx-mobile-choice { min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--lp-gray-line); border-radius: 10px; background: #fff; color: var(--lp-f-ink-2); font: inherit; font-size: 14px; line-height: 1.45; cursor: pointer; }
.fde-mx-mobile-choice.is-selected { border-color: var(--lp-f-gold); background: var(--lp-f-gold-soft); box-shadow: 0 0 0 1px var(--lp-f-gold); font-weight: 700; }
.fde-mx-mobile-choice:disabled { cursor: default; }
.fde-mx-mobile-choice:focus-visible { outline: 3px solid var(--lp-f-blue); outline-offset: 2px; }
.fde-mx-mobile-nav { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.fde-mx-mobile-nav .fde-back { flex: 0 0 auto; min-height: 44px; }
.fde-mx-mobile-nav .fde-next { flex: 1; }
@media (max-width: 767px) {
  .fde-app.is-matrix .fde-body { padding-bottom: 0; }
}
@media (min-width: 768px) {
  .fde-mx-desktop { display: block; }
  .fde-mx.fde-mx-desktop { display: grid; }
  .fde-actions.fde-mx-desktop { display: flex; }
  .fde-mx-mobile { display: none; }
}

@media (max-width: 767px) and (max-height: 700px) {
  .fde-app.is-matrix .fde-body > .fde-h { display: none; }
  .fde-app.is-matrix .fde-progress { padding-top: 6px; padding-bottom: 4px; }
  .fde-app.is-matrix .fde-body { padding-top: 8px; }
  .fde-mx-mobile { gap: 8px; min-height: calc(100svh - 120px); }
  .fde-mx-mobile-count { line-height: 20px; }
  .fde-mx-mobile-prompt { min-height: 66px; font-size: 18px; line-height: 1.5; }
  .fde-mx-mobile-panel { padding-top: 8px; padding-bottom: 8px; }
  .fde-mx-mobile-help { line-height: 18px; margin-bottom: 6px; }
  .fde-mx-mobile-choices { gap: 6px; }
  .fde-mx-mobile-choice { min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
  .fde-mx-mobile-nav { margin-top: 8px; }
  .fde-mx-mobile-nav .fde-next { min-height: 44px; height: 44px; line-height: 40px; }
}
