/* =========================================================
   STLiNE フランチャイズ募集サイト 共通スタイル
   White × Black × Red / Noto Serif JP × Noto Sans JP × Outfit
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --bg-card: #ffffff;
  --bg-card-hi: #fafbfc;
  --bg-footer: #f0f1f3;
  --text: #23272c;
  --text-hi: #1a1d20;
  --text-sub: #4e555c;
  --text-mute: #62686f;
  --accent: #6b7077;
  --accent-hi: #4e555c;
  --accent-deep: #9aa1a8;
  --accent-soft: rgba(107, 112, 119, 0.08);
  --accent-glow: rgba(107, 112, 119, 0.18);
  --cta: #d8362b;
  --cta-hover: #c22318;
  --border: #e6e8ea;
  --border-strong: #d5d8db;
  --border-accent: #c2c6cb;
  --error: #b3261e;
  --error-border: #d8362b;
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 10px;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-en: "Outfit", "Noto Sans JP", sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  --container: 1160px;
  --header-h: 68px;
  --shadow-card: 0 1px 2px rgba(20, 26, 33, 0.04), 0 12px 32px -20px rgba(20, 26, 33, 0.18);
  --shadow-card-hi: 0 2px 4px rgba(20, 26, 33, 0.05), 0 18px 40px -22px rgba(20, 26, 33, 0.24);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-jp);
  font-weight: 400;
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt";
}

h1, h2, h3, h4 {
  margin: 0;
  font-feature-settings: "palt";
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--text-hi);
}

h1, h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.04em;
}

p, ul, ol, dl, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
button { font: inherit; color: inherit; }

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

::selection { background: #1a1d20; color: #ffffff; }

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

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.en {
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1;
}

.brand-mark {
  height: 36px;
  width: auto;
  flex-shrink: 0;
}

.brand-logo {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
}

.brand-logo .brand-i { color: var(--cta); }

.brand-sub {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  color: var(--accent);
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

.global-nav ul a {
  display: inline-block;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text-sub);
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease);
}

.global-nav ul a:hover { color: var(--text); }

.global-nav ul a[aria-current="page"] {
  color: var(--text);
  position: relative;
}

.global-nav ul a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 0;
  height: 2px;
  background: var(--accent);
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 48px; height: 48px;
  padding: 0;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.6rem;
  color: var(--text-sub);
}

.nav-toggle .bar {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 640px) {
  .brand-mark { height: 30px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }

  .global-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px -28px rgba(20, 26, 33, 0.25);
  }

  .global-nav.is-open { display: flex; }

  .global-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .global-nav ul a {
    display: block;
    padding: 14px 8px;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .global-nav ul a[aria-current="page"]::after { display: none; }
  .global-nav ul a[aria-current="page"] { color: var(--accent); }

  .nav-cta { margin-top: 20px; text-align: center; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.85em 1.9em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.5;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
              color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-primary {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 0 0 rgba(232, 72, 59, 0);
}

.btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -14px rgba(232, 72, 59, 0.5);
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  border-color: #b8bdc2;
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn-lg {
  padding: 1em 2.4em;
  font-size: 1.05rem;
}

.btn-block { width: 100%; }

.btn-arrow::after {
  content: "→";
  font-family: var(--font-en);
  font-weight: 600;
  transition: transform 0.2s var(--ease);
}

.btn:hover .btn-arrow-inner,
.btn-arrow:hover::after { transform: translateX(3px); }

.text-link {
  color: var(--accent-hi);
  font-weight: 700;
  border-bottom: 1px solid rgba(107, 112, 119, 0.45);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.text-link:hover {
  color: var(--text-hi);
  border-color: var(--text-hi);
}

/* ---------- hero (TOP) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 55% at 92% 8%, rgba(107, 112, 119, 0.08), transparent 65%),
    radial-gradient(ellipse 45% 60% at 6% 92%, rgba(107, 112, 119, 0.04), transparent 65%),
    linear-gradient(160deg, #f2f4f6 0%, #ffffff 55%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -58deg,
    rgba(26, 29, 32, 0.018) 0px,
    rgba(26, 29, 32, 0.018) 1px,
    transparent 1px,
    transparent 16px
  );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -140px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(26, 29, 32, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 30%;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 46%, rgba(255, 255, 255, 0.42) 100%),
    linear-gradient(to top, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.12) 45%);
}

.hero-inner {
  position: relative;
  padding-block: clamp(88px, 12vw, 148px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  color: var(--accent);
  margin-bottom: 26px;
}

.hero-eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--accent);
}

.hero-eyebrow .jp {
  font-family: var(--font-jp);
  letter-spacing: 0.14em;
  color: var(--text-sub);
  font-weight: 500;
}

.nb {
  display: inline-block;
}

.hero-title {
  font-size: clamp(1.75rem, 3.8vw, 2.55rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  line-break: strict;
  overflow-wrap: normal;
}

.hero-title .accent,
.hero-lead .accent {
  color: var(--accent);
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0 0.05em;
  font-size: 1.1em;
}

.hero-lead {
  margin-top: 28px;
  max-width: 34em;
  color: var(--text-sub);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 2;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-meta {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 0.84rem;
  color: var(--text-sub);
  letter-spacing: 0.02em;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(107, 112, 119, 0.16);
}

.hero-stats {
  display: grid;
  gap: 4px;
  padding: 22px 18px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(3px);
  border-top: 1px solid var(--border-accent);
  border-bottom: 1px solid var(--border-accent);
  position: relative;
}

.hero-stats::before,
.hero-stats::after {
  content: "";
  position: absolute;
  width: 8px; height: 8px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--bg);
}
.hero-stats::before { top: -5px; left: -4px; }
.hero-stats::after { bottom: -5px; right: -4px; }

.hero-stat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  padding: 16px 4px;
  border-bottom: 1px dashed rgba(26, 29, 32, 0.14);
}

.hero-stat:last-child { border-bottom: 0; }

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-sub);
  letter-spacing: 0.08em;
}

.hero-stat-label strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
  font-weight: 700;
}

.hero-stat-value {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  color: var(--accent);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hero-stat-value .unit {
  font-family: var(--font-jp);
  font-size: 0.36em;
  font-weight: 700;
  color: var(--text);
  margin-left: 4px;
  letter-spacing: 0.02em;
}

.hero-stat-value .prefix {
  font-family: var(--font-jp);
  font-size: 0.4em;
  font-weight: 700;
  color: var(--text);
  margin-right: 3px;
}

.hero-stat--jp .hero-stat-value {
  font-family: var(--font-jp);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 900;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-block: clamp(72px, 14vw, 108px);
  }
  .hero-stats { margin-top: 8px; }
}

/* ---------- page header (下層) ---------- */

