/* ============================================================
   パーソナルピラティス STLiNE フランチャイズ加盟募集サイト
   共通スタイルシート
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --bg: #f5f5f8;
  --bg-alt: #f0edf8;        /* ラベンダー背景 */
  --card: #FFFFFF;
  --ink: #3d3d3d;
  --ink-soft: #6a6a6a;
  --accent: #7b6fa0;        /* ブランドパープル（ボタン背景・ボーダー・図形用） */
  --accent-deep: #6b60a0;   /* パープル濃（テキスト用・白背景でAA確保） */
  --accent-soft: #c2b8e0;   /* 淡ラベンダー：装飾のみ。文字には使わない */
  --accent-tint: #e8e3f4;   /* 淡ラベンダー背景（アイコン地・装飾用） */
  --accent-tint-soft: #f3f0fa; /* テキストを載せる淡背景（--accent-deepでAA確保） */
  --teal: #51a09c;          /* ティール：装飾・アイコン用 */
  --teal-d: #4ea6a1;
  --teal-l: #93d3cf;
  --yellow: #f5c518;        /* 差し色（ごく控えめに） */
  --line: #e8e8ee;
  --line-strong: #d6d2e4;
  --footer-bg: #3c3655;
  --footer-ink: #f2f0f8;
  --error: #9C3B22;
  --radius: 14px;
  --radius-sm: 10px;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --shadow-card: 0 2px 6px rgba(61, 58, 84, 0.04), 0 12px 32px rgba(61, 58, 84, 0.06);
  --shadow-hover: 0 4px 10px rgba(61, 58, 84, 0.06), 0 18px 44px rgba(61, 58, 84, 0.10);
  --header-h: 72px;
  --maxw: 1120px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  overflow-wrap: anywhere;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-feature-settings: "palt";
  line-height: 1.5;
  margin: 0 0 0.6em;
  letter-spacing: 0.015em;
}

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
figure { margin: 0; }
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
table { border-collapse: collapse; width: 100%; }
strong { font-weight: 700; }
small { font-size: 0.8125rem; }

/* 数字は欧文で少しリッチに */
.num-en {
  font-family: var(--font-serif);
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-weight: 500;
}

a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px; top: 8px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  transform: translateY(-150%);
  opacity: 0;
  pointer-events: none;
}
.skip-link:focus {
  transform: none;
  opacity: 1;
  pointer-events: auto;
  color: #fff;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--tint { background: linear-gradient(180deg, #f0edf8 0%, var(--bg) 100%); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5.5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 18px;
}
.eyebrow::after {
  content: "";
  display: inline-block;
  width: 34px; height: 1px;
  background: var(--teal);
}
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px; height: 1px;
  background: var(--teal);
}

.section-title {
  font-size: clamp(1.65rem, 3.6vw, 2.4rem);
  line-height: 1.45;
  margin-bottom: 0.55em;
  letter-spacing: 0.01em;
}
.section-title em {
  font-style: normal;
  color: var(--accent-deep);
  position: relative;
}
.section-lead { color: var(--ink-soft); max-width: 46em; font-size: 1.0125rem; }
.section-head--center .section-lead { margin-inline: auto; }

/* セクションタイトル脇の縦線飾り（左寄せ用・containerの直下だけ適用） */
.container > .section-head:not(.section-head--center) > .section-title,
.container > * > .section-head:not(.section-head--center):not(.section-head--nomark) > .section-title {
  padding-left: 20px;
  border-left: 3px solid var(--accent);
  margin-left: -23px;
  padding-block: 4px 6px;
}
@media (max-width: 619px) {
  .container > .section-head:not(.section-head--center) > .section-title,
  .container > * > .section-head:not(.section-head--center):not(.section-head--nomark) > .section-title {
    padding-left: 14px;
    margin-left: 0;
  }
}
/* card-grid内のsection-headはmark無し */
.card-grid .section-head .section-title {
  padding-left: 0 !important;
  border-left: 0 !important;
  margin-left: 0 !important;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.9875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.btn .btn-arrow { flex: none; transition: transform 0.25s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(123, 111, 160, 0.28);
}
.btn--primary:hover {
  background: var(--accent-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(123, 111, 160, 0.34);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.5);
  color: var(--accent-deep);
  border-color: var(--accent-deep);
}
.btn--ghost:hover {
  background: var(--accent-tint-soft);
  color: var(--accent-deep);
  transform: translateY(-2px);
  border-color: var(--accent-deep);
}

.btn--large { padding: 19px 46px; font-size: 1.075rem; }
.btn--small { padding: 10px 22px; font-size: 0.875rem; }
@media (max-width: 619px) {
  .btn--large { padding: 17px 32px; font-size: 1rem; width: 100%; }
  .hero-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .btn .btn-arrow { transition: none; }
  .btn:hover { transform: none; }
  .btn:hover .btn-arrow { transform: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 245, 248, 0.96);
  border-bottom: 1px solid rgba(61, 58, 84, 0.06);
}

.header-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 32px);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand:hover { color: var(--ink); }
.brand-logo {
  display: block;
  height: 46px;
  width: auto;
}
.brand .brand-fc {
  font-family: var(--font-sans);
  font-size: 0.575rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--accent-deep);
  border-left: 1px solid rgba(61, 58, 84, 0.18);
  padding-left: 11px;
  line-height: 1.4;
}
@media (max-width: 419px) {
  .brand { gap: 9px; }
  .brand-logo { height: 40px; }
  .brand .brand-fc { padding-left: 8px; }
}

