/* ==========================================================================
   SUGURU学習道場 公式Webサイト スタイルシート
   Design System: Deep Navy & Warm Gold (Academic, Trustworthy, Modern)
   ========================================================================== */

:root {
  /* カラーパレット */
  --primary: #0f2744;          /* 深みのある道場ネイビー */
  --primary-light: #1e3a5f;    /* やや明るいネイビー */
  --primary-dark: #09182b;     /* 最暗ネイビー */
  --accent: #d97706;           /* 意欲と温かみのアンバーゴールド */
  --accent-light: #f59e0b;     /* 明るいアクセント */
  --accent-soft: #fef3c7;      /* 薄いゴールド背景 */
  --accent-dark: #b45309;      /* 濃いゴールド */
  --coral: #ea580c;            /* 注目バッジ等のオレンジコーラル */
  --coral-soft: #ffedd5;       /* 薄いオレンジ背景 */
  
  /* ニュートラルカラー */
  --bg-main: #f8fafc;          /* サイト基本背景 */
  --bg-white: #ffffff;         /* カード・コンテナ白 */
  --bg-alt: #f1f5f9;           /* 交互背景用ライトグレー */
  --bg-dark: #0b1727;          /* ダークセクション背景 */
  --text-main: #1e293b;        /* 主テキスト（高い視認性） */
  --text-muted: #64748b;       /* 補足・説明テキスト */
  --text-light: #94a3b8;       /* 薄い補助テキスト */
  --border-color: #e2e8f0;     /* 境界線 */
  --border-light: #f1f5f9;
  
  /* 機能カラー */
  --success: #10b981;
  --info: #0284c7;
  --line-color: #06c755;       /* LINE公式カラー */
  --line-hover: #05a847;

  /* シャドウ */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
  --shadow-accent: 0 10px 20px -3px rgba(217, 119, 6, 0.25);

  /* タイポグラフィ */
  --font-base: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Shippori Mincho", "Noto Serif JP", serif;

  /* アニメーション */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* リセット＆基本設定 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: hidden;
  max-width: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 17px;
  }
}

@media (min-width: 1024px) {
  html {
    font-size: 18px;
  }
}

@media (min-width: 1400px) {
  html {
    font-size: 19px;
  }
}

body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

body {
  font-family: var(--font-base);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.75;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 70px;
  overflow-x: hidden;
  word-break: auto-phrase;
  line-break: strict;
}

/* 単語の泣き別れ防止・改行制御ユーティリティ */
.text-nowrap {
  display: inline-block;
  white-space: nowrap;
}

.pc-only {
  display: inline;
}

.sp-only {
  display: none;
}

@media (max-width: 767px) {
  .pc-only {
    display: none !important;
  }
  .sp-only {
    display: inline !important;
  }
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* 共通コンテナ */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-narrow {
  max-width: 860px;
}

/* ==========================================================================
   2段ヘッダー & ナビゲーション
   ========================================================================== */
.site-header .container {
  max-width: 1240px;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

/* 上段：ロゴ ＆ 右側CTA */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ロゴの大型化 (38px -> 54px) */
.header-logo {
  height: 52px;
  width: auto;
  transition: var(--transition);
}

@media (min-width: 768px) {
  .header-logo {
    height: 88px;
  }
}

@media (min-width: 1024px) {
  .header-logo {
    height: 94px;
  }
}



.header-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  border-left: 2px solid var(--border-color);
  padding-left: 14px;
  line-height: 1.45;
  display: none;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .header-tagline {
    display: block;
  }
}

.header-top-actions {
  display: none;
  align-items: center;
  gap: 16px;
}

@media (min-width: 992px) {
  .header-top-actions {
    display: flex;
    margin-left: 32px;
    gap: 14px;
  }
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #ffffff !important;
  font-size: 0.98rem;
  font-weight: 800;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
  transition: var(--transition);
  white-space: nowrap;
}

.header-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.header-line-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--line-color);
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
}

.header-line-btn:hover {
  background-color: var(--line-hover);
  transform: translateY(-2px);
}

/* 下段：ナビゲーション帯バー (ロゴの下に配置し、2行崩れを防止) */
.header-nav-bar {
  display: none;
  background: #ffffff;
}

