@charset "utf-8";
/* ============================================
   家族でスタートAI — LP007専用CSS（STARTAI-655）
   lp006.css をコピーし、漫画を縦長版にしたため .mng-page の幅を560pxに絞ったもの。

   lp005.css をコピーし、末尾に LP006 追加レイヤーを足したもの。
   構成:
     1. LP004 と同じスタイル一式（漫画LPベース。LP003由来のクロージング含む）
     2. LP004 独自レイヤー（漫画パート）
     3. LP005 追加レイヤー（単一プラン＋LP内申込フォーム）
     4. LP006 追加レイヤー（特典の本棚＋講座4つの紹介）
     5. LP007 追加レイヤー（漫画の語り＋料金の見せ方。ファイル末尾）

   完全独立型（他CSSに非依存）
   ※ LP004 側を修正したときは、このファイルの 1.〜2. も追従させること
   ============================================ */
/* ============================================
   家族でスタートAI — LP003専用CSS
   "Controlled Urgency" Design System
   lp001ベース + 焦燥感コンポーネント追加
   完全独立型（他CSSに非依存）
   ============================================ */

/* --- Design Tokens --- */
:root {
  /* Primary palette — warm family tones */
  --fml-green: #43A047;
  --fml-green-light: #66BB6A;
  --fml-green-glow: rgba(67, 160, 71, 0.25);

  /* Warm accent spectrum */
  --fml-coral: #FF7043;
  --fml-amber: #FFB300;

  /* Urgency / Danger accents */
  --fml-danger: #D32F2F;
  --fml-danger-light: #FFEBEE;
  --fml-danger-glow: rgba(211, 47, 47, 0.15);

  /* Navy & depth */
  --fml-navy: #1a2744;

  /* Surfaces */
  --fml-cream: #FFF9F0;
  --fml-warm-gray: #F7F3EE;
  --fml-cool-gray: #F0F4F8;
  --fml-white: #FFFFFF;

  /* Text */
  --fml-text: #2D3436;
  --fml-text-mid: #4B535C;  /* 説明文・リード文。全体的に薄いとの指摘で一段濃くした（STARTAI-425） */
  --fml-text-light: #5A4632;  /* 一番小さい注記の色。こげ茶にして面色（クリーム系）となじませつつ濃くした（WCAG AAA 7:1 以上。STARTAI-425） */

  /* Borders & misc */
  --fml-border: #E8E0D8;
  --fml-border-light: #F0EBE5;
  --fml-shadow-sm: 0 2px 8px rgba(26, 39, 68, 0.06);
  --fml-shadow-md: 0 4px 20px rgba(26, 39, 68, 0.08);
  --fml-shadow-lg: 0 12px 40px rgba(26, 39, 68, 0.12);
  --fml-shadow-glow: 0 8px 30px var(--fml-green-glow);

  /* Spacing & radius */
  --fml-r-sm: 8px;
  --fml-r-md: 16px;
  --fml-r-lg: 24px;
  --fml-r-xl: 32px;

  /* Typography scale */
  --fml-font-display: 'Noto Serif JP', 'Georgia', serif;
  --fml-font-body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
}

/* ============================================
   0. Reset & Base
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-feature-settings: "palt" 1;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* 本文ベース: スマホ17px / 1024px以上18px / 1400px以上19px。
   スマホでの可読性のため、最小フォントは 0.82em（≒14px）を下限とする（STARTAI-338） */
body {
  font-family: var(--fml-font-body);
  font-size: 17px;
  line-height: 1.9;
  color: var(--fml-text);
  background: var(--fml-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 1024px) {
  body { font-size: 18px; }
}

@media (min-width: 1400px) {
  body { font-size: 19px; }
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }

/* --- Layout container --- */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.inner {
  padding: 0 20px;
}

@media (min-width: 768px) {
  .inner { padding: 0 40px; }
}

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

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

/* ============================================
   1. Navigation
   ============================================ */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid var(--fml-border-light);
  transition: box-shadow 0.3s ease;
}

header:hover {
  box-shadow: var(--fml-shadow-sm);
}

.logotype {
  max-width: 120px;
}

.logotype img {
  display: block;
  max-width: 100%;
}

nav {
  display: flex;
  align-items: center;
}

@media (max-width: 48em) {
  nav { display: inline; }
}

.menu__box {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

@media (max-width: 48em) {
  .menu__box {
    flex-direction: column;
    position: fixed;
    visibility: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    margin: -100vh 0 0 0;
    padding: 0.6em 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 100;
    transition: none;
  }
  #menu__toggle:checked ~ .menu__box {
    transition: margin 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s;
  }
  .menu__box li { width: 100%; }
}

.menu__item {
  display: flex;
  flex-direction: column;
  padding: 0 1em;
  font-family: var(--fml-font-body);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--fml-text);
  transition: color 0.2s ease;
}

@media (max-width: 48em) {
  .menu__item {
    display: block;
    padding: 20px 24px;
    font-size: 17px;
    border-bottom: 1px solid var(--fml-border-light);
    position: relative;
  }
  .menu__item::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--fml-text-light);
  }
  .menu__item:hover {
    background: var(--fml-cream);
    color: var(--fml-green);
  }
}

.menu__item.btn {
  border: none;
  background: linear-gradient(135deg, var(--fml-green) 0%, var(--fml-green-light) 100%);
  color: #fff;
  width: 90%;
  margin: 28px auto 0;
  border-radius: 50vh;
  text-align: center;
  padding: 10px 16px;
}

.menu__item.btn.login {
  background: var(--fml-white);
  color: var(--fml-text);
  border: 1.5px solid var(--fml-border);
}

@media (min-width: 768px) {
  .menu__item.border {
    position: relative;
    transition: 0.25s all ease;
  }
  .menu__item.border:hover {
    color: var(--fml-green);
  }
  .menu__item.border:hover::before {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: var(--fml-green);
    position: absolute;
    bottom: -22px;
    left: 0;
    border-radius: 2px;
  }
  .menu__item.btn {
    margin-top: 0;
    width: auto;
    margin-left: 1em;
    padding: 8px 20px;
    transition: 0.3s all ease;
  }
  .menu__item.btn:hover {
    filter: brightness(110%);
    box-shadow: var(--fml-shadow-glow);
  }
  .menu__item.btn.login:hover {
    background: var(--fml-text);
    color: #fff;
    border-color: var(--fml-text);
  }
}

#menu__toggle { opacity: 0; position: absolute; }
#menu__toggle:checked ~ .menu__btn > span { transform: rotate(45deg); }
#menu__toggle:checked ~ .menu__btn > span::before { top: 0; transform: rotate(0); background: var(--fml-coral); }
#menu__toggle:checked ~ .menu__btn > span::after { top: 0; transform: rotate(90deg); background: var(--fml-coral); }
#menu__toggle:checked ~ .menu__box { visibility: visible; left: 0; margin: 0; margin-top: 56px; }

.menu__btn {
  display: flex;
  align-items: center;
  position: relative;
  width: 24px;
  height: 20px;
  cursor: pointer;
  z-index: 2;
}

.menu__btn span {
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--fml-text);
  top: 0;
  border-radius: 2px;
  transition: 0.25s;
}

.menu__btn span::before,
.menu__btn span::after {
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--fml-text);
  content: '';
  border-radius: 2px;
  transition: 0.25s;
}

.menu__btn span::before { top: 8px; }
.menu__btn span::after { top: 16px; }

@media (min-width: 48em) {
  .menu__btn span { display: none; }
}

/* ============================================
   2. Shared Components
   ============================================ */

/* --- Section container --- */
.fml-sec {
  padding: 70px 0;
  position: relative;
}

/* --- Section backgrounds --- */
.fml-sec--warm { background: var(--fml-warm-gray); }
.fml-sec--cool { background: var(--fml-cool-gray); }
.fml-sec--white { background: var(--fml-white); }

/* --- Section title (lp002/lp003 style) --- */
.fml-sec-title {
  font-family: var(--fml-font-display);
  font-size: 1.6em;
  font-weight: 700;
  color: var(--fml-navy);
  line-height: 1.5;
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  display: block;
  padding-bottom: 20px;
}

.fml-sec-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--fml-green), var(--fml-green-light));
  border-radius: 3px;
}

.fml-sec-sub {
  text-align: center;
  font-size: 0.95em;
  color: var(--fml-text-mid);
  margin-bottom: 40px;
  line-height: 1.8;
}

/* --- Section heading (lp001 style) --- */
.fml-heading {
  text-align: center;
  margin-bottom: 48px;
}

.fml-heading__title {
  font-family: var(--fml-font-display);
  font-size: 1.6em;
  font-weight: 700;
  color: var(--fml-navy);
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.fml-heading__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--fml-green), var(--fml-green-light));
  border-radius: 3px;
}

.fml-heading__lead {
  font-family: var(--fml-font-display);
  font-size: 1.15em;
  font-weight: 600;
  color: var(--fml-coral);
  margin-bottom: 12px;
  line-height: 1.7;
}

.fml-heading__sub {
  margin-top: 16px;
  font-size: 0.95em;
  color: var(--fml-text-mid);
  line-height: 1.8;
}

/* --- CTA button --- */
.fml-cta {
  text-align: center;
  margin: 40px 0;
}

.fml-cta a {
  display: inline-block;
  background: linear-gradient(135deg, var(--fml-green) 0%, #2E7D32 100%);
  color: #fff !important;
  padding: 22px 48px;
  border-radius: 60px;
  font-size: 1.2em;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow:
    0 6px 20px var(--fml-green-glow),
    0 0 0 0 rgba(67, 160, 71, 0.4);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 92%;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.04em;
  animation: ctaPulse 2.5s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 6px 20px var(--fml-green-glow), 0 0 0 0 rgba(67, 160, 71, 0.4); }
  50% { box-shadow: 0 8px 28px var(--fml-green-glow), 0 0 0 10px rgba(67, 160, 71, 0); }
}

