/* ============================================================
   CSS変数 / カラーパレット（現行サイト準拠）
============================================================ */
:root {
  --primary:    #233A73;
  --primary-hover: #1c45ab;
  --text:       #333333;
  --text-sub:   #666666;
  --text-light: #999999;
  --white:      #ffffff;
  --bg:         #ffffff;
  --bg2:        #f7f7f7;
  --bg3:        #f0f0f0;
  --border:     #e0e0e0;
  --line-green: #06c755;
  --accent:     #c6133d;

  --font-serif: 'Source Serif Pro', 'Yu Mincho', '游明朝', serif;
  --font-sans:  'Source Serif Pro', 'Yu Mincho', '游明朝', 'Hiragino Mincho ProN', 'ヒラギノ明朝 ProN', serif;

  --container:  1100px;
  --section-pad: 80px 24px;
}

/* ============================================================
   リセット / ベース
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; overflow-x: clip; }
body { font-size: 16px; overflow-x: clip; }
@media (min-width: 768px) {
  html { font-size: 18px; }
  body { font-size: 18px; }
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   共通
============================================================ */
/* スマホ専用改行ユーティリティ（PCでは非表示） */
.sp-only { display: none; }

.section-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--text);
  text-align: center;
  margin-bottom: 20px;
}

/* ============================================================
   ヘッダー
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary);
  height: 80px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

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

.site-logo img {
  height: 64px;
  width: auto;
}

.pc-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.pc-nav a {
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
.pc-nav a:hover { opacity: 0.7; }

.nav-cta-btn {
  background: var(--white) !important;
  color: var(--primary) !important;
  padding: 10px 20px !important;
  border-radius: 4px;
  font-size: 16px !important;
  font-weight: 700;
  transition: opacity 0.2s;
}
.nav-cta-btn:hover {
  opacity: 0.85;
  background: var(--white) !important;
  color: var(--primary) !important;
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ドロワー */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  will-change: transform;
}
.drawer.open { transform: translateX(0); }

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
}
.drawer-overlay.open { display: block; }

.drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 134px 24px 24px;
}
.drawer-nav a {
  color: var(--text);
  font-size: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.drawer-nav a:hover { color: var(--primary); }
.drawer-cta-btn {
  background: var(--primary) !important;
  color: var(--white) !important;
  text-align: center;
  border-radius: 4px;
  margin-top: 16px;
  padding: 14px !important;
  border-bottom: none !important;
}

/* main */
main { /* no padding-top needed for sticky header */ }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: min(calc(85vh - 100px), 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 24px;
}
.hero-gold {
  color: #d4af5a;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 6vw, 64px);
  color: var(--white);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 22px);
  color: rgba(255, 255, 255, 0.95);
  line-height: 2;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* ============================================================
   CTA（情報配信）
============================================================ */
/* ============================================================
   CTA（情報配信）
============================================================ */
.cta-section {
  background: #e8f1fa;
  padding: 56px 24px;
  text-align: center;
}
.cta-title-main {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 32px;
}
.cta-title-main em {
  font-style: normal;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--accent);
}
.cta-columns {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  max-width: var(--container);
  margin: 0 auto;
  align-items: start;
}
.cta-col {
  text-align: center;
}
.cta-col-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

/* LINEボタン（大） */
.btn-line-large {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--line-green);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: 8px;
  letter-spacing: 0.06em;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.btn-line-large:hover { opacity: 0.85; }
.btn-line-large img {
  height: 28px;
  width: auto;
}

/* メールフォーム（CF7 .merumagaテーブル装飾） */
.cta-form-wrap {
  text-align: left;
}
.cta-form-wrap .wpcf7-form {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
}
.cta-form-wrap .wpcf7-form > p {
  margin: 0;
}

/* 申込フォームのテーブル */
.mousikomi {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.mousikomi th,
.mousikomi td {
  padding: 0;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
}
.mousikomi th {
  background: var(--primary);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  width: 200px;
  padding: 18px 12px;
  line-height: 1.5;
}
.mousikomi td {
  background: var(--white);
  padding: 8px 16px;
}
.mousikomi input[type="text"],
.mousikomi input[type="email"],
.mousikomi input[type="tel"] {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  padding: 12px 14px;
  border-radius: 4px;
  outline: none;
}
.mousikomi input::placeholder { color: #bbb; }
.mousikomi td.kessai label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 24px;
  font-size: 16px;
  cursor: pointer;
}
.mousikomi td.jukoukiyaku label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}
.mousikomi td.jukoukiyaku a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.course-entry-form .wpcf7-form input[type="submit"] {
  display: block;
  margin: 32px auto 0;
  background: var(--accent);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  padding: 18px 56px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  transition: opacity 0.2s;
  box-shadow: 0 4px 12px rgba(198, 19, 61, 0.25);
}
.course-entry-form .wpcf7-form input[type="submit"]:hover { opacity: 0.9; }
.course-entry-form .cf-turnstile {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* メルマガフォームのテーブル */
.merumaga {
  width: 100%;
  border-collapse: collapse;
}
.merumaga th,
.merumaga td {
  padding: 0;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
}
.merumaga th {
  background: var(--primary);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  width: 180px;
  padding: 14px 12px;
  line-height: 1.5;
}
.merumaga td {
  background: var(--white);
}
.merumaga input[type="text"],
.merumaga input[type="email"] {
  width: 100%;
  border: none;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  padding: 14px 16px;
  outline: none;
}
.merumaga input::placeholder { color: #bbb; }

/* Turnstile */
.cta-form-wrap .cf-turnstile {
  display: flex;
  justify-content: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

/* 送信ボタン */
.cta-form-wrap input[type="submit"] {
  display: block;
  margin: 20px auto;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 48px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  transition: background 0.2s;
}
.cta-form-wrap input[type="submit"]:hover { background: var(--primary-hover); }
.cta-form-wrap .wpcf7-response-output {
  margin: 0 !important;
  padding: 12px 20px;
  text-align: center;
  font-size: 16px;
  border: none !important;
}

/* 下部CTA */
.cta-bottom {
  background: #e8f1fa;
  padding: 56px 24px;
}
.cta-bottom .cta-title-main {
  color: var(--text);
}

/* ============================================================
   ブログ
============================================================ */
.blog-section {
  padding: 48px 24px;
  background: var(--bg);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
}
.blog-card {
  display: flex;
}
.blog-card a {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s;
  flex: 1;
}
.blog-card a:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); }
.blog-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg2);
}
.blog-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.blog-thumb-placeholder {
  width: 100%; height: 100%;
  background: var(--bg2);
}
.blog-body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; }
.blog-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 6px;
}
.blog-date {
  font-size: 16px;
  color: var(--text-light);
  margin-top: auto;
}

