/* Will Forward Consulting LP — corporate site theme aligned */
:root {
  --blue: #2476F0;
  --blue-light: #4FC7F3;
  --blue-pale: #F4FCFF;
  --blue-deep: #1565C0;
  --purple: #2476F0;
  --purple-light: #4FC7F3;
  --purple-hover: #1565C0;
  --gray-bg: #F4FCFF;
  --white: #fff;
  --black: #000;
  --text-muted: #333;
  --text-dim: #666;
  --font-body: "Zen Maru Gothic", sans-serif;
  --font-accent: "Zen Maru Gothic", sans-serif;
  --max-w: 1080px;
  --header-h: 8.8rem;
  --header-menu-h: 0px;
  --section-pad: clamp(4.8rem, 8vw, 7.2rem);
  --shadow: 0 4px 16px rgba(36, 118, 240, 0.12);
  --radius: 1rem;
  --radius-lg: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
  scroll-padding-top: calc(var(--header-h) + var(--header-menu-h) + 1rem);
}

body {
  font-family: var(--font-body);
  font-size: 1.6rem;
  color: var(--black);
  line-height: 1.75;
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.6rem, 4vw, 3rem);
}

.l-large-inner {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(1.6rem, 4vw, 3rem);
}

.pc-only { display: none; }
.sp-only { display: block; }

/* ── Header (WFC corporate, LP-optimized) ── */
.l-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
}

.l-header.is-scrolled {
  box-shadow: 0 2px 12px rgba(36, 118, 240, 0.08);
}

.l-header__top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding-inline: clamp(1.6rem, 4vw, 3rem);
}

.l-header__logos {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 2rem);
  padding: 1.2rem clamp(1.2rem, 2vw, 2rem) 1.2rem 0;
  max-width: calc(100% - 7rem);
}

.l-header__logos::before {
  z-index: -1;
  position: absolute;
  inset: 0 -2rem 0 -100vw;
  content: "";
  background: var(--white);
  border-bottom-right-radius: 5.6rem;
}

.l-header__name {
  margin: 0;
  font-weight: inherit;
}

.l-header__name-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  color: inherit;
}

.l-header__name-text {
  display: none;
}

.l-header__name-logo img {
  display: block;
  width: clamp(14rem, 34vw, 23rem);
  max-width: 100%;
  height: auto;
}

.l-header__logo-selections img {
  display: block;
  width: clamp(4.8rem, 8vw, 8rem);
  height: auto;
  flex-shrink: 0;
}

.l-header__menu-container {
  display: none;
}

.l-header__menu-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
  min-height: 6.8rem;
  border-top: 1px solid rgba(79, 199, 243, 0.2);
}

.l-header__nav-lists {
  display: flex;
  align-items: center;
  gap: clamp(1.6rem, 3vw, 3.2rem);
  list-style: none;
}

.l-header__nav-link {
  position: relative;
  font-size: 1.6rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--black);
  transition: color 0.3s;
}

.l-header__nav-link::before {
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--blue-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s;
}

.l-header__nav-link:hover {
  color: var(--blue-light);
}

.l-header__nav-link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.l-hamburger {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem;
  border: none;
  background: transparent;
  cursor: pointer;
}

.l-hamburger__icon {
  position: relative;
  width: 2.4rem;
  height: 0.2rem;
  background: var(--blue);
  border-radius: 1px;
  transition: background 0.3s;
}

.l-hamburger__icon::before,
.l-hamburger__icon::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 0.2rem;
  content: "";
  background: var(--blue);
  border-radius: 1px;
  transition: transform 0.3s, top 0.3s;
}

.l-hamburger__icon::before { top: -0.7rem; }
.l-hamburger__icon::after { top: 0.7rem; }

.l-hamburger.is-open .l-hamburger__icon { background: transparent; }
.l-hamburger.is-open .l-hamburger__icon::before { top: 0; transform: rotate(45deg); }
.l-hamburger.is-open .l-hamburger__icon::after { top: 0; transform: rotate(-45deg); }

.l-hamburger__text {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--blue);
}

.l-drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 490;
  padding: 2rem clamp(1.6rem, 4vw, 3rem) 3rem;
  background: rgba(244, 252, 255, 0.98);
  backdrop-filter: blur(8px);
  transform: translateY(-110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
  overflow-y: auto;
}

.l-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.l-drawer__nav-lists {
  list-style: none;
  margin-bottom: 2rem;
}

.l-drawer__link {
  display: block;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(36, 118, 240, 0.12);
  font-size: 1.6rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--black);
}

.l-drawer__button {
  width: 100%;
  max-width: 28rem;
}

body.drawer-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  :root {
    --header-h: 9.6rem;
    --header-menu-h: 0px;
  }
  .pc-only { display: block; }
  .sp-only { display: none; }

  .l-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .l-header__top {
    grid-column: 1;
    min-height: var(--header-h);
  }

  .l-header__logos {
    max-width: none;
    padding-block: 1rem;
  }

  .l-header__menu-container {
    grid-column: 2;
    display: block;
  }

  .l-header__menu-inner {
    min-height: auto;
    padding-block: 0;
    border-top: none;
    gap: clamp(1.2rem, 2vw, 2.4rem);
  }
}

