.yotei-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  padding: 20px;
  max-width: 1000px; /* PC時の中央寄せ幅 */
  box-sizing: border-box;
}

/* 共通スタイル */
.month-select,
.schedule-table {
  width: 100%;
  margin-bottom: 20px;
}

/* スマホ表示 */
@media screen and (max-width: 768px) {
  .yotei-wrapper {
    padding: 10px;
  }

  .month-select,
  .schedule-table {
    width: 100%;
  }
}

/* PC表示 */
@media screen and (min-width: 769px) {
  .month-select,
  .schedule-table {
    width: 80%; /* 中央寄せ＋大きめ表示 */
    font-size: 1.1em;
  }
}
.schedule-table table {
  margin: 0 auto;               /* 中央寄せ */
  width: 100%;
  max-width: 800px;             /* 最大幅を制限（お好みで調整） */
  box-sizing: border-box;
}
.month-select table {
  margin: 0 auto;
  width: 100%;
  max-width: 800px;
  box-sizing: border-box;
 table-layout: fixed;   /* ← これを追加 */
}
/* 祝日背景色 */
td.holiday {
  background-color: #ff0000;
  color: #000000;
}
td.holiday {
  background-color: #ff0000 !important;
  color: #000000 !important;
}
.schedule-table table td.holiday {
  background-color: #ff0000 !important;
  color: #ffffff !important; /* 白文字に変更 */
}
.schedule-table table {
  table-layout: fixed;
}
.schedule-table table td.center {
  text-align: center;
  padding: 8px;
}
.schedule-table table td.date {
  width: 18%; /* お好みで調整。祝日名が読めるか確認しながら */
  vertical-align: top;
}
.schedule-table table {
  table-layout: fixed;
}
.schedule-table table td.center {
  text-align: center;
  padding: 8px;
}
.schedule-table table td.sunday {
  background-color: #ffcccc; /* 薄い赤系（日曜） */
  color: #000000;
}

.schedule-table table td.saturday {
  background-color: #ccf2ff; /* 薄い青系（土曜） */
  color: #000000;
}
.schedule-table table td.am,
.schedule-table table td.pm {
  width: 45%; /* お好みで調整 */
  padding: 8px;
  vertical-align: top;
}
.schedule-table table td.saturday {
  background-color: #ccf2ff !important;
  color: #000000 !important;
}

.schedule-table table td.sunday {
  background-color: #ffcccc !important;
  color: #000000 !important;
}
.schedule-table table td.date.holiday {
  background-color: #ff0000 !important;
  color: #ffffff !important;
}
.schedule-table table td.center {
  text-align: center;
  padding: 8px;
}
.table01 {
  table-layout: fixed;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
}

.table01 th,
.table01 td {
  padding: 8px;
  word-break: break-word;
}