.page-header {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 70% at 90% 0%, rgba(107, 112, 119, 0.08), transparent 70%),
    linear-gradient(160deg, #f2f4f6 0%, #ffffff 70%);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(56px, 8vw, 96px);
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -58deg,
    rgba(26, 29, 32, 0.018) 0px,
    rgba(26, 29, 32, 0.018) 1px,
    transparent 1px,
    transparent 16px
  );
  pointer-events: none;
}

.page-header .container { position: relative; }

.page-header .page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.page-header .page-eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
}

.page-header h1 {
  font-size: clamp(1.75rem, 4.2vw, 2.7rem);
  font-weight: 600;
  line-height: 1.35;
}

.page-header .page-lead {
  margin-top: 20px;
  max-width: 44em;
  color: var(--text-sub);
  line-height: 2;
}

.breadcrumb {
  padding-block: 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-sub);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--text-mute);
}

.breadcrumb a {
  color: var(--text-sub);
  transition: color 0.2s var(--ease);
}

.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ---------- sections ---------- */

.section {
  padding-block: clamp(68px, 9vw, 116px);
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  margin-bottom: clamp(36px, 5vw, 56px);
  max-width: 780px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--accent);
}

.section-header h2 {
  font-size: clamp(1.55rem, 3.4vw, 2.2rem);
  font-weight: 600;
  line-height: 1.4;
}

.section-lead {
  margin-top: 20px;
  max-width: 46em;
  color: var(--text-sub);
  line-height: 2;
}

.section-foot {
  margin-top: clamp(32px, 5vw, 48px);
  text-align: center;
}

/* ---------- stat cards ---------- */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 30px 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 30px;
  width: 56px;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 2px 2px;
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card-hi);
}

.stat-icon {
  color: var(--accent);
  margin-bottom: 18px;
  opacity: 0.9;
}

.stat-value {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.2vw, 3.4rem);
  line-height: 1.05;
  color: var(--accent);
  letter-spacing: 0.01em;
}

.stat-value .unit {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 0.42em;
  color: var(--text);
  margin-left: 3px;
}

.stat-value .prefix {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 0.46em;
  color: var(--text);
  margin-right: 3px;
}

.stat-value--jp {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: 0.04em;
}

.stat-label {
  margin-top: 12px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.stat-note {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.75;
}

@media (max-width: 820px) {
  .stat-grid { grid-template-columns: 1fr; }
}

/* ---------- generic cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: var(--bg-card-hi);
}

.card-num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.card-num::after {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 12px;
  line-height: 1.55;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.95;
}

.card-icon {
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0.9;
}

@media (max-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .card-grid,
  .card-grid--2 { grid-template-columns: 1fr; }
}

/* ---------- tables ---------- */

.table-wrap {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.data-table caption {
  text-align: left;
  padding: 22px 26px 6px;
  font-weight: 700;
  font-size: 1rem;
  caption-side: top;
  color: var(--text);
}

.data-table caption .caption-sub {
  display: block;
  margin-top: 4px;
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--text-sub);
  letter-spacing: 0.04em;
}

.data-table th,
.data-table td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

.data-table tr:last-child th,
.data-table tr:last-child td { border-bottom: none; }

.data-table thead th {
  color: var(--text-sub);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: #f5f6f8;
  padding-block: 12px;
}

.data-table tbody th {
  font-weight: 500;
  color: var(--text-sub);
  width: 46%;
  position: relative;
}

.data-table tbody th::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 14px;
  background: transparent;
  border-radius: 2px;
}

.data-table tbody tr:hover th::before {
  background: rgba(107, 112, 119, 0.5);
}

.data-table tbody tr:hover {
  background: rgba(26, 29, 32, 0.02);
}

.data-table td {
  font-weight: 500;
  color: var(--text);
}

.data-table .num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.05em;
  letter-spacing: 0.02em;
  color: var(--text);
}

.data-table tr.is-total {
  background: linear-gradient(90deg, rgba(107, 112, 119, 0.10) 0%, rgba(107, 112, 119, 0.03) 100%);
}

.data-table tr.is-total th,
.data-table tr.is-total td {
  color: var(--text);
  font-weight: 700;
  padding-block: 20px;
}

.data-table tr.is-total th {
  color: var(--text);
  position: relative;
}

.data-table tr.is-total th::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  border-radius: 0;
  height: auto;
  transform: none;
}

.data-table tr.is-total td {
  color: var(--accent-hi);
  font-size: 1.1rem;
}

.data-table tr.is-total td .num {
  color: var(--text-hi);
  font-size: 1.3em;
}

/* P/L 表バリアント: 売上行と小計行を階層化 */
.data-table--pl tbody tr.is-sub th,
.data-table--pl tbody tr.is-sub td {
  padding-block: 12px;
  color: var(--text-sub);
  font-size: 0.9rem;
}

.data-table--pl tbody tr.is-sales {
  background: rgba(107, 112, 119, 0.05);
}

.data-table--pl tbody tr.is-sales th,
.data-table--pl tbody tr.is-sales td {
  padding-block: 16px;
  font-weight: 700;
  color: var(--text);
}

.data-table--pl tbody tr.is-sales td .num {
  color: var(--text);
  font-size: 1.15em;
}

.note {
  margin-top: 14px;
  font-size: 0.84rem;
  color: var(--text-sub);
  line-height: 1.9;
}

.legal-note {
  margin-top: 16px;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  font-size: 0.86rem;
  color: var(--text);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.9;
}

/* ---------- photo placeholder ---------- */

.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(107, 112, 119, 0.06), transparent 60%),
    var(--bg-card);
  color: var(--text-sub);
  font-size: 0.85rem;
  text-align: center;
  padding: 24px;
}

/* ---------- photos ---------- */

.photo-figure,
.split-photo {
  margin: 0;
}

.photo-figure img,
.split-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.photo-figure figcaption,
.split-photo figcaption {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--text-sub);
  letter-spacing: 0.02em;
}

.photo-figure--banner {
  margin-bottom: clamp(32px, 5vw, 48px);
}

.photo-figure--banner img {
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center 55%;
}

@media (max-width: 640px) {
  .photo-figure--banner img { aspect-ratio: 3 / 2; }
}

/* ---------- flow (mini / full) ---------- */

.flow-mini {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  counter-reset: flowmini;
}

.flow-mini li {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 12px 18px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.55;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.flow-mini li:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent);
}

.flow-mini li::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.55;
  pointer-events: none;
}