/* ── WFC buttons ── */
.c-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: none;
  background: var(--blue);
  text-decoration: none;
  cursor: pointer;
  line-height: 1.5;
}

.c-button::before {
  z-index: 1;
  position: absolute;
  inset: 0;
  content: "";
  background: var(--white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease;
}

.c-button::after {
  z-index: 2;
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid var(--blue);
  pointer-events: none;
}

.c-button:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.c-button-text {
  position: relative;
  z-index: 5;
  color: var(--white);
  font-weight: 700;
  transition: color 0.5s ease;
}

.c-button:hover .c-button-text {
  color: var(--blue);
}

.c-contact-button {
  min-height: 44px;
  padding: 1rem 2rem;
  border-radius: 3.4rem;
  font-size: clamp(1.4rem, 2.5vw, 1.6rem);
}

.c-contact-button::before,
.c-contact-button::after {
  border-radius: 3.4rem;
}

.c-main-button {
  padding: 1.2rem 2rem 1.2rem 4rem;
  gap: 2.5rem;
  border-radius: 2.4rem;
  font-size: 1.6rem;
}

.c-main-button::before,
.c-main-button::after {
  border-radius: 2.4rem;
}

.c-main-button .arrow {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  aspect-ratio: 1;
  background: var(--white);
  border-radius: 50%;
  transition: background 0.5s ease;
}

.c-main-button:hover .arrow {
  background: var(--blue);
}

.c-main-button .svg-arrow {
  fill: var(--blue);
  transition: fill 0.5s ease;
}

.c-main-button:hover .svg-arrow {
  fill: var(--white);
}

/* ── Buttons (LP CTA) ── */
.btn-primary {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  width: 100%;
  max-width: 42rem;
  min-height: 52px;
  padding: 1.2rem 2rem 1.2rem 4rem;
  border: 1px solid var(--blue);
  border-radius: 2.4rem;
  background: var(--blue);
  color: var(--white);
  font-family: inherit;
  font-size: clamp(1.5rem, 3.5vw, 1.8rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, color 0.5s ease;
  isolation: isolate;
}

.btn-primary::before {
  z-index: -1;
  position: absolute;
  inset: 0;
  content: "";
  background: var(--white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease;
  border-radius: 2.4rem;
}

.btn-primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(36, 118, 240, 0.22);
  color: var(--blue);
}

.btn-primary:not(.form-submit)::after {
  position: relative;
  z-index: 5;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  content: "";
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='6' viewBox='0 0 6.98 6.108'%3E%3Cpath fill='%232476F0' d='M0 3.618a.436.436 0 0 1 .436-.436h5.054l-1.873-1.872a.437.437 0 1 1 .618-.618l2.617 2.617a.436.436 0 0 1 0 .618l-2.617 2.617a.437.437 0 0 1-.618-.618l1.873-1.872H.436A.436.436 0 0 1 0 3.618Z'/%3E%3C/svg%3E") no-repeat center / 0.7rem;
  border-radius: 50%;
}

.btn-primary.--purple {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.btn-secondary:hover { color: var(--purple); }

/* ── Hero (cinematic) ── */
.hero {
  position: relative;
  background: #061224;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 22, 48, 0.82) 0%, rgba(8, 22, 48, 0.62) 38%, rgba(8, 22, 48, 0.28) 68%, rgba(8, 22, 48, 0.12) 100%);
}

.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  filter: saturate(1.05) contrast(1.08);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding:
    clamp(2.4rem, 5vw, 4rem)
    clamp(1.6rem, 4vw, 3rem)
    clamp(3.6rem, 6vw, 5.6rem);
}

.hero-content {
  max-width: min(62rem, 58%);
  margin-left: min(5vw, 8rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.hero-body {
  position: relative;
  z-index: 1;
  margin-top: clamp(2rem, 3.5vw, 2.8rem);
  padding: 0;
  text-align: left;
}

.hero-badge {
  display: inline-block;
  font-size: clamp(1.2rem, 2.8vw, 1.3rem);
  font-weight: 700;
  color: #b8d9ff;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
}

.hero-title {
  font-size: clamp(2.6rem, 3.2857142857vw, 4.6rem);
  font-weight: 700;
  line-height: 1.565;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero-lead {
  font-size: clamp(1.5rem, 3.2vw, 1.8rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  margin-inline: 0;
  margin-bottom: 2rem;
  max-width: 38em;
}

.hero-lead strong {
  color: #7ec8ff;
  font-weight: 700;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.8rem;
  margin-inline: 0;
  margin-bottom: 2.5rem;
  list-style: none;
  max-width: none;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.45;
  backdrop-filter: blur(10px);
}

.hero-meta li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--blue-light) 0%, var(--blue) 100%);
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1.2rem 1.6rem;
}

.hero--cinematic .btn-secondary {
  color: #fff;
}

.hero--cinematic .btn-secondary:hover {
  color: #b8d9ff;
}

@media (max-width: 767px) {
  .hero-photo::after {
    background:
      linear-gradient(180deg, rgba(8, 22, 48, 0.88) 0%, rgba(8, 22, 48, 0.72) 50%, rgba(8, 22, 48, 0.45) 100%);
  }

  .hero-photo img {
    object-position: center 65%;
  }

  .hero-inner {
    padding-top: clamp(1.6rem, 4vw, 2.4rem);
  }

  .hero-content {
    max-width: 100%;
    margin-left: 0;
  }

  .hero-copy,
  .hero-body {
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-meta {
    justify-content: center;
    margin-inline: auto;
    max-width: 52rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(2.2rem, 6.8vw, 2.8rem);
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .hero-content {
    max-width: min(56rem, 72%);
    margin-left: clamp(0, 4vw, 4rem);
  }

  .hero-title {
    font-size: clamp(2.4rem, 3.8vw, 3.6rem);
  }
}

.hero-title .title-line {
  display: block;
}

.hero-title .title-line--accent {
  margin-top: 0.2rem;
}

/* 日本語見出し：文節の途中で折り返さない */
.hero-title,
.section-title,
.footer-cta h2,
.case-card h3,
.funnel-goal h3 {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
  text-wrap: balance;
}

/* 小見出し・本文 */
.problem-card h3,
.benefit-body h3,
.funnel-step h3 {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
  text-wrap: balance;
}

p, dd, summary, .reason-lead p, .message-content p, .agent-future-lead, .seminar-flow-note, .program-lead, .reason-note {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
  text-wrap: pretty;
}

.hero-title .gradient {
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* グラデーション文字が行ボックスからはみ出さないよう */
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ── Gap / 二極化 ── */
.gap-section {
  padding-top: clamp(2.4rem, 5vw, 3.6rem);
  padding-bottom: 0;
}

.gap-visual {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
}

.gap-split-img {
  width: 100%;
  border-radius: var(--radius);
}

.gap-stat {
  margin-top: clamp(1.2rem, 3vw, 1.8rem);
  text-align: center;
}

.gap-stat-num {
  font-family: var(--font-accent);
  font-size: clamp(3.6rem, 9vw, 5.6rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}

.gap-stat-label {
  font-size: clamp(1.3rem, 3vw, 1.5rem);
  font-weight: 500;
  color: var(--text-dim);
  margin-top: 0.6rem;
}

#problem {
  padding-top: clamp(2.4rem, 5vw, 3.6rem);
}

/* ── Sections ── */
section { padding-block: var(--section-pad); }

section.bg-gray { background: var(--gray-bg); }

.section-head {
  text-align: center;
  margin-bottom: clamp(2.4rem, 5vw, 3.5rem);
}

.section-label {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.8rem;
}

.section-title {
  display: inline-block;
  position: relative;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.5;
  padding-bottom: 2rem;
  color: var(--blue);
  max-width: min(24em, 100%);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8rem;
  height: 4px;
  background: var(--blue-light);
  border-radius: 2px;
}

/* ── Problem ── */
.section-visual {
  max-width: 72rem;
  margin: 0 auto 3rem;
}

.section-visual img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.cost-band .section-visual {
  margin-bottom: 2.4rem;
}

.cost-band .section-visual img {
  box-shadow: 0 8px 28px rgba(0, 20, 60, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.problem-grid {
  display: grid;
  gap: 1.5rem;
}

.problem-card {
  min-width: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.4rem 2rem 2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: attr(data-num);
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-family: var(--font-accent);
  font-size: clamp(3.5rem, 10vw, 5rem);
  font-weight: 700;
  color: var(--blue-pale);
  line-height: 1;
  pointer-events: none;
}

.problem-card h3 {
  position: relative;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 0.8rem;
}

.problem-card p {
  position: relative;
  font-size: 1.4rem;
  color: var(--text-muted);
}

.stats-row {
  display: grid;
  gap: 1.2rem;
  margin-top: 3rem;
}

.stat-box {
  min-width: 0;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--blue-pale);
  border-radius: var(--radius);
}

.stat-box .num {
  font-family: var(--font-accent);
  font-size: clamp(2.8rem, 7vw, 4.2rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.1;
}

.stat-box .label {
  font-size: 1.4rem;
  font-weight: 500;
  margin-top: 0.8rem;
  line-height: 1.6;
  max-width: 16em;
  margin-inline: auto;
}

.stat-box .source {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-top: 0.5rem;
}

/* ── Chat vs Agent / 5 Levels ── */
.ai-levels-lead {
  max-width: 68rem;
  margin: 0 auto clamp(2.4rem, 5vw, 3.2rem);
  font-size: clamp(1.45rem, 2.5vw, 1.65rem);
  line-height: 1.9;
  color: var(--text-muted);
  text-align: center;
}

.ai-levels-lead strong { color: var(--blue-deep); font-weight: 700; }

.ai-scene {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem 1rem;
  max-width: 72rem;
  margin: 0 auto clamp(2rem, 4vw, 2.8rem);
  padding: 1.2rem 1.5rem;
  background: var(--white);
  border: 1.5px solid #D7E8FA;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(18, 62, 122, 0.06);
}

.ai-scene-label {
  flex: 0 0 auto;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--blue-deep);
  letter-spacing: 0.02em;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  background: var(--blue-pale);
}

.ai-scene-text {
  flex: 1 1 18rem;
  font-size: clamp(1.35rem, 2.2vw, 1.5rem);
  line-height: 1.7;
  color: var(--text-muted);
}

.ai-compare {
  display: grid;
  gap: 1.2rem;
  max-width: 92rem;
  margin-inline: auto;
  align-items: stretch;
}

.ai-compare-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -0.2rem 0;
}

.ai-compare-vs span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  background: var(--blue-deep);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(18, 62, 122, 0.28);
}

.ai-compare-card {
  min-width: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem 1.8rem;
  box-shadow: 0 8px 28px rgba(18, 62, 122, 0.1);
  border: 1.5px solid #D7E8FA;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.ai-compare-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--blue);
}

.ai-compare-card.is-agent {
  background: linear-gradient(165deg, #EFF6FF 0%, #fff 48%);
  border-color: #BFD8F8;
}

.ai-compare-card.is-agent::before {
  background: linear-gradient(180deg, var(--blue-deep) 0%, var(--blue) 100%);
}

.ai-compare-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

.ai-compare-titles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
}

.ai-compare-role {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.ai-compare-card.is-agent .ai-compare-role {
  color: var(--blue-deep);
}

.ai-compare-icon {
  flex: 0 0 auto;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 1rem;
  position: relative;
  background: var(--blue-pale);
}

.ai-compare-icon--chat::before,
.ai-compare-icon--chat::after {
  content: "";
  position: absolute;
  background: var(--blue);
}

.ai-compare-icon--chat::before {
  width: 1.7rem;
  height: 1.25rem;
  border-radius: 0.55rem;
  left: 0.7rem;
  top: 0.85rem;
}

.ai-compare-icon--chat::after {
  width: 0;
  height: 0;
  border-left: 0.4rem solid transparent;
  border-right: 0.4rem solid transparent;
  border-top: 0.5rem solid var(--blue);
  background: none;
  left: 1rem;
  top: 2rem;
}

.ai-compare-icon--agent {
  background: linear-gradient(145deg, var(--blue-deep), var(--blue));
}

.ai-compare-icon--agent::before {
  content: "";
  position: absolute;
  inset: 0.95rem;
  border: 2.5px solid #fff;
  border-radius: 50%;
}

.ai-compare-icon--agent::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  margin: -0.28rem 0 0 -0.28rem;
  border-radius: 50%;
  background: #fff;
}

.ai-compare-tag {
  display: inline-block;
  font-size: 1.35rem;
  font-weight: 900;
  padding: 0.35rem 1.1rem;
  border-radius: 2rem;
  background: var(--blue-pale);
  color: var(--blue-deep);
  letter-spacing: 0.02em;
}

.ai-compare-card.is-agent .ai-compare-tag {
  background: var(--blue-deep);
  color: var(--white);
}

.ai-compare-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.7rem;
  font-size: clamp(1.55rem, 2.4vw, 1.8rem);
  font-weight: 900;
  color: var(--blue-deep);
  line-height: 1.4;
  margin-bottom: 1.2rem;
}

.ai-compare-flow .ai-arrow {
  color: var(--blue);
  font-weight: 700;
}

.ai-compare-scene-how {
  margin: 0 0 1.1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: #EEF5FF;
  border: 1px dashed #B7D4F5;
  font-size: 1.3rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.ai-compare-card.is-agent .ai-compare-scene-how {
  background: rgba(255, 255, 255, 0.85);
  border-color: #9FC0E8;
}

.ai-compare-scene-kicker {
  display: inline-block;
  margin-right: 0.45rem;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--blue);
}

.ai-compare-card.is-agent .ai-compare-scene-kicker {
  color: var(--blue-deep);
}

.ai-compare-card ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.ai-compare-card li {
  position: relative;
  padding: 0.75rem 0.9rem 0.75rem 2.2rem;
  font-size: 1.35rem;
  line-height: 1.65;
  color: var(--text-muted);
  word-break: keep-all;
  overflow-wrap: break-word;
  background: #F7FBFF;
  border-radius: 0.8rem;
}

.ai-compare-card.is-agent li { background: rgba(255, 255, 255, 0.72); }

.ai-compare-card li::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 1.15rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--blue);
}

.ai-compare-card.is-agent li::before { background: var(--blue-deep); }

.ai-compare-foot {
  margin-top: auto;
  padding: 1.1rem 1.2rem;
  border-radius: 1rem;
  background: var(--blue-pale);
  border: 1.5px solid #D0E6FF;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.7rem;
  font-size: 1.3rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.ai-compare-card.is-agent .ai-compare-foot {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: rgba(255, 255, 255, 0.9);
}

.ai-compare-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
}

.ai-compare-card.is-agent .ai-compare-label { color: var(--blue-light); }

.ai-compare-foot strong {
  color: var(--blue-deep);
  font-weight: 900;
  font-size: 1.55rem;
}

.ai-compare-card.is-agent .ai-compare-foot strong { color: #fff; }

.ai-compare-foot-sub {
  font-size: 1.15rem;
  color: var(--text-dim);
}

.ai-compare-card.is-agent .ai-compare-foot-sub { color: rgba(255, 255, 255, 0.8); }

.level-ladder {
  margin-top: clamp(3.2rem, 6vw, 4.4rem);
  max-width: 98rem;
  margin-inline: auto;
  background: var(--white);
  border: 1.5px solid #D7E8FA;
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  box-shadow: 0 8px 28px rgba(18, 62, 122, 0.08);
}

.level-ladder-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem 1.6rem;
  margin-bottom: 1.6rem;
}

.level-ladder-title {
  text-align: left;
  font-size: clamp(1.55rem, 2.5vw, 1.85rem);
  font-weight: 900;
  color: var(--blue-deep);
  margin-bottom: 0;
}

.level-ladder-goal {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dim);
  background: var(--blue-pale);
  border: 1.5px solid #D0E6FF;
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
}

.level-ladder-goal strong {
  color: var(--blue);
  font-weight: 900;
}

.level-steps {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
  counter-reset: none;
}

.level-step {
  min-width: 0;
  display: grid;
  gap: 0.35rem;
  padding: 1.3rem 1.1rem 1.2rem;
  background: #F7FBFF;
  border-radius: 1rem;
  border: 1.5px solid #E3ECF6;
  text-align: center;
  position: relative;
}

.level-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 1.05rem;
  font-weight: 900;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  box-shadow: 0 4px 12px rgba(36, 118, 240, 0.35);
}

