/* ============================================================
   CSS Reset + Base Styles
   ============================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* ============================================================
   CSS Custom Properties (Design Tokens)
   - ネットスクールのコーポレートカラーをベースに設定
   - CTA のみアクセント色を使用
   ============================================================ */

:root {
  /* Brand Colors */
  --color-primary: #1a5c9e;       /* ネットスクール青（メイン） */
  --color-primary-dark: #0e3d6e;
  --color-primary-light: #e8f0fa;

  /* CTA Accent */
  --color-accent: #ff7a00;        /* CTAボタン用アクセント（オレンジ） */
  --color-accent-dark: #e06a00;
  --color-accent-light: #fff4ef;

  /* Neutral */
  --color-text: #2c2c2c;
  --color-text-light: #5a5a5a;
  --color-text-muted: #888888;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8fa;
  --color-border: #dce0e6;

  /* Typography */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.5rem;     /* 24px */
  --font-size-2xl: 2rem;      /* 32px */
  --font-size-3xl: 2.5rem;    /* 40px */

  /* Spacing */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 1rem;      /* 16px */
  --space-md: 1.5rem;    /* 24px */
  --space-lg: 2.5rem;    /* 40px */
  --space-xl: 4rem;      /* 64px */
  --space-2xl: 6rem;     /* 96px */

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* ============================================================
   Header
   ============================================================ */

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  height: var(--header-height);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

/* Logo */
.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header-logo-img {
  height: 48px;
  width: auto;
}

/* Nav (PC) */
.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-left: auto;
}

.header-nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.header-nav-link {
  display: block;
  padding: 0.4em 0.7em;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: #333;
  transition: color 0.2s;
  white-space: nowrap;
}

.header-nav-link:hover {
  color: var(--color-accent);
}

/* Header CTA */
.header-nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-left: var(--space-sm);
}

.btn-sm {
  font-size: var(--font-size-sm);
  padding: 0.5em 1.2em;
  border-radius: var(--radius-sm);
}

/* SP actions (hidden on PC) */
.header-sp-actions {
  display: none;
  align-items: center;
  gap: var(--space-xs);
}

/* Hamburger button */
.header-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.header-burger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Burger open state */
.header-burger.is-open .header-burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header-burger.is-open .header-burger-line:nth-child(2) {
  opacity: 0;
}

.header-burger.is-open .header-burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Overlay (SP only) */
.header-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 98;
}

.header-overlay.is-visible {
  display: block;
}

/* ---- SP Header ---- */
@media (max-width: 768px) {
  .header {
    height: 60px;
  }

  .header-inner {
    height: 60px;
  }

  .header-logo-img {
    height: 36px;
  }

  /* Hide PC nav, show SP actions */
  .header-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-md);
    gap: 0;
    overflow-y: auto;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
  }

  .header-nav.is-open {
    display: flex;
    transform: translateY(0);
  }

  .header-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .header-nav-link {
    font-size: var(--font-size-base);
    padding: 0.9em 0;
    border-bottom: 1px solid var(--color-border);
  }

  .header-nav-cta {
    flex-direction: column;
    margin-left: 0;
    margin-top: var(--space-md);
    gap: var(--space-xs);
  }

  .header-nav-cta .btn {
    width: 100%;
    text-align: center;
  }

  .header-sp-actions {
    display: flex;
  }
}

/* ============================================================
   Shared Layout
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

section {
  padding: var(--space-2xl) 0;
}

.section-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--color-primary-dark);
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-block;
  padding: 0.85em 2em;
  font-size: var(--font-size-base);
  font-weight: 700;
  border-radius: var(--radius-md);
  text-align: center;
  transition: background-color 0.2s, transform 0.1s;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--color-accent-dark);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary-light);
}

.btn-lg {
  font-size: var(--font-size-lg);
  padding: 1em 2.5em;
}

/* ============================================================
   Section 1: FV（メインビジュアル画像ベース）
   ============================================================ */

.fv {
  position: relative;
  padding: 0;
}

.fv-visual {
  width: 100%;
  line-height: 0; /* img下の隙間を除去 */
}

.fv-image {
  width: 100%;
  height: auto;
  display: block;
}


/* === Section 2: Concerns === */

.concerns-section {
  padding: 80px 0;
  background: #fff;
}

/* --- Band (グラデーション帯) --- */
/* 修正3：右端を画像背景色に合わせてつなげる */
/* 修正：overflow hiddenで画像の帯外はみ出しをカット */
.concerns-band {
  background: linear-gradient(to right, #e8f0fa 0%, #f5f9fe 60%, #d8e4f0 100%);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.concerns-band-inner {
  display: grid;
  /* 修正3：画像をabsolute化したのでgridは2カラムに、右にpadding確保 */
  grid-template-columns: 30% 1fr;
  /* 修正2：max-width拡大でカードに余裕を持たせる */
  max-width: 1500px;
  margin: 0 auto;
  min-height: 320px;
  align-items: stretch;
  padding-right: 370px;
}

/* --- 左：見出しエリア --- */
/* 修正：overflow visibleで英字が切れないようにする */
.concerns-heading-area {
  position: relative;
  display: flex;
  align-items: center;
  padding: 40px 24px 40px 40px;
  overflow: visible;
}

/* 修正：ANXIETY英字 - 見出しの上に薄く重ねて一体化 */
.concerns-en {
  position: absolute;
  top: -15px;
  left: -10px;
  font-size: 70px;
  font-weight: 900;
  color: #c8d7e8;
  letter-spacing: -3px;
  text-transform: uppercase;
  opacity: 0.6;
  z-index: 0;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* 修正：見出しを強制2行表示に */
.concerns-heading {
  position: relative;
  z-index: 1;
  font-size: 38px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
}

.concerns-heading .heading-line {
  display: block;
  white-space: nowrap;
}

.concerns-heading-accent {
  color: #1e3a8a;
}

/* 見出しの黄色アンダーライン */
.concerns-heading::after {
  content: "";
  display: block;
  width: 180px;
  height: 6px;
  background: #ffd400;
  margin-top: 12px;
  border-radius: 3px;
}

/* --- 中央：3カード --- */
.concerns-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  padding: 24px 0;
}

.concerns-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 修正2：パディング左右を16pxに調整 */
  padding: 24px 16px;
  border-right: 1px solid #ddd;
}

.concerns-card:last-child {
  border-right: none;
}

/* アイコン（円形＋吹き出し尻尾） */
.concerns-card-icon {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1e3a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 16px;
}

.concerns-card-icon::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #1e3a8a;
}

/* 修正2：カード本文の可読性向上 */
.concerns-card-text {
  font-size: 18px;
  line-height: 2.0;
  color: #1e3a8a;
  font-weight: 700;
  text-align: center;
}

