/* VK Assist LP — colors aligned with Tailwind tokens (emerald / gray / stone) */
:root {
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;
  --emerald-950: #022c22;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;

  --stone-50: #fafaf9;
  --stone-900: #1c1917;

  --amber-400: #fbbf24;
  --red-500: #ef4444;

  --black-50: rgba(0, 0, 0, 0.5);
  --black-60: rgba(0, 0, 0, 0.6);
  --black-70: rgba(0, 0, 0, 0.7);

  --bg: var(--gray-50);
  --surface: #ffffff;
  --ink: var(--gray-900);
  --muted: var(--gray-500);
  --label: var(--gray-700);
  --line: var(--gray-200);
  --line-subtle: var(--gray-100);

  --accent-text: var(--emerald-400);
  --accent-icon: var(--emerald-700);
  --btn-main: var(--emerald-700);
  --btn-main-hover: var(--emerald-800);
  --btn-light: var(--emerald-600);
  --accent-soft: rgba(4, 120, 87, 0.1);

  --link: var(--emerald-600);
  --link-hover: var(--emerald-700);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.06);
  --shadow-sm: 0 8px 24px rgba(17, 24, 39, 0.05);
  --max: 1120px;
  --font: "Noto Sans JP", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* モバイルでページ全体の横スライドを防止（内側の横スクロールは維持） */
html,
body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header--solid {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--gray-200);
}

.site-header:not(.site-header--solid) .logo {
  color: #fff;
}

.site-header:not(.site-header--solid) .logo:hover {
  color: #fff;
  opacity: 0.92;
  text-decoration: none;
}

.site-header:not(.site-header--solid) .site-header__links a {
  color: rgba(255, 255, 255, 0.88);
}

.site-header:not(.site-header--solid) .site-header__links a:hover {
  color: #fff;
  text-decoration: none;
}

.site-header--solid .logo {
  color: var(--ink);
}

.site-header--solid .logo:hover {
  color: var(--link-hover);
  opacity: 1;
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  z-index: 52;
}

.site-header__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 48;
  background: rgba(0, 0, 0, 0.45);
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.site-header.is-menu-open .site-header__backdrop {
  display: block;
}

.site-header__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  color: inherit;
  flex-shrink: 0;
}

.site-header:not(.site-header--solid) .site-header__menu-btn {
  color: #fff;
}

.site-header--solid .site-header__menu-btn {
  color: var(--ink);
}

.site-header__menu-btn:focus-visible {
  outline: 2px solid var(--emerald-500);
  outline-offset: 2px;
}

.site-header__menu-btn-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.site-header.is-menu-open .site-header__menu-btn-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.is-menu-open .site-header__menu-btn-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .site-header__menu-btn-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .site-header__menu-btn-bar,
  .site-header.is-menu-open .site-header__menu-btn-bar:nth-child(1),
  .site-header.is-menu-open .site-header__menu-btn-bar:nth-child(3) {
    transition: none;
  }

  .site-header__nav {
    transition: none;
  }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo__img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.logo__text {
  line-height: 1.2;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-header__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  font-size: 0.82rem;
  justify-content: flex-end;
  max-width: min(52vw, 520px);
}

@media (min-width: 900px) {
  .site-header__links {
    font-size: 0.88rem;
    gap: 1rem 1.15rem;
    max-width: none;
  }
}

