
/*--------------------------------------
ページャー
--------------------------------------*/
.pagenation {
	text-align: center;
}
.pagenation ul {
	margin: 0;
	padding-left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}
.pagenation li {
    list-style: none outside none;
	position: relative;
	line-height: 1.6;
}
.pagenation li a {
    display: block;
    text-decoration: none;
	color: #b4b4b4;
	transition: .3s;
}
.pagenation li a:hover {
    opacity: 0.6;
}
/*active*/
.pagenation li.active {
    cursor: not-allowed;
	padding: 0 1.6rem;
}
.pagenation li.active::before{
	content: " ";
	display: block;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: 1.3rem;
	background-color: #000;
	height: 1px;
}
/*prev next*/
.pagenation li.prev,.pagenation li.next{
	font-size: 1.6rem;
}
.pagenation li.prev a,.pagenation li.next a{
	color: #000;
	position: relative;
}
.pagenation li.prev a::before,.pagenation li.prev a::after,.pagenation li.next a::before,.pagenation li.next a::after{
	content: " ";
	display: block;
	position: absolute;
	background-color: #787878;
	height: 1px;
}
.pagenation li.prev a::before,.pagenation li.next a::before{
	width: 5rem;
	top: 50%;
}
.pagenation li.prev a::after,.pagenation li.next a::after{
	width: 2.5rem;
	top: calc(50% - 0.9rem);
}
.pagenation li.prev a::before{
	left: 0;
}
.pagenation li.prev a::after{
	left: -4px;
	transform: rotate(-50deg);
}
.pagenation li.next a::before{
	right: 0;
}
.pagenation li.next a::after{
	right: -4px;
	transform: rotate(50deg);
}
@media screen and (max-width: 1199px){
	.pagenation li {
		font-size: 1.4rem;
	}
	.pagenation li a {
		padding: 0 1.2rem;
	}
	/*prev next*/
	.pagenation li.prev,.pagenation li.next{
		font-size: 1.2rem;
	}
	.pagenation li.prev a{
		padding: 0 2rem 0 6.4rem;
	}
	.pagenation li.next a{
		padding: 0 6.4rem 0 2rem;
	}
}
@media screen and (min-width: 1200px){
	.pagenation li {
		font-size: 1.8rem;
	}
	.pagenation li a {
		padding: 0 1.6rem;
	}
	/*prev next*/
	.pagenation li.prev,.pagenation li.next{
		font-size: 1.6rem;
	}
	.pagenation li.prev a{
		padding: 0 4rem 0 6.4rem;
	}
	.pagenation li.next a{
		padding: 0 6.4rem 0 4rem;
	}
}

/* Margin and Paddings 
----------------------------------------------------------------------------------------------------*/
.m10 {
	margin: 10px;
}
.m20 {
	margin: 20px;
}
.m40 {
	margin: 40px;
}
.m10-top {
	margin-top: 10px;
}
.m20-top {
	margin-top: 20px;
}
.m30-top {
	padding-top: 30px;
}
.m40-top {
	margin-top: 40px;
}
.m60-top {
	margin-top: 60px;
}
.m80-top {
	margin-top: 80px;
}
.m10-right {
	margin-right: 10px;
}
.m20-right {
	margin-right: 20px;
}
.m40-right {
	margin-right: 40px;
}
.m10-bottom {
	margin-bottom: 10px;
}
.m20-bottom {
	margin-bottom: 20px;
}
.m30-bottom {
	margin-bottom: 30px;
}
.m40-bottom {
	margin-bottom: 40px;
}
.m60-bottom {
	margin-bottom: 60px;
}
.m80-bottom {
	margin-bottom: 80px;
}
.m10-left {
	margin-left: 10px;
}
.m20-left {
	margin-left: 20px;
}

.m40-left {
	margin-left: 40px;
}
.p10 {
	padding: 10px;
}
.p20 {
	padding: 20px;
}
.p40 {
	padding: 40px;
}
.p10-top {
	padding-top: 10px;
}
.p20-top {
	padding-top: 20px;
}

.p40-top {
	padding-top: 40px;
}
.p10-right {
	padding-right: 10px;
}
.p20-right {
	padding-right: 20px;
}
.p40-right {
	padding-right: 40px;
}
.p10-bottom {
	padding-bottom: 10px;
}
.p20-bottom {
	padding-bottom: 20px;
}
.p40-bottom {
	padding-bottom: 40px;
}
.p60-bottom {
	padding-bottom: 60px;
}
.p10-left {
	padding-left: 10px;
}
.p20-left {
	padding-left: 20px;
}
.p40-left {
	padding-left: 40px;
}
/* single.php ページ送り
----------------------------------------------------------------------------------------------------*/
/*prev-next-custom*/
#prev-next-custom{
	display: flex;
	justify-content: space-between;
	border-top: 1px #787878 solid;
}
.single-darkgrey #prev-next-custom{
	border-top-color: #fff;
}
#custom-prev,#custom-next{
	width: 11.8rem;
}
#custom-prev a,#custom-next a{
	position: relative;
	display: block;
	color: #000;
	transition: .3s;
}
#custom-prev a:hover,#custom-next a:hover{
	opacity: 0.6;
	text-decoration: none;
}
#custom-next a{
	text-align: right;
}
#custom-prev a::before,#custom-next a::before{
	content: " ";
	height: 2.4rem;
	position: absolute;
	top: -0.3rem;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}