.level-num {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dim);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.level-name {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--blue-deep);
  line-height: 1.35;
}

.level-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.level-step.is-seminar {
  border-color: var(--blue);
  border-width: 2.5px;
  background: linear-gradient(180deg, #E8F3FF 0%, #fff 70%);
  box-shadow: 0 8px 22px rgba(36, 118, 240, 0.16);
  padding-top: 1.7rem;
}

.level-step.is-seminar .level-num { color: var(--blue); }
.level-step.is-seminar .level-name { color: var(--blue-deep); font-size: 1.5rem; }
.level-step.is-seminar .level-desc { color: var(--blue); font-weight: 700; }

.level-step.is-next {
  background: #FAFBFD;
  border-style: dashed;
}

.level-ladder-note {
  max-width: 64rem;
  margin: 1.6rem auto 0;
  text-align: center;
  font-size: clamp(1.3rem, 2.2vw, 1.45rem);
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.85;
  background: var(--blue-pale);
  border-radius: 1rem;
  padding: 1.2rem 1.4rem;
  border: 1.5px solid #D0E6FF;
}

.level-ladder-note strong {
  color: var(--blue-deep);
  font-weight: 900;
}

/* ── Seminar benefits ── */
.benefits-grid {
  display: grid;
  gap: 1.5rem;
}

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

  .benefit-item.is-hands-on {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1100px) {
  .benefits-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr) minmax(0, 0.95fr);
  }

  .benefit-item.is-hands-on {
    grid-column: auto;
  }
}

