@charset "UTF-8";

:root {
  --color-primary: #1e6fd9;
  --color-primary-light: #4a90e2;
  --color-primary-dark: #1452a8;
  --color-secondary: #00b4d8;
  --color-secondary-light: #90e0ef;
  --color-white: #ffffff;
  --color-bg: #f4f8fc;
  --color-surface: #eaf3fb;
  --color-border: #d0e4f5;
  --color-text-main: #1a1a2e;
  --color-text-sub: #5a6a7a;
  --color-accent: #ff6b35;
  --color-accent-light: #ff8c5a;

  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-md: 18px;
  --text-lg: 24px;
  --text-xl: 32px;
  --text-2xl: 48px;
  --text-3xl: 36px;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  --bp-sm: 480px;
  --bp-md: 768px;
  --bp-lg: 1140px;
  --bp-xl: 1440px;

  --inner-width: 1180px;
  --section-pad-pc: 96px;
  --section-pad-sp: 64px;

  --font-sans: "Noto Sans JP", "Inter", sans-serif;
  --font-serif-display: "Noto Serif JP", "Noto Sans JP", serif;
  --nav-height: 81px;

  --page-pad-inline-pc: calc(80px * min(100vw, 1920px) / 1440px);
  --hero-pad-top-pc: calc(120px * min(100vw, 1920px) / 1440px);
  --hero-content-width: 560px;
  --hero-row-gap: 50px;
  --hero-visual-max-h: 480px;
  /* ヒーロー中央下の白三角形（セクション高さに対する割合・下端固定） */
  --hero-triangle-center-height: 35%;

  --ease-soft: cubic-bezier(0.45, 0, 0.55, 1);
  --dur-blob: 4.5s;
}

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body,
h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: var(--color-bg);
  overflow-x: hidden;
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ----- スクロール連動フェード（stagger） ----- */
.js-fade-stagger .js-fade-stagger-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-soft), transform 0.6s var(--ease-soft);
  transition-delay: calc(var(--stagger-order, 0) * 80ms);
  will-change: opacity, transform;
}

.js-fade-stagger.is-inview .js-fade-stagger-item {
  opacity: 1;
  transform: translateY(0);
}

/* ----- 共通ボタン ----- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 30px;
  font-weight: 700;
  font-size: var(--text-base);
  line-height: var(--text-lg);
  color: var(--color-white);
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(30, 111, 217, 0.12);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.35);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.btn-primary--hero {
  gap: var(--space-sm);
  padding: 12px 40px;
  font-size: var(--text-md);
  line-height: var(--text-lg);
}

.btn-primary__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: block;
}

/* ----- section-nav ----- */
.section-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.25s ease;
}

.section-nav.scrolled {
  box-shadow: 0 4px 20px rgba(26, 26, 46, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding: var(--space-md) var(--space-md) calc(var(--space-md) - 1px);
  min-height: calc(var(--nav-height) - 1px);
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .nav-container {
    padding-inline: var(--space-lg);
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  min-width: 0;
}

.nav-logo:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-logo__img-wrap {
  display: block;
  height: 49px;
  max-width: 201px;
}

.nav-logo__img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.nav-cta {
  flex-shrink: 0;
}

/* ----- section-hero ----- */
.section-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #fff4e6 url("../images/fv-bg.png") no-repeat center center / cover;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  min-height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg__photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* 下部装飾（三角形） */
.section-hero::before,
.section-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
}

.section-hero::before {
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 500px;
  height: 150px;
  clip-path: polygon(0 100%, 100% 100%, 50% 0);
  background-color: #fff;
}

.section-hero::after {
  right: 0;
  bottom: 0;
  width: 500px;
  height: 220px;
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
  background-color: #fff;
}

.hero-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-right: 0;
  overflow-x: clip;
  overflow-x: hidden;
}

/* bubbly-bg：ヒーロー全面のキャンバス背景（canvas は JS でバッファサイズ設定） */
.hero-bubbly {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  pointer-events: none;
}

