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

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

/*#newsWrap(おもてページ)の指定*/
.news .flex{
	display: flex;
	justify-content: space-between;
	position: relative;
	z-index: 2;
}
.news .flex .text{
	width: 300px;
}
.news .flex #newsWrap{
	width: calc(100% - 340px);
}
@media (max-width: 750px){
	.news .flex{
		display: block;
	}
	.news .flex .text{
		width: 100%;
	}
	.news .flex #newsWrap{
		width: 100%;
		margin: 0 auto;
	}
}

#newsWrap{
}
#newsWrap ul#newsList{
	overflow-y: scroll;
	max-height: 220px;
	width: 100%;
	padding: 0 10px;
}
#newsWrap ul#newsList li{
	list-style-type: none;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	padding: 18px 0;
}
#newsWrap ul#newsList li:first-child{
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}
#newsWrap ul#newsList li .up_ymd{
	display: inline-block;
	margin-right: 20px;
	letter-spacing: 0.05em;
	background-color: #aaa;
	font-family: "Josefin Sans", sans-serif;
	font-weight: 500;
	color: #fff;
	padding: 3px 13px;
}
#newsWrap ul#newsList li .title{
	letter-spacing: 0.12em;
}
#newsWrap ul#newsList li .title a{
	transition: 0.4s;
}
#newsWrap ul#newsList li .title a:hover{
	opacity: 0.6;
}

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

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



/*===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.15em;
	font-family: "Josefin Sans", sans-serif;
	font-weight: 500;
	margin-bottom: 20px;
	color: #aaa;
}
.news-detail .flex #main #up_ymd::before{
	display: inline-block;
	font-family: "Font Awesome 6 Free";
	content: '\f017';
	font-weight: bold;
	font-size: 0.8rem;
	padding-right: 0.5em;
	transform: translateY(-1px);
}

.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%;
	background-color: #333;
	color: #fff;
	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%;
	background-color: #333;
	color: #fff;
	padding: 8px 3px;
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	transition: 0.4s;
	font-weight: 700;
}
.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{
	letter-spacing: 0.15em;
	font-family: "Josefin Sans", sans-serif;
	font-weight: 500;
	font-size: 0.9rem;
	background-color: #aaa;
	color: #fff;
	width: -moz-fit-content;
	width: fit-content;
	padding: 3px 12px 0px;
	line-height: 1.4;
	margin-bottom: 2px;
}
.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 span{
	display: block;
}
.news-detail .flex #main li .title a{
	letter-spacing: 0.1em;
}
.news-detail .flex #main li .title a:hover{
	opacity: 0.5;
}