/* /public_html/assets/css/style.css - Azuki AI ベーススタイル */

/* ==========================================================================
   CSS Variables (:root)
   ========================================================================== */
:root {
  /* Color */
  --color-bg: #000000;
  --color-bg-secondary: #00122e;
  --color-bg-tertiary: #152331; /* サードBG: 深めの紺 */
  --color-text: #f0f0f0;
  --color-primary: #aa0000;
  --color-accent: #ffd1ee;
  --color-accent-pink: #ffd1ee;
  --color-border: rgba(240, 240, 240, 0.15);

  /* Typography */
  --font-family: "Noto Sans JP", sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.8;
  --letter-spacing: 0.05em;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;

  /* Layout（レスポンシブ: ブレークポイントで拡大） */
  --container-max: 1280px;
  --lp-solution-max: 960px; /* Section3 専用・Section2より短い固定最大幅 */
  --header-height: 64px;

  /* Z-index */
  --z-backdrop: -1;
  --z-particles: 0;
  --z-webgl: 0;
  --z-content: 2;
  --z-header: 10;
  --z-fixed-cta: 50;
  --z-modal: 100;

  /* LP: ガラスパネル（小豆色っぽい透明枠） */
  --lp-screen-bg: rgba(170, 0, 0, 0.08);      /* Azuki Red の薄いベール */
  --lp-screen-border: rgba(170, 0, 0, 0.45);  /* Azuki Red ベースの枠色 */
  --lp-screen-blur: 20px;

  /* LP: Azuki Red テキスト用（背景なし・文字ぼかしなし・枠をネオン色で少しぼかし） */
  --lp-neon-border: 1px solid rgba(255, 105, 180, 0.75);
  --lp-neon-border-glow: 0 0 10px rgba(255, 105, 180, 0.4);
  --lp-label-hover-lift: -4px;
  --lp-label-hover-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 14px rgba(255, 105, 180, 0.5);

  /* LP: Grid（レスポンシブで横幅を有効活用） */
  --lp-gutter: clamp(1.25rem, 4vw, 3rem);
  --lp-section-spacing: clamp(4rem, 10vh, 8rem);
  --lp-visual-min-height: 280px;
  --lp-content-max: 800px;
  /* LP: Section2–6 画像の統一（角丸・オーバーレイ） */
  --lp-img-radius: 12px;
  --lp-img-overlay: rgba(0, 0, 0, 0.25);
  --font-family-logo: "Bungee", sans-serif;
  --font-family-quote: "Playfair Display", serif;
  /* タイポグラフィ: ブレークポイントで段階的に拡大（改行のバランスを保つ） */
  --lp-headline-size: 1.75rem;
  --lp-lead-size: 1.0625rem;
  --lp-body-size: 0.9375rem;
  --lp-hero-headline-size: 2rem;
  --lp-quote-text-size: 1.5rem;
  --lp-quote-author-size: 1rem;
  --lp-quote-lead-size: 1.25rem;

  /* サブページ（About / Policy）本文幅 */
  --content-ch: 80ch;
  --content-max: min(var(--content-ch), 1200px);
}

/* レスポンシブ: 横幅・文字サイズを同じブレークポイントで段階的に拡大 */
@media (min-width: 768px) {
  :root {
    --lp-headline-size: 2rem;
    --lp-lead-size: 1.125rem;
    --lp-body-size: 1rem;
    --lp-hero-headline-size: 2.25rem;
    --lp-quote-text-size: 1.75rem;
    --lp-quote-author-size: 1.0625rem;
    --lp-quote-lead-size: 1.375rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --container-max: 1440px;
    --lp-solution-max: 1080px;
    --lp-content-max: 880px;
    --lp-gutter: clamp(1.5rem, 3vw, 2.5rem);
    --lp-headline-size: 2.25rem;
    --lp-lead-size: 1.1875rem;
    --lp-body-size: 1.0625rem;
    --lp-hero-headline-size: 2.75rem;
    --lp-quote-text-size: 2rem;
    --lp-quote-author-size: 1.125rem;
    --lp-quote-lead-size: 1.5rem;
  }
}

@media (min-width: 1280px) {
  :root {
    --container-max: 1600px;
    --lp-solution-max: 1200px;
    --lp-content-max: 920px;
    --lp-headline-size: 2.5rem;
    --lp-lead-size: 1.25rem;
    --lp-body-size: 1.0625rem;
    --lp-hero-headline-size: 3.25rem;
    --lp-quote-text-size: 2.25rem;
    --lp-quote-author-size: 1.25rem;
    --lp-quote-lead-size: 1.75rem;
  }
}

/* ==========================================================================
   Reset (BEM: グローバルリセット)
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: var(--line-height-base);
  letter-spacing: var(--letter-spacing);
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  transition: opacity 0.4s ease;
}

body.is-fading-out {
  opacity: 0;
}

/* 動画再生中: スクロール不可（待ち） */
body.lp-video-wait {
  overflow: hidden;
  height: 100vh;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

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

a:hover {
  text-decoration: underline;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--space-md);
  font-weight: 700;
  line-height: 1.4;
}

p {
  margin: 0 0 var(--space-md);
}

/* ==========================================================================
   Layout Blocks (BEM)
   ========================================================================== */
/* 全ページ共通: 背景画像（黒→Section2スクロールで画像へフェード） */
.lp-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-backdrop);
  background-color: #000000;
  background-image: url(../img/common/background.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* 黒オーバーレイ（Section2スクロールでフェードアウトし、背景画像が現れる） */
.lp-backdrop__overlay {
  position: absolute;
  inset: 0;
  background-color: #000000;
  pointer-events: none;
}

/* Section1 ヒーロー専用背景（lady3） */
.lp-hero__bg--lady3 {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* ヘッダー真下に動画の上端を合わせる: 上詰め配置 */
.lp-hero__video {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: min(80vh, 100vw * 9 / 16);
  transform: translateX(-50%);
  object-fit: contain;
  object-position: center center;
  filter: brightness(1.02) contrast(1.03);
}

/* ヒーローコンテンツはスクロールで表示（GSAPで制御）枠は .lp-hero__card に統一 */
#lp-hero-content {
  opacity: 0;
  visibility: hidden;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* キネティック見出し（TensorStax風の動的演出用） */
.lp-hero__headline--kinetic {
  letter-spacing: 0.01em;
}

/* 画像差し込み枠（プレースホルダー） */
.lp-media-frame {
  border: 1px solid var(--lp-screen-border);
  border-radius: var(--lp-img-radius);
  background: linear-gradient(
    180deg,
    rgba(170, 0, 0, 0.16) 0%,
    rgba(170, 0, 0, 0.04) 100%
  );
  min-height: max(var(--lp-visual-min-height), 320px);
  display: grid;
  place-content: center;
  text-align: center;
  gap: var(--space-sm);
  position: relative;
  overflow: hidden;
}

/* #ffd1ee の枠：ホバーやめ、なめらかな点滅（ふわっとフェードイン・アウト） */
.lp-screen,
.lp-media-frame {
  position: relative;
  border-color: transparent;
}

.lp-screen::before,
.lp-media-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--color-accent-pink);
  box-shadow: 0 0 18px rgba(255, 209, 238, 0.4);
  pointer-events: none;
}

/* 全セクション画像：ふわっとフェードイン（Opacity） */
@keyframes lp-img-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lp-media-frame__label {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.65);
}

.lp-media-frame__hint {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(240, 240, 240, 0.55);
}

/* Section4 等：画像＋50%暗オーバーレイ（Section3 背景と同じ扱い） */
.lp-media-frame__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}

.lp-media-frame__bg .lp-media-frame__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  animation: lp-img-fade-in 0.8s ease-out forwards;
}

/* Section6: 他セクションと同様のオーバーレイで統一 */
.lp-media-frame__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--lp-img-overlay);
  pointer-events: none;
}

#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-webgl);
  pointer-events: none;
}

/* ヘッダー: スクロールしても固定・角丸・透過 */
.header {
  position: fixed;
  top: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  z-index: var(--z-header);
  padding: var(--space-sm) var(--space-lg);
  /* 左（ロゴ側）100%透明 → 右で既存背景へグラデーション・枠なし */
  background: linear-gradient(to right, transparent 0%, rgba(48, 72, 102, 0.95) 40%, rgba(48, 72, 102, 0.95) 100%);
  border: none;
  border-radius: 12px;
  box-shadow: none;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

/* 案F: スクロール後は solid な暗いヘッダーで進行感 */
.header--scrolled {
  background: rgba(0, 0, 0, 0.85);
  border-radius: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.header__nav {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-primary);
  text-decoration: none;
  font-family: var(--font-family-logo);
  font-size: 1.25rem;
  font-weight: 400;
}

.header__logo:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.header__logo:hover .header__logo-img {
  filter: brightness(1.15) drop-shadow(0 0 6px rgba(255, 209, 238, 0.4));
}

.header__logo-img {
  width: auto;
  height: 28px;
  max-height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  transition: filter 0.25s ease;
}

.header__logo-text {
  font-family: var(--font-family-logo);
  font-size: 1.5rem; /* Azuki AI を約20%拡大 */
}

.header__menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin: 0;
  padding: 0;
  list-style: none;
}

.header__menu li {
  display: flex;
  align-items: center;
}

.header__menu a,
.header__menu .header__menu-link {
  color: var(--color-text);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.header__menu a:hover,
.header__menu .header__menu-link:hover {
  text-decoration: none;
}

/* Azuki Suite プルダウン（リンクではなくボタン） */
.header__menu-link--dropdown {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  padding: 0;
}

.header__menu-item--dropdown {
  position: relative;
}

.header__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  padding: var(--space-sm) 0;
  list-style: none;
  min-width: 12rem;
  background: rgba(48, 72, 102, 0.98);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: calc(var(--z-header) + 1);
  margin-top: var(--space-xs);
}

.header__menu-item--dropdown:hover .header__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header__submenu li {
  display: block;
}

.header__submenu-link {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  color: var(--color-text);
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.header__submenu-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-accent-pink);
  text-decoration: none;
}

/* Contact のみ塗りつぶしボタン */
.header__menu-link--cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--color-primary);
  background: var(--color-primary);
  color: var(--color-text);
}

.header__menu-link--cta:hover {
  background: var(--color-accent-pink);
  border-color: var(--color-accent-pink);
  color: var(--color-primary);
  text-decoration: none;
}

/* 個別ページ: 固定ヘッダーに隠れないよう上部余白を確保 */
.main {
  position: relative;
  z-index: var(--z-content);
  flex: 1;
  padding: var(--space-2xl) var(--space-lg);
  padding-top: calc(var(--header-height) + var(--space-xl));
}

