/* コース詳細のリストスタイル - 共通CSS */
.course-detail-text {
  font-size: 14px;
}

@media (min-width: 1024px) {
  .course-detail-text {
    font-size: 16px;
  }
}

.course-detail-text ul {
  list-style-type: disc;
  padding-left: 1.5em;
  margin: 0;
  line-height: 1.8;
}

.course-detail-text ol {
  list-style-type: decimal;
  padding-left: 1.5em;
  margin: 0;
  line-height: 1.8;
}

.course-detail-text li {
  margin-bottom: 0.4em;
  line-height: 1.8;
}

.course-detail-text li:last-child {
  margin-bottom: 0;
}

.course-detail-text p {
  margin-bottom: 1em;
  line-height: 1.8;
}

.course-detail-text p:last-child {
  margin-bottom: 0;
}

/* ネストされたリストのインデント */
.course-detail-text ul ul,
.course-detail-text ol ol,
.course-detail-text ul ol,
.course-detail-text ol ul {
  margin-top: 0.4em;
  margin-bottom: 0.4em;
}

/* アコーディオンスライドアニメーション */
.course-detail-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.course-detail-content.open {
  max-height: 2000px;
  overflow: hidden;
  transition: max-height 0.5s ease-in;
}
