:root 
{
	/** 改ページナビの色 */
	--page-color: #EF858C;

	/** 背景色 */
	--body-bg-color: #fff;

}

.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-flex;
	align-items: center;
	justify-content: center;

	background-color: var(--page-color);
	color: #FFF;
	text-decoration: none;
	border: 1px solid var(--page-color);
	border-radius: 4px;
	padding: 0px;
	height: 44px;
	width: 44px;
	line-height: 1;
}

.page_off
{
	color: #ddd;
	display: inline-block;
	padding-top: 6px;
	padding-right: 12px;
	padding-bottom: 6px;
	padding-left: 12px;
	text-decoration: none;
}
#page a
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0px;
	text-decoration: none;
	color: #333;
	background: var(--body-bg-color);
	border: 1px solid #ddd;
	border-radius: 4px;
	height: 44px;
	width: 44px;
	line-height: 1;
	transition-duration: 0.2s;

}

#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 #ddd;
	border-radius: 4px;
	height: auto;
	width: auto;
	line-height: 1;
}



#page a:hover
{
	color: var(--page-color) !important;
	border: 1px solid var(--page-color);
	transition-duration: 0.2s;

}

#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: #333;

}

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

#page  .page_top:hover:before,
#page  .page_back:hover:before
{
	color: var(--page-color);
}

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

#page  .page_last:hover:after,
#page  .page_next:hover:after
{
	color: var(--page-color);
}


#page  .page_top,
#page  .page_back,
#page  .page_last,
#page  .page_next
{
}

#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: #ddd;
}


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


.return
{
	clear: both;
	padding-top: 40px;
	text-align: center;
}

.return ul
{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: auto;
	padding: 0px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}

.return ul li
{
	display: block;
	width: auto;
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	text-align: center;
}

.return ul li:first-child,
.return ul li:last-child
{
	width: 48px;
}

.return ul li a
{

	position: relative;
	z-index: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	width: 48px;
	height: 48px;
	padding: 0px;
	border-radius: 50%;
	background: var(--base-color01);
	color: #fff;
	font-size: 18px;
	line-height: 100%;
	transition: .3s;
}

.return ul li a::before
{
	content: '';
	position: absolute;
	top: 0;
	width: 0%;
	height: 100%;
	transform: translateX(0%);
	background: rgba(255,255,255,0.25);
	transition: width 0.4s ease;
}

.return ul li:first-child a::before
{
	right: 0%;
}

.return ul li:last-child a::before
{
	left: 0%;
}

.return ul li:nth-child(2)::before
{
	left:50%
	width: 100%;
	height: 100%;
	transform: translateX(-50%) scaleX(0);
}

.return ul li a:hover
{
	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;
}

.return ul li:nth-child(2)
{
	width: auto;
}

.return ul li:nth-child(2) a
{
	width: auto;
	color: #fff;
	background-color: var(--base-color01);
	line-height: 1;
	letter-spacing: 0.08em;
	padding: 0px 20px;
	font-size: 24px;
	line-height: 1;
	padding-top: 20px;
	padding-bottom: 20px;
	border-radius: 30px;

}

.return ul li:nth-child(2) a::after
{
	font-family: "Font Awesome 6 Free";
	content: '\f3e5';
	font-weight: 900;
	margin-left: 10px;
	color: #fff;
}


.return ul li:nth-child(2) a:hover
{
	-moz-transition-duration: 0.2s;
	-webkit-transition-duration: 0.2s;
	-o-transition-duration: 0.2s;
	-ms-transition-duration: 0.2s;
	transition-duration: 0.2s;
	color: #FFF !important;
}

.return ul li a:hover::before
{
	width: 120%;
}

.return ul li:last-child a:after
{
	content: none;

}


.return a:hover 
{
	-moz-transition-duration: 0.2s;
	-webkit-transition-duration: 0.2s;
	-o-transition-duration: 0.2s;
	-ms-transition-duration: 0.2s;
	transition-duration: 0.2s;
	color: #FFF !important;
}


@media screen and (min-width:1200px)
{

}

@media screen and (max-width: 979px) 
{

}

@media screen and (min-width:768px) and (max-width:979px)
{




}

@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_off::before,
	.page_off::after
	{
		color:#ccc !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: 0px;
		padding-right: 0px;
		padding-bottom: 0px;
		padding-left: 0px;
		width: 19.6%;
		display: inline-flex;
		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: #ddd;
	}


	.return a 
	{
		font-size: 14px;
	}

	.return ul
	{
		gap: 8px;
	}

	.is-no-flex-gap .return ul
	{
		gap: 0px;
	}

	.is-no-flex-gap .return ul li
	{
		margin-right: 8px;
	}

	.is-no-flex-gap .return ul li:last-child
	{
		margin-right: 0px;
	}

	.return ul li
	{
		width: auto;
	}

	.return ul li:first-child,
	.return ul li:last-child
	{
		width: 44px;
	}

	.return ul li a
	{
		width: 44px;
		height: 44px;
	}

	.return ul li:nth-child(2) a
	{
		font-size: 16px;
	}


}


@media screen and (max-width:599px) and (orientation: portrait)
{

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

}