.footer {
  position: relative;
  z-index: var(--z-content);
  padding: var(--space-xl) var(--space-lg);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer__copy {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* ==========================================================================
   Hero (TOP)
   ========================================================================== */
.hero {
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
  padding: var(--space-2xl) 0;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.hero__lead {
  font-size: 1.125rem;
  opacity: 0.9;
}

/* ==========================================================================
   Page (共通ページ)
   ========================================================================== */
.page {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* サービスページのタイトル: ヘッダーAZUKI AIと同じ Bungee */
.page__title {
  font-family: var(--font-family-logo);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.page__lead {
  margin-bottom: var(--space-xl);
}

.page__back {
  margin-top: var(--space-xl);
}

.page__back a {
  color: var(--color-accent);
}

/* ==========================================================================
   Subpage: トップビュー黒・50vh・大フォント / ページ背景 #f0f0f0
   ========================================================================== */
body.subpage .lp-backdrop {
  background-image: none;
  background-color: transparent;
}

body.subpage .main {
  background: #f0f0f0;
  padding-top: 0;
}

.page-hero {
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  min-height: 50vh;
  background: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--header-height) + 1rem + clamp(2rem, 5vw, 4rem));
  padding-right: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
  padding-left: clamp(2rem, 5vw, 4rem);
  box-sizing: border-box;
}

/* サブページヒーロー：背景画像 + 暗いオーバーレイ（Discovery 等） */
.page-hero--img {
  overflow: hidden;
}

.page-hero--img .page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero--img .page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero--img .page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
}

/* Discovery ヒーロー：1→2 ふわっとモーション（白＋赤 → 黒＋白） */
.page--discovery .page-hero__overlay {
  background: #fff;
  animation: discovery-hero-overlay 2s ease-out 0.6s forwards;
}

@keyframes discovery-hero-overlay {
  to {
    background: #000;
  }
}

.page--discovery .page-hero__catch,
.page--discovery .page-hero__title,
.page--discovery .page-hero__lead {
  color: var(--color-primary);
  animation: discovery-hero-text 2s ease-out 0.6s forwards;
}

@keyframes discovery-hero-text {
  to {
    color: #fff;
  }
}

.page--discovery .page-hero__lead {
  animation-name: discovery-hero-text-lead;
}

@keyframes discovery-hero-text-lead {
  to {
    color: rgba(255, 255, 255, 0.8);
  }
}

.page--discovery .page-hero__catch {
  animation-name: discovery-hero-text-catch;
}

@keyframes discovery-hero-text-catch {
  to {
    color: rgba(255, 255, 255, 0.95);
  }
}

.page-hero--img .page-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-hero__subtitle {
  font-size: clamp(1.625rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  margin: 0 0 0.5rem;
}

.page-hero__title {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(3.25rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-align: center;
  margin: 0 0 1rem;
}

.page-hero__catch {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  margin: 0 0 1rem;
  font-weight: 500;
}

.page-hero__lead {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin: 0;
}

@media (max-width: 767px) {
  .page-hero__subtitle {
    font-size: clamp(1rem, 5vw, 2rem);
  }
  .page-hero__title {
    font-size: clamp(2rem, 10vw, 4rem);
  }
}

/* ==========================================================================
   About ページ（ヒーロー白背景・ロゴモーション・Brand Philosophy / Vision / Manifesto）
   ========================================================================== */
.page--about .page-hero,
.page-hero--about {
  background: #fff;
}

.page--about .page-hero__title,
.page--about .page-hero__lead {
  color: var(--color-primary);
}

.page-hero__title--bungee {
  font-family: "Bungee", sans-serif;
  font-size: clamp(2.5rem, 12vw, 6rem);
  letter-spacing: 0.02em;
}

.page-hero__lead--bungee {
  font-family: "Bungee", sans-serif;
  font-size: clamp(0.875rem, 2vw, 1.25rem);
  color: var(--color-primary);
  letter-spacing: var(--letter-spacing);
}

.about-hero__logo {
  position: relative;
  width: clamp(120px, 30vw, 280px);
  height: clamp(120px, 30vw, 280px);
  margin-bottom: var(--space-lg);
}

.about-hero__logo-initial,
.about-hero__logo-big {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.about-hero__logo-initial {
  z-index: 1;
}

.about-hero__logo-big {
  z-index: 0;
  opacity: 0;
}

.page--about .page__content,
.page--policy .page__content {
  padding: var(--space-2xl) var(--space-lg);
  background: #fff;
}

body.subpage .main:has(.page--about),
body.subpage .main:has(.page--policy) {
  background: #fff;
}

body.subpage .main:has(.page--contact) {
  background: #000;
}

.about__section {
  max-width: var(--content-max);
  margin: 0 auto var(--space-2xl);
}

.about__section--cta {
  text-align: center;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-xl);
}

.about__heading {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  letter-spacing: var(--letter-spacing);
  color: var(--color-primary);
  margin: 0 0 var(--space-lg);
  padding-bottom: var(--space-sm);
  padding-left: var(--space-md);
  border-bottom: 2px solid var(--color-primary);
  border-left: 4px solid var(--color-primary);
}

.about__lead {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: var(--line-height-base);
  margin: 0 0 var(--space-md);
  color: var(--color-primary);
}

.about__body {
  font-size: 1rem;
  line-height: var(--line-height-base);
  letter-spacing: var(--letter-spacing);
  color: #333;
}

.about__body p {
  margin: 0 0 var(--space-md);
}

.about__body p:last-child {
  margin-bottom: 0;
}

.about__list {
  margin: 0 0 var(--space-md);
  padding-left: 1.5em;
  list-style-type: disc;
}

.about__list li {
  margin-bottom: var(--space-xs);
}

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

.about__img-wrap {
  margin: var(--space-xl) auto;
  max-width: 100%;
}

.about__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.about__cta-lead {
  font-size: 1.125rem;
  margin: 0 0 var(--space-md);
  color: #333;
}

.about__quote {
  margin: 0 0 var(--space-xl);
  padding: var(--space-lg) var(--space-xl);
  border-left: 4px solid var(--color-primary);
  background: rgba(170, 0, 0, 0.04);
  border-radius: 0 12px 12px 0;
}

.about__quote-text {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-primary);
  margin: 0;
  line-height: var(--line-height-base);
}

/* About ページ：パンくず・目次・トップへ戻る（Policy と同様） */
.about__breadcrumb {
  max-width: none;
  margin: 0 0 var(--space-md);
  font-size: 0.875rem;
  color: #666;
}

.about__breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}

.about__breadcrumb a:hover {
  text-decoration: underline;
}

.about__toc {
  max-width: var(--content-max);
  margin: 0 auto var(--space-2xl);
  padding: var(--space-xl) var(--space-lg);
  background: rgba(170, 0, 0, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(170, 0, 0, 0.15);
}

.about__toc-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-primary);
  border-left: none;
  padding-left: 0;
}

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

.about__toc-link {
  display: block;
  padding: var(--space-xs) 0;
  color: #333;
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.about__toc-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.about__back-top {
  margin-top: var(--space-2xl);
  margin-bottom: 0;
  font-size: 0.9375rem;
}

.about__back-top a {
  color: var(--color-primary);
  text-decoration: none;
}

.about__back-top a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .about__section {
    margin-bottom: clamp(3rem, 6vw, 4rem);
  }
  .about__img-wrap {
    max-width: 400px;
  }
  .about__toc {
    padding: var(--space-xl) var(--space-2xl);
  }
}

/* About: 大画面でも1カラム（カードを中央寄せ） */
@media (min-width: 1024px) {
  .page__content--about {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: var(--space-2xl);
    padding-right: var(--space-2xl);
  }

  .page__content--about .about__sections {
    min-width: 0;
  }
}

/* About: カードステージ & モーダル */
.about__card-stage {
  position: relative;
  min-height: 60vh;
  max-width: var(--content-max);
  margin: 0 auto var(--space-2xl);
}

.about-card {
  position: absolute;
  width: clamp(180px, 20vw, 260px);
  border-radius: 16px;
  border: 2px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0) rotate(0deg);
  opacity: 1;
}

.about-card--brand {
  transform: translate(-50%, 0) rotate(-15deg);
}

.about-card--manifesto {
  transform: translate(-50%, 0) rotate(15deg);
}

@media (min-width: 768px) {
  .about-card--brand {
    left: 20%;
  }
  .about-card--vision {
    left: 50%;
  }
  .about-card--manifesto {
    left: 80%;
  }
}

@media (min-width: 1024px) {
  .about-card--brand {
    left: 17%;
  }
  .about-card--vision {
    left: 50%;
  }
  .about-card--manifesto {
    left: 83%;
  }
}

.about-card__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.about-card__label {
  font-family: var(--font-family-logo);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1d1d1f;
}

.about__card-stage.is-animated .about-card--brand {
  animation: about-card-fall-a 0.9s cubic-bezier(0.25, 0.9, 0.3, 1.3) 0.15s forwards;
}

.about__card-stage.is-animated .about-card--vision {
  animation: about-card-fall-b 0.95s cubic-bezier(0.25, 0.9, 0.3, 1.3) 0.4s forwards;
}

.about__card-stage.is-animated .about-card--manifesto {
  animation: about-card-fall-c 1s cubic-bezier(0.25, 0.9, 0.3, 1.3) 0.7s forwards;
}

@keyframes about-card-fall-a {
  0% {
    transform: translate(-50%, -260%) rotate(-18deg);
    opacity: 0;
  }
  70% {
    transform: translate(-50%, 10%) rotate(3deg);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 0) rotate(-15deg);
  }
}

@keyframes about-card-fall-b {
  0% {
    transform: translate(-50%, -260%) rotate(10deg);
    opacity: 0;
  }
  65% {
    transform: translate(-50%, 8%) rotate(-4deg);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 0) rotate(0deg);
  }
}

@keyframes about-card-fall-c {
  0% {
    transform: translate(-50%, -260%) rotate(16deg);
    opacity: 0;
  }
  70% {
    transform: translate(-50%, 6%) rotate(-2deg);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 0) rotate(15deg);
  }
}

.about-card:hover,
.about-card:focus-visible {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
}

/* モバイルでは縦方向の落下距離を短くしレイアウトをシンプルに */
@media (max-width: 767px) {
  .about__card-stage {
    min-height: 480px;
  }
  .about-card {
    width: min(60vw, 260px);
  }
}

.about-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: var(--z-modal);
}

.about-modal--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.about-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.about-modal__dialog {
  position: relative;
  max-width: min(720px, 90vw);
  max-height: 80vh;
  padding: var(--space-2xl) var(--space-xl);
  border-radius: 16px;
  background: #ffffff;
  color: #111111;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  transform: translateY(10px) scale(0.96);
  transition: transform 0.25s ease;
}

.about-modal--open .about-modal__dialog {
  transform: translateY(0) scale(1);
}

.about-modal__title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  margin: 0 0 var(--space-lg);
  color: var(--color-primary);
}

.about-modal__body {
  font-size: 1rem;
  line-height: var(--line-height-base);
  letter-spacing: var(--letter-spacing);
  color: #333333;
}

.about-modal__body p {
  margin: 0 0 var(--space-md);
}

.about-modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  border: none;
  padding: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: #111111;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-modal__close:hover,
.about-modal__close:focus-visible {
  background: rgba(0, 0, 0, 0.12);
}

body.about-modal-open {
  overflow: hidden;
}

/* ==========================================================================
   Policy (Privacy) ページ：目次・番号付きセクション・CTAカード
   ========================================================================== */
.page-hero--policy {
  background: #000;
  min-height: 38vh;
}

.page-hero--policy .page-hero__title,
.page-hero--policy .page-hero__lead {
  color: #fff;
}

.page-hero__subcopy {
  font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  margin: 0 auto var(--space-sm);
  max-width: 42ch;
}

.page-hero__enacted {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin: 0;
}

.page__content--policy {
  counter-reset: policy-section 0;
}

.policy__breadcrumb {
  max-width: var(--content-max);
  margin: 0 auto var(--space-md);
  font-size: 0.875rem;
  color: #666;
}

.policy__breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}

.policy__breadcrumb a:hover {
  text-decoration: underline;
}

.policy__toc {
  max-width: var(--content-max);
  margin: 0 auto var(--space-2xl);
  padding: var(--space-xl) var(--space-lg);
  background: rgba(170, 0, 0, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(170, 0, 0, 0.15);
}

.policy__toc-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-primary);
  border-left: none;
  padding-left: 0;
}

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

.policy__toc-link {
  display: block;
  padding: var(--space-xs) 0;
  color: #333;
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.policy__toc-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.page--policy .policy__section:has(.policy__heading) {
  counter-increment: policy-section;
}

.page--policy .policy__heading::before {
  content: counter(policy-section) ". ";
}

.policy__section-lead {
  font-weight: 500;
  font-size: 1.0625rem;
  margin: 0 0 var(--space-md);
}

.policy__section--highlight {
  background: rgba(170, 0, 0, 0.04);
  padding: var(--space-xl) var(--space-lg);
  margin-left: calc(-1 * var(--space-lg));
  margin-right: calc(-1 * var(--space-lg));
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
  border-radius: 12px;
  border: 1px solid rgba(170, 0, 0, 0.12);
}

.policy__contact-card {
  margin-top: var(--space-lg);
  text-align: center;
}

.policy__contact-btn {
  display: inline-block;
  text-decoration: none;
}

.policy__contact-btn:hover {
  text-decoration: none;
}

.policy__enacted-body {
  margin-bottom: 0;
}

.policy__enacted {
  font-size: 0.9375rem;
  color: #666;
  margin: 0;
}

/* About: CTA ではハイライト枠の背景色を使わない */
.page--about .policy__section--highlight {
  background: transparent;
  border-color: transparent;
}

.policy__back-top {
  margin-top: var(--space-2xl);
  margin-bottom: 0;
  font-size: 0.9375rem;
}

.policy__back-top a {
  color: var(--color-primary);
  text-decoration: none;
}

.policy__back-top a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .policy__toc {
    padding: var(--space-xl) var(--space-2xl);
  }
  .policy__section--highlight {
    margin-left: auto;
    margin-right: auto;
    max-width: calc(var(--content-ch) + var(--space-2xl) * 2);
  }
}

/* Policy: 大画面で2カラム（目次サイド + 本文広め） */
@media (min-width: 1024px) {
  .page__content--policy {
    display: grid;
    grid-template-columns: 280px 1fr;
    grid-template-areas: "breadcrumb breadcrumb" "toc content";
    gap: 0 var(--space-2xl);
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: var(--space-2xl);
    padding-right: var(--space-2xl);
  }

  .page__content--policy .policy__breadcrumb {
    grid-area: breadcrumb;
    max-width: none;
    margin-bottom: var(--space-lg);
  }

  .page__content--policy .policy__toc {
    grid-area: toc;
    position: sticky;
    top: calc(var(--header-height) + var(--space-lg));
    max-width: none;
    margin: 0;
  }

  .page__content--policy .policy__sections {
    grid-area: content;
    min-width: 0;
  }

  .page__content--policy .policy__section,
  .page__content--policy .about__section {
    max-width: none;
  }

  .page__content--policy .policy__section--highlight {
    max-width: none;
  }
}

/* ==========================================================================
   Form (Contact)
   ========================================================================== */
