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

/*===index.php(メイン)用==============================*/
.news .flex{
	display: flex;
	justify-content: space-between;
}
.news .flex h2{
	width: 250px;
}
#newsWrap{
	width: calc(100% - 250px);
}
#newsWrap ul#newsList{
	overflow-y: scroll;
	max-height: 200px;
	width: 100%;
	padding: 0 20px;
}
#newsWrap ul#newsList li{
	list-style-type:none;
	border-bottom: 1px solid #ddd;
	padding: 20px 0;
}
#newsWrap ul#newsList li:first-child{
	border-top: 1px solid #ddd;
}
#newsWrap ul#newsList li .up_ymd{
	display: inline-block;
	margin-right: 20px;
}
#newsWrap ul#newsList li .title{
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	font-weight: 500;
}
#newsWrap ul#newsList li .title a{
	text-decoration: none;
	transition: 0.4s;
}
#newsWrap ul#newsList li .title a:hover{
	opacity: 0.6;
}

@media (max-width: 750px){
	.news .flex{
		display: block;
	}
	.news .flex h2{
		width: auto;
	}
	#newsWrap{
		width: 100%;
	}
	#newsWrap ul#newsList li{
		padding: 10px 0 5px;
	}
	#newsWrap ul#newsList li .up_ymd{
		line-height: 1.8;
		margin-bottom: 6px;
	}
	#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;
}
@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 .detailUpfile img{
	max-width: 100%;
	height: auto;
	margin-top: 30px;
}
#news-detail .backORcloseBtn a{
	margin-top: 60px;
}