.hero-bubbly__canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-blob {
  display: block;
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

/* 右下：黄色いアクセント（星） */
.hero-blob--yellow-glow {
  background: url(../images/Star.svg) no-repeat center center / contain;
  width: 80px;
  height: 80px;
  right: 0;
  bottom: 0;
}

@media (max-width: 1139px) {
  .section-hero::before,
  .section-hero::after {
    display: none;
  }
}

.hero-container {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin-inline: 0;
  padding: var(--section-pad-sp) var(--space-lg);
  min-height: 0;
}

@media (min-width: 1140px) {
  .hero-container {
    flex-direction: row;
    align-items: flex-start;
    padding-top: 120px;
    padding-left: var(--page-pad-inline-pc);
    padding-right: 0;
  }
}
@media (max-width: 768px) {
  .hero-container {
    align-items: center;
    padding-top: 40px;
  }
}

.hero-content {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  flex: 1 1 auto;
  min-width: 0;
}

@media (min-width: 1140px) {
  .hero-content {
    flex: 0 0 var(--hero-content-width);
    width: var(--hero-content-width);
    max-width: var(--hero-content-width);
  }
}
@media (min-width: 769px) and (max-width: 1139px) {
  .hero-content {
    width: 100%;
    max-width: 434px;
    gap: 12px;
  }
  .hero-cta-wrap {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .hero-content {
    width: 100%;
    max-width: 500px;
    gap: 12px;
  }
}


.hero-heading {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary);
}

.hero-title__serif {
  font-family: var(--font-serif-display);
  letter-spacing: 0.02em;
  font-size: 32px;
}

.hero-title__sans {
  font-family: var(--font-sans);
  font-size: 32px;
}

@media (min-width: 480px) {
  .hero-title__serif,
  .hero-title__sans {
    font-size: 44px;
  }
}

@media (min-width: 1140px) {
  .hero-title__serif,
  .hero-title__sans {
    font-size: 56px;
  }
}

.hero-lead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.15em;
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.25;
}

.hero-lead__accent {
  font-size: 26px;
  color: var(--color-secondary);
}

@media (min-width: 768px) {
  .hero-lead__accent {
    font-size: var(--text-xl);
  }
}

.hero-lead__plain {
  font-size: var(--text-md);
  color: var(--color-text-main);
}

@media (min-width: 768px) {
  .hero-lead__plain {
    font-size: var(--text-lg);
  }
}

@media (min-width: 1140px) {
  .hero-lead__plain {
    font-size: var(--text-xl);
  }
}

.hero-desc {
  font-weight: 500;
  font-size: var(--text-md);
  line-height: 1.45;
  color: var(--color-text-sub);
}

.hero-desc p + p {
  margin-top: 0.35em;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero-badge {
  position: relative;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 480px) {
  .hero-badge {
    width: 100px;
    height: 100px;
  }
}

.hero-badge__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  font-family: "Inter", var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-white);
}
@media (max-width: 480px) {
  .hero-badge__text {
    font-size: 13px;
  }
}

.hero-badge__line {
  display: block;
}

.hero-cta-wrap {
  max-width: 428px;
  width: 100%;
}
@media (max-width: 768px) {
  .hero-cta-wrap {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
  }
}