.form {
  max-width: 560px;
  margin-top: var(--space-xl);
  padding: var(--space-2xl) var(--space-xl);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

/* Contact: ヒーロー内ロボット画像 */
.page--contact .page-hero__visual {
  margin: var(--space-lg) 0 0;
}

.page--contact .page-hero__img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.page--contact .contact-layout {
  max-width: var(--container-max);
  margin: var(--space-2xl) auto;
  padding: 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.page--contact .form {
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  max-width: 672px; /* 560px × 1.2（20%拡大） */
  width: 100%;
}

.page--contact .contact-form-card {
  border-radius: 12px;
  background: #ffffff;
  padding: var(--space-xl) 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.page--contact .contact-form-card:first-of-type {
  border-top: none;
  padding-top: 0;
}

.page--contact .contact-form-card + .contact-form-card {
  margin-top: var(--space-xl);
}

.contact-name {
  margin-bottom: var(--space-lg);
}

.contact-name__fields {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xs);
}

.contact-name__field {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-size: 0.875rem;
}

.contact-name__label {
  opacity: 0.8;
}

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

.form__choices--column {
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .page--contact .contact-layout {
    align-items: center;
  }
}

.form__heading {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
}

.form__note {
  font-size: 0.875rem;
  line-height: var(--line-height-base);
  margin: 0 0 var(--space-lg);
}

.form__row {
  margin-bottom: var(--space-lg);
}

.form__label {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: 0.875rem;
}

.form__row > label:not(.form__choice):not(.form__agree) {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: 0.875rem;
}

.form__required {
  color: var(--color-primary);
  font-size: 0.75rem;
  margin-left: 0.25em;
}

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

.form__choice {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  width: auto;
}

/* お問い合わせ種別：ラジオボタンは1行でテキストまで含めて横長に */
.form__choices--column .form__choice {
  width: 100%;
}

.form__choice input[type="radio"] {
  flex-shrink: 0;
}

.form__row select {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.form__row input,
.form__row textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form__row input:focus,
.form__row textarea:focus,
.form__row select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(170, 0, 0, 0.25);
  background-color: #fff;
}

.form__row--agree {
  margin-top: calc(-1 * var(--space-sm));
  font-size: 0.875rem;
}

/* スパム対策：ハニーポット（画面上・スクリーンリーダーからも隠す） */
.form__row--honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.form__submit {
  margin-top: var(--space-xl);
  text-align: center;
}

.form__agree {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form__agree input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.form__submit button {
  padding: var(--space-md) var(--space-xl);
  background: var(--color-primary);
  color: var(--color-text);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
}

.form__submit button:hover {
  background: var(--color-accent-pink);
  color: var(--color-primary);
}

/* Contact ページ: .main が #f0f0f0 のため、フォームは明示的にダークテキストにする */
.page--contact .form,
.page--contact .form .form__heading,
.page--contact .form .form__note,
.page--contact .form .form__label,
.page--contact .form label,
.page--contact .form .form__choice {
  color: #1d1d1f;
}

.page--contact .form input,
.page--contact .form textarea,
.page--contact .form select {
  color: #1d1d1f;
  background-color: #ffffff;
  border-color: rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Discovery（Azuki Discovery サービスページ・高単価級デザイン）
   ========================================================================== */
.page--discovery {
  --disc-section-gap: clamp(3rem, 8vw, 6rem);
  --disc-heading-size: clamp(1.5rem, 3vw, 1.875rem);
  --disc-heading-spacing: 0.02em;
  --disc-body-max: 65ch;
  --disc-radius: 12px;
  --disc-radius-lg: 16px;
  --disc-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --disc-shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.08);
  --disc-primary-tint: rgba(170, 0, 0, 0.06);
  --disc-primary-border: rgba(170, 0, 0, 0.2);
}

.page__content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}

.page--discovery .page__content {
  padding: 0 10% var(--disc-section-gap);
  box-sizing: border-box;
}

.discovery__visual {
  float: right;
  width: 16.666%;
  max-width: 200px;
  margin-left: var(--space-lg);
  margin-bottom: var(--space-md);
  border-radius: var(--disc-radius-lg);
  overflow: hidden;
  box-shadow: var(--disc-shadow);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.discovery__visual:hover {
  box-shadow: var(--disc-shadow-hover);
}

.discovery__visual img {
  width: 100%;
  height: auto;
  display: block;
}

.page--discovery .page__content::after {
  content: '';
  display: table;
  clear: both;
}

.discovery__section {
  margin-bottom: var(--disc-section-gap);
  max-width: var(--disc-body-max);
}

.discovery__section.discovery__section--wide {
  max-width: none;
}

/* 対象者とアンケートの役割：CTA直後のため上部余白を提供内容セクション前と同程度に */
[aria-labelledby="discovery-audience-heading"].discovery__section {
  margin-top: var(--disc-section-gap);
}

.discovery__heading {
  font-size: var(--disc-heading-size);
  font-weight: 700;
  letter-spacing: var(--disc-heading-spacing);
  color: var(--color-primary);
  margin: 0 0 var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-primary);
}

/* こんな課題に：セクション全体を左右余白なし・白ベース背景 */
[aria-labelledby="discovery-issues-heading"].discovery__section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #fff;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
  padding-top: var(--disc-section-gap);
  padding-bottom: var(--disc-section-gap);
  box-sizing: border-box;
}

.discovery__issues-subtitle {
  margin: 0 0 var(--space-sm);
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  text-align: center;
}

#discovery-issues-heading.discovery__heading {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: calc(var(--space-lg) * 2);
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-align: center;
}

@media (max-width: 767px) {
  #discovery-issues-heading.discovery__heading {
    font-size: clamp(1.25rem, 6vw, 3rem);
  }
}

@media (max-width: 480px) {
  #discovery-issues-heading.discovery__heading {
    font-size: clamp(1.125rem, 7vw, 2.25rem);
  }
}

/* 4軸診断：タイトルを「こんな課題に」と同じスタイル（中央・太字）＋説明文 */
#discovery-axes-heading.discovery__heading {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: var(--space-lg);
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-align: center;
}

[aria-labelledby="discovery-axes-heading"] .discovery__lead--full {
  text-align: center;
  margin-bottom: var(--space-xl);
}

@media (max-width: 767px) {
  #discovery-axes-heading.discovery__heading {
    font-size: clamp(1.25rem, 6vw, 3rem);
  }
}

@media (max-width: 480px) {
  #discovery-axes-heading.discovery__heading {
    font-size: clamp(1.125rem, 7vw, 2.25rem);
  }
}

/* Analytics：コンセプトセクション（白背景・左右余白なし・Discovery「こんな課題に」と同様） */
.page--analytics .discovery__section--concept {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #fff;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
  padding-top: clamp(4.5rem, 12vw, 7.5rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
  box-sizing: border-box;
  margin-bottom: 0;
}

/* Analytics：提供価値セクションのタイトル上部余白（Concept と同程度） */
.page--analytics [aria-labelledby="analytics-value-heading"].discovery__section {
  padding-top: clamp(4.5rem, 12vw, 7.5rem);
}

/* Analytics：コンセプトセクションのロボット画像（中央配置） */
.page--analytics .analytics-concept__visual {
  text-align: center;
  margin-bottom: var(--space-xl);
}

/* Analytics：コンセプト本文ブロック（中央配置・幅を倍に） */
.page--analytics .analytics-concept__inner {
  max-width: 110ch;
  margin-left: auto;
  margin-right: auto;
}

/* Analytics：コンセプト「Azuki Analytics は…」センターブロック（全幅・黒背景・リッチレイアウト） */
.page--analytics .analytics-concept__center {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  margin-top: 0;
  padding: var(--space-2xl) var(--space-xl);
  box-sizing: border-box;
  background: var(--color-bg);
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.page--analytics .analytics-concept__center-inner {
  max-width: var(--disc-body-max);
  margin: 0 auto;
  text-align: left;
}

.page--analytics .analytics-concept__center-title {
  margin: 0 0 var(--space-md);
  font-size: var(--disc-heading-size);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.page--analytics .analytics-concept__center-text {
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.page--analytics .analytics-concept__center-text--sub {
  margin-top: var(--space-lg);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.page--analytics .analytics-concept__center-list {
  list-style: none;
  margin: var(--space-xl) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.page--analytics .analytics-concept__center-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: 1rem 1.5rem;
  border-radius: var(--disc-radius-lg);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(24px);
}

.page--analytics .analytics-concept__center-item .analytics__phase-num {
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
}

.page--analytics .analytics-concept__center-item-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.page--analytics .analytics-concept__center-label {
  font-family: "Bungee", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page--analytics .analytics-concept__center-item-text {
  font-size: 0.95rem;
}

/* Analytics：コンセプト中央ブロック専用のスクロールフェードイン（50% 表示後） */
.page--analytics .analytics-concept__center.analytics-concept__center--animating {
  opacity: 0;
  transform: translateY(24px);
}

.page--analytics
  .analytics-concept__center.analytics-concept__center--animating.analytics-concept__center--visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .page--analytics .analytics-concept__center.analytics-concept__center--animating {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 767px) {
  .page--analytics .analytics-concept__center {
    padding: var(--space-xl) var(--space-md);
  }
}

/* Analytics：コンセプト「見えない罠・考える力を守れ」ブロック（ROI由来） */
.page--analytics .analytics-concept__kicker {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin: 0 auto var(--space-sm);
  text-align: center;
  max-width: var(--disc-body-max);
}

.page--analytics .analytics-concept__subtitle {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 var(--space-md);
  text-align: left;
  max-width: var(--disc-body-max);
  line-height: 1.3;
}

.page--analytics .analytics-concept__lead {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 600;
  line-height: 1.7;
  margin: 0 0 var(--space-xl);
  text-align: left;
  max-width: var(--disc-body-max);
}

.page--analytics .analytics-concept__subheading {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  font-weight: 700;
  color: var(--color-primary);
  margin: var(--space-xl) auto 0.75rem;
  text-align: center;
  max-width: var(--disc-body-max);
  line-height: 1.4;
}

.page--analytics .analytics-concept__subheading:first-of-type {
  margin-top: 0;
}

.page--analytics .analytics-concept__body {
  margin: 0 0 var(--space-lg);
  line-height: var(--line-height-base);
  max-width: var(--disc-body-max);
  text-align: left;
}

/* コンセプト本文＋画像を左右 6:4 で配置 */
.page--analytics .analytics-concept__split {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: var(--space-xl);
  align-items: start;
  margin-bottom: var(--space-xl);
}

.page--analytics .analytics-concept__split-left,
.page--analytics .analytics-concept__split-right {
  min-width: 0;
}

.page--analytics .analytics-concept__split .analytics-concept__body {
  max-width: 100%;
}

.page--analytics .analytics-concept__split .analytics-concept__ref {
  max-width: 100%;
}

.page--analytics .analytics-concept__split .analytics-concept__ref-img {
  max-width: 100%;
}

@media (max-width: 767px) {
  .page--analytics .analytics-concept__split {
    grid-template-columns: 1fr;
  }
}

/* コンセプト inner 内：リードの幅を inner に合わせる */

/* Analytics：コンセプト内の引用（画像＋出典リンク） */
.page--analytics .analytics-concept__ref {
  margin: 0 0 var(--space-xl);
  max-width: var(--disc-body-max);
}

.page--analytics .analytics-concept__ref-img {
  width: 100%;
  max-width: 37.5rem;
  height: auto;
  display: block;
  margin-bottom: var(--space-sm);
}

.page--analytics .analytics-concept__ref-caption {
  font-size: 0.75rem;
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

.page--analytics .analytics-concept__ref-caption a {
  color: var(--color-primary);
  text-decoration: underline;
}

.page--analytics .analytics-concept__ref-caption a:hover {
  text-decoration: none;
}

.page--analytics .analytics-concept__robot {
  width: clamp(12rem, 27vw, 18rem);
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .page--analytics .analytics-concept__robot {
    width: clamp(9rem, 33vw, 13.5rem);
  }
}

/* Analytics：捨てる・見極める・組み直すを縦並び・左寄せ・「・」で表示 */
.page--analytics .analytics-concept__three {
  list-style: none;
  padding-left: 0;
  margin: 0 auto var(--space-lg);
  max-width: var(--disc-body-max);
  text-align: left;
}

.page--analytics .analytics-concept__three li {
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-base);
}

/* Analytics：コンセプト・提供価値・Philosophy を Discovery 同様の中央・大見出し＋説明文 */
.page--analytics #analytics-concept-heading.discovery__heading,
.page--analytics #analytics-value-heading.discovery__heading,
.page--analytics #analytics-philosophy-heading.discovery__heading {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: var(--space-lg);
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-align: center;
}

.page--analytics #analytics-value-heading.discovery__heading {
  color: var(--color-primary);
}

/* Philosophy + 動画 CTA を 1 コンテンツブロックとして表示 */
.page--analytics .analytics-philosophy-cta {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: var(--disc-section-gap);
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.page--analytics .analytics-philosophy-cta .discovery__section--philosophy {
  width: 100%;
  left: auto;
  margin-left: 0;
  margin-right: 0;
  border-radius: 0;
  padding-bottom: 0;
}

/* Philosophy 下半分：動画を背景に暗オーバーレイ＋コンテンツを前面に */
.page--analytics .discovery__section-philosophy__lower {
  position: relative;
  width: 100%;
  min-height: min(85vh, 960px);
  margin-top: var(--space-2xl);
  overflow: hidden;
  border-radius: 0;
}

.page--analytics .discovery__section-philosophy__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top center;
}

.page--analytics .discovery__section-philosophy__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.85) 100%);
  pointer-events: none;
}

.page--analytics .discovery__section-philosophy__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(110ch, var(--container-max));
  margin-left: auto;
  margin-right: auto;
  padding: clamp(3rem, 8vw, 5rem) var(--space-lg) clamp(4rem, 12vw, 7rem);
  box-sizing: border-box;
}

