@charset "utf-8";

/* ワープロライク */
#calendar_wrapper div.detail_free,
#main_body #calendar_wrapper div.detail_free {
	margin: 20px 0px 0px;
	padding: 0px;
	border: none;
	background: none;
}
#calendar_wrapper div.detail_free p,
#main_body #calendar_wrapper div.detail_free p {
	margin: 0px;
	font-size: var(--fontsize-main, 1.6rem);
	line-height: var(--lineheight-main, 1.5);
}
#calendar_wrapper div.detail_free p + p,
#main_body #calendar_wrapper div.detail_free p + p {
	margin-top: 1em;
}

#calendar_wrapper #calendar_tab_detail div.detail_free,
#main_body #calendar_wrapper #calendar_tab_detail div.detail_free {
	margin: 0px;
}
#calendar_wrapper #calendar_tab_detail div.detail_free p,
#main_body #calendar_wrapper #calendar_tab_detail div.detail_free p {
	margin: -20px 0px 10px;
	font-size: 1.5rem;
	font-weight: bold;
	line-height: 2rem;
	text-align: center;
}
#calendar_wrapper #calendar_tab_detail div.detail_free p + p,
#main_body #calendar_wrapper #calendar_tab_detail div.detail_free p + p {
	margin: 0px;
}

#calendar_tab_detail div[class*="detail_"],
#main_body #calendar_tab_detail div[class*="detail_"] {
	margin: 0px;
}

/* 本日の日付 */
.calendar_today_text {
	margin: 0px 0px 15px;
	font-size: 1.4rem;
	line-height: 1.5;
	text-align: center;
}
.calendar_today_text span.days {
	font-size: 1.6rem;
	font-weight: bold;
}

/* 前月・次月切り替え */
.cal1_show .cal1,
.cal1_show .btn_cal_next {
	display: block;
}
.cal1_show .cal2,
.cal1_show .btn_cal_prev {
	display: none;
}

.cal2_show .cal2,
.cal2_show .btn_cal_prev {
	display: block;
}
.cal2_show .cal1,
.cal2_show .btn_cal_next {
	display: none;
}

button.btn_cal_prev,
button.btn_cal_next {
	margin: 0px;
	padding: 0px;
	border: none;
	background: none;
	font-size: 1.4rem;
	line-height: 2rem;
	text-decoration: underline;
}
button.btn_cal_prev:hover,
button.btn_cal_next:hover {
	text-decoration: none;
}

button.btn_cal_prev {
	margin-right: auto;
}
button.btn_cal_prev::before {
	content: '';
	display: inline-block;
	vertical-align: middle;
	width: 0.5em;
	height: 0.5em;
	min-width: 8px;
	min-height: 8px;
	border: 1px solid;
	border-right: none;
	border-bottom: none;
	-webkit-transform: rotate(-45deg);
	    -ms-transform: rotate(-45deg);
	        transform: rotate(-45deg);
}

button.btn_cal_next {
	margin-left: auto;
}
button.btn_cal_next::after {
	content: '';
	display: inline-block;
	vertical-align: middle;
	width: 0.5em;
	height: 0.5em;
	min-width: 8px;
	min-height: 8px;
	border: 1px solid;
	border-left: none;
	border-bottom: none;
	-webkit-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
}

/* 見出し / 凡例 / 時間 */
#calendar_tab_detail .cal_ttl {
	margin: 0px 0px 15px;
	padding: 5px;
	background: #bed2e9;
	font-size: 1.4rem;
	line-height: 1.5;
	text-align: center;
}

#calendar_tab_detail .cal_txt {
	margin: 20px 0px 0px;
	font-size: 1.4rem;
	line-height: 1.5;
}
#calendar_tab_detail .cal_txt div {
	line-height: 2rem;
}
#calendar_tab_detail .cal_txt .legend {
	display: inline-block;
	vertical-align: middle;
	border: 1px solid #a4a4a4;
	background: #fcdddd;
	width: 70px;
	height: 20px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	text-align: left;
	text-indent: -9999em;
	line-height: 1;
	overflow: hidden;
	margin-right: 10px;
}

#calendar_tab_detail .cal_txt p {
	margin: 0px;
}
#calendar_tab_detail .cal_txt p:has(strong) {
	margin-top: 20px;
}

#calendar_tab_detail .cal_btn {
	position: relative;
	z-index: 1;
}

/* カレンダー */
#calendar_tab_detail table caption {
	display: block;
	width: 0px;
	height: 0px;
	margin: 0px;
	padding: 0px;
	clip: rect(0, 0, 0, 0);
	overflow: hidden;
}

#calendar_tab_detail table,
#main_body #calendar_tab_detail table {
	display: table;
	table-layout: fixed;
	width: 100%;
	max-width: 100%;
	margin: 0px;
	border-color: #333333;
	border-collapse: collapse;
	border-style: solid;
	border-width: 2px;
	background: #ffffff;
	color: #333333;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
#calendar_tab_detail table th,
#main_body #calendar_tab_detail table th {
	background: #f6f6f6;
	color: #333333;
	border-color: #333333;
	border-collapse: collapse;
	border-style: solid;
	border-width: 1px;
	border-bottom-width: 0px;
	padding: 2px 0px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	font-size: 1.2rem;
	font-weight: bold;
	line-height: 1.8rem;
	letter-spacing: 0px;
	text-align: center;
}
#calendar_tab_detail table td,
#main_body #calendar_tab_detail table td {
	border-color: #333333;
	border-collapse: collapse;
	border-style: solid;
	border-width: 1px;
	padding: 4px 0px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	font-size: 1.4rem;
	font-weight: bold;
	line-height: 1.8rem;
	letter-spacing: 0px;
	text-align: center;
	font-family: Arial, Meiryo, メイリオ, Osaka, sans-serif;
}
#calendar_tab_detail table td strong,
#main_body #calendar_tab_detail table td strong {
	font-weight: bold;
	font-family: Arial, Meiryo, メイリオ, Osaka, sans-serif;
}
#calendar_tab_detail table td:has(strong),
#main_body #calendar_tab_detail table td:has(strong) {
	background: #fcdddd;
	color: #333333;
}

#calendar_tab_detail table th.cal_sun,
#calendar_tab_detail table td.cal_sun,
#calendar_tab_detail table th.cal_hol,
#calendar_tab_detail table td.cal_hol,
#main_body #calendar_tab_detail table th.cal_sun,
#main_body #calendar_tab_detail table td.cal_sun,
#main_body #calendar_tab_detail table th.cal_hol,
#main_body #calendar_tab_detail table td.cal_hol {
	color: #990033;
}
#calendar_tab_detail table th.cal_sat,
#calendar_tab_detail table td.cal_sat,
#main_body #calendar_tab_detail table th.cal_sat,
#main_body #calendar_tab_detail table td.cal_sat {
	color: #003399;
}

/* 表の切り替えボタンは表示しない */
#calendar_tab_detail .sp_button {
	display: none !important;
}
/* 表の切り替えボタンは表示しない ここまで */


/* 背景色変更 */
.color_change #calendar_tab_detail .cal_txt .legend,
.color_change #calendar_tab_detail table td:has(strong),
.color_change #main_body #calendar_tab_detail table td:has(strong) {
	background: rgba(255,255,255,0.25) !important
}
/* 背景色変更 ここまで */