.global-nav { display: flex; align-items: center; gap: 28px; }
.global-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 26px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.global-nav ul a {
  display: inline-block;
  padding: 6px 2px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  position: relative;
}
.global-nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.global-nav ul a:hover::after,
.global-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.global-nav ul a[aria-current="page"] { color: var(--accent-deep); font-weight: 700; }

.nav-cta { flex: none; }

.nav-toggle {
  display: none;
  position: relative;
  width: 48px; height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
  padding: 0;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}
.nav-toggle-bar { top: 23px; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

@media (max-width: 979px) {
  .nav-toggle { display: block; }
  .global-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(61, 58, 84, 0.12);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 20px clamp(20px, 5vw, 32px) 28px;
    display: none;
  }
  body.nav-open .global-nav { display: flex; }
  .global-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .global-nav ul a {
    display: block;
    padding: 13px 8px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .global-nav ul a::after { content: none; }
  .nav-cta { margin-top: 14px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero (TOP) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(58% 72% at 86% 8%, rgba(194, 184, 224, 0.4) 0%, rgba(194, 184, 224, 0) 70%),
    radial-gradient(48% 60% at 4% 92%, rgba(147, 211, 207, 0.3) 0%, rgba(147, 211, 207, 0) 72%),
    linear-gradient(160deg, #fbfafd 0%, #f2eff9 58%, #f0edf8 100%);
}
.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(72px, 10vw, 140px);
}
.hero-copy { position: relative; }
.hero-copy .eyebrow { letter-spacing: 0.32em; }

/* 縦書き感のあるサイドマーカー */
.hero-side-mark {
  position: absolute;
  top: 0;
  left: -48px;
  writing-mode: vertical-rl;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--accent-deep);
  padding-top: 8px;
}
.hero-side-mark::before {
  content: "";
  display: block;
  width: 1px;
  height: 60px;
  background: var(--accent-soft);
  margin: 0 auto 20px;
}
@media (max-width: 1180px) {
  .hero-side-mark { display: none; }
}

.hero-title {
  font-size: clamp(1.85rem, 4.9vw, 3rem);
  line-height: 1.38;
  margin-bottom: 0.65em;
  letter-spacing: 0.005em;
  font-weight: 600;
}
.hero-title .nb {
  display: inline-block;
}
.hero-title em {
  font-style: normal;
  color: var(--accent-deep);
  position: relative;
  display: inline-block;
  word-break: keep-all;
  isolation: isolate;
}
.hero-title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.14em;
  height: 6px;
  background: var(--yellow);
  opacity: 0.4;
  border-radius: 3px;
  z-index: -1;
}
.hero-lead {
  color: var(--ink-soft);
  font-size: clamp(0.9625rem, 1.6vw, 1.075rem);
  line-height: 1.95;
  max-width: 34em;
  margin-bottom: 2em;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero-note {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-note::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* ヒーロー内クイックスタッツ */
.hero-metrics {
  list-style: none;
  margin: 34px 0 30px;
  padding: 20px 4px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 22px;
  border-top: 1px solid rgba(107, 96, 160, 0.16);
}
.hero-metrics li { position: relative; padding-left: 14px; }
.hero-metrics li + li::before {
  content: "";
  position: absolute;
  left: -11px; top: 8px; bottom: 8px;
  width: 1px;
  background: rgba(107, 96, 160, 0.14);
}
.hero-metrics .metric-num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-feature-settings: "palt", "lnum" 1, "tnum" 1;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.1;
  color: var(--accent-deep);
  letter-spacing: 0.01em;
}
.hero-metrics .metric-num .metric-unit {
  font-size: 0.5em;
  margin-left: 3px;
  color: var(--accent-deep);
  font-weight: 600;
}
.hero-metrics .metric-label {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.5;
}
@media (max-width: 619px) {
  .hero-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 12px; }
  .hero-metrics li { padding-left: 8px; }
  .hero-metrics li + li::before { left: -6px; }
  .hero-metrics .metric-label { font-size: 0.6875rem; letter-spacing: 0.04em; }
}