.page--analytics .discovery__section-philosophy__content .discovery__cta-inner {
  position: static;
  transform: none;
  margin-top: var(--space-2xl);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Philosophy セクション：CTAの上に配置・左右余白なし・黒背景・白系テキスト */
.page--analytics .discovery__section--philosophy {
  width: 100vw;
  max-width: none;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: clamp(4.5rem, 12vw, 7.5rem);
  padding-right: var(--space-lg);
  padding-bottom: var(--space-2xl);
  padding-left: var(--space-lg);
  background: #000;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page--analytics .discovery__section--philosophy > * {
  width: 100%;
  max-width: 110ch;
  box-sizing: border-box;
}

.page--analytics .discovery__section--philosophy > .discovery__section-philosophy__lower {
  max-width: none;
}

/* Philosophy 見出し：ヒーローと同じ構成（キャッチ＋タイトル） */
.page--analytics .discovery__section-philosophy__heading-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: var(--space-lg);
}

.page--analytics .discovery__section--philosophy .discovery__heading-catch {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.6;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  margin: 0 0 1rem;
}

.page--analytics .discovery__section--philosophy #analytics-philosophy-heading.discovery__heading {
  color: #fff;
  font-size: clamp(3.25rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.page--analytics .discovery__section--philosophy .discovery__lead--full {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
}

@media (min-width: 768px) {
  .page--analytics .discovery__section--philosophy .discovery__lead--full {
    font-size: 1.375rem;
  }
}

.page--analytics .discovery__section--philosophy .discovery__lead--full strong {
  color: #ffd1ee;
}

.page--analytics .discovery__section--philosophy .discovery__lead--philosophy-summary {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.6;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.page--analytics .discovery__section--philosophy .discovery__lead--philosophy-summary strong {
  font-size: 1.15em;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffd1ee;
}

.page--analytics .discovery__section--philosophy .discovery__subheading {
  color: rgba(255, 255, 255, 0.95);
}

.page--analytics .discovery__section--philosophy .discovery__flow {
  color: rgba(255, 255, 255, 0.9);
}

.page--analytics .discovery__section--philosophy .discovery__flow strong {
  color: #fff;
}

.page--analytics .discovery__section--philosophy .discovery__flow p {
  color: rgba(255, 255, 255, 0.85);
}

.page--analytics .discovery__section--philosophy .discovery__flow li {
  border-left-color: var(--color-primary);
}


.page--analytics .discovery__section--philosophy .discovery__flow li:hover {
  background: rgba(255, 255, 255, 0.06);
}

.page--analytics [aria-labelledby="analytics-concept-heading"] .discovery__lead--full {
  text-align: left;
  margin-bottom: var(--space-lg);
}

.page--analytics [aria-labelledby="analytics-value-heading"] > .discovery__lead--full,
.page--analytics [aria-labelledby="analytics-philosophy-heading"] .discovery__lead--full {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.page--analytics [aria-labelledby="analytics-concept-heading"] .discovery__lead--full:last-of-type,
.page--analytics [aria-labelledby="analytics-philosophy-heading"] .discovery__lead--full:last-of-type {
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .page--analytics [aria-labelledby="analytics-concept-heading"] .discovery__lead--full {
    max-width: var(--disc-body-max);
    margin-left: 0;
    margin-right: auto;
  }
  .page--analytics [aria-labelledby="analytics-value-heading"] > .discovery__lead--full,
  .page--analytics [aria-labelledby="analytics-philosophy-heading"] .discovery__lead--full {
    max-width: var(--disc-body-max);
    margin-left: auto;
    margin-right: auto;
  }
}

/* Analytics：提供価値セクション下部の「Azuki Analytics」流れるバー（横幅MAX・フルブリード・固定） */
.page--analytics .analytics-suite-bar {
  margin: var(--space-lg) 0 var(--space-xl);
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 1.25rem 0;
  overflow: hidden;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 80px;
  z-index: 10;
}

.page--analytics .analytics-suite-bar__track {
  display: flex;
  width: max-content;
  animation: analytics-suite-flow 25s linear infinite;
}

.page--analytics .analytics-suite-bar__strip {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2rem;
  padding: 0 2rem;
  flex-shrink: 0;
}

.page--analytics .analytics-suite-bar__text {
  font-family: var(--font-family-logo);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  white-space: nowrap;
  color: var(--color-primary);
  letter-spacing: 0.08em;
}

@keyframes analytics-suite-flow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page--analytics .analytics-suite-bar__track {
    animation: none;
  }
}

@media (max-width: 767px) {
  .page--analytics #analytics-concept-heading.discovery__heading,
  .page--analytics #analytics-value-heading.discovery__heading {
    font-size: clamp(1.25rem, 6vw, 3rem);
  }
  .page--analytics .discovery__section--philosophy #analytics-philosophy-heading.discovery__heading {
    font-size: clamp(2rem, 10vw, 4rem);
  }
}

@media (max-width: 480px) {
  .page--analytics #analytics-concept-heading.discovery__heading,
  .page--analytics #analytics-value-heading.discovery__heading {
    font-size: clamp(1.125rem, 7vw, 2.25rem);
  }
  .page--analytics .discovery__section--philosophy #analytics-philosophy-heading.discovery__heading {
    font-size: clamp(2rem, 10vw, 4rem);
  }
}

.discovery__lead {
  margin: 0 0 var(--space-lg);
  line-height: var(--line-height-base);
  max-width: var(--disc-body-max);
}

.discovery__lead--full {
  max-width: none;
}

.discovery__list {
  margin: 0 0 var(--space-lg);
  padding-left: 1.5rem;
  line-height: var(--line-height-base);
}

.discovery__list li {
  margin-bottom: var(--space-sm);
}

.discovery__list--cards {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.discovery__list--cards .discovery__card {
  margin: 0;
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: var(--disc-radius);
  box-shadow: var(--disc-shadow);
  border-left: 4px solid var(--color-primary);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.discovery__list--cards .discovery__card:hover {
  box-shadow: var(--disc-shadow-hover);
  background: var(--disc-primary-tint);
}

/* こんな課題に：丸＋浮遊アニメ＋ロゴアクセント */
.discovery__list--float-circles {
  list-style: none;
  padding-left: 0;
  margin-bottom: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: clamp(1rem, 2vw, 1.5rem);
  width: 100%;
}

.discovery__list--float-circles .discovery__card--circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  flex: 1;
  min-width: 10.4rem;
  max-width: none;
}

.discovery__card-circle {
  width: 100%;
  aspect-ratio: 1;
  max-width: 18.2rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--disc-shadow);
  border: 3px solid var(--disc-primary-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 1.3rem;
  box-sizing: border-box;
  animation: discovery-float 4s ease-in-out infinite;
}

.discovery__list--float-circles .discovery__card--circle:nth-child(1) .discovery__card-circle { animation-delay: 0s; }
.discovery__list--float-circles .discovery__card--circle:nth-child(2) .discovery__card-circle { animation-delay: 0.2s; }
.discovery__list--float-circles .discovery__card--circle:nth-child(3) .discovery__card-circle { animation-delay: 0.4s; }
.discovery__list--float-circles .discovery__card--circle:nth-child(4) .discovery__card-circle { animation-delay: 0.6s; }
.discovery__list--float-circles .discovery__card--circle:nth-child(5) .discovery__card-circle { animation-delay: 0.8s; }

/* こんな課題に：ロボット＋右から左へゆっくりスクロール（section4同様・浮遊なし） */
.discovery__issues-wrap {
  position: relative;
  margin: var(--space-xl) 0;
}

.discovery__issues-center {
  text-align: center;
  margin-bottom: var(--space-lg);
  pointer-events: none;
}

.discovery__issues-robot {
  width: clamp(12rem, 27vw, 18rem);
  height: auto;
  display: inline-block;
  object-fit: contain;
}

.discovery__issues-track {
  overflow: hidden;
  width: 100%;
  padding: var(--space-md) 0;
}

.discovery__list--scroll {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: var(--space-lg);
  width: max-content;
  animation: discovery-issues-flow 50s linear infinite;
}

.discovery__list--scroll .discovery__card--circle {
  flex: 0 0 auto;
  width: clamp(10rem, 22vw, 14rem);
  max-width: 18.2rem;
  margin: 0;
}

.discovery__list--scroll .discovery__card-circle {
  position: relative;
  max-width: 100%;
  animation: none;
  border-radius: var(--disc-radius, 12px);
  aspect-ratio: 2 / 2.1;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 1rem 1.25rem 1.25rem;
}

.discovery__list--scroll .discovery__card-circle::before {
  content: '';
  flex: 0 0 40%;
  min-height: 0;
}

.discovery__list--scroll .discovery__card-circle .discovery__card-label {
  flex: 1;
  min-height: 0;
  text-align: left;
  padding-top: 0.5rem;
}

.discovery__list--scroll .discovery__card-label strong {
  color: var(--color-primary);
  font-weight: 700;
}

.discovery__list--scroll .discovery__card-circle .discovery__card-logo {
  position: absolute;
  left: 50%;
  top: 20%;
  transform: translate(-50%, -50%);
  width: 5.2rem;
  height: auto;
  margin: 0;
  z-index: 1;
}

@keyframes discovery-issues-flow {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .discovery__list--scroll {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
}

.discovery__card-circle .discovery__card-logo {
  width: 2.6rem;
  height: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  margin-bottom: 0.65rem;
}

.discovery__card-circle .discovery__card-label {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.45;
  text-align: center;
  color: #1d1d1f;
}

@keyframes discovery-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (prefers-reduced-motion: reduce) {
  .discovery__card-circle {
    animation: none;
  }
}

@media (max-width: 767px) {
  .discovery__list--float-circles:not(.discovery__list--scroll) {
    flex-direction: column;
    align-items: center;
  }
  .discovery__list--float-circles .discovery__card--circle {
    min-width: 0;
    max-width: 18.2rem;
  }
  .discovery__card-circle {
    max-width: 18.2rem;
  }
  .discovery__card-circle .discovery__card-logo {
    width: 2.25rem;
  }
  .discovery__card-circle .discovery__card-label {
    font-size: 0.9rem;
  }
  .discovery__issues-robot {
    width: clamp(9rem, 33vw, 13.5rem);
  }
  .discovery__list--scroll .discovery__card--circle {
    width: clamp(9rem, 26vw, 12rem);
  }
}

.discovery__axis-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.discovery__axis-card {
  padding: 1rem;
  background: var(--disc-primary-tint);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  text-align: center;
  border-radius: var(--disc-radius);
  border: 1px solid var(--disc-primary-border);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.discovery__axis-card:hover {
  background: rgba(170, 0, 0, 0.1);
  box-shadow: var(--disc-shadow);
}

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

.discovery__table-wrap {
  overflow-x: auto;
  margin: var(--space-lg) 0;
  border-radius: var(--disc-radius);
  box-shadow: var(--disc-shadow);
  background: #fff;
}

.discovery__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.discovery__table th,
.discovery__table td {
  padding: 1rem 1.25rem;
  border: 1px solid var(--disc-primary-border);
  text-align: left;
  vertical-align: top;
}

.discovery__table thead th {
  background: var(--disc-primary-tint);
  color: var(--color-primary);
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 2px solid var(--color-primary);
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}

.discovery__table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02);
}

.discovery__table td:first-child {
  font-weight: 600;
  width: 12rem;
  color: var(--color-primary);
}

.discovery__audience .discovery__subheading {
  font-size: 1.125rem;
  font-weight: 600;
  margin: var(--space-lg) 0 var(--space-sm);
}

.discovery__audience .discovery__subheading:first-child {
  margin-top: 0;
}

.discovery__section .discovery__subheading {
  font-size: 1.125rem;
  font-weight: 600;
  margin: var(--space-lg) 0 var(--space-sm);
}

.discovery__section .discovery__subheading:first-child {
  margin-top: 0;
}

.discovery__audience p {
  margin: 0 0 var(--space-md);
  line-height: var(--line-height-base);
}

.discovery__note {
  margin-top: var(--space-lg);
  padding: 1rem 1.25rem;
  background: var(--disc-primary-tint);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--disc-radius) var(--disc-radius) 0;
  font-size: 0.9375rem;
  line-height: var(--line-height-base);
}

/* Analytics: 提供価値 Phase1–3 フロー（流れを強調・幅は concept__inner と同程度） */
.analytics__process {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--space-2xl);
  margin-left: auto;
  margin-right: auto;
  max-width: 143ch;
  position: relative;
}

.analytics__phase {
  background: var(--lp-screen-bg);
  border: 1px solid var(--lp-screen-border);
  border-radius: var(--lp-img-radius);
  padding: var(--space-xl);
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  color: #152331;
}

.analytics__phase:hover {
  border-color: rgba(170, 0, 0, 0.6);
  box-shadow: 0 4px 24px rgba(170, 0, 0, 0.12);
}

.analytics__phase-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.analytics__phase-head-left {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
  min-width: 0;
}

.analytics__phase-head-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.analytics__phase-head-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
  border-radius: var(--lp-img-radius);
}

