@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: 23%;
	margin: 0 1% 30px;
}
#newsWrap ul#newsList li{
	list-style-type: none;
}
/*サムネイル*/
.thumbNailWrap{
	display: block;
	width: 100%;
    position: relative;
    overflow: hidden;
	min-height: 0%;
}
.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.2s;
	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.1em;
	transition: 0.4s;
	margin-bottom: 3px;
	line-height: 1.7;
}
#newsWrap ul#newsList li .title{
	display: block;
	transition: 0.4s;
	font-size: 1.05rem;
	letter-spacing: 0.1em;
	line-height: 1.9;
	margin-bottom: 3px;
}
#newsWrap ul#newsList li .comment{
	transition: 0.4s;
	font-size: 0.8rem;
}
#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.05);
}

@media (max-width: 960px){
	#newsWrap ul#newsList{
		width: 100%;
	}
	#newsWrap ul#newsList a{
		width: 48%;
	}
}
@media (max-width: 450px){
	#newsWrap ul#newsList a{
		width: 90%;
		margin: 0 auto 30px;
	}
}


/*===news-detail.php用==============================*/
#news-detail #up_ymd{
	font-size: 14px;
	margin-bottom: 30px;
	color: #67C215;
}
#news-detail #up_ymd::before{
  font-family: "Font Awesome 5 Free";
  content: '\f017';
  font-weight: bold;
	padding-right: 0.5em;
}
#news-detail #detail{
	padding: 20px;
	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 .backORcloseBtn a{
	margin-top: 60px;
}

#news-detail .detailUpfile img{
	max-width:100%;
	height:auto;
	margin-top: 40px;
	border-radius: 10px;
}
