@charset "utf-8";

.archive_wrapper {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
}
.archive_wrapper .navigation {
	width: 100%;
	position: relative;
	text-align: center;
	margin: 60px auto 0;
}
.archive_box {
	width: 47%;
	margin-bottom: 2rem;
}
.archive_box img {
	width: 100%;
	height: auto;
}
.archive_box:hover {
	opacity: 0.8;
	transition: 0.2s;/* 0.2秒アニメーション */
	-webkit-transition: 0.2s;
}
.archive_box .article_title {
	margin: .5rem 0;
	line-height: 1.2em;
}
.main section {
	margin: 0 0 20px;
}
.pagination .nav-links {
  display: flex;
  justify-content: center;
  max-width: 100%;
  margin: 0 auto 0;
}

.pagination .nav-links .page-numbers {
  margin: 0 12px;
  list-style: none;
  display: inline-block;
  padding: .7em .8em;
  text-decoration: none;
  background: #eee;
    color: #333;
    border-bottom: solid 4px #ccc;
  border-radius: 3px;
}

.pagination .nav-links .page-numbers.current {
	border-bottom: none;
	border: solid 1px #333;
	color: #333;
	background: #fff;
}
.pagination .nav-links a.page-numbers:active {
	-webkit-transform: translateY(1px);
	transform: translateY(1px);
	border-bottom: none;
}

@media screen and (max-width: 768px) {
	.archive_wrapper {
		display: block;
	}
	.archive_box {
		width: 100%;
		margin-bottom: 1.5rem;
	}
	.pagination .nav-links {
		text-align: center;
		margin: 2rem auto;
	}
	.pagination .nav-links .page-numbers {
		font-size: .8em;
	}
}
@media screen and (max-width: 430px) {
	.pagination .nav-links .page-numbers {
		margin: 0 6px;
	}
}



/* before after */
.case-item {
	box-sizing: border-box;
	width: 100%;
	margin-top: 30px;
}
.case-item .caseImage-flex {
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	position: relative;
}
.case-item .caseImage-flex:before {
	content: "";
	display: inline-block;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	background: url(../images/template/icon-arrow.webp) no-repeat;
	background-size: 100%;
	background-position: center;
	width: 60px;
	height: 60px;
	z-index: 1;
}
.case-item .caseImage-flex .caseImage-flex___before {
	width: calc(100% / 2 - 18px);
}
.case-item .caseImage-flex .caseImage-flex___after {
	width: calc(100% / 2 - 18px);
}
.case-item .caseImage-flex img {
	width: 100%;
	height: 100%;
}
.case-item .case-title {
	font-size: 1.3em;
	line-height: 1.4;
	margin-top: 12px;
}


/* 投稿なしのとき */
.case-ready {
	display: block;
	width: 100%;
	margin: 10% 0;
	text-align: center;
}

@media screen and (max-width: 768px) {
	.case-item .caseImage-flex:before {
		width: 30px;
		height: 30px;
	}
	.case-item .caseImage-flex .caseImage-flex___before {
		width: calc(100% / 2 - 9px);
	}
	.case-item .caseImage-flex .caseImage-flex___after {
		width: calc(100% / 2 - 9px);
	}
	.case-item .case-title {
		font-size: 1.1em;
	}
}

