@charset "utf-8";

/*------------------------------------------

	NEWS
	
-------------------------------------------*/

main::before {
	background: url("../images/common/bg_04.jpg") no-repeat center top;
	background-size: 100%;
	content: "";
	height: 100%;
	margin: auto;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	width: 100%;
	z-index: -1;
}

@media not all and (min-width: 768px) {
main::before {
	background: url("../images_sp/common/bg_04.jpg") no-repeat center top;
	background-size: 100%;
}
}

/*------------------------------------------

	記事
	
-------------------------------------------*/

section.posts {
	padding: 4rem 0 0;
	position: relative;
}

section.posts h3 {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.4;
	margin: 0 0 5.5rem;
}

div.posts-header {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
}

div.posts-header dl {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}

div.posts-header dd {
	margin: 0 0 0 auto;
}

div.posts-meta p {
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 1.8;
}

div.posts-meta figure {
	margin: 5rem 0;
}

@media not all and (min-width: 768px) {
section.posts h3 {
	margin: 0 0 3rem;
}

div.posts-meta figure {
	margin: 2rem 0;
}
	
figcaption{
	font-size: 1.6rem;
	line-height: 1.5;
}

.wp-block-file a.wp-block-file__button, .wp-block-file a{
	font-size: 1.6rem;
	line-height: 1.8;
}

.wp-block-file a.wp-block-file__button{
	font-size: 1rem;
	line-height: 1.8;
}
}

/*------------------------------------------

	PAGE NAV（記事）
	
-------------------------------------------*/

div.page-navi ul {
	border-top: 1px solid #888;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	margin: 15rem 0 0;
	padding: 1.5rem 0 0;
	position: relative;
	width: 100%;
}

div.page-navi a {
	color: #888;
	display: block;
	font-size: 1.4rem;
	font-weight: 400;
	padding: 0 3rem;
	position: relative;
}

div.page-navi .prev a::after,
div.page-navi .next a::after {
	content: "";
	height: 2.7rem;
	margin: auto;
	position: absolute;
	bottom: 0;
	top: 0;
	width: 2.7rem;
}

div.page-navi .prev a::after {
	background: url("../images/news/prev.svg") no-repeat;
	background-size: 100%;
	left: 0;
}

div.page-navi .next a::after {
	background: url("../images/news/next.svg") no-repeat;
	background-size: 100%;
	right: 0;
}

@media not all and (min-width: 768px) {
div.page-navi ul {
	margin: 4rem 0 0;
	padding: 1.5rem 0 7.4rem;
}

div.page-navi .all {
	margin: auto;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	width: 23rem;
}

div.page-navi .all a {
	border: 1px solid #eb283c;
	border-radius: 5rem;
	color: #eb283c;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
	height: 4rem;
}
}