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

/*===index.php(メイン)用==============================*/

/*#newsWrap(おもてページ)の指定*/
#newsWrap{
}
#newsWrap ul#newsList{
	overflow-y: scroll;
	max-height: 200px;
	width: 100%;
	padding-right: 10px;
}
#newsWrap ul#newsList li{
	list-style-type: none;
	padding: 17px 0;
	border-bottom: 1px solid rgba(255,255,255,0.2);
}
#newsWrap ul#newsList li:first-child{
	border-top: 1px solid rgba(255,255,255,0.2);
}
#newsWrap ul#newsList li .up_ymd{
	display: inline-block;
	margin-right: 20px;
	letter-spacing: 0.05em;
	font-size: 0.8rem;
	color: #fff;
	padding: 1px 10px;
	border: 1px solid rgba(255,255,255,0.5);
}
#newsWrap ul#newsList li .title{
	letter-spacing: 0.12em;
}
#newsWrap ul#newsList li .title a{
	text-decoration: none;
	background-image: linear-gradient(to right, rgba(255,255,255,0.5), rgba(255,255,255,0.5));
	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 ul#newsList li .newmark{
	display: inline-block;
	font-family: 'Cormorant Unicase', serif;
	font-weight: 600;
	font-weight: 500;
	text-transform: capitalize;
	letter-spacing: 0.1em;
	margin-left: 10px;
	background-color: #115697;
	padding: 2px 8px;
	line-height: 1;
}

@media (max-width: 750px){
	#newsWrap ul#newsList{
		width: 96%;
		margin: 0 auto;
	}
	#newsWrap ul#newsList li{
	}
	#newsWrap ul#newsList li .up_ymd{
		display: block;
		width: -moz-fit-content;
		width: fit-content;
		padding: 0 10px;
		margin-bottom: 8px;
	}
	#newsWrap ul#newsList li .title{
	}
}

/*スクロールバー*/
#newsWrap ul#newsList::-webkit-scrollbar{
    overflow: hidden;
    width: 1px;
    background: rgba(255,255,255,0.2);
}
#newsWrap ul#newsList::-webkit-scrollbar-button {
    display: none;
}
#newsWrap ul#newsList::-webkit-scrollbar-thumb, #newsWrap ul#newsList::-webkit-scrollbar-corner {
    background: #fff;
}


/*===news-detail(詳細ページ)用==============================*/
.news-detail .flex{
	display: flex;
	justify-content: space-between;
}
.news-detail .flex #main{
	width: calc(100% - 300px);
}
.news-detail .flex #side{
	width: 270px;
	padding: 0;
}

/*main*/
.news-detail .flex #main #up_ymd{
	letter-spacing: 0.05em;
	color: #ccc;
	margin-right: 0.8em;
	line-height: 1.7;
	font-size: 0.9rem;
	margin-bottom: 20px;
}
.news-detail .flex #main #up_ymd::before{
	font-family: "Font Awesome 6 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
}

.news-detail .pages{
	display: flex;
	justify-content: space-around;
	margin-top: 40px;
}
.news-detail .pages > div{
	width: 45%;
}
.news-detail .pages .page_next{
}
.news-detail .pages .page_prev{
}
.news-detail .pages a{
	display: block;
	width: 100%;
	border: 1px solid #ddd;
	font-size: 0.9rem;
	padding: 15px;
	transition: 0.4s;
}
.news-detail .pages .page_prev a{
	text-align: right;
}
.news-detail .pages a:hover{
	opacity: 0.5;
}

/*side*/
.news-detail .flex #side h3{
	font-size: 1.1rem;
	margin-bottom: 10px;
}
.news-detail .flex #side h3::before{
	font-family: "Font Awesome 6 Free";
	content: '\f0ca';
	font-weight: 900;
	padding-right: 0.5em;
}
.news-detail .flex #side ul{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 0;
}
.news-detail .flex #side ul li{
	width: 49%;
	margin-bottom: 7px;
}
.news-detail .flex #side ul li a{
	display: block;
	text-align: center;
	width: 100%;
	border: 1px solid #ddd;
	padding: 8px 3px;
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	transition: 0.4s;
	font-weight: 500;
}
.news-detail .flex #side ul li a:hover{
	opacity: 0.5;
}

@media (max-width: 960px){
	.news-detail .pages{
		display: block;
		margin-top: 40px;
	}
	.news-detail .pages > div{
		width: 100%;
	}
	.news-detail .pages .page_next{
		margin-bottom: 7px;
	}
}
@media (max-width: 750px){
	.news-detail .flex{
		display: block;
	}
	.news-detail .flex #main{
		width: 100%;
		margin-bottom: 40px;
	}
	.news-detail .flex #side{
		width: 100%;
	}
}


/*一覧ページ*/
.news-detail .flex #main li:not(.news-detail .flex #main .text li){
	border-bottom: 1px solid #ddd;
	list-style-type:none;
	padding: 8px 0;
}
.news-detail .flex #main li .up_ymd{
	font-size: 0.9rem;
	letter-spacing: 0.08em;
	display: block;
}
.news-detail .flex #main li .up_ymd::before{
	font-family: "Font Awesome 6 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
}
.news-detail .flex #main li:first-child:not(.news-detail .flex #main .text li:first-child){
	border-top: 1px solid #ddd;
}
.news-detail .flex #main li .title a{
	font-weight: 500;
}
.news-detail .flex #main li .title a:hover{
	opacity: 0.7;
}
.news-detail .flex #main li .newmark{
	display: inline-block;
	font-family: 'Cormorant Unicase', serif;
	font-weight: 600;
	font-weight: 500;
	text-transform: capitalize;
	letter-spacing: 0.1em;
	margin-left: 10px;
	background-color: #115697;
	padding: 2px 8px;
	line-height: 1;
}