/*
 * erabare.jp の見た目。色はアプリのデザイントークン（フォレスト・グリーン・ライム）と
 * 営業資料・キービジュアルの地色（クリーム）とコーラルに合わせる。
 * インラインの style は使わない（CSP の style-src 'self' が止めるため）。
 */
:root {
  --ink: #1d3029;
  --muted: #5d7065;
  --forest: #173e30;
  --forest-2: #1e4838;
  --forest-line: #416653;
  --forest-text: #c6d7c9;
  --forest-soft-text: #e3ece5;
  --green: #17634c;
  --lime: #d9f99d;
  --lime-deep: #b9e35e;
  --lime-wash: #f4fbe3;
  --cream: #f7f3ea;
  --cream-2: #efe8d9;
  --surface: #ffffff;
  --wash: #eef4e9;
  --line: #e2e6de;
  --line-strong: #cbdcc3;
  --field-line: #b9c7bd;
  --coral: #fd795d;
  --coral-soft: #ffe9e2;
  --coral-ink: #a8402a;
  --danger: #be3d3d;
  --danger-soft: #fcecec;
  --danger-line: #f2c4c4;
  --radius-lg: 28px;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(23, 62, 48, 0.04), 0 14px 34px rgba(23, 62, 48, 0.06);
  --wrap: 1200px;
  --header-h: 72px;
  --font: "ERABARE Noto Sans JP", "ERABARE Inter", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
  --font-latin: "ERABARE Inter", "ERABARE Noto Sans JP", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
strong,
b,
th {
  font-weight: 600;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--green);
  text-underline-offset: 0.2em;
}
button,
input,
textarea {
  font: inherit;
  letter-spacing: inherit;
}
[hidden] {
  display: none !important;
}
.nw {
  white-space: nowrap;
}
/* text-wrap: balance は、wbr と keep-all を使う見出しで Chromium の描画が落ちる（320px で再現）ため使わない。 */
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}
.hero :focus-visible,
.suite :focus-visible,
.site-footer :focus-visible,
.diagnosis-aside :focus-visible {
  outline-color: var(--lime);
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.ic {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ic-small {
  width: 0.95em;
  height: 0.95em;
}
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 48px);
  margin-inline: auto;
  padding-inline: 24px;
}
.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--forest);
  color: #fff;
  font-weight: 600;
}
.skip:focus {
  top: 12px;
}

