@charset "UTF-8";

/* =========================================================
   Web集客 実測診断
   見た目の方針 → 広告ではなく「検査報告書」。
   相手はWeb制作会社に何度も売り込まれている層なので、
   marketing に見えた瞬間に読まれなくなる。
   計測値は全て等幅にして、主張ではなく読み取り値であることを形で示す。
   ========================================================= */

:root {
  --ink:        #14181f;   /* 本文。純黒ではなく、印刷インクの青寄りの黒 */
  --ink-soft:   #4b5361;
  --ink-faint:  #7b828d;
  --paper:      #fbfaf7;   /* 用紙。クリームまで寄せない */
  --panel:      #f3f1eb;   /* 罫線内の下地 */
  --panel-deep: #eae7de;
  --rule:       #d6d2c8;   /* 帳票の罫線 */
  --rule-soft:  #e6e3db;
  --signal:     #b23a26;   /* 要対応。ここ以外では絶対に使わない */
  --signal-bg:  #f8ece9;
  --verified:   #2a6a55;   /* できている */
  --verified-bg:#e9f1ed;
  --caution:    #8a6410;   /* 改善余地 */
  --caution-bg: #f7f0dd;

  --display: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --body:    "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --mono:    "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 74rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

html { font-size: 17.5px; }

body {
  margin: 0;
  background-color: var(--paper);
  /* 方眼のごく薄い地。近づかないと分からない程度に留める */
  background-image:
    linear-gradient(to right, rgba(20, 24, 31, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 24, 31, 0.028) 1px, transparent 1px);
  background-size: 2.25rem 2.25rem;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.9;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

:where(a):focus-visible,
:where(button):focus-visible,
:where(input):focus-visible,
:where(select):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

/* ---------- 見出しの帯 ---------- */

.masthead {
  border-bottom: 1px solid rgba(251, 250, 247, 0.18);
  background: var(--ink);
  color: var(--paper);
}
.masthead__in {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.9rem 0;
}
.masthead__mark {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}
.masthead__doc {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: rgba(251, 250, 247, 0.55);
  text-transform: uppercase;
}

/* ---------- 入口 ---------- */

.intake { padding: clamp(2rem, 4.5vw, 3.25rem) 0 clamp(3rem, 8vw, 6rem); }

.eyebrow {
  margin: 0 0 1.1rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 1px;
  background: var(--ink-faint);
  vertical-align: 0.32em;
  margin-right: 0.7rem;
}

.display {
  margin: 0 0 1.1rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.4vw, 2.85rem);
  line-height: 1.42;
  letter-spacing: 0.01em;
}

.lede {
  margin: 0 0 clamp(1.5rem, 3.5vw, 2.25rem);
  max-width: 46rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

/* ---------- 受付票 ---------- */

.sheet {
  border: 1px solid var(--ink);
  background: var(--paper);
  max-width: 46rem;
  box-shadow:
    0.45rem 0.45rem 0 var(--panel-deep),
    0 1.2rem 2.5rem rgba(20, 24, 31, 0.07);
}
.sheet__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 1.25rem;
  border-bottom: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.sheet__title { font-weight: 700; font-size: 0.88rem; letter-spacing: 0.08em; }
.sheet__no { font-size: 0.72rem; letter-spacing: 0.14em; opacity: 0.72; }

.sheet__body { padding: clamp(1.25rem, 3.5vw, 2rem); }

.field + .field { margin-top: 1.6rem; }

.field__label {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
}
.field__no {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 0.7rem;
  line-height: 1;
  flex: none;
}

.field__control input,
.field__control select {
  width: 100%;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: var(--panel);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.02rem;
  line-height: 1.5;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field__control input {
  font-family: var(--mono);
  font-size: 0.98rem;
}
.field__control input::placeholder { color: var(--ink-faint); }
.field__control input:hover,
.field__control select:hover { border-color: var(--ink-faint); }
.field__control input:focus,
.field__control select:focus { background: var(--paper); border-color: var(--ink); }

.field__note {
  margin: 0.5rem 0 0;
  font-size: 0.87rem;
  color: var(--ink-faint);
}

.form-error {
  margin: 1rem 0 0;
  padding: 0.7rem 0.9rem;
  border-left: 3px solid var(--signal);
  background: var(--signal-bg);
  color: var(--signal);
  font-size: 0.88rem;
}

/* ---------- ボタン ---------- */

.btn {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.95rem 2rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}
.btn--go {
  margin-top: 1.8rem;
  width: 100%;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0.25rem 0.25rem 0 var(--panel-deep);
}
.btn--go:hover { transform: translate(-1px, -1px); box-shadow: 0.35rem 0.35rem 0 var(--panel-deep); }
.btn--go:active { transform: translate(1px, 1px); box-shadow: 0.1rem 0.1rem 0 var(--panel-deep); }
.btn--go[disabled] { opacity: 0.5; cursor: progress; transform: none; }
.btn__sub { font-size: 0.72rem; opacity: 0.7; font-weight: 400; }

.btn--ghost {
  margin-top: 2.5rem;
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover { background: var(--panel); }

/* ---------- 分かること / 分からないこと ---------- */

.scope {
  margin-top: clamp(3rem, 7vw, 5rem);
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.scope__head {
  margin: 0 0 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.scope__head--no { border-bottom-color: var(--rule); color: var(--ink-soft); }

.specs { list-style: none; margin: 0; padding: 0; }
.spec {
  display: flex;
  gap: 0.9rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule-soft);
}
.spec__no { font-size: 0.76rem; color: var(--ink-faint); padding-top: 0.28rem; flex: none; }
.spec__body { display: flex; flex-direction: column; }
.spec__label { font-weight: 500; font-size: 1rem; line-height: 1.65; }
.spec__detail { font-size: 0.89rem; color: var(--ink-faint); line-height: 1.65; }

.cannot { list-style: none; margin: 0; padding: 0; }
.cannot li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.4rem;
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.cannot li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.7rem;
  height: 1px;
  background: var(--ink-faint);
}
.cannot__note {
  margin: 1.1rem 0 0;
  padding: 0.9rem 1rem;
  background: var(--panel);
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* ---------- 計測中 ---------- */

.run { padding: clamp(3rem, 8vw, 6rem) 0; }

.run__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 0.5rem;
}
.run__label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
}
.run__label::after {
  content: "";
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
  margin-left: 0.6rem;
  border-radius: 50%;
  background: var(--signal);
  animation: pulse 1.1s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.15; } }

.run__target { font-size: 0.85rem; color: var(--ink-faint); word-break: break-all; }

.probe { list-style: none; margin: 0; padding: 0; }
.probe__row {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--ink-faint);
  transition: color 0.25s ease, background 0.25s ease;
}
.probe__row[data-active] { color: var(--ink); background: var(--panel); }
.probe__row[data-complete] { color: var(--ink); }
.probe__no { font-size: 0.76rem; }
.probe__label { font-size: 1.02rem; font-weight: 500; }
.probe__state { font-size: 0.88rem; text-align: right; }
.probe__state[data-state="wait"]    { color: var(--ink-faint); }
.probe__state[data-state="running"] { color: var(--ink); }
.probe__state[data-state="ok"]      { color: var(--verified); }
.probe__state[data-state="warn"]    { color: var(--caution); }
.probe__state[data-state="ng"]      { color: var(--signal); }

.run__note { margin: 1.2rem 0 0; font-size: 0.8rem; color: var(--ink-faint); }

/* ---------- 報告 ---------- */

.report { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 8vw, 6rem); }