.flow-mini li:last-child::after { display: none; }

.flow-mini .flow-mini-num {
  display: block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 6px;
  line-height: 1;
}

@media (max-width: 960px) {
  .flow-mini { grid-template-columns: repeat(4, 1fr); }
  .flow-mini li:nth-child(4)::after { display: none; }
}

@media (max-width: 640px) {
  .flow-mini { grid-template-columns: repeat(2, 1fr); }
  .flow-mini li::after { display: none; }
  .flow-mini li:nth-child(4)::after { display: none; }
}

.step-list {
  display: grid;
  gap: 0;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding-bottom: 40px;
}

.step:last-child { padding-bottom: 0; }

.step::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 68px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--border-accent), var(--border-strong));
}

.step:last-child::before { display: none; }

.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  box-shadow: 0 0 0 4px rgba(107, 112, 119, 0.10);
}

.step-num .n { font-size: 1.35rem; }
.step-num .s {
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  margin-bottom: 3px;
}

.step-body {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.step-body:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hi);
}

.step-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step-body p {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.95;
}

.step-term {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  border: 1px solid rgba(107, 112, 119, 0.45);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--accent-hi);
  background: #eef0f2;
  letter-spacing: 0.06em;
}

/* ---------- method steps (strength) ---------- */

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}

.method-step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.method-step:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent);
}

.method-step .method-label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.method-step .method-label::before {
  content: "";
  width: 20px; height: 1px;
  background: var(--accent);
}

.method-step h3 {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.method-step p {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.95;
}

.method-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-en);
  font-size: 1.4rem;
  color: var(--accent);
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 820px) {
  .method-grid { grid-template-columns: 1fr; }
  .method-step:not(:last-child)::after {
    right: 50%;
    top: auto;
    bottom: -18px;
    transform: translateX(50%) rotate(90deg);
  }
}

/* ---------- support phases ---------- */

.phase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.phase {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.phase:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent);
}

.phase-tag {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.phase-tag::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
}

.phase h3 {
  font-size: 1.22rem;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.phase ul {
  display: grid;
  gap: 16px;
}

.phase li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  line-height: 1.75;
}

.phase li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 2px;
  background: var(--accent);
}

.phase li strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.phase li span {
  color: var(--text-sub);
  font-size: 0.88rem;
  line-height: 1.85;
}

@media (max-width: 960px) {
  .phase-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ accordion ---------- */

.faq-list {
  border-top: 1px solid var(--border-strong);
}

.faq-item {
  border-bottom: 1px solid var(--border-strong);
  transition: background-color 0.2s var(--ease);
}

.faq-item.is-open {
  background: rgba(107, 112, 119, 0.04);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 6px;
  background: none;
  border: 0;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.7;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.faq-q .q-mark {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--accent);
  margin-right: 12px;
}

.faq-q:hover { color: var(--cta); }

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 26px; height: 26px;
  margin-top: 4px;
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  transition: background-color 0.25s var(--ease);
}

.faq-item.is-open .faq-icon {
  background: var(--accent-soft);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease);
}

.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-a { overflow: hidden; }

html.js .faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}

html.js .faq-item.is-open .faq-a { grid-template-rows: 1fr; }

.faq-a-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-a p {
  padding: 0 6px 24px;
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 2;
}

.faq-a .a-mark {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--accent);
  margin-right: 12px;
}

/* ---------- forms ---------- */

.form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  gap: 26px;
}

.form-field > label,
.form-field > .field-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  vertical-align: 2px;
}

.badge-req {
  background: var(--cta-hover);
  color: #fff;
}

.badge-opt {
  background: #eef0f2;
  color: var(--text-sub);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 13px 15px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  line-height: 1.6;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

input::placeholder,
textarea::placeholder { color: var(--text-mute); }

select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234E555C' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(107, 112, 119, 0.15);
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid { border-color: var(--error-border); }

textarea {
  min-height: 140px;
  resize: vertical;
}

.radio-group,
.check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.radio-group label,
.check-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  cursor: pointer;
}

input[type="radio"],
input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--cta);
  cursor: pointer;
}

.field-error {
  display: none;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--error);
}

.field-error.is-visible { display: block; }

.form-status {
  margin-top: 18px;
  font-size: 0.9rem;
}

.form-status.is-error { color: var(--error); }

.phone-box {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.phone-box .phone-label { font-weight: 700; }
.phone-box .phone-number {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  font-size: 1.1em;
}
.phone-box .phone-hours {
  color: var(--text-sub);
  font-size: 0.85rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 90% at 50% 100%, rgba(255, 255, 255, 0.10), transparent 70%),
    radial-gradient(ellipse 40% 60% at 8% 0%, rgba(255, 255, 255, 0.06), transparent 65%),
    linear-gradient(135deg, #d8362b 0%, #b81f15 100%);
  padding-block: clamp(64px, 9vw, 108px);
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -58deg,
    rgba(255, 255, 255, 0.035) 0px,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 16px
  );
  pointer-events: none;
}

.cta-band .container { position: relative; }

.cta-band h2 {
  font-size: clamp(1.45rem, 3.2vw, 2.05rem);
  font-weight: 600;
  line-height: 1.55;
  color: #ffffff;
}

.cta-band p {
  margin-top: 18px;
  color: #ffffff;
  max-width: 42em;
  margin-inline: auto;
  line-height: 2;
}

.cta-band .cta-group {
  justify-content: center;
}

/* 赤帯上のボタン: 主=白地に赤文字 / 副=白枠 */
.cta-band .btn-primary {
  background: #ffffff;
  color: var(--cta);
  box-shadow: 0 12px 28px -16px rgba(90, 12, 7, 0.65);
}

.cta-band .btn-primary:hover {
  background: #fff2f0;
  color: var(--cta-hover);
  box-shadow: 0 16px 32px -16px rgba(90, 12, 7, 0.75);
}

.cta-band .btn-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
  background: transparent;
}

.cta-band .btn-ghost:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

/* ---------- company / privacy ---------- */

.def-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.def-table th,
.def-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.def-table th {
  width: 30%;
  min-width: 120px;
  font-weight: 700;
  color: var(--text-sub);
  white-space: nowrap;
  letter-spacing: 0.06em;
}

.def-table tr:last-child th,
.def-table tr:last-child td { border-bottom: none; }

.prose h2 {
  font-size: 1.25rem;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  line-height: 1.5;
}

.prose h2:first-child { margin-top: 0; }

.prose p {
  color: var(--text-sub);
  margin-bottom: 16px;
  line-height: 2;
}

.prose ul {
  margin-bottom: 16px;
  display: grid;
  gap: 8px;
}