.analytics__phase-num {
  flex-shrink: 0;
  width: 6rem;
  height: 6rem;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-family-logo);
  font-size: 3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 1;
  position: relative;
}

/* 番号円の外枠：#ffd1ee でなめらかに点滅 */
.analytics__process .analytics__phase-num {
  animation: analytics-phase-num-blink 2s ease-in-out infinite;
}

@keyframes analytics-phase-num-blink {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow: 0 0 0 20px #fff, 0 0 0 24px rgba(255, 255, 255, 0.4), 0 0 120px rgba(255, 255, 255, 0.7);
  }
}

.analytics__phase-label-wrap {
  flex: 1;
  min-width: 0;
}

.analytics__phase-en {
  display: block;
  font-family: var(--font-family-logo);
  font-size: 2.5rem;
  color: var(--color-primary);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-sm);
}

.analytics__phase-title {
  margin: 0;
  font-size: 2.75rem;
  font-weight: 700;
  color: #152331;
  line-height: 1.3;
}

.analytics__phase-tagline {
  margin: 0 0 var(--space-lg) 0;
  padding-left: 0;
  font-size: 1.125rem;
  color: var(--color-accent-pink);
  font-weight: 500;
  text-align: left;
}

@media (max-width: 767px) {
  .analytics__phase-head {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .analytics__phase-head-right {
    justify-content: center;
  }

  .analytics__phase-head-img {
    max-width: 200px;
  }

  .analytics__phase-tagline {
    padding-left: 0;
  }
}

.analytics__phase-body {
  margin-top: var(--space-md);
}

.analytics__phase-body p {
  margin: 0 0 var(--space-md);
  line-height: var(--line-height-base);
  color: #152331;
}

.analytics__phase-body p:last-child {
  margin-bottom: 0;
}

.analytics__phase-body .discovery__table-wrap {
  margin: var(--space-lg) 0;
}

/* AI適性マトリクス表：レベル・領域名の幅を文字列に合わせる */
.analytics__phase-body .discovery__table th:first-child,
.analytics__phase-body .discovery__table th:nth-child(2),
.analytics__phase-body .discovery__table td:first-child,
.analytics__phase-body .discovery__table td:nth-child(2) {
  width: 1%;
  white-space: nowrap;
}

.analytics__phase-body .discovery__table td:first-child {
  width: 1%;
}

.analytics__phase-body .discovery__note {
  margin-top: var(--space-md);
}

.analytics__process-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-lg) 0;
  position: relative;
}

.analytics__process-connector-line {
  display: none;
}

.analytics__process-connector-arrow {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(170, 0, 0, 0.2);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  animation: analytics-flow-pulse 2s ease-in-out infinite;
}

@keyframes analytics-flow-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.05); }
}

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

.analytics__phase-list-item {
  padding: var(--space-lg);
  line-height: var(--line-height-base);
  background: #fff;
  border-radius: var(--lp-img-radius);
  border-left: 4px solid var(--color-primary);
  box-shadow: 0 2px 12px rgba(21, 35, 49, 0.08);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  min-width: 0;
  opacity: 0;
  transition: opacity 1.4s ease-out, box-shadow 0.2s ease, border-color 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .analytics__phase-list-item {
    opacity: 1;
    transition-delay: 0s;
  }
}

.discovery__section.discovery--visible .analytics__phase-list-item:nth-child(1) {
  opacity: 1;
  transition-delay: 0s;
}

.discovery__section.discovery--visible .analytics__phase-list-item:nth-child(2) {
  opacity: 1;
  transition-delay: 0.3s;
}

.discovery__section.discovery--visible .analytics__phase-list-item:nth-child(3) {
  opacity: 1;
  transition-delay: 0.6s;
}

.analytics__phase-list-item:hover {
  box-shadow: 0 4px 20px rgba(21, 35, 49, 0.12);
  border-left-color: rgba(170, 0, 0, 0.85);
}

.analytics__phase-list-item:last-child {
  margin-bottom: 0;
}

.analytics__phase-list-key {
  display: block;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  font-size: 1.375rem;
  letter-spacing: 0.04em;
  font-family: var(--font-family-logo);
  line-height: 1.3;
  flex-shrink: 0;
}

.analytics__phase-list-label {
  display: block;
  font-weight: 700;
  font-size: 1.125rem;
  color: #152331;
  margin-bottom: var(--space-md);
  line-height: 1.3;
  flex-shrink: 0;
}

.analytics__phase-list-item p {
  margin: 0;
  font-size: 0.9375rem;
  color: #152331;
  flex: 1;
  min-height: 0;
}

.analytics__phase-list-item em {
  display: block;
  margin-top: var(--space-xs);
  font-size: 0.875rem;
  color: rgba(21, 35, 49, 0.8);
}

@media (min-width: 768px) {
  .analytics__process {
    margin-top: var(--space-2xl);
    gap: 0;
  }

  .analytics__phase {
    padding: var(--space-2xl);
  }

  .analytics__phase-num {
    width: 7rem;
    height: 7rem;
    font-size: 3.5rem;
  }

  .analytics__phase-en {
    font-size: 2.75rem;
  }

  .analytics__phase-title {
    font-size: 3rem;
  }

  .analytics__phase-tagline {
    font-size: 1.25rem;
  }

  .analytics__phase-list {
    flex-direction: row;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
  }

  .analytics__phase-list-item {
    flex: 1;
    padding: var(--space-xl);
    min-width: 0;
  }

  .analytics__phase-list-key {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
  }

  .analytics__phase-list-label {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
  }

  .analytics__process-connector {
    padding: var(--space-xl) 0;
  }

  .analytics__process-connector-arrow {
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .analytics__process {
    max-width: 143ch;
  }
}

.discovery__flow {
  list-style: none;
  padding-left: 0;
  margin: 0;
  counter-reset: flow;
}

.discovery__flow li {
  position: relative;
  padding: var(--space-md) 0 var(--space-md) 3.5rem;
  margin-bottom: var(--space-lg);
  counter-increment: flow;
  border-left: 3px solid var(--disc-primary-border);
  margin-left: 1rem;
  padding-left: 3.5rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

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

.discovery__flow li:hover {
  background: var(--disc-primary-tint);
}

.discovery__flow li::before {
  content: counter(flow);
  position: absolute;
  left: -1rem;
  top: var(--space-md);
  width: 2rem;
  height: 2rem;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  box-sizing: border-box;
}

.discovery__flow strong {
  display: block;
  margin-bottom: var(--space-xs);
}

.discovery__flow p {
  margin: 0;
  line-height: var(--line-height-base);
}

.discovery__contact-cta {
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem) 0;
  margin-top: var(--disc-section-gap);
}

/* Analytics：お問い合わせCTAの上下余白を詰める */
.page--analytics .discovery__contact-cta {
  margin-top: 0;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.discovery__contact-cta-lead {
  margin: 0 0 var(--space-lg);
  font-size: 1.125rem;
  color: #1d1d1f;
}

.discovery__cta-btn--go {
  font-family: "Bungee", sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  padding: 1rem 2.5rem;
}

/* Analytics：お問い合わせCTAセクション（フル幅白背景） */
.page--analytics .discovery__section--contact {
  width: 100vw;
  max-width: none;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: calc(-1 * var(--disc-section-gap));
  margin-bottom: 0;
  padding: 0 var(--space-lg);
  background-color: #f0f0f0;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

/* Discovery：お問い合わせCTAセクション（フル幅白背景） */
.page--discovery .discovery__section--contact {
  width: 100vw;
  max-width: none;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: var(--disc-section-gap);
  padding: clamp(3rem, 8vw, 5rem) var(--space-lg);
  background-color: #ffffff;
  box-sizing: border-box;
}

.page--analytics .discovery__contact-cta-robot,
.page--discovery .discovery__contact-cta-robot {
  display: block;
  margin: 0 auto var(--space-md);
  width: clamp(9rem, 20vw, 13.5rem);
  height: auto;
}

.discovery__cta {
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem) var(--space-2xl);
  margin-top: var(--disc-section-gap);
  background: linear-gradient(135deg, var(--disc-primary-tint) 0%, rgba(0, 0, 0, 0.03) 100%);
  border-radius: var(--disc-radius-lg);
  box-shadow: var(--disc-shadow);
  max-width: var(--disc-body-max);
  margin-left: auto;
  margin-right: auto;
}

/* Discovery CTA: 動画再生後に表示（トップページと同じ仕様）・横幅ページ最大 */
.discovery__cta--video {
  padding: 0;
  margin-top: var(--disc-section-gap);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  max-width: none;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  box-sizing: border-box;
}

.discovery__cta-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 85vh;
  overflow: hidden;
}

.discovery__cta-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.discovery__cta-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
}

.discovery__cta-inner {
  position: absolute;
  left: 50%;
  bottom: 15%;
  transform: translate(-50%, 20px);
  z-index: 2;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
  pointer-events: none;
}

.discovery__cta-inner.discovery__cta-inner--visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.discovery__cta-lead {
  margin: 0 0 var(--space-lg);
  font-size: 1.125rem;
  color: #fff;
}

.discovery__cta--video .discovery__cta-lead {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.discovery__cta-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(170, 0, 0, 0.25);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.discovery__cta-btn:hover {
  background: var(--color-accent-pink);
  color: var(--color-primary);
  text-decoration: none;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(170, 0, 0, 0.3);
}

body.subpage .page__content {
  color: #1d1d1f;
}

body.subpage .discovery__table th,
body.subpage .discovery__table td {
  border-color: rgba(0, 0, 0, 0.12);
}

body.subpage .discovery__table th {
  background: rgba(170, 0, 0, 0.06);
  color: var(--color-primary);
}

body.subpage .analytics__phase {
  background: rgba(170, 0, 0, 0.06);
  border-color: rgba(170, 0, 0, 0.25);
}

body.subpage .analytics__phase-title {
  color: #152331;
}

body.subpage .analytics__phase-tagline {
  color: var(--color-primary);
}

body.subpage .analytics__phase-list-item p,
body.subpage .analytics__phase-body p {
  color: #152331;
}

body.subpage .analytics__phase-list-item em {
  color: rgba(21, 35, 49, 0.75);
}

/* ==========================================================================
   Selfcheck (3分診断)
   ========================================================================== */
.selfcheck {
  max-width: var(--lp-content-max);
  margin: var(--space-xl) auto 0;
}

.selfcheck__heading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.selfcheck__intro {
  margin-bottom: var(--space-xl);
}

.selfcheck__intro-lead {
  font-size: 1.0625rem;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0 0 var(--space-md);
  padding: var(--space-md) var(--space-lg);
  line-height: var(--line-height-base);
  border: 2px solid var(--color-primary);
  border-radius: 4px;
}

.selfcheck__intro-list {
  margin: 0 0 var(--space-xl);
  padding-left: 1.25em;
  color: #374151;
  font-size: 0.9375rem;
  line-height: var(--line-height-base);
}

.selfcheck__intro-list li {
  margin-bottom: var(--space-sm);
}

.selfcheck__intro-list li:last-child {
  margin-bottom: 0;
}

.selfcheck__intro-go-wrap {
  text-align: center;
  margin: 0;
}

.selfcheck__go {
  display: inline-block;
  padding: var(--space-md) var(--space-2xl);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.selfcheck__go:hover {
  background: var(--color-accent-pink);
  color: var(--color-primary);
}

.selfcheck__go:focus {
  outline: 2px solid var(--color-accent-pink);
  outline-offset: 2px;
}

.selfcheck__form-wrap {
  margin: 0;
}

.selfcheck__deck {
  position: relative;
  min-height: 320px;
}

.selfcheck__deck .selfcheck__card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}

.selfcheck__deck .selfcheck__card--current {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  z-index: 1;
}

.selfcheck__deck .selfcheck__card--leave {
  opacity: 0;
  transform: translateX(-24px);
  pointer-events: none;
}

.selfcheck__deck .selfcheck__card--next {
  transform: translateX(24px);
}

/* 結果カード（14番）: 動画背景 + スコア + CTA */
.selfcheck__result-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--lp-img-radius);
}

.selfcheck__result-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.selfcheck__result-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.selfcheck__result-inner {
  position: relative;
  z-index: 1;
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}

.selfcheck__result-inner.selfcheck__result-inner--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.selfcheck__result-main {
  width: 100%;
  max-width: 520px;
}

.selfcheck__result-score-panel {
  width: 100%;
  padding: var(--space-lg);
  box-sizing: border-box;
  border-radius: var(--lp-img-radius);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.selfcheck__result-score-panel--danger {
  background: rgba(170, 0, 0, 0.65);
  border-color: rgba(255, 209, 238, 0.85);
}

.selfcheck__result-score-panel--warning {
  background: rgba(200, 120, 0, 0.6);
  border-color: rgba(255, 180, 80, 0.85);
}

.selfcheck__result-score-panel--safe {
  background: rgba(0, 100, 80, 0.55);
  border-color: rgba(0, 180, 140, 0.8);
}

.selfcheck__result-score-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.selfcheck__result-score-panel .selfcheck__score-label,
.selfcheck__result-score-panel .selfcheck__score-number,
.selfcheck__result-score-panel .selfcheck__score-rank {
  color: #fff;
}

.selfcheck__result-score-panel .selfcheck__score-number {
  font-size: 1.75rem;
  font-weight: 900;
}

.selfcheck__result-score-note {
  margin: var(--space-md) 0 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.9);
}

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