.report__masthead {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--ink);
  border-bottom-width: 3px;
  background: var(--paper);
}
.report__kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
}
.report__site {
  margin: 0.5rem 0 1rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  line-height: 1.4;
}

.facts { margin: 0; display: grid; gap: 0.25rem; }
.facts__row { display: flex; gap: 0.9rem; align-items: baseline; font-size: 0.92rem; }
.facts__row dt {
  flex: none;
  width: 4.5rem;
  color: var(--ink-faint);
  font-size: 0.78rem;
}
.facts__row dd { margin: 0; color: var(--ink-soft); word-break: break-all; }

.verdict {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 0 0.4rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--ink);
  background: var(--panel);
  text-align: right;
}
.verdict__label {
  grid-column: 1 / -1;
  font-size: 0.76rem;
  color: var(--ink-soft);
  text-align: left;
}
.verdict__count {
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  color: var(--signal);
}
.verdict__count[data-zero="1"] { color: var(--verified); }
.verdict__unit { font-size: 0.9rem; }
.verdict__score {
  grid-column: 1 / -1;
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--rule);
  font-size: 0.78rem;
  color: var(--ink-faint);
  text-align: left;
}

/* カテゴリ別の読み取り値 */
.readout {
  margin: clamp(1.75rem, 4vw, 2.75rem) 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.gauge {
  padding: 0.95rem 1.05rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: relative;
}
/* 目盛りの数字。計器の面らしさを出す最後のひと押し */
.gauge__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 0.3rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}
.gauge__label { display: block; font-size: 0.87rem; line-height: 1.5; margin-bottom: 0.5rem; }
.gauge__val { font-family: var(--mono); font-size: 1.75rem; font-weight: 600; line-height: 1; }
.gauge__val::after { content: " 点"; font-size: 0.62rem; font-weight: 400; color: var(--ink-faint); }
.gauge__na { font-family: var(--mono); font-size: 0.95rem; color: var(--ink-faint); }
.gauge__bar {
  margin-top: 0.55rem;
  height: 0.5rem;
  background: var(--rule-soft);
  position: relative;
  overflow: hidden;
}
/* 0 / 25 / 50 / 75 / 100 の目盛り。棒グラフではなく計器に見せるための線 */
.gauge__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to right,
    transparent 0,
    transparent calc(25% - 1px),
    rgba(20, 24, 31, 0.26) calc(25% - 1px),
    rgba(20, 24, 31, 0.26) 25%
  );
  pointer-events: none;
}
.gauge__bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 0%);
  background: var(--ink);
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.gauge[data-level="ng"]   .gauge__val { color: var(--signal); }
.gauge[data-level="ng"]   .gauge__bar i { background: var(--signal); }
.gauge[data-level="warn"] .gauge__val { color: var(--caution); }
.gauge[data-level="warn"] .gauge__bar i { background: var(--caution); }
.gauge[data-level="ok"]   .gauge__val { color: var(--verified); }
.gauge[data-level="ok"]   .gauge__bar i { background: var(--verified); }