.site-header__links a {
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.site-header--solid .site-header__links a {
  color: var(--muted);
}

.site-header--solid .site-header__links a:hover {
  color: var(--ink);
}

/* スマホ: ハンバーガー＋ドロワー */
@media (max-width: 767px) {
  .site-header__menu-btn {
    display: flex;
  }

  .site-header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(88vw, 300px);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 4.75rem 1.35rem 2rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    background: var(--surface);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 51;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-header.is-menu-open .site-header__nav {
    transform: translateX(0);
  }

  .site-header__links {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    max-width: none;
    font-size: 0.95rem;
  }

  .site-header__links a {
    padding: 0.9rem 0.35rem;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    white-space: normal;
  }

  .site-header__links a:hover {
    color: var(--emerald-700);
  }

  .site-header:not(.site-header--solid) .site-header__links a {
    color: var(--ink);
  }

  .site-header__cta {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--btn-main);
  color: #fff;
  box-shadow: 0 4px 14px rgba(4, 120, 87, 0.35);
}

.btn--primary:hover {
  background: var(--btn-main-hover);
  color: #fff;
}

.btn--primary:disabled,
.btn--cta:disabled,
.btn:disabled {
  background: var(--gray-300);
  color: var(--gray-500);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.btn:disabled:hover {
  transform: none;
  background: var(--gray-300);
}

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
  border-color: #cfd6e4;
  color: var(--ink);
}

.btn--block {
  width: 100%;
}

.btn--cta {
  background: var(--btn-main);
  color: #fff;
  box-shadow: 0 4px 18px rgba(4, 120, 87, 0.4);
}

.btn--cta:hover {
  background: var(--btn-main-hover);
  color: #fff;
}

.btn--light {
  background: var(--btn-light);
  color: #fff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

.btn--light:hover {
  background: var(--btn-main);
  color: #fff;
}

.btn--cta-lg {
  padding: 0.9rem 1.65rem;
  font-size: 1rem;
  border-radius: 999px;
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: #f1f5f9;
  padding: 5.35rem 1.5rem 1.25rem;
  background-color: var(--gray-900);
  background-image: linear-gradient(105deg, var(--black-60) 0%, var(--black-50) 48%, var(--black-70) 100%),
    url("../images/hero.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 85% 65% at 75% 15%,
    rgba(52, 211, 153, 0.12),
    transparent 52%
  );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  min-height: calc(100dvh - 5.35rem - 1.25rem);
}

.hero__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0.5rem 0 1.5rem;
}

.hero__bottom {
  flex-shrink: 0;
  padding-bottom: 0.35rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__bottom .stats-strip--hero {
  width: 100%;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald-700);
  background: var(--emerald-100);
  border: 1px solid var(--emerald-200);
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.badge--hero {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  max-width: min(100%, 26rem);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.95rem 0.4rem 0.8rem;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  box-sizing: border-box;
}

.badge--hero__icon {
  display: flex;
  flex-shrink: 0;
  color: var(--emerald-400);
}

.badge--hero__icon svg {
  display: block;
}

.hero__title {
  margin: 0 0 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.22;
  color: #fff;
  text-align: center;
  width: 100%;
  max-width: 48rem;
}

.hero__title-line {
  display: block;
}

.hero__title-line:first-child {
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.96);
}

.hero__title-line--emphasis {
  font-size: clamp(1.85rem, 5.2vw, 3.15rem);
}

.hero__title-accent {
  color: var(--accent-text);
}

.hero__title-plus {
  color: #fff;
  font-weight: 800;
}

.hero__tagline {
  margin: 0 0 1rem;
  font-size: clamp(1.05rem, 2.2vw, 1.38rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  text-align: center;
  width: 100%;
  max-width: 40rem;
}

.hero__body {
  margin: 0 auto 1.65rem;
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.88);
  max-width: 28rem;
  text-align: center;
}

.hero__body-emphasis {
  font-weight: 800;
  color: var(--accent-text);
}

@media (min-width: 640px) {
  .hero__body {
    max-width: 36rem;
  }
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  justify-content: center;
}

.btn__icon {
  display: inline-flex;
  flex-shrink: 0;
}

.btn__icon svg {
  display: block;
}

.hero__scroll {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
}

.hero__scroll-arrow {
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(255, 255, 255, 0.75);
  border-bottom: 2px solid rgba(255, 255, 255, 0.75);
  transform: rotate(45deg);
  animation: hero-scroll-nudge 2.2s ease-in-out infinite;
}

@keyframes hero-scroll-nudge {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
    opacity: 0.65;
  }
  50% {
    transform: rotate(45deg) translateY(7px);
    opacity: 1;
  }
}

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-strip--hero {
  margin-top: 0;
  padding-top: 1.5rem;
  border-top-color: rgba(255, 255, 255, 0.14);
}