/* ---- ロゴ ---- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
}
.mark-base {
  fill: var(--forest);
}
.mark-paths {
  fill: #fff;
}
.mark-selected {
  fill: var(--lime);
}
.brand-name {
  font-family: var(--font-latin);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-inverse {
  color: #fff;
}
.brand-inverse .mark-base {
  fill: var(--lime);
}
.brand-inverse .mark-paths,
.brand-inverse .mark-selected {
  fill: var(--forest);
}

/* ---- ボタン ---- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.button .ic {
  transition: transform 0.15s;
}
.button:hover .ic {
  transform: translateX(3px);
}
.button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}
.button-primary,
.button-forest {
  background: var(--forest);
  color: #fff;
}
.button-primary:hover,
.button-forest:hover {
  background: var(--green);
}
.button-lime {
  background: var(--lime);
  color: var(--forest);
}
.button-lime:hover {
  background: #e8fcc2;
}
.button-ghost {
  border-color: var(--forest-line);
  color: #fff;
}
.button-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}
.button-ghost-dark {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}
.button-ghost-dark:hover {
  border-color: var(--green);
}
.button-lime-outline {
  border-color: var(--lime);
  color: var(--lime);
}
.button-lime-outline:hover {
  background: rgba(217, 249, 157, 0.1);
}
.button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---- ヘッダー ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 243, 234, 0.9);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(23, 62, 48, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}
.nav {
  margin-left: auto;
}
.nav ul {
  display: flex;
  gap: 2px;
}
.nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover {
  background: rgba(23, 62, 48, 0.07);
}
.menu {
  display: none;
}
.menu summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu .menu-close,
.menu[open] .menu-open {
  display: none;
}
.menu[open] .menu-close {
  display: inline;
}
.menu-panel {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  padding: 8px 16px 20px;
  background: var(--cream);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 18px 30px rgba(23, 62, 48, 0.12);
}
.menu-panel ul {
  margin-bottom: 14px;
}
.menu-panel a:not(.button) {
  display: block;
  padding: 13px 6px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.menu-panel .button {
  width: 100%;
}
@media (max-width: 1079px) {
  .nav,
  .header-cta {
    display: none;
  }
  .menu {
    display: block;
    margin-left: auto;
  }
}

/* ---- ヒーロー ---- */
.hero {
  padding-top: 20px;
}
.hero-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 40px 56px;
  padding: 64px 64px 36px;
  border-radius: var(--radius-lg);
  background: var(--forest);
  color: #fff;
}
.hero-panel::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -200px;
  top: -260px;
  border: 1px solid var(--forest-line);
  border-radius: 50%;
  pointer-events: none;
}
.hero-copy,
.hero-visual,
.hero-engines {
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lime);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}
.hero h1 {
  margin: 18px 0 26px;
  font-size: clamp(44px, 5.4vw, 70px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.hero-line {
  display: block;
}
.hero-accent {
  color: var(--lime);
}
.hero-lead {
  max-width: 32em;
  color: var(--forest-soft-text);
  font-size: 18px;
  line-height: 1.95;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-note {
  margin-top: 18px;
  color: var(--forest-text);
  font-size: 14px;
}
.hero-visual img {
  width: 100%;
  border-radius: 22px;
  background: var(--cream);
  box-shadow: 0 24px 60px rgba(4, 24, 17, 0.35);
}
.hero-engines {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding-top: 26px;
  border-top: 1px solid var(--forest-line);
}
.hero-engines > p {
  color: var(--forest-text);
  font-size: 13px;
  font-weight: 600;
}
.engine-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.engine-chips li {
  padding: 5px 14px;
  border: 1px solid var(--forest-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--forest-soft-text);
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 959px) {
  .hero-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 44px 32px 28px;
  }
}
@media (max-width: 639px) {
  .wrap {
    padding-inline: 16px;
  }
  .hero {
    padding-top: 12px;
  }
  .hero-panel {
    gap: 28px;
    padding: 32px 20px 24px;
    border-radius: 22px;
  }
  .hero h1 {
    margin: 14px 0 18px;
    font-size: 40px;
  }
  .hero-lead {
    font-size: 16px;
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-engines {
    padding-top: 20px;
  }
  .engine-chips li {
    padding: 4px 11px;
    font-size: 12.5px;
  }
}

/* ---- 節の共通 ---- */
.section {
  padding: 112px 0;
}
.section-features,
.section-how,
.section-flow {
  background: var(--surface);
}
.section-trust {
  background: var(--wash);
}
.section-head {
  max-width: 920px;
  margin-bottom: 48px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.section-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime-deep);
  box-shadow: 0 0 0 4px rgba(185, 227, 94, 0.3);
}
.section-label-inverse {
  color: var(--lime);
}
.section-label-inverse::before {
  background: var(--lime);
  box-shadow: none;
}
.section-head h2 {
  margin-top: 14px;
  font-size: clamp(28px, 3.3vw, 42px);
  font-weight: 600;
  line-height: 1.42;
}
.section-lead {
  max-width: 46em;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.95;
}
.bar {
  margin-top: 28px;
  padding: 18px 28px;
  border-radius: 14px;
  background: var(--forest);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}
@media (max-width: 639px) {
  .section {
    padding: 72px 0;
  }
  .section-head {
    margin-bottom: 32px;
  }
  .section-head h2 {
    font-size: 27px;
  }
  .section-lead {
    font-size: 15.5px;
  }
  .bar {
    padding: 16px 18px;
    font-size: 15.5px;
  }
}

/* ---- いま起きていること ---- */
.why-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.why-card {
  position: relative;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.why-no {
  position: absolute;
  top: 22px;
  right: 24px;
  color: var(--muted);
  font-family: var(--font-latin);
  font-size: 14px;
  font-weight: 600;
}
.why-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: var(--coral-soft);
  color: var(--coral-ink);
}
.why-card:nth-child(2) .why-icon {
  background: var(--wash);
  color: var(--green);
}
.why-card:nth-child(3) .why-icon {
  background: var(--lime-wash);
  color: #4a6a12;
}
.why-icon .ic {
  width: 26px;
  height: 26px;
}
.why-card h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
}
.why-card p {
  margin-top: 8px;
  color: var(--muted);
}
@media (max-width: 899px) {
  .why-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- 分かること ---- */
.features-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: start;
  gap: 56px;
}
.feature-list li {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.feature-list li:first-child {
  padding-top: 6px;
}
.feature-no {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--lime);
  font-family: var(--font-latin);
  font-weight: 600;
}
.feature-list h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}
.feature-list p {
  margin-top: 6px;
  color: var(--muted);
}
.illus {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.illus-card {
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: var(--cream);
}
.illus-head {
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line-strong);
}
.illus-label {
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.illus-question {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
}
.illus-question::before {
  content: "Q.";
  margin-right: 8px;
  color: var(--coral-ink);
  font-family: var(--font-latin);
}
.illus-rows {
  margin: 12px 0 18px;
}
.illus-rows li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(23, 62, 48, 0.08);
  font-size: 15px;
  line-height: 1.5;
}
.illus-engine {
  font-weight: 600;
}
.dots {
  display: inline-flex;
  gap: 6px;
}
.dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #93a89c;
  border-radius: 50%;
  background: var(--surface);
}
.dot.on {
  border-color: var(--green);
  background: var(--green);
}
.illus-rate {
  min-width: 4.6em;
  color: var(--muted);
  font-family: var(--font-latin);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.illus-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--forest);
  color: #fff;
}
.illus-total strong {
  color: var(--lime);
  font-family: var(--font-latin);
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
}
.illus-sub {
  color: var(--forest-text);
  font-size: 13px;
}
.illus-alert {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--coral-soft);
  color: #5c2417;
}
.illus-alert .ic {
  margin-top: 4px;
  color: var(--coral-ink);
}
.illus-alert-label {
  color: var(--coral-ink);
  font-size: 13px;
  font-weight: 600;
}
.illus-alert p:last-child {
  font-size: 14px;
  line-height: 1.7;
}
.illus-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}
.illus-legend .dot {
  width: 12px;
  height: 12px;
}
.illus-legend .dot + .dot,
.illus-legend .dot:not(:first-child) {
  margin-left: 10px;
}
.illus figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 959px) {
  .features-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .illus {
    position: static;
  }
}
@media (max-width: 639px) {
  .illus-card {
    padding: 20px 16px;
  }
  .illus-rows li {
    gap: 10px;
    font-size: 14px;
  }
  .illus-rate {
    min-width: 4.2em;
    font-size: 13px;
  }
  .feature-list li {
    gap: 14px;
  }
}

