/* Base & Utility (mirai_style.cssベース) */
:root {
  --color-primary: #0ea5e9;
  --color-secondary: #fcd34d; /* yellow-400 equivalent */
  --color-accent: #ef4444; /* red-500 equivalent */
  --color-background: #f7f9fc;
  --color-text: #1f2937; /* gray-800 equivalent */
  --color-blue-600: #2563eb; /* blue-600 */
  --color-blue-500: #3b82f6; /* blue-500 */
  --color-sky: #0ea5e9;
}

body {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  background-color: var(--color-background);
  line-height: 1.7;
  color: var(--color-text);
  margin: 0;
}

.container {
  max-width: 1280px; /* max-w-7xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.text-center {
  text-align: center;
}

/* === Section Layout === */
.section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
/* @media (min-width: 768px) {
  .section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
} */

.section-heading {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  border-bottom: 4px solid #60a5fa; /* border-blue-400 */
  padding-bottom: 0.25rem;
  display: inline-block;
}
@media (min-width: 768px) {
  .section-heading {
    font-size: 2.25rem; /* md:text-4xl */
  }
}

.text-blue-600 {
  color: var(--color-primary);
  font-size: 1.5rem;
}

/* --- Buttons and CTA --- */
.cta-button {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-background);
  font-weight: 800;
  padding: 1rem 2.5rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}
.cta-button:hover {
  background-color: var(--color-blue-500);
  transform: scale(1.05);
}
.cta-button-lg {
  /* Heroセクション用 */
  padding: 1.5rem 3rem;
  font-size: 1.25rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
/* フォーム用ボタン */
.cta-button-end {
  padding: 1.5rem 3rem;
  font-size: 1.25rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  display: block;
  color: var(--color-background);
  background-color: var(--color-primary);
  border: none;
}
.cta-button-end:hover {
  background-color: var(--color-blue-500);
  transform: scale(1.05);
}

/* --- Header --- */
.header {
  background-color: var(--color-background);
  color: var(--color-primary);
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 800;
  letter-spacing: -0.025em;
}
.logo-link {
  text-decoration: none;
  color: inherit;
}
.header-cta {
  background-color: var(--color-primary);
  color: var(--color-background);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
  display: none;
  text-decoration: none;
}
.header-cta:hover {
  background-color: var(--color-blue-500);
}
@media (min-width: 640px) {
  .header-cta {
    display: inline-block;
  }
}

/* --- Hero (index.htmlのコンテンツ + mirai_styleのクラス名) --- */
.hero {
  background-color: #1f2937;
  color: white;
  padding: 3rem 1rem;
  text-align: center;
  border-bottom-left-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
  box-shadow: inset 0 -4px 6px rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) {
  .hero {
    padding: 6rem 1rem;
  }
}
.tagline {
  color: #38bdf8; /* sky-400 */
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.hero-title {
  font-size: 2.25rem; /* text-4xl */
  font-weight: 800;
  margin-bottom: 2rem;
  line-height: 1.25;
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem; /* md:text-6xl */
  }
}
.hero-title span {
  color: var(--color-sky);
}
.hero-subtext {
  font-size: 1rem; /* text-base */
  font-weight: 400;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .hero-subtext {
    font-size: 1.5rem; /* md:text-2xl */
  }
}
/* --- Pain Pointsセクションの解決メッセージを際立たせるスタイル --- */

/* 解決ボックスのコンテナスタイル */
.solution-box {
  margin-top: 3rem; /* 上のマージンを調整 */
  padding: 1.5rem;
  background-color: #e0f2fe; /* light-blue-100: 全体のテーマと調和する非常に薄い水色 */
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--color-blue-500); /* メインの青でボーダーを強調 */
  display: block; /* 常に幅全体を使う */
  max-width: 600px; /* 必要に応じて幅を制限 */
  margin-left: auto;
  margin-right: auto;
}

/* メッセージのテキストスタイル */
.solution-text {
  text-align: center;
  font-size: 1.25rem; /* text-xl */
  font-weight: 700; /* font-extrabold */
  color: var(--color-blue-600); /* 濃いめの青テキスト */
  margin: 0; /* 親要素のパディングを使うため、マージンをリセット */
  line-height: 1.5;
}
@media (min-width: 768px) {
  .solution-text {
    font-size: 1.5rem; /* md:text-2xl */
  }
}