@media (min-width: 640px) {
  .stats-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-card--hero {
  background: transparent;
  border: none;
  padding: 0.65rem 0.5rem;
}

.stat-card__value {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.stat-card__value--accent {
  color: var(--accent-text);
  font-size: clamp(1.45rem, 3.2vw, 2.05rem);
}

.stat-card__label {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.25rem;
  line-height: 1.4;
}

.stat-card--hero .stat-card__label {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
}

/* Card icons (共通) */
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  background: var(--emerald-50);
  color: var(--emerald-700);
  flex-shrink: 0;
}

.card-icon svg {
  width: 1.4rem;
  height: 1.4rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-icon svg path,
.card-icon svg circle,
.card-icon svg line,
.card-icon svg polyline,
.card-icon svg polygon,
.card-icon svg rect {
  fill: none;
  stroke: currentColor;
}

.card-icon--hero {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.45rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--emerald-400);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.card-icon--sm {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0;
}

.card-icon--sm svg {
  width: 1.15rem;
  height: 1.15rem;
}

.contact-benefits__highlight .card-icon--inline {
  margin-bottom: 0.65rem;
}

/* Anchor offset for fixed header */
main section[id] {
  scroll-margin-top: 5.5rem;
}

/* Sections */
.section {
  padding: 4.5rem 1.5rem;
}

.section--alt {
  background: var(--surface);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--emerald-600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.section h2 {
  margin: 0 0 2rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: var(--ink);
}

.section__intro {
  margin: -1rem 0 2.5rem;
  color: var(--muted);
  max-width: 42rem;
}

/* 開発会社の想い（ヒーロー直下） */
.dev-conscience-section h2 {
  max-width: 40rem;
}

.dev-conscience-section__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .dev-conscience-section__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem 3rem;
    align-items: start;
  }
}

.dev-conscience-section__figure {
  margin: 0;
}

.dev-conscience-section__img {
  display: block;
  width: 100%;
  max-width: 22rem;
  height: auto;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 900px) {
  .dev-conscience-section__img {
    margin-left: auto;
    margin-right: 0;
    max-width: 100%;
  }
}

.dev-conscience-section__body {
  max-width: 42rem;
  margin: 0;
}

@media (min-width: 900px) {
  .dev-conscience-section__col--text .dev-conscience-section__body {
    max-width: none;
  }
}

.dev-conscience-section__body p {
  margin: 0 0 1.1rem;
  color: var(--label);
  line-height: 1.85;
  font-size: 0.98rem;
}

.dev-conscience-section__body p:last-child {
  margin-bottom: 0;
}

.dev-conscience-section__pull {
  font-weight: 700;
  color: var(--emerald-800);
  letter-spacing: -0.02em;
}

/* VK Assistで何ができるか */
.section--capabilities {
  background: linear-gradient(180deg, var(--stone-50) 0%, var(--emerald-50) 42%, #f0fdf4 100%);
  border-bottom: 1px solid rgba(4, 120, 87, 0.08);
}

.section--capabilities h2 {
  margin-bottom: 1.5rem;
}

.capabilities-lead {
  margin-bottom: 2.5rem;
  max-width: 48rem;
}

.capabilities-lead__hook {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  font-weight: 700;
  color: var(--emerald-800);
  line-height: 1.55;
  margin: 0 0 1rem;
}

.capabilities-lead__body {
  margin: 0;
  color: var(--label);
  line-height: 1.85;
  font-size: 0.98rem;
}

.capabilities__subhead {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.capabilities-values {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

@media (min-width: 900px) {
  .capabilities-values {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

/* 3枚以上のカード: スマホ・タブレット縦で横スワイプ＋スナップ */
@media (max-width: 899px) {
  .capabilities-values.cards-snap-row,
  .about-panels.cards-snap-row,
  .strengths-grid.cards-snap-row,
  .pricing-grid.cards-snap-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1.5rem;
    padding: 0 1.5rem 0.75rem;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    width: calc(100% + 3rem);
    max-width: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .capabilities-values.cards-snap-row::-webkit-scrollbar,
  .about-panels.cards-snap-row::-webkit-scrollbar,
  .strengths-grid.cards-snap-row::-webkit-scrollbar,
  .pricing-grid.cards-snap-row::-webkit-scrollbar {
    display: none;
  }

  .capabilities-values.cards-snap-row > *,
  .about-panels.cards-snap-row > *,
  .strengths-grid.cards-snap-row > *,
  .pricing-grid.cards-snap-row > * {
    flex: 0 0 min(88vw, 22.5rem);
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    min-width: 0;
  }

  .pricing-grid.cards-snap-row > .price-card {
    flex-basis: min(90vw, 24rem);
  }
}

.cards-snap-dots {
  display: none;
}

@media (max-width: 899px) {
  .cards-snap-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.35rem;
    margin-bottom: 0;
    padding: 0 1.5rem;
  }

  .cards-snap-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
  }

  .cards-snap-dot.is-active {
    background: var(--emerald-600);
    transform: scale(1.25);
  }

  .cards-snap-dot:focus-visible {
    outline: 2px solid var(--emerald-600);
    outline-offset: 3px;
  }
}

.cap-value-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.cap-value-card__media {
  aspect-ratio: 16 / 9;
  background: var(--gray-100);
}

.cap-value-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cap-value-card__content {
  padding: 1.2rem 1.4rem 1.5rem;
}

.cap-value-card__num {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--emerald-600);
}

.cap-value-card__title {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

.cap-value-card__body p {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

.cap-value-card__body p:last-child {
  margin-bottom: 0;
}

.capabilities-ba {
  margin-bottom: 0.5rem;
}

.capabilities-ba__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.capabilities-ba__note {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 40rem;
  line-height: 1.65;
}

.capabilities-ba__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cap-ba-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.cap-ba-item__heading {
  margin: 0;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  background: linear-gradient(90deg, rgba(236, 253, 245, 0.95), rgba(255, 255, 255, 0.6));
  border-bottom: 1px solid var(--line-subtle);
  color: var(--emerald-900);
}

.cap-ba-item__cols {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "before"
    "arrow"
    "after";
}

@media (min-width: 640px) {
  .cap-ba-item__cols {
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "before arrow after";
  }
}

.cap-ba-item__arrow {
  grid-area: arrow;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  justify-self: center;
  width: max-content;
  max-width: 100%;
  padding: 0.25rem;
  font-size: 1.05rem;
  line-height: 1;
  font-weight: 700;
  color: var(--emerald-700);
  background: transparent;
  border: none;
  transform: rotate(90deg);
}

@media (min-width: 640px) {
  .cap-ba-item__arrow {
    align-self: stretch;
    justify-self: stretch;
    width: auto;
    max-width: none;
    padding: 0 0.5rem;
    min-width: 2.5rem;
    background: rgba(255, 255, 255, 0.92);
    border-left: 1px solid var(--line-subtle);
    border-right: 1px solid var(--line-subtle);
    transform: none;
  }
}

.cap-ba-item__cell {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
}

.cap-ba-item__cell--before {
  grid-area: before;
  background: rgba(254, 242, 242, 0.4);
  border-bottom: 1px solid var(--line-subtle);
}

@media (min-width: 640px) {
  .cap-ba-item__cell--before {
    border-bottom: none;
  }
}

.cap-ba-item__cell--after {
  grid-area: after;
  background: rgba(236, 253, 245, 0.45);
}

.cap-ba-item__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.cap-ba-item__cell--before .cap-ba-item__label {
  color: #b91c1c;
}

.cap-ba-item__cell--after .cap-ba-item__label {
  color: var(--emerald-700);
}

.capabilities-bridge {
  margin: 2.25rem 0 0.75rem;
  padding: 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(4, 120, 87, 0.14);
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--label);
  max-width: 48rem;
}

.capabilities-bridge__cta {
  margin: 0;
  text-align: center;
}

.capabilities-bridge__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--emerald-700);
  text-decoration: none;
}

.capabilities-bridge__link:hover {
  color: var(--emerald-800);
  text-decoration: underline;
}

.capabilities-bridge__link::after {
  content: "↓";
  font-size: 1rem;
  line-height: 1;
}

/* 問題バナー（お悩み）— bg-emerald-900 */
.section--problem-banner {
  background: var(--emerald-900);
}

.section--problem-banner .section__eyebrow {
  color: var(--emerald-300);
}

.section--problem-banner h2,
.section--problem-banner .section__intro {
  color: rgba(255, 255, 255, 0.95);
}

.section--problem-banner .section__intro strong {
  color: #fff;
}

.section--problem-banner .pain-checklist__title {
  color: var(--ink);
}

.section--problem-banner .pain-checklist__desc {
  color: var(--muted);
}

/* お客様の声・事例 — bg-stone-50 */
.section--voices {
  background: var(--stone-50);
}

/* お悩み — チェックリスト表示 */
.pain-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 900px) {
  .pain-checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .pain-checklist__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.pain-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.pain-checklist__mark {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(145deg, #ecfdf5, #d1fae5);
  border: 1px solid rgba(4, 120, 87, 0.22);
  color: var(--emerald-700);
}

.pain-checklist__icon {
  width: 1.35rem;
  height: 1.35rem;
}

.pain-checklist__body {
  min-width: 0;
}

.pain-checklist__title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.pain-checklist__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* お悩み解決（バックオフィス編）— お悩みリスト直後 */
.backoffice-solve {
  background: linear-gradient(180deg, var(--gray-100) 0%, var(--emerald-50) 55%, #f0fdf4 100%);
  border-top: 1px solid var(--line-subtle);
}

.backoffice-solve__bridge {
  text-align: center;
  font-size: clamp(1.12rem, 2.6vw, 1.42rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 auto 2.25rem;
  max-width: 36rem;
}

.backoffice-solve__heading {
  text-align: center;
  margin: 0 auto 2.25rem;
  max-width: 40rem;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.4;
  color: var(--ink);
}

.backoffice-solve__grid {
  display: grid;
  gap: 1.5rem;
  margin: 0;
}

@media (min-width: 900px) {
  .backoffice-solve__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
    align-items: stretch;
  }
}

.backoffice-solve-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 1.75rem 1.5rem 1.65rem;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.07),
    0 18px 38px -12px rgba(17, 24, 39, 0.18),
    0 0 0 1px rgba(4, 120, 87, 0.04);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.backoffice-solve-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 8px 16px -4px rgba(0, 0, 0, 0.1),
    0 28px 48px -16px rgba(17, 24, 39, 0.22),
    0 0 0 1px rgba(4, 120, 87, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .backoffice-solve-card {
    transition: none;
  }

  .backoffice-solve-card:hover {
    transform: none;
  }
}

.backoffice-solve-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.15rem;
  width: 4rem;
  height: 4rem;
  color: var(--emerald-600);
}

.backoffice-solve-card__icon svg {
  width: 3.25rem;
  height: 3.25rem;
}

.backoffice-solve-card__title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
  text-align: center;
  color: var(--ink);
}

.backoffice-solve-card__body {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--label);
  text-align: left;
}

