/* OptiAIze LP — UIトーン: 採用B2B LP（LeIN / レインカンパニー系の清潔感に寄せた独自実装） */
:root {
  --color-bg: #f4f6f9;
  --color-bg-elevated: #eef2f7;
  --color-surface: #ffffff;
  --color-text: #1c2430;
  --color-text-muted: #5a6778;
  --color-primary: #003978;
  --color-primary-soft: #0a4f8c;
  --color-accent: #0086d9;
  --color-accent-hover: #0070b8;
  --color-line: #e1e7ef;
  --color-hero-tint: #e8f1fb;
  --color-trust-band-start: #003978;
  --color-trust-band-mid: #0a4f8c;
  --color-trust-band-end: #0086d9;
  --color-brand-highlight: #ffc933;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(0, 57, 120, 0.05), 0 4px 16px rgba(0, 57, 120, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 57, 120, 0.08), 0 16px 40px rgba(0, 57, 120, 0.08);
  --font-sans: "Noto Sans JP", system-ui, -apple-system, sans-serif;
  --space-section: clamp(3.25rem, 7vw, 4.5rem);
  --max-read: 42rem;
  --header-h: 80px;
  --header-fixed-w: 1252px;
  --sp-gutter: 20px;
  --bp-md: 768px;
  --wrap-narrow: 480px;
  --wrap-md: 560px;
  --wrap-lg: 840px;
  --wrap-xl: 1080px;
  /* ヒーロー（PC）デザインサイズ — 見出し1行目が折り返さないよう幅を確保 */
  --hero-fixed-w: 1200px;
  --hero-fixed-h: 650px;
  --pain-fixed-w: 1252px;
  --pain-fixed-h: 700px;
  --pain-card-w: 300px;
  --pain-card-h: 160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

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

a {
  color: var(--color-primary-soft);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--color-surface);
  z-index: 10000;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-line);
}

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

@media (min-width: 600px) {
  .wrap {
    width: min(100% - 2.5rem, var(--wrap-md));
  }
}

@media (min-width: 900px) {
  .wrap {
    width: min(100% - 4rem, var(--wrap-lg));
  }
}

@media (min-width: 1200px) {
  .wrap {
    width: min(100% - 5rem, var(--wrap-xl));
  }
}

/* Fixed header — 1252×80（デザインサイズ）／左：ロゴ／右：CTA or ハンバーガー */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-sizing: border-box;
  width: 100%;
  height: var(--header-h);
  min-height: var(--header-h);
  max-height: var(--header-h);
  margin-inline: auto;
  padding: 0;
  background: #fff;
  border-bottom: 1px solid var(--color-line);
  box-shadow: 0 1px 0 rgba(0, 57, 120, 0.04);
  display: block;
  visibility: visible;
}

.site-header .header-bar {
  width: min(100%, var(--header-fixed-w));
  max-width: var(--header-fixed-w);
  margin-inline: auto;
}

#main {
  padding-top: var(--header-h);
}

.hero,
section[id] {
  scroll-margin-top: var(--header-h);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: var(--header-h);
  max-height: var(--header-h);
  padding-right: 1rem;
}

.header-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
  min-width: 0;
  gap: clamp(0.75rem, 2.5vw, 2.25rem);
  padding: 0 0 0 1rem;
}

.header-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-ctas {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
}

.header-cta {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.55rem 1rem;
  box-sizing: border-box;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.header-cta:hover {
  opacity: 1;
  filter: none;
}

.header-cta__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.header-cta__icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.header-cta__label {
  display: block;
}

.header-cta--docs {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.header-cta--docs:hover {
  background: rgba(0, 57, 120, 0.04);
  box-shadow: 0 2px 8px rgba(0, 57, 120, 0.08);
}

.header-cta--inquiry {
  background: #ffb703;
  color: var(--color-primary);
  border: 1.5px solid #ffb703;
}

.header-cta--inquiry:hover {
  background: #ffc933;
  border-color: #ffc933;
  box-shadow: 0 2px 10px rgba(255, 183, 3, 0.35);
}

/* 旧「無料相談」中間CTAは廃止：HTML側で残っていても表示しない */
.header-sp-cta {
  display: none !important;
}

.header-cta:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.header-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin-right: 0.35rem;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease;
}

.header-menu-btn:hover {
  background: rgba(0, 57, 120, 0.06);
}

.header-menu-btn__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.header-menu-btn[aria-expanded="true"] .header-menu-btn__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header-menu-btn[aria-expanded="true"] .header-menu-btn__bar:nth-child(2) {
  opacity: 0;
}

.header-menu-btn[aria-expanded="true"] .header-menu-btn__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-menu-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* モバイルドロワーメニュー */
.site-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}

