.contents_news{
	width: calc(100% - 30px);
	padding: 15px;
	max-width: 1300px;
	margin: auto;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
.news_title{
	width: 30%;
	max-width: 300px;
	min-width: 170px;
}
#newsWrap{
	width: 100%;
	flex:1;
}

#newsWrap ul#newsList{
	display: flex;
	flex-wrap: wrap;
}
#newsList li{
	width: calc(50% - 20px);
	margin: 10px;
	list-style-type: none;
	background: #fff;
}
#newsList a{
	display: flex;
	align-items: center;
	position: relative;
	width: 100%;
	padding: 30px 10px;
	overflow: hidden;
	z-index: 1;
	color: #1a1a1a;
	box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
	transition: .5s;
}
#newsList a::before{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	background:linear-gradient(to right,#00a0e9,#0451a5,#1d2088);
	width: 100%;
	height: 100%;
	transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
	transform: scale(0, 1);
	transform-origin: right top;
	z-index: -1;
}
#newsList a:hover::before{
	transform-origin:left top;
	transform:scale(1, 1);
  }

#newsList li .img_area{
	width:calc(30% - 10px);
	max-width: 150px;
}
.thumbNailWrap{
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
    position: relative;
    overflow: hidden;
}
.thumbNailWrap::before{
    content: '';
    display: block;
    padding-top: 100%;
}
.thumbNailWrap img{
	display: block;
	object-fit: cover;
	width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#newsList li .textarea{
	padding: 0 20px;
	width: 70%;
}
#newsList li .catName{
	display: none;
}
#newsList li .up_ymd{
	letter-spacing: 0.12em;
	font-size: 0.8rem;
	font-weight: 700;
	display: block;
	color: #0451a5;
	
}
#newsList li .title{
	display: block;
	font-weight: 500;
}
#newsList li .comment{
	font-size: 0.9rem;
}

#newsList a:hover{
	color: #fff;
	transition: .5s;
}
#newsList a:hover .up_ymd{
	color: #fff;
	transition: .5s;
}

@media (max-width: 1200px){
	.contents_news{
		flex-direction: column;
	}
	.news_title{
		width: 100%;
		max-width: none;
		min-width: 0;
	}
	#newsList li .img_area{
		margin-left: 10px;
	}
	#newsList a{
		padding: 15px;
	}
	#newsList li .title{
		font-size: 0.9rem;
	}
}
@media (max-width: 750px){
	#newsList{
		gap:15px;
	}
	#newsList li{
		width: 100%;
		margin: auto;
	}
}
@media (max-width: 450px){
	#newsList a{
		padding: 10px;
	}
}

.more_btn{
	display: block;
	position: relative;
	text-align: right;
	margin-top: 1em;
	padding-right: 3.5em;
	transition: .5s;
	
}
.more_btn a{
	color: #1a1a1a;
	font-size: 0.8em;
	font-weight: 600;
	text-transform: uppercase
}
.more_btn::after {
    position: absolute;
    right: 1em;
	top: 50%;
    transform: translateY(-50%);
    transform-origin: left;
    width: 2em;
    height: .5em;
    background-color: #1a1a1a;
    clip-path: polygon(0 100%, 100% 100%, 70% 40%, 70% 90%, 0% 90%);
    content: '';
    transition: transform .3s;
}

.more_btn:hover::after {
    transform: translateY(-50%) scaleX(1.4);
}

@media (max-width: 959px){
	.contents_news{
		padding: 20px 0 30px;
	}
	.news{
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	#newsWrap{
		width: 100%;
		padding: 10px;
	}
	.news_title{
		max-width: none;
	}
}
@media (max-width: 750px){
	.news{
		padding: 0;
	}
	#newsWrap ul#newsList li a{
		padding: 1.5em 0;
	}
	.up_ymd{
		display: block;
		margin-bottom: 0.5em;
	}
}

/*詳細ページ ==================================================*/

#news-detail .flex{
	display: flex;
	justify-content: space-between;
	
}
#news-detail .flex #main{
	width: calc(100% - 270px);
}
#news-detail .flex #side{
	width: 250px;
	padding: 0;
}
#news-detail #main img{
	max-width: 100%;
}
/*main*/
.news-detail #main .up_ymd{
	font-size: 1em;
	font-weight: 700;
	letter-spacing: 0.05em;
	margin-bottom: 20px;
	color: #00a0e9;
}
.news-detail #main .up_ymd::before{
	font-family: "Font Awesome 6 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
}