.fml-cta a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: ctaShine 3s ease-in-out infinite;
}

@keyframes ctaShine {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

.fml-cta a:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 40px var(--fml-green-glow);
  animation: none;
}

.fml-cta a:hover::before {
  animation: none;
  left: 100%;
}

.fml-cta small {
  display: block;
  font-size: 0.85em;
  font-weight: 600;
  opacity: 1;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

/* --- Login link --- */
.fml-login-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--fml-text-light) !important;
  text-decoration: underline !important;
  font-size: 0.9em;
  transition: color 0.2s;
}

.fml-login-link:hover {
  color: var(--fml-green) !important;
}

/* ヒーロー（背景写真＋紺オーバーレイ）の上では白抜きにする。
   暗い面に濃い文字が乗って読めなくなるため（STARTAI-425） */
.fml-hero__content .fml-login-link {
  color: rgba(255, 255, 255, 0.92) !important;
}
.fml-hero__content .fml-login-link:hover {
  color: #fff !important;
}

/* --- Decorative divider --- */
.fml-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--fml-green), var(--fml-green-light));
  margin: 28px auto;
  border-radius: 3px;
}

/* --- Text utilities --- */
.fml-tc { text-align: center; }

/* ============================================
   3. Hero — 危機感ファースト
   ============================================ */
.fml-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0 60px;
}

.fml-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.fml-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 39, 68, 0.55);
  z-index: 1;
}

@media (min-width: 768px) {
  .fml-hero__overlay {
    background: rgba(26, 39, 68, 0.45);
  }
}

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

.fml-hero__content {
  text-align: center;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .fml-hero__content {
    background: rgba(26, 39, 68, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--fml-r-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }
}

.fml-hero__kicker {
  display: inline-block;
  font-family: var(--fml-font-display);
  font-size: 1em;
  font-weight: 600;
  color: var(--fml-amber);
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}

.fml-hero__kicker strong {
  color: var(--fml-coral);
}

.fml-hero__title {
  font-family: var(--fml-font-display);
  font-size: 2.2em;
  font-weight: 900;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 16px;
}

.fml-hero__title span {
  color: var(--fml-amber);
}

.fml-hero__subtitle {
  font-size: 1.05em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
  line-height: 1.8;
}

.fml-hero__benefit {
  font-size: 0.95em;
  color: var(--fml-green-light);
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.7;
}

.fml-hero__benefit i {
  color: var(--fml-amber);
  margin-right: 6px;
}

.fml-hero__note {
  font-size: 0.82em;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 12px;
}

/* ============================================
   3b. Ticker Bar — 統計ティッカー
   ============================================ */
.fml-ticker {
  background: var(--fml-navy);
  overflow: hidden;
  padding: 12px 0;
  position: relative;
}

.fml-ticker__track {
  display: flex;
  white-space: nowrap;
  animation: tickerScroll 20s linear infinite;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.fml-ticker__item {
  font-size: 0.85em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  padding: 0 8px;
  letter-spacing: 0.02em;
}

.fml-ticker__item i {
  color: var(--fml-amber);
  margin-right: 6px;
}

.fml-ticker__sep {
  color: rgba(255, 255, 255, 0.25);
  padding: 0 12px;
}

/* ============================================
   4. Statistics Cards — データで焦らせる
   ============================================ */
.fml-stat-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 40px 0;
}

.fml-stat-card {
  background: var(--fml-white);
  border-radius: var(--fml-r-md);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--fml-shadow-md);
  border: 1px solid var(--fml-border-light);
  border-top: 4px solid var(--fml-coral);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.fml-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--fml-shadow-lg);
}

.fml-stat-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fml-coral), var(--fml-amber));
  color: #fff;
  font-size: 1.2em;
  margin-bottom: 16px;
}

.fml-stat-card__number {
  font-family: var(--fml-font-display);
  font-size: 3.2em;
  font-weight: 900;
  color: var(--fml-coral);
  line-height: 1.1;
  margin-bottom: 8px;
}

.fml-stat-card__unit {
  font-family: var(--fml-font-body);
  font-size: 0.35em;
  font-weight: 600;
  color: var(--fml-text-mid);
  vertical-align: baseline;
}

.fml-stat-card__label {
  font-size: 0.92em;
  font-weight: 700;
  color: var(--fml-navy);
  margin-bottom: 4px;
  line-height: 1.5;
}

.fml-stat-card__desc {
  font-size: 0.82em;
  color: var(--fml-text-light);
  font-style: italic;
}

/* Bridge text */
.fml-bridge-text {
  text-align: center;
  font-family: var(--fml-font-display);
  font-size: 1.15em;
  font-weight: 700;
  color: var(--fml-coral);
  margin-top: 32px;
  line-height: 1.8;
}

.fml-bridge-text i {
  margin-right: 8px;
  color: var(--fml-danger);
}

.fml-bridge-text strong {
  color: var(--fml-danger);
}

/* ============================================
   5. Empathy — 共感セクション
   ============================================ */
.fml-worries {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 680px;
  margin: 0 auto 32px;
}

.fml-worry {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--fml-white);
  padding: 18px 20px;
  border-radius: var(--fml-r-md);
  box-shadow: var(--fml-shadow-sm);
  border: 1px solid var(--fml-border-light);
  border-left: 4px solid var(--fml-coral);
  transition: transform 0.3s ease;
}

.fml-worry:hover {
  transform: translateX(4px);
}

.fml-worry__icon {
  font-size: 1.5em;
  color: var(--fml-coral);
  flex-shrink: 0;
}

.fml-worry p {
  font-size: 0.92em;
  color: var(--fml-text);
  line-height: 1.7;
}

.fml-worry strong {
  color: var(--fml-navy);
}

.fml-empathy-bridge {
  text-align: center;
  font-family: var(--fml-font-display);
  font-size: 1.1em;
  font-weight: 700;
  color: var(--fml-navy);
  margin-bottom: 32px;
  line-height: 1.8;
}

.fml-empathy-bridge strong {
  color: var(--fml-green);
}

/* ============================================
   5b. Danger Box — 放置するとどうなる？
   ============================================ */
.fml-danger-box {
  background: var(--fml-danger-light);
  border: 2px solid rgba(211, 47, 47, 0.25);
  border-radius: var(--fml-r-lg);
  padding: 28px 24px;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.fml-danger-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--fml-danger), var(--fml-coral));
}

.fml-danger-box__title {
  font-family: var(--fml-font-display);
  font-size: 1.05em;
  font-weight: 800;
  color: var(--fml-danger);
  text-align: center;
  margin-bottom: 20px;
}

.fml-danger-box__title i {
  margin-right: 8px;
}

.fml-danger-box__items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fml-danger-box__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--fml-r-sm);
}

.fml-danger-box__item i {
  color: var(--fml-danger);
  font-size: 1.3em;
  margin-top: 2px;
  flex-shrink: 0;
}

.fml-danger-box__item p {
  font-size: 0.88em;
  color: var(--fml-text);
  line-height: 1.7;
}

.fml-danger-box__item strong {
  color: var(--fml-danger);
}

/* ============================================
   6. Solution — 解決セクション
   ============================================ */
.fml-solution {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}

.fml-solution__img img {
  width: 100%;
  border-radius: var(--fml-r-lg);
  box-shadow: var(--fml-shadow-lg);
}

.fml-solution__text {
  font-size: 0.95em;
  color: var(--fml-text-mid);
  line-height: 1.9;
  margin-top: 16px;
}

.fml-solution__change {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 20px;
  background: var(--fml-cool-gray);
  border-radius: var(--fml-r-md);
}

.fml-solution__before {
  font-size: 0.92em;
  color: var(--fml-text-light);
}

.fml-solution__arrow {
  font-size: 1.4em;
  color: var(--fml-green);
}

.fml-solution__after {
  font-size: 1.05em;
  font-weight: 700;
  color: var(--fml-green);
}

/* ============================================
   7. Cards (Kids / Parents)
   ============================================ */
.fml-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fml-card {
  background: var(--fml-white);
  border-radius: var(--fml-r-md);
  overflow: hidden;
  box-shadow: var(--fml-shadow-sm);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
  border: 1px solid var(--fml-border-light);
}

.fml-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--fml-shadow-lg);
}

.fml-card__img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.fml-card__body {
  padding: 24px;
}

.fml-card__title {
  font-family: var(--fml-font-display);
  font-size: 1.08em;
  font-weight: 700;
  color: var(--fml-navy);
  margin-bottom: 10px;
  line-height: 1.5;
}

.fml-card__text {
  font-size: 0.88em;
  color: var(--fml-text-mid);
  line-height: 1.85;
}

/* ============================================
   8. Project Flow BEFORE / AFTER
   ============================================ */
.fml-flow {
  margin: 40px 0;
}

.fml-flow__suptitle {
  text-align: center;
  font-family: var(--fml-font-display);
  font-size: 1.1em;
  font-weight: 700;
  color: var(--fml-navy);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}

.fml-flow__block {
  background: var(--fml-white);
  border-radius: var(--fml-r-lg);
  box-shadow: var(--fml-shadow-md);
  padding: 24px 20px;
  border: 1px solid var(--fml-border-light);
}

.fml-flow__block--before {
  border-left: 4px solid #b0bec5;
}

.fml-flow__block--after {
  border-left: 4px solid var(--fml-green);
}

.fml-flow__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.fml-flow__photo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--fml-shadow-sm);
}

.fml-flow__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fml-flow__badge {
  display: inline-block;
  font-size: 0.82em;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.fml-flow__badge--before {
  background: #eceff1;
  color: #556E7A;
}

.fml-flow__badge--after {
  background: #e8f5e9;
  color: var(--fml-green);
}

.fml-flow__headline {
  font-size: 1em;
  font-weight: 600;
  color: var(--fml-text);
  line-height: 1.4;
}

.fml-flow__headline strong {
  color: var(--fml-navy);
}

.fml-flow__block--after .fml-flow__headline strong {
  color: var(--fml-green);
}

.fml-flow__subtext {
  font-size: 0.82em;
  color: var(--fml-text-mid);
  margin-top: 2px;
}

/* --- タイムライン --- */
.fml-flow__timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fml-flow__phase {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--fml-border-light);
}