/* ============================================================
   悩みリスト
============================================================ */
.pain-section {
  padding: var(--section-pad);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.pain-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: var(--container);
  max-width: calc(100% - 48px);
  height: 90%;
  background-image: url('https://www.ningenryoku.jp/wp-content/uploads/2025/09/photo05.png');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}
.pain-section .container {
  position: relative;
  z-index: 1;
}
.pain-content {
  max-width: 700px;
}

@media (max-width: 900px) {
  .pain-section::after { display: none; }
  .pain-content { max-width: 100%; }
}
.pain-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.pain-header .section-title {
  text-align: left;
  margin-bottom: 0;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
}
.pain-icon {
  width: 56px;
  height: 56px;
}
.pain-list {
  display: grid;
  gap: 4px;
}
.pain-list li {
  font-size: 17px;
  color: var(--text);
  line-height: 1.8;
  padding: 8px 0 8px 36px;
  position: relative;
}
.pain-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 12px;
  width: 20px;
  height: 20px;
  background: var(--accent);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
}
.pain-list .hl,
.pain-sign .hl {
  color: var(--accent);
  font-weight: 700;
}
.pain-sign {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-top: 40px;
  letter-spacing: 0.04em;
}

/* ============================================================
   立命塾とは
============================================================ */
.about-section {
  padding: var(--section-pad);
  background: var(--bg2);
  text-align: center;
}
.about-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
}
.about-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.about-section,
.about-section * {
  font-family: var(--font-serif) !important;
}
.about-section .section-title {
  text-align: left;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.7;
}
.about-questions {
  max-width: 800px;
  margin: 0 auto 56px;
  text-align: left;
  list-style: none;
  counter-reset: aboutq;
  padding-left: 0;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 2.2;
  color: var(--text);
}
.about-questions li {
  counter-increment: aboutq;
  padding: 6px 0 6px 1.6em;
  text-indent: -1.6em;
}
.about-questions li::before {
  content: counter(aboutq) ". ";
  font-weight: 700;
}
.about-questions .hl {
  color: var(--accent);
  font-weight: 700;
}
.about-desc {
  font-family: var(--font-sans);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.9;
}
.about-desc .hl {
  color: var(--accent);
}

/* ============================================================
   3つの実感
============================================================ */
.gain-section {
  padding: var(--section-pad);
  background: var(--bg);
}
.gain-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.gain-icon {
  width: 56px;
  height: 56px;
}
.gain-section .section-title {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}
.accent {
  color: var(--accent);
}
.gain-lead {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--text);
  text-align: center;
  line-height: 2;
  margin-bottom: 40px;
}
.gain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.gain-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  background: var(--white);
}
.gain-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.gain-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gain-body {
  padding: 20px;
  text-align: center;
}
.gain-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.gain-desc {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ============================================================
   講座について
============================================================ */
.curriculum-section {
  padding: var(--section-pad);
  background: var(--bg2);
}
.curriculum-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}
.curriculum-icon {
  width: 56px;
  height: 56px;
}
.curriculum-section .section-title {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}
.curriculum-lead {
  text-align: center;
  font-size: 16px;
  color: var(--text-sub);
  margin-bottom: 32px;
}
.curriculum-img {
  max-width: var(--container);
  margin: 0 auto 40px;
}
.curriculum-img img {
  width: 100%;
  border-radius: 4px;
}
/* カリキュラム見出し（小） */
.curriculum-subtitle {
  font-family: var(--font-serif);
  text-align: center;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 32px;
}

/* スライダー */
.phase-slider {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
}
.phase-slider-track {
  display: flex;
  transition: transform 0.4s ease;
}
.phase-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0;
  min-width: 100%;
  flex-shrink: 0;
  overflow: hidden;
}
.phase-header {
  background: #6fb0e6;
  color: var(--white);
  padding: 28px 24px;
  text-align: center;
}
.phase-num {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.phase-card .phase-title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--white);
  border: none;
  padding: 0;
  margin: 0;
  line-height: 1.5;
}
.phase-card .phase-steps {
  padding: 24px 32px 32px;
}

/* 矢印ボタン */
.phase-slider-prev,
.phase-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 20px;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: background 0.2s, color 0.2s;
}
.phase-slider-prev:hover,
.phase-slider-next:hover {
  background: var(--primary);
  color: var(--white);
}
.phase-slider-prev { left: -8px; }
.phase-slider-next { right: -8px; }
.phase-slider-prev:disabled,
.phase-slider-next:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* ドットインジケーター */
.phase-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.phase-slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg2);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, border-color 0.2s;
}
.phase-slider-dots .dot.active {
  background: var(--primary);
  border-color: var(--primary);
}
.phase-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}
.phase-steps {
  list-style: decimal;
  padding-left: 20px;
}
.phase-steps li {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
  padding: 4px 0;
}
.phase-steps li span {
  display: block;
  font-size: 16px;
  color: var(--text-sub);
}
.curriculum-link {
  text-align: center;
  margin-top: 40px;
}
.btn-pill {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  padding: 20px 64px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(198, 19, 61, 0.25);
}
.btn-pill:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ============================================================
   推薦人