/* --- Pain Points / Target / Strength (mirai_style.css) --- */
.pain-points-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .pain-points-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card-pain {
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-top-width: 4px;
}
.card-pain-1 {
  background-color: #fee2e2;
  border-color: #ef4444;
} /* red-50, red-500 */
.card-pain-2 {
  background-color: #ecfdf5;
  border-color: #10b981;
} /* green-50, green-500 */
.card-pain-3 {
  background-color: #fffbeb;
  border-color: #f59e0b;
} /* yellow-50, yellow-700 */

.card-pain h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.card-pain-1 h3,
.text-red-700 {
  color: #b91c1c;
} /* red-700 */
.card-pain-2 h3,
.text-green-700 {
  color: #047857;
} /* green-700 */
.card-pain-3 h3,
.text-yellow-700 {
  color: #d97706;
} /* yellow-700 */

/* Instructor Strength */
.section-strength {
  background-color: #eff6ff;
} /* blue-50 */
.strength-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}
@media (min-width: 768px) {
  .strength-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card-strength {
  padding: 1.5rem;
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}
.card-strength:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.card-strength i {
  font-size: 3rem; /* text-5xl */
  color: var(--color-blue-500);
  margin-bottom: 1rem;
}
.card-strength h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* --- Course Flow (mirai_style.css) --- */
.flow-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
}

/* モバイル表示時の矢印スタイル: 完全に非表示にする */
.flow-arrow {
  display: none;
}

/* Flow Step間のギャップを調整（モバイルで矢印のスペースを開けないように） */
/* ※ flow-containerのgap: 1.5rem がそのまま適用されます */

@media (min-width: 768px) {
  .flow-container {
    flex-direction: row;
    gap: 2rem; /* デスクトップでのステップ間の標準ギャップ */
  }

  /* デスクトップ表示時の矢印スタイル: 横向き矢印を表示 */
  .flow-arrow {
    display: flex; /* デスクトップでのみ表示 */
    align-items: center;
    width: auto;
    height: auto;
  }

  /* Font Awesomeのfa-arrow-rightをそのまま使用（transformなし） */
  .flow-arrow i {
    transform: none;
  }

  /* 強制ユニコードの上書きを解除し、HTMLで指定されたアイコンに戻す */
  .flow-arrow i::before {
    content: "\f061"; /* →アイコンのユニコード */
  }
}
.flow-step {
  flex: 1 1 0%;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  border-width: 2px;
  position: relative;
  font-size: 0.875rem; /* text-sm */
}
.flow-step-0 {
  background-color: #fffbeb; /* yellow-100 */
  border-color: #f59e0b; /* yellow-500 */
}
.flow-step-other {
  background-color: #eff6ff; /* blue-100 */
  border-color: var(--color-blue-500);
}
.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-blue-500);
  color: white;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.125rem;
}
.flow-step-0 .step-number {
  background-color: #f59e0b; /* yellow-500 */
}
.flow-step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  margin-top: 0.75rem;
}
.flow-step-0 h3 {
  color: #b45309;
} /* yellow-700 */
.flow-step-other h3 {
  color: var(--color-primary);
} /* blue-700 */

/* --- Pricing (mirai_style.cssをそのまま適用) --- */
.section-pricing {
  background-color: #f3f4f6;
} /* gray-100 */

/* planのサブタイトルを色で強調 */
.plan-catch-subtle {
  width: fit-content;
  color: darkslategray;
  font-weight: 700;
  border-bottom: solid 4px yellow;
}