.site-nav-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.site-nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: rgba(12, 26, 46, 0.45);
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.site-nav-drawer.is-open .site-nav-drawer__backdrop {
  opacity: 1;
}

.site-nav-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(100%, 20rem);
  height: 100%;
  max-height: 100dvh;
  padding: calc(var(--header-h) + 1rem) var(--sp-gutter) var(--sp-gutter);
  box-sizing: border-box;
  background: #fff;
  box-shadow: -8px 0 32px rgba(0, 57, 120, 0.12);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.site-nav-drawer__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 999px;
  color: var(--color-primary);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav-drawer__close:hover {
  background: rgba(0, 57, 120, 0.06);
}

.site-nav-drawer__close:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.site-nav-drawer__close svg {
  display: block;
  width: 24px;
  height: 24px;
}

.site-nav-drawer.is-open .site-nav-drawer__panel {
  transform: translateX(0);
}

.site-nav-drawer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav-drawer__link {
  display: block;
  padding: 0.85rem 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--color-line);
}

.site-nav-drawer__link:hover {
  color: var(--color-accent);
}

.site-nav-drawer__ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

.site-nav-drawer__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.site-nav-drawer__cta--docs {
  color: var(--color-primary);
  background: #fff;
  border: 1.5px solid var(--color-primary);
}

.site-nav-drawer__cta--inquiry {
  color: var(--color-primary);
  background: #ffb703;
  border: 1.5px solid #ffb703;
  box-shadow: 0 4px 14px rgba(255, 183, 3, 0.35);
}

body.is-nav-open {
  overflow: hidden;
}

/* 狭い画面（〜767px）はハンバーガーに切り替え：CTAは非表示 */
@media (max-width: 767px) {
  .header-ctas {
    display: none;
  }

  .header-menu-btn {
    display: flex;
  }
}

@media (min-width: 768px) {
  .header-menu-btn {
    display: none !important;
  }

  .site-nav-drawer {
    display: none !important;
  }
}

/* タブレット帯（768〜1023px）：CTAは少しコンパクト */
@media (min-width: 768px) and (max-width: 1023px) {
  .header-ctas {
    gap: 0.45rem;
  }

  .header-cta {
    padding: 0.5rem 0.85rem;
    font-size: 0.875rem;
    gap: 0.35rem;
  }

  .header-cta__icon svg {
    width: 18px;
    height: 18px;
  }
}

@media (min-width: 1024px) {
  .header-left {
    padding-left: 1.25rem;
  }

  .header-ctas {
    gap: 0.75rem;
  }

  .header-cta {
    padding: 0.6rem 1.15rem;
    font-size: 1rem;
  }
}

.logo-link {
  display: flex;
  align-items: center;
  align-self: stretch;
  height: 100%;
  text-decoration: none;
  line-height: 0;
}

.logo-img {
  display: block;
  width: 170px;
  height: 40px;
  max-width: none;
  object-fit: contain;
  background: transparent;
}

/* Hero — 淡色背景 + 左コピー／右人物（参考LP風分割） */
.hero {
  position: relative;
  min-height: min(88svh, 36rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem 0 2.5rem;
  color: var(--color-text);
  background-color: #e8f3fb;
  background-image: url("../assets/hero-background.png");
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: stretch;
}

.hero-main {
  min-width: 0;
}

.hero-side {
  display: block;
  flex-shrink: 0;
}

.hero-side__figure {
  position: relative;
  margin: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: hidden;
  /* 人物を枠いっぱいに（cover）。SPはヒーローに近い高さで表示 */
  height: min(52svh, 26rem);
  min-height: 17.5rem;
  max-height: min(60svh, 30rem);
}

.hero-side__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  /* 写真の黒背景をヒーロー背景色に馴染ませる（完全な切り抜きではない点に注意） */
  mix-blend-mode: lighten;
}

@media (max-width: 1023px) {
  .hero-side__figure {
    max-width: min(100%, 30rem);
    margin-inline: auto;
  }

  .hero-main {
    max-width: none;
    margin-inline: auto;
    width: 100%;
  }
}

.hero-cta-wrap {
  margin-top: 0.15rem;
  width: 100%;
  min-width: 0;
}

.hero-cta-note {
  margin: 0 0 0.65rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

.hero-cta-note__slash {
  opacity: 0.55;
  font-weight: 500;
}

.hero-cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hero-cta-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 57, 120, 0.22);
  flex: 1;
  min-width: 0;
  transition: transform 0.12s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.hero-cta-card--consult {
  background: var(--color-primary);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: 0 8px 24px rgba(0, 57, 120, 0.28);
}