============================================================ */
.endorsers-section {
  padding: var(--section-pad);
  background: var(--bg);
}
.endorsers-section .section-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 16px;
}
.endorsers-lead {
  text-align: center;
  font-size: 16px;
  color: var(--text-sub);
  margin-bottom: 40px;
}
.endorsers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.endorser-card {
  text-align: center;
}
.endorser-card img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 8%;
  margin: 0 auto 20px;
  background: #f5f1e8;
}
.endorser-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.endorser-role {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ============================================================
   名誉講師紹介
============================================================ */
.instructor-section {
  padding: var(--section-pad);
  background: var(--bg);
}
.instructor-section .container {
  max-width: var(--container);
}
.instructor-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.instructor-icon {
  width: 56px;
  height: 56px;
}
.instructor-section .section-title {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}
.instructor-lead {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text);
  text-align: center;
  line-height: 2.2;
  margin-bottom: 56px;
}
.instructor-lead .hl {
  color: var(--accent);
  font-weight: 700;
}
.instructor-inner {
  display: flex;
  gap: 56px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto 56px;
}
.instructor-photo {
  flex-shrink: 0;
  width: 360px;
}
.instructor-photo img {
  width: 100%;
  border-radius: 4px;
}
.instructor-body {
  flex: 1;
}
.instructor-name {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  border-bottom: 3px double var(--text);
  padding-bottom: 16px;
}
.instructor-label {
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  margin-left: 16px;
}
.instructor-born {
  font-size: 16px;
  color: var(--text);
  margin: 20px 0 12px;
}
.instructor-tags {
  display: block;
}
.instructor-tags li {
  font-size: 16px;
  color: var(--text);
  padding: 4px 0;
  border: none;
  background: none;
  line-height: 1.8;
}

/* 書籍ブロック */
.book-block {
  max-width: var(--container);
  margin: 0 auto;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 40px;
}
.book-title .hl {
  color: var(--accent);
  font-weight: 700;
}
.book-heading {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}
.book-inner {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.book-cover {
  flex-shrink: 0;
  width: 130px;
}
.book-cover img {
  width: 100%;
  height: auto;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}
.book-info { flex: 1; min-width: 0; }
.book-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 14px;
}
.book-desc {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.9;
}

/* 推薦図書 3カラム */
.book-block-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: transparent;
  border: 0;
  padding: 24px 0;
}
.book-block-3col .book-author-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.book-block-3col .book-info {
  text-align: center;
  font-family: var(--font-serif);
}
.book-author-name {
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 700;
  line-height: 1.9;
  margin-bottom: 28px;
}
.book-rating-label {
  font-size: 16px;
  margin-bottom: 6px;
}
.book-rating-stars {
  color: #f5a623;
  font-size: 20px;
  letter-spacing: 2px;
}
.book-block-3col .book-cover {
  width: 100%;
  text-align: center;
}
.book-block-3col .book-cover img {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto;
}
.book-publisher {
  text-align: right;
  font-size: 14px;
  margin-top: 8px;
}
@media (max-width: 900px) {
  .book-block-3col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .book-block-3col .book-author-photo img { max-width: 280px; margin: 0 auto; }
}

