@charset "utf-8";


.to_link {
	width: 240px;
	margin: 0 auto;
	font-size: 18px;
	font-weight: 500;
	font-family: 'Noto Sans JP', sans-serif;
	clear: both;
}
.to_link a {
	display: block;
	width: 240px;
	height: 58px;
	line-height: 56px;
	background: #9C1014;
	color: #FFF;
	text-align: center;
	text-decoration: none;
	position: relative;
	box-shadow: 4px 4px 0px 1px #CCC;
}
.to_link a:after{
	content: '';
	display: block;
	width: 8px;
	height: 8px;
	border-top: 2px solid #FFF;
	border-right: 2px solid #FFF;
	position: absolute;
	top: 24px;
	right: 15px;
	transform: rotate(45deg); 
}
.to_link.prev a:after{
	width: 8px;
	height: 8px;
	border-top: 2px solid #FFF;
	border-right: none;
	border-left: 2px solid #FFF;
	position: absolute;
	top: 24px;
	left: 15px;
	transform: rotate(-45deg); 
}


h3.lead {
	color: #B61D23;
	font-weight: 600;
	text-align: center;
	font-size: 30px;
	margin: 0 0 40px;
}


@media(max-width: 767px) {
.to_link {
	width: 60%;
	font-size: 15px;
}
.to_link a {
	width: auto;
	height: 42px;
	line-height: 40px;
	background: #9C1014;
	color: #FFF;
	text-align: center;
	text-decoration: none;
	position: relative;
	box-shadow: 2px 2px 0px 1px #CCC;
	border-radius: 4px;
}
.to_link a:after{
	top: 14px;
	right: 15px;

}
	
h3.lead {
	font-size: 20px;
	margin: 0 0 20px;
}	
}




div.wp-pagenavi {
	clear: both;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	font-size: 16px;
	transform: translateX(4px);
	margin: 0 0 50px;
	font-family: 'Roboto', sans-serif;
	line-height: 1.0;
}
div.wp-pagenavi.first {
	transform: translateX(24px);	
}
div.wp-pagenavi.last {
	transform: translateX(-17px);	
}
div.wp-pagenavi:after {
    content: ".";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}
div.wp-pagenavi a,
div.wp-pagenavi span {
	border: none;
	color: #FFF;
}
div.wp-pagenavi span.current {
	color: #FFF;
	background: #b61d23;	
}
div.wp-pagenavi span.pages {
	display: none;	
}

div.wp-pagenavi span,
div.wp-pagenavi a {
	background: none;
	color: #b61d23;
	border: 1px solid #b61d23;
	text-decoration: none;
	height: 30px;
	line-height: 30px;
	padding: 0 10px;
	margin: 0 5px;
	background: none;
}


div.wp-pagenavi a.previouspostslink,
a.prev.page-numbers {
	text-indent: -9999px;
	display: inline-block;
	position: relative;
	margin-right: 21px;
	background: none;
	border: none;
}
div.wp-pagenavi a.nextpostslink,
a.next.page-numbers {
	text-indent: -9999px;
	display: inline-block;
	position: relative;
	margin-left: 21px;
	background: none;
	border: none;
}
div.wp-pagenavi a.previouspostslink:after,
a.prev.page-numbers:after {
	content: '';
	display: block;
	width: 8px;
	height: 8px;
	position: absolute;
	top: 10px;
	right: 0;
	border-top: 2px solid #b61d23;
	border-left: 2px solid #b61d23;
	transform: rotate(-45deg);
}
div.wp-pagenavi a.nextpostslink:after,
a.next.page-numbers:after {
	content: '';
	display: block;
	width: 10px;
	height: 10px;
	position: absolute;
	top: 10px;
	left: 0;
	border-right: 2px solid #b61d23;
	border-bottom: 2px solid #b61d23;
	transform: rotate(-45deg);
}
.wp-pagenavi a:hover, .wp-pagenavi span.current {
	border-color: #9C1014!important;
}
div.wp-pagenavi a:hover{
	opacity: 0.7;
}
a.previouspostslink {
	position: relative;
	text-indent: -9999px;
	overflow: hidden;
}

.mgnb20 {
	margin-bottom: 20px!important;	
}
.mgnb50 {
	margin-bottom: 50px!important;	
}

@media(max-width: 767px) {
div.wp-pagenavi.first {
	transform: translateX(0);	
}	
}


/* THANKS */

.page_thanks .wrap {
	min-height: 30vh;
	text-align: center;
}
.page_thanks .wrap p {
	margin-bottom: 3em;	
}