/* FullCalendar カスタムスタイル */

#event-calendar {
	max-width: 100%;
	margin: 0 auto 2rem;
}

/* ヘッダーツールバー */
.fc .fc-toolbar-title {
	font-size: 1.8rem;
	font-weight: bold;
}

.fc .fc-button-primary {
	background-color: #008CCF;
	border-color: #008CCF;
}

.fc .fc-button-primary:hover {
	background-color: #006fa3;
	border-color: #006fa3;
}

.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active {
	background-color: #005580;
	border-color: #005580;
}

/* 今日のセル */
.fc .fc-daygrid-day.fc-day-today {
	background-color: #FFF8E1;
}

/* イベントブロック */
.fc .fc-daygrid-event-harness {
	margin-bottom: 3px !important;
}

.fc .fc-event {
	background-color: #008CCF;
	border-color: #008CCF;
	border-radius: 3px;
	padding: 3px 4px;
	font-size: 1.2rem;
	line-height: 1.5;
	cursor: pointer;
}

.fc .fc-event:hover {
	background-color: #E72E78;
	border-color: #E72E78;
}

.fc .fc-event .fc-event-title {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* 日付セル */
.fc .fc-daygrid-day-number {
	font-size: 1.4rem;
	color: #333;
}

/* 日曜 */
.fc .fc-day-sun .fc-daygrid-day-number {
	color: #E72E78;
}

/* 土曜 */
.fc .fc-day-sat .fc-daygrid-day-number {
	color: #008CCF;
}

/* もっと見るリンク */
.fc .fc-daygrid-more-link {
	color: #008CCF;
	font-size: 0.75rem;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
	.fc .fc-toolbar {
		flex-direction: column;
		gap: 0.5rem;
	}

	.fc .fc-toolbar-title {
		font-size: 1.8rem;
	}

	.fc .fc-daygrid-event-harness {
		margin-bottom: 3px !important;
	}

	.fc .fc-event {
		font-size: 1.2rem;
		padding: 3px 4px;
		line-height: 1.5;
	}

	.fc .fc-event .fc-event-title {
		white-space: normal;
		overflow: visible;
		text-overflow: unset;
	}

	.fc .fc-daygrid-day-number {
		font-size: 1.2rem;
	}
}