@charset "UTF-8";
/* CSS Document (新着情報CMS) */



/*===news-detail.php用==============================*/
.news-detail{
width: 100%;  
}
.news-detail .flex{
	display: flex;
	justify-content: space-between;
}
.news-detail .flex #main{
	width: calc(100% - 270px);
}
.news-detail .flex #side{
	width: 220px;
}

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

.news-detail .pages{
	display: flex;
	justify-content: space-around;
	margin-top: 30px;
}
.news-detail .pages > div{
	width: 45%;
}
.news-detail .pages .page_next{
}
.news-detail .pages .page_prev{
}
.news-detail .pages a{
	display: block;
	width: 100%;
	border: 1px solid #004020;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	padding: 15px;
	transition: 0.4s;
    color: #fff;
background:rgba(0, 187, 85,0.3);
    transition: all 0.5s;
background: #004020;    
}
.news-detail .pages .page_prev a{
	text-align: right;
}
.news-detail .pages a:hover{
background:rgba(0, 187, 85,0.3);
    text-decoration: transparent;
    color: #004020;
}

/*side*/
.news-detail .flex #side h3{
	font-size: 1.1rem;
	font-weight: 500;
	margin-bottom: 10px;
}
.news-detail .flex #side h3::before{
	font-family: "Font Awesome 5 Free";
	content: '\f0ca';
	font-weight: 900;
	padding-right: 0.5em;
	color: #004020;
}
.news-detail .flex #side ul{

}
.news-detail .flex #side ul li a{
	display: block;
	width: 100%;
	border: 1px solid #ddd;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	color: #555;
	padding: 15px;
	margin-bottom: 7px;
	transition: 0.4s;
}
.news-detail .flex #side ul li a::before{
	font-family: "Font Awesome 5 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
    color: #004020;
}
.news-detail .flex #side ul li a:hover{
background:rgba(0, 187, 85,0.3);
    text-decoration: transparent;
}


@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;
	}
.news-detail .pages > div{
	width: 70%;
    margin: 2% 0 0;
}      
}
@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 li{
	border-bottom: 1px solid #ddd;
	list-style-type:none;
	padding: 8px 0;
}
.news-detail .flex #main li:first-child{
	border-top: 1px solid #ddd;
}
.news-detail .flex #main li span{
	display: block;
}
.news-detail .flex #main li .up_ymd{
	font-size: 0.8rem;
	letter-spacing: 0.05em;
    color: #004020;
}
.news-detail .flex #main li .title a{
	font-weight: 500;
    color: #555;
    
}
.news-detail .flex #main li .title a:hover{
	opacity: 0.7;
}