.hero-cta-card--consult .hero-cta-card__frame {
  padding: 0;
  border: none;
}

.hero-cta-card--consult .hero-cta-card__jp {
  color: #fff;
  font-size: clamp(0.9375rem, 3.2vw, 1.0625rem);
}

.hero-cta-card--consult .hero-cta-card__sub {
  color: rgba(255, 255, 255, 0.88);
  opacity: 1;
  font-weight: 400;
}

.hero-cta-card--consult .hero-cta-card__arrow {
  color: #fff;
  opacity: 1;
}

.hero-cta-card--consult:hover {
  box-shadow: 0 12px 32px rgba(0, 57, 120, 0.34);
}

.hero-cta-card--download {
  background: #fff;
  color: var(--color-primary);
  border-color: var(--color-line);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: 0 4px 18px rgba(0, 57, 120, 0.08);
}

.hero-cta-card--download:hover {
  border-color: #c5d7e8;
  box-shadow: 0 8px 24px rgba(0, 57, 120, 0.12);
}

.hero-cta-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 57, 120, 0.28);
}

.hero-cta-card--download:hover {
  box-shadow: 0 8px 24px rgba(0, 57, 120, 0.12);
}

.hero-cta-card:active {
  transform: translateY(0);
}

.hero-cta-card__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.hero-cta-card__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-cta-card__frame {
  flex: 1;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.92);
}

.hero-cta-card--download .hero-cta-card__frame {
  padding: 0;
  border: none;
}

.hero-cta-card__en {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  opacity: 0.95;
}

.hero-cta-card__jp {
  font-size: clamp(0.875rem, 3.2vw, 1rem);
  font-weight: 800;
  line-height: 1.25;
}

.hero-cta-card--download .hero-cta-card__jp {
  color: var(--color-primary);
}

.hero-cta-card__sub {
  font-size: clamp(0.625rem, 2.5vw, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.35;
  opacity: 0.85;
}

.hero-cta-card--download .hero-cta-card__sub {
  color: var(--color-text-muted);
  opacity: 1;
}

.hero-cta-card__arrow {
  flex-shrink: 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.8;
  margin-right: 0.15rem;
}

.hero-cta-card--download .hero-cta-card__arrow {
  color: var(--color-primary);
  opacity: 1;
}

.hero-cta-card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

@media (min-width: 480px) {
  .hero-cta-row {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .hero-cta-card {
    flex: 1 1 0;
    min-width: 0;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* 左のコピー域の可読性のみ軽く補助（背景イラストは右側で見せる） */
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.12) 38%,
    transparent 55%
  );
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0 0 0.65rem;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.3125rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  color: #0c1a2e;
}

.hero-lead {
  margin: 0 0 1.15rem;
  font-size: clamp(0.8125rem, 1.65vw, 0.9375rem);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: #0c1a2e;
  white-space: nowrap;
}

.hero-title__accent {
  color: var(--color-accent);
}

/* 1・2行目を1行に（span はインラインのまま。display:block + br で空行が入るのを避ける） */
.hero-title__l1,
.hero-title__l2 {
  white-space: nowrap;
}

@media (max-width: 359px) {
  .hero-title__l1,
  .hero-title__l2 {
    white-space: normal;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.95rem 1.25rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.btn:active {
  transform: scale(0.99);
}

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

.btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 6px 20px rgba(0, 134, 217, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid rgba(0, 57, 120, 0.35);
}

.btn-ghost:hover {
  background: rgba(0, 134, 217, 0.06);
}

/* Sections */
.section {
  padding: var(--space-section) 0;
}

.section-alt {
  background: var(--color-bg-elevated);
}

.section-head {
  text-align: center;
  margin-bottom: 1.75rem;
  margin-inline: auto;
  max-width: 48rem;
  padding: 0 0.85rem 0.85rem;
  border-left: none;
  border-bottom: 3px solid var(--color-accent);
}

.section-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.section-kicker__en {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--color-primary);
  text-transform: uppercase;
}

.section-kicker__jp {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.section h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.section-lead {
  margin: 0.65rem auto 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-align: center;
  max-width: var(--max-read);
}

/* 課題セクション：1252×700（デザインサイズ） */
#pain.section {
  box-sizing: border-box;
  width: min(100%, var(--pain-fixed-w));
  max-width: var(--pain-fixed-w);
  height: var(--pain-fixed-h);
  min-height: var(--pain-fixed-h);
  max-height: var(--pain-fixed-h);
  margin-inline: auto;
  padding: 2.5rem 1.25rem;
  overflow: hidden;
}

#pain.section-alt {
  position: relative;
  overflow-x: clip;
  background-color: #eef3f9;
}

#pain .wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  height: 600px;
  min-height: 600px;
  max-height: 600px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

#pain .section-head {
  flex: 0 0 auto;
  align-self: stretch;
  width: 100%;
  max-width: 48rem;
  margin-inline: auto;
  margin-bottom: clamp(1rem, 2.5vw, 1.35rem);
  padding: 0 0.85rem 0.85rem;
  border-bottom: 3px solid var(--color-accent);
  box-sizing: border-box;
}