.instructor-video {
  max-width: var(--container);
  margin: 40px auto 0;
}
.video-heading {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  text-align: left;
}
.video-wrap {
  position: relative;
  padding-top: 56.25%;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.instructor-link {
  text-align: center;
  margin-top: 40px;
}
.btn-pill-outline {
  display: inline-block;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 600;
  padding: 16px 48px;
  border: 1px solid var(--text);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.btn-pill-outline:hover {
  background: var(--text);
  color: var(--white);
}

/* ============================================================
   受講者の声
============================================================ */
.testimonials-section {
  padding: var(--section-pad);
  background: var(--primary);
  color: var(--white);
  overflow: hidden;
}
.testimonials-section .container {
  max-width: 100%;
  overflow: hidden;
}
.voice-slider {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
}
.testimonials-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}
.testimonials-icon {
  width: 56px;
  height: 56px;
}
.testimonials-section .section-title {
  color: var(--white);
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}
.testimonials-lead {
  text-align: center;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 32px;
  line-height: 1.8;
}
/* 動画スライダー */
.voice-slider {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
}
.voice-slider-track {
  display: flex;
  transition: transform 0.4s ease;
}
.voice-card {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  padding: 0 60px;
  box-sizing: border-box;
  overflow: hidden;
}
.voice-card video {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  max-height: 500px;
  height: auto;
  border-radius: 4px;
  background: #000;
}
@media (max-width: 600px) {
  .voice-card { padding: 0 40px; }
  .voice-slider-prev,
  .voice-slider-next {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
}
.voice-slider-prev,
.voice-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  font-size: 24px;
  color: var(--primary);
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.voice-slider-prev:hover,
.voice-slider-next:hover {
  background: var(--white);
}
.voice-slider-prev { left: 0; }
.voice-slider-next { right: 0; }
.voice-slider-prev:disabled,
.voice-slider-next:disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}
.voice-slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.voice-slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.voice-slider-dots .dot.active {
  background: var(--white);
}

/* ============================================================
   FAQ
============================================================ */
.faq-section {
  padding: var(--section-pad);
  background: var(--white);
}
.faq-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.faq-icon {
  width: 56px;
  height: 56px;
}
.faq-section .section-title {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}
.faq-list {
  max-width: var(--container);
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px 24px;
  margin-bottom: 12px;
}
.faq-item dt {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  padding-left: 28px;
  position: relative;
}
.faq-item dt::before {
  content: 'Q';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
}
.faq-item dd {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.9;
  padding-left: 28px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  position: relative;
}
.faq-item dd::before {
  content: 'A';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
}
.faq-more {
  text-align: center;
  margin-top: 24px;
}
.faq-more a {
  color: var(--primary);
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   フッター
============================================================ */
.site-footer {
  background: var(--primary);
  padding: 48px 24px 32px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}
.footer-logo {
  margin-bottom: 24px;
}
.footer-logo {
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
}
.footer-logo img {
  height: 90px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 32px;
  margin-bottom: 24px;
}
.footer-nav a {
  color: var(--white);
  font-size: 16px;
  transition: opacity 0.2s;
}
.footer-nav a:hover { opacity: 0.7; }
.footer-copy {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  letter-spacing: 0.04em;
}

/* PAGE TOP */
.page-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s;
  text-decoration: none;
}
.page-top-btn.visible { opacity: 1; }

/* ============================================================
   ページ共通: ヒーロー
============================================================ */
.page-hero {
  padding: 80px 24px 64px;
  background: var(--primary);
  color: var(--white);
  text-align: center;
}
.page-hero-en {
  font-family: var(--font-sans);
  font-size: 16px;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.8;
  color: var(--white);
}

/* CTA(LINE単独) */
.page-cta-line {
  padding: 56px 24px;
  background: #e8f1fa;
  text-align: center;
}
.page-cta-text {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  margin-bottom: 24px;
}

/* メイン画像 */
.page-main-image {
  padding: 64px 24px;
  background: var(--white);
}
.page-main-image img {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  border-radius: 8px;
}

.hl-line { color: #06C755; }

.cta-top-simple {
  padding: 48px 24px;
  background: #e8f1fa;
  text-align: center;
}
.cta-top-text {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  margin-bottom: 20px;
}
.cta-top-note {
  margin-top: 14px;
  font-size: 14px;
  color: #555;
}
.cta-top-note a {
  color: var(--primary, #1a3a7a);
  text-decoration: underline;
}

/* 塾長挨拶の動画 */
.greeting-video {
  max-width: 720px;
  margin: 24px auto 16px;
}
.greeting-video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

/* ============================================================
   私たちについて: ヒーロー（2カラム）
============================================================ */
.about-hero {
  padding: 56px 24px 72px;
  background: var(--white);
}
.about-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
}
.about-hero-breadcrumb {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
}
.about-hero-breadcrumb a {
  color: #666;
  text-decoration: underline;
}
.about-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text, #222);
  margin-bottom: 32px;
}
.about-hero-lead {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 2.1;
  color: var(--text, #222);
  margin-bottom: 36px;
}
.about-hero-btn {
  display: inline-flex;
}
.about-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}
@media (max-width: 900px) {
  .about-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-hero { padding: 40px 24px 48px; }
}
@media (max-width: 480px) {
  .about-hero { padding: 32px 16px 40px; overflow-x: clip; }
  .about-hero-inner > div { min-width: 0; }
  .about-hero-text { min-width: 0; }
  .about-hero-title { font-size: 28px; line-height: 1.3; word-break: break-word; }
  .about-hero-lead { font-size: 16px; line-height: 1.9; }
  .about-hero-btn {
    display: flex;
    width: fit-content;
    max-width: 92%;
    margin: 0 auto;
    padding: 14px 20px;
    font-size: 15px;
    letter-spacing: 0.02em;
    justify-content: center;
  }
}

/* ============================================================
   塾長挨拶
============================================================ */
.greeting-section {
  padding: var(--section-pad);
  background: var(--bg);
  text-align: center;
}
.greeting-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.greeting-icon { width: 56px; height: 56px; }
.greeting-section .section-title {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}
.greeting-lead {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 2;
  margin-bottom: 24px;
}
.greeting-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.greeting-note {
  font-size: 16px;
  color: var(--text-sub);
}

/* ============================================================
   成果数字
============================================================ */
.achievement-section {
  padding: var(--section-pad);
  background: var(--bg2);
  text-align: center;
}
.achievement-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: nowrap;
}
.achievement-icon { width: 56px; height: 56px; flex-shrink: 0; }
.achievement-title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}
.achievement-num {
  color: var(--primary, #1a3a7a);
  font-weight: 700;
  display: inline;
}
.achievement-slider {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
}
.achievement-slider-track {
  display: flex;
  transition: transform 0.4s ease;
}
.achievement-card {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  padding: 0 60px;
  box-sizing: border-box;
}
.achievement-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  display: block;
  background: #f2f2f2;
}
.achievement-prev,
.achievement-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 24px;
  color: var(--primary);
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.achievement-prev { left: 0; }
.achievement-next { right: 0; }

