@charset "utf-8";
/* CSS Document */

/*  カレンダー */
#ak_calendar {
	margin-right: 10px;
	margin-left: 10px;

}



.calendar {
	width: 100%;
	margin: auto;
	overflow: hidden;
}

table.calendar {
	width: 100%;
	margin: auto;
	overflow: hidden;
	border-collapse: collapse;
    table-layout: fixed;
}

table.calendar caption {
	font-size: 26px;
	color: #fff;
	padding: 15px 0;
	background-color: #3d2326;
	caption-side: top;
	text-align: center;
    letter-spacing: 10px;
}

.angle_left {
	position: absolute;
	left: 20px;
	top: 15px;
}

.angle_right {
	position: absolute;
	right: 20px;
	top: 15px;
}

.angle_left i,
.angle_right i{
	font-size: 42px;
}

.angle_left a i,
.angle_right a i{
	color: #fff;
}

table.calendar > thead > tr > th {
	background-color: #ebebeb;
	font-weight: normal;
	vertical-align: middle;
	height: auto;
	padding: 15px 0;
}

table.calendar th,
table.calendar td {
	height: auto;
	text-align: center;
	vertical-align: middle;
	border-right: 1px solid #e0e0e0;
	border-left: 1px solid #e0e0e0;
	border-bottom: 1px solid #e0e0e0;
}

table.calendar td {
    padding: 3px 0 32px 0;   
    font-size: 20px; 
}

table.calendar td:nth-child(1) {
	color: #9B0103;
	font-weight: bold !important;
}

.public_holiday {
    color: #9B0103 !important;
	font-weight: bold !important;
}

.holiday_rule {
	text-align: center;
	margin-top: 20px;
}

.color_sun {
	display: inline-block;
	background-color: #ffb5b5;
	width: 20px;
	height: 20px;
	line-height: 1.5em;
}

@media only screen and (max-width: 480px) {
	table.calendar caption {
		font-size: 18px;
	}
    
    table.calendar td {
        font-size: 16px;
    }
}
@media only screen and (max-width: 375px) {
	
	table.calendar caption {
		font-size: 16px;
	}
	
	table.calendar th,
	table.calendar td {
		font-size: 14px;
		padding: 12px 0;
	}
	
	.holiday_rule {
		margin-top: 10px;
		font-size: 14px;
	}
}

@media only screen and (max-width: 300px) {
	
	table.calendar caption {
		font-size: 14px;
		padding: 10px 0;
	}

	.angle_left i,
	.angle_right i{
		font-size: 36px;
	}
	
	table.calendar th,
	table.calendar td {
		font-size: 12px;
		padding: 10px 0;
	}
	
	.holiday_rule {
		font-size: 12px;
	}

	.color_sun {
		width: 16px;
		height: 16px;
	}
}