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

/*===index.php(メイン)用==============================*/
.news .flex{
	display: flex;
	justify-content: space-between;
}
.news .flex .left{
	width: 250px;
}
#newsWrap{
	width: calc(100% - 250px);
}
#newsWrap ul#newsList{
	display: flex;
	flex-wrap: wrap;
}
#newsWrap ul#newsList a{
	display: block;
	width: 22%;
	margin: 0 1.5% 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.4s;
}

#newsWrap ul#newsList li .textarea{
}
#newsWrap ul#newsList li .up_ymd{
	display: block;
	font-size: 12px;
	line-height: 1;
	transition: 0.4s;
	letter-spacing: 0.05em;
	margin: 20px 0;
}
#newsWrap ul#newsList li .title{
	display: block;
	transition: 0.4s;
	font-size: 1rem;
	font-size: 13px;
}
#newsWrap ul#newsList a:hover .thumbNailWrap img{
	transform: scale(1.1);
}

@media (max-width: 960px){
	#newsWrap ul#newsList a{
		width: 48%;
		margin: 0 1% 30px;
	}
	#newsWrap ul#newsList li .up_ymd{
		margin: 15px 0;
	}
}
@media (max-width: 750px){
	.news .flex{
		display: block;
	}
	.news .flex .left{
		width: auto;
	}
	#newsWrap{
		width: 100%;
	}
	
}


/*===news-detail.php用==============================*/
#news-detail #up_ymd{
	text-align:right;
	font-size:13px;
	margin:5px 10px 30px;
}
#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;
}