.fml-flow__phase:last-child {
  border-bottom: none;
}

.fml-flow__bar-seg {
  width: 6px;
  min-height: 100%;
  border-radius: 3px;
  flex-shrink: 0;
  align-self: stretch;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-visible .fml-flow__bar-seg {
  transform: scaleY(1);
}

/* BEFORE カラー */
.fml-flow__bar-seg--b1 { background: #cfd8dc; }
.fml-flow__bar-seg--b2 { background: #b0bec5; }
.fml-flow__bar-seg--b3 { background: #90a4ae; }
.fml-flow__bar-seg--b4 { background: #78909c; }
.fml-flow__bar-seg--b5 { background: #607d8b; }
.fml-flow__bar-seg--b6 { background: #546e7a; }

/* AFTER カラー */
.fml-flow__bar-seg--a1 { background: #81C784; }
.fml-flow__bar-seg--a2 { background: #66BB6A; }
.fml-flow__bar-seg--a3 { background: #43A047; }
.fml-flow__bar-seg--a4 { background: #388E3C; }
.fml-flow__bar-seg--a5 { background: #2E7D32; }

/* Staggered animation */
.reveal.is-visible .fml-flow__bar-seg--b1 { transition-delay: 0.1s; }
.reveal.is-visible .fml-flow__bar-seg--b2 { transition-delay: 0.2s; }
.reveal.is-visible .fml-flow__bar-seg--b3 { transition-delay: 0.3s; }
.reveal.is-visible .fml-flow__bar-seg--b4 { transition-delay: 0.4s; }
.reveal.is-visible .fml-flow__bar-seg--b5 { transition-delay: 0.5s; }
.reveal.is-visible .fml-flow__bar-seg--b6 { transition-delay: 0.6s; }
.reveal.is-visible .fml-flow__bar-seg--a1 { transition-delay: 0.2s; }
.reveal.is-visible .fml-flow__bar-seg--a2 { transition-delay: 0.25s; }
.reveal.is-visible .fml-flow__bar-seg--a3 { transition-delay: 0.3s; }
.reveal.is-visible .fml-flow__bar-seg--a4 { transition-delay: 0.35s; }
.reveal.is-visible .fml-flow__bar-seg--a5 { transition-delay: 0.4s; }

.fml-flow__phase-info {
  flex: 1;
  min-width: 0;
}

.fml-flow__phase-label {
  display: inline;
  font-size: 0.88em;
  font-weight: 700;
  color: var(--fml-text);
}

.fml-flow__phase-days,
.fml-flow__phase-time {
  display: inline;
  font-size: 0.85em;
  font-weight: 800;
  margin-left: 8px;
}

.fml-flow__phase-days { color: var(--fml-text-light); }
.fml-flow__phase-time { color: var(--fml-green); }

.fml-flow__tasks {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
}

.fml-flow__tasks li {
  font-size: 0.85em;
  color: var(--fml-text-mid);
  line-height: 1.7;
  padding-left: 14px;
  position: relative;
}

.fml-flow__tasks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fml-border);
}

.fml-flow__block--after .fml-flow__tasks li::before {
  background: var(--fml-green-light);
}

/* --- ディバイダー --- */
.fml-flow__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0;
}

.fml-flow__divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fml-border), transparent);
}

.fml-flow__divider-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fml-green), var(--fml-green-light));
  color: var(--fml-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  box-shadow: var(--fml-shadow-glow);
  flex-shrink: 0;
}

.fml-flow__divider-text {
  font-size: 0.9em;
  font-weight: 700;
  color: var(--fml-green);
  white-space: nowrap;
  flex-shrink: 0;
}

/* --- 結果（14日→1日） --- */
.fml-flow__result {
  text-align: center;
  margin-top: 32px;
  padding: 28px 20px;
  background: linear-gradient(135deg, var(--fml-cream), var(--fml-warm-gray));
  border-radius: var(--fml-r-lg);
  border: 1px solid var(--fml-border-light);
}

.fml-flow__result-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.fml-flow__result-before {
  font-size: 1.6em;
  font-weight: 800;
  color: #6E8592;
  text-decoration: line-through;
  text-decoration-color: var(--fml-coral);
  text-decoration-thickness: 2px;
}

.fml-flow__result-text i {
  color: var(--fml-green);
  font-size: 1.2em;
}

.fml-flow__result-after {
  font-size: 2.4em;
  font-weight: 900;
  color: var(--fml-coral);
  line-height: 1;
}

.fml-flow__result-catch {
  font-size: 0.95em;
  color: var(--fml-text);
  line-height: 1.8;
}

.fml-flow__result-catch strong {
  color: var(--fml-coral);
  font-weight: 800;
}

/* ============================================
   9. Trial Content — 体験内容
   ============================================ */
.fml-trial-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 860px;
  margin: 40px auto 0;
}

.fml-trial-card {
  display: flex;
  flex-direction: column;
  background: var(--fml-white);
  border-radius: var(--fml-r-md);
  overflow: hidden;
  box-shadow: var(--fml-shadow-sm);
  border: 1px solid var(--fml-border-light);
  transition: transform 0.3s ease, box-shadow 0.3s;
  position: relative;
}

.fml-trial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fml-shadow-md);
}

.fml-trial-card__img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.fml-trial-card__body {
  padding: 20px;
}

.fml-trial-card__body h3 {
  font-family: var(--fml-font-display);
  font-size: 1em;
  font-weight: 700;
  color: var(--fml-navy);
  margin-bottom: 8px;
}

.fml-trial-card__body h3 i {
  color: var(--fml-green);
  margin-right: 6px;
}

.fml-trial-card__body p {
  font-size: 0.88em;
  color: var(--fml-text-mid);
  line-height: 1.8;
}

/* Day tag */
.fml-day-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--fml-coral), #E64A19);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82em;
  font-weight: 800;
  letter-spacing: 0.08em;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(255, 112, 67, 0.4);
}

/* ============================================
   10. Trust / Promises — 信頼セクション
   ============================================ */
.fml-promises {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 780px;
  margin: 0 auto 32px;
}

.fml-promise {
  text-align: center;
  padding: 28px 20px;
  background: var(--fml-white);
  border-radius: var(--fml-r-md);
  box-shadow: var(--fml-shadow-sm);
  border: 1px solid var(--fml-border-light);
  transition: transform 0.3s ease;
}

.fml-promise:hover {
  transform: translateY(-3px);
}

.fml-promise__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fml-green), var(--fml-green-light));
  color: #fff;
  font-size: 1.3em;
  margin-bottom: 14px;
}

.fml-promise h3 {
  font-family: var(--fml-font-display);
  font-size: 1.1em;
  font-weight: 700;
  color: var(--fml-navy);
  margin-bottom: 8px;
}

.fml-promise p {
  font-size: 0.88em;
  color: var(--fml-text-mid);
  line-height: 1.7;
}

.fml-card-notice {
  max-width: 780px;
  margin: 0 auto;
  padding: 18px 20px;
  background: #FFF8E1;
  border: 1px solid #FFE082;
  border-radius: var(--fml-r-md);
}

.fml-card-notice p {
  font-size: 0.85em;
  color: var(--fml-text-mid);
  line-height: 1.8;
}

.fml-card-notice i {
  color: var(--fml-amber);
  margin-right: 6px;
}

/* ============================================
   11. Testimonial & Urgency
   ============================================ */
.fml-testimonial {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 780px;
  margin: 32px auto;
  padding: 28px 24px;
  background: var(--fml-cream);
  border-radius: var(--fml-r-lg);
  border: 1px solid var(--fml-border-light);
}

.fml-testimonial__img img {
  width: 100%;
  border-radius: var(--fml-r-md);
  max-height: 260px;
  object-fit: cover;
}

.fml-testimonial__quote {
  font-size: 0.95em;
  color: var(--fml-text);
  line-height: 1.9;
  font-style: italic;
}

.fml-testimonial__author {
  font-size: 0.82em;
  color: var(--fml-text-light);
  text-align: right;
}

/* Urgency banner */
.fml-urgency {
  text-align: center;
  padding: 18px 20px;
  background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
  border: 2px solid var(--fml-amber);
  border-radius: var(--fml-r-md);
  max-width: 480px;
  margin: 24px auto;
  animation: urgencyPulse 2s ease-in-out infinite;
}

@keyframes urgencyPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 179, 0, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(255, 179, 0, 0); }
}

.fml-urgency p {
  font-size: 1em;
  font-weight: 700;
  color: var(--fml-navy);
}

.fml-urgency i {
  color: var(--fml-coral);
  margin-right: 8px;
}

.fml-urgency strong {
  color: var(--fml-danger);
  font-size: 1.15em;
}

/* Countdown banner */
.fml-countdown {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.fml-countdown__text {
  font-size: 0.82em;
  color: var(--fml-danger);
  font-weight: 600;
}

.fml-countdown__text i {
  margin-right: 6px;
}

/* ============================================
   12. Pricing
   ============================================ */
.fml-plans {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.fml-plan {
  background: var(--fml-white);
  border-radius: var(--fml-r-lg);
  overflow: hidden;
  box-shadow: var(--fml-shadow-md);
  border: 2px solid var(--fml-border);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s;
}

.fml-plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--fml-shadow-lg);
}

.fml-plan--rec {
  border-color: var(--fml-coral);
}

