/* タイムライン */
.timeline {
  position: relative;
  padding-left: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  height: 100%;
  background-color: #bfbfbf;
}

.timeline-item {
  position: relative;
  padding-left: 110px;
  margin-bottom: 50px;
}
.item-center {
  padding-top: 5px;
}

/* 月のアイコン */
.month-circle {
  position: absolute;
  left: 0;
  top: 0;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  z-index: 2;
}

.month-circle.april {
  background-color: #acd598;
}
.month-circle.may {
  background-color: #89c9ba;
}
.month-circle.june {
  background-color: #6898c5;
}
.month-circle.july {
  background-color: #5d8bc7;
}
.month-circle.september {
  background-color: #a47eb7;
}
.month-circle.october {
  background-color: #ad8c5d;
}
.month-circle.november {
  background-color: #876b5f;
}
.month-circle.december {
  background-color: #d0849a;
}
.month-circle.january {
  background-color: #dcaab8;
}
.month-circle.february {
  background-color: #c7aad0;
}
.month-circle.march {
  background-color: #edb8d8;
}

/* イベントカード */
.events-list {
  margin-top: 15px;
}

.event-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 5px;
  gap: 10px;
}

.event-type {
  width: 60px;
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.event-name {
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}

/* 中等部と高等部の区別 */
.event-name .school-level {
  font-size: 12px;
  color: #000;
  margin-left: 5px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .timeline-item {
    padding-left: 70px;
  }
  .timeline::before {
    width: calc(3 * (100vw / 780));
    left: calc(52 * (100vw / 780));
  }

  .month-circle {
    width: 50px;
    height: 50px;
    font-size: 14px;
  }

  .event-name {
    font-size: 14px;
  }
}
