/* 基本設定 */
:root {
  --primary-color: #007bff;
  --text-color: #495057;
  --bg-light: #f8f9fa;
  --border-color: #dee2e6;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  background-color: var(--bg-light);
  color: var(--text-color);
}

.container {
  max-width: 960px;
  /* 少しスリムにして読みやすく */
  margin: 0 auto;
  background-color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
  /* 角丸を維持 */
}

/* ヘッダー */
.hero {
  background: linear-gradient(45deg, var(--primary-color), #0056b3);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.4rem;
  margin-top: 15px;
  opacity: 0.9;
}

.hero .btn-lg {
  margin-top: 30px;
  padding: 15px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero .btn-lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}


/* セクション共通 */
section {
  padding: 40px 30px;
  border-bottom: 1px solid var(--border-color);
}

section:last-of-type {
  border-bottom: none;
}

section h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #343a40;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 10px auto 0;
}


/* 悩みセクション */
.problems-section {
  background-color: #fffaf0;
}

.problems-list {
  list-style: none;
  padding-left: 0;
  max-width: 600px;
  margin: 0 auto;
}

.problems-list li {
  background: white;
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--primary-color);
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 500;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.problems-list .fa-check {
  color: var(--primary-color);
  margin-right: 10px;
}


/* 講師紹介 */
.instructor-profile {
  display: flex;
  align-items: center;
  gap: 30px;
}

.instructor-photo {
  width: 90px;
  /* 半分のサイズに */
  height: 90px;
  /* 半分のサイズに */
  border-radius: 50%;
  background-color: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* 画像がはみ出さないように */
  flex-shrink: 0;
}

.instructor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 画像が中央に収まるように */
  /* border-radius: 50%; */
  /* 親要素の角丸を維持 */
}

.instructor-photo .fa-user {
  /* フォールバックアイコンのサイズも調整 */
  font-size: 2.5rem;
  color: #adb5bd;
}

.instructor-bio h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.instructor-bio p {
  font-size: 1rem;
  line-height: 1.9;
}


/* カリキュラム (アコーディオン) */
.accordion-button {
  font-size: 1.2rem;
  font-weight: bold;
}

.accordion-body ul,
.accordion-body ol {
  padding-left: 20px;
}


/* 参加者の声 */
#testimonials .card {
  margin-bottom: 20px;
  border: none;
  border-left: 5px solid var(--primary-color);
  background-color: #f8f9fa;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.testimonial-author .fa-user-circle {
  font-size: 2.5rem;
  color: #adb5bd;
  margin-right: 15px;
}

.testimonial-author span {
  font-weight: bold;
  color: #343a40;
}


/* 申し込みボタン */
.apply-block {
  text-align: center;
  padding: 40px 20px;
  background-color: #f8f9fa;
}

.apply-block p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.btn-apply {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

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

footer p {
  margin: 0;
  font-size: 0.9rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  section {
    padding: 30px 15px;
  }

  section h2 {
    font-size: 1.8rem;
  }

  .instructor-profile {
    flex-direction: column;
    text-align: center;
  }
}