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

/*===index.php(メイン)用==============================*/
.news .flex{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
.news .flex .text{
	width: 280px;
}
.news .flex .text .img{
}
.news .flex #newsWrap{
	width: calc(100% - 320px);
}
@media (max-width: 750px){
	.news .flex{
		display: block;
	}
	.news .flex .text{
		width: 100%;
	}
	.news .flex .text .img{
		position: absolute;
		bottom: 0;
		right: 0;
		z-index: 1;
		max-width: 150px;
	}
	.news .flex #newsWrap{
		width: 100%;
		margin: 0 auto;
	}
}


#newsWrap{
	background-color: #fff;
	border-radius: 8px;
	padding: 20px;
}
#newsWrap ul#newsList{
	overflow-y: scroll;
	min-height: 200px;
	max-height: 300px;
	width: 100%;
	padding-right: 20px;
	border-radius: 10px;
}
#newsWrap ul#newsList li{
	list-style-type: none;
	border-bottom: 1px dashed #ddd;
	padding: 18px 0;
}
#newsWrap ul#newsList li .up_ymd{
	display: inline-block;
	padding: 0 15px;
	background: #e0f7ad;
	margin-right: 12px;
	font-family: "Zen Maru Gothic", serif;
	font-weight: 700;
	letter-spacing: 0.05em;
	border-radius: 5px;
}
#newsWrap ul#newsList li .title{
	letter-spacing: 0.12em;
}
#newsWrap ul#newsList li .title a{
	text-decoration: none;
	background-image: linear-gradient(to right, #3E3A2A, #3E3A2A);
	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{
		height: 280px;
	}
	#newsWrap ul#newsList{
		height: 180px;
		min-height: auto;
		max-height: none;
	}
	#newsWrap ul#newsList li{
		padding: 10px 0 5px;
	}
	#newsWrap ul#newsList li .up_ymd{
		line-height: 1.8;
		margin-bottom: 6px;
		font-size: 0.9rem;
		padding: 0 15px;
	}
	#newsWrap ul#newsList li .title{
		display: block;
		line-height: 1.7;
	}
}

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



/*===news-detail.php用==============================*/
#news-detail #up_ymd{
	font-size: 14px;
	letter-spacing: 0.1em;
	margin-bottom: 30px;
}
#news-detail #up_ymd::before{
	font-family: "Font Awesome 6 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;
}
