@charset "UTF-8";
/* CSS Document */
/*===index.php(メイン)用==============================*/
#newsWrap {
	position: relative;
}
#newsWrap ul#newsList {
	display: flex;
	flex-wrap: wrap;
}
#newsWrap ul#newsList a {
	display: block;
	width: 31%;
	margin: 0 1% 30px;
}
#newsWrap ul#newsList li {
	list-style-type: none;
}
/*サムネイル*/
.thumbNailWrap {
	display: block;
	width: 100%;
	position: relative;
	overflow: hidden;
	min-height: 0%;
	border-radius: 10px;
}
.thumbNailWrap::before {
	content: '';
	display: block;
	padding-top: 70%;
}
.thumbNailWrap img {
	display: block;
	object-fit: cover;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	transition: 0.4s;
	transition-delay: 0.05s;
}
#newsWrap ul#newsList li .textarea {
	padding-top: 10px;
	line-height: 1.5;
}
#newsWrap ul#newsList li .up_ymd {
	display: block;
	font-size: 14px;
	letter-spacing: 0.05em;
	transition: 0.4s;
	margin-bottom: 5px;
	color: #0fb900;
}
#newsWrap ul#newsList li .title {
	display: block;
	transition: 0.4s;
	font-size: 1rem;
	margin-bottom: 7px;
	color: #333;
}
#newsWrap ul#newsList li .comment {
	transition: 0.4s;
	font-size: 0.8rem;
	color: #8f8f8f;
	display: none;
}
#newsWrap ul#newsList a:hover .title, #newsWrap ul#newsList a:hover .up_ymd, #newsWrap ul#newsList a:hover .comment {
	opacity: 0.7;
}
#newsWrap ul#newsList a:hover .thumbNailWrap img {
	transform: scale(1.07);
}
@media (max-width: 750px) {
	#newsWrap ul#newsList a {
		width: 90%;
		margin: 0 auto 30px;
	}
}
/*===news-detail.php用==============================*/
#news-detail #up_ymd {
	text-align: right;
	font-size: 14px;
	margin: 5px 10px 0;
}
#news-detail #up_ymd::before {
	font-family: "Font Awesome 5 Free";
	content: '\f017';
	font-weight: bold;
	padding-right: 0.5em;
	color: #333;
}
#news-detail #detail {
	padding: 20px 0;
	font-size: 16px !important;
}
@media (max-width: 450px) {
	#news-detail #detail {
		padding: 20px 10px;
		font-size: .8rem;
	}
}
#news-detail .detailUpfile {
	margin: 5px 0 35px;
	text-align: center;
}
#news-detail .detailUpfile img {
	max-width: 100%;
	height: auto;
	margin-top: 40px;
}
#news-detail .backORcloseBtn a {
	margin-top: 40px;
}
@media (max-width: 450px) {
	#news-detail .backORcloseBtn a {
		margin-top: 10px;
	}
}