.contents_news{
	width: calc(100% - 30px);
	padding: 15px;
	max-width: 1300px;
	margin: auto;
}
.news{
	padding: 1em;
	display: flex;
	justify-content: space-between;
	align-items: center;

}
.news_title{
	width: 100%;
	max-width: 300px;
}


#newsWrap{
	width: 100%;
	overflow: auto;
	padding-left: 20px;
}

ul#newsList{
	padding:0;
}

ul#newsList li a{
	display: block;
	width: 100%;
	font-size:1em;
	color: #11324d;
	margin:0;
	line-height:150%;
	list-style-type:none;
	vertical-align:middle;
	padding: 1.5em 1em;
	border-bottom: solid 1px #ccc;
	position: relative;
	background: linear-gradient(to bottom ,transparent 0 50% ,#11324d 50% 100%);
	background-size: 100% 200%;
	background-position: top;
	transition: .5s;
}
ul#newsList li a:hover {
	background-position: bottom;
}
ul#newsList li a::after{
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	content: "\f061";
	color: #11324d;
	position: absolute;
	display: block;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	transition: .5s;
}
ul#newsList li:first-child{
	border-top: solid 1px #ccc;
}

ul#newsList li a .up_ymd{
	font-weight: 600;
	color: #11324d;
	display:inline-block;
	font-size: 0.9em;
	line-height: 16px;
	width: 8em;
}

ul#newsList li a .title{
	color: #11324d;
	width: 90%;
	max-width: 50em;
	display: inline-block;
	vertical-align: bottom;
	line-height: 16px;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	transition: .5s;
}
ul#newsList li a:hover .title,
ul#newsList li a:hover .up_ymd,
ul#newsList li a:hover::after{
	color: #fff;
}

.more_btn{
	display: block;
	position: relative;
	text-align: right;
	margin-top: 1em;
	padding-right: 3.5em;
	transition: .5s;
	
}
.more_btn a{
	color: #11324d;
	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: #11324d;
    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){
	#newsWrap ul#newsList li a{
		padding: 1.5em 1rem;
	}
	.up_ymd{
		display: block;
		margin-bottom: 0.5em;
	}
}

/*===news-detail.php用==============================*/
.news-detail .flex{
	display: flex;
	justify-content: space-between;
	padding: 0 15px;
}
.news-detail .flex #main{
	width: calc(100% - 270px);
}
.news-detail .flex #main img{
	max-width: 100%;
}
.news-detail .flex #side{
	width: 230px;
}

/*main*/
.news-detail .flex #main #up_ymd{
	font-size: 1em;
	font-weight: 600;
	letter-spacing: 0.05em;
	margin-bottom: 20px;
	color: #004e98;
}
.news-detail .flex #main #up_ymd::before{
	font-family: "Font Awesome 6 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
}

.news-detail .flex #main .stitle{
	font-size: clamp(1.2rem, 1.02rem + 0.64vw, 1.5rem);
	margin-bottom: 30px;
	padding-bottom: 0.5rem;
	border-bottom: solid 1px;
}
.news-detail .flex #main img{
	max-width: 100%;
}


.news-detail .pages{
	display: flex;
	justify-content: space-around;
	width: 100%;
	margin-top: 30px;
}
.news-detail .pages .page_next{
	width: 100%;
	max-width: calc(100% - 20px);
	margin: 10px;
}
.news-detail .pages .page_prev{
	width: 100%;
	max-width: calc(100% - 20px);
	margin: 10px;
}
.news-detail .pages .page_next a{
	display: block;
	width: 100%;
	color: #11324d ;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	padding: 15px 0;
	transition: 0.4s;
}
.news-detail .pages .page_prev a{
	display: block;
	width: 100%;
	color: #11324d ;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	padding: 15px;
	transition: 0.4s;
}
.news-detail .pages .page_prev a{
	text-align: right;
}
.news-detail .pages .page_next a:hover{
	color: #004e98 ;
}
.news-detail .pages .page_prev a:hover{
	color: #004e98 ;
}

