.fc-header-toolbar {
  display: none !important;
}

.fc-event {
  border-width: 0;
  border-left-width: 6px;
  padding: 0 5px;
  word-break: break-all;
}

/* イベント本体の背景に、対応中のものはストライプをかぶせる */
.fc-event.in-progress {
  background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
  background-size: 3rem 3rem;
}

/* イベント左側の線表示。透明なのでeventのborderColorがそのまま表示されるが、対応中のときはストライプをかぶせる */
.fc-timegrid-event-harness:before {
  content: "";
  display: block;
  width: 6px;
  height: 100%;
  position: absolute;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  z-index: 5;
}
.fc-timegrid-event-harness:has(.in-progress):before {
  background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.6) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.6) 75%, transparent 75%, transparent);
  background-size: 0.7rem 0.7rem;
}

.fc-event:hover {
  filter: brightness(1.05);
}

/* 日付、ツアータイトル、日付情報を表示するセルを全幅表示する設定 */
.fc-col-header-cell-cushion {
  width: 100%;
  padding-right: 0 !important;
  padding-left: 0 !important;
  color: #000;
}

/* 無効化された日付列の設定 */
.fc-disabled-resource {
  cursor: not-allowed !important;
  border-left-width: 0 !important;
}

/* 列の右側に余白を残す */
.fc-timegrid-col-frame {
  margin-right: 7px;
}

/* 無効化されたリソースが含まれるtimegrid-col-frameのmarginを無くす */
.fc-timegrid-col-frame:has(.fc-disabled-resource) {
  margin-right: 0 !important;
}

/* カレンダーエリアの角丸設定 */
.fc-scrollgrid {
  border-radius: 0.375rem; /* rounded-md */
  overflow: hidden;

}
/* 30分以下の予定でも通常と同じフォントサイズで表示 */
.fc-timegrid-event-short .fc-event-title {
  font-size: 11.9px;
}

/* FIXME: RedHatが等幅じゃないので時刻列だけ表示崩れないようにフォント変えてる */
.fc-timegrid-axis-chunk {
  font-family: "Noto Sans JP", sans;
}

/* 今日の日付の背景色を無効化 */
.fc-day-today {
  background-color: transparent !important;
}