/* Bridge CTA */
.bridge {
  text-align: center;
  padding: 3rem 1.5rem;
  background: linear-gradient(135deg, var(--emerald-50) 0%, var(--gray-50) 100%);
  border-top: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
}

.bridge__inner {
  max-width: 640px;
  margin: 0 auto;
}

.bridge h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.bridge p {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

/* Steps */
.steps-intro {
  margin-bottom: 2.5rem;
  max-width: 48rem;
}

.steps-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.steps {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps--three {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .steps--three {
    grid-template-columns: 1fr;
  }
}

.step-card {
  padding: 1.75rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.step-card .card-icon {
  margin-bottom: 0.65rem;
}

.step-card__num {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--emerald-600);
  margin-bottom: 0.75rem;
}

.step-card h3 {
  margin: 2rem 0 0.65rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.step-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ROI セクション */
.roi {
  padding: 0;
  background: transparent;
}

.roi__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.roi-top {
  background: var(--gray-50);
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.roi-top__eyebrow {
  color: var(--emerald-600);
}

.roi-top h2 {
  color: var(--gray-900);
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.roi-top__lead {
  margin: 0 0 2rem;
  color: var(--gray-500);
  max-width: 40rem;
  font-size: 1rem;
}

.roi-cols {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 960px) {
  .roi-cols {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
  }
}

.roi-table-shell {
  min-width: 0;
}

.roi-table-wrap--light {
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow-x: auto;
  overflow-y: hidden;
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.roi-table--light {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.roi-table--light th,
.roi-table--light td {
  padding: 0.75rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--gray-100);
}

.roi-table--light thead th {
  background: var(--emerald-950);
  color: #fff;
  font-weight: 700;
  border-bottom: none;
}

.roi-table--light .roi-table__head-emp {
  color: #fff;
}

.roi-table--light .roi-table__head-vk {
  color: var(--emerald-300);
}

.roi-table__head-icon {
  margin-right: 0.25rem;
}

.roi-table--light tbody th {
  color: var(--gray-700);
  font-weight: 600;
  width: 26%;
  background: var(--gray-50);
}

.roi-table--light tbody td {
  color: var(--gray-700);
  background: var(--surface);
}

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

.roi-highlight--neg {
  color: var(--red-500);
  font-weight: 700;
}

.roi-highlight--pos {
  color: var(--emerald-700);
  font-weight: 700;
}

.roi-table-note--light {
  margin: 0.65rem 0 0;
  font-size: 0.72rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.roi-merits-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--emerald-600);
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.roi-merits-card__title {
  margin: 0 0 1.1rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-900);
}

.roi-merits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.roi-merits-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--gray-700);
}

.roi-merits-list__icon {
  flex-shrink: 0;
  display: flex;
  color: #2563eb;
  margin-top: 0.1rem;
}

.roi-merits-list__icon svg {
  display: block;
}

.roi-merits-list__text strong {
  color: var(--gray-900);
}

@media (max-width: 767px) {
  .roi-top {
    padding-inline: 1rem;
  }

  .roi-col--table {
    min-width: 0;
  }

  .roi-table-wrap--light {
    display: block;
    width: 100%;
    margin-inline: -1rem;
    border-radius: 0;
    border-left: none;
    border-right: none;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }

  .roi-table--light {
    width: max-content;
    min-width: 640px;
  }

  .roi-col--merits {
    min-width: 0;
  }

  .roi-merits-card {
    padding: 0.9rem 0.8rem 1rem;
    border-radius: 12px;
  }

  .roi-merits-card__title {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
  }

  .roi-merits-list {
    gap: 0.7rem;
  }

  .roi-merits-list li {
    gap: 0.5rem;
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .roi-merits-list__icon {
    margin-top: 0.05rem;
  }

  .roi-merits-list__icon svg {
    width: 18px;
    height: 18px;
  }
}

/* ROI ダークバナー（警告＋グラフ） */
.roi-banner {
  padding: 2rem 1.5rem 3rem;
  background: var(--emerald-950);
}

.roi__inner--banner {
  display: grid;
  gap: 2rem;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 900px) {
  .roi__inner--banner {
    grid-template-columns: 1fr 1.1fr;
    padding: 2rem 2rem;
    gap: 2.5rem;
  }
}

.roi-banner__text-inner {
  border-left: 4px solid var(--red-500);
  padding-left: 1.15rem;
}

.roi-banner__warn-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 800;
  color: #fecaca;
}

.roi-banner__warn-icon {
  display: flex;
  color: var(--red-500);
  flex-shrink: 0;
}

.roi-banner__warn-icon svg {
  display: block;
}

.roi-banner__body {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.75;
  color: #d6d3d1;
}

.roi-banner__success {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--emerald-400);
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: 1.5;
}

.roi-banner__check {
  flex-shrink: 0;
  font-weight: 800;
}

.roi-banner__chart-wrap {
  min-height: 0;
}

.roi-chart-canvas {
  position: relative;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.roi-chart-canvas img {
  width: 100%;
  height: auto;
  display: block;
}

.roi-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .roi-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.roi-stat {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.roi-stat__value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.roi-stat__label {
  font-size: 0.8rem;
  color: #a8a29e;
  margin-top: 0.35rem;
}

/* Profile */
.profile-card {
  display: grid;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

@media (min-width: 900px) {
  .profile-card {
    grid-template-columns: 200px 1fr;
  }
}

.profile-card__avatar {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #334155, #1e293b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.4;
  border: 1px solid var(--line);
}

.profile-card__role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-icon);
  margin: 0 0 0.35rem;
}

.profile-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.profile-card__bio {
  margin: 0;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--emerald-100);
  color: var(--emerald-800);
  border-radius: 999px;
}

.pillars {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg);
}

.pillar h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.pillar__sub {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.pillar p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.quote-block {
  margin-top: 2.5rem;
  padding: 2rem 1.75rem;
  border-left: 4px solid var(--emerald-600);
  background: var(--emerald-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.05rem;
  font-weight: 500;
  font-style: italic;
  color: var(--emerald-600);
}

/* Pricing */
.pricing-note {
  margin: -0.5rem 0 2rem;
  color: var(--muted);
  max-width: 42rem;
}

.pricing-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price-card {
  position: relative;
  padding: 1.75rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.price-card--featured {
  border-color: var(--emerald-700);
  box-shadow: 0 12px 40px rgba(4, 120, 87, 0.14);
}

.price-card--featured .card-icon {
  margin-top: 0.35rem;
}

.price-card__badge {
  position: absolute;
  top: -10px;
  right: 1.25rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--emerald-700);
  color: #fff;
  border-radius: 999px;
}

.price-card .card-icon {
  margin-bottom: 0.75rem;
}

.price-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.price-card__tagline {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.price-card__price {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.price-card__price:has(+ .price-card__value-note) {
  margin-bottom: 0.55rem;
}

.price-card__value-note {
  margin: 0 0 1.1rem;
  padding: 0.65rem 0 0.65rem 0.85rem;
  border-left: 3px solid var(--emerald-600);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--label);
  background: rgba(5, 150, 105, 0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.price-card ul {
  margin: 0 0 1.5rem;
  padding: 0 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}

.price-card li {
  margin-bottom: 0.5rem;
}

.spot-card {
  margin-top: 1.5rem;
  padding: 1.75rem;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--emerald-50) 100%);
  border: 1px dashed var(--gray-200);
  border-radius: var(--radius-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.spot-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.spot-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 36rem;
}

.spot-card__price {
  font-weight: 800;
  font-size: 1.15rem;
  white-space: nowrap;
}

/* Contact 直前 — クロージング（フォームブロックと同色で接続） */
.contact-prelude-section {
  background: var(--emerald-950);
  padding-bottom: 3rem;
}

.contact-prelude-section + .contact-section {
  padding-top: 2.25rem;
}

.contact-prelude-section__inner {
  max-width: 42rem;
}

.contact-prelude-section h2.contact-prelude-section__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: #ffffff;
}

.contact-prelude-section__body {
  margin: 0 0 2rem;
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--emerald-100);
}

.contact-prelude-trust {
  display: grid;
  gap: 1rem 1.25rem;
  margin: 0;
  padding: 1.25rem 1.35rem;
  list-style: none;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(167, 243, 208, 0.12);
}

@media (min-width: 768px) {
  .contact-prelude-trust {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem 1.5rem;
    align-items: start;
    padding: 1.35rem 1.5rem;
  }
}

.contact-prelude-trust__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
}

.contact-prelude-trust__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: var(--radius);
  background: rgba(6, 78, 59, 0.55);
  color: var(--emerald-200);
}

.contact-prelude-trust__icon svg {
  display: block;
}

.contact-prelude-trust__text {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-prelude-trust__label {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.4;
  color: #fff;
}

.contact-prelude-trust__desc {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--emerald-200);
}

/* Contact — bg-emerald-950 */
.contact-section {
  background: var(--emerald-950);
}

.contact-section h2.contact-section__title {
  color: #fff;
}

.contact-section__intro {
  color: var(--emerald-300);
  margin-top: 0;
  margin-bottom: 2rem;
}

.section__eyebrow--contact-badge {
  display: inline-block;
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--emerald-800);
  color: var(--emerald-300);
  margin-bottom: 1rem;
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.contact-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-benefits__num {
  flex-shrink: 0;
  min-width: 2rem;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--emerald-100);
}