@media (min-width: 992px) {
  .header-nav-bar {
    display: block;
  }
}

.header-nav-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  position: relative;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 8px;
  right: 8px;
  height: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-link:hover {
  color: var(--accent);
  background: rgba(217, 119, 6, 0.05);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* モバイルメニューボタン */
.menu-toggle-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  cursor: pointer;
  z-index: 1002;
}

@media (min-width: 992px) {
  .menu-toggle-btn {
    display: none;
  }
}

.menu-toggle-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle-btn.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle-btn.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* モバイルドロワーメニュー */
.mobile-nav-drawer {
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  height: calc(100vh - 76px);
  background: #ffffff;
  padding: 24px 20px 40px;
  display: none;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  z-index: 1001;
}

.mobile-nav-drawer.open {
  display: flex;
}

@media (min-width: 768px) {
  .mobile-nav-drawer {
    display: none !important;
  }
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  padding: 12px 4px;
  border-bottom: 1px solid var(--border-light);
}

/* ==========================================================================
   ヒーローセクション (スッキリ力強いワイドビュー)
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(145deg, #09182b 0%, #0f2744 55%, #183354 100%);
  color: #ffffff;
  padding: 60px 0 80px;
  overflow: hidden;
  text-align: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.14) 0%, rgba(217, 119, 6, 0) 70%);
  pointer-events: none;
}

.hero-inner-wide {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.badge-pill-limited {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(217, 119, 6, 0.2);
  border: 1px solid var(--accent);
  color: #fef3c7;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.badge-pill-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: var(--radius-full);
}

/* --- ヒーロータイトルの強弱デザイン --- */
.hero-title {
  margin-bottom: 24px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* 1行目：受け身の学びから、（控えめに小さく） */
.hero-title-sub {
  display: inline-block;
  font-size: 1.88rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .hero-title-sub {
    font-size: 2.45rem;
  }
}

/* 2行目コンテナ */
.hero-title-main {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: nowrap;
}

/* 2行目：自走する学び（特大・鮮やかオレンジ・下線） */
.hero-title-keyword {
  font-size: clamp(2.85rem, 9.4vw, 3.45rem);
  font-weight: 900;
  color: #ea580c;
  letter-spacing: -0.01em;
  display: inline-block;
  position: relative;
  padding-bottom: 6px;
  white-space: nowrap;
}

/* アンダーライン（細いイエロー〜薄オレンジ下線） */
.hero-title-keyword::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #fde047;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .hero-title-keyword {
    font-size: 5.0rem;
    padding-bottom: 8px;
  }
  .hero-title-keyword::after {
    height: 5px;
  }
}

/* 2行目：へ。（小さく落ち着いたトーン） */
.hero-title-end {
  font-size: clamp(1.95rem, 6.4vw, 2.35rem);
  font-weight: 900;
  color: #ffffff;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .hero-title-end {
    font-size: 2.9rem;
  }
}

/* --- サブタイトルの強弱デザイン --- */
.hero-subtitle {
  font-size: 0.98rem;
  line-height: 1.85;
  color: #e2e8f0;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.12rem;
  }
}

/* 「もっと伸びたい」（太字・大きめ強調） */
.hero-sub-highlight {
  font-weight: 800;
  font-size: 1.15em;
  color: #ffffff;
  display: inline-block;
}

/* 「自ら学ぶ力」（太字・アンダーライン強調） */
.hero-sub-keyword {
  font-weight: 800;
  font-size: 1.15em;
  color: #ffffff;
  display: inline-block;
  position: relative;
  padding-bottom: 2px;
  border-bottom: 3px solid #ea580c;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-lead-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 4px solid var(--accent);
  padding: 20px 26px;
  border-radius: var(--radius-md);
  margin-bottom: 36px;
  font-size: 1.02rem;
  line-height: 1.85;
  color: #f1f5f9;
  text-align: left;
}

@media (min-width: 860px) {
  .hero-lead-box p:not(.hero-lead-heading) {
    white-space: nowrap;
  }
}

.hero-lead-box p {
  margin-bottom: 8px;
}

.hero-lead-box p:last-child {
  margin-bottom: 0;
}

.hero-lead-heading {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px !important;
  letter-spacing: 0.03em;
}

