@charset "utf-8";
/* CSS Document */

/*--------------------------------------------*/
/*モバイル*/
/*--------------------------------------------*/

#event .container {
	padding-left: 15px;
	padding-right: 15px;
}

/*リード文*/
#event .introduce {
	font-size: 18px;
}

#event .right {
	margin-bottom: 50px;
}

/*月ごとの枠*/
#event .month {
	border-radius: 20px;
	margin-bottom: 80px;
	padding: 0 10px 10px;
}

/*月毎の枠線色変え4月～6月*/
#event .month:nth-of-type(1),
#event .month:nth-of-type(2),
#event .month:nth-of-type(3) {
	border: 2px solid #96D44E;
}
/*月毎の枠線色変え7月～9月*/
#event .month:nth-of-type(4),
#event .month:nth-of-type(5),
#event .month:nth-of-type(6) {
	border: 2px solid #00A0E9;
}
/*月毎の枠線色変え10月～12月*/
#event .month:nth-of-type(7),
#event .month:nth-of-type(8),
#event .month:nth-of-type(9) {
	border: 2px solid orange;
}
/*月毎の枠線色変え1月～3月*/
#event .month:nth-of-type(10),
#event .month:nth-of-type(11),
#event .month:nth-of-type(12) {
	border: 2px solid #FF6C87;
}

/*月名*/
#event h3 {
	border-radius: 80px;
	color: #fff;
    font-size: 24px;
	font-weight: bold;
	line-height: 80px;
	margin: -40px auto 10px;
	text-align: center;
	width: 80px;
}

/*月ごとの背景色変え4月～6月*/
#event .month:nth-of-type(1) h3,
#event .month:nth-of-type(2) h3,
#event .month:nth-of-type(3) h3 {
	background-color: #96D44E;
}
/*月ごとの背景色変え7月～9月*/
#event .month:nth-of-type(4) h3,
#event .month:nth-of-type(5) h3,
#event .month:nth-of-type(6) h3 {
	background-color: #00A0E9;
}
/*月ごとの背景色変え10月～12月*/
#event .month:nth-of-type(7) h3,
#event .month:nth-of-type(8) h3,
#event .month:nth-of-type(9) h3 {
	background-color: orange;
}
/*月ごとの背景色変え1月～3月*/
#event .month:nth-of-type(10) h3,
#event .month:nth-of-type(11) h3,
#event .month:nth-of-type(12) h3 {
	background-color: #FF6C87;
}

/*行事リスト*/
#event ul {
	padding-right: 0;
}

#event span {
	color: red;
	font-weight: bold;
}

/*写真*/
#event figure {
	margin-bottom: 0;
	text-align: center;
}

#event figure img {
	margin-bottom: 5px;
	width: 70%;
}





/*--------------------------------------------*/
/*スマホ横/タブレット横/PC/(768px～)*/
/*--------------------------------------------*/

@media (min-width: 768px) {
	
	/*リード文*/
	#event .introduce {
		margin-bottom: 20px;
		text-align: center;
	}
	
	#event .right {
		margin-bottom: 10px;
		text-align: right;
	}
	
	#event .month {
		min-height: 150px;
        margin: 0 30px 30px 50px;
        padding: 15px 15px 15px 30px;
		position: relative;
    }
	
	/*月名を左側に配置*/
	#event h3 {
        margin: -40px 0 0;
		position: absolute;
		left: -40px;
		top: 50%;
        text-align: center;
		
	}
	
	/*行事リスト*/
	#event .month ul {
		float: left;
		width: 58%;
	}
	/*写真*/
	#event .month figure {
		float: right;
		margin-bottom: 0;
		width: 40%;
	}
	
	#event figure img {
        margin-bottom: 10px;
        width: 100%;
    }

	/*clearfix*/
	#event .month::after {
		content: "";
		display: block;
		clear: both;
		height: 0;
	}

	
	
}






/*--------------------------------------------*/
/*タブレット横/PC/(992px～)*/
/*--------------------------------------------*/
@media (min-width: 992px) {
	
	#event .month {
        margin: 0 0 30px 40px;
    }

	/*月の枠を左右に分けてフロート*/
	#event .month:nth-of-type(odd) {
        clear: both;
		float: left;
		min-height: 150px;
		width: 45%;
    }

	#event .month:nth-of-type(even) {
        float: right;
		min-height: 150px;
		width: 45%;
    }

	.clear{
		clear: both;
	}
	
}



/*--------------------------------------------*/
/*PC(1200px～)*/
/*--------------------------------------------*/

@media (min-width: 1200px) {
	

	#event .month:nth-of-type(odd) {
		width: 46%;
    }

	#event .month:nth-of-type(even) {
		width: 46%;
    }

	
	
	
}