.benefit-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  height: 100%;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.6rem 1.6rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
}

.benefit-num {
  flex-shrink: 0;
  font-family: var(--font-accent);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  width: auto;
  text-align: left;
}

.benefit-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.benefit-body h3 {
  font-size: clamp(1.45rem, 1.9vw, 1.65rem);
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 0.5rem;
  line-height: 1.55;
}

.benefit-body h3 .title-br {
  display: none;
}

@media (min-width: 1100px) {
  .benefit-item.is-hands-on .benefit-body h3 .title-br {
    display: block;
  }
}

.benefit-body p {
  font-size: 1.4rem;
  color: var(--text-muted);
}

.seminar-flow-note {
  max-width: 52em;
  margin: 0 auto clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  font-size: clamp(1.4rem, 2.5vw, 1.55rem);
  line-height: 1.85;
  color: var(--text-muted);
}

.seminar-flow-note strong { color: var(--purple); font-weight: 700; }

.benefit-when {
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  align-self: flex-start;
  font-size: 1.15rem !important;
  font-weight: 700;
  color: var(--blue) !important;
  background: var(--blue-pale);
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  margin-bottom: 0.7rem;
  line-height: 1.45;
  white-space: normal;
}

.benefit-item.is-hands-on {
  border-top-color: var(--blue-light);
  background: linear-gradient(180deg, var(--blue-pale) 0%, var(--white) 55%);
}

