@charset "UTF-8";
/* CSS Document */
/*一覧ページ*/
.blog-txt {
	font-size: 12px;
	color: #8f8f8f;
}
.news-detail .flex #main ul#newsList {
	display: flex;
	flex-wrap: wrap;
}
.news-detail .flex #main ul#newsList li {
	width: 31%;
	margin: 0 1% 25px;
	border: none;
}
.news-detail .flex #main ul#newsList li a .up_ymd {
	display: block;
	font-size: 13px;
	letter-spacing: 0.05em;
	transition: 0.4s;
	margin-bottom: 5px;
	color: #595757;
}
.news-detail .flex #main ul#newsList li a .title {
	display: block;
	transition: 0.4s;
	font-size: 0.95rem;
	margin-bottom: 7px;
	color: #595757;
}
.news-detail .flex #main ul#newsList li a .textarea {
	padding: 5px;
	padding-top: 7px;
	line-height: 1.6;
	width: 100%;
	position: relative;
	z-index: 20;
}
.news-detail .flex #main ul#newsList li a:hover {
	opacity: 0.6;
}
.thumbNailWrap img {
	object-fit: cover;
	height: 205px;
	width: 100%;
}
@media (max-width: 1100px) {
	.news-detail .flex #main ul#newsList li {
		width: 48%;
	}
	.thumbNailWrap img {
		height: 23vw;
	}
}
@media (max-width: 750px) {
	.thumbNailWrap img {
		height: 32vw;
	}
}
@media (max-width: 550px) {
	.news-detail .flex #main ul#newsList li {
		width: 100%;
	}
	.news-detail .flex #main ul#newsList li a .title {
		font-size: 0.85rem;
	}
	.news-detail .flex #main ul#newsList li a .up_ymd {
		font-size: 12px;
	}
	.thumbNailWrap img {
		height: 63vw;
	}
}
/*===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: 14px;
	letter-spacing: 0.1em;
	margin-bottom: 20px;
	color: #398A41;
}
.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: 40px;
}
.news-detail .pages > div {
	width: 45%;
	background: #fff;
}
.news-detail .pages .page_next {}
.news-detail .pages .page_prev {}
.news-detail .pages a {
	display: block;
	width: 100%;
	border: 1px solid #ddd;
	font-size: 0.85rem;
	padding: 15px;
	transition: 0.4s;
	color: #595757;
}
.news-detail .pages .page_prev a {
	text-align: right;
}
.news-detail .pages a:hover {
	background: #ededed;
}
/*side*/
.news-detail .flex #side h3 {
	font-size: 1.1rem;
	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: #398A41;
}
.news-detail .flex #side ul {}
.news-detail .flex #side ul li a {
	display: block;
	width: 100%;
	border: 1px solid #ddd;
	font-size: 0.9rem;
	color: #398A41;
	padding: 15px;
	margin-bottom: 7px;
	transition: 0.4s;
	background: #fff;
}
.news-detail .flex #side ul li a::before {
	font-family: "Font Awesome 5 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
}
.news-detail .flex #side ul li a:hover {
	background: #ededed;
}
@media (max-width: 960px) {
	.news-detail .pages {
		display: block;
		margin-top: 30px;
	}
	.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 {
	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 {}
.news-detail .flex #main li .up_ymd {
	font-size: 0.9rem;
	letter-spacing: 0.1em;
	color: #398A41;
	display: block;
}
.news-detail .flex #main li .up_ymd::before {
	font-family: "Font Awesome 5 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
	color: #398A41;
}
.news-detail .flex #main li .title a {
	color: #595757;
	display: block;
}
.news-detail .flex #main li .title a:hover {
	opacity: 0.7;
}
/*アーカイブのスクロール指定*/
.news-detail #side ul {
	overflow-y: scroll;
	max-height: 300px;
	padding-right: 10px;
}
/*スクロールバー*/
.news-detail #side ul::-webkit-scrollbar {
	overflow: hidden;
	width: 1px;
	background: #fafafa;
}
.news-detail #side ul::-webkit-scrollbar-button {
	display: none;
}
.news-detail #side ul::-webkit-scrollbar-thumb, .news-detail #side ul::-webkit-scrollbar-corner {
	background: #333;
}
.news-detail #side ul::-webkit-scrollbar-thumb, .news-detail #side ul::-webkit-scrollbar-corner {
	background: #333;
}