/* ========== Courses Page Specific ========== */

.courses-block {
  margin-bottom: 48px;
}

.courses-subtitle {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--main-color);
}

.courses-subjects {
  margin: 12px 0 8px;
}

.courses-note {
  font-size: 14px;
  color: #666;
  margin-top: 4px;
}

.course-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--main-color);
}

.course-price {
  font-size: 16px;
  margin: 8px 0;
}

.course-price span {
  font-weight: bold;
  color: var(--main-color);
}

.course-details {
  list-style: disc;
  padding-left: 20px;
  font-size: 15px;
  color: #444;
}

.model-schedule {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 16px;
}

.schedule-card {
  background-color: #f2f9fc;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.schedule-card h3 {
  font-size: 18px;
  color: var(--main-color);
  font-weight: bold;
  margin-bottom: 12px;
}

.schedule-card .course-details {
  list-style: disc;
  padding-left: 20px;
  color: #444;
  font-size: 15px;
  line-height: 1.7;
}

.math-j {
  border-color: #007bff;
}

.japanese-j {
  border-color: #ff82c6;
}
.social-j {
  border-color: #4cd964;
}
.science-j {
  border-color: #ffd93b;
}

.nowrap {
  white-space: nowrap;
}

.text-left {
  text-align: left;
}

.mb-16 {
  margin-bottom: 16px;
}

.j-image {
  margin: 0 auto;
}

.j-table {
  display: block;
  margin-bottom: 16px;
}

.j-text-title {
  font-weight: bold;
}

/* ========== Responsive ========== */
@media (min-width: 768px) {
  .model-schedule {
    grid-template-columns: 1fr 1fr;
  }
  .j-image {
    margin: 0;
  }
  .j-table {
    display: flex;
    justify-content: space-between;
    max-width: 760px;
  }
}