/* 見つかったこと */
.sec__head {
  margin: 0 0 1.25rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
}
.findings, .done { margin-top: clamp(2.25rem, 5vw, 3.25rem); }

.finding-list, .good-list { list-style: none; margin: 0; padding: 0; }

.finding {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 0 1.15rem;
  padding: 1.5rem 1.25rem 1.5rem 1.1rem;
  border-bottom: 1px solid var(--rule-soft);
  border-left: 4px solid var(--rule);
  background: var(--paper);
  transition: border-left-color 0.2s ease;
}
.finding--critical { border-left-color: var(--signal); }
.finding--warn { border-left-color: var(--caution); }
.finding + .finding { margin-top: 0.5rem; }
.finding__no {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--rule);
  line-height: 1;
  padding-top: 0.2rem;
}
.finding__tag {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.1rem 0.55rem;
  font-size: 0.7rem;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  border: 1px solid currentColor;
}
.finding--critical .finding__tag { color: var(--signal); background: var(--signal-bg); }
.finding--warn     .finding__tag { color: var(--caution); background: var(--caution-bg); }
.finding__title {
  margin: 0 0 0.5rem;
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.6;
}
.finding--critical .finding__title { color: var(--signal); }
.finding__detail { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.95; }
.finding__evidence {
  margin: 0.7rem 0 0;
  padding: 0.55rem 0.8rem;
  background: var(--panel);
  border-left: 2px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.84rem;
  color: var(--ink-soft);
  line-height: 1.75;
  word-break: break-all;
}
.finding__evidence::before {
  content: "実際の数字 ";
  color: var(--ink-faint);
}