/* スライダー ドット */
.achievement-slider-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}
.slider-dot {
  width: 32px;
  height: 4px;
  border: 0;
  padding: 0;
  background: #d0d7e2;
  cursor: pointer;
  transition: background 0.25s;
}
.slider-dot.is-active { background: var(--primary, #1a3a7a); }

/* ============================================================
   講師紹介
============================================================ */
.teachers-section {
  padding: var(--section-pad);
  background: var(--white);
}
.teachers-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}
.teachers-icon { width: 56px; height: 56px; }
.teachers-section .section-title {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}
.teachers-lead {
  text-align: center;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 48px;
}
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.teacher-card {
  text-align: center;
  background: var(--bg2);
  padding: 32px 20px;
  border-radius: 8px;
}
.teacher-card img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto 20px;
  background: var(--white);
}
.teacher-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.teacher-role {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ============================================================
   新人間力大学校とは
============================================================ */
.ningenryoku-section {
  padding: var(--section-pad);
  background: var(--bg2);
}
.ningenryoku-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.ningenryoku-icon { width: 56px; height: 56px; }
.ningenryoku-section .section-title {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}
.ningenryoku-lead {
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 2;
  margin-bottom: 56px;
}
.ningenryoku-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.ningenryoku-features li {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
}
.ningenryoku-features li {
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
.ningenryoku-features img {
  width: 100%;
  height: auto;
  display: block;
}
.ningenryoku-features p {
  padding: 24px;
  font-size: 16px;
  line-height: 1.9;
}

/* ============================================================
   建学の理念 / 使命 / 大切な考え方
============================================================ */
.philosophy-section,
.mission-section,
.value-section {
  padding: var(--section-pad);
  background: var(--white);
}
.philosophy-section { background: var(--bg); }
.mission-section { background: var(--bg2); }
.value-section { background: var(--bg); }

.philosophy-header,
.mission-header,
.value-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.philosophy-icon,
.mission-icon,
.value-icon { width: 56px; height: 56px; }

.philosophy-section .section-title,
.mission-section .section-title,
.value-section .section-title {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}

.philosophy-list {
  max-width: 700px;
  margin: 0 auto 32px;
  list-style: decimal inside;
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 2.2;
  text-align: center;
}
.philosophy-desc {
  text-align: center;
  font-size: 18px;
  line-height: 1.9;
  max-width: 800px;
  margin: 0 auto;
}

.mission-list {
  max-width: 800px;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 2;
  text-align: center;
}
.mission-list li {
  padding: 8px 0;
}

.value-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 2;
  text-align: left;
}

@media (max-width: 768px) {
  .teachers-grid { grid-template-columns: 1fr 1fr; }
  .ningenryoku-features { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .teachers-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   コースページ
============================================================ */
.course-section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.course-icon { width: 56px; height: 56px; }
.course-lead-section {
  padding: var(--section-pad);
  background: var(--white);
  text-align: center;
}
.course-lead {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 2;
  margin-bottom: 40px;
}
.course-lead-img {
  max-width: var(--container);
  margin: 0 auto 32px;
}
.course-lead-img img { width: 100%; border-radius: 8px; }
.course-cta-line { text-align: center; margin-top: 32px; }

/* 特長 */
.course-features-section {
  padding: var(--section-pad);
  background: var(--bg2);
}
.course-features-section .section-title,
.course-method-section .section-title,
.course-worksheet-section .section-title,
.course-power-section .section-title,
.course-why-section .section-title,
.course-support-section .section-title,
.course-online-section .section-title,
.course-curriculum-section .section-title,
.course-book-section .section-title,
.course-price-section .section-title,
.course-flow-section .section-title,
.course-entry-section .section-title {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}
.course-features-lead {
  text-align: center;
  font-size: 18px;
  margin-bottom: 40px;
}
.course-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.course-features-grid li {
  background: var(--white);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.feature-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}

/* 2大メソッド */
.course-method-section {
  padding: var(--section-pad);
  background: var(--white);
}
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.method-card {
  background: var(--bg2);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
}
.method-num {
  font-family: var(--font-sans);
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}
.method-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.6;
}
.method-card img { width: 100%; border-radius: 6px; margin-bottom: 20px; }
.method-card p { font-size: 16px; line-height: 1.9; text-align: left; }

/* ワークシート */
.course-worksheet-section {
  padding: var(--section-pad);
  background: var(--white);
}
.course-worksheet-lead {
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 2;
  margin-bottom: 16px;
}
.course-worksheet-sub {
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.9;
  margin: 48px auto 0;
  max-width: none;
  padding: 32px 24px;
  background: #e7eef6;
  border: 0;
  border-radius: 16px;
}
.course-worksheet-sub .hl {
  color: #c0392b;
}
.course-worksheet-img {
  max-width: 900px;
  margin: 0 auto;
  background: transparent;
  border: 0;
  padding: 0;
}
.course-worksheet-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* 3つの力 */
.course-power-section {
  padding: var(--section-pad);
  background: var(--white);
}
.course-power-lead {
  text-align: center;
  font-size: 18px;
  margin-bottom: 40px;
}
.course-power-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.course-power-grid li {
  text-align: center;
  background: var(--primary, #1a3a7a);
  color: #fff;
  padding: 40px 24px;
  border-radius: 12px;
}
.course-power-grid .power-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  display: inline-block;
  line-height: 1.3;
}
.power-num {
  font-family: var(--font-serif);
  font-size: 1em;
  font-weight: 700;
  color: #fff;
}
.course-power-grid p {
  color: #fff;
}
.course-power-grid p { font-size: 16px; line-height: 1.8; }

/* なぜ・サポート */
.course-why-section,
.course-support-section {
  padding: var(--section-pad);
  background: var(--bg2);
  text-align: center;
}
.course-why-section { background: var(--bg2); }
.course-why-section .hl { color: var(--accent); font-weight: 700; }
.course-book-lead .hl { color: var(--accent); font-weight: 700; }
.course-entry-lead .hl {
  color: var(--primary, #1a3a7a);
  font-size: 25px;
  font-weight: 700;
}
.course-price-lead {
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  line-height: 2;
  margin: 0 0 32px;
}

/* 受講者の声（page-course内） */
.testimonials-section {
  padding: var(--section-pad);
  background: var(--bg2);
}
.testimonials-section .testimonials-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}
.testimonials-section .testimonials-icon { width: 56px; height: 56px; }
.testimonials-section .section-title {
  color: var(--text, #222);
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 0;
}
.testimonials-section .testimonials-lead {
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  line-height: 2;
  color: var(--text, #222);
  margin-bottom: 40px;
}
.testimonials-section .achievement-card video {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
  background: #000;
}

/* 講座 FAQ */
.course-faq-section {
  padding: var(--section-pad);
  background: var(--bg2);
}
.course-faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.course-faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  overflow: hidden;
}
.course-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--primary, #1a3a7a);
  font-size: clamp(15px, 1.4vw, 17px);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  padding-right: 50px;
}
.course-faq-item summary::-webkit-details-marker { display: none; }
.course-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--primary, #1a3a7a);
  transition: transform 0.25s;
}
.course-faq-item[open] summary::after {
  content: '−';
}
.course-faq-item .faq-q {
  color: var(--accent, #c6133d);
  font-weight: 900;
  flex-shrink: 0;
}
.course-faq-answer {
  padding: 0 24px 22px 50px;
  font-family: var(--font-serif);
  line-height: 2;
  color: var(--text, #222);
  font-size: 15px;
}

.course-curriculum-lead .hl {
  color: var(--primary, #1a3a7a);
  font-weight: 700;
  font-size: 1.25em;
}

/* カリキュラム フェーズ スライダー */
.phase-slider {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
  padding: 0 64px;
}
.phase-slider-track {
  display: flex;
  transition: transform 0.4s ease;
}
.phase-slider-track > .phase-card-detail {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.phase-prev,
.phase-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 24px;
  color: var(--primary);
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.phase-prev { left: 8px; }
.phase-next { right: 8px; }
.phase-slider-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}
.course-support-section { background: var(--white); }
.course-why-text,
.course-support-text {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 2.2;
}

/* オンライン進め方 */
.course-online-section {
  padding: var(--section-pad);
  background: var(--bg2);
}
.course-online-img {
  max-width: var(--container);
  margin: 0 auto;
}
.course-online-img img { width: 100%; }

/* カリキュラム詳細 */
.course-curriculum-section {
  padding: var(--section-pad);
  background: var(--white);
}
.course-curriculum-lead {
  text-align: center;
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 40px;
}
.phase-card-detail {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 24px;
  overflow: hidden;
}
.phase-card-detail .phase-header {
  background: #6fb0e6;
  padding: 24px;
  text-align: center;
}
.phase-card-detail .phase-num {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--white);
  margin-bottom: 4px;
}
.phase-card-detail .phase-title {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--white);
  margin: 0;
  border: none;
  padding: 0;
}
.phase-card-detail .phase-steps {
  list-style: decimal;
  padding: 24px 32px 24px 56px;
}
.phase-card-detail .phase-steps li {
  font-size: 16px;
  line-height: 1.9;
  padding: 4px 0;
}
.phase-card-detail .phase-steps li span {
  display: block;
  font-size: 16px;
  color: var(--text-sub);
}

/* 推薦図書 */
.course-book-section {
  padding: var(--section-pad);
  background: var(--bg2);
}
.course-book-lead {
  text-align: center;
  font-size: 18px;
  margin-bottom: 40px;
}
.book-rating {
  color: var(--accent);
  font-weight: 700;
  margin-top: 12px;
}

/* 受講費用 */
.course-price-section {
  padding: var(--section-pad);
  background: var(--white);
}
.course-price-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--primary);
  color: var(--white);
  border-radius: 12px;
  padding: 48px;
  text-align: center;
}
.price-main {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 24px;
}
.price-amount {
  font-size: clamp(48px, 6vw, 72px);
  color: #fff;
  display: inline-block;
  margin: 0 8px;
}
.price-tax {
  font-size: 18px;
  display: block;
  margin-top: 4px;
  font-weight: 400;
}
.price-options {
  text-align: left;
  font-size: 16px;
  line-height: 1.8;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 24px;
}
.price-options li { padding: 6px 0; }