.contact-benefits__highlight {
  flex: 1;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: var(--emerald-50);
  display: grid;
  gap: 0.35rem;
}

.contact-benefits__highlight strong {
  font-size: 1rem;
  color: var(--emerald-600);
}

.contact-benefits__highlight span {
  font-size: 0.9rem;
  color: var(--emerald-600);
  line-height: 1.6;
}

.form {
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--label);
}

.form-group label .req {
  color: var(--red-500);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--emerald-600);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.22);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-align: right;
  margin-top: 0.25rem;
}

.form-footer {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--gray-500);
}

/*
 * フォーム補助クラス（PHP 用）
 * 既存の .form / .form-group より詳細度が上がらないよう、.form-container 内にのみ適用。
 * 見た目は現行トークン（emerald / gray / red）に合わせる。font-family はサイト全体に任せ inherit。
 *
 * 参考用の素朴なスタイルシートは採用しない（例: margin:500px 検証・グローバル label/input/select/textarea・
 * .error-message の display:none・#007bff の送信ボタン・#common-error はマークアップ未使用）。
 * サイト全体の見た目と PHP エラー表示を壊さないため、このブロックを優先する。
 */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 1.25rem;
  box-sizing: border-box;
  font-family: inherit;
}

.form.form-container {
  padding: 2rem;
}