@media (max-width: 600px) {
  .hero-lead-box {
    padding: 18px 14px;
  }
  .hero-lead-heading {
    font-size: clamp(1.18rem, 5.0vw, 1.38rem);
    line-height: 1.35;
    text-align: center;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
}

@media (min-width: 540px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px -4px rgba(217, 119, 6, 0.45);
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(217, 119, 6, 0.6);
  color: #ffffff;
}

.btn-hero-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--line-color);
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 16px 26px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 20px -3px rgba(6, 199, 85, 0.35);
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-hero-line:hover {
  background-color: var(--line-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -3px rgba(6, 199, 85, 0.5);
  color: #ffffff;
}

.hero-features-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-feature-item svg {
  color: var(--accent-light);
  flex-shrink: 0;
}

/* ==========================================================================
   自走を支える「3つの約束」カード（トップから移動したセクション）
   ========================================================================== */
.promises-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .promises-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.promise-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--primary);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
}

.promise-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.promise-num {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.promise-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.45;
}

.promise-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   共通セクション見出し
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-white {
  background-color: var(--bg-white);
}

.section-dark {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0f2744 100%);
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 54px;
}

.section-sub {
  display: inline-block;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 14px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.70rem;
  }
}

.section-desc {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-muted);
}

#pillars .section-desc {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--primary);
  font-weight: 500;
}

@media (max-width: 600px) {
  #pillars .section-desc {
    font-size: 1.08rem;
  }
}

.test-prep-step-heading {
  display: block;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1.45;
}

@media (max-width: 600px) {
  .test-prep-step-heading {
    font-size: 1.08rem;
  }
}

/* ==========================================================================
   統合版：道場主の想い & プロフィール (Instructor & Philosophy)
   ========================================================================== */
.profile-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto 50px;
}

.profile-left-col {
  background: linear-gradient(180deg, #fdfbf7 0%, #f4f0e6 100%);
  border-right: 1px solid var(--border-color);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (max-width: 859px) {
  .profile-left-col {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 36px 20px 28px;
  }
}

.profile-img-container {
  width: 220px;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border: 4px solid #ffffff;
  background: #fbf9f5;
  margin-bottom: 18px;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.profile-badge-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.profile-name-text {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.1em;
}

.profile-content {
  padding: 36px 30px;
}

@media (min-width: 768px) {
  .profile-content {
    padding: 44px;
  }
}

.profile-lead-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.55;
  margin-bottom: 16px;
}

.profile-body-text {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--text-main);
  margin-bottom: 24px;
}

.profile-attributes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  background: var(--bg-alt);
  padding: 20px;
  border-radius: var(--radius-md);
}

@media (min-width: 600px) {
  .profile-attributes {
    grid-template-columns: repeat(2, 1fr);
  }
}

.attr-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.02rem;
}

.attr-item svg {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.attr-label {
  font-weight: 700;
  color: var(--text-main);
}

.attr-desc {
  color: var(--text-muted);
}

/* 理由カード */
.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.pain-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--primary);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pain-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fee2e2;
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pain-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
}

.pain-text {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.solution-bridge-box {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-soft) 100%);
  border: 2px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.solution-bridge-title {
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.solution-bridge-desc {
  font-size: 1.0rem;
  line-height: 1.8;
  color: var(--text-main);
}

/* ==========================================================================
   3本の柱と仕組み (Philosophy & Solutions)
   ========================================================================== */
.pillar-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 26px 18px 30px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: block;
}

@media (min-width: 768px) {
  .pillar-card {
    padding: 40px 48px;
  }
}

.pillar-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.pillar-title {
  font-size: 1.88rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.40;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .pillar-title {
    font-size: 1.95rem;
  }
}

.pillar-lead {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 14px;
  line-height: 1.6;
}

