@charset "utf-8";

/* ページ内リンク位置調整 */
a.anchor {
    display: block;
    padding-top: 350px;
    margin-top: -350px;
}
@media screen and (min-width:541px) and (max-width: 1024px) {
	
}
@media screen and (max-width: 540px) {
	a.anchor {
		display: block;
		padding-top: 80px;
		margin-top: -80px;
	}
}

/* 下線見出し 中央 */
.udl {
	position: relative;
	text-align: center;
}
.udl::after {
	content: "";
	display: block;
	width: 50px;
	height: 2px;
	background-color: #e71e10;
	position: absolute;
	bottom: -10px;
	left:50%;
	transform: translateX(-50%)
}
.gline::after {
	background-color: #008348;
}

/* ページタイトル */
.mainimg {
	height: 520px;
	background-position:center top;
	background-size: cover;
	background-color: #fff;
	position: relative;
}
.mainimg .inner {
	position: absolute;
	top: 45%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	margin:0;
}
.mainimg .inner .en {
	font-size: 20px;
	font-weight: 400;
	text-align: center;
}
.mainimg .inner .en span {
	padding-left: 18px;
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 14px auto;
}
.mainimg .inner .en span.red {
	background-image: url("../images/icn_y_red.svg");
}
.mainimg .inner .en span.green {
	background-image: url("../images/icn_y_green.svg");
}
/*
.mainimg .inner .red:before {
	content: '';
	display: inline-block;
	width: 19px;
	height: 16px;
	background-image: url("../images/icn_y_red.svg");
	background-repeat: no-repeat;
	background-size: 14px auto;
	background-position: left top;
}
*/
.mainimg .inner h1,
.mainimg .inner h1 span{
	font-size: 54px;
	font-weight: 600;
	padding-top: 25px;
	white-space: nowrap;
}
.movetext span {
	padding: 0 !important;
	margin: 0 !important;
}

/* ページタイトルエフェクト  movetext - X */
.movetext span{opacity: 0;}
.movetext.appeartext span{ animation:text_anime_on 1s ease-out forwards; }
@keyframes text_anime_on {
	0% {opacity:0;}
	100% {opacity:1;}
}

.maintxt{
	animation-name: fadeinLeft;
	animation-duration: 0.8s;
}
@keyframes fadeinLeft {
from {
    opacity: 0;
    transform: translateX(200px);
}
to {
    opacity: 1;
    transform: translateX(0);
}
}
@media screen and (max-width: 540px) {
	@keyframes fadeinLeft {
	from {
		opacity: 0;
		transform: translateX(80px);
	}
	}
}





@media screen and (min-width:541px) and (max-width: 1024px) {
	
}
@media screen and (max-width: 540px) {
	.mainimg {
		height: 240px;
	}
	.mainimg .inner .en {
		font-size: 15px;
	}
	.mainimg .inner h1 {
		font-size: 26px;
		padding-top: 5px;
	}
}

/* 次に見るべきコンテンツ */
.nextbox{
	padding: 70px 0 90px 0;
}
.ftype1 {
	background-color: #f4f4f4;
	/* 赤 */
}
.ftype2 {
	background-color: #909090;
	/* 緑 */
}
.nextbox h3 {
	font-size: 20px;
	font-weight: 500;
	text-align: center;
}
.nextbox p.suben {
	font-size: 13px;
	font-weight: 500;
	color: #e71e10;
	font-family: 'Montserrat', sans-serif;
	text-align: center;
	padding-bottom: 40px;
}
.ftype2 h3,
.ftype2 p.suben{
	color: #fff;
}
.egcap {
	display: flex;
	align-items: center;
	font-size: 13px;
	font-weight: 600;
	font-family: 'Montserrat', sans-serif;
}
.egcap:after {
	content: "";
	width: 110px;
	margin-right: 1em;
}

.txtr{
	color: #e71e10 !important;
}
.txtr:after{
	border-top: 1px solid #e71e10 !important;
}
.txtg{
	color: #008349;
}
.txtg:after{
	border-top: 1px solid #008349 !important;
}


.egcap:after {
  margin-left: 1em;
}
.nextbox .inner {
	max-width: 910px;
	margin: 0 auto;
	position: relative;
}
.nextbox .txtbox {
	position: absolute;
	left: 30px;
	top: 45%;
}
.d2 {
	top: 38% !important;
}
.nextbox .icn {
	position: absolute;
	right: 30px;
	top: 45%;
}
.nextbox .icn img {
	width: 46px;
	height: auto;
}
.nextbox .txtbox p:nth-of-type(1) {
	font-size: 30px;
	font-weight: 600;
	margin-top: 30px;
}
.nextbox .txtbox p:nth-of-type(2) {
	font-size: 17px;
	font-weight: 400;
	padding-top: 35px;
}
@media screen and (min-width:541px) and (max-width: 1024px) {
	
}
@media screen and (max-width: 540px) {
	.nextbox{
		padding: 50px 0 70px 0;
	}
	.nextbox h3 {
		font-size: 16px;
	}
	.nextbox p.suben {
		padding-bottom: 20px;
	}
	.nextbox .inner {
		max-width: none;
		margin: 0 20px;
		position: relative;
	}
	.egcap:after {
		width: 60px;
	}
	.nextbox .txtbox {
		left: 20px;
	}
	.nextbox .icn {
		right: 20px;
	}
	.nextbox .icn img {
		width: 26px;
	}
	.nextbox .txtbox p:nth-of-type(1) {
		font-size: 16px;
		margin-top: 16px;
	}
	.nextbox .txtbox p:nth-of-type(2) {
		font-size: 13px;
		padding-top: 20px;
	}
}