@charset "UTF-8";
/* CSS Document (新着情報CMS) */

/*===index.php(メイン)用==============================*/
#newsWrap{
	max-width: 960px;
	margin: 0 auto;
	overflow-y: scroll;
	max-height: 220px;
	padding-right: 15px;
}
#newsWrap ul#newsList{
	width: 100%;
}
#newsWrap ul#newsList li{
	list-style-type:none;
	border-bottom: 1px dashed #ddd;
	padding: 15px 0;
}
#newsWrap ul#newsList li:first-child{
	padding-top: 0 !important;
}
#newsWrap ul#newsList li .up_ymd{
	display: inline-block;
	padding: 0 20px;
	background: #8fc31f;
	color: #fff;
	border-radius: 14px;
	margin-right: 20px;
	letter-spacing: 0.05em;
}
#newsWrap ul#newsList li .title{
	letter-spacing: 0.12em;
}
#newsWrap ul#newsList li .title a{
	color: #8fc31f;
	text-decoration: none;
	background-image: linear-gradient(to right, #8fc31f, #8fc31f);
	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 li{
		padding: 10px 0;
	}
	#newsWrap ul#newsList li .up_ymd{
		font-size: 0.9rem;
		margin-bottom: 6px;
	}
	#newsWrap ul#newsList li .title{
		display: block;
	}
}

/*スクロールバー*/
#newsWrap::-webkit-scrollbar{
    overflow: hidden;
    width: 2px;
    background: #f5f5f5;
}
#newsWrap::-webkit-scrollbar-button {
    display: none;
}
#newsWrap::-webkit-scrollbar-thumb, #newsWrap::-webkit-scrollbar-corner {
    background: #8fc31f;
	border-radius: 100px;
}



/*===news-detail.php用==============================*/
#news-detail #up_ymd{
	font-size: 14px;
	letter-spacing: 0.1em;
	margin-bottom: 20px;
}
#news-detail #up_ymd::before{
	font-family: "Font Awesome 6 Free";
	content: '\f017';
	font-weight: bold;
	padding-right: 0.5em;
}
#news-detail #detail{
}
#news-detail .detailUpfile{
	margin: 5px 0 35px;
	text-align: center;
}
#news-detail .detailUpfile img{
	max-width: 100%;
	height: auto;
	margin-top: 30px;
}
#news-detail .backORcloseBtn a{
	margin-top: 60px;
}
