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

.news{
	padding: 0;
}
.flex.newsbox{
	flex-wrap: nowrap;
}
.newstitle{
	display: flex;
	flex-direction: column;
	justify-content:center;
	align-items: center;	
	width: 250px;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	font-size: clamp(20px,3vw,28px);
	border-right: 1px solid #01AEA0;
}
.newstitle .en{
	font-size: clamp(16px,2vw,20px);
	display: block;
	line-height: 1.3;
}

#newsWrap{
	width: calc(100% - 300px);
	max-height: 200px;
	overflow:hidden;
	overflow-y: auto;
	margin-bottom: 10px;
}
#newsWrap::-webkit-scrollbar {
    width: 4px;	
}
#newsWrap::-webkit-scrollbar-thumb {
    background: #01AEA0; 
    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: #01AEA0;
}
#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){
	.flex.newsbox {
		flex-wrap: wrap;
	}
	.newstitle {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width:100%;
		border-right: 0px solid #01AEA0;
		text-align: center;
	}	
	#newsWrap {
		width: 100%;	
	}
	#newsWrap ul.newsList {
		display: block;
		width: 100%;
		margin: 0 auto;
	}	
}

.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用==============================*/

.news-box{
	padding: 2rem;
	margin-bottom: 40px;
}

.news-detail #up_ymd{
	letter-spacing: 0.05em;
	color: #01AEA0;
	line-height: 1.7;
	font-size: 0.95rem;
	margin-bottom: 20px;
	font-family: "Rubik Dirt", system-ui;
  	font-weight: 400;
	text-align: end;
}
.news-detail #up_ymd::before{
	font-family: "Font Awesome 6 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
}
.detailUpfile{
	max-width: 680px;
	margin: 15px 0;
}

.detailUpfile img{
	width: 100%;
	height: auto;
	object-fit: contain;
	
}
.detail font{
	padding-bottom: 2px;
	border-bottom: 1px solid #eee;
}

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