.selfcheck__result-bar {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.selfcheck__result-bar-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.95);
}

.selfcheck__result-bar-value {
  font-weight: 700;
  margin-left: 0.25em;
}

.selfcheck__result-bar-track {
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
}

.selfcheck__result-bar-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 4px;
  transition: width 0.4s ease;
}


.selfcheck__result-cta-wrap {
  margin: 0;
}

.selfcheck__go--link {
  display: inline-block;
  padding: var(--space-md) var(--space-2xl);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
  border: 2px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.selfcheck__go--link:hover {
  background: var(--color-accent-pink);
  color: var(--color-primary);
  text-decoration: none;
}

.selfcheck__go--link:focus {
  outline: 2px solid var(--color-accent-pink);
  outline-offset: 2px;
}

.selfcheck__form {
  margin: 0;
}

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

.selfcheck__question-block {
  padding: var(--space-lg);
  background: #f0f0f0;
  border: 1px solid #e5e7eb;
  border-radius: var(--lp-img-radius);
}

/* 設問カード内: 明るい背景用のテキスト・選択肢 */
.selfcheck__question-block .selfcheck__category-label {
  background: rgba(170, 0, 0, 0.12);
  color: #aa0000;
  border-color: rgba(170, 0, 0, 0.35);
}

.selfcheck__question-block .selfcheck__question-text {
  color: #1a1a1a;
}

.selfcheck__question-block .selfcheck__sub-text {
  color: #4b5563;
  opacity: 1;
}

.selfcheck__question-block .selfcheck__option {
  background: #ffffff;
  border-color: #d1d5db;
  color: #374151;
}

.selfcheck__question-block .selfcheck__option:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.selfcheck__question-block .selfcheck__option input[type="radio"] {
  accent-color: var(--color-primary);
}

.selfcheck__question-block .selfcheck__option input[type="radio"]:checked + span {
  color: var(--color-primary);
}

.selfcheck__category-label {
  display: inline-block;
  margin-bottom: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent-pink);
  background: rgba(170, 0, 0, 0.2);
  border: 1px solid rgba(255, 209, 238, 0.3);
  border-radius: 4px;
}

.selfcheck__question-text {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
}

.selfcheck__sub-text {
  margin: 0 0 var(--space-md);
  font-size: 0.9375rem;
  color: var(--color-text);
  opacity: 0.85;
}

.selfcheck__options {
  display: grid;
  gap: var(--space-sm);
}

.selfcheck__option {
  display: block;
  padding: var(--space-md);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  transition: border-color 0.2s, background 0.2s;
}

.selfcheck__option:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 209, 238, 0.4);
}

.selfcheck__option input[type="radio"] {
  margin-right: var(--space-sm);
  accent-color: var(--color-primary);
}

.selfcheck__option input[type="radio"]:checked + span {
  font-weight: 700;
  color: var(--color-primary);
}

.selfcheck__option input[type="radio"]:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.selfcheck__submit-wrap {
  margin: var(--space-2xl) 0 0;
}

.selfcheck__submit {
  display: block;
  width: 100%;
  padding: var(--space-md) var(--space-xl);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  background: var(--color-primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.selfcheck__submit:hover {
  background: var(--color-accent-pink);
  color: var(--color-primary);
}

.selfcheck__submit:focus {
  outline: 2px solid var(--color-accent-pink);
  outline-offset: 2px;
}

.selfcheck__result {
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 4px solid var(--color-primary);
}

.selfcheck__result-title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-xl);
}

.selfcheck__score-box {
  text-align: center;
  margin: var(--space-xl) 0;
  padding: var(--space-xl);
  border-radius: var(--lp-img-radius);
}

.selfcheck__score-box--danger {
  background: rgba(170, 0, 0, 0.25);
  border: 1px solid var(--color-primary);
  color: var(--color-accent);
}

.selfcheck__score-box--warning {
  background: rgba(200, 120, 0, 0.2);
  border: 1px solid rgba(255, 180, 80, 0.6);
  color: #ffb450;
}

.selfcheck__score-box--safe {
  background: rgba(0, 100, 80, 0.15);
  border: 1px solid rgba(0, 180, 140, 0.5);
  color: #7fffd4;
}

.selfcheck__score-label {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: var(--space-sm);
}

.selfcheck__score-number {
  display: block;
  font-size: clamp(3rem, 10vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
}

.selfcheck__score-rank {
  display: block;
  margin-top: var(--space-sm);
  font-size: 1.25rem;
  font-weight: 700;
}

.selfcheck__chart-wrap {
  max-width: 400px;
  margin: var(--space-xl) auto;
}

.selfcheck__chart-wrap canvas {
  max-width: 100%;
  margin: 0 auto;
}

.selfcheck__chart-fallback {
  text-align: center;
  color: var(--color-accent);
  margin: var(--space-lg) 0 0;
}

.selfcheck__advices-title {
  font-size: 1.25rem;
  margin: var(--space-xl) 0 var(--space-md);
}

.selfcheck__advice-card {
  margin-top: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: rgba(255, 255, 255, 0.04);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 4px 4px 0;
}

.selfcheck__retry-wrap {
  margin-top: var(--space-xl);
  text-align: center;
}

.selfcheck__retry {
  padding: var(--space-sm) var(--space-md);
  font: inherit;
  color: var(--color-accent);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}

.selfcheck__retry:hover {
  color: var(--color-accent-pink);
}

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

@media (min-width: 768px) {
  .selfcheck__question-text {
    font-size: 1.125rem;
  }
  .selfcheck__sub-text {
    font-size: 1rem;
  }
}

/* ==========================================================================
   案C: フルブリードの章区切り（40〜60vh・1行・静かな宣言）
   ========================================================================== */
.lp-divider {
  position: relative;
  z-index: var(--z-content);
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(4rem, 12vh, 8rem) 0;
  background: var(--color-bg);
}

.lp-divider__text {
  margin: 0;
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: none;
  color: rgba(240, 240, 240, 0.7);
}

/* 区切りとSection2の間もグラデーションで背景を透かす */
.lp-body__inner .lp-divider::after {
  content: '';
  display: block;
  height: clamp(2rem, 6vh, 4rem);
  margin: 0 calc(-1 * var(--lp-gutter));
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.2) 25%,
    rgba(170, 0, 0, 0.03) 50%,
    rgba(0, 0, 0, 0.2) 75%,
    transparent 100%
  );
  pointer-events: none;
}

@media (min-width: 768px) {
  .lp-divider {
    min-height: 55vh;
  }
  .lp-divider__text {
    letter-spacing: 0.5em;
  }
}

/* ==========================================================================
   LP: Section2以降の単一コンテナ（.lp-body__inner）
   ========================================================================== */
.lp-body {
  position: relative;
  z-index: var(--z-content);
}

.lp-body__inner {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--lp-gutter);
  border-radius: 16px;
  overflow: hidden;
  /* 背景が透けるよう、全体でグラデーション（中央やや明るめ） */
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.25) 15%,
    rgba(0, 0, 0, 0.18) 35%,
    rgba(0, 0, 0, 0.18) 65%,
    rgba(0, 0, 0, 0.25) 85%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

/* ==========================================================================
   LP: Section 共通（主張 → 理由 → 余白）
   ========================================================================== */
.lp-section {
  padding: var(--lp-section-spacing) 0;
  position: relative;
  z-index: var(--z-content);
}

/* Section5→6の間隔を揃える（5の下余白を詰める） */
#roi {
  padding-bottom: 0;
}

#test {
  padding-top: var(--lp-section-spacing);
}

/* セクション間：グラデーションで背景が透ける帯（最後のセクション以外） */
.lp-body__inner .lp-section:not(:last-child)::after {
  content: '';
  display: block;
  height: clamp(2rem, 6vh, 4rem);
  margin: var(--lp-section-spacing) calc(-1 * var(--lp-gutter)) 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.2) 25%,
    rgba(170, 0, 0, 0.03) 50%,
    rgba(0, 0, 0, 0.2) 75%,
    transparent 100%
  );
  pointer-events: none;
}

/* イメージ用スペース（画像・ビジュアル用の余白ブロック） */
.lp-section__visual {
  min-height: var(--lp-visual-min-height);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

/* Section5: ROI 画像ブロック（作り直し・枠に画像を必ず一杯に） */
.lp-roi__visual {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  width: 100%;
}

.lp-roi__visual-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--lp-img-radius);
  overflow: hidden;
}

.lp-roi__img-wrap {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
}

.lp-roi__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: 0;
  animation: lp-img-fade-in 0.8s ease-out forwards;
}

/* Section5: 他セクションと同様のオーバーレイで統一 */
.lp-roi__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--lp-img-overlay);
  pointer-events: none;
}

.lp-section__head {
  margin-bottom: var(--space-xl);
}

/* 見出し＋ロゴを行に（Section2,3,5,6で使用） */
.lp-section__headline-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin: 0 0 var(--space-md);
}

.lp-section__headline-logo {
  width: 2.5rem;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

@media (min-width: 768px) {
  .lp-section__headline-logo {
    width: 3rem;
  }
}

.lp-section__headline-row .lp-section__headline {
  margin: 0;
}

.lp-section__headline {
  font-size: var(--lp-headline-size);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--color-text);
  margin: 0 0 var(--space-md);
}

.lp-section__headline--primary {
  color: var(--color-primary);
  padding: 0.15em 0.5em;
  border-radius: 6px;
  border: var(--lp-neon-border);
  box-shadow: var(--lp-neon-border-glow);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.lp-section__lead {
  font-size: var(--lp-lead-size);
  line-height: var(--line-height-base);
  color: rgba(240, 240, 240, 0.85);
  margin: 0;
  max-width: var(--lp-content-max);
}

.lp-section__body {
  font-size: var(--lp-body-size);
  line-height: var(--line-height-base);
  color: rgba(240, 240, 240, 0.78);
  margin: 0;
  max-width: var(--lp-content-max);
}

.lp-section__tail {
  margin-top: var(--lp-section-spacing);
}

/* ==========================================================================
   LP: Hero〜Quote ラップ（終了した暗い動画を Section1.5 まで背景として残す）
   ========================================================================== */
.lp-hero-quote-wrap {
  position: relative;
  /* チラつき防止: レイヤー化 */
  isolation: isolate;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* 動画エリア: 1回再生後ここで固定。高さはビューの上60% */
.lp-hero__sticky-bg {
  position: relative;
  height: 60vh;
  min-height: 320px;
  width: 100%;
  z-index: 0;
  overflow: hidden;
  flex-shrink: 0;
}

.lp-hero__sticky-bg .lp-hero__bg--lady3,
.lp-hero__sticky-bg .lp-hero__overlay {
  position: absolute;
  inset: 0;
}

/* ラップ内のヒーロー: 動画の続き（被せずその下）で失敗確定カードを表示 */
.lp-hero-quote-wrap .lp-hero {
  position: relative;
  width: 100%;
  min-height: 40vh;
  height: auto;
  margin: 0;
  z-index: 1;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--lp-gutter);
  box-sizing: border-box;
}

.lp-hero-quote-wrap .lp-hero .lp-hero__content {
  pointer-events: auto;
  /* 初期は非表示。動画終了後にJSで浮き出し */
  opacity: 0;
  transform: translateY(48px);
}

/* Section1.5: 失敗確定カードとかぶらないようマージンを確保・背景は透明 */
.lp-hero-quote-wrap .lp-quote {
  position: relative;
  z-index: 1;
  background: transparent;
  margin-top: 4vh;
}

/* ==========================================================================
   LP: Hero（パララックス・スクロールエフェクト）
   ========================================================================== */
/* Section1: 高さを100vhに固定し、コンテナは absolute で配置して余白を生まない（ラップ外で単体の場合は従来どおり） */
.lp-hero {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 0;
  position: relative;
  overflow: visible;
  width: 100%;
  max-width: 100vw;
}

/* ロゴシーケンス（中央に出現して弾ける Azuki-logo2） */
.lp-hero__logo-sequence {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.lp-hero__logo-img {
  max-width: 260px;
  width: 40vw;
  height: auto;
}

/* 通常時はオーバーレイなし。動画終了時のみ JS で --ended を付与 */
.lp-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
  pointer-events: none;
  transition: background 0.5s ease-out;
}

.lp-hero__overlay--ended {
  background: rgba(0, 0, 0, 0.5);
}

.lp-hero__content {
  position: relative;
  left: auto;
  top: auto;
  z-index: 2;
  max-width: var(--lp-content-max);
  width: 100%;
  margin: 0 auto;
}

/* 動画終了後・カード表示時（JSで付与） */
.lp-hero__content--visible {
  opacity: 1;
  transform: translateY(0);
}

/* 案A: 宣言＝カード外の全幅1行タイポ（Azuki Red グラデで背景と対比） */
.lp-hero__declaration {
  margin: 0 0 var(--space-xl);
  width: 100%;
  max-width: 100%;
  font-family: var(--font-family-logo);
  font-size: clamp(3rem, 12vw, 7rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.15em;
  text-align: center;
  color: transparent;
  background: linear-gradient(135deg, #aa0000 0%, #ff4444 50%, #aa0000 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

@media (min-width: 768px) {
  .lp-hero__declaration {
    letter-spacing: 0.2em;
  }
}

.lp-hero__declaration-word {
  display: inline-block;
}

/* Section1 失敗確定カード: 宣言の直下・余白でつなぐ */
.lp-hero__card {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0;
  background: rgba(48, 72, 102, 0.9);
  border-radius: 12px;
  padding: var(--space-xl) var(--space-2xl);
  border: 1px solid transparent;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.85);
}

.lp-hero__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--color-accent-pink);
  box-shadow: 0 0 18px rgba(255, 209, 238, 0.4);
  pointer-events: none;
}

.lp-hero__headline {
  font-size: var(--lp-hero-headline-size);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--color-text);
  margin: 0 0 var(--space-lg);
}