#custom-prev a::before{
	left: 0;
	background-image: url("../images/custom-prev.svg");
}
.signle-darkgrey #custom-prev a::before{
	background-image: url("../images/custom-prev-grey.svg");
}
#custom-next a::before{
	right: 0;
	background-image: url("../images/custom-next.svg");
}
.signle-darkgrey #custom-next a::before{
	background-image: url("../images/custom-next-grey.svg");
}
#custom-index{
	text-align: center;
}
#custom-index a{
	display: block;
	color: #000;
	transition: .3s;
}
.single-darkgrey #custom-index a,.single-darkgrey #custom-prev a,.single-darkgrey #custom-next a{
	color: #fff;
}
#custom-index a:hover{
	opacity: 0.6;
	text-decoration: none;
}
@media screen and (max-width: 1199px){
	/*prev-next-custom*/
	#prev-next-custom{
		padding-top: 4rem;
	}
	#custom-prev,#custom-next,#custom-index{
		font-size: 1rem;
	}
	#custom-index{
		width: 3rem;
	}
	#custom-prev a,#custom-next a{
		padding-top: 0.4rem;
	}
	#custom-prev a{
		padding-left: 4.5rem;
	}
	#custom-next a{
		padding-right: 4.5rem;
	}
	#custom-prev a::before,#custom-next a::before{
		width: 3.5rem;
	}
	.ci-img{
		margin-bottom: 0.4rem;
	}
	/*single-gallery*/
	.single-gallery-wrap #prev-next-custom{
		margin-top: 5rem;
	}
}
@media screen and (min-width: 1200px){
	/*prev-next-custom*/
	#prev-next-custom{
		padding-top: 8rem;
	}
	#custom-prev,#custom-next{
		font-size: 1.6rem;
	}
	#custom-index{
		font-size: 1.3rem;
		width: 4rem;
	}
	#custom-prev a{
		padding-left: 6.4rem;
	}
	#custom-next a{
		padding-right: 6.4rem;
	}
	#custom-prev a::before,#custom-next a::before{
		width: 5rem;
	}
	.ci-img{
		margin-bottom: 1.2rem;
	}
	/*single-gallery*/
	.single-gallery-wrap #prev-next-custom{
		margin-top: 7.2rem;
	}
}
/* single関連記事
----------------------------------------------------------------------------------------------------*/
.single-related{
	background-color: #eee;
}
.single-related.single-latest{
	background-color: #fff;
}
@media screen and (max-width: 1199px){
	.single-related{
		padding: 6rem 0 1rem;
	}
	.single-related .top-bfont{
		margin-bottom: 2.6rem;
	}
	.top-bfont.single-gallery-related .efont{
		font-size: 3.4rem;
	}
}
@media screen and (min-width: 1200px){
	.single-related{
		padding: 13rem 0 5.6rem;
	}
}
/*--------------------------------
PREV NEXT
---------------------------------*/
#prev_next{
width:100%;
margin: 36px 0 24px;
padding:0;
display: table;
}
#prev_next  #prev, #prev_next  #next{
width: 50%;
padding:30px 10px 10px;
border-top:#ccc 1px solid;
border-bottom:#ccc 1px solid;
display: table-cell;
position:relative;
text-decoration:none;
}
#prev_next #prev p, #prev_next #next p{
font-size:90%;
line-height:1.5;
}
#prev_next #prev:hover, #prev_next #next:hover{
background-color: rgba(238,238,238,0.7);
}
#prev_next #prev{
border-right:#ccc 1px solid;
}
#prev_next #prev_title, #prev_next #next_title{
font-size:90%;
top:-1em;
position:absolute; 
border: 1px #ccc solid;
background:#fff; 
text-align: center;
padding:3px;
color:#666;
}
#prev_next #next_title{
right:10px;
}
#prev_next #prev img, #prev_next #next img{
margin:0 auto;
}
#prev_next #prev_no, #prev_next #next_no{
width: 50%;
height:140px;
padding:0 10px;
display: table-cell;
}
#prev_next #prev_no{
border-right:#ccc 1px solid;
}
#prev_next_home{
	margin: 0 auto;
	background-color: #B2B2B2;
	border: solid 9px #fff;
	width: 100px;
	height: 100px;
	-moz-border-radius: 100px;
	-webkit-border-radius: 100px;
	border-radius: 100px;
	box-shadow: 0 0 0 3px #B2B2B2;
	-webkit-box-shadow: 0 0 0 3px #B2B2B2;
	-moz-box-shadow: 0 0 0 3px #B2B2B2;
	text-align: center;
}
#prev_next_home:hover{
background-color: rgba(244,136,129,0.7);
}
#prev_next_home i{
color:#FFF;
margin:10px auto ;
font-size:60px;
}
/*-- ここまで --*/
/*media Queries PCサイズ
----------------------------------------------------*/
@media only screen and (min-width: 780px) {
/*-- ここから --*/
/*--------------------------------------
768px PREV NEXT
--------------------------------------*/
#prev_next #prev, #prev_next #prev::before, #prev_next #prev::after,
#prev_next #next, #prev_next #next::before, #prev_next #next::after {	
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-transition: all .3s;
transition: all .3s;
}
#prev_next #prev_title, #prev_next #next_title{
padding:3px 10px;
}
#prev_next #next_title{
right:10px;
}
#prev_next #prev img{
float:left;
margin-right:10px
}
#prev_next #next img{
float:right;
margin-left: 10px;
}
}
/*-- ここまで --*/