.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  top: -24px; right: -24px;
  width: 84px; height: 84px;
  border: 1px solid rgba(107, 96, 160, 0.28);
  border-radius: 50%;
  pointer-events: none;
}

@media (max-width: 899px) {
  .hero-inner { grid-template-columns: 1fr; padding-block: clamp(56px, 10vw, 88px); }
  .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .hero-visual::before { display: none; }
  .hero-title { font-size: clamp(1.75rem, 6vw, 2.4rem); }
  .hero-metrics { margin: 24px 0 24px; padding-top: 18px; }
  .hero-metrics .metric-num { font-size: clamp(1.25rem, 5vw, 1.55rem); }
}

/* ---------- Media frame（写真差し替え枠） ---------- */
.media-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(150deg, #eceaf6 0%, #dfd9ef 45%, #f0edf8 100%);
  box-shadow: var(--shadow-card);
}
.media-frame::before {
  content: "";
  display: block;
  padding-top: 72%;
}
.media-frame--tall::before { padding-top: 118%; }
.media-frame--wide::before { padding-top: 52%; }
.media-frame > svg,
.media-frame > img,
.media-frame > video,
.media-frame > .media-frame-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.media-frame > img,
.media-frame > video { object-fit: cover; }

@media (max-width: 640px) {
  .hero .media-frame--video::before { padding-top: 124%; }
}
.media-frame-caption {
  position: absolute;
  left: 16px; bottom: 14px;
  font-size: 0.71875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  padding: 5px 16px;
}

/* ---------- Photo figures（実写真・通常フロー配置） ---------- */
.photo-figure { margin: 0; }
.photo-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  object-fit: cover;
}
.photo-figure figcaption {
  margin-top: 12px;
  font-size: 0.78125rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  line-height: 1.7;
}
.photo-figure--center {
  max-width: 880px;
  margin-inline: auto;
}
.photo-figure--center figcaption { text-align: center; }
.photo-figure--lead { margin-bottom: clamp(36px, 5vw, 56px); }
.method-step .method-photo {
  margin: 22px 0 0;
}
.method-step .method-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

/* ---------- Card grids ---------- */
.card-grid {
  display: grid;
  gap: clamp(18px, 2.5vw, 28px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 899px) {
  .card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 619px) {
  .card-grid--3, .card-grid--2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 34px);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--teal-l));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: rgba(123, 111, 160, 0.28);
}
.card:hover::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .card, .card::before { transition: none; }
  .card:hover { transform: none; }
}
.card h3 { font-size: 1.15rem; line-height: 1.6; margin-bottom: 0.6em; }
.card p { color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.85; margin-bottom: 0; }

.card-icon {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-tint);
  color: var(--accent-deep);
  margin-bottom: 20px;
  position: relative;
}
.card-icon::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px dashed rgba(123, 111, 160, 0.25);
  border-radius: 15px;
  opacity: 0;
  transform: rotate(0deg);
  transition: opacity 0.4s ease;
}
.card:hover .card-icon::after { opacity: 1; }
.card-icon svg { width: 26px; height: 26px; }

.card-num {
  font-family: var(--font-serif);
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.card-num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--accent-soft);
  opacity: 0.55;
  max-width: 40px;
}

/* 大きめの背番号カード */
.card--numbered {
  padding-top: clamp(58px, 6vw, 72px);
}
.card--numbered::after {
  content: attr(data-num);
  position: absolute;
  right: clamp(20px, 2.5vw, 30px);
  top: clamp(18px, 2vw, 24px);
  font-family: var(--font-serif);
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-weight: 500;
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  line-height: 1;
  color: var(--accent-soft);
  opacity: 0.45;
  pointer-events: none;
}