/* 黄色マーカー */
.concerns-marker {
  background: linear-gradient(transparent 70%, #ffd400 70%);
}

/* 修正：男性画像を帯の右端ピッタリに配置、はみ出しをカット */
.concerns-photo {
  position: absolute;
  right: 0;
  top: 0;
  width: 350px;
  height: 100%;
  overflow: hidden;
}

.concerns-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ================================================
   Concerns - Tablet (768px〜1023px)
   ================================================ */
@media (max-width: 1023px) and (min-width: 768px) {
  .concerns-en {
    font-size: 60px;
  }

  .concerns-heading {
    font-size: 36px;
  }

  .concerns-card-text {
    font-size: 16px;
  }

  .concerns-band-inner {
    grid-template-columns: 30% 1fr;
    padding-right: 260px;
  }

  .concerns-photo {
    width: 240px;
  }
}

/* ================================================
   Concerns - SP (767px以下)
   ================================================ */
@media (max-width: 767px) {
  .concerns-section {
    padding: 48px 0;
  }

  .concerns-band {
    background: linear-gradient(to bottom, #e8f0fa 0%, #f5f9fe 100%);
  }

  .concerns-band-inner {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding-right: 0;
  }

  /* 見出し */
  .concerns-heading-area {
    padding: 32px 20px 16px;
    justify-content: center;
    text-align: center;
  }

  .concerns-en {
    font-size: 50px;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
  }

  /* 修正：SP時の見出しフォントサイズ調整 */
  .concerns-heading {
    font-size: 22px;
  }

  .concerns-heading::after {
    width: 120px;
    height: 5px;
    margin: 10px auto 0;
  }

  /* 写真：absoluteを解除して通常フローに */
  .concerns-photo {
    position: static;
    width: 100%;
    height: 200px;
  }

  .concerns-photo-img {
    object-position: center top;
  }

  /* カード：縦並び */
  .concerns-cards {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .concerns-card {
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding: 20px;
  }

  .concerns-card:last-child {
    border-bottom: none;
  }

  .concerns-card-text {
    font-size: 14px;
  }
}

/* === Section 3: Answer === */

.answer-section {
  position: relative;
  background: linear-gradient(to bottom, #ffffff 0%, #f0f7ff 100%);
  padding: 80px 0 100px;
  overflow: hidden;
}

/* 背景英字 ANSWER */
.answer-en {
  position: absolute;
  top: 40px;
  left: 40px;
  font-size: 120px;
  font-weight: 900;
  color: #dce7f3;
  opacity: 0.5;
  letter-spacing: -3px;
  text-transform: uppercase;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.answer-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

/* --- 見出し＋ビジュアル --- */
.answer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.answer-header-text {
  flex: 1;
  min-width: 0;
}

.answer-heading {
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.5;
  margin-bottom: var(--space-md);
  text-align: center;
}

/* PC時はheading-lineをインライン表示（従来通りの改行位置を維持） */
.answer-heading .heading-line {
  display: inline;
}

/* 1行目の後で改行（PC時の2行表示） */
.answer-heading .heading-line:first-child::after {
  content: "\A";
  white-space: pre;
}

/* 黄色マーカー（見出し用） */
.answer-marker {
  color: #1e3a8a;
  background: linear-gradient(transparent 60%, #ffd400 60%);
}

.answer-sub {
  font-size: 20px;
  line-height: 1.8;
  color: #333;
  text-align: center;
}

/* マーカー（本文用・小さめ） */
.answer-marker-sm {
  background: linear-gradient(transparent 60%, #ffd400 60%);
}

/* ビジュアル画像 */
.answer-visual {
  flex-shrink: 0;
  width: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

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

/* --- 3カード --- */
.answer-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.answer-card {
  background: #fff;
  border-top: 4px solid #1e3a8a;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.answer-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #1e3a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: var(--space-sm);
}

.answer-card-body {
  width: 100%;
}

.answer-card-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.answer-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #1e3a8a;
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.answer-card-hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0 0 var(--space-sm);
}

.answer-card-text {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  text-align: left;
}

.answer-card-text strong {
  color: #1a1a1a;
}

/* --- CTA --- */
.answer-cta {
  text-align: center;
}

.answer-cta-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: 18px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: var(--space-sm);
}

.answer-cta-line {
  display: inline-block;
  width: 32px;
  height: 2px;
  background: #1e3a8a;
  transform: rotate(-20deg);
}

.answer-cta-arrow {
  display: block;
  font-size: var(--font-size-xl);
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  animation: answer-bounce 1.5s ease infinite;
}

@keyframes answer-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.answer-cta-btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: var(--font-size-lg);
  font-weight: 700;
  padding: 20px 60px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3);
  transition: background-color 0.2s, transform 0.1s;
}

.answer-cta-btn:hover {
  background: #e66a00;
  transform: translateY(-2px);
}

/* --- Answer: Tablet --- */
@media (max-width: 1023px) and (min-width: 768px) {
  .answer-en {
    font-size: 80px;
  }

  .answer-heading {
    font-size: 36px;
  }

  .answer-visual {
    width: 280px;
  }

  .answer-card-title {
    font-size: 20px;
  }
}

/* --- Answer: SP --- */
@media (max-width: 767px) {
  .answer-section {
    padding: 48px 0 64px;
  }

  .answer-en {
    font-size: 60px;
    top: 20px;
    left: 20px;
  }

  .answer-header {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  /* 修正：SP時に確実に3行表示 */
  .answer-heading {
    font-size: 22px;
    text-align: left;
  }

  .answer-heading .heading-line {
    display: block;
    white-space: nowrap;
  }

  .answer-sub {
    font-size: 16px;
    text-align: left;
  }

  .answer-visual {
    width: 140px;
    flex-shrink: 0;
  }

  /* カード：縦並び＋横レイアウト */
  .answer-cards {
    grid-template-columns: 1fr;
  }

  .answer-card {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 24px;
    gap: var(--space-sm);
  }

  .answer-card-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 0;
  }

  .answer-card-title {
    font-size: 18px;
  }

  .answer-card-text {
    font-size: 14px;
  }

  .answer-cta-caption {
    font-size: 15px;
  }

  .answer-cta-btn {
    padding: 16px 32px;
    font-size: var(--font-size-base);
  }
}

/* === Section 4: Reasons === */

.reasons-section {
  position: relative;
  background: linear-gradient(to bottom, #f0f7ff 0%, #ffffff 100%);
  padding: 80px 0 100px;
  overflow: hidden;
}

/* 背景英字 */
.reasons-en {
  position: absolute;
  top: 30px;
  left: 40px;
  font-size: 120px;
  font-weight: 900;
  color: #dce7f3;
  opacity: 0.5;
  letter-spacing: -3px;
  text-transform: uppercase;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.reasons-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

/* 見出し */
.reasons-heading {
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.reasons-heading-accent {
  color: #1e3a8a;
  background: linear-gradient(transparent 60%, #ffd400 60%);
}

/* リード文（手書き風） */
.reasons-lead {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  font-style: italic;
  color: #1e3a8a;
  margin-bottom: var(--space-md);
  letter-spacing: 1px;
}

/* 本文 */
.reasons-intro {
  text-align: center;
  font-size: 16px;
  line-height: 2.0;
  color: #444;
  margin-bottom: var(--space-xl);
}

.reasons-intro p {
  margin-bottom: var(--space-xs);
}

.reasons-intro-strong {
  font-size: 18px;
  font-weight: 700;
  color: #1e3a8a;
  margin-top: var(--space-sm);
}

/* --- 4カード（2×2グリッド） --- */
.reasons-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.reasons-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  padding: 32px;
  border-left: 4px solid #1e3a8a;
}

.reasons-card-head {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.reasons-card-num {
  font-size: 40px;
  font-weight: 900;
  color: #1e3a8a;
  line-height: 1;
}

.reasons-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1e3a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reasons-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e3a8a;
  line-height: 1.5;
  margin-bottom: var(--space-xs);
}

.reasons-card-sub {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.reasons-card-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reasons-card-list li {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
  padding-left: 1.2em;
  position: relative;
}

.reasons-card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* --- Reasons: Tablet --- */
@media (max-width: 1023px) and (min-width: 768px) {
  .reasons-en {
    font-size: 80px;
  }

  .reasons-heading {
    font-size: 36px;
  }

  .reasons-lead {
    font-size: 24px;
  }
}

/* --- Reasons: SP --- */
@media (max-width: 767px) {
  .reasons-section {
    padding: 48px 0 64px;
  }

  .reasons-en {
    font-size: 50px;
    top: 16px;
    left: 16px;
  }

  /* 修正：SP時に確実に1行表示 */
  .reasons-heading {
    font-size: 22px;
  }

  .reasons-heading .heading-line {
    display: block;
    white-space: nowrap;
  }

  .reasons-lead {
    font-size: 22px;
  }

  .reasons-intro {
    font-size: 15px;
    text-align: left;
    padding: 0 var(--space-xs);
  }

  .reasons-cards {
    grid-template-columns: 1fr;
  }

  .reasons-card {
    padding: 24px;
  }

  .reasons-card-num {
    font-size: 32px;
  }

  .reasons-card-title {
    font-size: 18px;
  }
}

/* === Section 5: Voice（合格体験記） === */

.voice-section {
  position: relative;
  background: linear-gradient(to bottom, #ffffff 0%, #f0f7ff 100%);
  padding: 80px 0 100px;
  overflow: hidden;
}

.voice-en {
  position: absolute;
  top: 40px;
  left: 40px;
  font-size: 120px;
  font-weight: 900;
  color: #dce7f3;
  opacity: 0.5;
  letter-spacing: -3px;
  text-transform: uppercase;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.voice-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

/* 見出し */
.voice-heading {
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.voice-marker {
  color: #1e3a8a;
  background: linear-gradient(transparent 60%, #ffd400 60%);
}

.voice-sub {
  text-align: center;
  font-size: 18px;
  color: #555;
  margin-bottom: var(--space-xl);
}

/* --- 官報合格者 --- */
.voice-kanpou {
  background: linear-gradient(135deg, #0f2b5e 0%, #1e3a8a 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: var(--space-xl);
  text-align: center;
  border: 3px solid #d4af37;
}

.voice-kanpou-label {
  font-size: 24px;
  font-weight: 700;
  color: #d4af37;
  margin-bottom: 4px;
}

.voice-kanpou-sublabel {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-md);
}

.voice-kanpou-card {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  text-align: left;
  max-width: 1000px;
  margin: 0 auto;
}

.voice-kanpou-thumb {
  position: relative;
  flex-shrink: 0;
  width: 40%;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.voice-kanpou-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.voice-kanpou-body {
  flex: 1;
  color: #fff;
}

.voice-kanpou-badge {
  display: inline-block;
  background: linear-gradient(135deg, #d4af37, #e8cc6e);
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: var(--space-sm);
}

.voice-kanpou-name {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}

.voice-kanpou-name span {
  font-size: 18px;
  font-weight: 400;
}

.voice-kanpou-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-sm);
}

.voice-kanpou-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--space-sm);
}

.voice-subject-tag {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 3px 10px;
  border-radius: 4px;
}

.voice-kanpou-quote {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  font-style: italic;
  margin-bottom: var(--space-md);
  border-left: 3px solid #d4af37;
  padding-left: var(--space-sm);
}

.voice-kanpou-btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 32px;
  border-radius: var(--radius-md);
  transition: background 0.2s;
}

.voice-kanpou-btn:hover {
  background: #e66a00;
}

/* --- 再生ボタン共通 --- */
.voice-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,122,0,0.9);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  pointer-events: none;
}

.voice-play--lg {
  width: 64px;
  height: 64px;
  font-size: 24px;
  pointer-events: auto;
}

.voice-play--lg:hover {
  background: rgba(255,122,0,1);
  transform: translate(-50%,-50%) scale(1.1);
}

/* --- 2層カルーセル --- */
.voice-carousel-area {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.voice-carousel-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 4px;
}

.voice-carousel-sub {
  font-size: 14px;
  color: #888;
  margin-bottom: var(--space-md);
}

.voice-carousel-wrap {
  overflow: hidden;
}

.voice-carousel-track {
  overflow: hidden;
  padding: var(--space-xs) 0;
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.voice-carousel-track + .voice-carousel-track {
  margin-top: var(--space-sm);
}

.voice-carousel-slide {
  display: flex;
  gap: var(--space-md);
  width: max-content;
}

.voice-carousel-upper .voice-carousel-slide {
  animation: voice-scroll-right linear infinite;
}

.voice-carousel-lower .voice-carousel-slide {
  animation: voice-scroll-left linear infinite;
}

.voice-carousel-wrap:hover .voice-carousel-slide {
  animation-play-state: paused;
}

@keyframes voice-scroll-right {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes voice-scroll-left {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* --- カード共通（横長レイアウト） --- */
.voice-card {
  flex-shrink: 0;
  width: 420px;
  background: #fff;
  border-left: 4px solid #1e3a8a;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.voice-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* 動画カード：縦型（上にサムネ、下にテキスト） */
.voice-card--video {
  flex-direction: column;
  width: 280px;
}

.voice-card--video .voice-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.voice-card--video .voice-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-card--video {
  border-left: none;
  border-top: 4px solid #1e3a8a;
}

.voice-card--video .voice-card-info {
  text-align: center;
}

/* 文字カード */
.voice-card-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--color-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 0 0 6px 0;
  z-index: 1;
}

.voice-card--text {
  position: relative;
}

/* 左側：丸アイコン＋名前を表示するエリア */
.voice-card-avatar {
  flex-shrink: 0;
  width: 100px;
  background: #f0f5fb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
}

/* 丸アイコン（イニシャル） */
.voice-card-avatar-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #1e3a8a;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* アバター下の名前 */
.voice-card-avatar-name {
  font-size: 11px;
  font-weight: 600;
  color: #1e3a8a;
  text-align: center;
  line-height: 1.3;
  word-break: keep-all;
}

.voice-card-info {
  padding: 14px 16px;
  text-align: left;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.voice-card-name {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.voice-card-name small {
  font-weight: 400;
}

.voice-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}

.voice-card-badge {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #1e3a8a;
  padding: 2px 8px;
  border-radius: 4px;
}

.voice-card-attr {
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}

.voice-card-comment {
  font-size: 13px;
  line-height: 1.7;
  color: #555;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.voice-card-more {
  display: block;
  text-align: right;
  padding: 4px 16px 12px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  align-self: flex-end;
}

/* --- タブ --- */
.voice-tabs-area {
  margin-top: var(--space-lg);
}

.voice-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.voice-tab {
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #888;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.voice-tab.is-active {
  color: #1e3a8a;
  border-bottom-color: var(--color-accent);
  font-weight: 700;
}

.voice-tab.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.voice-tab-soon {
  font-size: 11px;
  font-weight: 400;
  color: #bbb;
}

.voice-tab-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.voice-tab-content .voice-card {
  width: auto;
}

.voice-tab-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-xl) 0;
  color: #999;
  font-size: 16px;
}

/* --- モーダル --- */
.voice-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.voice-modal.is-open {
  display: flex;
}

.voice-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.voice-modal-content {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

.voice-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: #888;
  cursor: pointer;
  line-height: 1;
}

.voice-modal-close:hover {
  color: #333;
}

.voice-modal-name {
  font-size: 22px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: var(--space-xs);
}

.voice-modal-attr {
  font-size: 14px;
  color: #888;
  margin-bottom: var(--space-sm);
}

.voice-modal-hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-sm) 0;
}

.voice-modal-text {
  font-size: 15px;
  line-height: 2;
  color: #333;
}

/* --- Voice: Tablet --- */
@media (max-width: 1023px) and (min-width: 768px) {
  .voice-en { font-size: 80px; }
  .voice-heading { font-size: 36px; }
  .voice-kanpou-thumb { width: 45%; }
  .voice-kanpou-name { font-size: 24px; }
  .voice-tab-content { grid-template-columns: repeat(2, 1fr); }
  .voice-card { width: 380px; }
}

/* --- Voice: SP --- */
@media (max-width: 767px) {
  .voice-section { padding: 48px 0 64px; }
  .voice-en { font-size: 60px; top: 16px; left: 16px; }
  .voice-heading { font-size: 28px; }
  .voice-sub { font-size: 15px; }
  .voice-kanpou { padding: 24px 16px; }
  .voice-kanpou-card { flex-direction: column; }
  .voice-kanpou-thumb { width: 100%; }
  .voice-kanpou-name { font-size: 22px; }
  .voice-card { width: 320px; }
  .voice-tab-content { grid-template-columns: 1fr; }
  .voice-tab { padding: 8px 14px; font-size: 13px; }
  .voice-modal-content { padding: 24px; }
}

/* === Section 6: Courses === */

.courses-section {
  position: relative;
  background: linear-gradient(to bottom, #ffffff 0%, #f0f7ff 100%);
  padding: 80px 0 100px;
  overflow: hidden;
}

.courses-en {
  position: absolute;
  top: 40px;
  left: 40px;
  font-size: 120px;
  font-weight: 900;
  color: #dce7f3;
  opacity: 0.5;
  letter-spacing: -3px;
  text-transform: uppercase;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.courses-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.courses-heading {
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.courses-marker {
  color: #1e3a8a;
  background: linear-gradient(transparent 60%, #ffd400 60%);
}

.courses-marker-sm {
  background: linear-gradient(transparent 60%, #ffd400 60%);
}

.courses-sub {
  text-align: center;
  font-size: 18px;
  color: #555;
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

/* --- 4カード グリッド --- */
.courses-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.3fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: var(--space-lg);
}

.courses-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.courses-card {
  background: #fff;
  border-top: 4px solid #1e3a8a;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* コンパクトカード（左カラム用） */
.courses-card--compact {
  padding: 24px;
  flex: 1;
}

.courses-card--compact .courses-card-btn {
  font-size: 14px;
  padding: 10px 16px;
}

.courses-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  text-align: left;
}

.courses-card-top .courses-card-icon {
  margin: 0;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.courses-card-top .courses-card-name {
  margin-bottom: 0;
  font-size: 18px;
}

.courses-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #1e3a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  flex-shrink: 0;
}

.courses-card-icon--accent {
  background: var(--color-accent);
  width: 72px;
  height: 72px;
}

.courses-card-icon--lg {
  width: 72px;
  height: 72px;
}

.courses-card-name {
  font-size: 20px;
  font-weight: 700;
  color: #1e3a8a;
  line-height: 1.4;
  margin-bottom: var(--space-xs);
}

.courses-card-name--lg {
  font-size: 22px;
  margin-bottom: var(--space-sm);
}

.courses-card-name small {
  font-size: 15px;
  font-weight: 600;
}

.courses-card-name-sub {
  font-size: 14px;
  color: #1e3a8a;
  margin-bottom: 2px;
}

.courses-card-price {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
}

.courses-card-price span {
  font-size: 18px;
  font-weight: 600;
}

.courses-card-price--accent {
  color: var(--color-accent);
}

.courses-card-price--xl {
  font-size: 44px;
}

.courses-card-price--xl span {
  font-size: 22px;
}

.courses-card-tax {
  font-size: 13px;
  color: #888;
  margin-bottom: 2px;
}

.courses-card-alt {
  font-size: 13px;
  color: #aaa;
  margin-bottom: var(--space-sm);
}

.courses-card-instructor {
  margin-bottom: var(--space-xs);
}

.courses-card-instructor-label {
  font-size: 12px;
  font-weight: 700;
  color: #1e3a8a;
  display: block;
  margin-bottom: 2px;
}

.courses-card-instructor p {
  font-size: 14px;
  color: #444;
}

.courses-card-desc {
  font-size: 14px;
  color: #555;
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.courses-card-list {
  text-align: left;
  margin-bottom: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.courses-card-list li {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  padding-left: 1.4em;
  position: relative;
}

.courses-card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.courses-card-list--blue li::before {
  color: #1e3a8a;
}

/* --- 価格訴求エリア（簿財一体型） --- */
/* --- 横2分割エリア --- */
.courses-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 24px 0;
  align-items: center;
}

.courses-content-grid .courses-card-list {
  margin-bottom: 0;
}

.courses-pricing {
  text-align: center;
  padding: 16px;
  background: rgba(255, 122, 0, 0.05);
  border-radius: 12px;
}

.courses-card--perfect .courses-pricing {
  background: rgba(30, 58, 138, 0.05);
}

.courses-pricing-label {
  font-size: 14px;
  color: #888;
  margin-bottom: 4px;
}

.courses-pricing-original {
  font-size: 14px;
  color: #888;
  margin-bottom: 4px;
}

.courses-strikethrough {
  font-size: 28px;
  font-weight: 700;
  color: #999;
  text-decoration: line-through;
  text-decoration-color: #e44;
  text-decoration-thickness: 3px;
}

.courses-pricing-original small {
  font-size: 12px;
  color: #aaa;
}

.courses-pricing-arrow {
  color: var(--color-accent);
  font-size: 20px;
  margin: 4px 0;
}

.courses-pricing-after {
  font-size: 16px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 4px;
}

.courses-discount-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff4444, #ff6b6b);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  padding: 8px 24px;
  border-radius: 20px;
  margin: 8px 0;
  animation: courses-pulse 2s ease-in-out infinite;
}

@keyframes courses-pulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(255,68,68,0.3); }
  50% { box-shadow: 0 4px 16px rgba(255,68,68,0.5); }
}

/* --- ボタン --- */
.courses-card-btn {
  display: block;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition: background 0.2s, transform 0.1s;
  margin-top: auto;
}

.courses-card-btn--outline {
  background: #fff;
  color: #1e3a8a;
  border: 2px solid #1e3a8a;
}

.courses-card-btn--outline:hover {
  background: #e8f0fa;
}

.courses-card-btn--primary {
  background: var(--color-accent);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(255,122,0,0.3);
}

.courses-card-btn--primary:hover {
  background: #e66a00;
  transform: translateY(-2px);
}

.courses-card-btn--blue {
  background: #1e3a8a;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(30,58,138,0.3);
}

.courses-card-btn--blue:hover {
  background: #15306e;
  transform: translateY(-2px);
}

/* --- おすすめカード --- */
.courses-card--recommend {
  background: linear-gradient(to bottom, #ffffff 0%, #fff5ec 100%);
  border-top: 6px solid var(--color-accent);
  box-shadow: 0 8px 24px rgba(255,122,0,0.25);
}

.courses-card-ribbon {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 24px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* --- パーフェクトカード --- */
.courses-card--perfect {
  border-top: 6px solid #1e3a8a;
  box-shadow: 0 8px 24px rgba(30,58,138,0.15);
}

.courses-premium-msg {
  background: #fffbe6;
  border-left: 4px solid #1e3a8a;
  padding: 12px;
  margin-bottom: var(--space-sm);
  text-align: left;
}

.courses-premium-msg p {
  font-size: 16px;
  font-weight: 700;
  color: #1e3a8a;
}

.courses-premium-accent {
  background: #e8f0fa;
  color: #1e3a8a;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 6px;
  text-align: center;
  margin-bottom: var(--space-sm);
}

/* --- 補足 --- */
.courses-notes {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.courses-notes p {
  font-size: 13px;
  color: #999;
  line-height: 1.8;
}

/* --- 全コース共通特典 --- */
.courses-benefits {
  background: #f0f7ff;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: var(--space-lg);
}

.courses-benefits-title {
  font-size: 24px;
  font-weight: 700;
  color: #1e3a8a;
  text-align: center;
  margin-bottom: var(--space-md);
}

.courses-benefits-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-sm);
}

.courses-benefit {
  text-align: center;
}

.courses-benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1e3a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xs);
}

.courses-benefit-name {
  font-size: 13px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 2px;
}

.courses-benefit-desc {
  font-size: 11px;
  color: #888;
}

/* --- コース選びガイド --- */
.courses-guide {
  background: #fff;
  border: 2px solid #1e3a8a;
  border-radius: 12px;
  padding: 32px;
}

.courses-guide-title {
  font-size: 24px;
  font-weight: 700;
  color: #1e3a8a;
  text-align: center;
  margin-bottom: var(--space-md);
}

.courses-guide-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.courses-guide-item {
  flex: 1;
  max-width: 260px;
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  background: #f7f8fa;
}

.courses-guide-item--recommend {
  background: #fff5ec;
  border: 2px solid var(--color-accent);
}

.courses-guide-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.courses-guide-num--blue {
  background: #1e3a8a;
  color: #fff;
}

.courses-guide-num--orange {
  background: var(--color-accent);
  color: #fff;
}

.courses-guide-num--gold {
  background: linear-gradient(135deg, #d4af37, #f5d67a);
  color: #fff;
}

.courses-guide-label {
  font-size: 14px;
  color: #555;
  margin-bottom: 4px;
}

.courses-guide-star {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 12px;
}

.courses-guide-course {
  font-size: 16px;
  font-weight: 700;
  color: #1e3a8a;
}

.courses-guide-course small {
  font-size: 13px;
  font-weight: 400;
}

.courses-guide-arrow {
  font-size: 24px;
  color: #ccc;
  flex-shrink: 0;
}

/* --- Courses: Tablet --- */
@media (max-width: 1023px) and (min-width: 768px) {
  .courses-en { font-size: 80px; }
  .courses-heading { font-size: 36px; }
  .courses-grid { grid-template-columns: 1fr 1fr; }
  .courses-left { grid-column: 1 / -1; flex-direction: row; }
  .courses-card-price--xl { font-size: 36px; }
  .courses-content-grid { gap: 16px; }
  .courses-benefits-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
  .courses-guide-grid { flex-wrap: wrap; }
}

/* --- Courses: SP --- */
@media (max-width: 767px) {
  .courses-section { padding: 48px 0 64px; }
  .courses-en { font-size: 60px; top: 16px; left: 16px; }
  .courses-heading { font-size: 28px; }
  .courses-sub { font-size: 15px; }

  .courses-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .courses-left { flex-direction: column; }

  /* SPでは簿財一体型を最上部に */
  .courses-card--recommend { order: -2; }
  .courses-card--perfect { order: -1; }

  .courses-card { padding: 24px 20px; }
  .courses-card-price { font-size: 28px; }
  .courses-card-price--xl { font-size: 36px; }
  .courses-strikethrough { font-size: 22px; }
  .courses-discount-badge { font-size: 16px; padding: 6px 18px; }

  .courses-content-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .courses-benefits { padding: 24px 16px; }
  .courses-benefits-title { font-size: 20px; }
  .courses-benefits-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }

  .courses-guide { padding: 24px 16px; }
  .courses-guide-title { font-size: 20px; }
  .courses-guide-grid { flex-direction: column; gap: var(--space-sm); }
  .courses-guide-item { max-width: 100%; }
  .courses-guide-arrow { transform: rotate(90deg); }
}

/* === Section: Instructors === */

.instructors-section {
  position: relative;
  background: linear-gradient(to bottom, #ffffff 0%, #f0f7ff 100%);
  padding: 80px 0 100px;
  overflow: hidden;
}

.inst-en {
  position: absolute;
  top: 40px;
  left: 40px;
  font-size: 110px;
  font-weight: 900;
  color: #dce7f3;
  opacity: 0.5;
  letter-spacing: -3px;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.inst-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.inst-heading {
  font-size: 38px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.inst-marker {
  color: #1e3a8a;
  background: linear-gradient(transparent 60%, #ffd400 60%);
}

.inst-sub {
  font-size: 18px;
  color: #555;
  line-height: 1.8;
  text-align: center;
  margin-bottom: var(--space-xl);
}

/* --- 3カード --- */
.inst-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: var(--space-lg);
}

.inst-card {
  background: #fff;
  border: 2px solid #d9e5f5;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 28px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.inst-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.inst-card-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
}

.inst-card-name {
  font-size: 28px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 4px;
}

.inst-card-career {
  font-size: 14px;
  color: #888;
  margin-bottom: 12px;
}

.inst-card-years {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-accent);
}

.inst-card-hr {
  border: none;
  border-top: 1px dashed #ddd;
  margin: 0 0 16px;
}

.inst-card-quote {
  position: relative;
  margin-bottom: 16px;
  padding: 0 8px;
}

.inst-card-quote-mark {
  position: absolute;
  top: -8px;
  left: -4px;
  font-size: 48px;
  font-family: Georgia, serif;
  color: #dce7f3;
  line-height: 1;
}

.inst-card-quote-text {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  text-align: left;
}

.inst-card-history {
  text-align: left;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.inst-card-history li {
  font-size: 13px;
  color: #555;
  padding-left: 1.2em;
  position: relative;
}

.inst-card-history li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #1e3a8a;
  font-size: 8px;
  top: 0.4em;
}

/* --- 共通訴求エリア --- */
.inst-features {
  background: #f0f7ff;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: var(--space-md);
}

.inst-features-title {
  font-size: 24px;
  font-weight: 700;
  color: #1e3a8a;
  text-align: center;
  margin-bottom: var(--space-md);
}

.inst-features-body {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.inst-features-list {
  flex: 1;
  display: flex;
  gap: var(--space-md);
}

.inst-feature {
  text-align: center;
  flex: 1;
}

.inst-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1e3a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xs);
}

.inst-feature-name {
  font-size: 13px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 2px;
}

.inst-feature-desc {
  font-size: 11px;
  color: #888;
}

/* 合計指導歴バッジ */
.inst-total-badge {
  flex-shrink: 0;
  text-align: center;
  position: relative;
  width: 160px;
}

.inst-total-wreath {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  pointer-events: none;
}

.inst-total-label {
  font-size: 11px;
  color: #888;
  margin-bottom: 2px;
  position: relative;
  z-index: 1;
}

.inst-total-years {
  font-size: 56px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

.inst-total-years span {
  font-size: 20px;
  font-weight: 600;
}

.inst-total-ribbon {
  display: inline-block;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 12px;
  position: relative;
  z-index: 1;
}

/* --- セミナー動画 --- */
.inst-video {
  max-width: 800px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}

.inst-video-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: var(--space-sm);
}

.inst-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.inst-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* 注意書き */
.inst-note {
  font-size: 13px;
  color: #999;
  text-align: center;
}

/* --- Instructors: Tablet --- */
@media (max-width: 1023px) and (min-width: 768px) {
  .inst-en { font-size: 80px; }
  .inst-heading { font-size: 32px; }
  .inst-card-photo { width: 140px; height: 140px; }
  .inst-card-name { font-size: 24px; }
}

/* --- Instructors: SP --- */
@media (max-width: 767px) {
  .instructors-section { padding: 48px 0 64px; }
  .inst-en { font-size: 50px; top: 16px; left: 16px; }
  .inst-heading { font-size: 24px; }
  .inst-sub { font-size: 15px; }

  .inst-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .inst-card-photo { width: 120px; height: 120px; }
  .inst-card-name { font-size: 24px; }

  .inst-features { padding: 24px 16px; }
  .inst-features-title { font-size: 20px; }

  .inst-features-body {
    flex-direction: column;
    gap: var(--space-md);
  }

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

  .inst-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-align: left;
  }

  .inst-feature-icon {
    margin: 0;
    flex-shrink: 0;
  }

  .inst-total-badge {
    width: auto;
  }
}

/* === Section 7: Curriculum === */

.curriculum-section {
  position: relative;
  background: linear-gradient(to bottom, #ffffff 0%, #f0f7ff 100%);
  padding: 80px 0 100px;
  overflow: hidden;
}

.cur-en {
  position: absolute;
  top: 40px;
  left: 40px;
  font-size: 120px;
  font-weight: 900;
  color: #dce7f3;
  opacity: 0.5;
  letter-spacing: -3px;
  text-transform: uppercase;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.cur-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.cur-heading {
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.cur-marker {
  color: #1e3a8a;
  background: linear-gradient(transparent 60%, #ffd400 60%);
}

.cur-sub {
  text-align: center;
  font-size: 18px;
  color: #555;
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

/* --- 4ステップフロー --- */
.cur-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin-bottom: var(--space-xl);
  flex-wrap: nowrap;
}

.cur-step {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  flex: 1;
  max-width: 200px;
}

.cur-step-badges {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}

.cur-step-num {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #1e3a8a;
  padding: 3px 10px;
  border-radius: 12px;
}

.cur-step-period {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--color-accent);
  padding: 3px 10px;
  border-radius: 12px;
}

.cur-step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #1e3a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.cur-step-title {
  font-size: 18px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 4px;
}

.cur-step-desc {
  font-size: 13px;
  color: #888;
}

.cur-arrow {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  color: #1e3a8a;
  padding-top: 60px;
  flex-shrink: 0;
}

/* ゴール */
.cur-step--goal {
  background: linear-gradient(135deg, #fffbe6, #fff3cc);
  border: 2px solid #d4af37;
  box-shadow: 0 0 20px rgba(212,175,55,0.2);
  max-width: 180px;
}

.cur-goal-period {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1a;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  padding: 3px 14px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.cur-goal-icon {
  margin: 0 auto 8px;
}

.cur-goal-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-accent);
}

/* --- ZOOMタイムライン --- */
.cur-zoom-line {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: #f8faff;
  border: 1px dashed var(--color-accent);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  margin-bottom: var(--space-md);
}

.cur-zoom-label {
  font-size: 14px;
  font-weight: 700;
  color: #1e3a8a;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cur-zoom-icon {
  font-size: 20px;
}

.cur-zoom-points {
  display: flex;
  gap: var(--space-sm);
  flex: 1;
  justify-content: space-around;
}

.cur-zoom-point {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  background: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid var(--color-accent);
}

.cur-zoom-note {
  font-size: 13px;
  color: #1e3a8a;
  font-weight: 600;
  background: #e8f0fa;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  white-space: nowrap;
}

/* --- 強調帯 --- */
.cur-zoom-banner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: #fffbe6;
  border-left: 5px solid #1e3a8a;
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: var(--space-xl);
}

.cur-zoom-banner-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1e3a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cur-zoom-banner-main {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.cur-marker-strong {
  background: linear-gradient(transparent 50%, #ffd400 50%);
  font-weight: 800;
}

.cur-zoom-banner-sub {
  font-size: 14px;
  color: #555;
}

/* --- INPUT / OUTPUT --- */
.cur-io {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.cur-io-card {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: #fff;
  border-top: 4px solid #1e3a8a;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.cur-io-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1e3a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cur-io-title {
  font-size: 18px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 2px;
}

.cur-io-desc {
  font-size: 14px;
  color: #555;
}

/* --- CTA --- */
.cur-cta {
  text-align: center;
}

.cur-cta-caption {
  font-size: 15px;
  color: #888;
  font-style: italic;
  margin-bottom: var(--space-sm);
}

.cur-cta-btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: var(--font-size-lg);
  font-weight: 700;
  padding: 16px 48px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(255,122,0,0.3);
  transition: background 0.2s, transform 0.1s;
}

.cur-cta-btn:hover {
  background: #e66a00;
  transform: translateY(-2px);
}

/* --- Curriculum: Tablet --- */
@media (max-width: 1023px) and (min-width: 768px) {
  .cur-en { font-size: 80px; }
  .cur-heading { font-size: 36px; }
  .cur-step { max-width: 160px; padding: 16px 12px; }
  .cur-step-icon { width: 56px; height: 56px; }
  .cur-step-title { font-size: 16px; }
  .cur-zoom-line { flex-wrap: wrap; }
  .cur-zoom-note { white-space: normal; }
}

/* --- Curriculum: SP --- */
@media (max-width: 767px) {
  .curriculum-section { padding: 48px 0 64px; }
  .cur-en { font-size: 60px; top: 16px; left: 16px; }
  .cur-heading { font-size: 28px; }
  .cur-sub { font-size: 15px; }

  .cur-flow {
    flex-direction: column;
    align-items: center;
  }

  .cur-step { max-width: 280px; width: 100%; }
  .cur-step--goal { max-width: 280px; }

  .cur-arrow {
    padding-top: 0;
    transform: rotate(90deg);
    font-size: 20px;
  }

  .cur-zoom-line {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }

  .cur-zoom-points { flex-wrap: wrap; justify-content: center; }
  .cur-zoom-note { white-space: normal; }

  .cur-zoom-banner {
    flex-direction: column;
    text-align: center;
  }

  .cur-zoom-banner-main { font-size: 16px; }

  .cur-io { grid-template-columns: 1fr; }
}

/* === Section 8: FAQ === */

.faq-section {
  position: relative;
  background: linear-gradient(to bottom, #ffffff 0%, #f0f7ff 100%);
  padding: 80px 0 100px;
  overflow: hidden;
}

.faq-en {
  position: absolute;
  top: 40px;
  left: 40px;
  font-size: 120px;
  font-weight: 900;
  color: #dce7f3;
  opacity: 0.5;
  letter-spacing: -3px;
  text-transform: uppercase;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.faq-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.faq-heading {
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.faq-marker {
  color: #1e3a8a;
  background: linear-gradient(transparent 60%, #ffd400 60%);
}

.faq-sub {
  text-align: center;
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

/* --- Q&A カード --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: var(--space-xl);
}

.faq-card {
  background: #fff;
  border: 1px solid #dce7f3;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
}

/* 質問部分 */
.faq-q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  transition: background 0.15s;
}

.faq-q:hover {
  background: #f8faff;
}

.faq-q-mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-q-text {
  flex: 1;
  font-size: 18px;
  font-weight: 700;
  color: #1e3a8a;
  line-height: 1.5;
}

.faq-toggle {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--color-accent);
  border-radius: 1px;
}

.faq-toggle::before {
  width: 14px;
  height: 2px;
}

.faq-toggle::after {
  width: 2px;
  height: 14px;
  transition: transform 0.3s;
}

.faq-card.is-open .faq-toggle::after {
  transform: rotate(90deg);
}

/* 回答部分 */
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-card.is-open .faq-a {
  max-height: 600px;
}

.faq-a-hr {
  border: none;
  border-top: 1px solid #e8edf3;
  margin: 0 24px;
}

.faq-a-body {
  display: flex;
  gap: 16px;
  padding: 16px 24px 20px;
}

.faq-a-mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1e3a8a;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-a-text {
  flex: 1;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

.faq-a-text p {
  margin-bottom: var(--space-xs);
}

.faq-a-text p:last-child {
  margin-bottom: 0;
}

.faq-hl {
  background: linear-gradient(transparent 60%, #ffd400 60%);
  font-weight: 600;
}

/* --- 安心サポート --- */
.faq-support {
  background: #f0f7ff;
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: var(--space-xl);
}

.faq-support-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.faq-support-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1e3a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-support-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e3a8a;
}

.faq-support-desc {
  font-size: 14px;
  color: #888;
  margin-top: 2px;
}

.faq-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.faq-support-item {
  text-align: center;
}

.faq-support-item-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e0eaf8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xs);
}

.faq-support-item-name {
  font-size: 14px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 4px;
}

.faq-support-item-desc {
  font-size: 12px;
  color: #888;
  line-height: 1.5;
}

/* --- CTA --- */
.faq-cta {
  text-align: center;
}

.faq-cta-caption {
  font-size: 15px;
  color: #1e3a8a;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.faq-cta-btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: var(--font-size-lg);
  font-weight: 700;
  padding: 16px 48px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(255,122,0,0.3);
  transition: background 0.2s, transform 0.1s;
}

.faq-cta-btn:hover {
  background: #e66a00;
  transform: translateY(-2px);
}

.faq-cta-sub {
  font-size: 12px;
  color: #aaa;
  margin-top: var(--space-xs);
}

/* --- FAQ: Tablet --- */
@media (max-width: 1023px) and (min-width: 768px) {
  .faq-en { font-size: 80px; }
  .faq-heading { font-size: 36px; }
}

/* --- FAQ: SP --- */
@media (max-width: 767px) {
  .faq-section { padding: 48px 0 64px; }
  .faq-en { font-size: 60px; top: 16px; left: 16px; }
  .faq-heading { font-size: 28px; }
  .faq-sub { font-size: 14px; }
  .faq-q { padding: 16px; gap: 12px; }
  .faq-q-mark { width: 32px; height: 32px; font-size: 14px; }
  .faq-q-text { font-size: 15px; }
  .faq-toggle { width: 30px; height: 30px; }
  .faq-toggle::before { width: 12px; }
  .faq-toggle::after { height: 12px; }
  .faq-a-body { padding: 12px 16px 16px; gap: 12px; }
  .faq-a-mark { width: 32px; height: 32px; font-size: 14px; }
  .faq-a-text { font-size: 14px; }
  .faq-support { padding: 24px 16px; }
  .faq-support-header { flex-direction: column; text-align: center; }
  .faq-support-grid { grid-template-columns: 1fr; }
}

/* === Section 9: Final CTA === */

.final-cta-section {
  position: relative;
  background: linear-gradient(to bottom, #ffffff 0%, #f0f7ff 100%);
  color: #1a1a1a;
  padding: 80px 0;
  overflow: hidden;
}

.fcta-en {
  position: absolute;
  top: 20px;
  left: 40px;
  font-size: 160px;
  font-weight: 900;
  color: #dce7f3;
  opacity: 0.5;
  letter-spacing: -4px;
  text-transform: uppercase;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* 星のキラキラ */
.fcta-stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.fcta-stars::before,
.fcta-stars::after {
  content: "★ ✦ ★ ✧ ★ ✦ ★ ✧ ★ ✦ ★ ✧ ★";
  position: absolute;
  font-size: 14px;
  color: #1e3a8a;
  opacity: 0.08;
  white-space: nowrap;
  letter-spacing: 60px;
}

.fcta-stars::before {
  top: 15%;
  left: -20px;
  transform: rotate(-5deg);
}

.fcta-stars::after {
  bottom: 20%;
  right: -20px;
  transform: rotate(3deg);
  opacity: 0.15;
}

.fcta-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

/* 見出し */
.fcta-heading {
  text-align: center;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: var(--space-sm);
}

.fcta-heading-sm {
  font-size: 28px;
  font-weight: 400;
  display: block;
}

.fcta-heading::after {
  content: "";
  display: block;
  width: 200px;
  height: 6px;
  background: var(--color-accent);
  margin: 12px auto 0;
  border-radius: 3px;
}

.fcta-sub {
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  margin-bottom: var(--space-xl);
}

/* --- 3カード --- */
.fcta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: var(--space-lg);
}

.fcta-card {
  background: #fff;
  color: #1a1a1a;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  padding: 32px 24px;
  text-align: center;
  position: relative;
}

.fcta-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #1e3a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
}

.fcta-card-icon--accent {
  background: var(--color-accent);
  width: 80px;
  height: 80px;
}

.fcta-card-name {
  font-size: 22px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: var(--space-xs);
}

.fcta-card-hr {
  border: none;
  border-top: 1px dashed #ddd;
  margin: var(--space-xs) 0 var(--space-sm);
}

.fcta-card-price {
  font-size: 36px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
}

.fcta-card-price span {
  font-size: 18px;
  font-weight: 600;
}

.fcta-card-price--accent {
  font-size: 40px;
  color: var(--color-accent);
}

.fcta-card-tax {
  font-size: 13px;
  color: #888;
  margin-bottom: var(--space-sm);
}

.fcta-card-savings {
  background: #ffd400;
  border-radius: 6px;
  padding: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: var(--space-sm);
}

.fcta-card-list {
  text-align: left;
  margin-bottom: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fcta-card-list li {
  font-size: 14px;
  color: #444;
  padding-left: 1.4em;
  position: relative;
}

.fcta-card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.fcta-card-btn {
  display: block;
  padding: 14px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition: background 0.2s, transform 0.1s;
}

.fcta-card-btn--outline {
  background: #fff;
  color: #1e3a8a;
  border: 2px solid #1e3a8a;
}

.fcta-card-btn--outline:hover {
  background: #e8f0fa;
}

.fcta-card-btn--primary {
  background: var(--color-accent);
  color: #fff;
  font-size: 18px;
  padding: 18px 32px;
  box-shadow: 0 4px 16px rgba(255,122,0,0.4);
}

.fcta-card-btn--primary:hover {
  background: #e66a00;
  transform: translateY(-2px);
}

/* パルスアニメーション */
.fcta-pulse {
  animation: fcta-pulse 2s ease-in-out infinite;
}

@keyframes fcta-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(255,122,0,0.4); }
  50% { box-shadow: 0 4px 24px rgba(255,122,0,0.7); }
}

/* おすすめカード */
.fcta-card--recommend {
  background: linear-gradient(to bottom, #ffffff 0%, #fff5ec 100%);
  border-top: 6px solid var(--color-accent);
  box-shadow: 0 12px 32px rgba(255,122,0,0.3);
  transform: translateY(-10px);
}

.fcta-card-ribbon {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 24px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* --- サブアクション --- */
.fcta-sub-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.fcta-sub-btn {
  padding: 12px 32px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  background: #fff;
  color: #1e3a8a;
  border: 2px solid #1e3a8a;
  transition: background 0.2s;
}

.fcta-sub-btn:hover {
  background: #e8f0fa;
}

/* --- 安心要素 --- */
.fcta-trust {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.fcta-trust-item {
  text-align: center;
}

.fcta-trust-icon {
  font-size: 28px;
  margin-bottom: 6px;
}

.fcta-trust-name {
  font-size: 15px;
  font-weight: 700;
  color: #1e3a8a;
}

.fcta-trust-desc {
  font-size: 12px;
  color: #888;
}

/* --- お問い合わせ --- */
.fcta-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin-bottom: var(--space-lg);
}

.fcta-contact {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
}

.fcta-contact-item {
  text-align: center;
}

.fcta-contact-icon {
  font-size: 24px;
  display: block;
  margin-bottom: 4px;
}

.fcta-contact-label {
  font-size: 13px;
  color: #888;
  margin-bottom: 4px;
}

.fcta-contact-tel {
  font-size: 32px;
  font-weight: 800;
  color: #1e3a8a;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.fcta-contact-note {
  font-size: 12px;
  color: #aaa;
}

.fcta-contact-mail-btn {
  display: inline-block;
  background: #fff;
  color: #1e3a8a;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 6px;
  margin-bottom: 4px;
  transition: background 0.2s;
}

.fcta-contact-mail-btn:hover {
  background: #e8f0fa;
}

/* --- Final CTA: Tablet --- */
@media (max-width: 1023px) and (min-width: 768px) {
  .fcta-en { font-size: 120px; }
  .fcta-heading { font-size: 40px; }
  .fcta-card--recommend { transform: translateY(-5px); }
}

/* --- Final CTA: SP --- */
@media (max-width: 767px) {
  .final-cta-section { padding: 50px 0; }
  .fcta-en { font-size: 80px; top: 10px; left: 16px; }
  .fcta-heading { font-size: 32px; }
  .fcta-heading-sm { font-size: 20px; }
  .fcta-sub { font-size: 14px; }

  .fcta-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .fcta-card--recommend { order: -1; transform: none; }
  .fcta-card { padding: 24px 20px; }
  .fcta-card-price { font-size: 30px; }
  .fcta-card-price--accent { font-size: 34px; }

  .fcta-sub-actions { flex-direction: column; align-items: center; }
  .fcta-sub-btn { width: 100%; max-width: 300px; text-align: center; }

  .fcta-trust { gap: var(--space-md); }
  .fcta-trust-name { font-size: 13px; }

  .fcta-contact { flex-direction: column; gap: var(--space-lg); }
  .fcta-contact-tel { font-size: 26px; }
}

/* ============================================================
   Responsive Breakpoints
   ============================================================ */

/* Tablet */
@media (max-width: 768px) {
  :root {
    --font-size-3xl: 2rem;
    --font-size-2xl: 1.5rem;
    --font-size-xl: 1.25rem;
  }

  section {
    padding: var(--space-xl) 0;
  }

}

/* Mobile */
@media (max-width: 480px) {
  :root {
    --font-size-3xl: 1.625rem;
    --font-size-2xl: 1.25rem;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .btn-lg {
    font-size: var(--font-size-base);
    padding: 0.85em 1.5em;
    width: 100%;
  }

}
