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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI',
    'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* 共通要素 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 50px; /* 角を丸く */
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center; /* ボタン内のテキストを中央寄せ */
}

.btn-primary {
  background-color: #4a90e2;
  color: white;
}

.btn-primary:hover {
  background-color: #357abd;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: #2c2c2c;
  color: white;
}

.btn-secondary:hover {
  background-color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-small {
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 30px;
  text-align: center; /* ボタン内のテキストを中央寄せ */
}

.text-highlight {
  color: #ff6b35; /* 強調色はオレンジに */
  font-weight: bold;
}

/* ヘッダー・ヒーローセクション */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e3a5f 0%, #2c3e50 100%);
  /* --- 修正: ヒーロー背景画像を反映 --- */
  /* この画像パスが、お客様のローカル環境のファイルを参照しています */
  background-image: url('../img/seminor-bg.png');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* 背景画像を保護するための濃いオーバーレイ */
  background: rgba(30, 58, 95, 0.75);
  z-index: 0;
}

.logo {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: white;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: 1;
}

.hero-content {
  max-width: 900px;
  z-index: 1;
}

.hero .catchphrase {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffd700;
  letter-spacing: 2px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.hero .subtitle {
  font-size: 1.8rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.hero-intro {
  font-size: 1.2rem;
  margin-bottom: 50px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}


/* 第1回講義セクション */
.lecture-section {
  padding: 100px 20px;
  background: white;
}

.lecture-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; /* ギャップを広げる */
  align-items: center;
}

.lecture-info {
  padding: 0;
}

.tag {
  display: inline-block;
  background-color: #FCAF17;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.lecture-info h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

.lecture-info h3 {
  font-size: 1.8rem;
  color: #34495e;
  margin-bottom: 30px;
  line-height: 1.4;
  border-bottom: 3px solid #f0f0f0;
  padding-bottom: 15px;
}

.lecture-details {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.8;
}

.lecture-details p {
    margin-bottom: 10px;
}

.lecture-details strong {
  color: #2c3e50;
  display: inline-block;
  width: 90px;
  font-weight: bold;
}

/* --- 講師情報デザイン修正 --- */
.lecture-visual {
  position: relative;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.speaker-profile-card {
  position: relative;
  width: 100%;
  height: 100%;
  background: #f4f7f6; /* 背景を薄いグレーに変更 */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.speaker-image {
  /* 画像の上部70%を占める */
  width: 100%;
  height: 70%;
  background: url('../img/kurayama-mitsuru.jpg') center top / cover no-repeat;
  /* 画像が上に配置され、顔が中央に来るように調整 */
  border-radius: 15px 15px 0 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  /* 視覚的な干渉を避けるため、画像のみで構成 */
}

.speaker-info-text {
  /* 情報の下部30%を占める */
  height: 30%;
  padding: 20px 30px;
  background-color: #1e3a5f; /* ネイビーの背景色で情報を目立たせる */
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.speaker-info-text h4 {
  font-size: 0.9rem;
  color: #ffd700; /* ゴールドでタイトルを強調 */
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.speaker-info-text h3 {
  font-size: 1.8rem;
  margin-bottom: 5px;
  line-height: 1.2;
}

.speaker-info-text p {
  font-size: 1rem;
  opacity: 0.8;
}
/* --- 以前のspeaker-image, visual-box, blue-box, orange-boxのスタイルは削除/上書きされました --- */


/* スケジュールセクション */
.schedule-section {
  padding: 100px 20px;
  background: #f4f7f6; /* 薄いグレーの背景 */
  color: #333;
  position: relative;
  overflow: hidden;
}

/* --- 修正: スケジュール背景画像を反映 --- */
.schedule-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/schedule-bg.svg') center/cover no-repeat;
  opacity: 0.2;
  z-index: 0;
}

.schedule-content {
  position: relative;
  z-index: 1;
  background: white; /* 白い背景に戻す */
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  color: #333;
}

.schedule-content h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 40px;
  text-align: center;
}

.schedule-list {
  list-style: none;
}

.schedule-item {
  padding: 25px;
  margin-bottom: 20px;
  background: #f8f9fa;
  border-left: 5px solid #4a90e2;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.schedule-item:hover {
  background: #e9ecef;
}

.schedule-item h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

.schedule-item p {
  color: #555;
  margin-bottom: 5px;
}

.schedule-item strong {
  font-weight: bold;
  color: #2c3e50;
}

.schedule-item .note {
  color: #888;
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 5px;
}

.schedule-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #888;
}

/* アカデミーシリーズセクション */
.academy-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #4a90e2 0%, #667eea 100%); /* ブルー系のグラデーションに変更 */
  color: white;
  position: relative;
  overflow: hidden;
}

.academy-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  z-index: 0;
}

.academy-content {
  position: relative;
  z-index: 1;
}

.academy-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.academy-content p {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 60px;
  opacity: 0.9;
}

