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

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

/*#newsWrap(おもてページ)の指定*/
.news .flex{
	display: flex;
	justify-content: space-between;
}
.news .flex h2{
	width: 340px;
}
#newsWrap{
	width: calc(100% - 340px);
	background-color: #fff;
	padding: 30px 20px;
	box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
#newsWrap ul#newsList{
	overflow-y: scroll;
	max-height: 240px;
	width: 100%;
	padding: 0 10px;
}
#newsWrap ul#newsList li{
	list-style-type: none;
	border-bottom: 1px solid #eee;
	padding: 15px 3px;
}
#newsWrap ul#newsList li .up_ymd{
	display: inline-block;
	margin-right: 20px;
	letter-spacing: 0.05em;
	font-family: usual, sans-serif;
	font-weight: 400;
	color: #aaa;
	font-size: 0.9rem;
}
#newsWrap ul#newsList li .title{
	letter-spacing: 0.12em;
}
#newsWrap ul#newsList li .title a{
	text-decoration: none;
	transition: 0.2s;
}
#newsWrap ul#newsList li .title a:hover{
	opacity: 0.6;
	transition-delay: 0.1s;
}

@media (max-width: 960px){
	.news .flex{
		display: block;
	}
	.news .flex h2{
		width: auto;
	}
	#newsWrap{
		width: 100%;
	}
	#newsWrap ul#newsList li{
		padding: 12px 3px;
	}
	#newsWrap ul#newsList li .up_ymd{
		font-size: 0.7rem;
	}
	#newsWrap ul#newsList li .title{
		display: block;
		font-size: 0.9rem;
	}
}

/*スクロールバー*/
#newsWrap ul#newsList::-webkit-scrollbar{
    overflow: hidden;
    width: 1px;
    background: #fafafa;
}
#newsWrap ul#newsList::-webkit-scrollbar-button {
    display: none;
}
#newsWrap ul#newsList::-webkit-scrollbar-thumb, #newsWrap ul#newsList::-webkit-scrollbar-corner {
    background: #021756;
}

/*===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;
	font-family: usual, sans-serif;
	font-weight: 400;
	color: #aaa;
	font-size: 0.85rem;
	line-height: 1.7;
	margin-bottom: 30px;
}
.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: 60px;
}
.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{
	background-color: #f7f7f7;
}

/*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: #021756;
}
.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: #021756;
	padding: 8px 3px;
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	transition: 0.4s;
	font-weight: 600;
}
/*.news-detail .flex #side ul li a::before{
	font-family: "Font Awesome 6 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
}*/
.news-detail .flex #side ul li a:hover{
	background-color: #f7f7f7;
}

@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{
	border-bottom: 1px solid #ddd;
	list-style-type:none;
	padding: 12px 0;
}
.news-detail .flex #main li:first-child{
	border-top: 1px solid #ddd;
}
.news-detail .flex #main li span{
	display: block;
}
.news-detail .flex #main li .up_ymd{
	letter-spacing: 0.05em;
	color: #aaa;
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	margin-right: 0.8em;
	line-height: 1.7;
	font-size: 0.9rem;
}
/*.news-detail .flex #main li .up_ymd::before{
	display: inline-block;
	font-family: "Font Awesome 6 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
	font-size: 0.65em;
	transform: translateY(-2px);
}*/
.news-detail .flex #main li .title a{
	text-decoration: none;
	background-image: linear-gradient(to right, #aaa, #aaa);
	background-position: 0 100%;
	background-position: bottom left;
	background-size: 100% 1px;
    background-repeat: no-repeat;
	transition: 0.4s;
	letter-spacing: 0.12em;
	line-height: 1.7;
	font-size: 0.9rem;
}
.news-detail .flex #main li .title a:hover{
	opacity: 0.7;
    background-size: 0% 1px;
}