/* 右ビジュアル：残り幅・右端フラッシュ・高さ上限 */
.hero-visual {
  position: relative;
  z-index: 3;
  flex: 0 1 auto;
  width: 100%;
  max-width: 1000px;
  max-height: 600px;
  margin-inline: auto;
}
@media (min-width: 769px) and (max-width: 1139px) {
  .hero-visual {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 48%;
    height: 400px;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .hero-visual {
    height: 280px;
    border: 1px solid var(--color-accent);
  }
}
@media (max-width: 480px) {
  .hero-visual {
    height: 250px;
    border: 1px solid var(--color-accent);
  }
}

.hero-visual__photo {
  display: block;
  width: auto;
  max-width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: center;
}
@media (min-width: 481px) and (max-width: 768px) {
  .hero-visual__photo {
    height: 280px;
  }
}
@media (max-width: 480px) {
  .hero-visual__photo {
    height: 250px;
  }
}

/* ----- Figma同期: ヒーロー4バッジ ----- */
.hero-badges--figma {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
@media (min-width: 481px) and (max-width: 768px) {
  .hero-badges--figma {
   margin-top: -65px;
   margin-bottom: 20px;
   z-index: 10;
   justify-content: center;
  }
}

.hero-badges--figma .hero-badge {
  width: 100px;
  height: 100px;
}
@media (max-width: 480px) {
  .hero-badges--figma {
   margin-top: -85px;
   margin-bottom: 30px;
   z-index: 10;
   justify-content: center;
   gap: 0;
  }
  .hero-badges--figma .hero-badge {
    width: 65px;
    height: 65px;
  }
}


/* 星形バッジは装飾のため background-image（img タグは不要） */
.hero-badge--frame1,
.hero-badge--frame2,
.hero-badge--frame3,
.hero-badge--frame4 {
  background-color: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-badge--frame1 {
  background-image: url("../images/img-frame1.png");
}

.hero-badge--frame2 {
  background-image: url("../images/img-frame2.png");
}

.hero-badge--frame3 {
  background-image: url("../images/img-frame3.png");
}

.hero-badge--frame4 {
  background-image: url("../images/img-frame4.png");
}

.hero-badges--figma .hero-badge__text {
  text-shadow: 0 1px 2px rgba(26, 26, 46, 0.35);
}

.hero-visual--framed {
  border: 5px solid var(--color-accent);
  border-radius: 240px 24px 24px 240px;
  max-width: min(100%, 560px);
  overflow: hidden;
  box-shadow: inset 0 8px 24px rgba(0, 0, 0, 0.08);
}

.hero-visual--framed .hero-visual__photo {
  max-height: none;
  width: 100%;
  object-fit: cover;
}

@media (max-width: 1139px) {
  .hero-visual--framed {
    border-radius: 24px;
    border-width: 4px;
  }
}

/* ----- section heading 共通 ----- */
.section-kicker-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-kicker {
  font-weight: 700;
  font-size: var(--text-md);
  line-height: 1.4;
  color: var(--color-primary);
}

.section-kicker-block__title {
  font-weight: 700;
  font-size: var(--text-xl);
  line-height: 1.25;
  color: var(--color-text-main);
}

@media (min-width: 768px) {
  .section-kicker-block__title {
    font-size: var(--text-2xl);
  }
}
@media (max-width: 480px) {
  .section-kicker-block__title {
    font-size: var(--text-lg);
  }
}

.section-kicker-block--on-image .section-kicker,
.section-kicker-block--on-image .section-kicker-block__title {
  color: inherit;
}

.section-kicker-block--on-image .section-kicker {
  color: var(--color-primary);
}

.section-kicker-block--on-image .section-kicker-block__title {
  color: var(--color-text-main);
}

/* ----- problem ----- */
.section-problem {
  position: relative;
  background: var(--color-white);
  padding: var(--section-pad-sp) var(--space-lg);
  overflow: hidden;
}

@media (min-width: 1140px) {
  .section-problem {
    padding: var(--section-pad-pc) var(--page-pad-inline-pc);
  }
}

.section-problem__inner {
  max-width: var(--inner-width);
  margin-inline: auto;
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.section-heading-row__deco {
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-heading-row__deco--left img {
  transform: rotate(45deg);
}

.section-heading-row__deco--right img {
  transform: rotate(-45deg);
}

.section-problem__title {
  font-weight: 700;
  font-size: var(--text-xl);
  line-height: 1.4;
  color: var(--color-primary);
  text-align: center;
}

@media (min-width: 768px) {
  .section-problem__title {
    font-size: var(--text-2xl);
  }
}
@media (max-width: 480px) {
  .section-problem__title {
    font-size: var(--text-lg);
  }
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  justify-content: center;
  margin-bottom: var(--space-2xl);
}

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

@media (min-width: 1024px) {
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    margin-inline: auto;
  }
}

.problem-card {
  background: var(--color-white);
  border: 1px solid var(--color-primary);
  border-radius: 16px;
  padding: var(--space-md);
  box-shadow: 4px 4px 7.5px rgba(30, 111, 217, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

/* JS で .problem-grid--reveal を付与時：シャドー同色の幕が上から開き、DOM順で順番に */
.problem-grid--reveal .problem-card {
  position: relative;
}

.problem-grid--reveal .problem-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background: rgba(30, 111, 217, 0.92);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.2s var(--ease-soft);
}

.problem-grid--reveal.is-inview .problem-card::after {
  clip-path: inset(100% 0 0 0);
}

.problem-grid--reveal.is-inview .problem-card:nth-child(1)::after {
  transition-delay: 0s;
}

.problem-grid--reveal.is-inview .problem-card:nth-child(2)::after {
  transition-delay: 0.28s;
}

.problem-grid--reveal.is-inview .problem-card:nth-child(3)::after {
  transition-delay: 0.56s;
}

.problem-grid--reveal.is-inview .problem-card:nth-child(4)::after {
  transition-delay: 0.84s;
}

.problem-grid--reveal.is-inview .problem-card:nth-child(5)::after {
  transition-delay: 1.12s;
}

.problem-grid--reveal.is-inview .problem-card:nth-child(6)::after {
  transition-delay: 1.4s;
}

.problem-card__illo {
  width: 150px;
  height: 146px;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}

.problem-card__illo--lg {
  width: 162px;
  height: 162px;
}

.problem-card__illo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.problem-card__title {
  font-weight: 700;
  font-size: var(--text-md);
  line-height: 1.4;
  color: var(--color-text-main);
}

.problem-card__sub {
  font-weight: 700;
  font-size: var(--text-base);
  line-height: 1.4;
  color: var(--color-text-sub);
  margin-top: var(--space-sm);
}

.section-problem__closing {
  font-weight: 700;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.25;
  text-align: center;
  color: var(--color-accent);
  margin-bottom: var(--space-2xl);
}
@media (max-width: 480px) {
  .section-problem__closing {
    margin-bottom: 0px;
  }
}

.section-problem__watermark {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  pointer-events: none;
  opacity: 0.12;
  font-weight: 900;
  font-size: clamp(48px, 12vw, 120px);
  line-height: 1;
}

/* 装飾テキスト：左方向へ無限スクロール（2ブロック同一内容で継ぎ目なし） */
.section-problem__marquee {
  overflow: hidden;
  width: 100%;
}

.section-problem__marquee-track {
  display: flex;
  width: max-content;
  animation: section-problem-marquee 55s linear infinite;
}

.section-problem__marquee-chunk {
  display: flex;
  flex-shrink: 0;
  align-items: baseline;
  white-space: nowrap;
  padding-inline-end: clamp(2.5rem, 12vw, 6rem);
}

@keyframes section-problem-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-problem__marquee-track {
    animation: none;
  }
}

.section-problem__wm--coral {
  color: #ffb5a7;
}

.section-problem__wm--cyan {
  color: #90e0ef;
}

.section-problem__wm--blue {
  color: #a5d8ff;
}

/* ----- outcome ----- */
.section-outcome {
  background: var(--color-surface);
  padding: var(--section-pad-sp) var(--space-lg);
}

@media (min-width: 1140px) {
  .section-outcome {
    padding: var(--section-pad-pc) var(--page-pad-inline-pc);
  }
}

.section-outcome__inner {
  max-width: 1100px;
  margin-inline: auto;
}

.outcome-panel {
  background: var(--color-white);
  border-radius: 24px;
  padding: var(--space-xl) var(--space-lg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
  .outcome-panel {
    padding: 50px 30px;
  }
}

@media (max-width: 480px) {
  .outcome-panel {
    padding: 20px 15px;
  }
}

.outcome-panel__lead {
  text-align: center;
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text-main);
  margin-bottom: var(--space-xl);
}

@media (max-width: 480px) {
  .outcome-panel__lead {
    margin-bottom: 15px;
    font-size: var(--text-sm);
  }
}

.outcome-carousel__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .outcome-carousel__heading {
    margin-bottom: 15px;
  }
}

.outcome-carousel__h {
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-text-main);
}

@media (max-width: 480px) {
  .outcome-carousel__h {
    font-size: var(--text-md);
  }
}

.outcome-carousel__rule img {
  display: block;
  height: 2px;
  width: 80px;
  object-fit: cover;
}
@media (max-width: 768px) {
  .outcome-carousel__rule img {
    width: 40px;
  }
}
@media (max-width: 480px) {
  .outcome-carousel__rule img {
    width: 20px;
  }
}
.outcome-carousel__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.outcome-carousel__frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 4px 4px 7.5px rgba(0, 0, 0, 0.25);
  max-width: 100%;
}

.outcome-carousel__main {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  aspect-ratio: 600 / 800;
  object-fit: cover;
}

.outcome-carousel__nav {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  background: var(--color-white);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  transition:
    color 0.55s var(--ease-soft),
    border-color 0.55s var(--ease-soft),
    box-shadow 0.55s var(--ease-soft);
}

/* グラデは opacity で重ねてフェード（linear-gradient 直切替は滑らかに補間されないため） */
.outcome-carousel__nav::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    var(--color-accent) 0%,
    var(--color-accent-light) 100%
  );
  opacity: 0;
  transition: opacity 0.55s var(--ease-soft);
  z-index: 0;
}