/* ---------- Stat cards ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 767px) {
  .stat-grid { grid-template-columns: 1fr; }
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(28px, 3.4vw, 40px) clamp(22px, 3vw, 32px);
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  counter-increment: statc;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
@media (prefers-reduced-motion: reduce) {
  .stat-card { transition: none; }
  .stat-card:hover { transform: none; }
}
.stat-card::before {
  content: counter(statc, decimal-leading-zero);
  position: absolute;
  top: 14px; left: 20px;
  font-family: var(--font-serif);
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-deep);
  opacity: 0.7;
}
.stat-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-l), var(--accent));
  opacity: 0.85;
}
.stat-grid { counter-reset: statc; }
.stat-card--tint { background: linear-gradient(170deg, #fdfdfe 0%, #f0edf8 100%); }
.stat-label {
  display: block;
  font-size: 0.84375rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
  margin-bottom: 12px;
}
.stat-value {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-feature-settings: "palt", "lnum" 1, "tnum" 1;
  font-size: clamp(2.05rem, 4vw, 2.85rem);
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: 0.005em;
}
.stat-value .stat-unit {
  font-size: 0.42em;
  margin-left: 4px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.stat-value .stat-unit [aria-hidden="true"] {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--accent-tint-soft);
  color: var(--accent-deep);
  font-size: 0.7em;
  vertical-align: 2px;
  letter-spacing: 0.06em;
}
.stat-desc {
  margin: 14px 0 0;
  font-size: 0.84375rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ---------- 注記 ---------- */
.note {
  font-size: 0.8125rem;
  line-height: 1.85;
  color: var(--ink-soft);
  background: rgba(232, 227, 244, 0.55);
  border-left: 3px solid var(--accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 20px;
  margin: 20px 0 0;
}
.note::before {
  content: "NOTE";
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-deep);
  margin-bottom: 4px;
}

.placeholder-box {
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink-soft);
  font-size: 0.875rem;
  padding: 18px 22px;
  margin: 20px 0;
}

/* ---------- Tables ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  scrollbar-width: thin;
  position: relative;
}
@media (max-width: 619px) {
  .table-scroll::after {
    content: "← 表は横にスクロールできます →";
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: var(--ink-soft);
    margin-top: 10px;
    letter-spacing: 0.04em;
  }
}
.data-table {
  min-width: 480px;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}
.data-table caption {
  text-align: left;
  font-family: var(--font-serif);
  font-weight: 600;
  font-feature-settings: "palt";
  font-size: 1.075rem;
  padding: 20px 24px 16px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  letter-spacing: 0.02em;
}
.data-table caption::before {
  content: "";
  display: inline-block;
  width: 3px; height: 16px;
  background: var(--accent);
  vertical-align: -3px;
  margin-right: 12px;
  border-radius: 2px;
}
.data-table th,
.data-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  vertical-align: middle;
}
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table thead th {
  background: var(--accent-tint-soft);
  color: var(--accent-deep);
  font-size: 0.84375rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 12px 24px;
}
.data-table tbody th {
  font-weight: 500;
  color: var(--ink-soft);
  width: 56%;
}
.data-table tbody tr:hover th,
.data-table tbody tr:hover td { background: #f8f7fc; }
.data-table tbody tr:hover th { color: var(--ink); }
.data-table td {
  font-weight: 600;
  font-family: var(--font-serif);
  font-feature-settings: "palt", "lnum" 1, "tnum" 1;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.data-table .row-total {
  background:
    linear-gradient(180deg, #f1eef9 0%, #eae5f5 100%);
  border-top: 2px solid var(--accent-soft);
}
.data-table .row-total th,
.data-table .row-total td {
  background: transparent;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
  padding-block: 20px;
}
.data-table .row-total th {
  color: var(--accent-deep);
  font-family: var(--font-serif);
  letter-spacing: 0.03em;
}
.data-table .row-total td {
  color: var(--accent-deep);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.data-table tbody tr:hover.row-total th,
.data-table tbody tr:hover.row-total td { background: transparent; }

/* ---------- Steps（TOP横並び簡易版） ---------- */
.flow-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  counter-reset: flowstep;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.flow-strip::before {
  content: "";
  position: absolute;
  left: 5%; right: 5%;
  top: 44px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--accent-soft) 0 6px, transparent 6px 12px);
  opacity: 0.6;
  z-index: 0;
}
.flow-strip li {
  counter-increment: flowstep;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 8px 18px;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
  position: relative;
  box-shadow: var(--shadow-card);
  z-index: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.flow-strip li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.flow-strip li::before {
  content: counter(flowstep, decimal-leading-zero);
  display: block;
  font-family: var(--font-serif);
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--accent-deep);
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}
.flow-strip li::after { content: none; }
.flow-strip li:last-child {
  background: linear-gradient(165deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  border-color: transparent;
}
.flow-strip li:last-child::before { color: rgba(255, 255, 255, 0.85); }
@media (prefers-reduced-motion: reduce) {
  .flow-strip li { transition: none; }
  .flow-strip li:hover { transform: none; }
}
@media (max-width: 979px) {
  .flow-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .flow-strip::before { display: none; }
}
@media (max-width: 619px) {
  .flow-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* ---------- Timeline（/flow/ 詳細） ---------- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: tl;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 10px; bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-soft), var(--line-strong));
}
.timeline li {
  counter-increment: tl;
  position: relative;
  padding: 0 0 34px 84px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: counter(tl);
  position: absolute;
  left: 0; top: 0;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  background: var(--card);
  border: 2px solid var(--accent);
  color: var(--accent-deep);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-weight: 600;
  font-size: 1.35rem;
  box-shadow: 0 0 0 6px var(--bg);
  z-index: 1;
  transition: background 0.25s ease, color 0.25s ease;
}
.timeline li:hover::before {
  background: var(--accent);
  color: #fff;
}
.section--tint .timeline li::before {
  box-shadow: 0 0 0 6px #eeebf6;
}
.section--alt .timeline li::before { box-shadow: 0 0 0 6px var(--bg-alt); }
.timeline h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35em;
  letter-spacing: 0.01em;
}
.timeline p { color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.85; margin-bottom: 0.5em; max-width: 42em; }
@media (prefers-reduced-motion: reduce) {
  .timeline li::before { transition: none; }
}
.timeline .tl-period {
  display: inline-block;
  font-size: 0.78125rem;
  font-weight: 700;
  color: var(--accent-deep);
  background: var(--accent-tint-soft);
  border-radius: 999px;
  padding: 3px 14px;
}
@media (max-width: 619px) {
  .timeline::before { left: 21px; }
  .timeline li { padding-left: 64px; }
  .timeline li::before { width: 44px; height: 44px; font-size: 1.1rem; }
}

