@charset "UTF-8";
/* CSS Document */
.inner{
	height: 250px;
	overflow-y: auto;
}

.news_data h2{
	font-size: 2em;
	font-family: 'Noto Serif JP', serif;
	color: #45a738;
	background:url("../img/dot.png") no-repeat;
	background-position: bottom left;
	background-size: auto 40px;
	padding-bottom: 40px;
	margin-bottom: 30px;
}

#newsWrap{
	margin: 30px 10px;
}
#newsWrap ul#newsList{
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	flex-wrap: wrap;
}
#newsWrap ul#newsList a{
	display: inline-block;
	width: calc(100% / 3 - 10px);
	margin: 0 5px 20px;
	color: #333;
	font-size:90%;
	
}
#newsWrap ul#newsList li{
	list-style-type: none;
}


/*サムネイル*/
.thumbNailWrap{
	display: block;
	width: 100%;
	height: 160px;
	overflow: hidden;
	min-height: 0%;
}
.thumbNailWrap img{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition-duration: 0.5s;
}

#newsWrap ul#newsList a:hover .thumbNailWrap img{
	transform: scale(1.2);
	transition-duration: 0.5s;
}

/*日付*/
#newsWrap ul#newsList li .up_ymd{
	display: block;
}

#newsWrap ul#newsList li .title{
	display: block;
}
/*詳細ページ*/
#up_ymd{
	text-align:right;
	font-size:13px;
	margin:5px 10px;
}
.detailUpfile{
	margin:5px 0 35px;
	text-align:center;
}
.backORcloseBtn{
	display: block;
	text-align:center;
	line-height:100%;
	margin:30px auto;
	width: 320px;
	
}
.backORcloseBtn a{
	display:inline-block;
	text-align: center;
	width: 100%;
	background-color:#45a738;
	color: #fff;
	padding: 0.5em;
	position: relative;
	transition:all 0.5s ease-in;
	border-radius: 30px;
}
.backORcloseBtn :hover{
	background-color:#2b6623;
	color: #fff;
}
.detailUpfile img{
	max-width:100%;
	height:auto;
}
.pNav{
	font-size:11px;	
}

@media (max-width: 750px){
	#newsWrap ul#newsList{
		justify-content: space-around;
	}
	#newsWrap ul#newsList a{
		width: 45%;
		margin-right: 2%;
	}
}
@media (max-width: 450px){
	#newsWrap ul#newsList a{
		width: 90%;
	}
	.thumbNailWrap{
		height: 200px;
	}
}