.outcome-carousel__nav:hover {
  color: var(--color-white);
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(255, 107, 53, 0.35);
}

.outcome-carousel__nav:hover::before {
  opacity: 1;
}

.outcome-carousel__nav:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.outcome-carousel__nav-chevron {
  position: relative;
  z-index: 1;
  display: block;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .outcome-carousel__stage {
    display: block;
  }

  .outcome-carousel__frame {
    position: relative;
    z-index: 1;
  }

  .outcome-carousel__nav {
    position: absolute;
    top: 50%;
    left: auto;
    right: auto;
    width: 30px;
    height: 30px;
    transform: translateY(-50%);
    z-index: 2;
  }

  .outcome-carousel__nav--prev {
    left: -15px;
  }

  .outcome-carousel__nav--next {
    right: -15px;
  }

  .outcome-carousel__nav-chevron {
    width: 10px;
    height: 10px;
  }
}

.outcome-carousel__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.outcome-carousel__thumbs button {
  padding: 0;
  border: 1px solid transparent;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  line-height: 0;
}

.outcome-carousel__thumbs button.is-active {
  border-color: var(--color-accent-light);
  box-shadow: 4px 4px 15px rgba(255, 140, 90, 0.25);
}

.outcome-carousel__thumbs img {
  display: block;
  width: 70px;
  height: 93px;
  object-fit: cover;
}

