.etbsbc-calendar__month {
	width: 100%;
	margin: 0 0 1em;
	border-collapse: collapse;
	table-layout: fixed;
	font-size: 0.875rem;
	text-align: center;
}

.etbsbc-calendar__month caption {
	padding: 0 0 0.25em;
	font-weight: bold;
	text-align: left;
}

.etbsbc-calendar__month th,
.etbsbc-calendar__month td {
	padding: 0.3em 0;
	border: 1px solid #ddd;
	background: #fff;
	color: #333;
}

.etbsbc-calendar__month th {
	background: #f5f5f5;
	font-weight: normal;
}

.etbsbc-calendar__month .etbsbc-calendar__wd-0 {
	color: #c00;
}

.etbsbc-calendar__month .etbsbc-calendar__wd-6 {
	color: #06c;
}

.etbsbc-calendar__month td.is-closed,
.etbsbc-calendar__swatch {
	background: #fddde6;
}

.etbsbc-calendar__month td.is-today {
	font-weight: bold;
	outline: 2px solid #333;
	outline-offset: -2px;
}

.etbsbc-calendar__legend,
.etbsbc-calendar__note {
	margin: 0 0 0.5em;
	font-size: 0.8125rem;
}

.etbsbc-calendar__swatch {
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-right: 0.4em;
	border: 1px solid #ddd;
	vertical-align: -0.15em;
}

/* テーマや最適化プラグインが block-library の CSS を外しても、読み上げ用の文字を見せない */
.etbsbc-calendar .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
	white-space: nowrap;
}