.fml-plan__badge {
  position: absolute;
  top: -1px;
  right: 18px;
  background: linear-gradient(135deg, var(--fml-coral), var(--fml-amber));
  color: #fff;
  padding: 4px 16px;
  border-radius: 0 0 10px 10px;
  font-size: 0.85em;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.fml-plan__head {
  padding: 24px;
  text-align: center;
  border-bottom: 1px solid var(--fml-border-light);
}

.fml-plan__name {
  font-family: var(--fml-font-display);
  font-size: 1.25em;
  font-weight: 700;
  color: var(--fml-navy);
  margin-bottom: 2px;
}

.fml-plan__sub {
  font-size: 0.85em;
  color: var(--fml-text-light);
}

.fml-plan__target {
  padding: 10px 24px;
  text-align: center;
  font-size: 0.85em;
  color: var(--fml-text-mid);
  background: var(--fml-cream);
  border-bottom: 1px solid var(--fml-border-light);
}

.fml-plan__price {
  padding: 26px 24px;
  text-align: center;
  background: var(--fml-cool-gray);
}

.fml-plan__amount {
  font-family: var(--fml-font-display);
  font-size: 2.6em;
  font-weight: 900;
  color: var(--fml-navy);
  line-height: 1.1;
}

.fml-plan--rec .fml-plan__amount {
  color: var(--fml-coral);
}

.fml-plan__unit {
  font-family: var(--fml-font-body);
  font-size: 0.38em;
  font-weight: 400;
  color: var(--fml-text-light);
}

.fml-plan__body { padding: 24px; }

.fml-plan__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fml-plan__list li {
  padding: 9px 0 9px 28px;
  position: relative;
  font-size: 0.88em;
  line-height: 1.6;
  border-bottom: 1px solid var(--fml-border-light);
  color: var(--fml-text-mid);
}

.fml-plan__list li:last-child { border-bottom: none; }

.fml-plan__list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--fml-green);
  font-weight: 700;
  font-size: 0.9em;
}

.fml-plan__cta {
  padding: 0 24px 24px;
  text-align: center;
}

.fml-plan__cta a {
  display: block;
  padding: 16px;
  border-radius: 50px;
  font-weight: 800;
  text-decoration: none !important;
  transition: all 0.3s ease;
  font-size: 1em;
  letter-spacing: 0.03em;
}

.fml-plan__cta--fill a {
  background: linear-gradient(135deg, var(--fml-coral) 0%, #E64A19 100%);
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(255, 112, 67, 0.35);
  animation: ctaPulsePlan 2.5s ease-in-out infinite;
}

@keyframes ctaPulsePlan {
  0%, 100% { box-shadow: 0 4px 16px rgba(255, 112, 67, 0.35), 0 0 0 0 rgba(255, 112, 67, 0.4); }
  50% { box-shadow: 0 6px 24px rgba(255, 112, 67, 0.4), 0 0 0 8px rgba(255, 112, 67, 0); }
}

.fml-plan__cta--fill a:hover {
  box-shadow: 0 8px 30px rgba(255, 112, 67, 0.5);
  transform: translateY(-3px) scale(1.02);
  animation: none;
}

/* Pricing note */
.fml-price-note {
  text-align: center;
  margin-top: 32px;
}

.fml-price-note__reg {
  display: inline-block;
  background: linear-gradient(135deg, #FFF8E1, #FFF3CD);
  padding: 14px 28px;
  border-radius: var(--fml-r-md);
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 0.92em;
  border: 1px solid #FFE082;
}

.fml-price-note__reg .amt {
  font-size: 1.25em;
  color: var(--fml-coral);
}

.fml-price-note small {
  display: block;
  color: var(--fml-text-light);
  font-size: 0.85em;
  margin-top: 4px;
}

/* ============================================
   13. FAQ
   ============================================ */
.fml-faq {
  max-width: 820px;
  margin: 0 auto;
}

.fml-faq__cat {
  margin-bottom: 28px;
  background: var(--fml-white);
  border-radius: var(--fml-r-md);
  box-shadow: var(--fml-shadow-sm);
  border: 1px solid var(--fml-border-light);
  overflow: hidden;
}

.fml-faq__cat-title {
  font-family: var(--fml-font-display);
  font-size: 1em;
  font-weight: 700;
  color: #fff;
  padding: 14px 20px;
  margin: 0;
  background: linear-gradient(135deg, var(--fml-navy), #2c3e5a);
  display: flex;
  align-items: center;
  gap: 10px;
}

.fml-faq__cat-title i {
  font-size: 1.1em;
}

.fml-faq__item {
  border-bottom: 1px solid var(--fml-border-light);
}

.fml-faq__item:last-child {
  border-bottom: none;
}

.fml-faq__q {
  display: flex;
  align-items: center;
  padding: 16px 16px 16px 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9em;
  color: var(--fml-text);
  transition: color 0.2s, background 0.2s;
  gap: 12px;
  user-select: none;
  -webkit-user-select: none;
}

.fml-faq__q:hover {
  color: var(--fml-green);
  background: rgba(67, 160, 71, 0.03);
}

.fml-faq__q-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--fml-green);
  color: #fff;
  border-radius: 50%;
  font-size: 0.85em;
  font-weight: 800;
  flex-shrink: 0;
}

.fml-faq__q-text {
  flex: 1;
}

.fml-faq__q-toggle {
  font-size: 1.4em;
  font-weight: 300;
  color: var(--fml-green);
  flex-shrink: 0;
  width: 1.2em;
  text-align: center;
  transition: transform 0.3s;
}

.fml-faq__q.is-open .fml-faq__q-toggle {
  transform: rotate(45deg);
}

.fml-faq__a-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--fml-coral);
  color: #fff;
  border-radius: 50%;
  font-size: 0.85em;
  font-weight: 800;
  flex-shrink: 0;
  margin-right: 10px;
  vertical-align: top;
}

.fml-faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.fml-faq__a-inner {
  padding: 18px 16px;
  font-size: 0.86em;
  color: var(--fml-text-mid);
  line-height: 1.9;
  background: var(--fml-cream);
  display: flex;
  gap: 0;
}

.fml-faq__a-text {
  flex: 1;
}

/* ============================================
   14. Closing CTA
   ============================================ */
.fml-closing {
  text-align: center;
  padding: 80px 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(211, 47, 47, 0.04) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 100%, rgba(67, 160, 71, 0.08) 0%, transparent 50%),
    linear-gradient(170deg, #FFF5F5 0%, #FFF9F0 40%, #F0F7F0 100%);
  position: relative;
  overflow: hidden;
}

.fml-closing::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(67, 160, 71, 0.06), transparent 70%);
  pointer-events: none;
}

.fml-closing__img {
  margin-bottom: 28px;
}

.fml-closing__img img {
  width: 100%;
  max-width: 600px;
  border-radius: var(--fml-r-lg);
  box-shadow: var(--fml-shadow-lg);
  margin: 0 auto;
}

.fml-closing__title {
  font-family: var(--fml-font-display);
  font-size: 1.4em;
  font-weight: 700;
  color: var(--fml-navy);
  line-height: 1.6;
  margin-bottom: 16px;
}

.fml-closing__text {
  font-size: 0.92em;
  color: var(--fml-text-mid);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.9;
}

.fml-closing__sub {
  font-size: 0.88em;
  color: var(--fml-text-light);
  margin-top: 8px;
}

/* ============================================
   15. Bridge (セクション間つなぎ)
   ============================================ */
.fml-bridge {
  text-align: center;
  padding: 32px 20px;
  position: relative;
}

.fml-bridge p {
  font-family: var(--fml-font-display);
  font-size: 1em;
  font-weight: 600;
  color: var(--fml-navy);
  line-height: 1.8;
  margin: 0;
}

.fml-bridge--warm {
  background: linear-gradient(135deg, #FFF3E0, #FFF8E1);
}

.fml-bridge--cool {
  background: linear-gradient(135deg, #E8F5E9, #F1F8E9);
}

/* ============================================
   16. Footer overrides
   ============================================ */
footer .text-center { text-align: center; }
footer .text-left { text-align: left; }
footer .img-responsive { display: block; max-width: 100%; height: auto; }

/* ── Video ── */
.fml-video {
  max-width: 680px;
  margin: 0 auto;
}
.fml-video__frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--fml-navy);
  border-radius: var(--fml-r-md);
  overflow: hidden;
  box-shadow: var(--fml-shadow-lg);
}
.fml-video__frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* 動画ラベル（お子さま向け／保護者の方向け） */
.fml-video__tag {
  display: block;
  width: fit-content;
  max-width: 90%;
  margin: 0 auto 16px;
  padding: 7px 26px;
  font-family: var(--fml-font-display);
  font-weight: 700;
  font-size: 1.05em;
  line-height: 1.4;
  color: var(--fml-white);
  border-radius: 999px;
  text-align: center;
  box-shadow: var(--fml-shadow-sm);
}
.fml-video__tag--kid {
  background: linear-gradient(135deg, var(--fml-green) 0%, var(--fml-green-light) 100%);
}
.fml-video__tag--parent {
  background: linear-gradient(135deg, var(--fml-coral) 0%, var(--fml-amber) 100%);
}
.fml-video__tag-speaker {
  font-weight: 500;
  font-size: 0.82em;
  opacity: 0.92;
  margin-left: 6px;
}
.fml-video + .fml-video__tag {
  margin-top: 44px;
}

/* ── サンプル講座カード（STARTAI-425）──
   サムネイルを表示しておき、クリックされた時だけYouTubeのiframeに
   差し替える。動画を増やしてもページの読み込みが重くならない。 */
.fml-vgrid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}

.fml-vcard {
  background: var(--fml-white);
  border: 1px solid var(--fml-border-light);
  border-radius: var(--fml-r-md);
  overflow: hidden;
  box-shadow: var(--fml-shadow-sm);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.fml-vcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--fml-shadow-lg);
}

/* サムネイル＝再生ボタン本体。
   サムネイル中央には動画タイトルが焼き込まれているため、再生ボタンは
   中央でなく右下に置き、何の動画かを読めるようにしている。 */
