@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% 40px;
}
#newsWrap ul#newsList li{
	list-style-type: none;
}
/*サムネイル*/
.thumbNailWrap{
	display: block;
	width: 100%;
    position: relative;
    overflow: hidden;
	min-height: 0%;
	margin-bottom: 10px;
	border-radius: 10px;
}
.thumbNailWrap::before{
    content: '';
    display: block;
    padding-top: 75%;
}
.thumbNailWrap img{
	display: block;
	object-fit: cover;
	width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
	transition: 1s;
}

#newsWrap ul#newsList li .textarea{
}
#newsWrap ul#newsList li .up_ymd{
	display: block;
	font-size: 0.8rem;
	margin-bottom: 10px;
	line-height: 1;
}
#newsWrap ul#newsList li .title{
	transition: 0.4s;
	letter-spacing: 0.1em;
}
#newsWrap ul#newsList a:hover .title{
	opacity: 0.6;
}
#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%;
		margin-bottom: 30px;
	}
}


/*===news-detail.php用==============================*/
#news-detail #up_ymd{
	letter-spacing: 0.08em;
	font-family: "Josefin Sans", serif;
  	font-weight: 700;
	color: #ccc;
	margin-right: 0.8em;
	line-height: 1.7;
	margin-bottom: 20px;
}
#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;
	border-radius: 10px;
}


/*===ページャー===========================================*/
.pager{
	text-align:right;
	padding:10px;
	clear:both;
}
/*ページャーボタン*/
.pager a{
    border: 1px solid #999;
    border-radius: 5px 5px 5px 5px;
    color: #333;
    font-size: 12px;
    padding: 3px 7px 2px;
    text-decoration: none;
	margin:0 1px;
}

/*現在のページのボタン*/
.pager a.current{
    background: #999;
    border: 1px solid #999;
    border-radius: 5px 5px 5px 5px;
    color: #fff;
    font-size: 12px;
    padding: 3px 7px 2px;
	margin:0 1px;
    text-decoration: none;
}

.pager a:hover{
    background:#999;
    color: #fff;
}

.overPagerPattern{
	padding: 0 2px;	
}