@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%;
	margin-bottom: 10px;
}
.thumbNailWrap::before{
    content: '';
    display: block;
    padding-top: 120%;
}
.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 .title{
	display: block;
	transition: 0.4s;
	font-size: 1rem;
	letter-spacing: 0.1em;
	margin-bottom: 7px;
}
#newsWrap ul#newsList li .comment{
	transition: 0.4s;
	font-size: 0.8rem;
	line-height: 1.5;
	letter-spacing: 0.1em;
}
#newsWrap ul#newsList a:hover .title,
#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用==============================*/