.contents_news{
	width: calc(100% - 30px);
	padding: 50px 0;
	max-width: 960px;
	margin: auto;
	
}
.news{
	padding: 1em;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;

}
.news h3{
	padding-right: 1.5em;
	font-size: 1em;
}
.news h3 span{
	font-size: 200%;
}
.news h3::first-letter{
	color: #b4dd39;
}
#newsWrap{
	width: calc(100% - 150px);
	padding-left: 20px;
}

#newsWrap ul#newsList{
	padding:0;
}

#newsWrap ul#newsList li{
	font-size:1.1em;
	margin:0;
	line-height:120%;
	list-style-type:none;
	vertical-align: middle;
	padding: 1em;
	border-bottom: solid 1px #f3f3f3;
}
#newsWrap ul#newsList li:first-child{
	border-top: solid 1px #f3f3f3;
}
#newsWrap ul#newsList li a{
	color: #333;
}
#newsWrap ul#newsList li a:hover{
	color: #56bf65;
}
.up_ymd{
	font-weight: 500;
	color: #56bf65;
	display:inline-block;
	font-size: 90%;
	width: 8em;
}
.title{
	color: #fff;
	width: 90%;
	max-width: 40em;
	display: inline-block;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.more_btn{
	text-align: right;
	margin-top: 1em;
	transition: .5s;
}
.more_btn a{
	color: #333;
	font-size: 0.8em;
	font-weight: 600;
}
.more_btn::before{
	font-family: "Font Awesome 6 Free";
	content: '\f105';
	font-weight: 900;
	padding-right: 0.3em;
}
.more_btn :hover{
	color: #56bf65;
}

@media (max-width: 959px){
	.contents_news{
		padding: 20px 0 30px;
	}
	.news{
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	#newsWrap{
		width: 100%;
		padding: 10px;
	}
	.news h3{
		border-right: none;
		padding:0.5em;
		text-align: center;
	}
}
@media (max-width: 750px){
	.news{
		padding: 0;
	}
	.up_ymd{
		display: block;
		margin-bottom: 0.5em;
	}
}


#newsWrap2{
	height: 290px;
	overflow:hidden;
}
#newsWrap2 ul.newsList{
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	flex-wrap: wrap;
	width: 100%;
}
#newsWrap2 ul.newsList a{
	display: inline-block;
	width: calc(100% / 4 - 10px);
	margin: 5px;
	color: #1a1a1a;
	background:#fff;
	font-size:90%;
	padding: 15px;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
	
}
#newsWrap2 ul.newsList li{
	list-style-type: none;
}

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

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

/*日付*/
#newsWrap2 ul.newsList li .up_ymd{
	display: block;
	font-weight: 600;
	color: #e70012;
	margin-top: 0.5rem;
}

#newsWrap2 ul.newsList li .title{
	display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	width: 90%;
	max-width: 20em;
}


/*===news-detail.php用==============================*/


/*main*/
.news-detail #up_ymd{
	font-size: 1em;
	font-weight: 500;
	letter-spacing: 0.05em;
	margin-bottom: 20px;
	color: #56bf65;
}
.news-detail #up_ymd::before{
	font-family: "Font Awesome 6 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
}

.news-detail .stitle{
	font-size: 1.8rem;
	margin-bottom: 30px;
}
.news-detail .stitle::first-letter{
	color: #56bf65;
}
.news-detail .topic{
	font-size: 1.2rem;
}
.news-detail .topic img{
	max-width: 100%;
}

.news-detail .pages{
	display: flex;
	justify-content: space-around;
	margin-top: 30px;
}
.news-detail .pages .page_link{
	width: 45%;
}
.news-detail .pages .page_link a{
	display: block;
	width: 100%;
	border: 1px solid #ddd;
	color: #56bf65;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	padding: 15px;
	transition: 0.4s;
}
.news-detail .pages .page_link.prev a{
	text-align: right;
}
.news-detail .pages .page_link a:hover{
	background-color: #f7f7f7;
}

.news-detail img{
	max-width: 100%;
}

@media (max-width: 960px){
	.news-detail .pages{
		display: block;
		margin-top: 30px;
	}
	.news-detail .pages .page_link{
		width: 100%;
	}
	.news-detail .pages .page_link.next{
		margin-bottom: 7px;
	}
}
@media (max-width: 750px){
	.news-detail .flex{
		display: block;
	}
	.news-detail .flex #main{
		width: 100%;
		margin-bottom: 40px;
	}
	.news-detail .flex #side{
		width: 100%;
	}
}


/*一覧ページ*/
.news-detail .flex #main ul.list li{
	border-bottom: 1px solid #ddd;
	list-style-type:none;
	padding: 8px 0;
	color: #3f3f3f ;
	transition: .5s;
}
.news-detail .flex #main ul.list li:first-child{
	border-top: 1px solid #ddd;
}
.news-detail .flex #main ul.list li span{
	display: block;
}
.news-detail .flex #main ul.list li .up_ymd{
	font-size: 0.8rem;
	letter-spacing: 0.05em;
	color: #0d6fb8;
}
.news-detail .flex #main ul.list li .title{
	font-weight: 700;
	color: #0d6fb8;
}

.news-detail .flex #main ul.list li a .comment{
	font-size: 0.9rem;
	color: #3f3f3f;
}
.news-detail .flex #main ul.list li:hover{
	opacity: 0.5;
}
/* Pager style（外部化可） */
.pager{
	text-align:right;
	padding:10px;
	clear:both;
}
/*ページャーボタン*/
.pager a{
    border: 1px solid #999;
    border-radius: 5px 5px 5px 5px;
    color: #333;
    font-size: 12px;
    padding: 3px 7px 2px;
    text-decoration: none;
	margin:0 1px;
}

/*現在のページのボタン*/
.pager a.current{
    background: #999;
    border: 1px solid #999;
    border-radius: 5px 5px 5px 5px;
    color: #fff;
    font-size: 12px;
    padding: 3px 7px 2px;
	margin:0 1px;
    text-decoration: none;
}

.pager a:hover{
    background:#999;
    color: #fff;
}

.overPagerPattern{
	padding:0 2px ;	
}

