.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%;
	padding-left: 20px;
}

ul#newsList{
	padding:0;
}

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

ul#newsList li a .up_ymd{ 
	font-family: "Jost", sans-serif;
	font-weight: 600;
	color: #fff;
	display:inline-block;
	font-size: 0.9em;
	line-height: 16px;
	width: 10em;
}
ul#newsList li a .title{
	color: #fff;
	width: calc(100% - 10em);
	max-width: 50em;
	display: inline-block;
	line-height: 16px;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	transition: .5s;
}
ul#newsList li a:hover .title{
	color: #8A9898;
}

.more_btn{
	display: block;
	position: relative;
	text-align: right;
	margin-top: 1em;
	padding-right: 3.5em;
	transition: .5s;
	
}
.more_btn a{
	color: #fff;
	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: #fff;
    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;
	}
	ul#newsList li a .up_ymd{
		width: auto;
		display: block;
		margin-bottom: 0.5em;
	}
	ul#newsList li a .title{
		width: calc(100% - 2em);
	}
}

/* 詳細ページ ================================================== */
/* news-detail.php */
.news-detail .flex{
	display: flex;
	justify-content: space-between;
}
.news-detail .flex .main{
	width: calc(100% - 270px);
}
.news-detail .flex .side{
	width: 220px;
}

/*main*/
.stitle{
	position: relative;
	font-weight: 600;
	font-size: 1.2rem;
	border-bottom: 1px solid #fff;
	margin-bottom: 20px;
}
.news-detail .flex .main .comment{
	padding: 15px;
}

.news-detail .flex .main #up_ymd{
	font-family: "Jost", sans-serif;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	margin-bottom: 20px;
	color: #fff;
}
.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: 30px;
	gap:30px;
}

.news-detail .pages .page_next,
.news-detail .pages .page_prev{
	width: 100%;
}
.news-detail .pages .page_link a{
	width: 100%;
	border: 1px solid #ddd;
	color: #fff;
	background: linear-gradient(120deg,rgba(0, 0, 0, 1) 0%, rgba(23, 37, 72, 1) 35%, rgba(4, 58, 196, 1) 100%);
	background-size: 200%;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	padding: 15px;
	display: inline-block;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	transition: 0.4s;
}

.news-detail .pages .page_next a,
.news-detail .pages .page_prev a{
	width: 100%;
	border: 1px solid #666;
	color: #fff;
	background: linear-gradient(120deg,rgba(0, 0, 0, 1) 0%, rgba(23, 37, 72, 1) 35%, rgba(4, 58, 196, 1) 100%);
	background-size: 150%;
	background-position: left;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	padding: 15px;
	display: inline-block;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	transition: 0.4s;
}
.news-detail .pages .page_prev a{
	text-align: right;
}
.news-detail .pages .page_next a:hover,
.news-detail .pages .page_prev a:hover{
	background-position: right;
}

/*side*/
.news-detail .flex .side h3{
	font-size: 1.1rem;
	font-weight: 500;
	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: #fff;
}
.news-detail .flex .side{
	
}
.news-detail .flex .side ul{
	max-height: 80vh;
	padding: 0 10px;
	overflow: auto;
}
.news-detail .flex .side ul::-webkit-scrollbar{
	width: 2px;
	height: 2px;
}
.news-detail .flex .side ul::-webkit-scrollbar-track{
	background-color: #000;
}
.news-detail .flex .side ul::-webkit-scrollbar-thumb{
	background-color: #666;
}
.news-detail .flex .side ul li{
}

.news-detail .flex .side ul li a{
	display: block;
	width: 100%;
	border: 1px solid #666;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	color: #fff;
	background: linear-gradient(120deg,rgba(0, 0, 0, 1) 0%, rgba(23, 37, 72, 1) 35%, rgba(4, 58, 196, 1) 100%);
	background-size: 150%;
	background-position: left;
	padding: 15px;
	margin-bottom: 7px;
	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{
	background-position: right;
}

@media (max-width: 960px){
	.news-detail .pages{
		flex-direction: column;
		justify-content: center;
		margin-top: 30px;
		gap:15px;
		width: 100%;
	}
	.news-detail .pages .page_next,
	.news-detail .pages .page_prev{
		width: 100%;
	}

	.news-detail .flex{
		flex-direction: column;
		justify-content: center;
	}
	.news-detail .flex .main{
		width: 100%;
		margin-bottom: 40px;
	}
	.news-detail .flex .side{
		width: 100%;
	}
	.news-detail .flex .side ul{
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		align-items: flex-start;
		gap:8px;
	}
	.news-detail .flex .side ul li{
		width: calc(100% / 3 - 10px);
	}

}
@media (max-width: 768px){
	.news-detail .flex .side ul li{
		width: calc(100% / 2 - 10px);
	}
	.news-detail .flex .main .comment{
		padding: 15px 0;
	}
}
@media (max-width: 450px){
	.news-detail .flex .side ul{
		padding: 0;
	}
	.news-detail .flex .side ul li a{
		font-size: 0.7rem;
	}
}

/* ギャラリー　============================================================ */
.gallery_wrap {
	width:100%;
	padding: 10px;
	margin-top: 35px;
	margin-bottom: 35px;
}
.gallery_wrap h3{
	font-size: 1.1rem;
	background: linear-gradient(120deg,rgba(0, 0, 0, 1) 0%, rgba(23, 37, 72, 1) 35%, rgba(4, 58, 196, 1) 100%);
	color: #fff;
	margin-bottom: 15px;
	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.4rem);
	font-family: "Font Awesome 6 Free";
	content: '\f111';
	font-weight: 900;
	font-size: 0.8rem;
	color: #043ac4;
}
.gallery_wrap p{
	font-size: 0.8rem;
}
.gallery_list {
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	flex-wrap: wrap;
	margin-top: 15px;
}

.gallery_list li{
	width: calc(100% / 4 - 10px);
    margin: 0 5px 15px;
	background: rgba(0,0,0,0.5);
	box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}
.gallery_list a.photo{
	display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    padding: 10px;
    overflow: hidden;
    background-color: #000;
}
.gallery_list a.photo img{
	width: 100%;
    height: 100%;
    object-fit: contain;
	transition: .5s;
}
.gallery_list a.photo img:hover{
	opacity: 0.6;
}
.gallery_list .comment{
	display: inline-block;
	width: 100%;
	font-size: 0.9rem;
	padding: 0.5em;
    font-weight: 400;
	text-align: center;
}
@media (max-width: 1200px){
	.gallery_list li{
		width: calc(100% / 3 - 10px);
	}
}

@media (max-width: 750px){
	.gallery_wrap{
		margin-bottom: 30px;
	}
	.gallery_list li{
		width: calc(100% / 2 - 10px);
	}
	.gallery_list .comment{
		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;
	}
}