@charset "UTF-8";
/* CSS Document */
/*===index.php(メイン)用==============================*/
.catName {
	display: none;
}
#newsWrap {
	padding: 20px 5px;
}
#newsWrap ul#newsList {
	width: 96%;
	margin: 0 0 0 auto;
	overflow-y: scroll;
	max-height: 170px;
	padding: 0 20px;
}
#newsWrap ul#newsList li {
	list-style-type: none;
	border-bottom: 1px solid #d1d1d1;
	padding: 10px 0;
	line-height: 2;
}
#newsWrap ul#newsList li:first-child {
	border-top: 1px solid #d1d1d1;
}
#newsWrap ul#newsList li .up_ymd {
	display: inline-block;
	margin-right: 20px;
	font-size: 0.9rem;
	letter-spacing: 0.1em;
}
#newsWrap ul#newsList li .title a {
	display: inline-block;
	text-decoration: none;
	color: #333;
}
#newsWrap ul#newsList li .title a:hover {
	opacity: .7;
}
@media (max-width: 750px) {
	#newsWrap ul#newsList {
		max-height: 165px;
		width: 100%;
		margin: auto;
		padding: 0 10px;
	}
	#newsWrap ul#newsList li {
		padding: 7px 0 10px;
	}
	#newsWrap ul#newsList li .title a {
		font-size: 0.9rem;
	}
	#newsWrap ul#newsList li .up_ymd {
		line-height: 1.8;
		margin-bottom: 0;
		font-size: 0.85rem;
	}
	#newsWrap ul#newsList li .title {
		display: block;
	}
}
#newsWrap ul#newsList::-webkit-scrollbar {
	width: 5px;
}
#newsWrap ul#newsList::-webkit-scrollbar-track {
	border-radius: 10px;
	box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
}
#newsWrap ul#newsList::-webkit-scrollbar-thumb {
	background-color: rgba(0, 0, 0, .5);
	border-radius: 10px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .3);
}
/*===news-detail.php用==============================*/
/*画像*/
.news-detail .text img {
	height: 100%;
}
.news-detail .stitle, .news-detail .stitle span {
	font-size: clamp(1.13rem, 0.855rem + 0.88vw, 1.35rem) !important;
	color: #333 !important;
}
.news-detail .bdb::after {
	transition: 2.2s;
	transition-delay: 0.4s;
}
.news-detail img {
	max-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.98rem;
	letter-spacing: 0.05em;
	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;
	color: #28b1eb;
}
.news-detail .pages {
	display: flex;
	justify-content: space-around;
	margin-top: 55px;
}
.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 #ddd;
	font-size: clamp(0.93rem, 0.918rem + 0.0427vw, 0.95rem);
	letter-spacing: 0.05em;
	padding: 15px;
	transition: 0.4s;
	color: #333;
}
@media (max-width: 305px) {
	.news-detail .pages a {
		font-size: 0.8rem;
	}
}
.news-detail .pages .page_prev a {
	text-align: right;
}
.news-detail .pages a:hover {
	background-color: #f7f7f7;
}
/*side*/
.news-detail .flex #side h3 {
	font-size: 1.2rem;
	margin-bottom: 10px;
	font-weight: 400;
}
.news-detail .flex #side h3::before {
	font-family: "Font Awesome 6 Free";
	content: '\f0ca';
	font-weight: 900;
	padding-right: 0.5em;
	color: #28b1eb;
}
.news-detail .flex #side ul {}
.news-detail .flex #side ul li a {
	display: block;
	width: 100%;
	border: 1px solid #ddd;
	font-size: 0.88rem;
	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 6 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
	color: #28b1eb;
}
.news-detail .flex #side ul li a:hover {
	background-color: #f7f7f7;
}
@media (max-width: 960px) {
	.news-detail .pages {
		display: block;
		margin-top: 45px;
	}
	.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 .newMark {
	position: relative;
	top: -1px;
	font-size: 0.8rem;
	color: #28b1eb;
	margin-left: 7px;
}
.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 .title {
	display: block;
}
.news-detail .flex #main li .up_ymd {
	font-size: 0.93rem;
	letter-spacing: 0.05em;
	color: #333;
}
.news-detail .flex #main li .title a {
	color: #333;
}
.news-detail .flex #main li .title a:hover {
	opacity: 0.7;
}