#pain .section h2,
#pain-title {
  line-height: 1.45;
}

.pain-bubbles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 1.25rem;
  row-gap: 4rem;
  flex: 0 0 500px;
  height: 500px;
  min-height: 500px;
  max-height: 500px;
  align-content: center;
  width: min(100%, calc(var(--pain-card-w) * 3 + 1.25rem * 2));
  margin-inline: auto;
  margin-block: auto;
  box-sizing: border-box;
}

/* 1列目：3枚 / 2列目：2枚（中央揃え） */
.pain-card:nth-child(1) {
  grid-column: 1 / 3;
}

.pain-card:nth-child(2) {
  grid-column: 3 / 5;
}

.pain-card:nth-child(3) {
  grid-column: 5 / 7;
}

.pain-card:nth-child(4) {
  grid-column: 2 / 4;
}

.pain-card:nth-child(5) {
  grid-column: 4 / 6;
}

.pain-card {
  margin: 0;
  width: 100%;
  max-width: var(--pain-card-w);
  height: var(--pain-card-h);
  justify-self: stretch;
  align-self: center;
}

.pain-card__body {
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 1rem 1.1rem;
  box-sizing: border-box;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: 0 4px 20px rgba(0, 57, 120, 0.07), 0 1px 4px rgba(0, 57, 120, 0.04);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.pain-card__lead {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
}

.pain-card__emph {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

/* 課題解決セクション */
#pain-trust.pain-trust-band {
  --pain-trust-notch-w: 200px;
  --pain-trust-notch-h: 50px;
  position: relative;
  overflow: visible;
  margin: 0;
  padding: clamp(2.5rem, 7vw, 4.25rem) 0 clamp(2.5rem, 6vw, 3.5rem);
  background-color: var(--color-trust-band-start);
  background-image: linear-gradient(
    105deg,
    var(--color-trust-band-start) 0%,
    var(--color-trust-band-mid) 48%,
    var(--color-trust-band-end) 100%
  );
  color: #fff;
  text-align: center;
}

#pain-trust.pain-trust-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%, rgba(0, 0, 0, 0.06) 100%);
  pointer-events: none;
}

.pain-trust-band__notch {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  width: var(--pain-trust-notch-w);
  height: var(--pain-trust-notch-h);
  transform: translateX(-50%);
  background: #eef3f9;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  pointer-events: none;
}

@media (max-width: 480px) {
  #pain-trust.pain-trust-band {
    --pain-trust-notch-w: min(200px, 52vw);
    --pain-trust-notch-h: calc(min(200px, 52vw) * 0.25);
  }
}

#pain-trust.pain-trust-band > .wrap {
  position: relative;
  z-index: 1;
}

.pain-trust-band__inner {
  max-width: var(--wrap-xl);
}

#pain-trust.pain-trust-band .pain-trust-band__title {
  margin: 0 0 1rem;
  padding: 0;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 20, 50, 0.25);
}

#pain-trust.pain-trust-band .pain-trust-band__ai,
#pain-trust.pain-trust-band .pain-trust-band__brand {
  color: #fff;
}

#pain-trust.pain-trust-band .pain-trust-band__lead {
  margin: 0;
  font-size: clamp(0.875rem, 1.6vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
}

.pain-trust-band__lead + .pain-trust-band__lead {
  margin-top: 0.4rem;
}

/* Cards */
.cards {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.15rem 1.15rem 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.card-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--color-accent);
}

.card-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.card-body p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.closing-line {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.75;
  color: var(--color-primary);
}

/* Feature cards */
.feature-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
}

.feature-visual {
  aspect-ratio: 16 / 9;
  background: #eef2f7;
  overflow: hidden;
}

.feature-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.feature-card .inner {
  padding: 1.15rem 1.2rem 1.35rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--color-primary);
  text-align: center;
}

.feature-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.feature-card .inner p + p {
  margin-top: 0.65rem;
}

/* ソリューション — 3カラムカード + 接続矢印（〜1023px は1カラム） */
.solution-track {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin-top: 0.35rem;
}

.solution-card {
  margin: 0;
  padding: 1.25rem 1.15rem 1.35rem;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
}