.prose li {
  position: relative;
  padding-left: 20px;
  color: var(--text-sub);
  line-height: 1.95;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 2px;
  background: var(--accent);
}

.narrow { max-width: 780px; }

/* ---------- 2col layout ---------- */

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.split--reverse { grid-template-columns: 0.9fr 1.1fr; }

.split p { line-height: 2; }

@media (max-width: 820px) {
  .split,
  .split--reverse { grid-template-columns: 1fr; }
}

/* ---------- comparison cards (strength) ---------- */

.compare-highlight {
  border-color: var(--border-accent) !important;
  background: linear-gradient(180deg, rgba(107, 112, 119, 0.06) 0%, var(--bg-card) 70%);
  position: relative;
}

.compare-highlight::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border);
  padding-top: clamp(48px, 7vw, 72px);
  font-size: 0.9rem;
}

.footer-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 40px;
}

.footer-brand .brand-logo {
  font-size: 1.3rem;
}

.footer-brand .brand-mark {
  height: 30px;
  margin-right: 10px;
}

.footer-brand p {
  margin-top: 14px;
  color: var(--text-sub);
  font-size: 0.85rem;
  line-height: 1.9;
}

.footer-nav h2,
.footer-company h2 {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--accent-hi);
  font-family: var(--font-en);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-nav h2::after,
.footer-company h2::after {
  content: "";
  width: 20px; height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

.footer-nav ul {
  display: grid;
  gap: 10px;
}

.footer-nav a {
  color: var(--text-sub);
  transition: color 0.2s var(--ease);
}

.footer-nav a:hover { color: var(--text-hi); }

.footer-company p {
  color: var(--text-sub);
  font-size: 0.88rem;
  line-height: 1.9;
}

.footer-company .corp-name {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 6px;
}

.footer-company a {
  color: var(--text-sub);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-company a:hover { color: var(--text-hi); }

.footer-bottom {
  margin-top: clamp(40px, 6vw, 64px);
  border-top: 1px solid var(--border);
  padding-block: 22px;
  text-align: center;
  color: var(--text-mute);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

@media (max-width: 820px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- thanks ---------- */

.thanks-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 55% at 50% 15%, rgba(107, 112, 119, 0.08), transparent 65%),
    linear-gradient(180deg, #f2f4f6 0%, #ffffff 100%);
}

.thanks-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -58deg,
    rgba(26, 29, 32, 0.018) 0px,
    rgba(26, 29, 32, 0.018) 1px,
    transparent 1px,
    transparent 16px
  );
  pointer-events: none;
}

.thanks-hero .container { width: 100%; position: relative; }

.thanks-hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-top: 24px;
  line-height: 1.45;
}

.thanks-hero p {
  margin-top: 20px;
  color: var(--text-sub);
  line-height: 2;
}

.thanks-icon {
  color: var(--accent);
  display: inline-flex;
  padding: 18px;
  border-radius: 50%;
  border: 1px solid var(--border-accent);
  background: var(--accent-soft);
}

/* ---------- reveal animation ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   TOP 縦長LP 追加スタイル（既存クラスは変更せず追記のみ）
   ========================================================= */

/* ---------- CTAバンド（リピート用スリム版） ---------- */

.cta-band--slim {
  padding-block: clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--border);
}

.cta-band--slim h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
}

.cta-band--slim .cta-group { margin-top: 24px; }

/* ---------- こんなお悩みありませんか？ ---------- */

.worry-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.worry-list {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.worry-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.8;
}

.worry-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 12px;
  height: 2px;
  background: var(--accent-deep);
}

.worry-answer {
  border-top: 1px dashed var(--border-strong);
  padding-top: 16px;
}

.worry-card .worry-answer-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  color: var(--text-hi);
  margin-bottom: 8px;
}

.worry-answer-label::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--cta);
}

/* ---------- STLiNEとは ---------- */

.about-title {
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  line-height: 1.7;
  margin-bottom: 18px;
}

.about-text {
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: 16px;
}

.section-foot--left { text-align: left; }

.photo-duo {
  display: grid;
  gap: 16px;
}

.photo-duo .photo-figure img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

@media (max-width: 820px) {
  .photo-duo {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start;
  }
}

@media (max-width: 480px) {
  .photo-duo { grid-template-columns: 1fr; }
}

/* ---------- 加盟店の声 ---------- */

.voice-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.voice-avatar {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px dashed var(--border-strong);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--text-mute);
  letter-spacing: 0.06em;
}

.voice-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-hi);
}

.voice-card .voice-meta {
  margin-top: 2px;
  font-size: 0.8rem;
  color: var(--text-sub);
  letter-spacing: 0.06em;
}

.voice-card .voice-body {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.95;
}

.voice-card .voice-note {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-mute);
}

/* ---------- 店舗一覧（タグ） ---------- */

.store-area + .store-area { margin-top: 30px; }

.store-area-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.store-area-name::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--accent);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.store-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.store-tags li {
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
}

/* ---------- 他社FCとの比較表 ---------- */

.data-table--compare { min-width: 720px; }

.data-table--compare thead th { white-space: nowrap; }

.data-table--compare tbody th {
  width: auto;
  min-width: 110px;
  white-space: nowrap;
}

.data-table--compare td {
  font-size: 0.92rem;
  line-height: 1.8;
}

.data-table--compare .is-brand {
  background: rgba(216, 54, 43, 0.04);
  border-inline: 1px solid var(--border-accent);
  color: var(--text-hi);
}

.data-table--compare thead th.is-brand {
  color: var(--text-hi);
  font-weight: 700;
}

/* ---------- FAQ（TOP） ---------- */

.faq-consult {
  margin-bottom: 18px;
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.9;
}

/* ---------- 最終CTAの電話表記 ---------- */

.cta-band .cta-phone {
  margin-top: 28px;
  font-size: 0.92rem;
  color: #ffffff;
}

.cta-band .cta-phone .phone-number {
  font-family: var(--font-en);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  font-size: 1.1em;
}

.cta-band .cta-phone .phone-hours {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.95);
}

/* =========================================================
   LP強化：CTAバンド暗色帯／数字強調／お悩み共感／比較表STLiNE列強調
   ========================================================= */

/* ---------- CTAバンド：暗色帯（繰り返し表示用） ---------- */