.benefit-item.is-hands-on .benefit-num { color: var(--purple); }

.benefit-item.is-hands-on .benefit-when {
  color: var(--white) !important;
  background: var(--purple);
}

.benefit-take {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--blue-pale);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--blue);
}

.benefit-take span {
  flex-shrink: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  background: var(--blue);
  padding: 0.25rem 0.85rem;
  border-radius: 2rem;
  letter-spacing: 0.02em;
}

.benefit-take-text {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.55;
  color: inherit;
}

.benefit-item.is-hands-on .benefit-take { color: var(--purple); border-top-color: var(--purple-light); }

.benefit-item.is-hands-on .benefit-take span { background: var(--purple); }

/* ── AIエージェントで見えてくる働き方 ── */
.agent-future {
  margin-top: clamp(3.2rem, 6vw, 4.8rem);
}

.agent-future-lead {
  max-width: 68rem;
  margin: 0 auto clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  font-size: clamp(1.5rem, 2.5vw, 1.7rem);
  line-height: 1.9;
  color: var(--text-muted);
}

.agent-future-lead strong { color: var(--purple); font-weight: 700; }

.agent-future-grid {
  display: grid;
  gap: 1.5rem;
}

.agent-future-grid > .future-card {
  min-width: 0;
}

.future-card {
  background: linear-gradient(150deg, #1565C0 0%, var(--blue) 60%, var(--blue-light) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow);
}

.future-card h3 {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.8rem;
  word-break: auto-phrase;
  text-wrap: balance;
}

.future-card p {
  font-size: 1.4rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.agent-future-note {
  max-width: 68rem;
  margin: clamp(2rem, 4vw, 2.8rem) auto 0;
  text-align: center;
  font-size: clamp(1.4rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--blue);
  line-height: 1.8;
}

/* ── Program ── */
.program-lead {
  max-width: 42em;
  margin: 1.6rem auto 0;
  font-size: clamp(1.4rem, 2.5vw, 1.55rem);
  line-height: 1.85;
  color: var(--text-muted);
}

.program-lead strong { color: var(--purple); font-weight: 700; }

.program-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: var(--shadow);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.program-table {
  width: 100%;
  min-width: 280px;
  border-collapse: collapse;
}

.program-table th,
.program-table td {
  padding: 1.4rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-bg);
  font-size: 1.6rem;
  line-height: 1.6;
  vertical-align: top;
}

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

.program-table th {
  width: 6rem;
  font-family: var(--font-accent);
  font-weight: 700;
  color: var(--blue);
  font-size: 1.7rem;
  white-space: nowrap;
}

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

.program-tag {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--blue);
  background: var(--blue-pale);
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 0.5rem;
  margin-right: 0.4rem;
}

