/* TOP の診断レポート型ファーストビュー。共通部品・プラグイン本体には影響させない。 */
.fv--report { padding: 72px 0 48px; background: radial-gradient(ellipse at 88% 26%, var(--c-tint-100), transparent 59%), #fff; }
.fv--report::before { width: 700px; height: 700px; right: -390px; top: -390px; background: var(--c-tint-100); opacity: .45; }
.fv--report::after { display: none; }
body.home .site-header__in, .fv--report > .wrap, .steps-wrap { width: min(1320px, 100% - 96px); }
.fv--report .fv__grid { grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); column-gap: 64px; row-gap: 0; align-items: start; }
/* display:contents で既存ツールの DOM と ID を保ち、進捗・結果だけを全幅の行へ配置する。 */
.fv--report .tool-skin, .fv--report #fuuhyou-dock-app { display: contents; }
.fv--report .fd-hero { grid-column: 1; grid-row: 1; margin: 26px 0 30px; align-self: end; }
.fv--report .fd-badge { margin-bottom: 30px; font-size: 13px; letter-spacing: .07em; }
.fv--report .tool-skin .fd-hero h1 { font-size: clamp(40px, 4.65vw, 68px); line-height: 1.35; letter-spacing: -.035em; font-weight: 800; margin: 0 0 28px; text-wrap: initial; word-break: normal; }
.fv__title-intro, .fv__title-line, .fv__title-accent { display: block; width: fit-content; white-space: nowrap; }
.fv__title-intro { font-size: .83em; margin-bottom: 8px; }
.fv__title-accent { color: var(--c-brand-ink); position: relative; isolation: isolate; }
.fv__title-accent::after { content: ""; position: absolute; inset: auto -4px 5px; height: .3em; background: var(--c-tint-100); border-radius: 4px; z-index: -1; transform: skewX(-8deg); }
.fv--report .fd-hero p { max-width: 34em; font-size: 17px; line-height: 1.95; }
.fv--report .fd-search { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: center; position: relative; padding: 6px; border: 1px solid var(--c-line-strong); border-radius: 14px; background: #fff; box-shadow: 0 10px 32px rgb(14 58 44 / 7%); }
.fv--report .fd-search::before { content: ""; position: absolute; left: 20px; top: 31px; width: 15px; height: 15px; border: 2px solid var(--c-brand-ink); border-radius: 50%; pointer-events: none; }
.fv--report .fd-search::after { content: ""; position: absolute; left: 34px; top: 45px; width: 8px; height: 2px; background: var(--c-brand-ink); transform: rotate(45deg); pointer-events: none; }
.fv--report .fd-search:focus-within { border-color: var(--c-brand-ink); box-shadow: 0 0 0 3px var(--c-tint-100); }
.fv--report .fd-search input { box-sizing: border-box; min-width: 0; max-width: 100%; width: 100%; height: 64px; margin: 0; padding: 0 12px 0 44px; border: 0; background: transparent; border-radius: 8px; font-size: 16px; -webkit-appearance: none; appearance: none; }
/* 入力のフォーカスは外側のパネルで示し、親テーマの枠が二重に出ることを防ぐ。 */
.fv--report #fd-input { scroll-margin-top: 112px; }
.fv--report #fd-input:focus, .fv--report #fd-input:focus-visible { outline: none; box-shadow: none; }
.fv--report .fd-search button { box-sizing: border-box; min-width: 0; width: auto; max-width: 100%; height: 64px; margin: 0; padding: 0 23px; border-radius: 10px; font-size: 15px; }
.fv__hint { grid-column: 1; grid-row: 3; margin: 18px 0 0; padding-bottom: 24px; font-size: 13px; color: var(--c-text-2); line-height: 1.8; }
.fv--report .fd-loading, .fv--report .fd-result { grid-column: 1 / -1; width: 100%; min-width: 0; max-width: 960px; justify-self: center; }
.fv--report .fd-loading { grid-row: 4; padding: 36px 0 0; }
.fv--report .fd-result { grid-row: 5; margin-top: 36px; }
/* 診断結果の下の相談フォーム。結果と同じ幅の全幅行に置く（結果の次の行）。フォームは お問い合わせページと同じ WPForms。 */
.fv--report .fd-consult { grid-column: 1 / -1; grid-row: 6; width: 100%; min-width: 0; max-width: 960px; justify-self: center; margin-top: 40px; }
.fv--report .fd-consult-title { font-size: 24px; line-height: 1.5; color: var(--c-text); }
.fv--report .fd-consult-lead { font-size: 15px; color: var(--c-text-2); }
.fv--report .fd-consult .wpforms-container { margin: 0; max-width: none; }
.fv__visual { grid-column: 2; grid-row: 1 / 4; min-width: 0; align-self: center; padding: 0 14px 0 16px; }
.fv__report-scene { position: relative; isolation: isolate; padding-bottom: 36px; }
.fv__report-scene::before { content: ""; position: absolute; inset: -40px -50px 0; background: radial-gradient(ellipse, var(--c-tint-100), transparent 70%); z-index: -2; }
.fv__report { position: relative; padding: 22px 22px 18px; border: 1px solid var(--c-tint-200); border-radius: 20px; background: #fff; box-shadow: 0 18px 55px rgb(14 58 44 / 10%), 0 0 0 5px rgb(255 255 255 / 55%); }
.fv__report-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.fv__report-title { display: flex; align-items: center; gap: 10px; color: var(--c-text); font-size: 18px; font-weight: 700; }
.fv__report-title svg { width: 23px; height: 23px; color: var(--c-brand-ink); }
.fv__sample { padding: 4px 12px; border-radius: 99px; background: var(--c-tint-50); color: var(--c-brand-ink); font-size: 11px; font-weight: 600; white-space: nowrap; }
.fv__report-query { display: flex; align-items: center; gap: 12px; height: 38px; border: 1px solid var(--c-line); border-radius: 8px; padding: 0 12px; color: var(--c-text-2); font-size: 12px; }
.fv__report-query svg { width: 17px; height: 17px; color: var(--c-text-3); }
.fv__radar { width: 100%; height: auto; margin: 12px 0 0; overflow: visible; font-family: var(--font-sans); }
.fv__engines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 13px 0; border: 1px solid var(--c-line); border-radius: 10px; }
.fv__engine { display: flex; flex-direction: column; padding: 0 12px; gap: 3px; font-size: 10px; color: var(--c-text-2); white-space: nowrap; }
.fv__engine + .fv__engine { border-left: 1px solid var(--c-line); }
.fv__engine strong { margin-bottom: 5px; color: var(--c-text); font-family: var(--font-latin); font-size: 13px; font-weight: 600; }
.fv__engine span { display: flex; align-items: center; gap: 5px; }
.fv__engine svg { width: 13px; height: 13px; border-radius: 50%; background: var(--c-brand-ink); color: white; padding: 2px; flex: none; stroke-width: 2.5; }
.fv__search-sheet { position: absolute; top: 55px; bottom: 80px; width: 48%; padding: 20px 16px; border: 1px solid var(--c-line); border-radius: 14px; background: rgb(255 255 255 / 85%); z-index: -1; box-shadow: 0 10px 24px rgb(14 58 44 / 4%); }
.fv__search-sheet--back { left: -45px; transform: rotate(-8deg); }
.fv__search-sheet--side { right: -42px; transform: rotate(9deg); top: 80px; bottom: 55px; }
.fv__search-sheet span { display: flex; align-items: center; gap: 7px; margin-bottom: 20px; color: var(--c-text-2); font-family: var(--font-latin); font-size: 12px; }
.fv__search-sheet svg { width: 15px; height: 15px; color: var(--c-brand-ink); }
.fv__search-sheet i { display: block; height: 7px; width: 80%; margin: 15px 0; background: var(--c-surface-2); border-radius: 3px; }
.fv__search-sheet i:nth-child(odd) { width: 60%; }
.fv__complete { position: absolute; bottom: 0; left: -40px; display: flex; align-items: center; gap: 13px; padding: 15px 22px 15px 15px; border: 1px solid var(--c-tint-100); border-radius: 14px; background: #fff; box-shadow: 0 12px 35px rgb(14 58 44 / 12%); }
.fv__complete-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; background: var(--c-brand-ink); color: #fff; }
.fv__complete-icon svg { width: 25px; height: 25px; stroke-width: 2.5; }
.fv__complete strong { display: block; color: var(--c-brand-ink); font-size: 18px; line-height: 1.5; }
.fv__complete small { display: block; font-size: 11px; line-height: 1.8; color: var(--c-text-2); }
.fv__sample-note { margin: 16px 0 0; color: var(--c-text-3); font-size: 10px; line-height: 1.8; text-align: right; }
.steps--compact { margin: 0; border: 0; border-top: 1px solid var(--c-line); border-radius: 0; padding: 22px 0 0; background: #fff; box-shadow: none; }
.steps--compact li { grid-template-columns: auto 1fr; padding: 0 24px; gap: 4px 24px; }
.steps--compact li:first-child { padding-left: 0; }
.steps--compact .steps__n { width: auto; min-width: 2ch; font-size: 34px; align-self: center; }
.steps--compact .steps__t { font-size: 15px; }
.steps--compact .steps__d { font-size: 12px; line-height: 1.8; }
@media (min-width: 900px) and (max-width: 1199px) {
  body.home .site-header__in, .fv--report > .wrap, .steps-wrap { width: calc(100% - 64px); }
  .fv--report .fv__grid { column-gap: 38px; }
  .fv--report .fd-search button { padding-inline: 14px; font-size: 14px; }
  .fv__report { padding: 18px 14px 14px; }
  .fv__report-title { font-size: 15px; }
  .fv__engine { padding-inline: 7px; font-size: 9px; }
}
@media (max-width: 899px) {
  .fv--report { padding: 44px 0 36px; }
  body.home .site-header__in, .fv--report > .wrap, .steps-wrap { width: min(620px, 100% - 40px); }
  .fv--report .fv__grid { grid-template-columns: minmax(0, 1fr); }
  .fv--report .fd-hero { margin-top: 0; margin-bottom: 26px; }
  .fv--report .fd-badge { font-size: 12px; margin-bottom: 24px; }
  .fv--report .tool-skin .fd-hero h1 { font-size: clamp(30px, 7.8vw, 54px); margin-bottom: 24px; }
  .fv--report .fd-hero p { font-size: 15px; }
  .fv__hint { padding-bottom: 0; margin-top: 14px; font-size: 12px; }
  .fv__visual { grid-column: 1; grid-row: 4; width: min(440px, 100%); justify-self: center; padding: 0 14px 0 20px; margin-top: 40px; }
  .fv--report .fd-loading { grid-row: 5; }
  .fv--report .fd-result { grid-row: 6; }
  .fv--report .fd-consult { grid-row: 7; margin-top: 32px; }
  .fv--report .fd-consult-title { font-size: 20px; }
  .fv__search-sheet--back { left: -25px; }
  .fv__search-sheet--side { right: -22px; }
  .fv__complete { left: -16px; padding: 12px; gap: 10px; }
  .fv__complete strong { font-size: 16px; }
  .fv__sample-note { font-size: 10px; text-align: left; }
  .steps--compact { grid-template-columns: 1fr; padding-top: 4px; }
  .steps--compact li, .steps--compact li:first-child { padding: 20px 4px; }
  .steps--compact li + li { border-left: 0; border-top: 1px solid var(--c-line); }
}
@media (max-width: 767px) {
  .fv--report .fd-search { grid-template-columns: minmax(0, 1fr); }
  .fv--report .fd-search input, .fv--report .fd-search button { width: 100%; height: 56px; }
  .fv--report .fd-search::before { top: 27px; }
  .fv--report .fd-search::after { top: 41px; }
}
@media (max-width: 479px) {
  .fv__report { padding: 16px 12px 12px; border-radius: 16px; }
  .fv__report-title { font-size: 15px; gap: 7px; }
  .fv__sample { font-size: 10px; padding-inline: 9px; }
  .fv__engine { padding-inline: 7px; font-size: 9px; }
  .fv__engine strong { font-size: 12px; }
}