/*side*/
.news-detail .flex #side h3{
	font-size: 1.1rem;
	font-weight: 600;
	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: #11324d;
}
.news-detail .flex #side ul{
	padding-left: 15px;
}
.news-detail .flex #side ul li a{
	display: block;
	width: 100%;
	font-size: 0.8rem;
	font-weight: 400;
	letter-spacing: 0.12em;
	line-height: 200%;
	color: #11324d;
	margin-bottom: 1em;
	transition: 0.4s;
}
.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{
	color: #004e98 ;
}
.news-detail .flex .side_wrap{
	max-height: 80vh;
	overflow: auto;
	padding: 0 15px;
}

@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;
	}
	
	.news-detail .pages{
		display: block;
		margin-top: 30px;
	}
	.news-detail .pages .page_next{
		max-width: 100%;
		margin: 10px 0;
	}
	.news-detail .pages .page_prev{
		max-width: 100%;
		margin: 10px 0;
	}
	.news-detail .pages .page_next.next{
		margin-bottom: 7px;
	}
	.news-detail .pages .page_prev.next{
		margin-bottom: 7px;
	}
	.news-detail .pages .page_prev a,
	.news-detail .pages .page_next a{
		padding: 5px 0;
		text-align: center;
	}
	
}

/* ギャラリー　============================================================ */
.gallery_wrap {
	width:100%;
	padding: 20px 10px;
}
.gallery_wrap h3{
	font-size: 1.1rem;
	background:linear-gradient(-230deg , #004e98 0 90% ,#d70c18 90% 100%);
	color: #fff;
	margin-bottom: 30px;
	padding: 0.5em 1em 0.5em 2.5em ;
	vertical-align: middle;
	position: relative;
}
.gallery_wrap h3::before{
	position: absolute;
	display: block;
	left: 1rem;
	top: calc(50% - 0.5rem);
	font-family: "Font Awesome 6 Free";
	content: '\f111';
	font-weight: 900;
	padding-right: 0.25em;
	padding-bottom: 0.5em;
	font-size: 1.1rem;
}
.gallery_list {
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	flex-wrap: wrap;
}
.gallery_list li{
	width: calc(100% / 4 - 10px);
    margin: 0 5px 15px;
    overflow: hidden;
    padding: 5px;
    font-size: 0;
}
.gallery_list a.photo{
	display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    padding: 10px;
    overflow: hidden;
    background-color: #f5f5f5;
}
.gallery_list a.photo img{
	width: 100%;
    height: 100%;
    object-fit: contain;
	transition: .5s;
}
.gallery_list a.photo img:hover{
	opacity: 0.6;
}
p.detail_text,p.catalog_link{
	font-size: 0.9rem;
	padding: 0 1em 0.5em;
    font-weight: 400;
	background-color: #f5f5f5;
}

p.catalog_link{
	position: relative;
	background-color: #f5f5f5;
	display: block;
	margin: auto;
	padding-bottom: 1rem;
}
p.catalog_link::first-letter{
	color: transparent;
	font-size: 1px;
}


p.catalog_link a{
	font-size: 0.7rem;
	display: block;
	position: relative;
	text-align: center;
	width: fit-content;
	margin: auto;
	line-height: 200%;
	vertical-align: middle;
	padding: 5px 30px 2px 10px;
	background: #d70c18;
	color: #fff;
	border-radius: 5px;
	transition: .5s;
}
p.catalog_link a:hover{
	background: #004e98;
}
p.catalog_link a::after{
	position: absolute;
	content: '\f061';
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
}
@media (max-width: 960px){
	.gallery_wrap{
		margin-bottom: 30px;
	}
	.gallery_list li{
		width: calc(100% / 2 - 10px);
	}
	p.detail_text{
		font-size: 0.8rem;
		padding: 0.5em;
		font-weight: 400;
	}
}
@media (max-width: 450px){
	.gallery_wrap {
		padding: 0;
	}
	.gallery_list li{
		width: calc(100% / 2 - 6px);
		margin: 0 3px 15px;
	}
	p.catalog_link a{
		white-space: nowrap;
		min-width: 100%;
		font-size: 0.6rem;
		line-height: 120%;
		padding: 5px 20px 0 10px;
	}
	p.catalog_link a::after{
		right: 5px;
	}
}

