@charset "utf-8";

/*カレンダー共通
---------------------------------------------------------------------------*/
.cal1 caption,.cal2 caption,.cal3 caption {
	font-weight: bold;
	padding: 0.5rem;
	background: #555;
	margin-bottom: 0.5rem;
	color: #fff;
}

/*カレンダー用テーブル（cal1）
---------------------------------------------------------------------------*/
.cal1 {
	table-layout: fixed;
	margin: 0 auto 2rem;
	text-align: center;
	line-height: 1;
}
.cal1, .cal1 td, .cal1 th {
	word-break: break-all;
	padding: 0.5rem;
}
.cal1 th {
	background: #ddd;
}

/*日曜日と祝日の日付の色*/
.cal1 th:nth-of-type(1) {
	background: #ff3838;
	color: #fff;
}
.cal1 td:nth-of-type(1),
.cal1 span {
	color: #ff3838;
}

/*カレンダー用テーブル（cal3）
---------------------------------------------------------------------------*/
.cal3 {
	width: 100%;
	table-layout: fixed;
	margin: 0 auto 2em;
	text-align: center;
}
.cal3, .cal3 td, .cal3 th {
	word-break: break-all;
	border: 1px solid #666;
	padding: 0 1rem;
}
.cal3 th {
	background: #ddd;
	width: 10rem;
	height: 5rem;
}
.cal3 td {
	text-align: left;
}

/*日曜日と祝日の日付の色*/
.cal3 tr:nth-of-type(1) th {
	background: #ff3838;
	color: #fff;
}
.cal3 tr:nth-of-type(1) td,
.cal3 span {
	color: #ff3838;
}

/*カレンダー用テーブル（cal2）
---------------------------------------------------------------------------*/
.cal2 {
	width: 100%;
	table-layout: fixed;
	margin: 0 auto 2em;
	text-align: center;
}
.cal2, .cal2 td, .cal2 th {
	word-break: break-all;
	border: 1px solid #666;
	padding: 0 1rem;
}
.cal2 th {
	background: #ddd;
}

/*日曜日と祝日の日付の色*/
.cal2 th:nth-of-type(1) {
	background: #ff3838;
	color: #fff;
}
.cal2 td:nth-of-type(1),
.cal2 span {
	color: #ff3838;
}

.cal2 td {
	height: 12rem;
	vertical-align: top;
}
.cal2 td::first-line {
	font-size: 2rem;
}
	/*画面幅600px以下の追加指定*/
	@media screen and (max-width:600px) {

	.cal2 td {
		padding: 0;
		height: auto;
		line-height: 1.5;
	}
	.cal2 td::first-line {
		font-size: 1rem;
	}

	}/*追加指定ここまで*/

/*移動ボタン
---------------------------------------------------------------------------*/
ul.cal-btn {
	margin: 0;padding: 0;
	list-style: none;
	display: flex;
	justify-content: center;
	margin-bottom: 2rem;
}
ul.cal-btn li {
	padding: 0.5rem 3rem;
	margin: 0.2rem;
	border: 1px solid #999;
	transition: 0.3s;
}
ul.cal-btn li:hover {
	cursor: pointer;
	border: 1px solid #000;
	color: #000;
}