.cta-band--dark {
  background:
    radial-gradient(ellipse 70% 120% at 50% 100%, rgba(255, 255, 255, 0.10), transparent 65%),
    radial-gradient(ellipse 50% 80% at 12% 0%, rgba(255, 255, 255, 0.06), transparent 70%),
    linear-gradient(135deg, #d8362b 0%, #b81f15 100%);
  border-top: 0;
  border-bottom: 0;
  position: relative;
}

.cta-band--dark::before {
  background-image: repeating-linear-gradient(
    -58deg,
    rgba(255, 255, 255, 0.035) 0px,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 18px
  );
}

.cta-band--dark::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 220px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.75) 50%, transparent 100%);
  transform: translateX(-50%);
  opacity: 0.55;
  pointer-events: none;
}

.cta-band--dark h2 {
  color: #ffffff;
  max-width: 32em;
  margin-inline: auto;
}

.cta-band-eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.cta-band-eyebrow::before,
.cta-band-eyebrow::after {
  content: "";
  width: 24px; height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.cta-band--dark .cta-group {
  margin-top: 22px;
}

/* Primary buttonに赤帯上での輝きを */
.cta-band--dark .btn-primary {
  box-shadow: 0 8px 26px -14px rgba(90, 12, 7, 0.7),
              0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}

.cta-band--dark .btn-primary:hover {
  box-shadow: 0 14px 34px -14px rgba(90, 12, 7, 0.85),
              0 0 0 1px rgba(255, 255, 255, 0.35) inset;
}

.cta-band--dark .btn-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.cta-band--dark .btn-ghost:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

/* ---------- お悩みセクション：共感演出 ---------- */

.card-grid--worry {
  gap: 24px;
}

.worry-card {
  padding: 34px 28px 30px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

.worry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-deep) 0%, transparent 80%);
  opacity: 0.45;
  transition: opacity 0.3s var(--ease);
}

.worry-card:hover::before {
  opacity: 0.75;
}

.worry-card h3 {
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 18px;
  color: var(--text-hi);
}

.worry-card .worry-tag {
  background: #eef0f2;
}

.worry-list li {
  position: relative;
  padding-left: 26px;
}

.worry-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 14px;
  background: none;
  border-radius: 50%;
  border: 1px solid rgba(107, 112, 119, 0.45);
}

.worry-list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: calc(0.55em + 6px);
  width: 6px;
  height: 1.5px;
  background: var(--accent-deep);
  border-radius: 2px;
}

.worry-answer {
  margin-top: auto;
  padding: 16px 18px 4px;
  margin-inline: -6px;
  background: linear-gradient(180deg, rgba(216, 54, 43, 0.05) 0%, transparent 100%);
  border-top: 1px solid rgba(216, 54, 43, 0.25);
  border-radius: 0 0 var(--radius) var(--radius);
  position: relative;
}

.worry-card .worry-answer-label {
  color: var(--text-hi);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-en);
  font-weight: 700;
}

.worry-card .worry-answer-label::before {
  width: 18px;
  height: 2px;
  background: var(--cta);
}

.worry-card .worry-answer p {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.95;
}

/* ---------- 選ばれる理由：reason-card 数字強調 ---------- */

.reason-card {
  padding: 34px 28px 30px;
  overflow: hidden;
  isolation: isolate;
}

.reason-card::before {
  content: "";
  position: absolute;
  right: -14px;
  top: -14px;
  font-family: var(--font-en);
  font-weight: 700;
  color: rgba(26, 29, 32, 0.04);
  pointer-events: none;
  z-index: 0;
}

.reason-card .card-num {
  font-size: 1.35rem;
  padding: 6px 14px 6px 0;
  color: var(--accent-hi);
  position: relative;
  z-index: 1;
}

.reason-card .card-num::after { background: var(--cta); }

.reason-card .card-num::after {
  width: 36px;
  opacity: 0.9;
}

.reason-card h3,
.reason-card p {
  position: relative;
  z-index: 1;
}

/* ---------- 収支モデル：stat-card--pl の数字を主役に ---------- */

.stat-grid--pl {
  gap: 24px;
}

.stat-card--pl {
  padding: 44px 30px 36px;
  overflow: hidden;
  isolation: isolate;
}

.stat-card--pl .stat-index {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  color: var(--text-mute);
  opacity: 0.7;
  z-index: 1;
}

.stat-card--pl::after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  background:
    radial-gradient(circle at center, rgba(107, 112, 119, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.stat-card--pl .stat-icon,
.stat-card--pl .stat-value,
.stat-card--pl .stat-label,
.stat-card--pl .stat-note {
  position: relative;
  z-index: 1;
}

.stat-card--pl .stat-value {
  font-size: clamp(2.8rem, 6vw, 3.9rem);
  line-height: 1;
  letter-spacing: 0;
  margin-block: 4px 6px;
}

.stat-card--pl .stat-value .unit {
  font-size: 0.34em;
}

.stat-card--pl .stat-label {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(107, 112, 119, 0.3);
  font-size: 0.98rem;
  color: var(--text-hi);
}

.stat-card--pl .stat-note {
  color: var(--text-mute);
  letter-spacing: 0.02em;
}

/* 強調カード（営業利益）はCTA赤アクセント */
.stat-card--accent {
  background: linear-gradient(180deg, rgba(216, 54, 43, 0.06) 0%, var(--bg-card) 55%);
  border-color: rgba(216, 54, 43, 0.28);
}

.stat-card--accent::before {
  background: var(--cta);
  height: 4px;
  width: 72px;
}

.stat-card--accent:hover {
  border-color: rgba(216, 54, 43, 0.5);
}

.stat-card--accent .stat-value {
  color: var(--cta);
}

.stat-card--accent .stat-icon {
  color: var(--cta);
  opacity: 1;
}

.stat-card--accent .stat-index {
  color: var(--cta);
  opacity: 0.85;
}

/* ---------- P/L表：階層の視覚 ---------- */

.data-table--pl caption {
  padding-inline: 22px;
}

.data-table--pl tr.is-total {
  background: linear-gradient(90deg, rgba(216, 54, 43, 0.10) 0%, rgba(216, 54, 43, 0.03) 100%);
}

.data-table--pl tr.is-total th::before {
  background: var(--cta);
}

.data-table--pl tr.is-total td {
  color: var(--text-hi);
  font-size: 1.12rem;
}

.data-table--pl tr.is-total td .num {
  color: var(--cta);
  font-size: 1.55em;
  padding: 0 0.06em;
}

.data-table--pl tbody tr.is-sales td .num {
  color: var(--text-hi);
  font-size: 1.3em;
}

.data-table--pl tbody tr:not(.is-sub):not(.is-sales):not(.is-total) td .num {
  color: var(--text-hi);
  font-size: 1.15em;
}

/* ---------- 比較表：STLiNE列の強調 ---------- */

.data-table--compare .is-brand {
  background: linear-gradient(180deg, rgba(216, 54, 43, 0.07) 0%, rgba(216, 54, 43, 0.035) 40%, rgba(216, 54, 43, 0.035) 100%);
  border-inline: 1px solid rgba(216, 54, 43, 0.22);
}

.data-table--compare thead th.is-brand {
  color: var(--text-hi);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: none;
  position: relative;
  padding-block: 16px;
}

.data-table--compare thead th.is-brand::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 4px;
  height: 2px;
  background: var(--cta);
  border-radius: 2px;
}

.data-table--compare tbody td.is-brand {
  color: var(--text-hi);
  font-weight: 600;
}

.data-table--compare tbody td.is-brand .num {
  color: var(--text-hi);
  font-size: 1.18em;
}

.data-table--compare tbody tr:hover td.is-brand {
  background: linear-gradient(180deg, rgba(216, 54, 43, 0.10) 0%, rgba(216, 54, 43, 0.05) 40%, rgba(216, 54, 43, 0.05) 100%);
}

/* ---------- ヒーロー：hero-stat 数字を大胆に ---------- */

.hero-stat-value {
  font-size: clamp(2.6rem, 5.5vw, 3.8rem);
}

.hero-stats {
  padding: 26px 22px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 24px 48px -30px rgba(20, 26, 33, 0.28);
  position: relative;
}

.hero-stats::before,
.hero-stats::after {
  width: 10px;
  height: 10px;
  border-color: var(--accent);
}

/* ---------- section-eyebrow：赤系アクセントバリアント ---------- */

/* ---------- 店舗タグ：ホバーの手応え ---------- */

.store-tags li {
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
  cursor: default;
}

.store-tags li:hover {
  border-color: var(--border-accent);
  color: var(--text-hi);
  transform: translateY(-1px);
}

/* ---------- 加盟店の声：placeholder演出 ---------- */

.voice-card {
  padding: 30px 28px;
  background:
    linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card) 100%);
}

