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

/*===index.php(メイン)用==============================*/
#newsWrap{
}
#newsWrap ul#newsList{
	display: flex;
	flex-wrap: wrap;
}
#newsWrap ul#newsList a{
	display: block;
	width: 23%;
	margin: 0 1% 20px;
	background: #fff;
	box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
	border: 3px solid #fff;
}
#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;
}

#newsWrap ul#newsList li .textarea{
	padding: 10px;
	font-weight: normal;
}
#newsWrap ul#newsList li .catName{
	margin-bottom: 5px;
	display: inline-block;
	padding: 0 10px;
	background: #1a2c44;
	color: #fff;
	font-size: 0.8rem;
	font-weight: normal;
	font-family: 'Noto Serif JP', serif;
	letter-spacing: 0.1em;
}
#newsWrap ul#newsList li .title{
	display: block;
	margin-bottom: 5px;
}
/*日付*/
#newsWrap ul#newsList li .up_ymd{
	display: block;
	font-size: 0.8rem;
	color: #666;
}

#newsWrap ul#newsList a:hover{
	transform: translate(0,-5px);
	box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

@media (max-width: 960px){
	#newsWrap ul#newsList a{
		width: 31%;
	}
}
@media (max-width: 750px){
	#newsWrap ul#newsList a{
		width: 48%;
	}
}


/*===news-detail.php用==============================*/
.thx{
	background: #1a2c44;
}
.thx .inner{
	background: #fff;
	padding: 40px 20px;
}
#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 0;
}
@media (max-width: 450px){
	.thx .inner{
		padding: 20px 10px;
	}
}
#news-detail .detailUpfile{
	margin:5px 0 35px;
	text-align:center;
}

#news-detail .backORcloseBtn a{
	display: block;
	color: #111;
	text-align: center;
	transition: all 0.2s ease-in-out 0s;
	font-size: 1rem;
	font-weight: bold;
	padding: 8px 5px;
	margin: 0 auto;
	margin-top: 40px;
	width: 250px;
	background: #1a2c44;
	border: 1px solid #1a2c44;
	border-radius: 25px;
	color: #fff;
}
#news-detail .backORcloseBtn a:hover{
	background: #fff;
	color: #1a2c44;
}

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