.program-tag.take {
  color: var(--white);
  background: var(--blue);
}

.program-tag.hands-on {
  color: var(--white);
  background: var(--purple);
}

.program-table tr.is-hands-on {
  background: linear-gradient(90deg, #f8f0f6 0%, rgba(248, 240, 246, 0.35) 100%);
}

.program-table tr.is-hands-on th { color: var(--purple); }

.program-table tr.is-hands-on td {
  color: var(--text-muted);
  font-weight: 500;
}

.program-hands-note {
  max-width: 68rem;
  margin: 1.6rem auto 0;
  text-align: center;
  font-size: clamp(1.3rem, 2.5vw, 1.45rem);
  font-weight: 500;
  color: var(--purple);
  line-height: 1.8;
}

.seminar-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.seminar-info div {
  background: var(--blue-pale);
  padding: 1.2rem;
  border-radius: 0.6rem;
  text-align: center;
}

.seminar-info dt { font-size: 1.25rem; color: var(--text-dim); }

.seminar-info dd {
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--blue);
  margin-top: 0.3rem;
}

/* ── Message ── */
.message-block {
  display: grid;
  gap: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow);
  border-left: 6px solid var(--purple);
}

.message-photo {
  width: 100%;
  max-width: 28rem;
  margin-inline: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.message-content {
  min-width: 0;
}

.message-content p {
  font-size: clamp(1.5rem, 2.5vw, 1.7rem);
  line-height: 1.9;
  color: var(--text-muted);
}

.message-content p + p {
  margin-top: 1.4rem;
}

.message-content strong { color: var(--blue); font-weight: 700; }

.message-author {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--gray-bg);
  font-size: 1.4rem;
  color: var(--text-dim);
}

.message-author strong {
  display: block;
  font-size: 1.6rem;
  color: var(--black);
  margin-bottom: 0.4rem;
}

/* ── Cost / Timing band ── */
.cost-band {
  background: linear-gradient(150deg, #1565C0 0%, var(--blue) 55%, var(--blue-light) 100%);
  color: var(--white);
}

.cost-band .section-label { color: var(--blue-light); }

.cost-band .section-title { color: var(--white); }

.cost-band .section-title::after { background: var(--blue-light); }

.cost-lead {
  max-width: 68rem;
  margin: 0 auto clamp(2.8rem, 6vw, 4rem);
  display: grid;
  gap: 1.4rem;
}

.cost-lead p {
  min-width: 0;
  font-size: clamp(1.5rem, 2.5vw, 1.7rem);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
}

.cost-lead strong {
  color: var(--blue-light);
  font-weight: 700;
}

.cost-chart {
  max-width: 56rem;
  margin-inline: auto;
}

.cost-plot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 4vw, 2.8rem);
  align-items: end;
  height: clamp(16rem, 32vw, 22rem);
  padding: 3rem clamp(0.8rem, 3vw, 2rem) 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
}

