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

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

/*#newsWrap(おもてページ)の指定*/
.news .flex{
	display: flex;
	justify-content: space-between;
}
.news .flex .text{
	width: 300px;
}
.news .flex #newsWrap{
	width: calc(100% - 360px);
}
@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%;
}
#newsWrap ul#newsList li{
	list-style-type: none;
	margin-bottom: 8px;
}
#newsWrap ul#newsList li:last-child{
	margin-bottom: 0 !important;
}
#newsWrap ul#newsList li a{
	display: block;
	width: 100%;
	padding: 15px 10px;
	background-color: #fff;
}
#newsWrap ul#newsList li .up_ymd{
	display: inline-block;
	background-color: #30416b;
	color: #fff;
	font-family: "century-gothic", sans-serif;
	font-weight: 700;
	font-weight: 400;
	letter-spacing: 0.1em;
	padding: 3px 10px;
	margin-right: 15px;
}
#newsWrap ul#newsList li .title{
	letter-spacing: 0.12em;
}
#newsWrap ul#newsList li a:hover{
	opacity: 0.6;
}

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

/*スクロールバー*/
#newsWrap ul#newsList::-webkit-scrollbar{
    overflow: hidden;
    width: 2px;
	background: transparent;
	display: none;
}
#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.08em;
	color: #aaa;
	font-family: "century-gothic", sans-serif;
	font-weight: 700;
	font-size: 0.95rem;
	margin-bottom: 20px;
}
.news-detail .flex #main #up_ymd::before{
	display: inline-block;
	font-family: "Font Awesome 6 Free";
	content: '\f017';
	font-weight: bold;
	padding-right: 0.5em;
	font-size: 0.8rem;
	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%;
	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;
	color: #30416b;
}
.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;
	color: #30416b;
	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.08em;
	color: #aaa;
	font-family: "century-gothic", sans-serif;
	font-weight: 700;
	font-size: 0.95rem;
}
.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 a:hover{
	opacity: 0.5;
}