/* ---------- Method（strength ページ 2ステップ図） ---------- */
.method-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(14px, 2vw, 22px);
  align-items: stretch;
}
.method-step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 40px);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.method-step::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--teal-l));
}
.method-step .method-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-deep);
  background: var(--accent-tint-soft);
  border-radius: 999px;
  padding: 5px 18px;
  margin-bottom: 18px;
}
.method-step h3 { font-size: 1.4rem; margin-bottom: 0.5em; }
.method-step p { color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.85; margin-bottom: 0; }
.method-arrow {
  display: grid;
  place-items: center;
  color: var(--accent-deep);
}
@media (max-width: 767px) {
  .method-grid { grid-template-columns: 1fr; }
  .method-arrow svg { transform: rotate(90deg); }
}

/* ---------- Compare（競合との違い） ---------- */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}
@media (max-width: 767px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-col {
  border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 40px);
  position: relative;
}
.compare-col h3 {
  font-size: 1.1875rem;
  margin-top: 26px;
  margin-bottom: 0.9em;
  padding-right: 90px;
  line-height: 1.6;
}
.compare-col ul { margin: 0; padding-left: 1.3em; }
.compare-col li { margin-bottom: 0.55em; font-size: 0.9375rem; line-height: 1.85; }
.compare-col--plain {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  position: relative;
}
.compare-col--plain::before {
  content: "一般型";
  position: absolute;
  top: 18px; right: 22px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  background: var(--bg-alt);
  padding: 3px 12px;
  border-radius: 999px;
}
.compare-col--accent {
  background:
    radial-gradient(70% 90% at 90% 10%, rgba(147, 211, 207, 0.25) 0%, rgba(147, 211, 207, 0) 60%),
    linear-gradient(165deg, #7b6fa0 0%, #6b60a0 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(107, 96, 160, 0.28);
  position: relative;
  overflow: hidden;
}
.compare-col--accent::before {
  content: "STLiNE 型";
  position: absolute;
  top: 18px; right: 22px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
  background: #f2f0f8;
  padding: 3px 12px;
  border-radius: 999px;
}
.compare-col--accent::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -60px;
  width: 200px; height: 200px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
}
.compare-col--accent h3 { color: #fff; }
.compare-col--accent li { color: #ffffff; }
.compare-col li {
  position: relative;
  padding-left: 4px;
  line-height: 1.8;
}
.compare-col--accent ul {
  list-style: none;
  padding-left: 0;
}
.compare-col--accent li {
  padding-left: 26px;
  position: relative;
}
.compare-col--accent li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 16px; height: 10px;
  border-left: 2px solid #93d3cf;
  border-bottom: 2px solid #93d3cf;
  transform: rotate(-45deg);
  transform-origin: bottom left;
}

/* ---------- Accordion（FAQ） ---------- */
.accordion {
  border-top: 1px solid var(--line-strong);
  max-width: 880px;
  margin-inline: auto;
}
.accordion-item {
  border-bottom: 1px solid var(--line-strong);
  transition: background 0.25s ease;
}
.accordion-item:has(.accordion-trigger[aria-expanded="true"]) {
  background: rgba(255, 255, 255, 0.5);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: transparent;
  border: 0;
  padding: 24px 8px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1.0125rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s ease;
}
.accordion-trigger:hover { color: var(--accent-deep); }
.accordion-trigger .q-mark {
  flex: none;
  font-family: var(--font-serif);
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-weight: 600;
  color: var(--accent-deep);
  font-size: 1.2rem;
  line-height: 1.4;
  letter-spacing: 0.04em;
  min-width: 42px;
}
.accordion-trigger .acc-icon {
  flex: none;
  margin-left: auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  position: relative;
  align-self: center;
}
.accordion-trigger .acc-icon::before,
.accordion-trigger .acc-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.5px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}
.accordion-trigger .acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion-trigger[aria-expanded="true"] .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
@media (prefers-reduced-motion: reduce) {
  .accordion-trigger .acc-icon::before,
  .accordion-trigger .acc-icon::after { transition: none; }
}
.accordion-panel { padding: 0 8px 28px 68px; }
.accordion-panel p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.9;
  display: flex;
  gap: 16px;
}
.accordion-panel .a-mark {
  flex: none;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--accent-deep);
  font-size: 1.1rem;
  line-height: 1.6;
  min-width: 22px;
}
@media (max-width: 619px) {
  .accordion-panel { padding: 0 8px 24px 8px; }
  .accordion-trigger { font-size: 0.975rem; }
  .accordion-trigger .q-mark { min-width: 36px; font-size: 1.1rem; }
}