.form-container__title {
  margin: 0 0 1.25rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.35;
}

.form-container .form-item {
  margin-bottom: 1.25rem;
}

.form-container label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--label);
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="tel"],
.form-container select,
.form-container textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-container input[type="text"]:focus,
.form-container input[type="email"]:focus,
.form-container input[type="tel"]:focus,
.form-container select:focus,
.form-container textarea:focus {
  outline: none;
  border-color: var(--emerald-600);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.22);
}

.form-container textarea {
  min-height: 120px;
  resize: vertical;
}

.form-container .required::after,
.form-container label.required::after {
  content: " (必須)";
  color: var(--red-500);
  font-size: 0.8em;
  font-weight: 600;
}

/* バリデーションエラー（PHP から .error-message / .input-error を付与する想定） */
.form-container .error-message {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.45;
  color: #dc2626;
}

.form-container .error-message a {
  color: #b91c1c;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-container .error-message a:hover {
  color: #991b1b;
}

.form-container .error-message--common {
  margin-top: 0;
  margin-bottom: 1.15rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.28);
  color: #991b1b;
}

/* .error-message の display:block が [hidden] より詳細度で勝つと空でも赤枠だけ見えるため */
.form-container .error-message[hidden] {
  display: none !important;
}

/* コンタクト内の白カードでも親セクションの色に負けないよう明示（共通エラーボックスは --common を優先） */
.contact-section .form-container .error-message:not(.error-message--common) {
  color: #dc2626;
}

.form-container input.input-error,
.form-container select.input-error,
.form-container textarea.input-error {
  border-color: var(--red-500);
  background-color: rgba(239, 68, 68, 0.07);
}

.form-container input.input-error:focus,
.form-container select.input-error:focus,
.form-container textarea.input-error:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.22);
}

/* ハニーポット（人間には見えない） */
.h-pot {
  display: none !important;
}

/* .form-container 内の送信ボタン用（既存 .btn.btn--primary 推奨だが、クラス併用時用） */
.form-container .submit-btn {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  background: var(--btn-main);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem 1.35rem;
  font-weight: 700;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.2s ease;
}