.stitle{
	font-size: clamp(1.2rem, 1.02rem + 0.64vw, 1.5rem);
	margin-bottom: 30px;
	padding-bottom: 0.5rem;
	position: relative;
}

.stitle::before{
	content: "";
	display: block;
	position: absolute;
	z-index: 3;
	left: 0;
	bottom: -7px;
	width: 7px;
	height: 7px;
	background: #00a0e9;
	border-radius: 50%;
}
.stitle::after{
	content: "";
	display: block;
	position: absolute;
	z-index: 2;
	left: 0;
	bottom: -4px;
	width: 1%;
	height: 1px;
	background:linear-gradient(to right,#00a0e9 40%,#1d2088 90%, rgba(29,32,136,0) 100%);
	transition: 1.5s cubic-bezier(0.64, 0, 0.78, 0);
}
.stitle.inview::after{
	width: 100%;
}
.news-detail .main img{
	max-width: 100%;
}
.news-detail .main .text{
	padding: 15px 0;
}
#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{
	color: #fff;
	display: block;
	background:linear-gradient(to right,#00a0e9,#1d2088);
	background-size: 200%;
	background-position: left;
	font-size: 0.9rem;
	padding: 15px;
	transition: 0.4s;
}
#news-detail .pages .page_prev a{
	text-align: right;
}
#news-detail .pages a:hover{
	background-position: right;
}

/*side*/
#news-detail .flex #side h3{
	font-size: 1.1rem;
	margin-bottom: 15px;
}
#news-detail .flex #side h3::before{
	font-family: "Font Awesome 6 Free";
	content: '\f0ca';
	font-weight: 900;
	padding-right: 0.5em;
	color: #000;
}
#news-detail .flex #side .wrap{
	margin-bottom: 30px;
}
#news-detail .flex #side .wrap ul li a{
	display: block;
	width: 100%;
	font-size: 0.9rem;
	font-weight: 400;
	letter-spacing: 0.12em;
	line-height: 200%;
	color: #333;
	margin-bottom: 1em;
	border-bottom:solid 1px #ccc;
	transition: 0.4s;
}
#news-detail .flex #side .wrap ul li a::before{
	font-family: "Font Awesome 6 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
}
#news-detail .flex #side .wrap ul li a:hover{
	color: #00a0e9;
}
#news-detail .flex #side .wrap ul{
	max-height: 80vh;
	overflow: auto;
	padding: 0 15px;
}
#news-detail .flex #side .wrap ul::-webkit-scrollbar{
	width: 2px;
	height: 2px;
}

@media (max-width: 960px){
	#news-detail .flex{
		display: block;
	}
	#news-detail .flex #main{
		width: 100%;
		margin-bottom: 40px;
	}
	#news-detail .flex #side{
		width: 100%;
	}
	#news-detail .flex #side .wrap ul{
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		align-items: flex-start;
		gap:30px;
	}
	#news-detail .flex #side .wrap ul li{
		width: calc(100% / 3 - 20px);
	}

	#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 #side .wrap ul{
		gap:15px;
	}
	#news-detail .flex #side .wrap ul li{
		width: calc(100% / 2 - 20px);
	}
}
@media (max-width: 450px){
	#news-detail .flex #side .wrap ul li{
		width: 100%;
	}
}


/* Pager style */
.pager{
	text-align:right;
	padding:10px;
	clear:both;
}
/*ページャーボタン*/
.pager a{
    border: 1px solid #444;
    color: #333;
    font-size: 12px;
    padding: 3px 7px 2px;
    text-decoration: none;
	margin:0 1px;
	display:inline-block;
	transition: .5s;
}

/*現在のページのボタン*/
.pager a.current{
    background: #444;
    color: #fff;
}
.pager a:hover{
    background:#444;
    color: #fff!important;
}
.overPagerPattern{
	padding:0 2px ;	
}



@media (max-width: 1200px){
	#news-detail .flex{
		display: block;
	}
	#news-detail .flex #main{
		width: 100%;
		margin-bottom: 40px;
	}
	#news-detail .flex #side{
		width: 100%;
		border-top: solid 1px #ccc;
		padding-top: 30px;
	}
	#news-detail .flex #side ul{
		padding-left: 0;
		display: flex;
		justify-content: flex-start;
		align-items: flex-start;
		flex-wrap: wrap;
	}
	#news-detail .flex #side ul li a{
		width: 100%;
		max-width: 200px;
		min-width: 150px;
	}
}
@media (max-width: 450px){
	#news-detail .flex{
		padding: 0;
	}
}