.academy-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.15); /* 背景色を濃く */
  border-radius: 15px; /* 角を丸く */
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-image {
  width: 80px;
  height: 80px;
  background: #ff6b35; /* オレンジ色に */
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.feature-card h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

/* 価格・申し込みセクション (新規追加) */
.pricing-section {
  padding: 100px 20px;
  background: #f4f7f6;
  text-align: center;
}

.pricing-section h2 {
  font-size: 3rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

.pricing-subtext {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 60px;
}

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.price-card {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 350px;
  position: relative;
  transition: transform 0.3s ease;
}

.price-card.recommended {
  border: 4px solid #ff6b35;
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.price-card.recommended:hover {
  transform: scale(1.08);
}

.badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #ff6b35;
  color: white;
  padding: 5px 20px;
  border-radius: 0 15px 0 15px;
  font-weight: bold;
}

.price-card h3 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 20px;
  border-bottom: 1px dashed #ddd;
  padding-bottom: 10px;
}

.price {
  font-size: 3.5rem;
  font-weight: bold;
  color: #4a90e2;
  margin-bottom: 10px;
}

.yen {
  font-size: 1.5rem;
  vertical-align: top;
  margin-right: 5px;
}

.tax {
  font-size: 1rem;
  font-weight: normal;
  color: #555;
}

.discount-note {
  font-size: 1rem;
  color: #555; /* discount-noteの色を修正 */
  margin-bottom: 30px;
}

/* シリーズCTAのスタイルを追加 */
.series-cta {
  margin-top: 40px;
  font-size: 1rem;
  color: #555;
}

.series-cta a {
    color: #4a90e2;
    font-weight: bold;
    text-decoration: underline;
}

.price-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 40px;
}

.price-card ul li {
  padding: 10px 0;
  color: #555;
  border-bottom: 1px dotted #eee;
  font-size: 1.1rem;
}

.price-card ul li:last-child {
  border-bottom: none;
}


/* 勉強会についてセクション */
.about-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #FCAF17 0%, #FCAF17 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

/* 背景の装飾は維持 */

.about-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-align: center;
}

.about-text {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 10px;
  color: #333;
  font-size: 1.1rem;
  line-height: 2; /* 行間を広くして読みやすく */
}

/* 連絡先セクション */
.contact-section {
  padding: 100px 20px;
  background: #2c3e50; /* 単色に変更してシンプルに */
  color: white;
  position: relative;
}

/* --- 修正: 連絡先背景画像を反映 --- */
.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/contact-bg.svg') center/cover no-repeat;
  opacity: 0.5;
  z-index: 0;
}

.contact-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.contact-content h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.contact-subtext {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 50px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
  text-align: left; /* テキストを左寄せに戻す */
}

.contact-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  transition: background 0.3s ease;
  text-align: center; /* 追加: contact-item内のテキストを中央揃えに */
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.2);
}

.contact-item h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #ffd700;
}

.contact-item p {
  font-size: 1rem;
  line-height: 1.6;
}

.contact-cta {
  text-align: center; /* 中央寄せに戻す */
  margin-top: 50px;
}

/* フッター */
footer {
  background: #1a1a1a;
  color: white;
  text-align: center;
  padding: 30px 20px;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .lecture-content {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .subtitle {
    font-size: 1.5rem;
  }

  .hero-intro {
    font-size: 1rem;
    padding: 0 10px;
  }

  .lecture-content {
    grid-template-columns: 1fr;
  }

  .lecture-visual {
    height: 350px;
  }

  .speaker-profile-card {
    height: 350px;
  }

  .speaker-image {
    height: 60%; /* 画像比率を調整 */
  }

  .speaker-info-text {
    height: 40%;
  }

  .speaker-info-text h3 {
    font-size: 1.5rem;
  }

  /* 修正1: ヒーローセクションのボタンを中央寄せかつ幅いっぱいに */
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center; /* ボタンのコンテナを中央寄せ */
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  /* 修正2: 第1回講義のボタン（.btn-small）を中央寄せにするためのラッパー */
  .lecture-info a.btn-small {
      display: block; /* aタグをブロック要素にして、margin: autoが効くようにする */
      margin-left: auto;
      margin-right: auto;
      max-width: 300px; /* 必要に応じて幅を制限 */
  }

  /* 修正3: 価格表示 (税込) の崩れを修正 */
  .pricing-section .price {
    display: block; /* 価格全体をブロック要素にし、縦に配置 */
    font-size: 3rem; /* 文字を少し小さく */
  }

  .pricing-section .tax {
    display: block; /* (税込)を価格の真下に移動 */
    font-size: 0.9rem;
    margin-top: -5px; /* 上の価格と少し詰める */
  }

  /* contact-infoのtext-alignをリセットし、contact-itemに中央寄せを適用 */
  .contact-info {
    text-align: center;
  }
  .contact-item {
    text-align: center;
  }

  .academy-features {
    grid-template-columns: 1fr;
  }

  .pricing-cards {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .price-card.recommended {
    transform: scale(1.02);
  }

  .price-card.recommended:hover {
    transform: scale(1.05);
  }

  .contact-info {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

/* スクロールアニメーション */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease-out;
}