.form-container .submit-btn:hover {
  background: var(--btn-main-hover);
}

.form-container .submit-btn:focus-visible {
  outline: 2px solid var(--emerald-600);
  outline-offset: 2px;
}

/* Site footer — bg-gray-50 + 4 columns */
.site-footer {
  background: var(--gray-50);
  color: var(--gray-900);
  border-top: 1px solid var(--gray-200);
}

.site-footer__main {
  padding: 3rem 1.5rem 2.5rem;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1.15fr 0.75fr 1fr 0.95fr;
    gap: 2rem;
    align-items: start;
  }
}

.site-footer__col--brand {
  max-width: 26rem;
}

.site-footer__logo {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--emerald-700);
}

.site-footer__tagline {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--gray-700);
}

.site-footer__desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--gray-500);
}

.site-footer__heading {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--emerald-700);
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.site-footer__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-900);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--emerald-700);
  text-decoration: none;
}

.site-footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.site-footer__contact-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--gray-700);
}

.site-footer__icon {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--emerald-700);
}

.site-footer__contact-list a {
  color: var(--gray-700);
  text-decoration: none;
}

.site-footer__contact-list a:hover {
  color: var(--emerald-700);
}

.site-footer__cta-card {
  background: var(--emerald-950);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.site-footer__cta-card .card-icon {
  margin: 0 auto 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  color: var(--emerald-300);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer__cta-title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.site-footer__cta-note {
  margin: 0 0 1.15rem;
  font-size: 0.82rem;
  color: var(--emerald-300);
  line-height: 1.5;
}

.site-footer__cta-btn {
  width: 100%;
  justify-content: center;
}

.site-footer__bar {
  border-top: 1px solid var(--gray-200);
  padding: 1.1rem 1.5rem;
  background: var(--gray-50);
}

.site-footer__bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.site-footer__legal a {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-decoration: none;
}

.site-footer__legal a:hover {
  color: var(--emerald-700);
  text-decoration: none;
}

/* Page top */
.page-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--emerald-700);
  color: #fff;
  box-shadow: 0 6px 20px rgba(4, 120, 87, 0.35);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease;
}

.page-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-top:hover {
  background: var(--emerald-800);
  color: #fff;
  text-decoration: none;
}

.page-top:focus-visible {
  outline: 2px solid var(--emerald-400);
  outline-offset: 3px;
}

.page-top__svg {
  display: block;
  margin-top: -2px;
}

@media (prefers-reduced-motion: reduce) {
  .page-top {
    transition: none;
  }
}

/* Utilities */
.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;
}

.btn--on-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.roi-top .section__eyebrow {
  margin-bottom: 0.5rem;
}

.spot-card__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

/* About */
.about-lead {
  max-width: 48rem;
}

.about-panels {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .about-panels {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-panel {
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.about-panel__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--gray-100);
}

.about-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-panel__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.about-panel h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-icon);
}

.about-panel p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Strengths */
.strengths-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .strengths-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.strength-card {
  padding: 1.75rem;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.strength-card .card-icon {
  margin-bottom: 0.65rem;
}

.strength-card__num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--emerald-600);
  margin-bottom: 0.75rem;
}

.strength-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.strength-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Values table */
.values-table-wrap {
  overflow-x: auto;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.values-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: var(--surface);
}

.values-table th,
.values-table td {
  padding: 1rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.values-table thead th {
  background: var(--bg);
  font-weight: 700;
  color: var(--ink);
}

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

.values-table td {
  color: var(--muted);
}

.quote-inline {
  font-size: 1rem;
  color: var(--muted);
}

/* Cases */
.case-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.case-card {
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.case-card .card-icon {
  margin-bottom: 0.85rem;
}

.case-card h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.case-card__ba {
  display: grid;
  gap: 0.85rem;
}

.case-card__ba p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.case-card__ba-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.1rem 0;
  font-size: 0.85rem;
  line-height: 1;
  font-weight: 700;
  color: var(--emerald-700);
  user-select: none;
}

.case-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: #64748b;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.case-label--after {
  background: var(--emerald-600);
}

.case-card__note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* なぜ VK Assist が選ばれるか（事例直後の比較表） */
.vk-compare-section {
  background: var(--surface);
  border-top: 1px solid var(--line-subtle);
}

.vk-compare-section__lead {
  max-width: 40rem;
}

.vk-compare-table-wrap {
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow-x: auto;
  overflow-y: hidden;
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.vk-compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.vk-compare-table th,
.vk-compare-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
}

.vk-compare-table thead th {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.vk-compare-table tbody th,
.vk-compare-table tbody td {
  border-bottom: 1px solid var(--gray-200);
}

.vk-compare-table thead th:first-child {
  width: 22%;
  min-width: 7.5rem;
}

.vk-compare-table thead th:nth-child(2) {
  background: var(--gray-100);
  color: var(--gray-700);
}

.vk-compare-table thead th:nth-child(3) {
  background: rgba(5, 150, 105, 0.12);
  color: var(--emerald-900);
  border-left: 2px solid var(--emerald-600);
  border-right: 2px solid var(--emerald-600);
  border-top: 2px solid var(--emerald-600);
  border-top-right-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(5, 150, 105, 0.15);
}

.vk-compare-table__head-vk {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.vk-compare-table__badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--emerald-600);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.vk-compare-table__plan-suffix {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--emerald-800);
  opacity: 0.95;
}