.solution-card__step {
  margin: 0 0 0.45rem;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  line-height: 1;
  text-align: center;
}

.solution-card__title {
  margin: 0 0 0.75rem;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.45;
  text-align: center;
}

.solution-card__list {
  margin: 0;
  padding: 0 0 0 1.15rem;
  list-style: disc;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}

.solution-card__list li {
  margin: 0 0 0.4rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.solution-card__list li:last-child {
  margin-bottom: 0;
}

.solution-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  min-height: 2rem;
  padding: 0.4rem 0;
  color: var(--color-primary);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 1.65rem;
  font-weight: 300;
  line-height: 1;
}

.solution-arrow::before {
  content: "›";
  display: block;
  transform: rotate(90deg);
}

@media (min-width: 1024px) {
  .solution-track {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    column-gap: 0.2rem;
  }

  .solution-arrow {
    min-height: unset;
    padding: 0;
    align-self: center;
    font-size: 1.5rem;
    color: var(--color-primary-soft);
  }

  .solution-arrow::before {
    transform: none;
  }

  .solution-card {
    padding: 1.35rem 0.85rem 1.45rem;
    min-height: 100%;
  }

  .solution-card__list li {
    font-size: 0.75rem;
  }
}

@media (min-width: 1200px) {
  .solution-card__list li {
    font-size: 0.8125rem;
  }
}

/* Plan — 単線枠・中央揃え */
.plan-card-frame {
  max-width: 720px;
  margin-inline: auto;
  padding: 0;
  background: var(--color-surface);
  border: 3px solid var(--color-primary);
  box-shadow: none;
  box-sizing: border-box;
}

.plan-card {
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.25rem, 3vw, 2rem);
  background: var(--color-surface);
  color: var(--color-text);
  text-align: center;
}

.plan-price-block {
  margin: 0;
}

.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.1em 0.2em;
  margin: 0;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-primary);
}

