/* カレンダーのタイトル（例: 2025年11月） */
.fc-toolbar-title {
  color: #000;
  font-weight: bold;
}

/* 週ヘッダー */
.fc-col-header-cell {
  background: #d3d3d3;
  color: #000;
}

/* 日付セル */
.fc-daygrid-day {
  background: #fff;
  color: #000;
}

/* 土曜 */
.fc-daygrid-day.fc-day-sat {
  background: #e0f0ff;
  color: #3b82f6;
}

/* 日曜 */
.fc-daygrid-day.fc-day-sun {
  background: #ffecec;
  color: #ff4d4f;
}

/* クリック無効 */
.fc-col-header-cell-cushion,
.fc-daygrid-day-number,
.fc-event {
  pointer-events: none;
  color: inherit;
  text-decoration: none;
}

/* リストビュー */
.fc-list-day-cushion,
.fc-list-day-number,
.fc-list-event-title {
  color: #000;
}

.fc-list-event {
  background-color: #ffffff !important;
  color: #000000 !important;
}

.fc-list-day-cushion {
  font-weight: bold;
}

/* 土日（リスト） */
.fc-list-day.fc-day-sat .fc-list-day-cushion {
  color: #1e90ff;
  background-color: #e6f0ff;
}

.fc-list-day.fc-day-sun .fc-list-day-cushion {
  color: #ee827c;
  background-color: #ffe6e6;
}

/* 例: スマホ（sm未満）のとき縦並びにする */
.fc .fc-header-toolbar {
  display: flex;
  flex-wrap: wrap; /* はみ出したら折り返す */
  gap: 0.5rem;     /* ボタン間の隙間 */
}

/* スマホのみ: 最大幅 640px */
@media (max-width: 640px) {
  .fc .fc-header-toolbar {
    flex-direction: column;      /* 縦並び */
    align-items: center;         /* 縦並び時に中央寄せ */
    justify-content: center;     /* 水平方向も中央寄せ */
    gap: 0.5rem;                 /* ボタン間の隙間 */
  }
}