@media (max-width: 480px) {
  .outcome-carousel__thumbs img {
    width: 50px;
    height: 70px;
  }
}
/* ----- timeline ----- */
.section-timeline {
  position: relative;
  padding: var(--section-pad-sp) var(--space-lg);
  overflow: hidden;
}

@media (min-width: 1140px) {
  .section-timeline {
    padding: var(--section-pad-pc) var(--page-pad-inline-pc);
  }
}

.section-timeline__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #caf0f8;
  background: url("../images/baken6501_fresh_blue_to_mint_green_gradient_background_bright_95e0afd3-8ef9-4bee-ad8b-345f00e8e8f2_1.png") no-repeat center center / cover ;
}

.section-timeline__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin-inline: auto;
}

.timeline-columns {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

@media (min-width: 960px) {
  .timeline-columns {
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
    justify-content: center;
  }
}

.timeline-day {
  flex: 1 1 auto;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 12px 16px 24px;
  max-width: 450px;
  width: 100%;
  margin-inline: auto;
}

.timeline-day--wide {
  flex: 1 1 448px;
}
@media (max-width: 768px) {
  .timeline-day {
    max-width: 500px;
    width: 100%;
  }
}

.timeline-day__label {
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-primary);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.timeline-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

@media (max-width: 480px) {
  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.timeline-item__time {
  flex-shrink: 0;
  font-family: "Inter", var(--font-sans);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-primary);
  background: var(--color-surface);
  padding: 4px 11px;
  border-radius: 4px;
}

@media (max-width: 480px) {
  .timeline-item__body {
    padding: 0 15px;
  }
}

.timeline-item__title {
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--color-text-main);
}

.timeline-item__desc {
  font-size: 15px;
  color: var(--color-text-sub);
  margin-top: 4px;
}

/* ----- CTA banner ----- */
.section-cta-banner {
  position: relative;
  padding: 80px var(--space-lg);
  overflow: hidden;
}

.section-cta-banner__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(167deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  z-index: 0;
}

.section-cta-banner__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/img-final-cta-section.png") center / cover no-repeat;
  opacity: 0.25;
  pointer-events: none;
}

.section-cta-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}