.plan-price__prefix,
.plan-price__suffix {
  font-size: clamp(1.125rem, 3.5vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.plan-price__num {
  font-size: clamp(2.75rem, 12vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-price-sub {
  margin: 0.5rem 0 0;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  font-weight: 700;
  color: var(--color-text-muted);
}

.plan-divider {
  margin: clamp(1.25rem, 3vw, 1.75rem) auto;
  border: 0;
  height: 2px;
  max-width: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 134, 217, 0.12) 0%,
    rgba(0, 134, 217, 0.45) 50%,
    rgba(0, 134, 217, 0.12) 100%
  );
}

.plan-leads {
  margin: 0;
}

.plan-lead {
  margin: 0;
  font-size: clamp(0.8125rem, 2.2vw, 0.9375rem);
  line-height: 1.85;
  color: var(--color-text-muted);
}

.plan-lead + .plan-lead {
  margin-top: 0.35rem;
}

.plan-cta-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  max-width: 36rem;
  margin: clamp(1.35rem, 3vw, 1.75rem) auto 0;
  padding: 0.85rem 1rem 0.85rem 1.1rem;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  color: var(--color-primary);
  font-size: clamp(0.8125rem, 2.2vw, 0.9375rem);
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.plan-cta-btn:hover {
  background: rgba(0, 134, 217, 0.05);
  box-shadow: 0 2px 12px rgba(0, 57, 120, 0.08);
}

.plan-cta-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.plan-cta-btn__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.plan-cta-btn__icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

.plan-cta-btn__text {
  flex: 1;
  text-align: center;
}

.plan-cta-btn__arrow {
  flex-shrink: 0;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  opacity: 0.85;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.faq-item {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 2.75rem 1rem 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  position: relative;
  color: var(--color-text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-accent);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 1rem 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* CTA block */
.cta-block {
  text-align: center;
  padding: var(--space-section) 0 calc(var(--space-section) + 0.5rem);
  background: linear-gradient(180deg, #e8f1fb 0%, #ffffff 55%, var(--color-bg) 100%);
}

.cta-block h2 {
  font-size: 25px;
  margin: 0 0 0.85rem;
  color: var(--color-text);
  font-weight: 800;
  line-height: 1.45;
}

.cta-lead-note {
  margin: 0 0 1.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-primary);
}

.cta-lead-note__slash {
  opacity: 0.55;
  font-weight: 500;
}

.cta-block .final-cta-row {
  max-width: 52rem;
  margin-inline: auto;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .cta-block .final-cta-row {
    gap: 1rem;
  }
}

/* Footer */
.site-footer {
  padding: 2rem 0 1rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-line);
}

.site-footer a {
  color: var(--color-primary-soft);
}

/* タブレット以上: 強み3カラム */
@media (min-width: 769px) {
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: stretch;
  }

  .feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .feature-card .inner {
    flex: 1;
  }
}

/* PC: ナビ・ヒーロー2カラム・グリッド・タイポ拡張 */
@media (min-width: 1024px) {
  .hero {
    min-height: var(--hero-fixed-h);
    height: var(--hero-fixed-h);
    max-height: var(--hero-fixed-h);
    padding: 0;
    justify-content: flex-start;
    align-items: center;
    background-position: left center;
    box-sizing: border-box;
    overflow: hidden;
  }

  .hero .wrap {
    width: min(100% - 2rem, var(--hero-fixed-w));
    max-width: var(--hero-fixed-w);
    margin-inline: auto;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .hero-grid {
    display: grid;
    /* コピーは文字数に余裕があるため右（人物）を広げ、contain 時の表示面積を確保 */
    grid-template-columns: minmax(0, 1.26fr) minmax(240px, 0.94fr);
    grid-template-rows: 1fr;
    gap: 1.75rem 1.75rem;
    align-items: stretch;
    flex: 1 1 auto;
    min-height: 0;
  }

  .hero-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }

  .hero-side {
    display: block;
    align-self: stretch;
    min-width: 0;
    min-height: 0;
    height: 100%;
    position: relative;
    /* 人物の左右余白を削り、カラム幅いっぱいに表示 */
    padding-inline: 0;
    box-sizing: border-box;
  }

  .hero-side__figure {
    margin: 0;
    height: 100%;
    min-height: 0;
    max-height: none;
    position: relative;
    border-radius: 0;
  }

  /* ヒーロー高（650px）いっぱいに人物を表示（右カラムは広め設定のため左右の欠けを抑制） */
  .hero-side__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    margin: 0;
  }

  .hero-cta-note {
    text-align: left;
  }

  .hero h1 {
    font-size: 44px;
    line-height: 1.4;
    max-width: none;
    margin-bottom: 0.75rem;
  }

  .hero-lead {
    margin-bottom: 1.25rem;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0.015em;
    max-width: none;
  }

  .hero-cta-row {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.65rem;
    width: 100%;
    max-width: none;
  }

  .hero-cta-card {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.75rem 0.7rem;
  }

  .hero-cta-card--consult,
  .hero-cta-card--download {
    padding: 0.75rem 0.7rem;
  }

  .hero-cta-card__icon {
    width: 40px;
    height: 40px;
  }

  .hero-cta-card__frame {
    padding: 0;
  }

  .hero-cta-card__jp {
    font-size: 0.8125rem;
    white-space: nowrap;
  }

  .hero-cta-card__sub {
    font-size: 0.625rem;
    white-space: nowrap;
  }

  .hero-cta-card__arrow {
    font-size: 1.2rem;
    margin-right: 0.05rem;
  }

  .section {
    padding: clamp(4rem, 6vw, 5.5rem) 0;
  }

  .section-head {
    margin-bottom: 2.25rem;
    max-width: 52rem;
    margin-inline: auto;
  }

  #pain .section-head {
    max-width: 52rem;
  }

  .section-lead {
    font-size: 0.9375rem;
    max-width: 40rem;
  }

  .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
  }

  .pain-card__emph {
    font-size: 1.0625rem;
  }

  .card {
    height: 100%;
  }

  .plan-card-frame {
    max-width: 720px;
  }

  .plan-card {
    padding: 2.5rem 2.25rem;
  }

  .closing-line {
    font-size: 1.0625rem;
    max-width: 48rem;
    margin-inline: auto;
  }

  .cta-block h2 {
    max-width: 40rem;
    margin-inline: auto;
  }

  .cta-lead-note {
    font-size: 0.9375rem;
  }

}

@media (min-width: 1200px) {
  body {
    font-size: 1.0625rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 1fr);
    grid-template-rows: 1fr;
    gap: 1.75rem 2rem;
  }

  .card-body p,
  .feature-card p,
  .solution-card__list li,
  .faq-answer {
    font-size: 0.9375rem;
  }
}

/* =============================================================================
   スマホ対応（768px以下）
   ============================================================================= */