.fml-vcard__thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  padding: 0 0 56.25%; /* 16:9 */
  border: 0;
  background: var(--fml-navy);
  cursor: pointer;
  overflow: hidden;
}

.fml-vcard__thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 下端だけ暗くして、時間と再生ボタンを読ませる（中央の文字には掛けない） */
.fml-vcard__thumb::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to top, rgba(26, 39, 68, 0.42) 0%, rgba(26, 39, 68, 0) 42%);
  pointer-events: none;
}

.fml-vcard__thumb:hover img { transform: scale(1.04); }

.fml-vcard__thumb:focus-visible {
  outline: 3px solid var(--fml-green);
  outline-offset: -3px;
}

.fml-vcard__play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fml-coral) 0%, var(--fml-amber) 100%);
  box-shadow: 0 6px 20px rgba(26, 39, 68, 0.4);
  color: var(--fml-white);
  font-size: 1.1em;
  padding-left: 4px; /* 三角形の視覚的な中心合わせ */
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fml-vcard__thumb:hover .fml-vcard__play { transform: scale(1.12); }

.fml-vcard__time {
  position: absolute;
  left: 14px;
  bottom: 22px;
  z-index: 1;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(26, 39, 68, 0.82);
  color: var(--fml-white);
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* 読み上げ専用（視覚的には隠す） */
.fml-vcard__sronly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 再生開始後に差し込まれるiframe */
.fml-vcard__frame {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 */
  background: var(--fml-navy);
}

.fml-vcard__frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.fml-vcard__body { padding: 22px 24px 26px; }

.fml-vcard__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  margin-bottom: 12px;
  border-radius: 999px;
  font-size: 0.78em;
  font-weight: 700;
  color: var(--fml-white);
}

.fml-vcard__label--parent { background: linear-gradient(135deg, var(--fml-coral) 0%, var(--fml-amber) 100%); }
.fml-vcard__label--kid    { background: linear-gradient(135deg, var(--fml-green) 0%, var(--fml-green-light) 100%); }
.fml-vcard__label--basic  { background: linear-gradient(135deg, var(--fml-navy) 0%, #3D5177 100%); }

.fml-vcard__title {
  font-family: var(--fml-font-display);
  font-size: 1.08em;
  font-weight: 700;
  color: var(--fml-navy);
  line-height: 1.5;
  margin-bottom: 10px;
}

.fml-vcard__text {
  font-size: 0.88em;
  color: var(--fml-text-mid);
  line-height: 1.85;
}

/* 「公開しているのは一部」＝本数の訴求 */
.fml-vmore {
  max-width: 700px;
  margin: 34px auto 0;
  padding: 22px 26px;
  background: var(--fml-white);
  border: 1px solid var(--fml-border);
  border-left: 4px solid var(--fml-green);
  border-radius: var(--fml-r-sm);
  box-shadow: var(--fml-shadow-sm);
  text-align: center;
}

.fml-vmore__lead {
  font-family: var(--fml-font-display);
  font-size: 1.02em;
  font-weight: 700;
  color: var(--fml-navy);
  margin-bottom: 8px;
}

.fml-vmore__lead i { color: var(--fml-green); margin-right: 6px; }

.fml-vmore__text {
  font-size: 0.9em;
  color: var(--fml-text-mid);
  line-height: 1.9;
}

.fml-vmore__text strong { color: var(--fml-coral); font-weight: 700; }

.fml-vgrid .fml-vcard:nth-child(1) { transition-delay: 0s; }
.fml-vgrid .fml-vcard:nth-child(2) { transition-delay: 0.12s; }
.fml-vgrid .fml-vcard:nth-child(3) { transition-delay: 0.24s; }
.fml-vgrid .fml-vcard:nth-child(4) { transition-delay: 0.36s; }
.fml-vgrid .fml-vcard:nth-child(5) { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .fml-vcard,
  .fml-vcard__thumb img,
  .fml-vcard__play { transition: none; }
  .fml-vcard:hover { transform: none; }
  .fml-vcard__thumb:hover img { transform: none; }
  .fml-vcard__thumb:hover .fml-vcard__play { transform: none; }
}

@media (max-width: 767px) {
  footer .hidden-xs { display: none !important; }
  footer .visible-xs { display: block !important; }
  footer .visible-sm { display: none !important; }
}

@media (min-width: 768px) and (max-width: 991px) {
  footer .hidden-sm { display: none !important; }
  footer .visible-sm { display: block !important; }
  footer .visible-xs { display: none !important; }
}

@media (min-width: 992px) {
  footer .visible-sm,
  footer .visible-xs { display: none !important; }
}

/* ============================================
   17. Scroll Animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal--d1 { transition-delay: 0.1s; }
.reveal--d2 { transition-delay: 0.2s; }
.reveal--d3 { transition-delay: 0.3s; }
.reveal--d4 { transition-delay: 0.4s; }

/* Staggered cards */
.fml-cards .fml-card:nth-child(1) { transition-delay: 0s; }
.fml-cards .fml-card:nth-child(2) { transition-delay: 0.12s; }
.fml-cards .fml-card:nth-child(3) { transition-delay: 0.24s; }

/* ============================================
   Responsive: Tablet (768px+)
   ============================================ */
@media (min-width: 768px) {
  .fml-sec { padding: 100px 0; }

  /* Section titles */
  .fml-sec-title { font-size: 2.2em; }
  .fml-heading { margin-bottom: 56px; }
  .fml-heading__title { font-size: 2.2em; }
  .fml-heading__sub { font-size: 1.05em; }

  /* Hero */
  .fml-hero { padding: 120px 0 100px; }
  .fml-hero__content { max-width: 600px; text-align: left; margin: 0; padding: 44px 36px; }
  .fml-hero__title { font-size: 2.8em; }
  .fml-hero__subtitle { font-size: 1.15em; }
  .fml-hero__kicker { font-size: 1.15em; }
  .fml-hero__benefit { font-size: 1.05em; }

  /* Ticker */
  .fml-ticker__item { font-size: 0.92em; }

  /* Stats */
  .fml-stat-cards { flex-direction: row; gap: 24px; }
  .fml-stat-card { flex: 1; padding: 36px 28px; }
  .fml-stat-card__number { font-size: 3.8em; }

  /* Bridge text */
  .fml-bridge-text { font-size: 1.35em; }

  /* Worries */
  .fml-worry p { font-size: 0.98em; }

  /* Danger box */
  .fml-danger-box { padding: 32px 28px; }
  .fml-danger-box__items { flex-direction: row; gap: 16px; }
  .fml-danger-box__item { flex: 1; }

  /* Solution */
  .fml-solution { flex-direction: row; align-items: center; gap: 36px; }
  .fml-solution__img { flex: 0 0 40%; }
  .fml-solution__change { flex-direction: row; gap: 16px; }

  /* Bridge */
  .fml-bridge { padding: 44px 20px; }
  .fml-bridge p { font-size: 1.3em; }

  /* CTA */
  .fml-cta a { padding: 24px 56px; font-size: 1.3em; }

  /* Cards */
  .fml-cards { flex-direction: row; flex-wrap: wrap; gap: 24px; }
  .fml-card { flex: 1 1 calc(33.333% - 16px); min-width: 280px; }
  .fml-card__img { height: 240px; }
  .fml-card__title { font-size: 1.15em; }
  .fml-card__text { font-size: 0.92em; }

  /* Trial cards */
  .fml-trial-cards { flex-direction: row; gap: 24px; }
  .fml-trial-card { flex: 1; }
  .fml-trial-card__img img { height: 200px; }

  /* Promises */
  .fml-promises { flex-direction: row; gap: 20px; }
  .fml-promise { flex: 1; }

  /* Testimonial */
  .fml-testimonial { flex-direction: row; align-items: center; gap: 28px; padding: 36px 32px; }
  .fml-testimonial__img { flex: 0 0 40%; }
  .fml-testimonial__img img { max-height: 300px; }

  /* Pricing */
  .fml-plans { flex-direction: row; gap: 28px; }
  .fml-plan { flex: 1; }
  .fml-plan__name { font-size: 1.4em; }
  .fml-plan__amount { font-size: 3em; }
  .fml-plan__list li { font-size: 0.92em; }

  /* FAQ */
  .fml-faq__q { font-size: 0.95em; padding: 18px 8px 18px 16px; }
  .fml-faq__a-inner { font-size: 0.92em; padding: 0 16px 20px; }
  .fml-faq__cat-title { font-size: 1.1em; }

  /* Video */
  .fml-video { max-width: 780px; }

  /* サンプル講座カード: 2列。奇数枚のときは最後の1枚を中央に置く */
  .fml-vgrid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
  }
  .fml-vcard { flex: 0 1 calc(50% - 14px); min-width: 320px; }  /* growさせない: 奇数枚のとき最後の1枚が横に伸びるため */
  .fml-vcard__body { padding: 24px 26px 28px; }
  .fml-vcard__title { font-size: 1.15em; }
  .fml-vcard__text { font-size: 0.92em; }
  .fml-vcard__play { width: 64px; height: 64px; font-size: 1.25em; }
  .fml-vmore__lead { font-size: 1.1em; }
  .fml-vmore__text { font-size: 0.95em; }

  /* Closing */
  .fml-closing { padding: 100px 0; }
  .fml-closing__img img { max-width: 640px; }
  .fml-closing__title { font-size: 2.2em; }
  .fml-closing__text { font-size: 1.05em; max-width: 640px; }

  /* Flow responsive */
  .fml-flow__suptitle { font-size: 1.25em; margin-bottom: 32px; }
  .fml-flow__block { padding: 28px 28px; }
  .fml-flow__photo { width: 80px; height: 80px; }
  .fml-flow__headline { font-size: 1.1em; }
  .fml-flow__timeline { flex-direction: row; gap: 3px; }
  .fml-flow__phase {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border-bottom: none;
    flex: 1;
  }
  .fml-flow__bar-seg {
    width: auto;
    height: 8px;
    min-height: auto;
    border-radius: 4px;
    margin-bottom: 8px;
    align-self: auto;
    transform: scaleX(0);
    transform-origin: left;
  }
  .reveal.is-visible .fml-flow__bar-seg { transform: scaleX(1); }
  .fml-flow__phase-info { flex: none; }
  .fml-flow__phase-label { display: block; font-size: 0.85em; }
  .fml-flow__phase-days,
  .fml-flow__phase-time { display: block; font-size: 0.82em; margin-left: 0; margin-top: 1px; }
  .fml-flow__tasks li { font-size: 0.82em; }
  .fml-flow__result { padding: 36px 28px; }
  .fml-flow__result-before { font-size: 2em; }
  .fml-flow__result-after { font-size: 3em; }
  .fml-flow__result-catch { font-size: 1.05em; }
}

/* ============================================
   Responsive: Desktop (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  .fml-sec { padding: 120px 0; }
  .fml-sec-title { font-size: 2.6em; }
  .fml-heading { margin-bottom: 64px; }
  .fml-heading__title { font-size: 2.6em; }
  .fml-heading__sub { font-size: 1.1em; }

  /* Hero */
  .fml-hero { padding: 160px 0 140px; }
  .fml-hero__content { max-width: 660px; padding: 48px 44px; }
  .fml-hero__title { font-size: 3.4em; }
  .fml-hero__subtitle { font-size: 1.25em; }
  .fml-hero__kicker { font-size: 1.25em; }

  /* Stats */
  .fml-stat-card { padding: 44px 32px; }
  .fml-stat-card__number { font-size: 4.2em; }
  .fml-stat-card__label { font-size: 1em; }

  /* Bridge text */
  .fml-bridge-text { font-size: 1.5em; }

  /* Danger box */
  .fml-danger-box { padding: 36px 32px; }
  .fml-danger-box__title { font-size: 1.15em; }
  .fml-danger-box__item p { font-size: 0.95em; }

  /* Bridge */
  .fml-bridge { padding: 52px 20px; }
  .fml-bridge p { font-size: 1.5em; }

  /* CTA */
  .fml-cta a { padding: 26px 68px; font-size: 1.35em; }

  /* Cards */
  .fml-card__img { height: 270px; }
  .fml-card__body { padding: 28px; }
  .fml-card__title { font-size: 1.2em; }
  .fml-card__text { font-size: 0.95em; }

  /* Trial cards */
  .fml-trial-card__img img { height: 240px; }

  /* Promises */
  .fml-promise { padding: 36px 28px; }

  /* Pricing */
  .fml-plan__amount { font-size: 3.4em; }
  .fml-plan__name { font-size: 1.5em; }
  .fml-plan__list li { font-size: 0.95em; padding: 11px 0 11px 30px; }
  .fml-plan__body { padding: 28px; }

  /* FAQ */
  .fml-faq__q { font-size: 1em; }
  .fml-faq__a-inner { font-size: 0.95em; }

  /* Video */
  .fml-video { max-width: 960px; }

  /* サンプル講座カード */
  .fml-vgrid { max-width: 1000px; gap: 32px; }
  .fml-vcard { flex: 0 1 calc(50% - 16px); }
  .fml-vcard__title { font-size: 1.2em; }
  .fml-vcard__text { font-size: 0.95em; }

  /* Closing */
  .fml-closing { padding: 120px 0; }
  .fml-closing__img img { max-width: 760px; }
  .fml-closing__title { font-size: 2.6em; }
  .fml-closing__text { font-size: 1.1em; max-width: 700px; }

  /* Flow responsive */
  .fml-flow__suptitle { font-size: 1.35em; margin-bottom: 36px; }
  .fml-flow__block { padding: 32px 36px; }
  .fml-flow__photo { width: 88px; height: 88px; }
  .fml-flow__head { gap: 20px; margin-bottom: 24px; }
  .fml-flow__headline { font-size: 1.15em; }
  .fml-flow__timeline { gap: 4px; }
  .fml-flow__bar-seg { height: 10px; }
  .fml-flow__phase-label { font-size: 0.82em; }
  .fml-flow__phase-days,
  .fml-flow__phase-time { font-size: 0.82em; }
  .fml-flow__tasks li { font-size: 0.82em; }
  .fml-flow__divider { margin: 36px 0; }
  .fml-flow__divider-icon { width: 52px; height: 52px; font-size: 1.4em; }
  .fml-flow__divider-text { font-size: 1em; }
  .fml-flow__result { padding: 40px 36px; margin-top: 40px; }
  .fml-flow__result-before { font-size: 2.2em; }
  .fml-flow__result-after { font-size: 3.4em; }
  .fml-flow__result-catch { font-size: 1.1em; }
}