.lp-hero__sub {
  font-size: var(--lp-lead-size);
  line-height: var(--line-height-base);
  color: rgba(240, 240, 240, 0.8);
  margin: 0 0 var(--space-2xl);
}

.lp-hero__cite {
  font-size: 0.875rem;
  color: rgba(240, 240, 240, 0.5);
  margin-top: var(--space-md);
}

.lp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-xl);
}

/* 案D: 触りたくなるCTA（lift + シャドウ + フォーカス + 光の帯） */
.lp-hero__cta--primary {
  position: relative;
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--color-primary);
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.9375rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.lp-hero__cta--primary:hover {
  background: var(--color-accent-pink);
  color: var(--color-primary);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(170, 0, 0, 0.4);
}

.lp-hero__cta--primary:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

/* ホバー時のみ光の帯が流れる（0.6s で1回） */
.lp-hero__cta--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: none;
}

.lp-hero__cta--primary:hover::after {
  animation: lp-cta-shine 0.6s ease-out forwards;
}

@keyframes lp-cta-shine {
  to { left: 100%; }
}

.lp-hero__cta--secondary {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  color: rgba(240, 240, 240, 0.9);
  font-size: 0.875rem;
  text-decoration: none;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.lp-hero__cta--secondary:hover {
  border-color: rgba(240, 240, 240, 0.35);
  color: var(--color-text);
  text-decoration: none;
}

/* ==========================================================================
   LP: Quote (Section 1.5) — 案B: 編集ページ風（非対称・セリフ体・左端ライン）
   ========================================================================== */
.lp-quote {
  padding: clamp(8rem, 14vh, 20rem) var(--lp-gutter) var(--lp-section-spacing);
  background: rgba(170, 0, 0, 0.06);
}

.lp-quote__inner {
  max-width: var(--lp-content-max);
  margin: 0 auto;
  position: relative;
  padding-left: var(--space-xl);
  border-left: 4px solid var(--color-primary);
}

@media (min-width: 768px) {
  .lp-quote__inner {
    margin-left: 15%;
    margin-right: 10%;
    padding-left: var(--space-2xl);
  }
}

.lp-quote__block {
  text-align: left;
  margin-bottom: var(--space-2xl);
}

/* 引用文: セリフ体・他セクションより大きく */
.lp-quote__text {
  font-family: var(--font-family-quote);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-style: italic;
  line-height: 1.45;
  color: rgba(240, 240, 240, 0.95);
  margin: 0 0 var(--space-lg);
  letter-spacing: 0.02em;
}

.lp-quote__text .lp-split-word {
  display: inline-block;
  white-space: pre;
}

.lp-quote__author {
  font-family: var(--font-family-quote);
  font-size: var(--lp-quote-author-size);
  font-style: normal;
  color: rgba(240, 240, 240, 0.6);
  margin: 0 0 var(--space-xl);
  letter-spacing: 0.05em;
}

.lp-quote__lead {
  font-size: var(--lp-quote-lead-size);
  line-height: var(--line-height-base);
  color: rgba(240, 240, 240, 0.9);
  margin: 0;
  letter-spacing: 0.04em;
  text-align: left;
}

.lp-quote__lead .lp-split-char {
  display: inline-block;
}

/* ==========================================================================
   LP: 3 Columns (構造的欠陥) ※Section2 は lp-struct に移行
   ========================================================================== */
.lp-cols {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
  margin-top: var(--space-2xl);
}

@media (min-width: 768px) {
  .lp-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--lp-gutter);
  }
}

.lp-col {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .lp-col {
    border-bottom: none;
    border-right: 1px solid var(--color-border);
    padding: 0 var(--lp-gutter) 0 0;
  }

  .lp-col:last-child {
    border-right: none;
    padding-right: 0;
  }
}

/* ==========================================================================
   LP: Section2 Structural Flaw（背景＋カードスタック）
   ========================================================================== */
.lp-section--struct {
  padding-bottom: 0;
  margin-bottom: 0;
}

.lp-struct {
  position: relative;
  /* s2-bug の元画像の縦横比（16:9 ≒ 56.25%）で高さを決める */
  min-height: 0;
  overflow: hidden;
  border-radius: var(--lp-img-radius);
}

.lp-struct::before {
  content: '';
  display: block;
  padding-bottom: 56.25%; /* 16:9 のアスペクト比 */
}

/* Section3: 1カラム・上にイメージ・その下に01→02→03カード縦並び */
.lp-struct--stack {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
}

.lp-struct--stack::before {
  display: none;
}

/* 上段: 画像（フル幅・16:9） */
.lp-struct__media {
  position: relative;
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
}

.lp-struct--stack .lp-struct__media {
  border-radius: var(--lp-img-radius) var(--lp-img-radius) 0 0;
}

/* Section3 の画像エリア（4:3 = azuki-unit に合わせる） */
.lp-struct--stack .lp-struct__media::before {
  padding-bottom: 133.33%; /* 3:4 縦長（Section3では下で上書き） */
}

/* Section3: azuki-unit 背景・800×800 正方形（左右の黒スペースを出さない） */
#solution .lp-struct__media {
  aspect-ratio: 1 / 1;
  width: 100%;
}

#solution .lp-struct__media::before {
  display: none; /* 高さは aspect-ratio に任せる */
}

#solution .lp-struct__media .lp-struct__bg {
  background: transparent;
}

#solution .lp-struct__media .lp-struct__img {
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
}

.lp-struct__media::before {
  content: '';
  display: block;
  padding-bottom: 56.25%; /* 16:9（Section2など） */
}

.lp-struct__media .lp-struct__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lp-struct__media .lp-struct__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  animation: lp-img-fade-in 0.8s ease-out forwards;
}

.lp-struct__media .lp-struct__overlay {
  position: absolute;
  inset: 0;
  background: var(--lp-img-overlay);
  pointer-events: none;
  z-index: 1;
}

/* 下段: カードエリア（01→02→03 縦並び・背景画像の上にオーバーレイ） */
.lp-struct__content--below {
  position: static;
  inset: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: var(--space-2xl) max(var(--lp-gutter), 4vw);
  background: transparent;
  border-radius: 0 0 12px 12px;
  min-height: 0;
}

/* Section3: カードを背景画像の上端に合わせてオーバーレイ（01が画像上部に・1:1に合わせ収まるように） */
#solution .lp-struct__content--below {
  margin-top: -100%;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-xl);
  position: relative;
  z-index: 2;
  min-height: 0;
}

/* Section3 右カラム: 01→02→03 を縦並びのみ（横並びにしない） */
.lp-struct__cards--vertical {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .lp-struct__cards--vertical {
    gap: var(--space-xl);
  }
}

/* Section3 では .lp-struct__cards の3列指定を上書きし、常に1列で縦並び */
#solution .lp-struct__cards--vertical {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  #solution .lp-struct__cards--vertical {
    grid-template-columns: 1fr;
  }
}

/* Section3 専用カード: 左＝本文・右＝正方形画像（カード幅に合わせて可変） */
.lp-struct__card--solution {
  display: grid;
  grid-template-columns: 1fr minmax(72px, 28%);
  gap: var(--space-xl);
  align-items: start;
}

.lp-struct__card-main {
  min-width: 0;
}

/* サービス名: Bungee（ヘッダーAZUKI AIと同じ）・Azuki Red */
.lp-struct__card--solution .lp-struct__service {
  font-family: var(--font-family-logo);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary);
  margin: 0 0 var(--space-md);
  letter-spacing: 0.04em;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.lp-struct__card--solution:hover .lp-struct__service {
  color: var(--color-accent);
  text-shadow: 0 0 20px rgba(170, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .lp-struct__card--solution .lp-struct__service {
    font-size: 1.75rem;
    letter-spacing: 0.05em;
  }
}

.lp-struct__card--solution .lp-struct__title {
  margin-bottom: var(--space-sm);
}

.lp-struct__card--solution .lp-struct__body {
  margin: 0;
  font-size: 0.875rem;
  line-height: var(--line-height-base);
  color: rgba(240, 240, 240, 0.78);
}

/* カード右側: 正方形画像用（Section2–6の画像角丸に合わせる） */
.lp-struct__card-visual {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--lp-img-radius);
  background: transparent;
  flex-shrink: 0;
  min-width: 0;
  overflow: hidden;
}

.lp-struct__card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

/* Section3 カードのプロ仕上げ: シャドウ・余白 */
/* Section3 カードリンク: ブロック表示・装飾なし */
#solution .lp-struct__card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

#solution .lp-struct__card-link:hover {
  transform: translateY(-6px) scale(1.02);
}

#solution .lp-struct__card-link:hover .lp-struct__card--solution {
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 48px rgba(170, 0, 0, 0.25);
}

#solution .lp-struct__card-link:hover .lp-struct__card-visual img {
  transform: scale(1.08);
}

#solution .lp-struct__card--solution {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

#solution .lp-struct__card--solution:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55), 0 0 24px rgba(170, 0, 0, 0.12);
}

/* 案G: 主役カード（Discovery）のみ Azuki Red 枠・左バー・強い lift */
#solution .lp-struct__card-link--featured .lp-struct__card--solution {
  position: relative;
  border-left: 4px solid var(--color-primary);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(170, 0, 0, 0.3);
  background: rgba(60, 85, 120, 0.95);
}

#solution .lp-struct__card-link--featured:hover {
  transform: translateY(-8px) scale(1.02);
}

#solution .lp-struct__card-link--featured:hover .lp-struct__card--solution {
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(170, 0, 0, 0.5), 0 0 48px rgba(170, 0, 0, 0.3);
}

/* Section3: タイトル・リードは白テキスト（他セクションと統一） */
#solution .lp-section__headline,
#solution .lp-section__lead {
  color: #ffffff;
}

#solution .lp-section__lead {
  color: rgba(255, 255, 255, 0.92);
}

.lp-struct__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lp-struct__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  animation: lp-img-fade-in 0.8s ease-out forwards;
}

.lp-struct__overlay {
  position: absolute;
  inset: 0;
  background: var(--lp-img-overlay);
  pointer-events: none;
  z-index: 1;
}

.lp-struct__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-xl);
  padding: 0 max(var(--lp-gutter), 4vw);
}

.lp-struct__cards {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .lp-struct__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--lp-gutter);
  }
}

.lp-struct__card {
  position: relative;
  /* Section2 カード: 少し紺色（セカンダリーBG）に寄せる */
  background: rgba(48, 72, 102, 0.9); /* #304866 ベース */
  border-radius: 12px;
  padding: var(--space-xl);
  border: 1px solid transparent;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.85);
}

.lp-struct__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--color-accent-pink);
  box-shadow: 0 0 18px rgba(255, 209, 238, 0.4);
  pointer-events: none;
}

.lp-struct__label {
  display: inline-block;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  background: var(--color-primary);
  padding: 0.2em 0.5em;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.lp-struct__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 var(--space-md);
  color: var(--color-text);
}

.lp-struct__body {
  font-size: 0.875rem;
  line-height: var(--line-height-base);
  color: rgba(240, 240, 240, 0.78);
  margin: 0;
}

.lp-struct__conclusion {
  text-align: center;
  font-size: var(--lp-headline-size);
  font-weight: 600;
  margin: 0;
}

.lp-struct__conclusion strong {
  color: var(--color-primary);
}

/* Section2: Structural Flaw をカードスタック化（画像オーバーレイ上に重ねる） */
#structural-flaw .lp-screen {
  position: relative;
}

#structural-flaw .lp-section__visual {
  position: relative;
  z-index: 0;
}

#structural-flaw .lp-cols {
  position: relative;
  z-index: 1;
  /* 画像の上にしっかり重なるよう、セクション内で上方向にオフセット */
  margin-top: 0;
  transform: translateY(-40vh);
}

#structural-flaw .lp-col {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 12px;
  padding: var(--space-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.85);
}

/* Section2 の画像枠は外し、背景としてなじませる */
#structural-flaw .lp-section__visual .lp-media-frame {
  border: none;
  background: none;
}

#structural-flaw .lp-section__visual .lp-media-frame::before {
  display: none;
}

/* ==========================================================================
   Section2: Structural Flaw - カードスタック＆結論テキストのオーバーレイ調整
   ========================================================================== */
/* セクション全体の下側余白をさらに詰める（背景画像の最下部とコンテナ下部の余白を最小化） */
#structural-flaw {
  padding-bottom: 0;
  margin-bottom: 0;
}