/* ---------- Page hero（下層共通） ---------- */
.page-hero {
  background:
    radial-gradient(52% 90% at 92% 0%, rgba(194, 184, 224, 0.35) 0%, rgba(194, 184, 224, 0) 68%),
    radial-gradient(40% 60% at 8% 100%, rgba(147, 211, 207, 0.25) 0%, rgba(147, 211, 207, 0) 70%),
    linear-gradient(150deg, #fbfafd 0%, #f0edf8 100%);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(56px, 8vw, 96px) clamp(44px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 260px; height: 260px;
  border: 1px solid rgba(107, 96, 160, 0.16);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { letter-spacing: 0.32em; }
.page-title {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.4;
  margin-bottom: 0.45em;
  letter-spacing: 0.01em;
}
.page-lead { color: var(--ink-soft); max-width: 44em; margin-bottom: 0; font-size: 1.0125rem; line-height: 1.95; }

.breadcrumbs { padding-block: 14px; font-size: 0.78125rem; }
.breadcrumbs ol {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.breadcrumbs li { color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent-deep); text-decoration: underline; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(64% 120% at 90% -10%, rgba(147, 211, 207, 0.28) 0%, rgba(147, 211, 207, 0) 70%),
    radial-gradient(50% 80% at 8% 100%, rgba(147, 211, 207, 0.16) 0%, rgba(147, 211, 207, 0) 60%),
    linear-gradient(150deg, #494066 0%, #3c3655 100%);
  color: #fff;
  border-radius: 22px;
  padding: clamp(44px, 6.5vw, 80px) clamp(24px, 5vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: -60px; bottom: -120px;
  width: 320px; height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -80px; top: -140px;
  width: 300px; height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}
.cta-band .eyebrow { color: #c8c2e4; }
.cta-band .eyebrow::after { background: rgba(255, 255, 255, 0.35); }
.cta-band h2 {
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.6em;
}
.cta-band p { color: #e6e2f2; max-width: 40em; margin-inline: auto; }
.cta-band .hero-cta { justify-content: center; margin-top: 28px; }
.cta-band .btn--primary {
  background: #f2f0f8;
  color: var(--accent-deep);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.cta-band .btn--primary:hover { background: #fff; color: var(--accent-deep); }
.cta-band .btn--ghost { color: #f2f0f8; border-color: rgba(255, 255, 255, 0.65); }
.cta-band .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.cta-band .cta-note { font-size: 0.78125rem; color: #c9c4e0; margin: 18px 0 0; }

/* ---------- Forms ---------- */
.form-shell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: clamp(32px, 4.5vw, 56px);
  max-width: 760px;
  position: relative;
}
.form-shell::before {
  content: "";
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--teal-l));
  border-radius: 0 0 3px 3px;
}
.form-intro {
  max-width: 760px;
  background: rgba(232, 227, 244, 0.65);
  border: 1px solid #dcd6ec;
  border-radius: var(--radius);
  padding: 18px 24px;
  font-size: 0.9375rem;
  color: var(--ink);
  margin-bottom: 28px;
  line-height: 1.8;
}
.form-intro p { margin: 0; }

.form-field { margin-bottom: 26px; }
.form-field > label,
.form-field > .field-label {
  display: block;
  font-weight: 700;
  font-size: 0.925rem;
  margin-bottom: 8px;
}
.badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 6px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: 2px;
}
.badge--req { background: var(--error); color: #fff; }
.badge--opt { background: var(--bg-alt); color: var(--ink-soft); }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: #fdfdfe;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
select:hover,
textarea:hover {
  border-color: var(--accent-soft);
  background: #FFFFFF;
}
select { appearance: none; background-image: none; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 18px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 3px rgba(123, 111, 160, 0.18);
}
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] { border-color: var(--error); }

.radio-group, .check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  border: 0; margin: 0; padding: 0;
}
.radio-group legend { padding: 0; }
.radio-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  cursor: pointer;
}
input[type="radio"], input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--accent-deep);
  cursor: pointer;
}
.field-error {
  display: block;
  color: var(--error);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-top: 6px;
}
.form-alert {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--error);
  background: #FBF1EC;
  color: var(--error);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 14px 18px;
  margin-bottom: 22px;
}
.form-submit { text-align: center; margin-top: 34px; }
.form-submit .btn { min-width: 280px; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

.privacy-agree {
  background: #f8f7fc;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}
.privacy-agree .radio-item { font-weight: 500; }

.contact-phone {
  max-width: 760px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 26px;
  margin-bottom: 24px;
  font-size: 0.925rem;
  position: relative;
  padding-left: 60px;
}
.contact-phone::before {
  content: "";
  position: absolute;
  left: 22px; top: 50%;
  width: 26px; height: 26px;
  transform: translateY(-50%);
  background: var(--accent-tint);
  border-radius: 8px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b6fa0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3.1-8.7A2 2 0 0 1 4 2h3a2 2 0 0 1 2 1.7c.1.9.3 1.8.6 2.6a2 2 0 0 1-.5 2.1L7.9 9.8a16 16 0 0 0 6 6l1.4-1.4a2 2 0 0 1 2.1-.5c.8.3 1.7.5 2.6.6A2 2 0 0 1 22 16.9z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}
.contact-phone .phone-num {
  font-family: var(--font-serif);
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--accent-deep);
  letter-spacing: 0.02em;
}

/* ---------- Prose（privacy 等の文章ページ） ---------- */
.prose { max-width: 760px; }
.prose h2 {
  font-size: 1.25rem;
  margin-top: 2.2em;
  padding-bottom: 0.4em;
  border-bottom: 1px solid var(--line-strong);
}
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); font-size: 0.95rem; }
.prose .prose-date { margin-top: 2.5em; color: var(--ink-soft); font-size: 0.875rem; }