.section-cta-banner__title {
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--color-white);
}

@media (max-width: 480px) {
  .section-cta-banner__title {
    font-size: var(--text-lg);
  }
}
.section-cta-banner__sub {
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--color-white);
  line-height: 1.5;
}

.btn-primary--outline-white {
  border: 2px solid var(--color-white);
  box-shadow: none;
  gap: 5px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-primary--outline-white:hover {
  background: var(--color-white);
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

/* ----- reason ----- */
.section-reason {
  position: relative;
  padding: var(--section-pad-sp) var(--space-lg);
  overflow: hidden;
}

@media (min-width: 1140px) {
  .section-reason {
    padding: var(--section-pad-pc) var(--page-pad-inline-pc);
  }
}

.section-reason__grid-bg {
  position: absolute;
  inset: 0;
  background-color: var(--color-white);
  z-index: 0;
}

.section-reason__grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/img-reason-section.png") center / cover no-repeat;
  opacity: 0.22;
  pointer-events: none;
}

.section-reason__grid-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(208, 228, 245, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(208, 228, 245, 0.35) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.section-reason__inner {
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin-inline: auto;
}

.section-reason .section-kicker-block {
  gap: 12px;
  margin-bottom: 48px;
}

.section-reason .section-kicker {
  font-size: 20px;
  line-height: 21px;
}

@media (min-width: 900px) {
  .section-reason .section-kicker-block {
    margin-bottom: 100px;
  }
}

.reason-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.reason-item {
  position: relative;
  display: flex;
  flex-direction: row;
  gap: var(--space-xl);
  align-items: center;
  padding-top: 56px;
}

@media (min-width: 1000px) {
  .reason-item {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 850px;
    margin-inline: auto;
    padding-top: 0;
  }
  /* 2件目は DOM で .reason-item__photo を先に置き、flex-row のまま画像左・本文右 */
  .reason-item__content {
    flex: 1 1 280px;
    max-width: 524px;
  }

  .reason-item__photo {
    flex-shrink: 0;
  }
}
@media screen and (min-width: 769px) and (max-width: 999px) {
  .reason-item {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 56px;
  }
  .reason-item__content {
    max-width: 100%;
  }
}


.reason-item__point {
  position: absolute;
  top: -48px;
  left: 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--color-primary);
  font-weight: 900;
  line-height: 1;
}

@media (min-width: 900px) {
  .reason-item__point {
    top: -74px;
  }

  /* Figma: point2 は行幅850px上で left≈798.5px（中央基準） */
  .reason-item__point--right {
    left: 93.94%;
    right: auto;
    transform: translateX(-50%);
  }
}

@media (max-width: 899px) {
  .reason-item__point--right {
    left: auto;
    right: 0;
    transform: none;
  }
}

.reason-item__point-label {
  font-family: var(--font-serif-display);
  font-size: 20px;
  font-weight: 700;
}

.reason-item__point-num {
  font-family: var(--font-serif-display);
  font-size: clamp(64px, 12vw, 120px);
  font-weight: 700;
}

@media (min-width: 900px) {
  .reason-item__point-num {
    font-size: 120px;
    line-height: 1;
  }
}

.reason-item__title {
  font-weight: 700;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.4;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

@media (min-width: 900px) {
  .reason-item__title {
    font-size: 28px;
    line-height: 1.4;
  }
}

.reason-item__text {
  font-size: 15px;
  line-height: 27px;
  color: var(--color-text-sub);
  margin-bottom: 24px;
}

.reason-item__checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reason-item__checks li {
  position: relative;
  padding-left: 1.5em;
  font-size: 14px;
  line-height: 21px;
  color: var(--color-text-main);
}

.reason-item__checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-accent);
  font-weight: 700;
}

.reason-item__photo {
  border: 2px solid var(--color-border);
  border-radius: 16px;
  padding: 2px;
  background: var(--color-white);
}

.reason-item__photo img {
  display: block;
  width: 300px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}