.good-list li {
  display: flex;
  gap: 0.85rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.good-list li::before {
  content: "済";
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid var(--verified);
  color: var(--verified);
  font-size: 0.7rem;
  font-family: var(--mono);
}

/* ---------- 続きを見る ---------- */

.gate {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  position: relative;
}
.gate__inner {
  border: 1px solid var(--ink);
  background: var(--panel);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.gate__head {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  line-height: 1.5;
}
.gate__lede { margin: 0 0 1.6rem; font-size: 0.92rem; color: var(--ink-soft); }

.gate__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}
.gf { display: flex; flex-direction: column; gap: 0.35rem; }
.gf__label { font-size: 0.82rem; font-weight: 500; }
.gf__label em {
  font-style: normal;
  margin-left: 0.35rem;
  padding: 0.05rem 0.35rem;
  font-size: 0.66rem;
  font-family: var(--mono);
  color: var(--signal);
  border: 1px solid currentColor;
}
.gf input {
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: var(--paper);
  font-family: var(--body);
  font-size: 0.98rem;
  color: var(--ink);
}
.gf input:focus { border-color: var(--ink); }

.gate__fine { margin: 0.9rem 0 0; font-size: 0.78rem; color: var(--ink-faint); }

/* ---------- 面談 ---------- */

.meet {
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 3px double var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.meet__head {
  margin: 0 0 0.9rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  line-height: 1.55;
}
.meet__body { margin: 0 0 1.1rem; font-size: 1rem; line-height: 1.95; color: var(--ink-soft); }
.meet__by { margin: 0; font-size: 0.83rem; color: var(--ink-faint); }
.meet__cal { border: 1px solid var(--rule); background: #fff; }

.report__caveat {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: 1.1rem 1.2rem;
  background: var(--panel);
  font-size: 0.87rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* ---------- 脚 ---------- */

.foot {
  border-top: 1px solid var(--rule);
  padding: 1.4rem 0;
  margin-top: 3rem;
}
.foot__in {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--ink-faint);
}

.foot__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.foot__link:hover,
.foot__link:focus-visible {
  color: var(--ink);
}

/* ---------- 画面が狭いとき ---------- */

@media (max-width: 62rem) {
  .scope, .meet { grid-template-columns: 1fr; }
  .report__masthead { grid-template-columns: 1fr; align-items: start; }
  .verdict { text-align: left; justify-self: start; }
}

@media (max-width: 34rem) {
  body { line-height: 1.8; }
  .sheet { box-shadow: 0.25rem 0.25rem 0 var(--panel-deep); }
  .finding { grid-template-columns: 1fr; gap: 0.35rem; }
  .finding__no { padding-top: 0; }
  .masthead__doc { display: none; }
  .probe__row { grid-template-columns: 2rem 1fr; grid-template-areas: "no label" ". state"; }
  .probe__state { grid-area: state; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- 改善のしかた ----------
   指摘だけ置いて帰らせない。何をすればいいかまで書く欄。
   朱は「問題」に使う色なので、ここは緑寄りにして「進める側」だと分ける。 */

.finding__fix {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--verified-bg);
  border-left: 3px solid var(--verified);
}
.finding__fix-label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--verified);
}
.finding__fix-body {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.95;
  color: var(--ink);
}

/* ---------- まだ相談するほどではない人の逃げ場 ----------
   予約が重い人をそのまま帰らせない。無料の情報発信へ渡して、
   見てから戻ってきてもらう。押しの強さは面談ブロックより一段落とす。 */

.softpath {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid var(--rule);
  background: var(--panel);
}
.softpath__head {
  margin: 0 0 0.8rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.55;
}
.softpath__text {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  line-height: 1.95;
  color: var(--ink-soft);
  max-width: 46rem;
}
.softpath__btn {
  display: inline-flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: 0.6rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.15s ease, transform 0.12s ease;
}
.softpath__btn:hover { background: var(--ink); color: var(--paper); transform: translate(-1px, -1px); }
.softpath__btn-sub { font-size: 0.72rem; font-weight: 400; opacity: 0.65; }

/* 弊社で引き受けている部分。押しつけにならないよう、色は使わず一段落とす */
.finding__support {
  margin: 0.7rem 0 0;
  padding-left: 0.9rem;
  border-left: 2px solid var(--rule);
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--ink-faint);
}

/* ---------- 待っている間の計器 ----------
   分析はときどき数秒で終わるが、一瞬で結果が出ると
   「本当に見たのか」と受け取られる。経過そのものを見せる。 */

.run__dots {
  display: inline-block;
  width: 1.6rem;
  text-align: left;
  color: var(--signal);
}
.run__meter {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.1rem 0 1.4rem;
}
.run__bar {
  flex: 1;
  height: 0.55rem;
  background: var(--panel-deep);
  position: relative;
  overflow: hidden;
}
.run__bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p, 0%);
  background: var(--ink);
  transition: width 0.25s linear;
}
.run__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to right, transparent 0, transparent calc(10% - 1px),
    rgba(251, 250, 247, 0.5) calc(10% - 1px), rgba(251, 250, 247, 0.5) 10%);
  pointer-events: none;
}
.run__pct { font-size: 0.85rem; color: var(--ink-soft); flex: none; }