.voice-avatar {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(107, 112, 119, 0.06) 0 8px,
      transparent 8px 16px
    ),
    var(--accent-soft);
}

/* ---------- flow-mini：矢印の見直し（縦長LPで密度確保） ---------- */

.flow-mini li {
  padding: 22px 10px 20px;
}

@media (max-width: 640px) {
  .flow-mini { gap: 10px; }
  .flow-mini li { padding: 18px 10px; }
}

/* ---------- FAQ：TOP用に少しリズムを ---------- */

.faq-consult {
  padding: 18px 22px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--accent-soft);
  text-align: center;
  color: var(--text);
}

/* ---------- 最終CTAバンド：ダーク帯強化 ---------- */

.cta-band:not(.cta-band--slim) {
  background:
    radial-gradient(ellipse 70% 100% at 50% 110%, rgba(122, 15, 8, 0.55), transparent 65%),
    radial-gradient(ellipse 60% 90% at 50% 0%, rgba(255, 255, 255, 0.10), transparent 70%),
    linear-gradient(160deg, #d8362b 0%, #b81f15 100%);
}

.cta-band:not(.cta-band--slim)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 260px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.75) 50%, transparent 100%);
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-band .cta-phone {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 12px;
  padding: 14px 22px;
  margin-top: 32px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  background: rgba(122, 15, 8, 0.25);
}

/* ---------- モバイル 375px 微調整（縦長LPのテンポ） ---------- */

@media (max-width: 640px) {
  .section {
    padding-block: clamp(56px, 12vw, 78px);
  }

  .cta-band--slim {
    padding-block: 38px;
  }

  .cta-band--slim h2 {
    font-size: 1.05rem;
    line-height: 1.7;
    padding-inline: 0;
  }

  .cta-band-eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.28em;
    margin-bottom: 10px;
  }

  .cta-band--slim .cta-group {
    margin-top: 20px;
    flex-direction: column;
    gap: 10px;
  }

  .cta-band--slim .btn {
    width: 100%;
    padding: 0.95em 1.4em;
    font-size: 0.98rem;
  }

  .hero-inner {
    padding-block: 60px 52px;
    gap: 32px;
  }

  .hero-eyebrow {
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    margin-bottom: 20px;
  }

  .hero-eyebrow .jp {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    display: block;
    width: 100%;
  }

  .hero-title {
    font-size: 1.55rem;
    line-height: 1.55;
    letter-spacing: 0.01em;
  }

  .hero-lead {
    margin-top: 22px;
    line-height: 1.9;
  }

  .cta-group {
    margin-top: 28px;
    flex-direction: column;
    gap: 10px;
  }

  .hero .cta-group .btn {
    width: 100%;
    padding: 0.95em 1.4em;
  }

  .hero-meta {
    margin-top: 20px;
    gap: 6px 18px;
    font-size: 0.78rem;
  }

  .hero-stats {
    padding: 18px 16px;
    margin-top: 4px;
  }

  .hero-stat {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 12px 4px;
    align-items: baseline;
  }

  .hero-stat-label {
    font-size: 0.76rem;
  }

  .hero-stat-label strong {
    font-size: 0.94rem;
  }

  .hero-stat-value {
    font-size: 2.2rem;
    justify-self: end;
  }

  .hero-stat--jp .hero-stat-value {
    font-size: 1.4rem;
  }

  .stat-card--pl {
    padding: 30px 22px 26px;
  }

  .stat-card--pl .stat-value {
    font-size: 2.6rem;
  }

  .stat-card--pl .stat-index {
    top: 14px;
    right: 18px;
    font-size: 0.72rem;
  }

  .worry-card {
    padding: 28px 22px 24px;
  }

  .reason-card {
    padding: 28px 22px 24px;
  }

  .card h3 { font-size: 1rem; }

  .data-table th,
  .data-table td {
    padding: 12px 14px;
    font-size: 0.88rem;
  }

  .data-table caption {
    padding: 16px 14px 4px;
    font-size: 0.94rem;
  }

  .data-table--pl { min-width: 0; }

  .data-table--pl tr.is-total td {
    font-size: 1rem;
    line-height: 1.5;
  }

  .data-table--pl tr.is-total td .num {
    font-size: 1.35em;
    display: inline-block;
  }

  .cta-band .cta-phone {
    padding: 12px 16px;
    font-size: 0.86rem;
  }

  .flow-mini { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .flow-mini li { padding: 16px 8px; font-size: 0.78rem; }
  .flow-mini .flow-mini-num { font-size: 1.15rem; margin-bottom: 4px; }
}

/* ---------- タブレット 641〜820px：3カラム→2カラムの中間 ---------- */