.vk-compare-table tbody th {
  font-weight: 700;
  color: var(--ink);
  background: var(--gray-50);
  width: 22%;
}

.vk-compare-table tbody td:nth-child(2) {
  color: var(--label);
  background: var(--surface);
}

.vk-compare-table tbody td:nth-child(3) {
  color: var(--emerald-900);
  background: rgba(5, 150, 105, 0.08);
  border-left: 2px solid var(--emerald-600);
  border-right: 2px solid var(--emerald-600);
}

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

.vk-compare-table tbody tr:last-child td:nth-child(3) {
  border-bottom: 2px solid var(--emerald-600);
  border-bottom-right-radius: var(--radius-lg);
}

.vk-compare-table__cell-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.vk-compare-table__check {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.12rem;
  color: var(--emerald-600);
}

.vk-compare-table__check svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 767px) {
  .vk-compare-table-wrap {
    overflow-x: visible;
    border: none;
    background: transparent;
  }

  .vk-compare-table {
    min-width: 0;
    display: block;
  }

  .vk-compare-table thead {
    display: none;
  }

  .vk-compare-table tbody {
    display: block;
  }

  .vk-compare-table tbody tr {
    display: block;
    margin-bottom: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
  }

  .vk-compare-table tbody th {
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-100);
  }

  .vk-compare-table tbody td {
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--gray-100);
    border-left: none;
    border-right: none;
  }

  .vk-compare-table tbody td:last-child {
    border-bottom: none;
  }

  .vk-compare-table tbody td::before {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--gray-500);
    margin-bottom: 0.35rem;
    content: attr(data-label);
  }

  .vk-compare-table tbody td:nth-child(2) {
    background: var(--surface);
  }

  .vk-compare-table tbody td:nth-child(3) {
    background: rgba(5, 150, 105, 0.1);
    border-left: 3px solid var(--emerald-600);
  }
}

/* ご支援のフロー — 導入コピー・無料相談オファー */
.flow-section__pitch {
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.flow-section__pitch-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--ink);
}

.flow-section__pitch-text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--muted);
}

.flow-offer {
  max-width: 36rem;
  margin: 2rem auto 0;
  padding: 1.5rem 1.65rem 1.65rem;
  text-align: center;
  background: linear-gradient(160deg, #ffffff 0%, var(--emerald-50) 100%);
  border: 1px solid rgba(5, 150, 105, 0.22);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 36px rgba(17, 24, 39, 0.06);
}

.flow-offer__title {
  margin: 0 0 0.65rem;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: var(--ink);
}

.flow-offer__text {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted);
}

.flow-offer__btn {
  width: 100%;
  max-width: 22rem;
  margin-inline: auto;
}

@media (min-width: 480px) {
  .flow-offer__btn {
    width: auto;
    min-width: 16rem;
  }
}

/* ご支援のフロー — 画像 */
.flow-section__figure {
  margin: 0;
  max-width: 56rem;
  margin-inline: auto;
}

.flow-section__figure picture {
  display: block;
}

.flow-section__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.flow-list__item {
  padding: 1.75rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.flow-list__item .card-icon {
  margin-bottom: 1rem;
}

.flow-list__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.flow-list__step {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--emerald-600);
}

.flow-list__price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.flow-list__badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background: var(--line);
  color: var(--muted);
}

.flow-list__badge--rec {
  background: var(--emerald-700);
  color: #fff;
}

.flow-list__item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.flow-list__item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.flow-branch-title {
  font-weight: 700;
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.flow-branch {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.flow-branch li {
  margin-bottom: 0.5rem;
}

/* Pricing VK */
.price-card__suffix {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.35rem;
}

.price-card__unit {
  font-size: 1rem;
  font-weight: 700;
}

.pricing-footnote {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 48rem;
  line-height: 1.65;
}

.pricing-section__cta {
  margin-top: 1.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pricing-section__cta-btn {
  align-self: center;
  width: fit-content;
  max-width: min(100%, 34rem);
  box-sizing: border-box;
  text-align: center;
  padding-inline: 1.25rem;
  padding-block: 0.85rem;
  line-height: 1.45;
}

.pricing-section__cta-text {
  display: block;
  text-align: center;
  white-space: normal;
}

/* ROI 旧ダークテーブル用クラスは roi-table--light に移行済み */

.contact-benefits__highlight a {
  color: var(--emerald-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-benefits__highlight a:hover {
  color: var(--emerald-900);
}

.contact-section .form-footer a {
  color: var(--emerald-300);
}

.contact-section .form-footer a:hover {
  color: #fff;
}

/* 評価の星など — text-amber-400 */
.text-amber {
  color: var(--amber-400);
}

/* 送信完了（thanks.html） */
.thanks-section {
  padding-top: 5.75rem;
  padding-bottom: 4rem;
  text-align: center;
  background: var(--stone-50);
}

.thanks-section .section__inner {
  max-width: 38rem;
}

.thanks-section__icon {
  margin: 0 auto 1.25rem;
  display: flex;
  justify-content: center;
}

.thanks-section h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.35;
  color: var(--ink);
}

.thanks-section__lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.98rem;
  text-align: left;
}

.thanks-section__note {
  margin: 0 0 2rem;
  padding: 1.1rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--label);
  text-align: left;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.thanks-section__note strong {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.thanks-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}