/* ---------- 直し方の解説動画 ---------- */

.finding__video { margin-top: 0.75rem; }
.finding__video-label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}
.finding__video-link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.95rem 0.7rem 2.6rem;
  border: 1px solid var(--rule);
  background: var(--paper);
  text-decoration: none;
  position: relative;
  transition: border-color 0.15s ease, background 0.15s ease;
}
/* 再生の三角。画像を持たずにCSSだけで出す */
.finding__video-link::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 0.42rem 0 0.42rem 0.68rem;
  border-color: transparent transparent transparent var(--signal);
}
.finding__video-link:hover { border-color: var(--ink); background: var(--panel); }
.finding__video-title { font-size: 0.95rem; font-weight: 700; color: var(--ink); line-height: 1.6; }
.finding__video-why { font-size: 0.85rem; color: var(--ink-faint); line-height: 1.65; }

/* ---------- まず、この順番で ----------
   指摘が10件以上並ぶと、人はどれから手をつけるか決められずに固まる。
   全部見せたうえで、先頭に3つだけ抜き出して動けるようにする。 */

.firststeps {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  padding: clamp(1.35rem, 3.5vw, 2rem);
  border: 1px solid var(--ink);
  border-left-width: 5px;
  background: var(--paper);
  box-shadow: 0 0.7rem 1.6rem rgba(20, 24, 31, 0.06);
}
.firststeps__head {
  margin: 0 0 0.6rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
}
.firststeps__lede {
  margin: 0 0 1.25rem;
  font-size: 0.96rem;
  color: var(--ink-soft);
  max-width: 44rem;
}
.firststeps__list { list-style: none; margin: 0; padding: 0; }
.firststep {
  display: flex;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--rule-soft);
}
.firststep__no {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8rem;
  line-height: 1;
}
.firststep__title { display: block; font-weight: 700; font-size: 1.05rem; line-height: 1.6; }
.firststep__do { display: block; font-size: 0.93rem; color: var(--ink-soft); line-height: 1.75; }

/* 無料で全部渡したことを、渡した側から一度だけ言う */
.meet__gift {
  padding: 0.9rem 1.05rem;
  background: var(--verified-bg);
  border-left: 3px solid var(--verified);
}

.report__again { margin: 2rem 0 0; }
.linkbtn {
  border: 0;
  background: none;
  padding: 0;
  font-family: var(--body);
  font-size: 0.85rem;
  color: var(--ink-faint);
  text-decoration: underline;
  text-underline-offset: 0.25em;
  cursor: pointer;
}
.linkbtn:hover { color: var(--ink); }

.finding__video-note {
  margin: 0.55rem 0 0;
  font-size: 0.87rem;
  line-height: 1.9;
  color: var(--ink-faint);
}

/* ---------- どうやって調べているのか ---------- */

.method {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid var(--rule);
  background: var(--paper);
}
.method__head {
  margin: 0 0 0.8rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
}
.method__lede { margin: 0 0 1.4rem; font-size: 0.98rem; line-height: 1.95; color: var(--ink-soft); max-width: 48rem; }
.method__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.method__list li {
  padding-left: 1.1rem;
  border-left: 2px solid var(--rule);
}
.method__what { display: block; font-weight: 700; font-size: 0.98rem; line-height: 1.7; }
.method__how { display: block; font-size: 0.92rem; line-height: 1.9; color: var(--ink-soft); }
.method__note {
  margin: 1.4rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rule-soft);
  font-size: 0.87rem;
  line-height: 1.9;
  color: var(--ink-faint);
}

/* ---------- 判定の根拠（受付票の中） ----------
   押す直前に「これは感想ではない」を伝える位置。
   ここで納得してもらえないと、結果を読んでもらえない。 */