.pillar-desc {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pillar-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

@media (min-width: 768px) {
  .pillar-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.pillar-point-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.5;
}

.pillar-point-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.pillar-visual {
  background: linear-gradient(135deg, var(--bg-alt) 0%, #e2e8f0 100%);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

.feature-box {
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 18px;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
}

.feature-box:last-child {
  margin-bottom: 0;
}

.feature-box-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.feature-box-desc {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   1週間の学習サイクル
   ========================================================================== */
.cycle-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .cycle-container {
    grid-template-columns: 1fr 1fr;
  }
}

.cycle-weekday-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.cycle-weekday-card::before {
  content: "月〜金";
  position: absolute;
  top: 16px;
  right: -32px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 40px;
  transform: rotate(45deg);
}

.cycle-weekend-card {
  background: linear-gradient(135deg, #ffffff 0%, #fefce8 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 2px solid var(--accent-light);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.cycle-weekend-card::before {
  content: "土・日";
  position: absolute;
  top: 16px;
  right: -32px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 40px;
  transform: rotate(45deg);
}

.cycle-card-title {
  font-size: 1.68rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.cycle-card-sub {
  font-size: 0.98rem;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.5;
}

.cycle-step-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cycle-step-item {
  display: flex;
  gap: 16px;
}

.cycle-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cycle-weekend-card .cycle-step-num {
  background: var(--accent);
}

.cycle-step-content h4 {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.cycle-step-content p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ==========================================================================
   比較表 (Comparison Table)
   ========================================================================== */
.comparison-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.comparison-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: center;
}

.comparison-table th, 
.comparison-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-color);
  font-size: 1.05rem;
  line-height: 1.45;
}

.comparison-table th {
  background: var(--bg-alt);
  color: var(--text-main);
  font-weight: 700;
}

.comparison-table th.highlight-col,
.comparison-table td.highlight-col {
  background: #fffbeb;
  border-left: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

.comparison-table th.highlight-col {
  background: var(--primary);
  color: #ffffff;
  border-top: none;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.table-check-best {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 1.05rem;
}

.table-badge-suguru {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.88rem;
  padding: 4px 12px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 4px;
}

/* ==========================================================================
   統合版：料金プラン ＆ 受講に必要なもの
   ========================================================================== */
.pricing-overview-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  max-width: 960px;
  margin: 0 auto 36px;
}

.pricing-common-title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}

.pricing-common-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .pricing-common-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pricing-common-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-alt);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}

.pricing-common-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-cards-simple {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 24px;
  max-width: 960px;
  margin: 16px auto 36px;
}

@media (min-width: 860px) {
  .pricing-cards-simple {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
  }
}

.price-card-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 20px 28px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

@media (min-width: 480px) {
  .price-card-box {
    padding: 36px 28px 32px;
  }
}

.price-card-box.highlight {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-xl);
  background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
}

.price-card-badge {
  display: inline-block;
  position: static;
  transform: none;
  background: linear-gradient(135deg, var(--coral) 0%, #c2410c 100%);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin: 0 auto 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(230, 81, 0, 0.25);
  white-space: nowrap;
}

.price-card-heading {
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.price-card-name {
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--primary);
}

.price-row-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border-color);
}

.price-row-item:last-child {
  border-bottom: none;
}

.price-label {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  flex-shrink: 0;
}

.price-val-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-left: auto;
  white-space: nowrap;
}

.price-val-strike {
  color: #94a3b8;
  text-decoration: line-through;
  font-size: 0.92rem;
  font-weight: 500;
}