.cost-col {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}

.cost-fill {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 7.2rem;
  height: var(--h);
  border-radius: 6px 6px 0 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cost-fill--today { background: linear-gradient(180deg, #9AE4FF 0%, #4FC7F3 100%); }
.cost-fill--y1 { background: linear-gradient(180deg, #7CB8FF 0%, #2476F0 100%); }
.cost-fill--y2 { background: linear-gradient(180deg, #5A95F0 0%, #1E63D8 100%); }
.cost-fill--y3 { background: linear-gradient(180deg, #FFD56A 0%, #F5A623 100%); }

.cost-value {
  position: absolute;
  top: -2.6rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-deep);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .cost-value {
    top: auto;
    bottom: calc(100% + 0.4rem);
    font-size: 1rem;
  }

  .cost-plot {
    gap: 0.8rem;
    padding-top: 1rem;
  }
}

.cost-fill--y3 .cost-value {
  color: #B45309;
}

.cost-labels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 4vw, 2.8rem);
  padding-inline: clamp(0.8rem, 3vw, 2rem);
  margin-top: 0.8rem;
  text-align: center;
  font-family: var(--font-accent);
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.cost-caption {
  margin-top: 1.6rem;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}

/* ── Reason / Why WFC ── */
.reason-lead {
  max-width: 72rem;
  margin: 0 auto 3rem;
  display: grid;
  gap: 1.6rem;
}

.reason-lead p {
  min-width: 0;
  font-size: clamp(1.5rem, 2.5vw, 1.7rem);
  line-height: 1.9;
  color: var(--text-muted);
}

.reason-lead strong {
  color: var(--purple);
  font-weight: 700;
}

.case-compare {
  display: grid;
  gap: 1.5rem;
  max-width: 88rem;
  margin-inline: auto;
}

.case-card {
  min-width: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  box-shadow: var(--shadow);
}

.case-card.ng { border-top: 4px solid #9a9a9a; }

.case-card.ok { border-top: 4px solid var(--blue); }

.case-tag {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.3rem 1.2rem;
  border-radius: 2rem;
  margin-bottom: 1.2rem;
}

.case-card.ng .case-tag {
  background: #ececec;
  color: #555;
}

.case-card.ok .case-tag {
  background: var(--blue-pale);
  color: var(--blue);
}

.case-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.case-card.ng h3 { color: #444; }

.case-card p {
  font-size: 1.4rem;
  color: var(--text-muted);
}

.reason-note {
  max-width: 72rem;
  margin: 2.4rem auto 0;
  text-align: center;
  font-size: clamp(1.4rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--blue);
  line-height: 1.8;
}

/* ── Flow ── */
.funnel-steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: flow-step;
}

.funnel-step {
  min-width: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.funnel-step::before {
  content: "STEP " counter(flow-step);
  counter-increment: flow-step;
  display: block;
  font-family: var(--font-accent);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.funnel-step h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--purple);
  margin: 0.5rem 0 0.8rem;
}

.funnel-step p {
  font-size: 1.4rem;
  color: var(--text-muted);
}

.funnel-step.highlight {
  background: linear-gradient(180deg, var(--blue-pale) 0%, var(--white) 70%);
  border: 2px solid var(--blue);
}

.funnel-goal-arrow {
  margin: 1.6rem 0;
  text-align: center;
  font-size: 1.6rem;
  color: var(--purple);
}

.funnel-goal {
  max-width: 76rem;
  margin-inline: auto;
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--white) 45%, var(--purple-light) 160%);
  border: 2px solid var(--purple);
  border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 5vw, 3.6rem);
  box-shadow: var(--shadow);
  text-align: center;
}

.goal-tag {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  background: var(--purple);
  padding: 0.4rem 1.4rem;
  border-radius: 2rem;
  margin-bottom: 1.4rem;
}

.funnel-goal h3 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--purple);
  line-height: 1.5;
  margin-bottom: 1.4rem;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.funnel-goal p {
  font-size: clamp(1.4rem, 2.5vw, 1.5rem);
  color: var(--text-muted);
  line-height: 1.9;
  text-align: left;
}

.funnel-goal p + p { margin-top: 1rem; }

.funnel-goal strong { color: var(--blue); font-weight: 700; }

/* ── FAQ ── */
.faq-list {
  max-width: 72rem;
  margin-inline: auto;
}

.faq-item {
  background: var(--white);
  border-radius: 0.8rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  padding: 1.4rem 3.6rem 1.4rem 1.6rem;
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 1.5rem);
  cursor: pointer;
  list-style: none;
  display: block;
  color: var(--blue);
  min-height: 44px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1.6rem;
  transform: translateY(-50%);
  font-size: 2rem;
  font-weight: 400;
  color: var(--purple);
  flex-shrink: 0;
}

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

.faq-item[open] summary { background: var(--blue-pale); }

.faq-item p {
  padding: 0 1.6rem 1.4rem;
  font-size: 1.4rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── Form ── */
#apply {
  background: linear-gradient(180deg, var(--blue-pale) 0%, var(--gray-bg) 100%);
}

.form-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 5vw, 4.8rem);
  box-shadow: var(--shadow);
}

.form-intro {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 72rem;
  margin-inline: auto;
}

.form-grid > div {
  min-width: 0;
}

label {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

label .req {
  font-size: 1.2rem;
  color: var(--purple);
  margin-left: 0.4rem;
}

input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 1rem 1.2rem;
  background: var(--white);
  border: 2px solid #ddd;
  border-radius: 0.4rem;
  font-family: inherit;
  font-size: 1.6rem;
  transition: border-color 0.2s;
}

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

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--blue-light);
  outline-offset: 1px;
  border-color: var(--blue);
}

