.page-hoiku .menu-sticky {
  width: 0px;
  margin-right: 40px;
}

.page-hoiku .info-tab1 {
  width: 100%;
}

.page-hoiku .schedule-row {
  display: flex;               /* 横並びにする例 */
  padding: 20px;
  margin-bottom: 20px;
  align-items: flex-start;

  p{
    font-size: 20px;
    font-weight: bold;
  }

  li{
    font-size: 20px;
    font-weight: bold;
  }
}

.page-hoiku .schedule-18-oya {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hoiku .schedule-row .schedule-18{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-hoiku .schedule-row .schedule-time p{
  font-size: 16px;
  margin-bottom: 0;
  color: #fff;
}

.page-hoiku .schedule-row .schedule-content p{
  margin-bottom: 0;
}

.page-hoiku .schedule-row .schedule-content .schedule-text-small{
  font-size: 14px;
}

.page-hoiku .schedule-time-bar{
  display: inline-block;
  transform: rotate(90deg);
}

.page-hoiku .schedule-time {
  flex: 0 0 80px;              /* 固定幅：時間表示用 */
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #28A06C;
  border-radius: 25px;
  color: #fff;
  padding: 10px;
}

.page-hoiku .schedule-content {
  flex: 1;                     /* 残り幅いっぱいを使う */
  margin-left: 20px;
}

.page-hoiku .schedule-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-top: 10px;            /* テキストとの隙間 */
}


/* 全体のコンテナ */
.seasonal-events {
  margin: 40px 0;
}

.year-event-additional {
  max-width: 1024px; /* 必要に応じて値を調整 */
  padding: 0 20px;   /* オプション：左右に少し余白を追加 */
}

/* 各イベントブロック */
.event-item {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.year-event-additional .event-item {
  margin-top: 80px; /* 例：既存の余白と被らないように、ここで上部余白を追加 */
}

/* 左画像の場合：通常は row */
.event-item.left-image {
  flex-direction: row;
}

/* 右画像の場合：row-reverse でテキストと画像の位置を逆転 */
.event-item.right-image {
  flex-direction: row;
}

/* 画像エリア */
.event-image {
  position: relative;
  flex: 0 0 40%;  /* 画像エリアの幅（必要に応じて調整） */
}

.event-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキストエリア */
.event-text {
  flex: 1;
  padding: 20px;
}

.event-image .season-label {
  position: absolute;
  font-size: 3rem;
  font-weight: bold;
  color: #28A06C;
  background-color: transparent; /* 背景色をなくす */
  padding: 5px 10px;
}

.left-image .event-image .season-label {
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
}

.right-image .event-image .season-label {
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
}

.event-item.left-image.season-spring .event-text li,
.event-item.left-image.season-autumn .event-text li,
.event-item.right-image.season-summer .event-text li,
.event-item.right-image.season-winter .event-text li {
  margin-left: 40px; /* 必要に応じて値を調整 */
  font-size: 20px;
}

@media screen and (max-width: 1024px) {
  .page-hoiku .menu-sticky {
    margin-right: 0;
    width: 24px;
    background-color: #F3F0E7;
  }

  .page-hoiku .vertical-title {
    color: #28A06C;
  }

  .page-hoiku .post-title {
    font-size: 12px;
  }

  .page-hoiku .tab-item-info {
    font-size: 18px;
    padding: 10px 5px;
  }

  .page-hoiku .schedule-row {
    padding-left: 0;
  }

  .page-hoiku .schedule-row p {
    font-size: 14px;
    font-weight: bold;
  }

  .page-hoiku .schedule-row li {
    font-size: 14px;
    font-weight: bold;
  }

  .page-hoiku .tab-panel-info .schedule-row .schedule-time p {
    font-size: 14px;
    color: #fff;
  }

  .page-hoiku .event-item.left-image {
    flex-direction: column;
  }

  .page-hoiku .event-item.right-image {
    flex-direction: column-reverse;
  }

  .page-hoiku .event-image {
    width: auto; 
    margin: 0 auto;
  }
  /* 画像自体の幅を80%に */
  .page-hoiku .event-image img {
    width: 100%;
    display: block;
    margin: 0 auto;
  }

  .event-text {
    width: 100%;
    padding: 10px;
    text-align: center;
  }

  .right-image .event-image .season-label,
  .left-image .event-image .season-label{
    font-size: 2rem;
  }

  .event-item.left-image.season-spring .event-text li,
  .event-item.right-image.season-summer .event-text li,
  .event-item.left-image.season-autumn .event-text li,
  .event-item.right-image.season-winter .event-text li {
    margin-left: 0; /* 必要に応じて値を調整 */
    font-size: 18px;
  }
}