/* ---- 7 つの AI ---- */
.engine-groups {
  display: grid;
  gap: 28px;
}
.engine-group h3 {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}
.engine-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.engine-group-google .engine-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.engine-card {
  padding: 20px 20px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.engine-card-note {
  border: 2px solid var(--lime-deep);
  background: #fbfff2;
}
.engine-name {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
}
.engine-mode {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}
.callout {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding: 18px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--wash);
  font-size: 15px;
}
.callout .ic {
  margin-top: 5px;
  color: var(--green);
}
.footnote {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 1023px) {
  .engine-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .engine-cards,
  .engine-group-google .engine-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .engine-card {
    padding: 16px 14px;
  }
  .engine-name {
    font-size: 16px;
  }
  .engine-mode {
    font-size: 13px;
  }
  .callout {
    padding: 16px;
    font-size: 14.5px;
  }
}

/* ---- 進め方 ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.step {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.step-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 230px;
  padding: 18px 18px 0;
  background: linear-gradient(180deg, var(--cream-2), var(--cream));
}
.step-visual img {
  width: auto;
  height: 100%;
  object-fit: contain;
}
.step-body {
  flex: 1;
  padding: 22px 22px 26px;
}
.step-no {
  color: var(--green);
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.step h3 {
  margin-top: 4px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.5;
}
.step-body p:last-child {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}
.note-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
  font-weight: 600;
}
.note-line .ic {
  margin-top: 6px;
  color: var(--green);
}
@media (max-width: 1023px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .step {
    flex-direction: row;
  }
  .step-visual {
    flex: none;
    width: 112px;
    height: auto;
    padding: 12px 6px 0;
  }
  .step-visual img {
    width: 100%;
    height: auto;
  }
  .step-body {
    padding: 16px 16px 18px;
  }
  .step h3 {
    font-size: 19px;
  }
  .step-body p:last-child {
    font-size: 14.5px;
  }
}

/* ---- 根拠 ---- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.trust-card {
  padding: 26px 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}
.trust-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--forest);
  color: var(--lime);
}
.trust-card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}
.trust-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}
@media (max-width: 1023px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .trust-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- 3 つの型と GembaShift の製品 ---- */
.fit-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.fit-card {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.fit-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.fit-key {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--forest);
  color: var(--lime);
  font-family: var(--font-latin);
  font-size: 18px;
  font-weight: 600;
}
.fit-icon {
  color: var(--green);
}
.fit-icon .ic {
  width: 28px;
  height: 28px;
}
.fit-card h3 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.5;
}
.fit-products {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 12px 0 14px;
}
.product-chip {
  padding: 3px 11px;
  border: 1.5px solid var(--forest);
  border-radius: 8px;
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.product-erabare {
  background: var(--forest);
  color: #fff;
}
.product-koemap {
  background: var(--surface);
  color: var(--forest);
}
.plus {
  color: var(--muted);
  font-size: 13px;
}
.fit-result {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
}
.fit-card > p:last-child {
  color: var(--muted);
  font-size: 15px;
}
.suite {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: var(--forest);
  color: #fff;
}
.suite::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -140px;
  top: -200px;
  border: 1px solid var(--forest-line);
  border-radius: 50%;
  pointer-events: none;
}
.suite-title {
  margin-top: 12px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.45;
}
.suite-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.suite-step {
  position: relative;
  padding: 24px;
  border: 1px solid var(--forest-line);
  border-radius: 18px;
  background: var(--forest-2);
}
.suite-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--lime);
  border-right: 2px solid var(--lime);
  transform: translateY(-50%) rotate(45deg);
}
.suite-verb {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}
.suite-sep {
  color: var(--forest-line);
}
.suite-product {
  color: var(--lime);
  font-family: var(--font-latin);
  font-size: 16px;
  letter-spacing: 0.04em;
}
.suite-koemap .suite-product {
  color: #ffd2c6;
}
.suite-step p:last-child {
  margin-top: 10px;
  color: var(--forest-text);
  font-size: 15px;
}
.suite-foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--forest-line);
}
.suite-foot p {
  color: var(--forest-soft-text);
}
@media (max-width: 959px) {
  .fit-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 899px) {
  .suite {
    padding: 32px 20px;
    border-radius: 22px;
  }
  .suite-steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .suite-step:not(:last-child)::after {
    top: auto;
    right: auto;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%) rotate(135deg);
  }
  .suite-foot .button {
    width: 100%;
  }
}

