@charset "UTF-8";
/* CSS Document */

/*===index.php(メイン)用==============================*/
#newsWrap{
}
#newsWrap ul#newsList{
	display: flex;
	flex-wrap: wrap;
	margin-bottom: -20px;
}
#newsWrap ul#newsList a{
	display: block;
	width: 31%;
	margin: 0 1% 20px;
}
#newsWrap ul#newsList a li{
	list-style-type: none;
}
/*サムネイル*/
.thumbNailWrap{
	display: block;
	width: 100%;
    position: relative;
    overflow: hidden;
	min-height: 0%;
	border-radius: 10px;
	margin-bottom: 15px;
}
.thumbNailWrap::before{
    content: '';
    display: block;
    padding-top: 60%;
}
.thumbNailWrap img{
	display: block;
	object-fit: cover;
	width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
	transition: 0.2s;
}

#newsWrap ul#newsList li .textarea{
	font-weight: normal;
}
#newsWrap ul#newsList li .up_ymd{
	display: block;
	font-size: 1rem;
	color: #f7931d;
	font-family: "Zen Maru Gothic", serif;
	letter-spacing: 0.06em;
	font-weight: 700;
	margin-bottom: 6px;
	line-height: 1;
}
#newsWrap ul#newsList li .title{
	background-image: linear-gradient(to right, #00b3d3, #00b3d3);
	background-position: 0 100%;
	background-position: bottom left;
	background-size: 100% 1px;
    background-repeat: no-repeat;
	transition: 0.4s;
}
#newsWrap ul#newsList a:hover .title{
	opacity: 0.6;
    background-size: 0% 1px;
}
#newsWrap ul#newsList a:hover .thumbNailWrap img{
	transform: scale(1.1);
}

@media (max-width: 960px){
	#newsWrap ul#newsList a{
		width: 31%;
	}
}
@media (max-width: 750px){
	#newsWrap ul#newsList a{
		width: 48%;
	}
}
@media (max-width: 450px){
	#newsWrap ul#newsList{
		margin-bottom: -30px;
	}
	#newsWrap ul#newsList a{
		width: 94%;
		margin: 0 3% 30px;
	}
}


/*===news-detail.php用==============================*/
#news-detail #up_ymd{
	font-size: 0.9rem;
	margin-bottom: 20px;
	font-family: "Zen Maru Gothic", serif;
  	font-weight: 500;
	font-weight: 700;
	color: #00b3d3;
	letter-spacing: 0.1em;
}
#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;
}
@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: 30px;
}
