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

/* ==========================================================================
   CSS Variables (:root)
   ========================================================================== */
:root {
  /* Color */
  --color-bg: #000000;
  --color-bg-secondary: #304866;
  --color-bg-tertiary: #152331; /* サードBG: 深めの紺 */
  --color-text: #f0f0f0;
  --color-primary: #aa0000;
  --color-accent: #ff5555;
  --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;
}

/* レスポンシブ: 横幅・文字サイズを同じブレークポイントで段階的に拡大 */
@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;
}

/* 動画再生中: スクロール不可（待ち） */
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, 85, 85, 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);
  border-color: var(--color-accent);
  color: var(--color-text);
  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);
}

/* ==========================================================================
   Form (Contact)
   ========================================================================== */
.form {
  max-width: 560px;
  margin-top: var(--space-xl);
}

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

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

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

.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;
}

.form__row input:focus,
.form__row textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.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);
}

/* ==========================================================================
   案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);
  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);
  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);
  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));
  }
}