/* ============================================
   Responsive: Wide Desktop (1400px+)
   ============================================ */
@media (min-width: 1400px) {
  .wrap { max-width: 1320px; }
  .fml-sec-title { font-size: 2.8em; }
  .fml-heading__title { font-size: 2.8em; }

  .fml-hero__content { max-width: 720px; padding: 52px 48px; }
  .fml-hero__title { font-size: 3.8em; }
  .fml-hero__subtitle { font-size: 1.35em; }
  .fml-hero__kicker { font-size: 1.35em; }

  .fml-stat-card__number { font-size: 4.8em; }

  .fml-bridge { padding: 56px 20px; }
  .fml-bridge p { font-size: 1.6em; }

  .fml-card__img { height: 300px; }
  .fml-card__body { padding: 32px; }

  .fml-plan { border-radius: var(--fml-r-xl); }
  .fml-plan__head { padding: 30px; }
  .fml-plan__amount { font-size: 3.8em; }
  .fml-plan__body { padding: 32px; }
  .fml-plan__list li { font-size: 1em; }

  .fml-video { max-width: 1000px; }
  .fml-closing__img img { max-width: 860px; }
  .fml-closing__title { font-size: 2.8em; }
  .fml-closing__text { font-size: 1.15em; }
}
/* ============================================
   お支払いの流れ ＋ CTA下のマイクロコピー（STARTAI-338）
   料金体系（無料体験 → 本受講時に登録料＋月額）を申込前に明示し、
   体験後の想定外の費用によるトラブル・離脱を防ぐ
   ============================================ */
.fml-fee-flow {
  max-width: 760px;
  margin: 24px auto 28px;
  padding: 22px 24px;
  background: #fff;
  border: 2px solid var(--fml-green-light);
  border-radius: 16px;
  text-align: center;
}
.fml-fee-flow__title {
  font-family: var(--fml-font-display);
  font-weight: 800;
  color: var(--fml-green);
  margin-bottom: 16px;
}
.fml-fee-flow__title i { margin-right: 6px; }
.fml-fee-flow__steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
}
.fml-fee-flow__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 14px;
  background: var(--fml-cream);
  border-radius: 12px;
}
.fml-fee-flow__when {
  font-size: 0.85em;
  font-weight: 700;
  color: var(--fml-text-mid);
}
.fml-fee-flow__amt {
  font-family: var(--fml-font-display);
  font-size: 1.25em;
  font-weight: 800;
  color: var(--fml-navy);
  line-height: 1.4;
}
.fml-fee-flow__amt--free {
  font-size: 2em;
  color: var(--fml-green);
}
.fml-fee-flow__desc {
  font-size: 0.85em;
  color: var(--fml-text-light);
  line-height: 1.7;
}
.fml-fee-flow__arrow {
  display: flex;
  align-items: center;
  color: var(--fml-green-light);
  font-size: 1.3em;
}
.fml-fee-flow__note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--fml-green-light);
  font-size: 0.9em;
  line-height: 1.8;
  color: var(--fml-text-mid);
}
.fml-fee-flow__note i { margin-right: 4px; color: var(--fml-green); }
.fml-fee-flow__note strong { color: var(--fml-green); font-weight: 800; }

/* スマホでは縦積みにし、矢印を下向きに */
@media (max-width: 767px) {
  .fml-fee-flow { padding: 18px 16px; }
  .fml-fee-flow__steps { flex-direction: column; gap: 8px; }
  .fml-fee-flow__arrow { justify-content: center; transform: rotate(90deg); }
}

/* CTA直下のマイクロコピー */
.fml-cta-note {
  max-width: 560px;
  margin: 10px auto 0;
  font-size: 0.85em;
  line-height: 1.7;
  color: var(--fml-text-light);
  text-align: center;
}
.fml-cta-note i { margin-right: 4px; opacity: 0.85; }
.fml-cta-note strong { color: var(--fml-text); font-weight: 700; }
/* ヒーロー（背景写真の上）では白抜きにする */
.fml-hero__content .fml-cta-note {
  color: rgba(255, 255, 255, 0.85);
}
.fml-hero__content .fml-cta-note strong { color: #fff; }
.fml-cta-note--plan {
  margin-top: 8px;
  padding: 0 10px;
  font-size: 0.82em;
}

/* ============================================================================
   ここから LP004 独自レイヤー（漫画パート）
   上の LP003 共通スタイルを土台に、漫画を読ませる部分だけを上書きする。
   クロージング（今月の無料体験枠 以降）は LP003 と完全に同じ見た目にするため、
   .fml-* のスタイルには手を入れない。
   ============================================================================ */

:root {
  /* 漫画の紙色（実測値） */
  --mng-paper: #F6F3EA;
  --mng-paper-deep: #EDE8DA;

  /* 暖色＝漫画の最終ページに描かれているボタンと同じ配色 */
  --mng-orange: #E8823C;
  --mng-amber: #F5B335;
  --mng-orange-deep: #C25F1B;

  --mng-navy: #2B3A54;
  --mng-ink: #23201C;

  --mng-text: #2A2723;
  --mng-text-mid: #47433D;

  --mng-line: #DFD8C8;
  --mng-glow: 0 8px 28px rgba(232, 130, 60, 0.34);
}

/* 漫画パートの地色。クロージングは各セクションが背景色を持つので影響しない */
body {
  background: var(--mng-paper);
}

.mng-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .mng-wrap { padding: 0 32px; }
}