/* お申込みの流れ */
.course-flow-section {
  padding: var(--section-pad);
  background: var(--bg2);
}
.course-flow-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  list-style: none;
  counter-reset: flow;
}
.course-flow-list li {
  counter-increment: flow;
  background: var(--white);
  padding: 32px 24px;
  border-radius: 8px;
  text-align: center;
  position: relative;
}
.course-flow-list li::before {
  content: counter(flow);
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
}
.course-flow-list img {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  object-fit: contain;
}
.course-flow-list h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.course-flow-list p { font-size: 16px; line-height: 1.8; }

/* エントリーフォーム */
.course-entry-section {
  padding: var(--section-pad);
  background: var(--white);
}
.course-entry-lead {
  text-align: center;
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 40px;
}
.course-entry-form {
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .course-features-grid,
  .method-grid,
  .course-power-grid,
  .course-flow-list { grid-template-columns: 1fr; }
}

/* ============================================================
   FAQページ
============================================================ */
.faq-page-section {
  padding: var(--section-pad);
  background: var(--white);
}
.faq-category {
  max-width: 800px;
  margin: 0 auto 64px;
}
.faq-category:last-child { margin-bottom: 0; }
.faq-category-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.faq-category-header .section-title {
  margin-bottom: 0;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
}

/* ============================================================
   contactページ
============================================================ */
.contact-section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.contact-icon { width: 56px; height: 56px; }
.contact-intro-section,
.contact-line-section,
.contact-form-section {
  padding: var(--section-pad);
}
.contact-intro-section { background: var(--white); }
.contact-line-section { background: #e8f1fa; }
.contact-form-section { background: var(--bg2); }

.contact-intro-section .section-title,
.contact-line-section .section-title,
.contact-form-section .section-title {
  margin-bottom: 0;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
}
.contact-examples {
  max-width: 700px;
  margin: 0 auto 32px;
}
.contact-examples li {
  font-size: 18px;
  padding: 12px 0 12px 36px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.contact-examples li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 14px;
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.contact-message {
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.9;
}
.contact-line-lead,
.contact-form-lead {
  text-align: center;
  font-size: 18px;
  margin-bottom: 32px;
}
.contact-line-btn { text-align: center; }
/* ============================================================
   投稿ページ（single / archive / search）
============================================================ */
.post-hero {
  padding: 80px 24px 56px;
  background: var(--primary, #1a3a7a);
  color: #fff;
  text-align: center;
}
.post-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  max-width: 900px;
  margin: 0 auto;
}
.post-hero-meta {
  font-family: var(--font-serif);
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  margin-bottom: 16px;
}
.post-hero-meta .post-cat {
  display: inline-block;
  margin-left: 12px;
  padding: 2px 10px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  font-size: 12px;
}
.post-hero-desc {
  margin-top: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
}
.post-content-section,
.post-list-section {
  padding: 64px 24px 96px;
  background: var(--white);
}
.post-container {
  max-width: 760px;
  margin: 0 auto;
}
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  max-width: var(--container);
  margin: 0 auto;
}
.post-main { min-width: 0; }
.post-sidebar {
  position: sticky;
  top: 24px;
  align-self: start;
}
.sidebar-widget {
  background: var(--bg2, #f5f7fa);
  border-radius: 8px;
  padding: 24px 20px;
  margin-bottom: 24px;
}
.sidebar-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary, #1a3a7a);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary, #1a3a7a);
}
.sidebar-list,
.sidebar-categories,
.sidebar-archives {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-list li {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.sidebar-list li:last-child { border: 0; margin: 0; padding: 0; }
.sidebar-list a {
  display: block;
  font-family: var(--font-serif);
  text-decoration: none;
  color: var(--text, #222);
  transition: opacity 0.2s;
}
.sidebar-list a:hover { opacity: 0.7; }
.sidebar-date {
  display: block;
  font-size: 12px;
  color: var(--primary, #1a3a7a);
  margin-bottom: 4px;
}
.sidebar-post-title {
  display: block;
  font-size: 14px;
  line-height: 1.5;
}
.sidebar-categories li,
.sidebar-archives li {
  margin-bottom: 8px;
}
.sidebar-categories a,
.sidebar-archives a {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--text, #222);
  text-decoration: none;
  display: inline-block;
  padding: 4px 0;
}
.sidebar-categories a:hover,
.sidebar-archives a:hover {
  color: var(--primary, #1a3a7a);
  text-decoration: underline;
}
@media (max-width: 900px) {
  .post-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .post-sidebar { position: static; }
}
.post-body {
  font-family: var(--font-serif);
  line-height: 1.9;
  font-size: 18px;
  color: var(--text, #222);
}
.post-body h2 {
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 700;
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary, #1a3a7a);
  color: var(--primary, #1a3a7a);
}
.post-body h3 {
  font-size: clamp(19px, 4vw, 22px);
  font-weight: 700;
  margin: 36px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--accent, #c6133d);
  color: var(--text, #222);
}
.post-body h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 12px;
}
.post-body p { margin: 0 0 22px; }
.post-body ul, .post-body ol { margin: 0 0 24px 1.5em; }
.post-body ul li { list-style: disc; margin-bottom: 8px; }
.post-body ol li { list-style: decimal; margin-bottom: 8px; }
.post-body a {
  color: var(--primary, #1a3a7a);
  text-decoration: underline;
}
.post-body img {
  max-width: 100%;
  height: auto;
  margin: 24px 0;
  border-radius: 6px;
}
.post-body .post-toc {
  background: var(--bg2, #f5f7fa);
  border: 1px solid var(--border, #d0d7e2);
  border-radius: 8px;
  padding: 24px 28px;
  margin: 32px 0 40px;
}
.post-body .post-toc-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary, #1a3a7a);
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--primary, #1a3a7a);
}
.post-body .post-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.post-body .post-toc-list li {
  margin: 0;
  padding: 8px 0 8px 28px;
  border-bottom: 1px dashed #d0d7e2;
  position: relative;
  list-style: none;
}
.post-body .post-toc-list li:last-child { border-bottom: 0; }
.post-body .post-toc-list li::before {
  content: '▸';
  position: absolute;
  left: 8px;
  color: var(--primary, #1a3a7a);
}
.post-body .post-toc-list a {
  color: var(--text, #222);
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.6;
  display: inline-block;
}
.post-body .post-toc-list a:hover {
  color: var(--primary, #1a3a7a);
  text-decoration: underline;
}

.post-body blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--bg2, #f5f7fa);
  border-left: 4px solid var(--primary, #1a3a7a);
  border-radius: 0 6px 6px 0;
  font-style: italic;
}
.post-body strong { font-weight: 700; }
.post-body em { font-style: italic; }
/* 関連記事 */
.related-posts {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 2px solid #e5e7eb;
}
.related-posts-title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--primary, #1a3a7a);
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 4px solid var(--primary, #1a3a7a);
}
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.related-post-card {
  list-style: none;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.related-post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.related-post-card a {
  text-decoration: none;
  color: var(--text, #222);
  display: block;
}
.related-post-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg2, #f5f7fa);
}
.related-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.related-post-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e5e7eb 0%, #f5f7fa 100%);
}
.related-post-body {
  padding: 14px 16px;
}
.related-post-date {
  display: block;
  font-size: 12px;
  color: var(--primary, #1a3a7a);
  margin-bottom: 6px;
  font-family: var(--font-serif);
}
.related-post-title {
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 700px) {
  .related-posts-grid { grid-template-columns: 1fr; }
}

/* スマホでのブログ本文：余白を詰めてフォントを少し下げ、アイキャッチを画面幅まで広げる */
@media (max-width: 768px) {
  .post-content-section,
  .post-list-section {
    padding: 32px 16px 56px;
  }
  .post-body { font-size: 18px; line-height: 1.9; }
  .post-body img {
    margin-left: -16px;
    margin-right: -16px;
    max-width: calc(100% + 32px);
    width: calc(100% + 32px);
    border-radius: 0;
  }
}
@media (max-width: 480px) {
  .post-content-section,
  .post-list-section {
    padding: 24px 16px 48px;
  }
  .post-body img {
    margin-left: -16px;
    margin-right: -16px;
    max-width: calc(100% + 32px);
    width: calc(100% + 32px);
  }
}

.post-footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}
.post-back-link {
  display: inline-block;
  padding: 12px 32px;
  background: var(--primary, #1a3a7a);
  color: #fff !important;
  border-radius: 999px;
  font-family: var(--font-serif);
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}
.post-back-link:hover { opacity: 0.85; }
.post-pagination {
  margin-top: 56px;
  text-align: center;
}
.post-pagination .page-numbers {
  display: inline-block;
  padding: 10px 16px;
  margin: 0 4px;
  border: 1px solid #d0d7e2;
  border-radius: 6px;
  color: var(--primary, #1a3a7a);
  font-family: var(--font-serif);
  text-decoration: none;
}
.post-pagination .page-numbers.current {
  background: var(--primary, #1a3a7a);
  color: #fff;
  border-color: var(--primary, #1a3a7a);
}
.post-empty {
  text-align: center;
  padding: 80px 0;
  color: #666;
}

.contact-form-wrap {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
/* CF7のテーブル構造を縦積みに変換 */
.contact-form-wrap table,
.contact-form-wrap tbody,
.contact-form-wrap tr,
.contact-form-wrap th,
.contact-form-wrap td {
  display: block;
  width: 100%;
  background: transparent !important;
  color: var(--text, #222) !important;
  border: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}
.contact-form-wrap tr {
  margin-bottom: 20px;
}
.contact-form-wrap th {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary, #1a3a7a) !important;
  margin-bottom: 8px !important;
}
.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap input[type="url"],
.contact-form-wrap textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  font-family: var(--font-serif);
  border: 1px solid #cdd5e0;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
  outline: none;
  border-color: var(--primary, #1a3a7a);
}
.contact-form-wrap textarea { min-height: 160px; resize: vertical; }
.contact-form-wrap input[type="submit"] {
  display: block;
  margin: 28px auto 0;
  padding: 16px 56px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: var(--accent, #c6133d);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(198, 19, 61, 0.25);
  transition: opacity 0.2s;
}
.contact-form-wrap input[type="submit"]:hover { opacity: 0.9; }
.contact-form-wrap .cf-turnstile,
.contact-form-wrap .wpcf7-spinner { margin: 16px auto; }
.contact-form-wrap .wpcf7-response-output {
  margin: 16px 0 0 !important;
  padding: 12px 16px !important;
  border-radius: 6px;
}

/* ============================================================
   汎用ページ（プライバシー・利用規約等）
============================================================ */
.page-content-section {
  padding: 80px 24px;
  background: var(--white);
}
.page-content-section .entry-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 2;
}

/* ============================================================
   固定ページ（WordPress ブロックエディタ出力対応）
============================================================ */
.page-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.entry-content {
  line-height: 1.9;
  font-size: 16px;
  color: var(--text);
}
.entry-content img {
  max-width: 100%;
  height: auto;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--font-serif);
  margin-top: 2em;
  margin-bottom: 0.8em;
  line-height: 1.5;
}
.entry-content h1 { font-size: 28px; }
.entry-content h2 { font-size: 24px; }
.entry-content h3 { font-size: 20px; }
.entry-content p {
  margin-bottom: 1.2em;
}
.entry-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.entry-content ul,
.entry-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.2em;
  list-style: revert;
}
.entry-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 12px 20px;
  margin: 1.5em 0;
  color: var(--text-sub);
  background: var(--bg2);
}
/* WordPressブロック用 */
.entry-content .wp-block-image {
  margin: 1.5em 0;
}
.entry-content .wp-block-columns {
  display: flex;
  gap: 24px;
}
.entry-content .wp-block-column {
  flex: 1;
}
.entry-content .aligncenter {
  text-align: center;
}
.entry-content .alignfull,
.entry-content .alignwide {
  max-width: 100%;
}

/* ============================================================
   レスポンシブ
============================================================ */
@media (max-width: 768px) {
  .pc-nav { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: 360px; }
  .hero-title { font-size: 24px; }

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

  .gain-grid { grid-template-columns: 1fr; }

  .endorsers-grid { grid-template-columns: 1fr 1fr; gap: 20px; }

  .instructor-inner { flex-direction: column; align-items: center; text-align: center; }
  .instructor-photo { width: 160px; }
  .instructor-tags { justify-content: center; }
  .book-inner { flex-direction: column; align-items: center; }
  .book-cover { width: 100px; }

  .cta-columns { grid-template-columns: 1fr; gap: 32px; }
  .cta-form-wrap { width: 100%; }

  .phase-card { padding: 20px; }
}

@media (max-width: 480px) {
  :root { --section-pad: 48px 16px; }

  .endorsers-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .endorser-card img { width: 130px; height: 130px; }

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

  /* スマホ専用改行ユーティリティ */
  .sp-only { display: inline; }

  /* about-desc を about-questions と同じサイズで目立たせる */
  .about-desc { font-size: 20px; line-height: 1.9; }

  /* TOP上部CTA：見出しを1行に収め、LINEボタンを中央配置に */
  .cta-top-simple { padding: 36px 16px; }
  .cta-top-text {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 18px;
    white-space: nowrap;
    letter-spacing: 0;
  }
  .cta-top-simple .btn-line-large {
    display: flex;
    width: fit-content;
    max-width: 92%;
    margin: 0 auto;
    padding: 14px 24px;
    font-size: 15px;
    letter-spacing: 0.02em;
    justify-content: center;
  }
}

/* ============================================================
   ブログ本文の優先スタイル
   article要素には class="entry-content post-body" が両方付与されており、
   後に定義された .entry-content が .post-body を上書きしてしまうため、
   specificity を上げた .entry-content.post-body で確実に上書きする。
============================================================ */
.entry-content.post-body {
  font-family: var(--font-serif);
  line-height: 1.8;
  font-size: 18px;
  color: var(--text, #222);
}
.entry-content.post-body p { margin: 0 0 20px; }
.entry-content.post-body h2 {
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 700;
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary, #1a3a7a);
  color: var(--primary, #1a3a7a);
  line-height: 1.5;
}
.entry-content.post-body h3 {
  font-size: clamp(19px, 4vw, 22px);
  font-weight: 700;
  margin: 36px 0 16px;
  padding: 0 0 0 14px;
  border-left: 4px solid var(--accent, #c6133d);
  color: var(--text, #222);
  line-height: 1.5;
}
.entry-content.post-body h4 { font-size: 18px; font-weight: 700; margin: 28px 0 12px; }
.entry-content.post-body ul,
.entry-content.post-body ol { margin: 0 0 22px 1.5em; padding-left: 0; }

@media (max-width: 768px) {
  /* .container の padding 0 24px を打ち消して外側3pxだけ残す */
  .post-content-section .container.post-layout,
  .post-list-section .container.post-layout { padding-left: 0; padding-right: 0; }
  .entry-content.post-body { font-size: 22px; line-height: 1.8; }
  .entry-content.post-body p { margin: 0 0 22px; }
  .entry-content.post-body h2 { font-size: 26px; }
  .entry-content.post-body h3 { font-size: 22px; }
  .entry-content.post-body img {
    margin-left: -16px;
    margin-right: -16px;
    max-width: calc(100% + 32px);
    width: calc(100% + 32px);
    border-radius: 0;
  }
}
