/*===news埋め込み部分用==============================*/

.news{
	position: absolute;
	width: 60%;
	top: -50px;
	right: 0;
	z-index: 10;
}
.newsbox{
	background:#fff;
}
.flex.newsbox{
	flex-wrap: nowrap;
}
.newstitle{
	background: #3577CA;
	display: flex;
	flex-direction: column;
	justify-content:center;
	align-items: center;	
	width: 250px;
	color: #fff;
}


#newsWrap{
	width: 70%;
	padding: 2vh 15px;
	max-height: 100px;
	overflow:hidden;
	overflow-y: auto;
	margin-bottom: 10px;
}
#newsWrap::-webkit-scrollbar {
    width: 4px;	
}
#newsWrap::-webkit-scrollbar-thumb {
    background: #3577CA; 
    width: 4px;
    border-radius: 5px;
}
#newsWrap ul.newsList{
	display: block;
	width: 80%;
	margin: 0 auto;
}
#newsWrap ul.newsList a{
	display: inline-block;
	width: 100%;
	margin: 5px;
	color: #1a1a1a;
	font-size:90%;
	
}
#newsWrap ul.newsList a:hover{
	color: #3577CA;
}
#newsWrap ul.newsList li{
	list-style-type: none;
	display: flex;
	border-bottom: 1px dotted #aaa;	
}

/*サムネイル*/
.thumbNailWrap{
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	min-height: 0%;
}
.thumbNailWrap img{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
    border-radius: 20px;	
	transition-duration: 0.5s;
}

#newsWrap ul.newsList a:hover .thumbNailWrap img{
	transform: scale(1.2);
	transition-duration: 0.5s;
}

/*日付*/
/*日付*/
#newsWrap ul.newsList li .up_ymd{
	padding: 0 1em;
}

#newsWrap ul.newsList li .title{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	width: 90%;
	max-width: 20em;
	padding: 0 1em;
}
@media (max-width: 767px){
	.news{
		display: block;
		position: inherit;
		width: 100%;
		top:0;
		z-index: 10;
	}	
	#newsWrap {
		width: 100%;	
	}
	#newsWrap ul.newsList {
		display: block;
		width: 100%;
		margin: 0 auto;
	}	
}
@media (max-width: 500px){
	.newstitle{	
		width: 150px;
		font-size: 1.2rem;
	}
	#newsWrap{
		width: 100%;
        padding: 0 15px;
        max-height: 70px;
        margin: 8px 0;
	}
}
.pager_link{
	text-align: right;
	padding: 10px;
}
.pager_link a{
	border: 1px solid #aaa;
    border-radius:5px;
    color: #333;
    font-size: 12px;
    padding: 3px 7px 2px;
    text-decoration: none;
    margin: 0 1px;
	font-weight: 500;
}


/*===news-detail.php用==============================*/
.detail{
}
/*.detail div{
	font-size: clamp(16px, 2vw, 18px) !important;
}*/
.detail #up_ymd{
	text-align: end;
	font-size: 16px;	
}
.detail #up_ymd span{
	position: relative;
	padding-left: 25px;
}

.detail #up_ymd span::before{
	position: absolute;
	content: '\f073';
	font-family: "Font Awesome 6 Free";
	font-weight: 600;
	width: 10px;
	height: 18px;
	left: 3px;
}

.detail #detail{
	margin: 30px auto 50px;
	width: 95%;
	max-width: 1200px;
}
.detailUpfile{
	max-width: 680px;
	margin: 15px 0;
}

.detail font{
	padding-bottom: 2px;
	border-bottom: 1px solid #eee;
}

.backORcloseBtn{
	margin: 50px 0 30px;
}