.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: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	padding: 0px;
	height: 44px;
	width: 44px;
	line-height: 40px;
}

.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: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	height: 44px;
	width: 44px;
	line-height: 40px;
}

#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';
}





article .link_navi
{
	text-align: center;
	width: 600px;
	margin-right: auto;
	margin-left: auto;
}


article .link_navi ul
{
	display: table;
	width: 100%;
	margin: 0px;
	padding: 0px;

}

article .link_navi li
{
	display: table-cell;
	margin: 0px;
	padding: 0px;
	vertical-align: middle;
	list-style-type: none;
}

article .link_navi li:first-child,
article .link_navi li:last-child 
{
	width: 110px;
}

article .link_navi li:first-child a,
article .link_navi li:last-child a
{
	color: var(--btn-color);
	font-size: 16px;
	display: inline-block;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	overflow: hidden;
	position: relative;
	z-index: 1;
	line-height: 40px;
	padding: 0px;
}

article .link_navi li:first-child a span,
article .link_navi li:last-child a span
{
	display: inline-block;
	padding-top: 6px;
	padding-bottom: 6px;
	position: relative;
}



article .link_navi li:first-child a:before
{
	font-family: "Font Awesome 6 Free";
	content: '\f104';
	font-weight: 900;
	margin-right: 20px;
	display: inline-block;
	line-height: 40px;
	border: 1px solid var(--btn-color);
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	height: 40px;
	width: 40px;
}



article .link_navi li:last-child a:after
{
	font-family: "Font Awesome 6 Free";
	content: '\f105';
	font-weight: 900;
	margin-left: 20px;
	display: inline-block;
	line-height: 40px;
	border: 1px solid var(--btn-color);
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	height: 40px;
	width: 40px;
}




article .link_navi li:first-child a:after,
article .link_navi li:last-child a:before
{
	background: var(--btn-color);
	position: absolute;
	top: 0;
	right: 0;
	font-family: "Font Awesome 6 Free";
	content: '\f105';
	font-weight: 900;
	display: inline-block;
	line-height: 40px;
	height: 40px;
	width: 40px;
	font-size: 14px;
	border: 1px solid var(--btn-color);
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	transform: scale(0, 1);
	transform-origin: center top;
	transition: transform .3s;
	z-index: -1;
	margin-top: auto;
	margin-bottom: auto;
	bottom: 0px;
}

article .link_navi li:first-child a:after
{
	right: 0;
}


article .link_navi li:first-child a:after
{
	right: auto;
	left: 0;
}




article .link_navi li:first-child a:hover,
article .link_navi li:last-child a:hover
{
	color: var(--btn-color) !important;
	-moz-transition-duration: 0.6s;
	-webkit-transition-duration: 0.6s;
	-o-transition-duration: 0.6s;
	-ms-transition-duration: 0.6s;
	transition-duration: 0.6s;

}

article .link_navi li:first-child a:hover:before,
article .link_navi li:last-child a:hover:after
{
	color:#FFF !important;
	-moz-transition-duration: 0.6s;
	-webkit-transition-duration: 0.6s;
	-o-transition-duration: 0.6s;
	-ms-transition-duration: 0.6s;
	transition-duration: 0.6s;
}


article .link_navi li:first-child a:hover:after,
article .link_navi li:last-child a:hover:before
{
	transform-origin: center top;
	transform: scale(1, 1);
}

article .link_navi li:first-child a:hover span:after,
article .link_navi li:last-child a:hover span:before
{
  transform-origin: left top;
  transform: scale(1, 1);
}


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

.now_page
{


}
#page a
{

}
}

@media (max-width: 1199px) 
{

}

/* タブレットレイアウト : 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);
}



.return a 
{
	display: inline-block;
	color: #fff;
	width: auto;
	margin-left: auto;
	margin-right: auto;
	transition: .3s;
	font-weight: normal;
	background-color: #333;
	padding-top: 6px;
	padding-right: 10px;
	padding-bottom: 6px;
	padding-left: 10px;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	font-size: 14px;
}



}


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

article .link_navi
{
	text-align: center;
	width: auto;
	margin-right: auto;
	margin-left: auto;
	position: relative;
	padding-top: 100px;
	display: flow-root;
}


article .link_navi ul
{
	width: auto;
	display: flow-root;
}

article .link_navi li
{
	display: block;
	margin: 0px;
	padding: 0px;
}

article .link_navi li:nth-child(2)
{
	text-align: center;
	display: block;
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	position: absolute;
	left: 0px;
	top: 0px;
	right: 0px;
}

article .link_navi li:first-child,
article .link_navi li:last-child 
{
	width: 40%;
}

article .link_navi li:first-child
{
	float: left;
}

article .link_navi li:last-child
{
	float: right;
}

}