body {
  background-color: #f8f9fa;
}

/* タイトルのスタイリング調整 */
.epapp-title h1 {
  text-align: center;
  color: #b7282e; /* 文字色を設定 */
  margin-top: 60px;
  margin-bottom: 60px;
  font-weight: 700;
  font-size: clamp(22.4px, calc(18.04px + 0.7273vw), 32px);
  line-height: 1.2;
}

.ep-intro {
  display: flex;
  flex-direction: column; /* これにより子要素が縦並びになる */
  color: #444; 
  margin: 0px auto; /* This sets both top margin and auto left-right margins */
  max-width: 1200px; /* 最大幅を設定して、大画面では中央にコンテンツが集まるように */
  width: 100%; /* Ensures the section stretches full width on smaller screens */
  padding: 40px 20px; /* 全体的なパディングを設定 */
  background-color: #fff; /* 背景色を白に設定 */
}

/* ヒーローセクション */
.ep-hero {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 40px;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
}

.ep-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #b7282e 0%, #c41e3a 50%, #b7282e 100%);
  border-radius: 8px 8px 0 0;
}

.ep-lead {
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  line-height: 1.6;
  color: #333;
  margin: 0;
  font-weight: 500;
}

/* 特徴カード */
.ep-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.ep-feature-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
}

.ep-feature-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #b7282e 0%, #c41e3a 100%);
  border-radius: 0px 0 0 0px;
}

.ep-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: #b7282e;
}

.ep-feature-icon {
  font-size: 3em;
  text-align: center;
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ep-feature-icon img {
  max-width: 64px;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ep-feature-card h3 {
  color: #b7282e;
  font-size: 1.4em;
  margin: 0 0 15px 0;
  text-align: center;
  font-weight: 600;
}

.ep-feature-card p {
  color: #555;
  line-height: 1.6;
  margin: 0;
  font-size: clamp(0.85rem, 1.8vw, 1rem);
}

/* CTAセクション */
.ep-cta {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #333;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #dee2e6;
  margin-bottom: 60px;
}

.ep-cta p {
  margin: 0;
  font-size: 1.1em;
  font-weight: 500;
}

.ep-cta-link {
  color: #b7282e;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.ep-cta-link:hover {
  color: #c41e3a;
}

.ep-intro ul {
  padding-left: 30px; /* 左側にパディングを追加してインデントをつける */
  margin-top: 10px; /* 上部のマージンを調整 */
  margin-bottom: 10px; /* 下部のマージンを調整 */
}

.ep-intro li {
  margin-bottom: 5px; /* リストアイテムの間隔を設定 */
}

.ep-intro ul {
  color: #333; /* 記事の本文と同じ色をリストに適用 */
}

.ep-intro ul li {
  color: inherit; /* 親要素（ここではul）の色を継承 */
}

/* リンクに特定のスタイルが適用されている場合、以下も追加 */
.ep-intro ul li a {
  color: inherit; /* リンクもリストと同じ色を継承 */
  text-decoration: none; /* アンダーラインを消す場合 */
}

/* ホバー時のリンクの色変更 */
.ep-intro ul li a:hover {
  color: #666; /* ホバー時は少し色を変える */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .epapp-title h1 {
    margin-top: 40px;
  }

  .ep-intro {
    padding: 20px 15px;
  }

  .ep-hero {
    padding: 25px;
  }

  .ep-lead {
  }

  .ep-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ep-feature-card {
    padding: 20px;
  }

  .ep-feature-card h3 {
    font-size: 1.2em;
  }

  .ep-cta {
    padding: 20px;
  }

  .ep-cta p {
    font-size: 1em;
  }
}
