@charset "UTF-8";
/* CSS Document */
/*===index.php(メイン)用==============================*/
#newsWrap {
	padding: 5px;
	background-color: #fff;
	box-shadow: rgb(0 0 0 / 2%) 0px 6px 24px 0px, rgb(0 0 0 / 2.5%) 0px 0px 0px 1px;
}
#newsWrap ul#newsList {
	overflow-y: scroll;
	max-height: 195px;
	width: 100%;
	padding: 0 20px;
}
#newsWrap ul#newsList li {
	list-style-type: none;
	border-bottom: 0.9px solid #ddd;
	padding: 10px 0;
}
#newsWrap ul#newsList li:last-child {
	border-bottom: none;
}
#newsWrap ul#newsList li .up_ymd {
	display: inline-block;
	color: #148ccb;
	margin-right: 20px;
	letter-spacing: 0.05em;
}
#newsWrap ul#newsList li .title {
	font-size: 0.93rem;
	letter-spacing: 0.12em;
}
#newsWrap ul#newsList li .title a {
	text-decoration: none;
	transition: 0.4s;
	color: #333 !important;
}
@media (max-width: 450px) {
	#newsWrap ul#newsList li .title a {
		font-size: 0.85rem;
	}
}
#newsWrap ul#newsList li .title a:hover {
	opacity: 0.6;
}
@media (max-width: 750px) {
	#newsWrap ul#newsList li {
		padding: 0 0 7px;
	}
	#newsWrap ul#newsList li .up_ymd {
		line-height: 1.8;
		margin-bottom: 3px;
		font-size: 0.8rem;
	}
	#newsWrap ul#newsList li .title {
		display: block;
	}
}
/*スクロールバー*/
#newsWrap ul#newsList::-webkit-scrollbar {
	overflow: hidden;
	width: 1px;
	background: #fafafa;
}
#newsWrap ul#newsList::-webkit-scrollbar-button {
	display: none;
}
#newsWrap ul#newsList::-webkit-scrollbar-thumb, #newsWrap ul#newsList::-webkit-scrollbar-corner {
	background: #333;
}
#newsWrap ul#newsList::-webkit-scrollbar-thumb, #newsWrap ul#newsList::-webkit-scrollbar-corner {
	background: #333;
}
/*===news-detail.php用==============================*/
.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: 11px;
	font-weight: 400;
	letter-spacing: 0.05em;
	margin-bottom: 20px;
}
.news-detail .flex #main #up_ymd::before {
	font-family: "Font Awesome 5 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
	color: #148ccb;
}
.news-detail .pages {
	display: flex;
	justify-content: space-around;
	margin-top: 30px;
}
.news-detail .pages .page_next,
.news-detail .pages .page_prev {
	width: 45%;
}
.news-detail .pages .page_next a,
.news-detail .pages .page_prev a {
	display: block;
	width: 100%;
	border: 1px solid #ddd;
	font-size: 0.8rem;
	font-weight: 400;
	letter-spacing: 0.05em;
	padding: 15px;
	transition: 0.4s;
	color: #333;
}
.news-detail .pages .page_prev a {
	text-align: right;
}
.news-detail .pages .page_next a:hover,
.news-detail .pages .page_prev a:hover {
	background-color: #f7f7f7;
}
/*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: #148ccb;
}
.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: 400;
	letter-spacing: 0.05em;
	color: #333;
	padding: 15px;
	transition: 0.4s;
	margin-bottom: 7px;
}
.news-detail .flex #side ul li a::before {
	font-family: "Font Awesome 5 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
	color: #148ccb;
}
.news-detail .flex #side ul li a:hover {
	background-color: #f7f7f7;
}
@media (max-width: 960px) {
	.news-detail .pages {
		display: block;
		margin-top: 30px;
	}
	.news-detail .pages .page_next,
	.news-detail .pages .page_prev {
		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 {
	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: #148ccb;
}
.news-detail .flex #main li .title a {
	font-weight: 400;
	color: #333;
}
.news-detail .flex #main li .title a:hover {
	opacity: 0.7;
}
.news-detail-list .pages .page_next a{
	text-align: right;
}
.news-detail-list .pages .page_prev a{
	text-align: left;
}
@media (max-width: 960px){
	.news-detail-list .pages .page_prev{
		margin-bottom: 7px;
	}
	.news-detail-list .pages .page_next{
		margin-bottom: 0px;
	}
}