.price-val-main {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.price-val-main.color-free {
  color: #15803d;
}

.price-val-main.color-accent {
  color: var(--coral);
}

.price-val-unit {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

.price-card-action {
  margin-top: 24px;
}

.btn-plan-full {
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-plan-regular {
  background: #ffffff;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-size: 1.12rem;
  font-weight: 800;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.btn-plan-regular:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.price-card-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}
@media (max-width: 480px) {
  .price-card-box {
    padding: 28px 16px 24px;
  }
  .price-row-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 0;
  }
  .price-label {
    font-size: 0.95rem;
  }
  .price-val-box {
    margin-left: 0;
    align-self: flex-end;
  }
  .price-val-main {
    font-size: 1.35rem;
  }
}


.pricing-notes-box {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 24px;
  max-width: 960px;
  margin: 0 auto 50px;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-muted);
  line-height: 1.8;
}

.pricing-notes-box strong {
  color: var(--text-main);
}

/* 受講に必要なもの（料金セクション内下部に配置） */
.requirements-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .requirements-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.req-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 26px 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.req-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.req-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.req-badge {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.badge-recommend {
  background: #e0f2fe;
  color: #0369a1;
}

.badge-custom {
  background: #fef3c7;
  color: #92400e;
}

.req-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   無料体験の流れ (Steps)
   ========================================================================== */
.steps-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.step-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-num-txt {
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
}

.step-num-val {
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.step-content h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1.4;
  white-space: nowrap;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   よくあるご質問 (FAQ Accordion)
   ========================================================================== */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-q-text {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-q-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

.faq-icon-arrow {
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  background-color: var(--bg-main);
  border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  border-top-color: var(--border-light);
  transition: max-height 0.4s ease-in-out;
}

.faq-answer-inner {
  padding: 20px 24px;
  font-size: 1.12rem;
  line-height: 1.9;
  color: var(--text-main);
  line-height: 1.8;
  display: flex;
  gap: 12px;
}

.faq-a-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ==========================================================================
   お申し込み・お問い合わせ (Contact & Application Form)
   ========================================================================== */
/* 共通案内ブロック（体験面談・AI先生試用・事前情報） */
.contact-common-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  max-width: 960px;
  margin: 0 auto 36px;
}

@media (min-width: 768px) {
  .contact-common-box {
    padding: 36px 40px;
  }
}

.contact-common-header {
  text-align: center;
  margin-bottom: 24px;
}

.contact-common-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 8px;
  margin-bottom: 8px;
}

.contact-common-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

.contact-common-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .contact-common-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-common-card {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.contact-common-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.contact-common-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-common-list li {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  position: relative;
  padding-left: 14px;
}

.contact-common-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.contact-method-intro {
  text-align: center;
  margin-bottom: 28px;
}

.contact-method-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.contact-method-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
}

.contact-method-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.badge-line {
  background: #dcfce7;
  color: #15803d;
}

.badge-web {
  background: #e0f2fe;
  color: #0369a1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card-line {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 2px solid var(--line-color);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.line-icon-large {
  width: 56px;
  height: 56px;
  color: var(--line-color);
  margin-bottom: 16px;
}

.contact-card-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-card-desc {
  font-size: 1.12rem;
  line-height: 1.85;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.btn-contact-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--line-color);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 16px rgba(6, 199, 85, 0.35);
  transition: var(--transition);
}

.btn-contact-line:hover {
  background-color: var(--line-hover);
  transform: translateY(-2px);
}

/* LINEカード内のAI先生お試しボックス */
.line-ai-feature-box {
  background: #f8fafc;
  border: 1px solid rgba(6, 199, 85, 0.35);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-top: 14px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.line-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.line-ai-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1.4;
}

.line-ai-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.line-ai-notice {
  background: #ffffff;
  border-left: 3px solid #f59e0b;
  border: 1px solid var(--border-color);
  border-left: 3px solid #f59e0b;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  line-height: 1.7;
  color: #475569;
  line-height: 1.65;
}

.line-ai-notice-title {
  display: block;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 4px;
  font-size: 1.02rem;
}

.line-ai-notice ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-form-wrap {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-required {
  display: inline-block;
  background: #fee2e2;
  color: #dc2626;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

.form-optional {
  display: inline-block;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-main);
  font-size: 1.05rem;
  color: var(--text-main);
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.form-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.2rem;
  padding: 18px 24px;
  padding: 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: var(--shadow-accent);
  transition: var(--transition);
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* ==========================================================================
   特定商取引法 & フッター
   ========================================================================== */
.tokusho-section {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}

.tokusho-table {
  width: 100%;
  border-collapse: collapse;
}

.tokusho-table th, .tokusho-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.82rem;
  line-height: 1.65;
}

@media (max-width: 640px) {
  .tokusho-section {
    padding: 24px 16px;
  }
  .tokusho-table,
  .tokusho-table tbody,
  .tokusho-table tr,
  .tokusho-table th,
  .tokusho-table td {
    display: block;
    width: 100%;
  }
  .tokusho-table tr {
    margin-bottom: 18px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
  }
  .tokusho-table th {
    background: var(--bg-alt);
    padding: 6px 10px;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--primary);
    border: none;
    border-radius: var(--radius-sm);
    text-align: left;
  }
  .tokusho-table td {
    padding: 8px 6px;
    font-size: 0.82rem;
    line-height: 1.6;
    border: none;
    word-break: break-word;
  }
}

.tokusho-table th {
  width: 28%;
  min-width: 130px;
  font-weight: 700;
  color: var(--primary);
  background: var(--bg-alt);
}

.tokusho-table td {
  color: var(--text-main);
  line-height: 1.7;
}

.site-footer {
  background: var(--primary-dark);
  color: #94a3b8;
  padding: 60px 0 30px;
  font-size: 1.02rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}



.footer-logo {
  height: 78px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-link {
  color: #cbd5e1;
}

.footer-link:hover {
  color: var(--accent-light);
}

.footer-bottom {
  text-align: center;
  font-size: 0.92rem;
  color: #64748b;
}

/* ==========================================================================
   固定フローティングCTA (Mobile Floating Bar)
   ========================================================================== */
.floating-bottom-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 999;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
}

@media (min-width: 992px) {
  .floating-bottom-cta {
    display: none;
  }
}

.floating-cta-info {
  line-height: 1.25;
}

.floating-cta-badge {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent);
}

