.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: #1a1a1a;
	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: #1664bf;
	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-weight: 600;
	font-family: "Barlow Semi Condensed", sans-serif;
	color: #1664bf;
	display:inline-block;
	font-size: 0.9em;
	line-height: 16px;
	width: 8em;
}
ul#newsList li a .title{
	color: #1a1a1a;
	width: calc(100% - 9em);
	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{
	font-family: "Barlow Semi Condensed", sans-serif;
	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;
	}
	ul#newsList li a .title{
		width: calc(100% - 2em);
	}
	.up_ymd{
		display: block;
		margin-bottom: 0.5em;
	}
}

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

.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-family: "Barlow Semi Condensed", sans-serif;
	font-weight: 600;
	font-size: 1em;
	letter-spacing: 0.05em;
	margin-bottom: 20px;
	color: #1664bf;
}
.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 #1664bf;
}
.news-detail .flex #main img{
	max-width: 100%;
}

.category_name{
	font-size: clamp(1.1rem, 1.01rem + 0.32vw, 1.3rem);
	margin-bottom: 30px;
	margin-left: 1.5em;
	position: relative;
	color: #1664bf;
}
.category_name::before{
	content: '';
	position: absolute;
	bottom: 0;
	left: -1.5em;
	width: 1.4em;
	height: 2px;
	background: #1664bf;
}


.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: #333;
	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: #333 ;
	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: #1664bf ;
}
.news-detail .pages .page_prev a:hover{
	color: #1664bf ;
}

/*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: #1664bf;
}
.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: #333;
	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: #1664bf;
}
.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 .detail .pages{
		display: block;
		margin-top: 30px;
	}
	.news-detail .detail .pages .page_next{
		max-width: 100%;
		margin: 0;
	}
	.news-detail .detail .pages .page_prev{
		max-width: 100%;
		margin: 0;
	}
	.news-detail .detail .pages .page_next.next{
		margin-bottom: 0;
	}
	.news-detail .detail .pages .page_prev.next{
		margin-bottom: 0;
	}

	
}

/* ギャラリー　============================================================ */
.gallery_wrap {
	width:100%;
	padding: 20px 10px;
}
.gallery_list {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-wrap: wrap;
}
.gallery_list li{
	width: calc(100% / 4 - 10px);
    margin: 0 5px 15px;
    overflow: hidden;
    padding: 5px;
    font-size: 0;
	background-color: #fff;
	box-shadow: 1px 1px 10px rgba(0,0,0,0.1);
	align-self: stretch;
}
.gallery_list a.photo{
	display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    padding: 10px;
    overflow: hidden;
    
}
.gallery_list a.photo img{
	width: 100%;
    height: 100%;
    object-fit: contain;
	background: #f5f5f5;
	transition: .5s;
}
.gallery_list a.photo img:hover{
	opacity: 0.6;
}
p.detail_text{
	font-size: 0.8rem;
	padding: 0.5em;
    font-weight: 400;
	text-align: center;
}


@media (max-width: 750px){
	.gallery_list li{
		width: calc(100% / 2 - 10px);
	}
}
@media (max-width: 450px){
	.gallery_list a.photo{
		padding: 6px;
	}
}