@media screen and (max-width: 768px) {
  .reason-item {
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
    padding-top: 56px;
  }
  .reason-item:not(:nth-of-type(2)) {
    flex-direction: column;
  }
  .reason-item__content {
    max-width: 500px;
    width: 100%;
  }
  .reason-item__photo {
    max-width: 500px;
    width: 100%;
  }
  .reason-item__photo img {
    max-width: 500px;
    width: 100%;
    height: 300px;
    object-fit: cover;
  }
  .reason-item__point {
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
  }
  .reason-item__point-num {
    font-size: 40px;
  }
  /* 2番目以外の.reason-item__point-numの位置を中央にする */

  .reason-item__point--right {
      right: 50%;
      transform: translateX(-50%);
  }
  .reason-list {
    gap: 30px;
  }
  .reason-item__text{
    margin-bottom: 16px;
  }
}
@media screen and (max-width: 480px) {
  .reason-item__point{
    left: 35px;
  }
  .reason-item__point--right {
    right: 100%;
    left: 0px;
  }
}

/* ----- instructor ----- */
.section-instructor {
  background: var(--color-bg);
  padding: var(--section-pad-sp) var(--space-lg);
}

@media (min-width: 1140px) {
  .section-instructor {
    padding: var(--section-pad-pc) var(--page-pad-inline-pc);
  }
}

.section-instructor__inner {
  max-width: 1100px;
  margin-inline: auto;
}

.instructor-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
}

@media (min-width: 960px) {
  .instructor-grid {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: var(--space-lg);
  }
}

.instructor-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 300px;
}
@media screen and (max-width: 480px) {
  .instructor-card {
    max-width: 100%;
  }
}

.instructor-card__visual {
  background: var(--color-secondary-light);
  aspect-ratio: 1;
}

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

.instructor-card__body {
  padding: var(--space-md);
}

.instructor-card__name {
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--color-text-main);
}

.instructor-card__role {
  font-size: var(--text-sm);
  color: var(--color-text-sub);
  margin-top: 4px;
}

.instructor-card__bio {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-text-main);
  margin-top: var(--space-sm);
}

/* ----- voice（Figmaに無い補完セクション） ----- */
.section-voice {
  background: var(--color-white);
  padding: var(--section-pad-sp) var(--space-lg);
  border-top: 1px solid var(--color-border);
}

@media (min-width: 1140px) {
  .section-voice {
    padding: var(--section-pad-pc) var(--page-pad-inline-pc);
  }
}

.section-voice__inner {
  max-width: 900px;
  margin-inline: auto;
}

.voice-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-lg);
}

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

.voice-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--space-lg);
}

.voice-card__text {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-main);
}

.voice-card__meta {
  font-size: var(--text-sm);
  color: var(--color-text-sub);
  margin-top: var(--space-md);
}

/* ----- details ----- */
.section-details {
  position: relative;
  padding: var(--section-pad-sp) var(--space-lg);
  overflow: hidden;
}

@media (min-width: 1140px) {
  .section-details {
    padding: var(--section-pad-pc) var(--page-pad-inline-pc);
  }
}

.section-details__bg {
  position: absolute;
  inset: 0;
  background-color: #caf0f8;
  background: url("../images/baken6501_fresh_blue_to_mint_green_gradient_background_bright_95e0afd3-8ef9-4bee-ad8b-345f00e8e8f2_1.png") no-repeat center center / cover ;
  z-index: 0;
}

.section-details__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin-inline: auto;
}

.details-table {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.25);
  max-width: 600px;
  margin-inline: auto;
}

.details-table__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  padding: 10px;
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 480px) {
  .details-table__row {
    grid-template-columns: 150px 1fr;
    align-items: start;
    gap: var(--space-md);
  }
}

.details-table__row:last-child {
  border-bottom: none;
}

.details-table__row dt {
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--color-text-main);
}

.details-table__row dd {
  font-size: var(--text-base);
  color: var(--color-text-main);
  margin: 0;
}

/* ----- faq ----- */
.section-faq {
  position: relative;
  padding: var(--section-pad-sp) var(--space-lg);
  overflow: hidden;
}

@media (min-width: 1140px) {
  .section-faq {
    padding: var(--section-pad-pc) var(--page-pad-inline-pc);
  }
}

.section-faq__pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: rgba(255, 255, 255, 0.88);
}

.section-faq__pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/img-faq-section.png") center / cover no-repeat;
  opacity: 0.4;
  pointer-events: none;
}