.floating-cta-text {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
}

.floating-cta-btn {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
}

/* ==========================================================================
   モーダル (特定商取引法 / プライバシーポリシー)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  animation: modal-enter 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-enter {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.modal-close-btn {
  background: transparent;
  cursor: pointer;
  padding: 6px;
  color: var(--text-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--bg-alt);
  color: var(--text-main);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-main);
}


/* --- スマホ表示の最適化（文字見切れ防止・スクロールヒント） --- */
@media (max-width: 767px) {
  .hero-features-list {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-feature-item {
    align-items: flex-start;
    text-align: left;
    max-width: 330px;
    width: 100%;
    gap: 8px;
  }

  .hero-feature-item svg {
    margin-top: 3px;
    flex-shrink: 0;
  }

  .hero-feature-item span {
    text-align: left;
  }

  .section-title {
    font-size: clamp(2.15rem, 7.2vw, 2.38rem);
    line-height: 1.35;
  }

  .pillar-card {
    padding: 24px 16px;
  }

  .pillar-title {
    font-size: clamp(1.65rem, 6.6vw, 1.82rem);
    line-height: 1.38;
    letter-spacing: -0.01em;
  }

  .profile-content {
    padding: 24px 18px;
  }

  .profile-lead-title {
    font-size: clamp(1.25rem, 5.2vw, 1.4rem);
    line-height: 1.5;
  }

  .pain-card {
    padding: 22px 16px !important;
  }

  .pain-title {
    font-size: clamp(1.18rem, 4.8vw, 1.32rem) !important;
    line-height: 1.45;
  }

  .solution-bridge-box {
    padding: 22px 10px !important;
  }

  #about .solution-bridge-title {
    font-size: clamp(1.12rem, 4.6vw, 1.25rem) !important;
    line-height: 1.5;
  }

  

  

  .attr-item {
    font-size: 1.02rem;
  }

  .attr-label {
    min-width: 80px;
    font-size: 1.02rem;
  }

  .table-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    background: #f1f5f9;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    text-align: center;
  }
}

@media (min-width: 768px) {
  .table-scroll-hint {
    display: none;
  }
}

@media (max-width: 480px) {
  .btn-hero-primary,
  .btn-hero-line,
  .btn-plan-regular,
  .btn-contact-line,
  .form-submit-btn {
    font-size: 1.05rem !important;
    padding: 14px 16px !important;
    white-space: normal !important;
  }
}

.pricing-cards-simple > * {
  min-width: 0;
}

.price-card-box {
  min-width: 0;
  overflow: hidden;
}

.contact-grid > * {
  min-width: 0;
}

@media (max-width: 480px) {
  .contact-card-line,
  .contact-form-wrap {
    padding: 24px 16px !important;
  }
  .contact-card-line {
    border-radius: var(--radius-md) !important;
  }
}


.comparison-table td br {
  display: none !important;
}

.comparison-table td strong {
  display: block;
  font-size: 0.94rem;
  margin-bottom: 2px !important;
  line-height: 1.35;
}

.comparison-table small {
  display: block;
  font-size: 0.85rem;
  line-height: 1.35;
  margin-top: 0 !important;
}


