/* 店舗カレンダー（XO Event Calendar の表示と、旧テーマの追加CSS「2か月並べ・スマホは1か月」に合わせる） */
.nousagi-calendar {
	margin: 0 auto;
	position: relative;
	font-family: "Helvetica Neue", Helvetica, "Hiragino Kaku Gothic ProN", Meiryo, "MS PGothic", sans-serif;
	text-align: left;
	line-height: 1;
}
.nsc-months {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.nsc-month-wrap {
	width: 47%;
	display: none;
}
.nsc-month-wrap.is-shown {
	display: block;
}
.nousagi-calendar table.nsc-month {
	width: 100%;
	margin: 0 0 8px;
	padding: 0;
	border: 1px solid #ccc;
	border-right-width: 0;
	border-collapse: separate;
	border-spacing: 0;
	table-layout: fixed;
	background: transparent;
	color: #333;
}
.nousagi-calendar table.nsc-month caption {
	caption-side: top;
	padding: 0;
	margin: 0;
}
.nsc-month-header {
	display: flex;
	flex-flow: wrap;
	justify-content: center;
	margin: 4px 0;
}
.nsc-month-header .nsc-caption {
	flex-grow: 1;
	text-align: center;
	font-size: 16px;
	line-height: 18px;
	color: #333;
}
.nousagi-calendar .nsc-month-header button {
	width: 38px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: #333;
	cursor: pointer;
	overflow: hidden;
	line-height: 1;
}
.nousagi-calendar .nsc-month-header button[disabled] {
	cursor: default;
	opacity: .3;
}
.nsc-month-header button span {
	display: inline-block;
	width: 13px;
	height: 13px;
	transform: rotate(45deg);
	vertical-align: middle;
}
.nsc-prev span {
	border-bottom: 2px solid #333;
	border-left: 2px solid #333;
}
.nsc-next span {
	border-top: 2px solid #333;
	border-right: 2px solid #333;
}
.nousagi-calendar .nsc-month-header button:not([disabled]):hover span {
	border-width: 3px;
}
/* 矢印は先頭の月だけに出す（XO と同じ） */
.nsc-month-wrap.is-shown ~ .nsc-month-wrap .nsc-month-header button {
	visibility: hidden;
}
.nousagi-calendar table.nsc-month th,
.nousagi-calendar table.nsc-month td {
	padding: 0;
	margin: 0;
	background-color: #fff;
	border: 1px solid #ccc;
	vertical-align: top;
}
.nousagi-calendar table.nsc-month thead th {
	border-width: 0 1px 0 0;
	padding: 1px 0;
	font-size: .9em;
	font-weight: 700;
	line-height: 1.98;
	text-align: center;
	color: #333;
}
.nousagi-calendar table.nsc-month thead th.sunday {
	color: #d00;
}
.nousagi-calendar table.nsc-month thead th.saturday {
	color: #00d;
}
.nousagi-calendar table.nsc-month tbody td {
	position: relative;
	height: 48px;
	border-width: 1px 1px 0 0;
}
.nousagi-calendar table.nsc-month tbody td > div {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 4px;
	font-size: 16px;
	line-height: 1.2;
	text-align: right;
}
.nousagi-calendar table.nsc-month tbody td > div.other-month {
	opacity: .6;
}
.nousagi-calendar table.nsc-month tbody td > div.today {
	color: #00d;
	font-weight: 700;
}
.nsc-legend .nsc-legend-item {
	margin: 0;
	padding: 2px 0;
	font-size: 90%;
	line-height: 2.4;
	vertical-align: middle;
}
.nsc-legend .nsc-legend-item span {
	margin: 0 6px 0 0;
	padding: 0 0 0 18px;
	border: 1px solid #ccc;
}
@media screen and (max-width: 599px) {
	.nousagi-calendar {
		width: 70%;
	}
	.nsc-months {
		display: block;
	}
	.nsc-month-wrap {
		width: 100%;
	}
	/* スマホは1か月だけ */
	.nsc-month-wrap.is-shown ~ .nsc-month-wrap.is-shown {
		display: none;
	}
}