/* ---- CTA（漫画パート専用。クロージングの .fml-cta とは別） ---- */
.mng-cta {
  text-align: center;
  margin: 30px 0 12px;
}

.mng-cta a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 18px 40px;
  border-radius: 50vh;
  background: linear-gradient(135deg, var(--mng-orange) 0%, var(--mng-amber) 100%);
  border: 2px solid rgba(194, 95, 27, 0.35);
  color: #fff;
  font-size: 1.14em;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  box-shadow: var(--mng-glow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.mng-cta a small {
  font-size: 0.72em;
  font-weight: 600;
  opacity: 0.95;
  letter-spacing: 0.04em;
}

.mng-cta a:hover {
  transform: translateY(-3px);
  filter: brightness(106%);
  box-shadow: 0 14px 34px rgba(232, 130, 60, 0.45);
}

.mng-cta a:focus-visible {
  outline: 3px solid var(--mng-navy);
  outline-offset: 3px;
}

.mng-cta--sm a { padding: 14px 32px; font-size: 1em; }

/* ---- Hero（漫画の表紙） ---- */
.mng-hero {
  padding: 84px 0 40px;
  background: linear-gradient(180deg, var(--mng-paper-deep) 0%, var(--mng-paper) 62%);
  text-align: center;
}

.mng-hero__eyebrow {
  display: inline-block;
  padding: 5px 18px;
  margin-bottom: 16px;
  border-radius: 50vh;
  background: var(--mng-navy);
  color: #fff;
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.mng-hero__lead {
  margin: 24px auto 0;
  max-width: 660px;
  font-size: 1.02em;
  font-weight: 500;
  line-height: 2;
  color: var(--mng-text-mid);
}

.mng-hero__lead strong {
  color: var(--mng-orange-deep);
  font-weight: 700;
}

/* ---- 漫画ページ ---- */
.mng-sec { padding: 44px 0; }

/* 漫画は縦長（2:3・STARTAI-655）。PCで1ページが画面に収まる幅に絞る */
.mng-page {
  margin: 0 auto 20px;
  max-width: 560px;
  border: 1px solid var(--mng-line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(43, 58, 84, 0.08);
}

.mng-page img { width: 100%; }

.mng-page--hero {
  max-width: 560px;
  margin-bottom: 0;
  border-color: var(--mng-ink);
  box-shadow: 0 14px 44px rgba(43, 58, 84, 0.18);
}

/* 最終ページ。ボタンが描かれているので画像自体を料金プランへの導線にする */
.mng-page--action {
  margin-bottom: 0;
  border-color: var(--mng-orange);
  box-shadow: var(--mng-glow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mng-page--action a { display: block; cursor: pointer; }

.mng-page--action:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(232, 130, 60, 0.45);
}

.mng-page--action a:focus-visible {
  outline: 3px solid var(--mng-navy);
  outline-offset: 3px;
}

/* 漫画の最下部に置く注釈 */
.mng-caution {
  max-width: 900px;
  margin: 16px auto 0;
  text-align: center;
  font-size: 0.86em;
  line-height: 1.8;
  /* 小さい注記はLP3側と同じこげ茶に揃える（STARTAI-425） */
  color: var(--fml-text-light);
}

/* 章の扉 */
.mng-chapter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--mng-ink);
  font-size: 1.16em;
  font-weight: 700;
  color: var(--mng-ink);
  text-align: center;
  line-height: 1.5;
}

.mng-chapter__num {
  flex-shrink: 0;
  padding: 4px 14px;
  border-radius: 4px;
  background: var(--mng-ink);
  color: var(--mng-paper);
  font-size: 0.74em;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ---- 章のあいだの帯（語り＋CTA） ---- */
.mng-band {
  padding: 34px 0;
  background: var(--mng-navy);
  color: #fff;
  text-align: center;
}

.mng-band__text {
  font-size: 1.02em;
  font-weight: 600;
  line-height: 2;
}

.mng-band__text strong { color: var(--mng-amber); font-weight: 700; }

.mng-band--accent {
  background: linear-gradient(135deg, var(--mng-orange-deep) 0%, var(--mng-orange) 100%);
}

.mng-band .mng-cta a {
  background: #fff;
  color: var(--mng-orange-deep);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.mng-band .mng-cta a:hover {
  background: var(--mng-paper);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

/* ---- 漫画パートのスクロール表示 ---- */
.mng-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  .mng-reveal { opacity: 1; transform: none; transition: none; }
  .mng-cta a, .mng-page--action { transition: none; }
  .mng-cta a:hover, .mng-page--action:hover { transform: none; }
}

/* ---- 漫画パートのレスポンシブ ---- */
@media (min-width: 768px) {
  .mng-hero { padding: 104px 0 52px; }
  .mng-hero__eyebrow { font-size: 0.86em; }
  .mng-hero__lead { font-size: 1.1em; margin-top: 30px; }

  .mng-sec { padding: 60px 0; }
  .mng-page { margin-bottom: 26px; }
  .mng-chapter { font-size: 1.34em; margin-bottom: 28px; }
  .mng-caution { font-size: 0.9em; }

  .mng-band { padding: 44px 0; }
  .mng-band__text { font-size: 1.14em; }
}

@media (min-width: 1024px) {
  .mng-chapter { font-size: 1.42em; }
}

/* ============================================
   3. LP005 追加レイヤー（STARTAI-530）
   コース一本化（中級のみ）＋ LP内申込フォーム
   ============================================ */

/* --- 登録料キャンペーン告知 ---
   0円を主役に据える。11,000円は注記の中だけに置き、金額の対比表示はしない。
   「お支払いの流れ」の 0円（体験期間の支払い）と混同されないよう、
   何の 0円かを数字の上（登録料）で必ず名指しする。 */
.fml-campaign {
  position: relative;
  max-width: 560px;
  margin: 0 auto 28px;
  padding: 26px 22px 18px;
  background:
    radial-gradient(120% 80% at 50% 0%, #FFFDF6 0%, #FFF6E0 60%);
  border: 2px solid var(--fml-amber);
  border-radius: var(--fml-r-md);
  box-shadow: 0 6px 24px rgba(255, 179, 0, 0.22);
  text-align: center;
}

.fml-campaign__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--fml-coral), var(--fml-amber));
  color: #fff;
  font-size: 0.82em;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 18px;
  border-radius: 50vh;
  box-shadow: 0 3px 10px rgba(255, 112, 67, 0.32);
}

.fml-campaign__lead {
  margin: 0;
  font-size: 1.02em;
  font-weight: 700;
  line-height: 1.5;
  color: var(--fml-text);
}
.fml-campaign__lead strong {
  color: var(--fml-coral);
  font-size: 1.18em;
}

.fml-campaign__amount {
  margin: 0;
  line-height: 1;
  color: var(--fml-coral);
  font-family: var(--fml-font-display);
}
.fml-campaign__num {
  font-size: 4.6em;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.fml-campaign__unit {
  font-size: 1.7em;
  font-weight: 900;
  margin-left: 2px;
}

.fml-campaign__sub {
  margin: 8px 0 0;
  font-size: 0.92em;
  font-weight: 700;
  color: var(--fml-text);
}

.fml-campaign__note {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 179, 0, 0.55);
  font-size: 0.78em;
  line-height: 1.7;
  color: var(--fml-text-light);
}

@media (min-width: 768px) {
  .fml-campaign { padding: 30px 26px 20px; }
  .fml-campaign__num { font-size: 5.4em; }
  .fml-campaign__badge { font-size: 0.86em; }
}

/* --- 単一プランの中央寄せ --- */
.fml-plans--single {
  max-width: 560px;
  margin: 0 auto;
}
.fml-plans--single .fml-plan { width: 100%; }

/* --- LP内申込フォーム --- */
.fml-apply {
  padding: 0 24px 24px;
}
.fml-apply__field {
  margin-bottom: 18px;
  text-align: left;
}
.fml-apply__label {
  display: block;
  font-size: 0.92em;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--fml-text);
}
.fml-apply__req {
  display: inline-block;
  background: var(--fml-danger);
  color: #fff;
  font-size: 0.72em;
  font-weight: 700;
  border-radius: 4px;
  padding: 1px 8px;
  margin-left: 8px;
  vertical-align: 2px;
}
.fml-apply__input {
  width: 100%;
  box-sizing: border-box;
  font-size: 16px; /* iOSのフォーカス時ズーム防止のため16px以上 */
  padding: 13px 15px;
  border: 2px solid var(--fml-border);
  border-radius: var(--fml-r-sm);
  background: #fff;
  color: var(--fml-text);
}
.fml-apply__input:focus {
  outline: none;
  border-color: var(--fml-green);
  box-shadow: 0 0 0 3px var(--fml-green-glow);
}
.fml-apply__err {
  margin: 6px 0 0;
  font-size: 0.85em;
  font-weight: 700;
  color: var(--fml-danger);
  text-align: left;
}
.fml-apply__dup {
  margin-top: 8px;
  padding: 12px 14px;
  background: var(--fml-danger-light);
  border: 1px solid var(--fml-danger);
  border-radius: var(--fml-r-sm);
  font-size: 0.88em;
  line-height: 1.7;
  text-align: left;
}
.fml-apply__dup p {
  margin: 0 0 6px;
  font-weight: 700;
}
.fml-apply__dup a {
  color: var(--fml-danger);
  font-weight: 800;
  text-decoration: underline;
}
.fml-apply__agree {
  background: #fff9e6;
  border-left: 4px solid var(--fml-amber);
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 20px;
  text-align: left;
}
.fml-apply__agree-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9em;
  font-weight: 400;
  line-height: 1.8;
  margin: 0;
}
.fml-apply__agree-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--fml-green);
}
.fml-apply__agree-label a {
  color: var(--fml-coral);
  font-weight: 700;
  text-decoration: underline;
}
.fml-apply__agree-note {
  display: block;
  font-size: 0.86em;
  color: var(--fml-text-mid);
  margin-top: 4px;
}
.fml-apply__submit {
  text-align: center;
}
.fml-apply__submit button {
  display: block;
  width: 100%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--fml-green) 0%, var(--fml-green-light) 100%);
  color: #fff;
  font-size: 1.06em;
  font-weight: 800;
  line-height: 1.4;
  padding: 16px 24px;
  border-radius: 50vh;
  box-shadow: var(--fml-shadow-glow);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.fml-apply__submit button:hover,
