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

/*===index.php(メイン)用==============================*/

/*#newsWrap(おもてページ)の指定*/
#newsWrap{
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#newsWrap > span{
	display: block;
	width: calc(100% - 120px);
}
#newsWrap ul#newsList{
	overflow-y: scroll;
	max-height: 60px;
	padding: 0 10px;
}
#newsWrap ul#newsList li{
	line-height: 1.7;
}
#newsWrap ul#newsList li .up_ymd{
	display: inline-block;
	font-family: "Poppins", sans-serif;
  	font-weight: 500;
	margin-right: 15px;
	letter-spacing: 0.045em;
	color: #aaa;
}
#newsWrap ul#newsList li .title{
}
#newsWrap ul#newsList li .title a{
	text-decoration: none;
	transition: 0.4s;
}
#newsWrap ul#newsList li .title a:hover{
	opacity: 0.6;
}

#newsWrap .btn{
	display: block;
	width: 120px;
	text-align: center;
	border: 1px solid #548851;
	background-color: #548851;
	color: #fff;
	padding: 2px 0;
	letter-spacing: 0.05em;
	font-size: 0.9em;
	border-radius: 10px;
}
#newsWrap .btn:hover{
	background-color: #fff;
	color: #548851;
}

@media (max-width: 750px){
	#newsWrap{
		display: block;
	}
	#newsWrap > span{
		width: 100%;
	}
	#newsWrap ul#newsList{
		overflow-y: visible;
		max-height: none;
		padding: 0;
	}
	#newsWrap .btn{
		margin: 0 auto;
		margin-top: 30px;
	}
}
@media (max-width: 450px){
	#newsWrap ul#newsList li .up_ymd{
		display: block;
		margin-right: 0;
		line-height: 1;
		margin-bottom: 10px;
	}
}


/*スクロールバー*/
#newsWrap ul#newsList::-webkit-scrollbar{
	display: none;
}


/*===news-detail(詳細ページ)用==============================*/
.news-detail .flex{
	display: flex;
	justify-content: space-between;
}
.news-detail .flex #main{
	width: calc(100% - 300px);
}
.news-detail .flex #side{
	width: 270px;
	padding: 0;
}

/*main*/
.news-detail .flex #main #up_ymd{
	letter-spacing: 0.06em;
	color: #aaa;
	margin-right: 0.8em;
	line-height: 1.7;
	margin-bottom: 20px;
}
.news-detail .flex #main #up_ymd::before{
	font-family: "Font Awesome 6 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
}

.news-detail .pages{
	display: flex;
	justify-content: space-around;
	margin-top: 40px;
}
.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 #548851;
	color: #548851;
	font-size: 0.9rem;
	padding: 15px;
	transition: 0.4s;
}
.news-detail .pages .page_prev a{
	text-align: right;
}
.news-detail .pages a:hover{
	opacity: 0.5;
}

/*side*/
.news-detail .flex #side h3{
	font-size: 1.1rem;
	margin-bottom: 10px;
}
.news-detail .flex #side h3::before{
	font-family: "Font Awesome 6 Free";
	content: '\f0ca';
	font-weight: 900;
	padding-right: 0.5em;
	color: #548851;
}
.news-detail .flex #side ul{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 0;
}
.news-detail .flex #side ul li{
	width: 49%;
	margin-bottom: 7px;
}
.news-detail .flex #side ul li a{
	display: block;
	text-align: center;
	width: 100%;
	border: 1px solid #548851;
	color: #fff;
	background-color: #548851;
	padding: 8px 3px;
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	transition: 0.4s;
	font-weight: 500;
}
.news-detail .flex #side ul li a:hover{
	opacity: 0.5;
}

@media (max-width: 960px){
	.news-detail .pages{
		display: block;
		margin-top: 40px;
	}
	.news-detail .pages > div{
		width: 100%;
	}
	.news-detail .pages .page_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 li:not(.news-detail .flex #main .text li){
	border-bottom: 1px solid #ddd;
	list-style-type:none;
	padding: 8px 0;
}
.news-detail .flex #main li .up_ymd{
	color: #aaa;
	display: inline-block;
	font-family: "Poppins", sans-serif;
  	font-weight: 500;
	letter-spacing: 0.045em;
}
.news-detail .flex #main li .up_ymd::before{
	display: inline-block;
	font-family: "Font Awesome 6 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
	font-size: 0.8em;
	transform: translateY(-1px);
}
.news-detail .flex #main li:first-child:not(.news-detail .flex #main .text li:first-child){
	border-top: 1px solid #ddd;
}
.news-detail .flex #main li span{
	display: block;
}
.news-detail .flex #main li .title a{
}
.news-detail .flex #main li .title a:hover{
	opacity: 0.7;
}