/* ---- 導入の流れ ---- */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.flow-step {
  padding: 28px 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}
.flow-step:first-child {
  border-color: var(--forest);
  background: var(--forest);
  color: #fff;
}
.flow-no {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--forest);
  font-family: var(--font-latin);
  font-size: 18px;
  font-weight: 600;
}
.flow-meta {
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
}
.flow-step:first-child .flow-meta {
  color: var(--lime);
}
.flow-step h3 {
  margin-top: 2px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}
.flow-step p:last-child {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}
.flow-step:first-child p:last-child {
  color: var(--forest-text);
}
.flow-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 28px;
  padding: 22px 26px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--wash);
}
.flow-foot p {
  flex: 1 1 22em;
}
@media (max-width: 1023px) {
  .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .flow-steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .flow-foot {
    padding: 18px;
  }
  .flow-foot .button {
    width: 100%;
  }
}

/* ---- よくある質問 ---- */
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 48px;
}
.faq-items {
  border-top: 1px solid var(--line-strong);
}
.faq-items details {
  border-bottom: 1px solid var(--line-strong);
}
.faq-items summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}
.faq-items summary::-webkit-details-marker {
  display: none;
}
.faq-mark {
  color: var(--green);
  transition: transform 0.2s;
}
.faq-items details[open] .faq-mark {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 4px 24px;
  color: var(--muted);
}
.faq-answer p + p {
  margin-top: 10px;
}
@media (max-width: 959px) {
  .faq-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}
