﻿/* CSS Document */

:root 
{
	--font-color: #fff;

	--link-color: #EF858C;
	--next-btn-color: #ef858c;
	--next-link-on-color: #ffaf2e;

}

.next_box,
.next_box_right,
.next_box_return,
.next_box_center
{
	padding-right: 0px;
	padding-left: 0px;
	padding-top: 30px;
	text-align: left;
	margin-top: 10px;
	margin-bottom: 0px;
	position: relative;
}

.next_box_return,
.next_box_center
{
	text-align: center;
}

.next_box_right
{
	text-align: right;
}

.next_box a,
.next_box_right a,
.next_box_return a,
.next_box_center a
{
	font-size: 16px;
	line-height: 1;
	color: #fff;
	display: inline-block;
	background-color: var(--next-btn-color);
	border-radius: 4px;
	padding-top: 14px;
	padding-right: 30px;
	padding-bottom: 14px;
	padding-left: 30px;
	position: relative;
	z-index: 1;
	overflow: hidden;
}

.next_box_return a
{
	padding-top: 20px;
	padding-bottom: 20px;
	border-radius: 30px;

}

.next_box a::after,
.next_box_right a::after,
.next_box_return a::after,
.next_box_center a::after
{
	font-family: "Font Awesome 6 Free";
	content: '\f35a';
	font-weight: normal;
	margin-left: 10px;
	color: #fff;
}

.next_box_return a::after
{
}

.next_box a::before,
.next_box_right a::before,
.next_box_return a::before,
.next_box_center a::before
{
	background: rgba(255,255,255,0.25);
	background-color: var(--next-link-on-color);
	position: absolute;
	bottom: 0;
	left: 0;
	content: '';
	width: 100%;
	height: 100%;
	transform: scale(0, 1);
	transform-origin: left top;
	transition: transform .3s;
	z-index: -1;
}

.next_box a:hover,
.next_box_right a:hover,
.next_box_return a:hover,
.next_box_center 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;
}

.next_box a:hover::before,
.next_box_right a:hover::before,
.next_box_return a:hover::before,
.next_box_center a:hover::before
{
	transform-origin: left top;
	transform: scale(1, 1);
}

.next_box a:hover::after,
.next_box_right a:hover::after,
.next_box_return a:hover::after,
.next_box_center 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;

}



/* タブレット以下 */
@media screen and (max-width: 1199px) 
{
	a:hover
	{
		color: inherit !important;
	}

	.next,
	.next_center
	{
		padding-top: 60px;
	}

	.next a,
	.next_center a 
	{
		/* 下地横線 */
		border-bottom: 2px solid #000;
	}

	.next a::before,
	.next_center a::before
	{
		background: #000;
	}



}

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



}

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


.next_box,
.next_box_right
{
	text-align: center;
}

.next_box a,
.next_box_right a,
.next_box_return a,
.next_box_center a
{
	font-size: 16px;
	line-height: 1;
	position: relative;
	padding-top: 14px;
	padding-bottom: 14px;
	padding-left: 10px;
	padding-right: 10px;
	margin-bottom: 0px;
}

.next_box_return a
{
	padding-right: 20px;
	padding-left: 20px;
}

article .view_more a
{
	font-size: 20px;
	padding-top: 20px;
	padding-bottom: 20px;
	padding-left: 20px;
}

.next_box a:after,
.next_box_right a:after,
.next_box_return a:after,
.next_box_center a:after,
article .view_site a:after
{
}


.next_box a:after,
.next_box_right a:after,
.next_box_center a:after
{
	margin-left: 10px;
}

.next_box_return a:before
{
	margin-right: 10px;
}



.next_box a:hover:before,
.next_box_right a:hover:before,
.next_box_return a:hover:before,
.next_box_center a:hover:before
{
	transform: translateY(-50%);
}




}


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

}