/* about.html（ELAとは）のスタイル。
   元は about.html 内の <style> タグ1個。2026-08-26 に文言刷新へ合わせて
   ヒーローのCTA・価値カードの番号・はじめ方の3ステップを追加した。
   2026-08-27 に「ELAとは」への画面例の追加と、白背景で沈んでいた
   「はじめ方」「学びを始めましょう」の地色を変更した。 */

/* ===== ヒーロー ===== */
.about-hero {
  background: linear-gradient(135deg, #1a0000 0%, #4a0e0e 30%, #b91c1c 60%, #7f1d1d 100%);
  color: white;
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.about-hero h1 {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: 0.04em;
}
.about-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}

/* ヒーロー内のCTA。赤のグラデーション上に置くので、紺は白文字＋薄い縁で
   背景から浮かせ、もう一方は明るいグレーにして主従をはっきりさせる。 */
.about-hero .hero-cta {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;          /* 狭い画面では折り返す（横に潰さない） */
  margin-top: 1.75rem;
}
.about-hero .hero-cta a {
  display: inline-block;
  padding: 0.7rem 2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}
.about-hero .hero-cta a:hover { opacity: 0.88; }
.about-hero .hero-cta a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}
.btn-navy {
  background: #1e3a8a;
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-gray {
  background: #e5e7eb;
  color: #374151;
  border: 1.5px solid transparent;
}

/* ===== セクション共通 ===== */
.about-section {
  margin-bottom: 2.5rem;
}
.about-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.about-section p {
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== ELAとは（本文＋右に画面例） =====
   依頼: 右側1/4程度の幅にマイページの画面を入れる。
   3fr : 1fr ＝ 画像が全体の1/4。狭い画面では縦に積み、画像を先に見せない
   （文章が主で、画像は補足のため）。 */
.intro-layout {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 0.5rem;
}
@media (max-width: 768px) {
  .intro-layout { grid-template-columns: 1fr; }
  /* 積んだときは画像を本文の下へ */
  .intro-layout .intro-shot { order: 2; max-width: 420px; }
}
.intro-shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.intro-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.intro-shot figcaption {
  font-size: 0.7rem;
  line-height: 1.5;
  color: #9ca3af;
}

/* ===== 3つの価値カード ===== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}
@media (max-width: 768px) {
  .value-grid { grid-template-columns: 1fr; }
}
.value-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.value-card .value-num {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #b91c1c, #ef4444);
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.value-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #1f2937;
}
.value-card p {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}
.value-card .value-note {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: #9ca3af;
}

/* ===== 機能紹介 ===== */
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}
@media (max-width: 640px) {
  .feature-list { grid-template-columns: 1fr; }
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.feature-item .f-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #fef2f2;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}
.feature-item h4 {
  margin: 0 0 0.2rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1f2937;
}
.feature-item p {
  margin: 0;
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.6;
}

/* ===== はじめ方（3ステップ） =====
   番号に意味がある（上から順に踏む手順）ので、機能一覧の2列ではなく
   3列＝左から右に読ませる並びにする。 */
.step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}
@media (max-width: 768px) {
  .step-list { grid-template-columns: 1fr; }
}
.step-item {
  /* 白地に白いカードでは輪郭が出ず「とても見づらい」状態だった（2026-08-27 指摘）。
     手順は中立の情報なのでグレー、行動を促すCTAはブランド色、と役割で塗り分ける。 */
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-top: 3px solid var(--primary);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.step-item .step-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.step-item p {
  margin: 0;
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.7;
}

/* ===== CTA ===== */
.about-cta {
  /* #f9fafb はほぼ白で、白地のページに埋もれていた（2026-08-27 指摘）。
     ページ内で唯一「行動してほしい」場所なので、淡いブランド色で囲う。 */
  text-align: center;
  background: linear-gradient(135deg, #fdf2f2 0%, #fbe6e5 100%);
  border: 1px solid #f0c9c6;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  margin-top: 2.5rem;
}
.about-cta h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.5rem;
  border: none;
  display: block;
  padding: 0;
}
.about-cta p {
  color: #4b5563;   /* 淡い赤地に載るので、#6b7280 より少し濃くする */
  font-size: 0.92rem;
  margin: 0 0 1.25rem;
}
.about-cta .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.about-cta .cta-buttons a {
  display: inline-block;
  padding: 0.65rem 2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.about-cta .cta-buttons a:hover { opacity: 0.85; }
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-outline {
  background: white;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
