@charset "UTF-8";
/* CSS Document (カレンダーCMS) */
/*年月*/
.calendar{
 width:calc(100% / 2 - 20px);   
 margin: 10px;    
}
.calendar_head {
	font-size: 1.3rem;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	padding: 0 3px;
	font-weight: 500;
	margin-bottom: 27px;
}
@media (max-width: 750px) {
	.calendar_head {
		font-size: 1.2rem;
		margin-bottom: 17px;
	}
}
/*月切り替え*/
.arrow {
	display: flex;
	justify-content: space-between;
}
.arrow a {
	display: inline-block;
	white-space: nowrap;
}
/*本体*/
.calendar_body {}
.calendar_body table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
}
.calendar_body table tr {
	border: 2px solid #fff;
}
.calendar_body table tr th, .calendar_body table tr td {
	padding: 10px;
}
.calendar_body table tr th {
	border-right: 2px solid #fff;
	background: #333;
	color: #fff;
}
.calendar_body table tr td {
	border-right: 2px solid #fff;
	border-left: 2px solid #fff;
	padding-top: 0 !important;
	background: #f7f7f7;
}
.calendar_body table tr td.off {
	background-color: #E0E0E0; /*定休日の色*/
	color: #000;
}
.calendar_body table tr td.sun{
	background-color: #E0E0E0; /*定休日の色*/
	color: #000;    
}
/*※は定休日です。*/
.calendar_bottom {
	text-align: center;
	margin-top: 5px;
	margin-bottom: 0;
}
.calendar_bottom span.colored {
	display: inline-block;
	height: 1em;
	width: 30px;
	background-color: #E0E0E0; /*定休日の色*/
	vertical-align: text-bottom;
	margin: 0 3px;
}
@media (max-width: 960px) {
    .calendar{
 width:calc(100% / 1);   
 margin: 10px 0;    
    }
}
@media (max-width: 790px) {

	.arrow a, .calendar_body table tr th {
		font-size: 13px;
	}
	.calendar_body table tr th, .calendar_body table tr td {
		padding: 5px;
	}
	.calendar_bottom {
		font-size: 0.8rem;
	}
}
/* 表示確認のための仮の日付 実装依頼時に外す */
.calendar_body table {
	counter-reset: date; /* ←←← tdで区切られていてもカウントできる */
}
.calendar_body table td::before {
	counter-increment: date;
	content: counter("");
}
/* 32〜35は削除 */
.calendar_body table tr:last-child td:nth-last-child(-n+4)::before {
	content: none;
}
@media (max-width: 450px) {
	.calendar_body table td::before {
		font-size: 10px;
	}
}