@media (min-width: 641px) and (max-width: 960px) {
  .stat-grid--pl { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-grid--pl > :last-child { grid-column: 1 / -1; }
}

/* ---------- reduced motion（既存ブロックはファイル末尾に維持） ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   ✧ DESIGN POLISH ✧
   明るいテーマの品格をもう一段引き上げるための最終磨き。
   既存クラスの色/文字/構成は変えず、シャドウ・境界・
   タイポグラフィのディテールを重ねる。
   （文言・数値・注記・トークンの意味は変更なし）
   ========================================================= */

/* ---------- 1. Typography — 上品な仕上げ ---------- */

body {
  font-feature-settings: "palt", "kern";
}

h1, h2, h3, h4 {
  font-feature-settings: "palt", "kern";
}

h1, h2 {
  letter-spacing: 0.035em;
}

/* 数字は必ずtabular-nums（表・カード・見出しの数字が揺れない） */
.stat-value,
.stat-value .unit,
.stat-value .prefix,
.hero-stat-value,
.hero-stat-value .unit,
.hero-stat-value .prefix,
.data-table .num,
.brand-logo,
.brand-sub,
.en,
.card-num,
.flow-mini-num,
.step-num .n {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum", "lnum";
}

/* ::selection：ブランドの赤で選択色 */
::selection {
  background: rgba(216, 54, 43, 0.22);
  color: var(--text-hi);
}

/* Focus-visibleはCTAの赤で（ブランド一貫性 + 視認性） */
:focus-visible {
  outline: 2px solid var(--cta);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- 2. Header — 微細なフローティング ---------- */

.site-header {
  box-shadow:
    0 1px 0 rgba(20, 26, 33, 0.04),
    0 6px 20px -18px rgba(20, 26, 33, 0.16);
}

/* ---------- 3. Hero — 動画×白オーバーレイの品格 ---------- */

.hero-bg::after {
  background:
    linear-gradient(100deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 255, 255, 0.92) 40%,
      rgba(255, 255, 255, 0.55) 100%),
    linear-gradient(to top,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(255, 255, 255, 0.10) 42%);
}

.hero-eyebrow::before {
  height: 1px;
  width: 42px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 60%, var(--accent) 100%);
}

/* Hero-stats：白い紙のような重み・繊細な浮遊感 */
.hero-stats {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  border: 1px solid rgba(20, 26, 33, 0.09);
  border-radius: 6px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 30px 60px -34px rgba(20, 26, 33, 0.30),
    0 8px 20px -14px rgba(20, 26, 33, 0.12);
  padding: 28px 24px;
}

.hero-stats::before,
.hero-stats::after {
  background: #ffffff;
  border-color: rgba(20, 26, 33, 0.18);
}

.hero-stat {
  border-bottom-style: dotted;
  border-bottom-color: rgba(20, 26, 33, 0.13);
}

.hero-stat-label strong {
  letter-spacing: 0.03em;
}

/* Hero grainパターンをより繊細に */
.hero::before,
.page-header::before,
.cta-band::before,
.thanks-hero::before {
  background-image: repeating-linear-gradient(
    -58deg,
    rgba(26, 29, 32, 0.012) 0px,
    rgba(26, 29, 32, 0.012) 1px,
    transparent 1px,
    transparent 18px
  );
}

/* ---------- 4. Page-header — 下層で共通の品格 ---------- */