.section-faq__pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(90, 106, 122, 0.12) 1px, transparent 1px);
  background-size: 14px 14px;
  pointer-events: none;
}

.section-faq__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin-inline: auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.faq-item__a-text {
  padding: 24px 0;
  font-weight: 700;
  font-size: var(--text-base);
  text-align: left;
  color: var(--color-text-sub);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 24px;
  font-weight: 700;
  font-size: var(--text-base);
  text-align: left;
  color: var(--color-text-main);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
@media (max-width: 480px) {
  .faq-item__q {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .faq-item__a-text {
    padding: 16px;
  }
}

.faq-item__icon {
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-soft);
}

.faq-item__q[aria-expanded="true"] .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px 0;
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-text-sub);
  opacity: 0;
  transition:
    max-height 0.55s var(--ease-soft),
    padding-bottom 0.55s var(--ease-soft),
    opacity 0.45s ease;
}

.faq-item__a.is-open {
  padding-bottom: 20px;
  opacity: 1;
}

@media (max-width: 480px) {
  .faq-item__a {
    padding-inline: 16px;
  }

  .faq-item__a.is-open {
    padding-bottom: 16px;
  }
}

/* ----- contact ----- */
.section-contact {
  position: relative;
  padding: var(--section-pad-sp) var(--space-lg);
  overflow: hidden;
}

@media (min-width: 1140px) {
  .section-contact {
    padding: var(--section-pad-pc) var(--page-pad-inline-pc);
  }
}

.section-contact__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(28deg, var(--color-secondary) 20%, var(--color-primary) 76%);
  z-index: 0;
}

.section-contact__gradient::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/img-contact-form-section.png") center / cover no-repeat;
  opacity: 0.4;
  pointer-events: none;
}

.section-contact__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
}

.section-contact__head {
  text-align: center;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.section-contact__kicker {
  font-size: var(--text-md);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.section-contact__star {
  color: var(--color-accent-light);
}

.section-contact__title {
  font-weight: 700;
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
}
@media (max-width: 480px) {
  .section-contact__title {
    font-size: var(--text-lg);
  }
}
.section-contact__lead {
  font-weight: 500;
  font-size: var(--text-base);
  line-height: 1.8;
  opacity: 0.95;
}

.contact-form {
  background: #fafbfc;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-form__label {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-text-main);
}

.contact-form__req {
  color: var(--color-accent);
  text-decoration: none;
}

.contact-form__input,
.contact-form__textarea,
.contact-form__select {
  width: 100%;
  font: inherit;
  font-size: var(--text-base);
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-text-main);
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: rgba(26, 26, 46, 0.5);
}

.contact-form__input:focus-visible,
.contact-form__textarea:focus-visible,
.contact-form__select:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__submit-wrap {
  display: flex;
  justify-content: center;
  padding-top: var(--space-sm);
}

.contact-form__submit {
  min-width: 240px;
  border: none;
  cursor: pointer;
}

/* ----- footer ----- */
.section-footer {
  background: #1a1a2e;
  color: var(--color-white);
  padding: 64px var(--space-lg) 32px;
}

.section-footer__inner {
  max-width: 1100px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

.section-footer__logo-link {
  display: block;
  padding: 8px 14px;
  background: var(--color-white);
  border-radius: 8px;
}

.section-footer__logo {
  display: block;
  height: 49px;
  width: auto;
}

.section-footer__title {
  font-weight: 700;
  font-size: var(--text-lg);
}

.section-footer__social-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.section-footer__social-title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: var(--text-sm);
}

.section-footer__social {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.section-footer__social-link {
  display: flex;
  opacity: 0.9;
}

.section-footer__social-link:hover {
  opacity: 1;
}

.section-footer__copy {
  width: 100%;
  padding-top: var(--space-md);
  margin-top: var(--space-md);
  font-size: var(--text-xs);
  color: #a0a0a0;
}

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

@media (max-width: 769px) {
  .--sp-only {
    display: block;
  }
}

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

@media (min-width: 769px) {
  .--pc-only {
    display: block;
  }
}

.--bold {
  font-weight: 900;
  font-size: var(--text-xl);
}

@media (max-width: 480px) {
  .--bold {
    font-size: var(--text-lg);
  }
}