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

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

/* .news .inner_u{
	width: 98%;
}



.news .inner_u{
	margin: 0 0 0 auto;
	position: relative;
}


.news .right div {
	position: absolute;
	z-index: -1;
	max-width: 250px;
	width: 15%;
	top: 250px;
	right: 0;
}


.news .left{
	width:97%;
}

.news .sub_ttl{
	text-align: center;
	width: 25%;
}

section.news{
	padding-bottom: 100px;
}  */

/*#newsWrap(おもてページ)の指定*/
#newsWrap{
	width: 75%;
}
#newsWrap ul#newsList{
	overflow-y: scroll;
	max-height: 200px;
	width: 100%;
	padding: 10px 30px;
	background: #f5f5f5;
}
#newsWrap ul#newsList li{
	list-style-type:none;
	margin-bottom: 20px;
}
#newsWrap ul#newsList li:first-child{
	margin-top: 20px;
}
#newsWrap ul#newsList li .up_ymd{
	display: inline-block;
	margin-right: 20px;
	letter-spacing: 1.5px;
	font-size: 1.6rem;
	background-color: #4ab2f8;
	color: #fff;
	padding: 1px 10px;
	padding-top: 3px;
	font-family: "Josefin Sans", sans-serif;
}
#newsWrap ul#newsList li .title{
	letter-spacing: 0.12em;
}
#newsWrap ul#newsList li .title a{
	text-decoration: none;
	background-image: linear-gradient(to right, #333, #333);
	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;
}

@media (max-width: 980px){
	.news .flex_bet{
		flex-direction: column;
	}
	.news .left{
		width: 98%;
	}
	.news .right{
		margin-top: 50px;
	}
	.news .right{
		width: 100%;
	}
	.news .right div{
		position: absolute;
		z-index: -1;
		width: 30%;
		min-width: 50px;
		top: -22%;
		right: 0;
	}
	.news .sub_ttl{
		margin: 0 auto 60px;
	}
	section.news{
		padding-bottom: 50px;
		padding-top: 100px;
	}
	#newsWrap{
		width: 100%;
	}
}

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

/*スクロールバー*/
#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: #444;
}


/*===news-detail(詳細ページ)用==============================*/
.news-detail .flex{
	display: flex;
	justify-content: space-between;
}
.news-detail .flex #main{
	width: calc(100% - 300px);
}
.news-detail .flex #side{
	width: 220px;
	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: 	1.4rem;
	margin-bottom: 20px;
	text-align: right;
}
.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: 1.75px solid #4ab2f8;
	background-color: #4ab2f8;
	color: #fff;
	font-size: 1.6rem;
	padding: 15px;
	transition: 0.4s;
	font-weight: bold;
}
.news-detail .pages .page_prev a{
	text-align: right;
}
.news-detail .pages a:hover{
	color: #4ab2f8;
	background-color: #fff;
}

.news-detail .sub_ttl3{
	margin-left: 0;
	margin-bottom: 40px;
}

/*side*/
.news-detail .flex #side h3{
	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: #2626af;
}
.news-detail .flex #side ul{
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 0;
}
.news-detail .flex #side ul li{
	width: 100%;
	margin-bottom: 7px;
}
.news-detail .flex #side ul li a{
	display: block;
	text-align: center;
	width: 100%;
	border: 1.5px solid #2626af;
	color: #2626af;
	padding: 10px 15px;
	font-size: 1.6rem;
	letter-spacing: 0.1em;
	transition: 0.4s;
	font-weight: bold;
}
.news-detail .flex #side ul li a:hover{
	color: #fff;
	background: #2626af;
}

@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: 1.2rem;
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 600;
	letter-spacing: 0.05em;
	color: #4ab2f8;
}
.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 span{
	display: block;
}
.news-detail .flex #main li .title a{
	font-weight: 500;
}
.news-detail .flex #main li .title a:hover{
	opacity: 0.7;
}