.form-submit {
  width: 100%;
  max-width: 100%;
}

.form-submit.is-done::after { display: none; }

.form-submit.is-done {
  font-size: 1.4rem;
  padding-inline: 1.5rem;
}

.form-note {
  font-size: 1.2rem;
  color: var(--text-dim);
  margin-top: 1.2rem;
  text-align: center;
  line-height: 1.7;
}

/* ── Footer CTA ── */
.footer-cta {
  text-align: center;
  padding-block: var(--section-pad);
  background: var(--blue);
  color: var(--white);
}

.footer-cta h2 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.footer-cta p {
  font-size: clamp(1.4rem, 3vw, 1.5rem);
  margin-bottom: 2.5rem;
  max-width: 36em;
  margin-inline: auto;
  opacity: 0.95;
}

.footer-cta .btn-primary {
  margin-inline: auto;
}

/* ── Site footer (WFC corporate) ── */
.l-footer {
  padding: clamp(4rem, 8vw, 8rem) 0 2.4rem;
  background: var(--blue-pale);
  color: var(--black);
}

.l-footer__main {
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
}

.l-footer__info {
  flex: 1;
}

.l-footer__info-container {
  padding: clamp(2.4rem, 5vw, 4rem);
  max-width: 42rem;
  background: var(--white);
  border-radius: 3rem;
  box-shadow: var(--shadow);
}

.l-footer__info-logos {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 2rem);
}

.l-footer__logo-link {
  display: block;
}

.l-footer__logo {
  width: clamp(16rem, 28vw, 23rem);
  height: auto;
}

.l-footer__logo-selections {
  width: clamp(5.8rem, 10vw, 8rem);
  height: auto;
}

.l-footer__info-text {
  margin-top: 1.6rem;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.5;
}

.l-footer__menu {
  width: min(100%, 49%);
}

.l-footer__menu-container {
  display: flex;
  gap: 2rem;
}

.l-footer__menu-lists {
  width: 47.6%;
  list-style: none;
}

.l-footer__menu-list a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 0;
  font-size: 1.5rem;
  line-height: 1.4;
  text-decoration: none;
  color: var(--black);
}

.l-footer__menu-list a::before {
  flex-shrink: 0;
  width: 0.4rem;
  height: 0.75rem;
  content: "";
  background: url("images/theme/icon-arrow-right.svg") center / contain no-repeat;
}

.l-footer__button {
  margin-top: 2.6rem;
  width: fit-content;
  max-width: 100%;
}

.l-footer__sdgs-lists {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 3.8rem;
  list-style: none;
}

.l-footer__sdgs-list {
  width: clamp(5rem, 8vw, 6.6rem);
}

.l-footer__sdgs-list img {
  width: 100%;
  height: auto;
}

.l-footer__copyright {
  display: block;
  margin-top: clamp(3rem, 8vw, 8rem);
  text-align: center;
  font-size: 1.4rem;
  color: var(--text-dim);
}

@media (max-width: 767px) {
  .l-footer__main {
    flex-direction: column;
  }

  .l-footer__menu {
    width: 100%;
  }

  .l-footer__sdgs-lists {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    max-width: 28rem;
    margin-inline: auto;
  }

  .l-footer__sdgs-list {
    width: auto;
  }
}

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

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Tablet ── */
@media (min-width: 600px) {
  .btn-primary { width: auto; min-width: min(100%, 32rem); }

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

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

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

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

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid .full { grid-column: 1 / -1; }
}

/* ── Desktop ── */
@media (min-width: 900px) {
  .l-footer__main {
    align-items: flex-start;
  }

  .hero-content {
    max-width: min(62rem, 58%);
  }

  .message-block {
    grid-template-columns: 220px 1fr;
    align-items: start;
  }

  .message-photo {
    max-width: none;
    aspect-ratio: 1;
    object-fit: cover;
  }

  .case-compare {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
  }

  .ai-compare {
    grid-template-columns: 1fr auto 1fr;
    gap: 1.4rem;
    align-items: stretch;
  }

  .ai-compare-vs {
    margin: 0;
    align-self: center;
  }

  .level-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
  }

  .level-ladder-head {
    margin-bottom: 2rem;
  }

  .funnel-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .funnel-step { height: 100%; }

  .seminar-info { grid-template-columns: repeat(5, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn-primary:hover { transform: none; }
}