/* ---------- 会社概要テーブル ---------- */
.company-table {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  max-width: 820px;
}
.company-table th, .company-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  text-align: left;
  vertical-align: top;
}
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: 0; }
.company-table th {
  width: 32%;
  background: #f1eef9;
  color: var(--accent-deep);
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 619px) {
  .company-table th, .company-table td { display: block; width: 100%; }
  .company-table th { border-bottom: 0; padding-bottom: 4px; }
  .company-table td { padding-top: 0; }
}

/* ---------- Footer ---------- */
.site-footer {
  background:
    radial-gradient(60% 100% at 90% 0%, rgba(123, 111, 160, 0.28) 0%, rgba(123, 111, 160, 0) 60%),
    var(--footer-bg);
  color: var(--footer-ink);
  margin-top: clamp(64px, 9vw, 112px);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(48px, 6vw, 72px) clamp(32px, 4vw, 48px);
}
@media (max-width: 767px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-logo {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  padding: 10px 16px;
}
.footer-logo img {
  display: block;
  height: 44px;
  width: auto;
}
.footer-fc {
  display: block;
  margin-top: 10px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: #b6b0cd;
}
.footer-brand p { color: #c9c4e0; font-size: 0.84375rem; margin: 16px 0 0; }
.footer-brand address { font-style: normal; color: #c9c4e0; font-size: 0.84375rem; margin-top: 12px; }
.footer-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 24px;
}
@media (max-width: 619px) { .footer-nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.footer-nav a {
  display: inline-block;
  color: var(--footer-ink);
  text-decoration: none;
  font-size: 0.875rem;
  padding-block: 7px;
}
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78125rem;
  color: #b6b0cd;
}
.footer-legal a { color: #d6d2e8; }

/* ---------- Reveal（スクロールフェードイン。JS＋motion可の時のみ） ---------- */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(.2, .8, .3, 1), transform 0.75s cubic-bezier(.2, .8, .3, 1);
}
.js-anim .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.js-anim .reveal-delay-1.is-visible { transition-delay: 0.09s; }
.js-anim .reveal-delay-2.is-visible { transition-delay: 0.18s; }
.js-anim .reveal-delay-3.is-visible { transition-delay: 0.27s; }

/* ---------- Thanks 完了マーク ---------- */
.thanks-mark {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  position: relative;
}
.thanks-mark::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px dashed var(--accent-soft);
  border-radius: 50%;
  opacity: 0.7;
}
.thanks-mark svg { width: 42px; height: 42px; }

.thanks-next {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 12px;
  text-align: left;
}
.thanks-next li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.thanks-next li a:hover {
  background: var(--accent-tint);
  transform: translateX(4px);
}
.thanks-next li a:hover small { color: var(--ink); }
.thanks-next li a small {
  display: block;
  color: var(--ink-soft);
  font-weight: 500;
  margin-top: 4px;
  font-size: 0.78125rem;
}
.thanks-next li a > span:last-child {
  color: var(--accent-deep);
  flex: none;
}
@media (prefers-reduced-motion: reduce) {
  .thanks-next li a { transition: none; }
  .thanks-next li a:hover { transform: none; }
}

/* ---------- 収益ハイライトバンド ---------- */
.profit-highlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin-top: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.profit-highlight > div {
  padding: clamp(22px, 3vw, 30px) clamp(18px, 2.4vw, 26px);
  text-align: center;
  border-right: 1px solid var(--line);
  position: relative;
}
.profit-highlight > div:last-child { border-right: 0; }
.profit-highlight .ph-label {
  display: block;
  font-size: 0.78125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
  margin-bottom: 10px;
}
.profit-highlight .ph-value {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-feature-settings: "palt", "lnum" 1, "tnum" 1;
  font-size: clamp(1.4rem, 3vw, 1.95rem);
  line-height: 1.2;
  color: var(--accent-deep);
  letter-spacing: 0.01em;
}
.profit-highlight .ph-value .ph-unit {
  font-size: 0.5em;
  color: var(--ink-soft);
  margin-left: 4px;
  font-weight: 500;
}
.profit-highlight .ph-note {
  display: block;
  margin-top: 6px;
  font-size: 0.7rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
@media (max-width: 619px) {
  .profit-highlight { grid-template-columns: 1fr; }
  .profit-highlight > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .profit-highlight > div:last-child { border-bottom: 0; }
}

/* ---------- Phase バッジ ---------- */
.phase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-deep);
  background: #FFFFFF;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 5px 16px 5px 12px;
  margin-bottom: 16px;
}
.phase-badge::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.section-cta { text-align: center; margin-top: clamp(36px, 5vw, 56px); }
.section-cta .btn--ghost { padding-inline: 32px; }
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.925rem;
  color: var(--accent-deep);
  text-decoration: none;
}
.link-more:hover { color: var(--accent-deep); text-decoration: underline; }
.link-more svg { transition: transform 0.25s ease; }
.link-more:hover svg { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .link-more svg { transition: none; }
  .link-more:hover svg { transform: none; }
}
