@charset "UTF-8";
/* CSS Document (新着情報CMS) */
/*===index.php(メイン)用==============================*/
ul#newsList {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: -40px;
}
ul#newsList li {
	list-style-type: none;
	width: 23%;
	margin: 0 1% 40px;
	padding: 20px;
	background: #fff;
}
ul#newsList li a {
	display: block;
	width: 100%;
	color: #333;
}
/*サムネイル*/
ul#newsList li .thumbNailWrap {
	display: block;
	width: 100%;
	position: relative;
	overflow: hidden;
	min-height: 0%;
	margin-bottom: 10px;
}
.thumbNailWrap::before {
	content: '';
	display: block;
	padding-top: 57%;
}
.thumbNailWrap img {
	display: block;
	object-fit: cover;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	transition: all 0.4s ease;
}
ul#newsList a:hover .thumbNailWrap img {
	transform: scale(1.04);
}
ul#newsList li .title {
	display: block;
	font-weight: 500;
	font-size: 0.85rem;
}
ul#newsList li .up_ymd {
	display: block;
	font-size: 0.83rem;
	color: #cc006d;
	margin-bottom: 5px;
}
@media (max-width: 1330px) {
	ul#newsList li .thumbNailWrap {
		margin-bottom: 7px;
	}
	ul#newsList li {
		width: 31%;
		margin-bottom: 15px;
	}
	ul#newsList li .up_ymd {
		font-size: 0.6rem;
	}
}
@media (max-width: 960px) {
	ul#newsList li .thumbNailWrap {
		margin-bottom: 5px;
	}
	ul#newsList {
		margin-bottom: -30px;
	}
	ul#newsList li {
		width: 48%;
		margin-bottom: 15px;
	}
}
@media (max-width: 450px) {
	ul#newsList li {
		margin-bottom: 10px;
	}
}
/*===news-detail(詳細ページ)用==============================*/
.w_detail02 .inner {
	max-width: 1000px;
}
.news-detail .flex {
	display: flex;
	justify-content: space-between;
}
.news-detail .flex #main {
	width: 100%;
	/*width: calc(100% - 270px);*/
}
.news-detail .flex #side {
	width: 220px;
}
/*main*/
.news-detail .flex #main #up_ymd {
	display: block;
	letter-spacing: 0.1em;
	font-size: 0.9rem;
	color: #cc006d;
	margin-bottom: 20px;
	font-weight: 500;
}
.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 #ddd;
	font-size: 0.85rem;
	padding: 15px;
	transition: 0.4s;
	color: #333;
}
.news-detail .pages .page_prev a {
	text-align: right;
}
.news-detail .pages a:hover {
	background-color: #f7f7f7;
}
/*side*/
.news-detail .flex #side {
	display: none !important;
}
.news-detail .flex #side h3 {
	font-size: 1.1rem;
	margin-bottom: 10px;
	font-weight: 500;
}
.news-detail .flex #side h3::before {
	font-family: "Font Awesome 5 Free";
	content: '\f0ca';
	font-weight: 900;
	padding-right: 0.5em;
	color: #cc006d;
}
.news-detail .flex #side ul {}
.news-detail .flex #side ul li a {
	display: block;
	width: 100%;
	border: 1px solid #ddd;
	font-size: 0.9rem;
	padding: 10px 15px;
	margin-bottom: 7px;
	transition: 0.4s;
	letter-spacing: 0.1em;
}
.news-detail .flex #side ul li a::before {
	font-family: "Font Awesome 5 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
	color: #cc006d;
}
.news-detail .flex #side ul li a:hover {
	background-color: #f7f7f7;
}
@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%;
	}
}
/*一覧ページ*/
.w_detail .pages {
	margin-top: 55px;
}
.news-detail .flex #main li {
	list-style-type: none;
	padding: 0 3px;
	/*padding: 8px 0;*/
}
.news-detail .flex #main li span {}
.news-detail .flex #main li .up_ymd {
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	color: #cc006d;
	margin-bottom: 1px;
}
.w_detail .up_ymd {
	display: none !important;
}
.news-detail .flex #main li .up_ymd::before {
	font-family: "Font Awesome 5 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
}
.news-detail .flex #main li .title a {
	color: #333;
	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;
}