@media (max-width: 639px) {
  .faq-items summary {
    padding: 18px 2px;
    font-size: 16px;
  }
}

/* ---- 締めの導線 ---- */
.closing {
  padding: 80px 0;
  background: var(--lime);
}
.closing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.closing h2 {
  max-width: 20em;
  color: var(--forest);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.5;
}
.closing p {
  margin-top: 10px;
  color: #2c4a3c;
}
@media (max-width: 767px) {
  .closing {
    padding: 56px 0;
  }
  .closing-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .closing h2 {
    font-size: 25px;
  }
}

/* ---- フッター ---- */
.site-footer {
  padding: 64px 0 28px;
  background: var(--forest);
  color: var(--forest-text);
  font-size: 14px;
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 40px;
}
.footer-brand p {
  margin-top: 14px;
}
.footer-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.footer-group h2 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.footer-group a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 0;
  color: var(--forest-text);
  text-decoration: none;
}
.footer-group a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--forest-line);
  font-size: 13px;
}
@media (max-width: 767px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---- 無料診断の申し込み ---- */
.diagnosis-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 32px;
  padding-top: 24px;
  padding-bottom: 96px;
}
.diagnosis-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  overflow: hidden;
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  background: var(--forest);
  color: #fff;
}
.diagnosis-aside h2 {
  margin-top: 14px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.5;
}
.aside-points {
  display: grid;
  gap: 10px;
  margin: 24px 0 8px;
}
.aside-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--forest-soft-text);
}
.aside-points .ic {
  margin-top: 6px;
  color: var(--lime);
}
.diagnosis-aside img {
  width: 200px;
  margin: 8px auto 16px;
}
.text-link {
  color: var(--lime);
  font-weight: 600;
}
.form-panel {
  padding: 48px 48px 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.form-panel h1 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.4;
}
.form-lead {
  margin-top: 12px;
  color: var(--muted);
}
.diagnosis-form {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}
.field label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
}
.badge {
  padding: 0 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.8;
}
.badge-required {
  background: var(--forest);
  color: #fff;
}
.badge-optional {
  background: var(--cream-2);
  color: var(--muted);
}
.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid var(--field-line);
  border-radius: 12px;
  background: #fbfcfb;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(23, 99, 76, 0.18);
}
.field [aria-invalid="true"] {
  border-color: var(--danger);
  background: var(--danger-soft);
}
.field-hint {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.field-error {
  margin-top: 6px;
  color: var(--danger);
  font-size: 14px;
  font-weight: 600;
}
.field-error:empty {
  display: none;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: var(--cream);
}
.consent input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 3px 0 0;
  accent-color: var(--green);
}
.consent label {
  font-size: 15px;
}
.consent + .field-error {
  margin-top: -14px;
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.button-submit {
  width: 100%;
  min-height: 58px;
  font-size: 17px;
}
.form-note {
  margin-top: -8px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.form-error {
  margin-top: 20px;
  padding: 14px 18px;
  border: 1px solid var(--danger-line);
  border-radius: 12px;
  background: var(--danger-soft);
  color: #7c2323;
  font-weight: 600;
}
.notice-closed {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--wash);
}
.notice-closed .ic {
  width: 24px;
  height: 24px;
  margin-top: 4px;
  color: var(--green);
}
.notice-closed h2 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
}
.notice-closed p {
  margin-top: 6px;
  color: var(--muted);
}
.waitlist-form h2 {
  font-size: 18px;
  font-weight: 600;
}
.form-success {
  margin-top: 28px;
  padding: 36px 28px;
  border-radius: 20px;
  background: var(--wash);
  text-align: center;
}
.success-mark {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  color: var(--green);
}
.form-success h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
}
.form-success p {
  margin-top: 8px;
  color: var(--muted);
}
.reference {
  display: flex;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 16px auto 20px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
}
.reference strong {
  color: var(--ink);
  font-family: var(--font-latin);
  letter-spacing: 0.06em;
}
.form-success .button {
  margin-top: 8px;
}
@media (max-width: 959px) {
  .diagnosis-layout {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 16px;
    padding-bottom: 64px;
  }
  .diagnosis-aside {
    position: static;
    order: 2;
  }
}
@media (max-width: 639px) {
  .form-panel {
    padding: 28px 18px;
    border-radius: 22px;
  }
  .diagnosis-aside {
    padding: 28px 22px;
    border-radius: 22px;
  }
  .diagnosis-aside h2 {
    font-size: 23px;
  }
  .form-success {
    padding: 28px 18px;
  }
}