/* カード群を画像の上までしっかり重ねる＋左右に少しインセット */
#structural-flaw .lp-cols {
  position: relative;
  z-index: 1;
  margin-top: 0;
  transform: none; /* vh ベースの持ち上げはやめる（画面幅によるズレを防ぐ） */
  padding: 0 max(var(--lp-gutter), 3vw); /* 画像左右端にカードがベタ付かないよう内側に寄せる */
}

/* デスクトップ時のみ、カードを画像の下端付近までやや重ねる（タイトルにはかからない範囲） */
@media (min-width: 1024px) {
  #structural-flaw .lp-cols {
    margin-top: calc(var(--space-2xl) * -1.2);
  }
}

/* Section2 の画像ブロック自体の下マージンも詰める */
#structural-flaw .lp-section__visual {
  margin-bottom: 0;
}

/* カード枠をコンテナと同じネオン（ピンク）点滅に */
#structural-flaw .lp-col {
  position: relative;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 12px;
  padding: var(--space-xl);
  border: 1px solid transparent;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.85);
}

#structural-flaw .lp-col::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--color-accent-pink);
  box-shadow: 0 0 18px rgba(255, 209, 238, 0.4);
  pointer-events: none;
}

/* 結論テキストをタイトル級の大きさでカード下にオーバーレイ表示 */
#structural-flaw .lp-section__conclusion {
  position: static;
  z-index: auto;
  margin-top: var(--space-md);
  margin-bottom: 0;
  text-align: center;
  font-size: var(--lp-headline-size); /* タイトルと同程度の大きさ */
  font-weight: 600;
}

/* 「設計の欠陥（バグ）」だけ Azuki Red に。ラベル系モーションは無効化 */
#structural-flaw .lp-section__conclusion strong {
  color: var(--color-accent-pink);
  padding: 0;
  border: none;
  box-shadow: none;
  position: static;
  overflow: visible;
  transition: none;
}

#structural-flaw .lp-section__conclusion strong::after {
  content: none;
}

#structural-flaw .lp-section__conclusion strong:hover {
  transform: none;
  box-shadow: none;
}

.lp-col__label {
  font-size: 1.5rem; /* 01,02,03 を2倍サイズに */
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  background: var(--color-primary);
  margin-bottom: 1.5rem; /* ラベルと次テキストの余白を約3倍に（space-sm 0.5rem→1.5rem） */
  padding: 0.2em 0.5em;
  border-radius: 4px;
  border: var(--lp-neon-border);
  box-shadow: var(--lp-neon-border-glow);
  display: inline-block;
}

.lp-col__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 var(--space-md);
  color: var(--color-text);
}

.lp-col__body {
  font-size: 0.875rem; /* Section2 のみ1段小さく（lp-body-size より小さい） */
  line-height: var(--line-height-base);
  color: rgba(240, 240, 240, 0.78);
  margin: 0;
}

.lp-section__conclusion {
  margin-top: var(--space-2xl);
  font-size: var(--lp-lead-size);
  font-weight: 500;
  color: rgba(240, 240, 240, 0.9);
}

.lp-section__conclusion strong {
  color: var(--color-primary);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  border: var(--lp-neon-border);
  box-shadow: var(--lp-neon-border-glow);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ==========================================================================
   LP: ラベル ホバー（Lift & Shine：浮き上がり＋斜めに光が流れる）
   ========================================================================== */
.lp-col__label,
.lp-step__num,
.lp-step__product-label,
.lp-section__headline--primary,
.lp-section__conclusion strong {
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.lp-col__label:hover,
.lp-step__num:hover,
.lp-step__product-label:hover,
.lp-section__headline--primary:hover,
.lp-section__conclusion strong:hover {
  transform: translateY(var(--lp-label-hover-lift));
  box-shadow: var(--lp-neon-border-glow), var(--lp-label-hover-shadow);
}

.lp-col__label::after,
.lp-step__num::after,
.lp-step__product-label::after,
.lp-section__headline--primary::after,
.lp-section__conclusion strong::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 35%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.12) 65%,
    transparent 100%
  );
  transform: skewX(-22deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.lp-col__label:hover::after,
.lp-step__num:hover::after,
.lp-step__product-label:hover::after,
.lp-section__headline--primary:hover::after,
.lp-section__conclusion strong:hover::after {
  left: 150%;
}

/* ==========================================================================
   LP: Solution（Section3 1コンテナに統合・左テキスト・右画像）
   ========================================================================== */
/* 左: テキスト / 右: イメージの2カラム（同一 .lp-screen 内） */
.lp-solution__row {
  display: grid;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}

@media (min-width: 768px) {
  .lp-solution__row {
    grid-template-columns: 1fr 1fr;
    gap: var(--lp-gutter);
    align-items: stretch;
  }
}

/* 左列: 枠は付けず統合コンテナ内のテキストエリア */
.lp-solution__content {
  position: relative;
  min-width: 0;
  padding: var(--space-2xl) var(--lp-gutter);
  box-sizing: border-box;
}

/* 右部のイメージ用（lp-media-frame で画像差し替え可能） */
.lp-section__visual--right {
  margin-top: 0;
  display: flex;
  min-height: 0;
}

/* 右側画像は統合コンテナ内に収める（別枠にしない） */
.lp-section__visual--right .lp-media-frame::before {
  display: none;
}

@media (min-width: 768px) {
  .lp-section__visual--right {
    align-self: stretch;
  }

  .lp-section__visual--right .lp-media-frame {
    flex: 1;
    min-height: 0;
    height: 100%;
    display: block;
    border-radius: 0 12px 12px 0;
  }
}

/* ==========================================================================
   LP: Solution Steps
   ========================================================================== */
.lp-steps {
  margin-top: var(--space-2xl);
}

.lp-step {
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.lp-step:last-child {
  border-bottom: none;
}

@media (min-width: 768px) {
  .lp-step {
    display: grid;
    grid-template-columns: 12rem 1fr;
    gap: var(--lp-gutter);
    align-items: start;
  }
}

/* Step ラベル: Section2 の 01,02,03 と同じデザイン（Azuki Red 塗りつぶし・白文字・ネオン枠） */
.lp-step__num {
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  background: var(--color-primary);
  margin-bottom: 1.5rem;
  padding: 0.2em 0.5em;
  border-radius: 4px;
  border: var(--lp-neon-border);
  box-shadow: var(--lp-neon-border-glow);
  display: inline-block;
}

.lp-step__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 var(--space-md);
  color: var(--color-text);
}

.lp-step__body {
  font-size: var(--lp-body-size);
  line-height: var(--line-height-base);
  color: rgba(240, 240, 240, 0.78);
  margin: 0 0 var(--space-lg);
}

/* 製品名ラベル（Section2 の 01,02,03 と同じデザイン） */
.lp-step__product-label {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--color-primary);
  padding: 0.2em 0.5em;
  margin-bottom: var(--space-sm);
  border-radius: 4px;
  border: var(--lp-neon-border);
  box-shadow: var(--lp-neon-border-glow);
}

.lp-step__product-desc {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 var(--space-md);
  line-height: 1.4;
}

/* 説明テキストは1段小さく */
.lp-step__detail {
  font-size: 0.8125rem;
  line-height: var(--line-height-base);
  color: rgba(240, 240, 240, 0.7);
  margin: 0;
}

.lp-step__list {
  margin: var(--space-md) 0 0;
  padding-left: 1.25rem;
}

.lp-step__list li {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: rgba(240, 240, 240, 0.75);
  margin-bottom: var(--space-xs);
}

/* Section3 のみ: 文字を見やすく（背景が暗いため明るい文字に） */
.lp-section--solution .lp-section__headline,
.lp-section--solution .lp-section__lead {
  color: #ffffff;
}

.lp-section--solution .lp-section__lead {
  color: rgba(255, 255, 255, 0.92);
}

.lp-section--solution .lp-step__title {
  color: #ffffff;
}

.lp-section--solution .lp-step__body {
  color: rgba(255, 255, 255, 0.9);
}

.lp-section--solution .lp-step__detail,
.lp-section--solution .lp-step__list li {
  color: rgba(255, 255, 255, 0.85);
}

.lp-step__list li::marker {
  color: var(--color-primary);
}

/* ==========================================================================
   LP: ROI
   ========================================================================== */
.lp-roi__body {
  margin: var(--space-xl) 0;
  max-width: var(--lp-content-max);
}

.lp-roi__cta {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  background: var(--color-primary);
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.9375rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease;
}

.lp-roi__cta:hover {
  background: var(--color-accent-pink);
  color: var(--color-primary);
  text-decoration: none;
}

/* ==========================================================================
   LP: Test (踏み絵) チェックリスト
   ========================================================================== */
/* Section6: 左に画像・右にテキストの2カラム */
.lp-test__row {
  display: grid;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}

@media (min-width: 768px) {
  .lp-test__row {
    grid-template-columns: 1fr 1fr;
    gap: var(--lp-gutter);
    align-items: start;
  }
}

.lp-section__visual--left {
  margin-top: 0;
}

.lp-section__visual--left .lp-media-frame::before {
  display: none;
}

.lp-section__visual--left .lp-media-frame {
  min-height: max(var(--lp-visual-min-height), 240px);
  display: block;
}

@media (min-width: 768px) {
  .lp-section__visual--left .lp-media-frame {
    min-height: max(var(--lp-visual-min-height), 280px);
  }
}

/* Section6: 左側画像を4:3の縦長に */
/* 3:4 縦長（幅3・高さ4） */
#test .lp-section__visual--left .lp-media-frame {
  aspect-ratio: 3 / 4;
  min-height: 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  #test .lp-section__visual--left .lp-media-frame {
    min-height: 0;
  }
}

.lp-test {
  max-width: var(--lp-content-max);
  margin-top: 0;
}

@media (min-width: 768px) {
  .lp-test__row .lp-test {
    max-width: none;
  }
}

.lp-test__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl);
}

.lp-test__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  transition: color 0.2s ease;
}

.lp-test__item:hover {
  color: rgba(240, 240, 240, 0.95);
}

.lp-test__item:last-child {
  border-bottom: none;
}

.lp-test__check {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--color-border);
  border-radius: 2px;
  margin-top: 0.2em;
  transition: border-color 0.2s ease, background 0.2s ease;
  position: relative;
}

/* 案E: チェックがついた瞬間にポンと表示 */
.lp-test__item.is-checked .lp-test__check {
  border-color: var(--color-primary);
  background: var(--color-primary);
  animation: lp-test-check-pop 0.35s ease-out;
}

@keyframes lp-test-check-pop {
  0% { transform: scale(0.85); opacity: 0.6; }
  60% { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}

.lp-test__item.is-checked .lp-test__check::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: 5px;
  height: 9px;
  margin-left: -3px;
  margin-top: -6px;
  border: solid var(--color-text);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.lp-test__text {
  font-size: var(--lp-lead-size);
  line-height: var(--line-height-base);
  margin: 0;
}

/* 案E: 3つ揃った瞬間に scale-in ＋ 背景に赤の円がふわっと広がる */
.lp-test__cta-wrap {
  position: relative;
  margin-top: var(--space-xl);
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.lp-test__cta-wrap::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120%;
  height: 120%;
  margin: -60% 0 0 -60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(170, 0, 0, 0.25) 0%, transparent 65%);
  transform: scale(0);
  opacity: 0;
  z-index: -1;
  pointer-events: none;
}

.lp-test__cta-wrap.is-visible {
  animation: lp-test-cta-in 0.4s ease-out forwards;
}

.lp-test__cta-wrap.is-visible::after {
  animation: lp-test-cta-bg 0.6s ease-out 0.1s forwards;
}

@keyframes lp-test-cta-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes lp-test-cta-bg {
  to {
    transform: scale(2);
    opacity: 0;
  }
}

.lp-test__cta {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  background: var(--color-primary);
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.9375rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease;
}

.lp-test__cta:hover {
  background: var(--color-accent-pink);
  color: var(--color-primary);
  text-decoration: none;
}

/* ==========================================================================
   LP: Main 余白調整（トップのみフル幅）
   ========================================================================== */
.lp .main {
  padding: 0;
  padding-top: var(--header-height); /* ヘッダー直下から表示、上部余白ゼロ */
  position: relative;
  z-index: var(--z-content);
}

/* ==========================================================================
   LP: 透明スクリーン（TensorStax風・テキストを囲むガラスパネル）
   ========================================================================== */
/* フリッカー防止: backdrop-filter 廃止し半透明単色に */
.lp-screen {
  background: rgba(25, 35, 50, 0.92);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}

/* Section2-6: 枠は全体のみ。セクション内の .lp-screen は枠なし・背景透かし */
.lp-body .lp-screen::before {
  display: none;
}
.lp-body .lp-screen {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.lp-screen--hero {
  padding: var(--space-xl) var(--space-2xl);
}

@media (min-width: 768px) {
  .lp-screen {
    padding: var(--space-2xl);
  }

  .lp-body .lp-screen {
    padding: var(--space-2xl) 0;
  }

  .lp-screen--hero {
    padding: var(--space-2xl) var(--space-2xl);
  }
}

/* ==========================================================================
   Responsive (Mobile First → 768px+)
   ========================================================================== */
@media (min-width: 768px) {
  .header__nav {
    padding: 0;
  }

  .main {
    padding: var(--space-2xl) var(--space-xl);
    padding-top: calc(var(--header-height) + var(--space-xl));
  }
}