.page-header {
  padding-block: clamp(64px, 8vw, 108px);
  background:
    radial-gradient(ellipse 60% 80% at 92% 0%, rgba(107, 112, 119, 0.09), transparent 65%),
    radial-gradient(ellipse 40% 60% at 4% 100%, rgba(107, 112, 119, 0.05), transparent 70%),
    linear-gradient(170deg, #f3f5f7 0%, #ffffff 65%);
}

.page-header::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(26, 29, 32, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.page-header h1 {
  letter-spacing: 0.04em;
}

.page-header .page-eyebrow::before {
  background: linear-gradient(90deg, transparent 0%, var(--accent) 60%, var(--accent) 100%);
}

/* ---------- 5. Section — リズムと境界の繊細さ ---------- */

.section--alt {
  background: linear-gradient(180deg, #f7f8fa 0%, #f4f5f7 100%);
  border-top-color: rgba(20, 26, 33, 0.05);
  border-bottom-color: rgba(20, 26, 33, 0.05);
}

.section-header h2 {
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.section-eyebrow::before,
.footer-nav h2::after,
.footer-company h2::after {
  background: linear-gradient(90deg, transparent 0%, var(--accent) 60%, var(--accent) 100%);
}

/* ---------- 6. Cards — shadow と border の繊細さ ---------- */

:root {
  --shadow-card:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 1px 2px rgba(20, 26, 33, 0.03),
    0 22px 44px -30px rgba(20, 26, 33, 0.22);
  --shadow-card-hi:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 2px 5px rgba(20, 26, 33, 0.04),
    0 30px 60px -30px rgba(20, 26, 33, 0.26);
}

.card,
.stat-card,
.phase,
.method-step {
  border-color: rgba(20, 26, 33, 0.08);
  transition: transform 0.4s var(--ease),
              border-color 0.3s var(--ease),
              background-color 0.3s var(--ease),
              box-shadow 0.35s var(--ease);
}

.card:hover,
.phase:hover,
.method-step:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 1px 3px rgba(20, 26, 33, 0.04),
    0 28px 52px -32px rgba(20, 26, 33, 0.24);
}

/* Statカードのハイライトラインを繊細に */
.stat-card::before {
  height: 2px;
  width: 64px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(107, 112, 119, 0.15) 100%);
}

.stat-card--accent::before {
  height: 3px;
  width: 84px;
  background: linear-gradient(90deg, var(--cta) 0%, rgba(216, 54, 43, 0.15) 100%);
}

/* Card内の数字：ばね感 */
.stat-value {
  font-variant-numeric: tabular-nums lining-nums;
}

.stat-card--pl .stat-value {
  letter-spacing: -0.005em;
}

.stat-card--accent .stat-value {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Worry-card の上部ハイライト — 赤みを控えめに */
.worry-card::before {
  background: linear-gradient(90deg, var(--accent-deep) 0%, rgba(154, 161, 168, 0.25) 60%, transparent 100%);
}

/* ---------- 7. Data-table — 表の質感 ---------- */

.table-wrap {
  border-color: rgba(20, 26, 33, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 1px 2px rgba(20, 26, 33, 0.03),
    0 24px 48px -30px rgba(20, 26, 33, 0.20);
}

.data-table thead th {
  background: linear-gradient(180deg, #f8f9fb 0%, #f4f5f7 100%);
  border-bottom: 1px solid var(--border-strong);
}

.data-table caption {
  letter-spacing: 0.02em;
}

/* PL表：営業利益行（is-total）のアクセント */
.data-table--pl tr.is-total td .num {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
  letter-spacing: -0.005em;
}

/* ---------- 8. Buttons — 質感の底上げ ---------- */

.btn { will-change: transform; }

.btn-primary {
  background: linear-gradient(180deg, #dd3a2f 0%, #d8362b 55%, #cb2a20 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 8px 18px -10px rgba(216, 54, 43, 0.55),
    0 2px 4px rgba(122, 15, 8, 0.14);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #d8362b 0%, #c22318 55%, #ac1c11 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 16px 30px -12px rgba(216, 54, 43, 0.60),
    0 3px 6px rgba(122, 15, 8, 0.18);
}

.btn-ghost {
  border-color: rgba(20, 26, 33, 0.18);
  color: var(--text-hi);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--accent-hi);
  background: rgba(20, 26, 33, 0.03);
}

.text-link {
  border-bottom-color: rgba(107, 112, 119, 0.35);
}

/* ---------- 9. CTA band — 赤帯の深みと白ボタンの品格 ---------- */

.cta-band--dark {
  background:
    radial-gradient(ellipse 80% 130% at 50% 100%, rgba(122, 15, 8, 0.55), transparent 55%),
    radial-gradient(ellipse 60% 110% at 50% 0%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(135deg, #db3c31 0%, #b81f15 60%, #a41810 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    inset 0 -1px 0 rgba(0, 0, 0, 0.10);
}

.cta-band:not(.cta-band--slim) {
  background:
    radial-gradient(ellipse 80% 120% at 50% 110%, rgba(96, 10, 5, 0.60), transparent 55%),
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(255, 255, 255, 0.15), transparent 60%),
    linear-gradient(160deg, #de3d32 0%, #b81f15 60%, #a41810 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.cta-band h2 {
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.94);
}

.cta-band--dark::after {
  width: 280px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.80) 50%, transparent 100%);
  opacity: 0.55;
}

.cta-band-eyebrow {
  opacity: 0.9;
}

.cta-band-eyebrow::before,
.cta-band-eyebrow::after {
  opacity: 0.85;
}

/* 赤帯上の白ボタン：主役感を持たせる（既存の背景色は保ちつつ影を追加） */
.cta-band .btn-primary {
  background: #ffffff;
  color: #b81f15;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 0 0 1px rgba(255, 255, 255, 0.25),
    0 12px 26px -12px rgba(90, 12, 7, 0.55),
    0 3px 8px rgba(90, 12, 7, 0.18);
}

.cta-band .btn-primary:hover {
  background: #fff;
  color: #a41810;
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 0 0 1px rgba(255, 255, 255, 0.35),
    0 18px 32px -12px rgba(90, 12, 7, 0.65),
    0 4px 10px rgba(90, 12, 7, 0.22);
}

.cta-band .btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
}

.cta-band .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* CTAバンド最終形（フル）の電話ボックス：内側のガラス感 */
.cta-band .cta-phone {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(122, 15, 8, 0.28);
  backdrop-filter: blur(2px);
}

/* ---------- 10. Form-panel — 上質な入力体験 ---------- */

.form-panel {
  border-color: rgba(20, 26, 33, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 1px 3px rgba(20, 26, 33, 0.04),
    0 30px 60px -34px rgba(20, 26, 33, 0.22);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  background: #fefefe;
  border-color: rgba(20, 26, 33, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(20, 26, 33, 0.24);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-hi);
  box-shadow:
    0 0 0 3px rgba(107, 112, 119, 0.14),
    0 1px 2px rgba(107, 112, 119, 0.06);
}

.badge-req {
  background: linear-gradient(180deg, #d8362b 0%, #b81f15 100%);
  box-shadow: 0 1px 1px rgba(122, 15, 8, 0.22);
}

.phone-box {
  border-color: rgba(20, 26, 33, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 14px 30px -22px rgba(20, 26, 33, 0.16);
}

/* ---------- 11. FAQ — 静謐な開閉 ---------- */

.faq-list {
  border-top-color: rgba(20, 26, 33, 0.10);
}

.faq-item {
  border-bottom-color: rgba(20, 26, 33, 0.10);
}

.faq-item.is-open {
  background: linear-gradient(180deg,
    rgba(107, 112, 119, 0.06) 0%,
    rgba(107, 112, 119, 0.02) 100%);
}

.faq-q { letter-spacing: 0.02em; }

/* ---------- 12. Method-step — 見出しに品格 ---------- */

.method-step h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ---------- 13. Step-num — サポート円のディテール ---------- */

.step-num {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  box-shadow:
    0 0 0 4px rgba(107, 112, 119, 0.10),
    0 6px 14px -8px rgba(20, 26, 33, 0.16);
}

/* ---------- 14. Flow-mini — カード間の呼吸 ---------- */

.flow-mini li {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  border-color: rgba(20, 26, 33, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

/* ---------- 15. Footer — 明るいテーマの締め ---------- */

.site-footer {
  background: linear-gradient(180deg, #f2f3f5 0%, #edeff1 100%);
  border-top-color: rgba(20, 26, 33, 0.07);
}

.footer-brand .brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top-color: rgba(20, 26, 33, 0.06);
}

/* ---------- 16. Compare-highlight — 比較表STLiNE行の白カード ---------- */

.compare-highlight {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 24px 48px -30px rgba(216, 54, 43, 0.18);
}

/* ---------- 17. Reveal — 少しゆったりと ---------- */

html.js .reveal {
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

/* ---------- 18. Thanks — 到達感 ---------- */

.thanks-icon {
  background:
    linear-gradient(180deg, #ffffff 0%, #fafbfc 100%),
    var(--accent-soft);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 18px 34px -22px rgba(20, 26, 33, 0.24);
  border-color: rgba(20, 26, 33, 0.12);
}

/* ---------- 19. モバイル：磨きの調整 ---------- */

@media (max-width: 640px) {
  .hero-stats {
    padding: 22px 18px;
    border-radius: 6px;
  }

  .cta-band .btn-primary {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.9) inset,
      0 0 0 1px rgba(255, 255, 255, 0.25),
      0 6px 14px -8px rgba(90, 12, 7, 0.4);
  }

  .cta-band--slim h2 {
    line-height: 1.7;
  }

  .page-header::after {
    right: -100px;
    bottom: -100px;
    width: 280px;
    height: 280px;
  }
}
