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

/*===index.php(メイン)用==============================*/
#newsWrap{
}
#newsWrap ul#newsList{
	overflow-y: scroll;
	max-height: 200px;
	width: 95%;
	padding: 0 10px;
	margin: 0 0 0 auto;
}
#newsWrap ul#newsList li{
	list-style-type:none;
	border-bottom: 1px solid #c2c2c2;
	padding: 20px 0;
}
#newsWrap ul#newsList li:first-child{
	border-top: 1px solid #c2c2c2;
}
#newsWrap ul#newsList li .up_ymd{
	display: inline-block;
	margin-right: 20px;
	font-family: 'Noto Serif JP', serif;
	font-weight: 700;
	font-size: 0.9rem;
	letter-spacing: 0.1em;
	color: #115846;
}
#newsWrap ul#newsList li .title{
	font-size: 0.9rem;
	font-weight: 500;
}
#newsWrap ul#newsList li .title a{
	text-decoration: none;
	color: #115846;
	background-image: linear-gradient(to right, #115846, #115846);
	background-position: 0 100%;
	background-position: bottom left;
	background-size: 100% 1px;
    background-repeat: no-repeat;
	transition: 0.4s;
}
#newsWrap ul#newsList li .title a:hover{
	opacity: 0.6;
    background-size: 0% 1px;
}

@media (max-width: 750px){
	#newsWrap ul#newsList{
		width: 100%;
	}
	#newsWrap ul#newsList li{
		padding: 10px 0 5px;
	}
	#newsWrap ul#newsList li .up_ymd{
		line-height: 1.8;
	}
	#newsWrap ul#newsList li .title{
		display: block;
	}
}

/*スクロールバー*/
#newsWrap ul#newsList::-webkit-scrollbar{
    overflow: hidden;
    width: 1px;
    background: #fafafa;
}
#newsWrap ul#newsList::-webkit-scrollbar-button {
    display: none;
}
#newsWrap ul#newsList::-webkit-scrollbar-thumb, #newsWrap ul#newsList::-webkit-scrollbar-corner {
    background: #333;
}
#newsWrap ul#newsList::-webkit-scrollbar-thumb, #newsWrap ul#newsList::-webkit-scrollbar-corner {
    background: #333;
}


/*===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: 30px;
}
