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

/*===index.php(メイン)用==============================*/
.news{
	padding: 30px 0;
}
.news .inner{
	max-width: 960px;
}
.news .flex{
	display: flex;
	align-items: center;
}
.news_title{
	font-family: 'EB Garamond', serif;
	font-weight: 400;
	font-size: 1.6rem;
	text-transform: capitalize;
	letter-spacing: 0.1em;
	border-right: 1px solid #333;
	padding-right: 20px;
	margin-right: 20px;
}
.news_title::first-letter{
	color: #2EAFFF;
}

#newsWrap{
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#newsWrap ul#newsList{
	width: calc(100% - 160px);
	overflow-y: scroll;
	max-height: 2em;
}
#newsWrap ul#newsList li{
	line-height: 1.7;
}
#newsWrap ul#newsList li .up_ymd{
	display: inline-block;
	margin-right: 15px;
	font-family: 'EB Garamond', serif;
	font-weight: 400;
	letter-spacing: 0.05em;
}
#newsWrap ul#newsList li .title{
	letter-spacing: 0.12em;
	font-size: 0.9rem;
}
#newsWrap ul#newsList li .title a{
	text-decoration: none;
	background-image: linear-gradient(to right, #eee, #eee);
	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;
}

#newsWrap .btn{
	display: block;
	width: 140px;
	text-align: center;
	border: 1px solid #333;
	padding: 7px 0;
	letter-spacing: 0.1em;
	font-size: 0.9rem;
}

@media (max-width: 750px){
	.news .flex{
		display: block;
	}
	.news_title{
		font-size: 1.6rem;
		border: none;
		padding-right: 0;
		margin-right: 0;
		margin-bottom: 15px;
	}
	#newsWrap{
		display: block;
		width: 90%;
		margin: 0 0 0 auto;
	}
	#newsWrap ul#newsList{
		width: 100%;
		max-height: none;
		overflow-y: visible;
		margin-bottom: 30px;
	}
	#newsWrap ul#newsList li .up_ymd{
		display: flex;
  		align-items: center;
		margin-bottom: 5px;
	}
	#newsWrap ul#newsList li .up_ymd::before{
		content: '';
		border-top: 1px solid;
		width: 2em;
		margin-right: .5em;
	}
	#newsWrap ul#newsList li .title{
		display: block;
	}
	#newsWrap .btn{
		margin: 0 auto;
		width: 100%;
		max-width: 180px;
	}
}

/*スクロールバー*/
#newsWrap ul#newsList::-webkit-scrollbar{
    overflow: hidden;
    width: 0;
    background: transparent;
}
#newsWrap ul#newsList::-webkit-scrollbar-button {
    display: none;
}


/*===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 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;
}


/*===新着情報一覧===========================================*/
.news-detail-list{
}
.news-detail-list ul#newsList li{
	padding: 18px 5px;
	border-bottom: 1px solid #ddd;
}
.news-detail-list ul#newsList li:first-child{
	border-top: 1px solid #ddd;
}
.news-detail-list ul#newsList li .up_ymd{
	display: inline-block;
	margin-right: 15px;
	font-family: 'EB Garamond', serif;
	font-weight: 400;
	letter-spacing: 0.05em;
}
.news-detail-list ul#newsList li .title{
	letter-spacing: 0.12em;
	font-size: 0.9rem;
}
.news-detail-list ul#newsList li .title a{
	text-decoration: none;
	background-image: linear-gradient(to right, #eee, #eee);
	background-position: 0 100%;
	background-position: bottom left;
	background-size: 100% 1px;
    background-repeat: no-repeat;
	transition: 0.4s;
}
.news-detail-list ul#newsList li .title a:hover{
	opacity: 0.6;
    background-size: 0% 1px;
}
@media (max-width: 750px){
	.news-detail-list ul#newsList li .up_ymd{
		display: block;
	}
}


/*===ページャー===========================================*/
.pager{
	text-align:right;
	padding:10px;
	clear:both;
}
/*ページャーボタン*/
.pager a{
    border: 1px solid #999;
    border-radius: 5px 5px 5px 5px;
    color: #333;
    font-size: 12px;
    padding: 3px 7px 2px;
    text-decoration: none;
	margin:0 1px;
}

/*現在のページのボタン*/
.pager a.current{
    background: #999;
    border: 1px solid #999;
    border-radius: 5px 5px 5px 5px;
    color: #fff;
    font-size: 12px;
    padding: 3px 7px 2px;
	margin:0 1px;
    text-decoration: none;
}

.pager a:hover{
    background:#999;
    color: #fff;
}

.overPagerPattern{
	padding:0 2px ;	
}