@charset "UTF-8";
/* FV 参考デザイン：白黒だけ（色・マーカー・グラデーション・影・角丸を使わない） */
:root {
  --ink: #111;
  --sub: #555;
  --muted: #8a8a8a;
  --line: #d6d6d6;
  --bg: #fff;
  --ff: "Noto Sans JP", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --header-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--ff); line-height: 1.8; font-feature-settings: "palt"; }
h1, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ボタン（形は仮。西川さんが検討中） */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; height: 48px; padding: 0 20px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: 700 14px/1 var(--ff); cursor: pointer; transition: background-color .2s, color .2s; }
.btn:hover { background: #fff; color: var(--ink); }
/* 矢印は小さな四角に入れて、ボタンと逆の色にする（2026-11-02 西川さん「→だけ枠囲って色変えるとリッチ」） */
.btn__arrow { display: inline-grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; margin-right: -8px; background: #fff; color: var(--ink); font: 500 14px/1 var(--mono); transition: background-color .2s, color .2s; }
.btn:hover .btn__arrow { background: var(--ink); color: #fff; }
.btn--sm .btn__arrow { width: 22px; height: 22px; margin-right: -6px; font-size: 12px; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 13px; }
/* ヘッダーのCTA：小さすぎたので通常より大きく（2026-11-02 西川さん） */
.header__cta { height: 48px; min-width: 168px; padding: 0 18px 0 22px; font-size: 15px; }

/* header */
.header { position: relative; z-index: 2; height: var(--header-h); border-bottom: 1px solid var(--ink); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 48px; }
.header__logo { font: 700 22px/1 var(--mono); letter-spacing: .06em; }
.header__logo a { display: inline-block; min-width: 7.2ch; }
.header__nav { display: flex; align-items: center; gap: 40px; }
.header__nav ul { display: flex; gap: 32px; font-size: 13px; font-weight: 500; }
.header__nav ul a { position: relative; }
.header__nav ul a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.header__nav ul a:hover::after { transform: scaleX(1); }

/* FV */
.fv { position: relative; min-height: calc(100vh - var(--header-h)); max-height: 900px; display: flex; align-items: center; }
.fv__inner { width: 100%; max-width: 1600px; margin: 0 auto; padding: 56px 48px 88px 96px; display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); align-items: center; gap: 48px; }
.fv__label { display: inline-block; padding: 6px 12px 5px; background: var(--ink); color: #fff; font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.fv__catch { margin-top: 28px; font-size: clamp(26px, 2.4vw, 34px); font-weight: 700; line-height: 1.55; letter-spacing: .01em; }

/* 無料サイトスコア診断 */
.check { margin-top: 48px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 20px 0 22px; }
.check__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.check__title { font-size: 16px; font-weight: 700; }
.check__text { font-size: 12px; color: var(--sub); }
.check__row { display: flex; margin-top: 14px; }
.check__row input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--ink); border-right: 0; border-radius: 0; background: #fff; font: 400 14px var(--mono); color: var(--ink); }
.check__row input::placeholder { color: var(--muted); }
.check__row input:focus { outline: 2px solid var(--ink); outline-offset: -2px; }
.check__row .btn { min-width: 148px; }

/* 図：データ → 分析 → サイト */
.flow { width: 100%; }
.flow__svg { display: block; width: 100%; height: auto; overflow: visible; }
.flow__head { font: 500 11px var(--mono); letter-spacing: .14em; fill: var(--muted); }
.flow__rule { stroke: var(--ink); stroke-width: 1; }
.in { opacity: 0; transition: opacity .3s; }
.in.is-on { opacity: 1; }
.in__name { font: 500 13px var(--ff); fill: var(--sub); }
.in__val { font: 500 17px var(--mono); fill: var(--ink); font-variant-numeric: tabular-nums; }
.p { fill: none; stroke: var(--line); stroke-width: 1; }
.p.is-done { stroke: #9a9a9a; }
.dots rect { fill: var(--ink); }
.node { fill: #fff; stroke: var(--ink); stroke-width: 1.5; transition: fill .3s; }
.node.is-on { fill: var(--ink); }
.node__label { font: 500 12px var(--ff); fill: var(--sub); opacity: 0; transition: opacity .3s; }
.node__label.is-on { opacity: 1; }
.out-line { stroke: var(--ink); stroke-width: 1; }
.w { fill: none; stroke: var(--ink); stroke-width: 1; }
.w--fill { fill: #e4e4e4; stroke: none; transition: fill .5s; }
.site.is-fixed .w--key { fill: var(--ink); }
.why__i { opacity: 0; transition: opacity .3s; }
.why__i.is-on { opacity: 1; }
.why line { stroke: var(--ink); stroke-width: 1; }
.why text { font: 500 12px var(--ff); fill: var(--ink); }
.why text.flow__head { font: 500 11px var(--mono); letter-spacing: .14em; fill: var(--muted); }

.fv__scroll { position: absolute; left: 48px; bottom: 28px; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; }
.fv__scroll::after { content: ""; display: inline-block; width: 1px; height: 44px; margin-top: 10px; background: var(--muted); }

/* 中間幅 */
@media (max-width: 1279px) {
  .header__inner { padding: 0 32px; }
  .fv__inner { padding: 48px 32px 80px 56px; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 1023px) {
  :root { --header-h: 60px; }
  .header__inner { padding: 0 20px; }
  .header__nav ul { display: none; }
  .fv { max-height: none; }
  .fv__inner { grid-template-columns: 1fr; padding: 40px 32px 80px; gap: 48px; }
  .flow { max-width: 640px; }
}
@media (max-width: 767px) {
  .header__logo { font-size: 18px; }
  .header__nav .btn { display: none; }
  .fv__inner { padding: 32px 20px 64px; gap: 40px; }
  .fv__catch { font-size: 26px; margin-top: 20px; }
  .check { margin-top: 32px; }
  .check__row { flex-direction: column; gap: 8px; }
  .check__row input { flex: none; width: 100%; border-right: 1px solid var(--ink); }
  .check__row .btn { width: 100%; }
  .fv__scroll { display: none; }
  .in__val { font-size: 19px; }
  .in__name { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.fv__inner { position: relative; z-index: 1; }
/* スマホでもヘッダーのCTAを出す（メニューは隠したまま） */
@media (max-width: 767px) {
  .header__nav .header__cta { display: inline-flex; height: 40px; min-width: 0; padding: 0 10px 0 14px; gap: 10px; font-size: 13px; }
}