@media (max-width: 768px) {
  body {
    font-size: 0.9375rem;
  }

  .wrap {
    width: calc(100% - var(--sp-gutter) * 2);
    max-width: none;
  }

  .hero .wrap,
  #pain .wrap,
  .cta-block .wrap,
  .pain-trust-band__inner.wrap {
    width: calc(100% - var(--sp-gutter) * 2);
  }

  .header-bar {
    padding-right: 0.25rem;
  }

  .header-left {
    padding-left: var(--sp-gutter);
  }

  .logo-img {
    width: min(170px, 42vw);
    height: auto;
    aspect-ratio: 170 / 40;
  }

  /* MV — 縦並び：コピー → CTA → 画像 */
  .hero {
    min-height: 0;
    padding: 1.5rem 0 0;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .hero-main {
    order: 1;
    width: 100%;
  }

  .hero-side {
    order: 2;
    width: 100%;
    margin-bottom: 0;
  }

  .hero h1 {
    font-size: clamp(1.0625rem, 5.2vw, 1.5rem);
    line-height: 1.4;
    letter-spacing: -0.01em;
    margin-bottom: 0.6rem;
  }

  .hero-title__l1,
  .hero-title__l2 {
    white-space: nowrap;
  }

  .hero-lead {
    font-size: 0.875rem;
    line-height: 1.65;
    white-space: normal;
    margin-bottom: 1rem;
  }

  .hero-cta-note {
    text-align: left;
    font-size: 0.8125rem;
  }

  .hero-cta-row {
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
  }

  .hero-cta-card {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }

  .hero-cta-card--consult,
  .hero-cta-card--download {
    padding: 0.9rem 1rem;
  }

  .hero-cta-card__jp {
    font-size: 0.9375rem;
    white-space: normal;
  }

  .hero-cta-card__sub {
    font-size: 0.75rem;
    white-space: normal;
  }

  .hero-side__figure {
    max-width: none;
    width: 100%;
    height: min(48vw, 18rem);
    min-height: 14rem;
    max-height: 20rem;
    margin-inline: 0;
    margin-bottom: 0;
    display: block;
  }

  .hero-side__img {
    display: block;
    margin-bottom: 0;
  }

  .section {
    padding: clamp(2.75rem, 8vw, 3.5rem) 0;
  }

  .section h2,
  .cta-block h2 {
    font-size: clamp(1.125rem, 4.8vw, 1.375rem);
    line-height: 1.45;
  }

  .section-lead,
  .feature-card p,
  .card-body p,
  .faq-answer,
  .solution-card__list li {
    font-size: 0.875rem;
  }

  /* お悩みカード — 1カラム */
  #pain.section {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: clamp(2.5rem, 7vw, 3rem) var(--sp-gutter);
    overflow: visible;
  }

  #pain .wrap {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .pain-bubbles {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    flex: none;
    margin: 0;
  }

  .pain-card:nth-child(1),
  .pain-card:nth-child(2),
  .pain-card:nth-child(3),
  .pain-card:nth-child(4),
  .pain-card:nth-child(5) {
    grid-column: auto;
  }

  .pain-card {
    width: 100%;
    max-width: none;
    height: auto;
  }

  .pain-card__body {
    min-height: var(--pain-card-h);
  }

  /* pain-trust — ノッチ画像と被らないよう上部余白を確保 */
  #pain-trust.pain-trust-band {
    padding-top: clamp(4rem, 16vw, 5.5rem);
  }

  #pain-trust.pain-trust-band .pain-trust-band__title {
    font-size: clamp(1.25rem, 5.5vw, 1.75rem);
    line-height: 1.4;
    color: #fff;
  }

  #pain-trust.pain-trust-band .pain-trust-band__lead {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.95);
  }

  /* ソリューション — 縦並び・下向き矢印 */
  .solution-track {
    gap: 0;
  }

  .solution-arrow {
    min-height: 2.25rem;
    padding: 0.35rem 0;
    font-size: 1.25rem;
  }

  .solution-arrow::before {
    content: "∨";
    transform: none;
  }

  .solution-card__title {
    font-size: 1.125rem;
  }

  .solution-card__list li {
    font-size: 0.875rem;
  }

  .cta-block .hero-cta-row,
  .final-cta-row {
    flex-direction: column;
  }

  .cta-block .hero-cta-card {
    width: 100%;
  }

  .plan-card {
    padding: 1.75rem 1.25rem;
  }

  .site-footer {
    padding: 1.75rem var(--sp-gutter) 1rem;
    font-size: 0.75rem;
  }

  .site-footer .wrap {
    width: 100%;
  }

  .feature-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}

/* =============================================================================
   資料ダウンロードページ（download.html）
   ============================================================================= */
.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;
}

.page-download {
  background: #f4f7fb;
}

.download-main {
  padding-top: var(--header-h);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.download-section {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.download-wrap {
  width: min(100% - 2.5rem, 1180px);
  max-width: 1180px;
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 960px) {
  .download-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr);
    gap: clamp(1.5rem, 3vw, 2.75rem);
    align-items: start;
  }
}

/* ---- 左カラム（資料説明） ---- */
.download-intro {
  min-width: 0;
}