/* ---- 法務ページ ---- */
.legal {
  max-width: 928px;
  padding-top: 56px;
  padding-bottom: 96px;
}
.legal h1 {
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 600;
  line-height: 1.4;
}
.legal-body {
  margin-top: 24px;
  padding: 40px 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  font-size: 15.5px;
}
.legal-body > p:first-child {
  color: var(--muted);
  font-size: 14px;
}
.legal-body h2 {
  margin: 44px 0 14px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.5;
}
.legal-body h3 {
  margin: 28px 0 10px;
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.5;
}
.legal-body h4 {
  margin: 22px 0 8px;
  font-size: 16px;
  font-weight: 600;
}
.legal-body p {
  margin: 12px 0;
}
.legal-body ol,
.legal-body ul {
  margin: 12px 0;
  padding-left: 1.7em;
}
.legal-body ol {
  list-style: decimal;
}
.legal-body ul {
  list-style: disc;
}
.legal-body li {
  margin: 6px 0;
  padding-left: 0.2em;
}
.legal-body li > ul,
.legal-body li > ol {
  margin: 6px 0;
}
.legal-body code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--cream);
  font-size: 0.92em;
}
.legal-body blockquote {
  margin: 16px 0;
  padding: 10px 18px;
  border-left: 4px solid var(--line-strong);
  background: var(--cream);
}
.legal-body hr {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.table-wrap {
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.legal-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.75;
}
.legal-body th,
.legal-body td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.legal-body th {
  background: var(--cream);
}
.legal-body tr:last-child td {
  border-bottom: 0;
}
@media (max-width: 639px) {
  .legal {
    padding-top: 36px;
    padding-bottom: 64px;
  }
  .legal-body {
    padding: 24px 18px;
    border-radius: 20px;
    font-size: 15px;
  }
  .legal-body h2 {
    margin-top: 36px;
    font-size: 19px;
  }
  /* 狭い画面では表を行ごとのカードに組み替える（列が細くなって 1 文字ずつ折り返すのを防ぐ）。 */
  .table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
  }
  .legal-body table,
  .legal-body tbody,
  .legal-body tr,
  .legal-body td {
    display: block;
    width: 100%;
  }
  .legal-body thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .legal-body table {
    font-size: 14px;
  }
  .legal-body tr {
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
  }
  .legal-body td {
    padding: 8px 14px;
    border-bottom: 0;
  }
  .legal-body td:first-child {
    background: var(--cream);
    font-weight: 600;
  }
  .legal-body table:not(.cols-2) td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
  }
}

/* ---- 見つからないページ ---- */
.not-found {
  max-width: 760px;
  padding-top: 96px;
  padding-bottom: 120px;
  text-align: center;
}
.not-found-code {
  color: var(--green);
  font-family: var(--font-latin);
  font-size: 88px;
  font-weight: 600;
  line-height: 1;
}
.not-found h1 {
  margin-top: 18px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.5;
}
.not-found > p:not(.not-found-code) {
  margin-top: 12px;
  color: var(--muted);
}
.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
