/* news
-------------------------------------------*/

/* archive-page */

.news .news_list{
	width: var(--page-width);
	margin: 0 auto;
}
.news_list div{
	padding-bottom: 3%;
	margin-bottom: 3%;
	border-bottom: 1px solid #eee;
}
.news_list div a{
	display: flex;
	justify-content: space-between;
}
.news_list div a:hover{
	opacity: var(--hover);
}
.news_list div p{
	text-align: center;
}
.news_list .category{
	width: 12%;
	height: 36px;
	line-height: 36px;
	margin-top: 4px;
	font-size: 80%;
	color: var(--green);
	background-color: rgba(var(--green-rgb),0.15);
}
.news_list .date{
	width: 12%;
	font-weight: bold;
	letter-spacing: 0.15em;
}
.news_list .title{
	width: 70%;
	text-align: left;
}

/* single-page */

.news .news_content{
	width: var(--page-width);
	margin: 0 auto;
}
.news_content .news_header{
	display: flex;
	justify-content: flex-start;
	column-gap: 2%;
}
.news_content .news_header p{
	width: 12%;
}
.news_content .news_header .category{
	height: 36px;
	line-height: 36px;
	margin-top: 4px;
	font-size: 80%;
	color: var(--green);
	background-color: rgba(var(--green-rgb),0.15);
}
.news_content .news_header .date{
	font-weight: bold;
	letter-spacing: 0.15em;
}
.news_content .title{
	text-align: left;
	padding: 1% 0;
	font-size: 24px;
	font-weight: bold;
	border-bottom: 1px solid #eee;
}
.news_content .news_article{
	width: 100%;
	text-align: left;
	padding-top: 3%;
}
.news_content .news_article a{
	color: var(--green);
}
.news_content .news_article a:hover{
	opacity: var(--hover);
}
.news_content .news_article h2{
	padding: 10% 0 3%;
	font-size: 24px;
}
.is-type-video,
.is-provider-youtube{
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	margin: 3% 0;
}
.is-type-video iframe,
.is-provider-youtube iframe{
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
}
.wp-block-image img{
	margin: 3% 0;
}
.wp-element-caption{
	margin-top: -2%;
	font-size: 80%;
}
.wp-block-gallery{
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	width: 100%;
	margin: 3% 0;
	gap: 1%;
}
.wp-block-gallery .wp-block-image{
	width: 32%;
}


/* ページャー */

.pager{
	width: var(--page-width);
	margin: 0 auto;
	padding-top: 10%;
	display: flex;
	justify-content: space-between;
}
.pager div a{
	display: block;
	height: 40px;
	line-height: 40px;
	border-radius: 20px;
	padding: 0 30px;
	font-size: 12px;
	color: #fff;
}
.pager .prev a{
	background-color: rgba(var(--font-black-rgb),0.5);
}
.pager .next a{
	background-color: var(--green);
}

/* アーカイブページャー */

.pagination{
	width: var(--page-width);
	margin: 0 auto;
}
.nav-links{
	display: flex;
	justify-content: flex-start;
	column-gap: 10px;
}
.screen-reader-text{
	display: none;
}
.page-numbers{
	display: flex;
	justify-content: center;
	font-size: 14px;
	width: 40px;
	height: 40px;
	line-height: 35px;
	border-radius: 50%;
	border: 1px solid var(--green);
}
.page-numbers:hover{
	opacity: var(--hover);
}
.nav-links .prev,
.nav-links .next{
	width: auto;
}
.prev.page-numbers,
.next.page-numbers,
.page-numbers.dots{
	border: none;
}
.page-numbers.current{
	color: #fff;
	background-color: var(--green);
	border: 1px solid var(--green);
}

@media screen and (max-width: 650px){
	
	/* archive-page */
	
	.news_list{
		padding-top: 3%;
		border-top: 1px solid #eee;
	}
	.news_list div a{
		flex-wrap: wrap;
		align-items: center;
		justify-content: flex-start;
	}
	.news_list a p.category{
		width: 110px;
		height: 28px;
		line-height: 28px;
		letter-spacing: 0.2em;
		font-weight: bold;
		margin-top: 0;
	}
	.news_list a p.date{
		width: 50%;
		padding-left: 3%;
		text-align: left;
	}
	.news_list a p.title{
		width: 100%;
		padding-top: 2%;
	}
	
	/* single-page */
	
	.news_content .news_header{
		column-gap: 2%;
	}
	.news_content .news_header p{
		width: 100%;
	}
	.news_content .news_header .category{
		width: 110px;
		height: 28px;
		line-height: 28px;
		letter-spacing: 0.2em;
		font-weight: bold;
		margin-top: 0;
	}
	.news_content .news_header .date{
		width: 50%;
		padding-left: 3%;
		text-align: left;
	}
	.news_content .title{
		font-size: 16px;
		padding: 3% 0;
	}
	.wp-block-image img{
		width: 100%;
		height: auto;
	}
	.news_content .news_article h2{
		font-size: 16px;
	}
	.wp-block-gallery{
		justify-content: space-between;
		gap: 1%;
	}
	.wp-block-gallery .wp-block-image{
		width: 49%;
	}
	
	/* ページャー */
	
	.pager{
		padding-top: 20%;
	}
	
	/* アーカイブページャー */
	
	.nav-links{
		flex-wrap: wrap;
		column-gap: 2%;
		padding-top: 3%;
	}
	.page-numbers{
		font-size: 12px;
		width: 34px;
		height: 34px;
		line-height: 30px;
	}
}