.download-title {
  margin: 0 0 1rem;
  font-family: "Noto Sans JP", system-ui, -apple-system, sans-serif;
  font-size: clamp(0.875rem, 3.6vw, 1.625rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #0c1a2e;
  white-space: nowrap;
}

.download-lead {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--color-text);
}

/* 資料カバー画像 */
.download-cover {
  position: relative;
  margin: 0 0 2rem;
  padding: 0;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 57, 120, 0.12), 0 2px 6px rgba(0, 57, 120, 0.06);
  overflow: hidden;
}

.download-cover__inner {
  position: relative;
  line-height: 0;
}

.download-cover__img {
  display: block;
  width: 100%;
  height: auto;
}

/* この資料でわかること */
.download-points {
  margin: 0 0 1.75rem;
}

.download-points__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  padding: 0 0 0.6rem;
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-line);
}

.download-points__icon {
  font-size: 1.125rem;
  line-height: 1;
}

.download-points__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.download-points__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 6px rgba(0, 57, 120, 0.04);
}

.download-points__num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1;
}

.download-points__text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-text);
  font-weight: 600;
}

/* ---- 右カラム（フォーム） ---- */
.download-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  box-shadow: 0 12px 32px rgba(0, 57, 120, 0.08), 0 2px 6px rgba(0, 57, 120, 0.04);
  padding: clamp(1.25rem, 3vw, 2rem);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  z-index: 1;
}

@media (max-width: 959px) {
  .download-form-wrap {
    position: static;
  }
}

.download-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
}

.form-label--legend {
  padding: 0;
}

.form-label__note {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.form-required {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  background: #e63946;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--color-text);
  background: #fff;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-md);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input::placeholder {
  color: #b0b9c5;
}

.form-input:hover {
  border-color: #a9c4e3;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 134, 217, 0.15);
}

.form-field--checkbox-group {
  border: none;
  margin: 0;
  padding: 0;
}

.form-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.form-checkbox {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text);
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.15rem 0 0;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.form-checkbox--privacy {
  padding: 0.5rem 0 0;
}

.form-checkbox__label a {
  color: var(--color-accent);
  text-decoration: underline;
}

.form-checkbox__label a:hover {
  color: var(--color-accent-hover);
}

.download-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1.1rem 1.25rem;
  margin-top: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--color-primary);
  background-image: linear-gradient(180deg, var(--color-accent) 0%, var(--color-primary) 100%);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 18px rgba(0, 57, 120, 0.35), 0 1px 0 rgba(255, 255, 255, 0.18) inset;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.download-submit:hover {
  filter: brightness(1.06);
  box-shadow: 0 8px 22px rgba(0, 57, 120, 0.42), 0 1px 0 rgba(255, 255, 255, 0.22) inset;
}

.download-submit:active {
  transform: translateY(1px);
}

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

.download-form-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
}

.download-form-security__icon {
  font-size: 0.9375rem;
  line-height: 1;
}

.download-form-note {
  margin: 0;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
}

.form-field--honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ---- フッター（資料DL用） ---- */
.site-footer--download {
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: 0;
  background: var(--color-primary);
  background-image: linear-gradient(120deg, var(--color-primary) 0%, var(--color-primary-soft) 100%);
  border-top: none;
  color: #fff;
}

.site-footer--download .site-footer__inner {
  width: min(100% - 2.5rem, 1180px);
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 2.75rem) 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.site-footer__logo {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-footer__catch {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
}

.site-footer__nav {
  margin: 0;
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
}

.site-footer__list a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer__list a:hover {
  color: #ffd54a;
}

.site-footer__copyright {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

@media (min-width: 768px) {
  .site-footer--download .site-footer__inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    row-gap: 1rem;
  }

  .site-footer__brand {
    flex: 0 1 auto;
  }

  .site-footer__nav {
    flex: 1 1 auto;
  }

  .site-footer__list {
    justify-content: flex-end;
  }

  .site-footer__copyright {
    flex: 1 0 100%;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
}

/* スマホ対応：資料DLページ */
@media (max-width: 768px) {
  .download-section {
    padding: 1.5rem 0 0;
  }

  .download-wrap {
    width: calc(100% - var(--sp-gutter) * 2);
  }

  .download-grid {
    gap: 1.5rem;
  }

  .download-title {
    font-size: clamp(0.8125rem, 4.2vw, 1.25rem);
  }

  .download-lead {
    font-size: 0.875rem;
  }

  .download-form-wrap {
    padding: 1.25rem 1rem 1.5rem;
  }

  .download-submit {
    font-size: 0.9375rem;
    padding: 1rem 1.1rem;
  }
}