.fml-apply__submit button:focus {
  filter: brightness(108%);
  transform: translateY(-2px);
}
.fml-apply__submit button:focus-visible {
  outline: 3px solid var(--fml-amber);
  outline-offset: 3px;
}
.fml-apply__submit button:disabled {
  background: #9E9E9E;
  box-shadow: none;
  transform: none;
  cursor: default;
}
.fml-apply__btn-sub {
  display: block;
  font-size: 0.78em;
  font-weight: 700;
  opacity: 0.92;
}
.fml-apply__next {
  font-size: 0.82em;
  color: var(--fml-text-mid);
  margin: 10px 0 0;
}

/* --- お支払いについて（継続時費用の明示） --- */
.fml-fee-detail {
  max-width: 560px;
  margin: 24px auto 0;
  background: #fff;
  border: 1px solid var(--fml-border);
  border-radius: var(--fml-r-md);
  padding: 18px 20px;
  text-align: left;
}
.fml-fee-detail__title {
  font-size: 0.92em;
  font-weight: 800;
  margin: 0 0 8px;
  padding-left: 10px;
  border-left: 4px solid var(--fml-green);
  color: var(--fml-text);
}
.fml-fee-detail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.84em;
  color: var(--fml-text-mid);
  line-height: 1.8;
}
.fml-fee-detail__list li {
  position: relative;
  padding: 4px 0 4px 16px;
}
.fml-fee-detail__list li::before {
  content: '・';
  position: absolute;
  left: 0;
}


/* ============================================
   4. 日本語の折り返し（STARTAI-530 追加対応）

   「大きな差を生みまし／た。」のように語の途中で行が割れるのを防ぐ。
   - word-break: auto-phrase … 文節を解析して、その切れ目でだけ折り返す
   - text-wrap: pretty は使わない（Chrome でキャッシュなしの初回表示時にタブが落ちるため外した。STARTAI-689・2026-10-08）
   - text-wrap: balance ………… 見出しの各行の長さを揃える
   いずれも未対応ブラウザでは無視され、従来どおりの折り返しになる（表示は崩れない）。
   非対応ブラウザでも確実に固めたい箇所は、テンプレート側で .fml-nb（下記）を使う。
   ============================================ */

/* 本文・説明文 */
.mng-hero__lead,
.mng-band__text,
.mng-caution,
.fml-sec-sub,
.fml-urgency p,
.fml-countdown__text,
.fml-vmore__lead,
.fml-vmore__text,
.fml-vcard__text,
.fml-fee-flow__when,
.fml-fee-flow__desc,
.fml-fee-flow__note,
.fml-campaign__lead,
.fml-campaign__sub,
.fml-campaign__note,
.fml-cc-notice,
.fml-plan__list li,
.fml-plan__sub,
.fml-apply__label,
.fml-apply__agree-label,
.fml-apply__agree-note,
.fml-apply__next,
.fml-fee-detail__list li,
.fml-cta-note,
.fml-closing__text,
.fml-closing__sub,
.fml-faq__q-text,
.fml-faq__a-text,
.fml-org__row dd,
.fml-tc {
  word-break: auto-phrase;
}

/* ボタン・ラベル（「わが家で始／める」のような1〜2文字の泣き別れを防ぐ） */
.mng-cta a,
.fml-cta a,
.fml-cta a small,
.fml-apply__submit button,
.fml-plan__cta a,
.fml-vcard__label,
.fml-video__tag,
.fml-plan__badge,
.fml-login-link {
  word-break: auto-phrase;
  text-wrap: balance;
}

/* 話者名（「スタッフ講師より」等）は塊で扱う。
   親が max-width で絞られているため、inline のままだと「スタッフ講師よ／り」と割れる */
.fml-video__tag-speaker {
  display: inline-block;
}

/* 見出し（行の長さを揃える） */
.mng-chapter,
.mng-hero__eyebrow,
.fml-sec-title,
.fml-heading__title,
.fml-closing__title,
.fml-plan__name,
.fml-vcard__title,
.fml-faq__cat-title,
.fml-fee-flow__title,
.fml-fee-detail__title,
.fml-video__tag {
  word-break: auto-phrase;
  text-wrap: balance;
}

/* この塊は途中で折り返さない、をブラウザを問わず指定する。
   inline-block は行の途中で分割されないため、auto-phrase 非対応環境でも効く。
   長すぎる語に付けると画面からはみ出すので、10文字程度までの語句に限って使う */
.fml-nb {
  display: inline-block;
}

/* ============================================
   4. LP006 追加レイヤー（STARTAI-655）
   ============================================ */

/* ── 無料体験の特典：本棚 ──
   表紙画像は背景が透過した立体の本。棚板の上に立たせて並べる。
   棚板は各冊の ::after で描き、列の間を空けない（column-gap: 0）ことで1枚の板に見せる */
.lp6-bonus {
  padding: 64px 0 72px;
  background: var(--fml-cream);
}

.lp6-shelf {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* 長い題名で列幅が偏らないように */
  column-gap: 0;
  row-gap: 40px;
  max-width: 900px;
  margin: 8px auto 0;
}

.lp6-book {
  display: flex;
  flex-direction: column;
  padding: 0 10px;
  text-align: center;
}

.lp6-book__cover {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 196px;
  padding-bottom: 12px; /* 棚板の厚み分 */
  margin: 0 -11px 16px; /* 棚板を隣の冊と1pxずつ重ねて、継ぎ目を出さない */
}

.lp6-book__cover img {
  position: relative;
  z-index: 1;
  width: auto;
  height: 180px;
  filter: drop-shadow(0 6px 6px rgba(90, 70, 50, 0.22));
}

.lp6-book__cover::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14px;
  background: linear-gradient(to bottom, #E2C79F 0%, #E2C79F 45%, #C9A574 46%, #B8925E 100%);
}

.lp6-book__title {
  margin-bottom: 8px;
  font-family: var(--fml-font-display);
  font-size: 0.98em;
  font-weight: 700;
  line-height: 1.5;
  color: var(--fml-navy);
  word-break: auto-phrase;
  text-wrap: balance;
}

/* 副題は1行下に小さく（「〜」の位置で割れないように） */
.lp6-book__sub {
  display: block;
  margin-top: 2px;
  font-size: 0.82em;
  font-weight: 500;
}

.lp6-book__text {
  font-size: 0.84em;
  line-height: 1.8;
  color: var(--fml-text-mid);
  text-align: left;
}

@media (min-width: 768px) {
  .lp6-bonus { padding: 80px 0 88px; }

  .lp6-shelf {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 48px;
  }

  .lp6-book { padding: 0 18px; }

  .lp6-book__cover {
    height: 252px;
    margin: 0 -19px 18px;
  }

  .lp6-book__cover img { height: 236px; }

  .lp6-book__title { font-size: 1.05em; }

  .lp6-book__text { font-size: 0.88em; }
}

/* ── 講座4つの紹介 ──
   lp005 のサンプル動画カード（.fml-vcard）の見た目を使い、再生はしない（再生ボタンは出さない）。
   サムネイルを押して何も起きない空振りを減らすため、カード全体を申込フォーム（#plan）へのリンクにしている */
.lp6-courses {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.lp6-course {
  position: relative;
}

.lp6-course__link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.lp6-course__link:focus-visible {
  outline: 3px solid var(--fml-navy);
  outline-offset: 3px;
}

.lp6-course__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--fml-navy);
  overflow: hidden;
}

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

.fml-vcard__label--practice { background: linear-gradient(135deg, #6A3FA8 0%, #8656C7 100%); }

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

/* ============================================
   5. LP007 追加レイヤー（STARTAI-655）
   ============================================ */

/* 漫画の合間に入れる語りの1行（Day1の前・Day8の前） */
.mng-narr {
  max-width: 560px;
  margin: 8px auto 28px;
  padding: 14px 18px;
  border: 2px solid var(--mng-ink);
  border-radius: 4px;
  background: #fff;
  box-shadow: 4px 4px 0 var(--mng-ink);
  color: var(--mng-ink);
  font-size: 1.08em;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
  word-break: auto-phrase;
  text-wrap: balance;
}

/* 料金: 運営支給の見本どおり、赤字の一言を添えて金額を大きく見せる */
.fml-plan__catch {
  margin-bottom: 4px;
  color: var(--fml-danger);
  font-size: 0.98em;
  white-space: nowrap;
  font-weight: 700;
  line-height: 1.5;
}

.fml-plan__catch i { color: var(--fml-green); }

.fml-plans--single .fml-plan__amount {
  font-size: 3.2em;
  line-height: 1.05;
  white-space: nowrap;
}

.fml-plans--single .fml-plan__unit {
  font-size: 0.3em;
  color: var(--fml-text);
}

/* 320px幅の端末で赤字の一言が枠に当たらないように */
@media (max-width: 359px) {
  .fml-plan__catch { font-size: 0.9em; }
}

@media (min-width: 768px) {
  .mng-narr { font-size: 1.22em; margin-bottom: 34px; }
  .fml-plan__catch { font-size: 1.2em; }
  .fml-plans--single .fml-plan__amount { font-size: 4.6em; }
}