/* ==========================================================================
   道場の想い 以降のフォントサイズ調整（1サイズ縮小・最低フォントサイズ維持）
   ========================================================================== */
/* Section titles unified to 1.85rem on mobile */

@media (min-width: 768px) {
  #about .section-title,
  #pricing-requirements .section-title,
  #faq .section-title,
  #contact .section-title,
  #tokusho .section-title {
    font-size: 2.35rem;
  }
}

#about .profile-lead-title {
  font-size: clamp(1.25rem, 5.2vw, 1.4rem);
}

#about .profile-body-text {
  font-size: 0.90rem;
}

#about .profile-attributes .attr-label {
  font-size: 0.92rem;
}

#about .profile-attributes .attr-desc {
  font-size: 0.88rem;
}

#about .pain-title {
  font-size: clamp(1.38rem, 5.6vw, 1.58rem);
}

#about .pain-text {
  font-size: 0.90rem;
}

#about .solution-bridge-title {
  font-size: clamp(1.12rem, 4.6vw, 1.25rem);
  letter-spacing: -0.01em;
}

#about .solution-bridge-desc {
  font-size: 0.90rem;
}

#pricing-requirements .price-card-name {
  font-size: 1.50rem;
}

#pricing-requirements .req-title {
  font-size: 1.15rem;
}

#pricing-requirements .req-desc {
  font-size: 0.92rem;
}

.step-content h4 {
  font-size: 1.42rem;
}

#faq .faq-q-text {
  font-size: 1.32rem;
}

#faq .faq-answer-inner {
  font-size: 0.95rem;
}

#contact .contact-card-title {
  font-size: 1.68rem;
}

#contact .contact-card-desc {
  font-size: 0.95rem;
}

.tokusho-table th, 
.tokusho-table td {
  font-size: 0.82rem;
}

#tokushoModal .modal-body,
#tokushoModal .modal-body p,
#tokushoModal .modal-body li {
  font-size: 0.82rem;
  line-height: 1.65;
}


/* ==========================================================================
   最下部フッター: ロゴの右側に文字が並ぶレイアウト
   ========================================================================== */
.footer-brand-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: left;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.footer-logo {
  height: 78px;
  width: auto;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand-sub {
  font-size: 0.88rem;
  color: #94a3b8;
  font-weight: 500;
  margin: 0;
}

.footer-brand-main {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 640px) {
  .footer-brand-wrap {
    flex-direction: row;
    text-align: left;
    gap: 14px;
    align-items: center;
  }
  .footer-logo {
    height: 57px;
  }
  .footer-brand-sub {
    font-size: 0.78rem;
  }
  .footer-brand-main {
    font-size: 0.82rem;
    line-height: 1.5;
  }
}

.kw-highlight {
  color: var(--accent-dark);
  font-weight: 800;
}

.pillar-tag strong {
  font-weight: 900;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .comparison-table-wrap {
    overflow-x: visible;
  }
  .comparison-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }
  .comparison-table th, 
  .comparison-table td {
    padding: 7px 6px;
    word-break: break-word;
    line-height: 1.35;
  }
  .comparison-table th {
    padding: 10px 6px;
  }
  .comparison-table td strong {
    font-size: 0.92rem;
    white-space: normal;
    display: block;
    margin-bottom: 2px;
  }
  .comparison-table small {
    font-size: 0.85rem;
    display: block;
    line-height: 1.35;
  }
}

/* 長期休暇・高校受験対策グリッド */
.vacation-exam-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .vacation-exam-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* スマホでも1行でスッキリ収めるための共通クラス */
.text-nowrap-mobile {
  white-space: nowrap;
}
@media (max-width: 430px) {
  .cycle-card-sub.text-nowrap-mobile {
    font-size: 0.95rem;
  }
  .pain-title.text-nowrap-mobile:not(.roadmap-title) {
    font-size: 1.05rem !important;
  }
  .roadmap-title {
    font-size: clamp(1.42rem, 6.0vw, 1.60rem) !important;
    white-space: nowrap;
    letter-spacing: -0.02em;
  }
}
@media (max-width: 480px) {
  .step-content h4 {
    font-size: clamp(1.08rem, 4.6vw, 1.22rem) !important;
    white-space: nowrap;
  }
}