.basis {
  margin-top: 1.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--rule);
}
.basis__head {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.7;
}
.basis__body {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.95;
  color: var(--ink-soft);
}

/* ---------- 人の気配 ----------
   このツールの目的はリード獲得で、最後に選ばれるのは会社ではなく人。
   institution だけの書類に見えると「頼みたい」が生まれないので、
   判定の責任者を最初に、話す相手を最後に出す。押し出しは強くしない。 */

.byline {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  max-width: 46rem;
  margin-bottom: 1.75rem;
  padding: 1.1rem 1.25rem;
  background: var(--panel);
  border-left: 3px solid var(--ink);
}
.byline__face {
  flex: none;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper);
  border: 1px solid var(--rule);
}
.byline__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--ink-soft);
}
.byline__text strong { color: var(--ink); }

.meet__person {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.4rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--rule);
}
.meet__face {
  flex: none;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper);
  border: 1px solid var(--rule);
}
.meet__person-text { display: flex; flex-direction: column; gap: 0.1rem; }
.meet__name { font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.meet__role { font-size: 0.82rem; color: var(--ink-faint); }
.meet__note { margin-top: 0.35rem; font-size: 0.87rem; color: var(--ink-soft); line-height: 1.8; }

@media (max-width: 34rem) {
  .byline { flex-direction: column; gap: 0.8rem; }
  .meet__person { flex-direction: column; align-items: flex-start; }
}

/* ---------- 同業との比較 ----------
   点数は単体では意味を持たない。ここで初めて意味を持つ。
   ただし上位に出た相手を煽らない。色も変える。 */

.bench {
  margin-top: clamp(1.5rem, 3.5vw, 2.25rem);
  padding: 1.15rem 1.35rem;
  border-left: 4px solid var(--verified);
  background: var(--verified-bg);
}
.bench[data-low="1"] { border-left-color: var(--signal); background: var(--signal-bg); }
.bench__line {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.75;
}
.bench[data-low="1"] .bench__line { color: var(--signal); }
.bench[data-low="0"] .bench__line { color: var(--verified); }
.bench__note { margin: 0; font-size: 0.93rem; line-height: 1.9; color: var(--ink-soft); }

/* ---------- 日本語の折り返し ----------
   既定のままだと「ホームペ／ージ」「分析しま／す。」のように語の途中で切れる。
   auto-phrase は文節の切れ目でだけ折り返す指定で、日本語のためにある。
   対応していないブラウザでは従来どおり折り返すだけなので、入れて損はない。 */

body,
.lede, .display, .byline__text, .basis__body, .method__lede, .method__what, .method__how,
.method__note, .spec__label, .spec__detail, .cannot li, .cannot__note,
.finding__title, .finding__detail, .finding__fix-body, .finding__support, .finding__video-note,
.firststeps__lede, .firststep__title, .firststep__do, .findings__guide,
.bench__line, .bench__note, .meet__head, .meet__body, .softpath__text, .report__caveat,
.gauge__label, .sec__head, .sample__lede {
  word-break: auto-phrase;
  line-break: strict;
}

/* 人名や固有名詞を行の途中で割らない */
.nw { white-space: nowrap; }

/* 見出しは意図した位置で改行させる。狭い画面では文節で折り返させる */
.display { text-wrap: pretty; }

/* ---------- 業種の確認 ----------
   業種を取り違えたまま結果を読ませると、的外れな指摘を信じ込ませることになる。
   合っているときも一言添えて、選び直せることを伝える。 */

.indcheck {
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--rule);
  background: var(--panel);
}
.indcheck[data-state="warn"] { border-left-color: var(--caution); background: var(--caution-bg); }
.indcheck__head {
  margin: 0 0 .35rem;
  font-size: .95rem;
  font-weight: 700;
}
.indcheck[data-state="warn"] .indcheck__head { color: var(--caution); }
.indcheck__body { margin: 0; font-size: .92rem; line-height: 1.95; color: var(--ink-soft); word-break: auto-phrase; }

/* 測り方に断りがある項目は、点数のすぐ下に書く。簡易計測を正式な点数に見せない */
.gauge__note {
  display: block;
  margin-top: .45rem;
  font-size: .72rem;
  line-height: 1.6;
  color: var(--ink-faint);
}