.installment-highlight {
  background-color: #ffe0b2; /* Light orange background */
  color: #d84315; /* Dark orange text */
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: pulse 2s infinite;
  display: inline-block;
  margin-bottom: 3rem;
  font-size: 1.3rem;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
  max-width: 100%; /* 最大幅を調整 */
  margin-left: auto;
  margin-right: auto;
  margin-top: 4rem;
}
@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .pricing-grid-engineer {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background-color: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border-top-width: 8px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card.popular {
  transform: scale(1.05);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
/* --- Popular Badge Animation --- */

/* アニメーションの定義: badge-pulse */
/* 控えめな拡大・縮小を繰り返す */
@keyframes badge-pulse {
  0% {
    transform: rotate(3deg) scale(1);
    opacity: 1;
  }
  50% {
    transform: rotate(3deg) scale(1.05); /* 5%拡大 */
    opacity: 0.95;
  }
  100% {
    transform: rotate(3deg) scale(1);
    opacity: 1;
  }
}

/* popular-badge クラスの配置を調整 */
.popular-badge {
  position: absolute;
  top: -15px;
  /* ★★★ 修正箇所: right: -15px に戻すことで、右端から外側へ強く寄せる ★★★ */
  right: -15px;

  background-color: #dc2626; /* red-600 */
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* 回転を維持 */
  transform: rotate(3deg);

  /* ★★★ アニメーションの適用 ★★★ */
  animation: badge-pulse 2s infinite ease-in-out;
}
.plan-header-green {
  border-color: #10b981;
} /* green-500 */
.plan-header-blue {
  border-color: var(--color-blue-500);
} /* blue-500 */
.plan-header-red {
  border-color: var(--color-accent);
} /* red-500 */
.plan-header-purple {
  border-color: #9333ea;
} /* purple-500 */
.plan-header-engineer-blue {
  border-color: #1d4ed8;
} /* blue-600 */
.plan-header-engineer-red {
  border-color: #dc2626;
} /* red-600 */

/* プランタイトルの色とサイズを修正 */
.plan-title-green {
  color: #10b981;
  font-size: 1.5rem; /* 1.5rem から拡大 */
  font-weight: 700;
  display: block; /* spanからブロックに変更し、サイズとマージンを適用 */
  margin-bottom: 0.5rem;
}
.plan-title-blue {
  color: var(--color-blue-500);
  font-size: 1.5rem; /* 拡大 */
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}
.plan-title-red {
  color: var(--color-accent);
  font-size: 1.5rem; /* 拡大 */
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}
.plan-title-purple {
  color: #9333ea;
  font-size: 1.5rem; /* 拡大 */
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}
.plan-title-engineer-blue {
  color: #1d4ed8;
  font-size: 1.5rem; /* 拡大 */
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}
.plan-title-engineer-red {
  color: #dc2626;
  font-size: 1.5rem; /* 拡大 */
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

/* --- Comparison Table Styles (新規追加) --- */

.comparison-section {
  background-color: #ffffff; /* 白背景で際立たせる */
}

/* モバイルでの横スクロールを可能にするラッパー */
.comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto;
  max-width: 100%;
}

.comparison-table {
  width: 100%;
  min-width: 600px; /* モバイルで崩れないように最小幅を設定 */
  border-collapse: separate; /* ボーダーの間隔を空けるため */
  border-spacing: 0 10px; /* 行間にスペース */
  margin: 1.5rem auto;
  font-size: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem; /* 全体を角丸に */
  overflow: hidden; /* 角丸からはみ出さないように */
}
.scroll-hint {
  text-align: right;
  margin-top: -10px; /* テーブルに少し重ねる */
  color: var(--color-blue-500);
  font-size: 0.875rem;
  font-weight: 700;
  display: none; /* デフォルトは非表示 */
}
.scroll-hint i {
  margin-left: 0.5rem;
  animation: side-scroll-bounce 1.5s infinite; /* アニメーション適用 */
}
@media (max-width: 768px) {
  .scroll-hint {
    display: block; /* モバイルでのみ表示 */
  }
}
@keyframes side-scroll-bounce {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

/* ヘッダー行 */
.comparison-header {
  background-color: var(--color-blue-600);
  color: white;
  font-weight: 700;
  text-align: center;
}
.comparison-header th {
  padding: 1rem 0.5rem;
  border: none;
  font-size: 1.125rem;
}
.comparison-header th:first-child {
  text-align: left;
}

/* データ行 */
.comparison-row {
  background-color: #f9fafb; /* gray-50 */
  transition: background-color 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); /* 行ごとの影 */
}
.comparison-row:hover {
  background-color: #eff6ff; /* blue-50 */
}

.comparison-row td {
  padding: 1rem 0.5rem;
  border: none; /* デフォルトのテーブルボーダーを無効化 */
  border-bottom: 1px solid #e5e7eb; /* 行の下線 */
  vertical-align: middle;
}

/* 項目名（ラベル）列 */
.label-column {
  background-color: #f3f4f6; /* gray-100 */
  font-weight: 700;
  color: var(--color-text);
  padding-left: 1.5rem !important;
  width: 30%; /* 幅を固定 */
}

/* 当スクール（ハイライト）列 */
.highlight-column {
  background-color: #e0f2fe; /* light-blue-100 */
  font-weight: 600;
  color: var(--color-blue-600);
  text-align: center;
}

/* 価格の部分だけ特別に装飾 */
.highlight-column.price-value {
  background-color: #fffff0; /* yellow-50 */
  color: var(--color-accent); /* red-500 */
}
.highlight-column.price-value .font-extrabold {
  font-size: 1.875rem; /* text-3xl */
  color: #dc2626; /* red-600 */
}

/* プランの価格 (font-size: 2.25rem) は変更なし */
.plan-price {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.plan-price {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.plan-price-span {
  font-size: 1rem;
  font-weight: 400;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  padding-top: 1rem;
}
.plan-features li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
}
.plan-features i {
  margin-right: 0.5rem;
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.plan-features-green i {
  color: #10b981;
}
.plan-features-blue i {
  color: var(--color-blue-500);
}
.plan-features-red i {
  color: var(--color-accent);
}
.plan-features-purple i {
  color: #9333ea;
}
.plan-features-engineer-blue i {
  color: #1d4ed8;
}
.plan-features-engineer-red i {
  color: #dc2626;
}

.plan-button {
  /* width: 100%; */
  text-align: center;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-weight: 700;
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: auto;
  text-decoration: none;
  display: block;
  color: white;
}
.plan-button-green {
  background-color: #10b981;
}
.plan-button-green:hover {
  background-color: #059669;
}
.plan-button-blue {
  background-color: var(--color-blue-500);
}
.plan-button-blue:hover {
  background-color: var(--color-blue-600);
}
.plan-button-red {
  background-color: var(--color-accent);
}
.plan-button-red:hover {
  background-color: #dc2626;
}
.plan-button-purple {
  background-color: #9333ea;
}
.plan-button-purple:hover {
  background-color: #7c3aed;
}
.plan-button-engineer-blue {
  background-color: #1d4ed8;
}
.plan-button-engineer-blue:hover {
  background-color: #1e40af;
}
.plan-button-engineer-red {
  background-color: #dc2626;
}
.plan-button-engineer-red:hover {
  background-color: #b91c1c;
}

/* --- Early Bird Offer (mirai_style.css) --- */
.section-early-bird {
  background-color: #fff7ed;
} /* yellow-50 */
.offer-heading {
  color: #dc2626;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.offer-subheading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4b5563;
  margin-bottom: 2.5rem;
  border-bottom: 4px solid #fca5a5;
  padding-bottom: 0.25rem;
  display: inline-block;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: left;
}
@media (min-width: 768px) {
  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.offer-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--color-accent); /* red-500 */
}
.offer-card p:first-child {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}
.offer-card span {
  font-size: 2.25rem;
}

.referral-box {
  margin-top: 3rem;
  padding: 1.5rem;
  background-color: #fee2e2; /* red-100 */
  border-radius: 0.75rem;
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  display: inline-block;
}
.referral-box p:first-child {
  font-size: 1.5rem;
  font-weight: 700;
  color: #b91c1c;
} /* red-700 */
.referral-box p:last-child {
  font-size: 1.125rem;
  color: #dc2626;
  margin-top: 0.5rem;
} /* red-600 */

/* --- Reservation Form (mirai_style.css) --- */
.reservation-form {
  background-color: #f9fafb; /* gray-50 */
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-top: 4px solid var(--color-blue-500);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  color: #374151;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.form-label span {
  color: var(--color-accent);
}
.form-input,
.form-textarea {
  width: 90%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db; /* gray-300 */
  border-radius: 0.5rem;
  transition: all 0.2s;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-blue-500);
  box-shadow: 0 0 0 2px var(--color-blue-500);
}
.form-textarea {
  resize: vertical;
}

.message-box {
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.message-box.hidden {
  display: none;
}
/* JavaScriptで動的に追加されるクラス (index.htmlのスタイルを流用) */
.message-box.bg-green-100 {
  background-color: #d1fae5;
  color: #065f46;
}
.message-box.bg-red-100 {
  background-color: #fee2e2;
  color: #991b1b;
}

/* --- Footer (mirai_style.css) --- */
.footer {
  background-color: #1f2937; /* gray-800 */
  color: white;
  padding: 1rem 0;
  text-align: center;
}
.footer h4 {
  font-size: 1.5rem;
  font-weight: 700;
  /* margin-bottom: 1rem; */
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.social-icon {
  display: block;
  width: 1.75rem; /* モバイルでもタップしやすいサイズに */
  height: 1.75rem;
  transition: opacity 0.3s ease;
}
.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.social-icon:hover {
  opacity: 0.8;
}
.footer-copyright {
  font-size: 0.875rem; /* text-sm */
  color: #6b7280; /* gray-500 */
  padding-top: 1rem;
}

/* --- Modal Styles (mirai_style.css) --- */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  max-width: 90%;
  width: 400px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.modal-content h3 {
  color: var(--color-text);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.modal-content p {
  color: #4b5563;
  margin-bottom: 1.5rem;
}
.modal-button {
  padding: 0.5rem 1.5rem;
  background-color: var(--color-blue-500);
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  transition: background-color 0.3s;
}
.modal-button:hover {
  background-color: var(--color-blue-600);
}

/* style.css の末尾に追加・修正 */

/* --- 詳細カリキュラム (Simple List) スタイル - 最終デザイン適用 --- */

.simple-curriculum-list {
  max-width: 900px;
  margin: 2rem auto;
  /* 画像のデザインに合わせ、リスト全体をカード化 */
  padding: 0 1rem;
  background-color: white; /* 白背景 */
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* 影を追加 */
}

.curriculum-item-simple {
  display: flex;
  margin-bottom: 0;
  padding: 2rem 0; /* 上下のパディングで項目間の間隔を確保 */
  border-bottom: 1px solid #e5e7eb; /* 項目間の区切り線 */
}
.curriculum-item-simple:last-child {
  border-bottom: none;
}

.item-header-simple {
  width: 30%;
  flex-shrink: 0;
  padding-right: 2rem;
  text-align: left;
}

/* タイトルフォントと色 */
.item-title-blue {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.item-title-red {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent); /* Red Color */
  margin-bottom: 0.25rem;
}

.item-subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  color: #4b5563; /* gray-600 */
}

/* 詳細エリア */
.item-details-simple {
  width: 60%;
  padding-left: 2rem;
  /* 画像の控えめな縦線 */
  border-left: 1px solid #d1d5db;
}

/* リストアイテムのスタイル調整 */
.item-details-simple ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.item-details-simple ul li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  padding-left: 1rem;
  position: relative;
}

/* カスタムのリストスタイル (点) の基本設定 */
.item-details-simple ul li::before {
  content: "・";
  position: absolute;
  left: 0;
  font-weight: 700;
  /* デフォルトの青い点 (1ヶ月目以降) */
  color: var(--color-blue-500);
}

/* --- 色の調整 (縦線と点の色の連動) --- */

/* 事前ヒアリング (赤) */
.curriculum-item-simple:first-child .item-details-simple {
  border-left: 4px solid var(--color-accent); /* 太い赤線 */
}
.curriculum-item-simple:first-child .item-details-simple ul li::before {
  color: var(--color-accent); /* 赤い点 */
}

/* 1ヶ月目以降 (青) */
.curriculum-item-simple:not(:first-child) .item-details-simple {
  border-left: 4px solid var(--color-primary); /* 太い青線 */
}
.curriculum-item-simple:not(:first-child) .item-details-simple ul li::before {
  color: var(--color-blue-500); /* 青い点 */
}

/* --- レスポンシブ調整 (Simple List) --- */

@media (max-width: 768px) {
  .curriculum-item-simple {
    flex-direction: column;
    padding: 1rem 0;
    margin-bottom: 1rem;
  }

  .item-header-simple {
    width: 100%;
    padding-right: 0;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e7eb; /* モバイルで項目名の下に線を引く */
  }

  .item-details-simple {
    width: 100%;
    padding-left: 0;
    border-left: none !important; /* モバイルでは縦線を完全に非表示 */
    padding-top: 0.75rem;
  }
}
.color-sky {
  color: var(--color-sky);
}
.sub-title {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
