.page_comment
{
	margin-top: 4em;
	text-align: center;
}

.page_empty
{
	clear: both;
	text-align: center;
	margin-bottom: 3em;
}

#page
{
	clear: both;
	text-align: center;
	margin-bottom: 3em;
	color: #333333;
	padding-top: 30px;
	padding-bottom: 8px;

}
#page a,#page .page_off
{
	margin-right: 2px;
	margin-left: 2px;
}

.now_page
{
	display: inline-block;
	background-color: var(--page-color);
	color: #FFF;
	text-decoration: none;
	border: 1px solid var(--page-color);
	border-radius: 22px;
	-webkit-border-radius: 22px;
	-moz-border-radius: 22px;
	padding: 0px;
	height: 44px;
	width: 44px;
	line-height: 44px;
}

.page_off
{
	color: #999;
	display: inline-block;
	padding-top: 6px;
	padding-right: 12px;
	padding-bottom: 6px;
	padding-left: 12px;
	text-decoration: none;
}
#page a
{
	display: inline-block;
	padding: 0px;
	text-decoration: none;
	color: var(--page-color);
	border: 1px solid var(--page-color);
	border-radius: 22px;
	-webkit-border-radius: 22px;
	-moz-border-radius: 22px;
	height: 44px;
	width: 44px;
	line-height: 44px;
}

#page a
{

}

#page  .page_top,
#page  .page_back,
#page  .page_last,
#page  .page_next
{
	display: inline-block;
	padding-top: 12px;
	padding-right: 18px;
	padding-bottom: 12px;
	padding-left: 18px;
	text-decoration: none;
	border: 1px solid var(--page-color);
	border-radius: 30px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	height: auto;
	width: auto;
	line-height: 100%;
}



#page a:hover
{
	color: #fff !important;
	background-color: var(--page-color);

}

#page a:before
{
	transform-origin: unset;
	transform: none;
	transition: none;
	position: static;
	background-color: transparent;
}


#page  .page_top:before,
#page  .page_back:before
{
	font-family: "Font Awesome 5 Free";
	content: '\f100';
	font-weight: 600;
	padding-right: 4px;
	color: var(--page-color);

}

#page  .page_back:before
{
	content: '\f104';
}

#page  .page_top:hover:before,
#page  .page_back:hover:before
{
	color: #fff;
}

#page  .page_last:after,
#page  .page_next:after
{
	font-family: "Font Awesome 5 Free";
	content: '\f101';
	font-weight: 600;
	padding-left: 4px;
	color: var(--page-color);
}

#page  .page_last:hover:after,
#page  .page_next:hover:after
{
	color: #fff;
}


#page  .page_top,
#page  .page_back,
#page  .page_last,
#page  .page_next
{
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

#page  .page_off:before,
#page  .page_off:before,
#page  .page_off:after,
#page  .page_off:after,
#page  .page_off:hover:before,
#page  .page_off:hover:before,
#page  .page_off:hover:after,
#page  .page_off:hover:after{
	color: #999;
}


#page  .page_next:after
{
	content: '\f105';
}


/* PCのみ設定  768 以上*/
@media screen and (min-width:768px)
{

.now_page
{


}
#page a
{

}
}


/* タブレットレイアウト : 768 px 〜 959 px*/
@media screen and (min-width:768px) and (max-width:1199px)
{




}

/* スマホ設定  768 以下*/
@media screen and (max-width:767px)
{


#page
{
	position: relative;
	padding-top: 80px;
	_zoom:1;
	overflow:hidden;

}

#page a
{
	border-radius: 0px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
}


#page .page_top,
#page .page_back,
#page .page_next,
#page .page_last
{
	width: 25%;
	position: absolute;
	left: 0px;
	top: 0px;
	height: auto;
	margin-right: 0px;
	margin-left: 0px;
	padding-top: 20px;
	padding-right: 0px;
	padding-bottom: 20px;
	padding-left: 0px;
	background-color: var(--page-color);
	color: #fff;
	border: 1px solid var(--page-color);
	border-radius: 0px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
}


#page  .page_top:before,
#page  .page_back:before,
#page  .page_last:after,
#page  .page_next:after
{
	color: #fff;
}


.page_off
{
	color: #999999 !important;
	display: inline-block;
	border: 1px solid #f8f8f8 !important;
	padding-top: 6px;
	padding-right: 10px;
	padding-bottom: 6px;
	padding-left: 10px;
	text-decoration: none;
	background-color: #f8f8f8 !important;
}


#page .page_top
{
	border-right-style: none;
}


#page .page_back
{
	left: 25%;
}

#page .page_next
{
	left: auto;
	right: 25%;
}

#page .page_last
{
	left: auto;
	right: 0px;
}

#page .page_no
{
	text-align: left;

}


#page .page_no a,
#page .now_page
{
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
	width: 19.6%;
	display: inline-block;
	text-align: center;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 1em;
	margin-left: 0px;
	float: left;
	border-right-style: none;
	border-radius: 0px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
}

#page .page_no a:nth-child(5n),
#page .page_no a:last-child
{
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: var(--page-color);
}



}