@charset "utf-8";
@import url('https://www.nta.co.jp/akafu/east/common/css/common.css');
@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@300;400;500&display=swap');
@import url('https://use.fontawesome.com/releases/v5.6.3/css/all.css');

/* CSS Document */
html {
	scroll-behavior: smooth;
}

#wrapper {
	width: 100%;
	/*max-width:970px;*/
	margin: 0 auto 10px;
	padding: 0 0 50px;
	font-size: 14px;
	line-height: 1.6;
	font-family: 'Kiwi Maru', serif;
	overflow: hidden;
}

#wrapper * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

#wrapper a {
	word-break: break-all;
}

#wrapper h2,
#wrapper h3,
#wrapper h4 {
	font-weight: bold;
}

/*--------common-------------*/
@media screen and (min-width: 760px) {
	.pc_none {
		display: none;
	}

	.sp_br {
		display: none;
	}
}

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

	.sp_none {
		display: none;
	}
}

.disnon {
	display: none;
}

.text_red {
	color: #B20202;
}

.text_bold {
	font-weight: bold;
}

.text_normal {
	font-weight: normal;
}

.text_center {
	text-align: center;
}

.text_font_sans {
	font-family: 'Noto Sans JP', sans-serif;
}

.attention {
	font-size: 90%;
	text-indent: -1em;
	margin-left: 1em;
	margin-bottom: 5px;
}

.marker {
	background: linear-gradient(transparent 80%, #ffd22c 80%);
	font-weight: bold;
}

a.godetail {
	width: 80%;
	max-width: 350px;
	display: flex;
	margin: 0 auto 15px;
	height: 60px;
	justify-content: center;
	align-items: center;
	text-align: center;
	text-decoration: none;
	border: 3px solid #0080cb;
	border-radius: 30px;
	font-size: 130%;
	font-weight: bold;
	cursor: pointer;
	background-image: url("../images/arrow.svg");
	background-repeat: no-repeat;
	background-position: center right 20px;
	background-size: 30px;
	padding-right: 20px;
	background-color: #FFFFFF;
	color: inherit;
}

a.godetail:hover {
	background-color: rgba(0, 128, 203, 0.2);
	color: #0080cb !important;
	text-decoration: none !important;
}

a.godetail.gray {
	background-color: rgba(0, 0, 0, 0.2);
	color: #000000 !important;
	border: 3px solid #000000;
	background-image: none;
	padding-right: 0;
	pointer-events: none;
}

a.btn_hp {
	width: 80%;
	max-width: 350px;
	display: flex;
	margin: 0 auto 40px;
	height: 60px;
	justify-content: center;
	align-items: center;
	text-align: center;
	text-decoration: none;
	border-radius: 20px;
	font-size: 120%;
	font-weight: bold;
	cursor: pointer;
	background-image: url("../images/arrow.svg");
	background-repeat: no-repeat;
	background-position: center right 20px;
	background-size: 30px;
	padding-right: 20px;
	background-color: rgba(0, 128, 203, 0.2);
	color: inherit;
}

a.btn_hp:hover {
	opacity: 0.8;
	background-color: rgba(0, 128, 203, 0.2);
	color: #0080cb !important;
	text-decoration: none !important;
}

@media screen and (max-width: 759.9px) {
	a.btn_hp {
		width: 80%;
		font-size: 110%;
		background-image: url("../images/arrow.svg");
		background-repeat: no-repeat;
		background-position: center right 10px;
		background-size: 25px;
		padding-right: 15px;
	}
}

.deco {
	font-weight: normal;
	display: inline-block;
	padding: 0 20px;
	background: url("../images/deco_left.png") no-repeat center left, url("../images/deco_right.png") no-repeat center right;
	background-size: 15px auto;
}

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

	a.godetail {
		width: 80%;
		height: 60px;
		margin: 0 auto 10px;
		font-size: 90%;
	}

	.deco {
		display: inline-block;
		padding: 0 16px;
		background: url("../images/deco_left.png") no-repeat center left, url("../images/deco_right.png") no-repeat center right;
		background-size: 12px;
	}
}

p.credit {
	position: absolute;
	bottom: 10px;
	right: 10px;
	background: rgba(0, 0, 0, 0.6);
	padding: 0 10px;
	border-radius: 10px;
	font-size: 12px !important;
	color: #FFFFFF;
}

@media screen and (max-width: 759.9px) {
	p.credit {
		font-size: 10px !important;
	}
}

/*--------.page_roof-------------*/
.page_roof {
	width: 100%;
	margin-bottom: 30px;
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}

.page_roof .mainvisual {
	display: flex;
	justify-content: center;
	align-items: center;
}

.page_roof .photo,
.page_roof h2 {
	width: 50%;
	height: 100%;
}

.page_roof img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media screen and (max-width: 759.9px) {
	.page_roof {
		margin-bottom: 20px;
	}
}

/*-------------トップリード --------------*/
#pageTopLead {
	width: 100%;
	margin-bottom: 60px;
}

#pageTopLead>.inner {
	width: 100%;
	max-width: 970px;
	margin: 0 auto;
}

#pageTopLead .about {
	text-align: center;
}

#pageTopLead .about h2 {
	font-size: 200%;
	line-height: 1.8;
	font-weight: bold;
	text-align: center;
}

#pageTopLead .about p {
	font-size: 160%;
	line-height: 1.8;
}

#pageTopLead .about img {
	max-width: 100%;
	height: auto;
}

#pageTopLead .toplead {
	width: 90%;
	margin: 0 auto;
	padding: 20px;
	border-radius: 20px;
	background: #F2FBB2;
}

#pageTopLead .toplead p {
	font-size: 160%;
	line-height: 1.8;
	text-align: center;
}

@media screen and (max-width: 759.9px) {
	#pageTopLead .about h2 {
		font-size: 180%;
	}

	#pageTopLead .about p {
		font-size: 140%;
	}

	#pageTopLead .toplead p {
		font-size: 140%;
	}
}

/*-------------ページコンテンツ   --------------*/
.pageContent {
	width: 100%;
}

.pageContent .inner {
	width: 95%;
	max-width: 970px;
	margin: 0 auto;
}

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

	.pageContent {
		width: 100%;
		margin-bottom: 20px;
	}
}

.pageContent .title {
	width: fit-content;
	margin: 0 auto 20px;
	background: url("../images/bg_railroad.svg")repeat-x bottom center;
	background-size: auto 15px;
	padding: 0 40px 20px;
}

.pageContent .title h2 {
	width: 100%;
	margin: 0 0 0 auto;
	font-size: 220%;
	text-align: left;
	line-height: 1.4;
}

@media screen and (max-width: 759.9px) {
	.pageContent .title {
		background: url("../images/bg_railroad.svg")repeat-x bottom left;
		background-size: auto 12px;
		padding: 0 10px 16px;
	}

	.pageContent .title h2 {
		width: 100%;
		margin: 0;
		font-size: 180%;
		line-height: 1.4;
	}
}

.tc_blue {
	color: #0080CB;
}

.tc_green {
	color: #00A63A;
}

.tc_red {
	color: #dc143c;
}

.tc_yellow {
	color: #FFE655;
}

.bg_red {
	color: #FFFFFF;
	background: #dc143c;
	padding: 0 10px 2px;
}

/*------------イベント専用列車-------------*/
#introtrain {
	background: rgba(0, 0, 120, 0.1);
	padding: 30px 0;
}

#introtrain h3 {
	text-align: center;
}

#introtrain h3 img {
	max-width: 100%;
	margin-bottom: 10px;
}

#introtrain dl {
	display: flex;
	width: 90%;
	max-width: 800px;
	margin: 0 auto 5px;
	border-bottom: 1px dotted #CCC;
	padding: 5px 0;
}

#introtrain dl dt {
	width: 13em;
	text-align: right;
}

#introtrain dl dd {
	width: calc(100% - 13em);
}

@media screen and (max-width: 759.9px) {
	#introtrain dl {
		display: block;
		width: 80%;
		max-width: 800px;
		margin: 0 auto 5px;
		border-bottom: 1px dotted #CCC;
		padding: 5px 0;
	}

	#introtrain dl dt {
		width: 100%;
		text-align: left;
		font-weight: bold;
		margin-bottom: 3px;
	}

	#introtrain dl dd {
		width: 100%;
		padding-left: 0.5em;
	}
}

#introtrain .inside {
	text-align: center;
}

#introtrain .inside h3 {
	width: fit-content;
	color: #000078;
	font-size: 200%;
	margin: 20px auto 10px;
	padding: 0 30px 2px;
	background: #FFFFFF;
	border-radius: 30px;
	line-height: 1.2;
}

#introtrain .inside img {
	width: 70%;
	border: 2px solid #000078;
	padding: 5px;
	margin-bottom: 10px;
}

#introtrain .inside p {
	margin-bottom: 10px;
}

@media screen and (max-width: 759.9px) {
	#introtrain .inside h3 {
		font-size: 160%;
	}
}

/*-------------イベント紹介-------------*/
#eventinfo .event {
	width: 680px;
	margin: 0 auto 40px;
	border: 1px solid #d0e3ff;
	padding: 10px 20px;
	position: relative;
	/* 疑似要素配置のため追加 */
	overflow: hidden;
	/* オーバーレイはみ出し防止 */
}

#eventinfo .event h3 {
	color: #000078;
	margin: 0 auto 5px;
	font-size: 160%;
	text-align: center;
}

.hold_wrap {
	/*display: flex;*/
	margin-bottom: 10px;
}

.hold {
	width: 20%;
	padding: 6px 5px 0px 7px;
	background-color: #ffd900;
	text-align: center;
	transform: rotate(-6deg);
	font-size: 140%;
	font-weight: 600;

}

#eventinfo .event p.date {
	background: rgba(251, 211, 212, 0.6);
	width: fit-content;
	color: #000078;
	text-align: center;
	/*margin: 0 15% 10px 5%;*/
	margin: 0 auto 15px;
	padding: 5px 30px;
	font-size: 120%;
	border-radius: 20px;
}

#eventinfo .event p.comment {
	text-align: left;
	font-size: 120%;
}

#eventinfo .event .banner {
	width: 100%;
	position: relative;
	margin: 20px 0;
}

#eventinfo .event .banner img {
	width: 100%;
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2), -2px 0 2px rgba(0, 0, 0, 0.2);
}

#eventinfo .event .banner.gray {
	background: #000;
}

#eventinfo .event .banner.gray img {
	opacity: 0.6;
	box-shadow: none;
}

#eventinfo .event.soldout::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	z-index: 10;
	pointer-events: none;
}

/* soldoutラベルを最前面に */
#eventinfo .event.soldout::after {
	content: "本年度の開催は終了いたしました";
	position: absolute;
	transform: rotate(-10deg);
	background-color: #C50B0E;
	opacity: 0.8;
	height: 50px;
	width: 80%;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #FFFFFF;
	font-size: 130%;
	top: 45%;
	left: 0;
	right: 0;
	z-index: 100;
	pointer-events: none;
}

@media screen and (max-width: 759.9px) {
	#eventinfo .event {
		width: 95%;
		margin: 0 auto 30px;
		border: 1px solid #d0e3ff;
		padding: 10px 10px;
	}

	#eventinfo .event h3 {
		font-size: 140%;
	}

	.hold_wrap {
		display: block;
	}

	.hold {
		width: 40%;
		margin: 0 auto;
		padding: 3px 3px 3px 5px;
		transform: rotate(-4deg);
	}

	#eventinfo .event p.date {
		padding: 3px 10px;
		font-size: 110%;
		width: 100%;
		margin: 0 auto 10px;
	}

	#eventinfo .event p.comment {
		font-size: 100%;
	}

	#eventinfo .event .banner {
		margin: 15px 0;
	}
}

/*-------------モデルコース------------*/
#modelcourse {
	padding-top: 40px;
}

#modelcourse ul {
	width: 50%;
	margin: 0 auto 60px;
}

#modelcourse ul li {
	width: 100%;
	text-align: center;
	border: 2px solid #000078;
	border-radius: 30px;
	padding: 5px;
}

#modelcourse ul li h3 {
	font-size: 160%;
}

#modelcourse ul li h3 span {
	font-size: 80%;
	font-weight: normal;
}

#modelcourse ul li.arrow {
	border: none;
	height: 50px;
	background: url("../images/arrow_down.png")no-repeat center;
	background-size: auto 50%;
}

#modelcourse ul li p {
	font-size: 100%;
}

#modelcourse ul li p.time {
	font-size: 110%;
	color: #681281;
}

@media screen and (max-width: 759.9px) {
	#modelcourse ul {
		width: 90%;
		margin: 0 auto 40px;
	}

	#modelcourse ul li h3 {
		font-size: 140%;
	}

	#modelcourse ul li.arrow {
		height: 40px;
	}

	#modelcourse ul li p {
		font-size: 100%;
	}

	#modelcourse ul li p.time {
		font-size: 110%;
		color: #681281;
	}
}





/*-------------電車アニメ-------------*/
.demo_item {
	width: 50px;
	height: 50px;
	background-image: url("../images/train.svg");
	background-size: 100% 100%;
	background-position: 0 0;
	background-repeat: no-repeat;
	display: block;
	position: relative;
}

.demo_item.anime {
	animation-name: upDown;
	animation-iteration-count: infinite;
	animation-duration: 0.2s;
	animation-direction: alternate;
	animation-timing-function: steps(2);
	transition-duration: .3s;
	transition-property: transform;
}

.demo_stage {
	position: relative;
	width: 100%;
	height: 65px;
	top: 0px;
	display: block;
	background: url("../images/bg_railroad.svg")repeat-x bottom left;
	background-size: auto 15px;
	margin: 30px auto 60px;
}

.demo_stage ul.station {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.demo_stage ul.station li {
	border: 1px solid #CCC;
	border-radius: 20px;
	padding: 0 20px;
}

.demo_wrap {
	display: block;
	position: absolute;
	/*top: 20px;*/
	bottom: 10px;
	animation-fill-mode: forwards;
	animation-timing-function: linear;
	animation-duration: 15s;
	animation-iteration-count: 1;
	margin-right: -25px;
}

.demo_wrap.goleft {
	animation-name: GoLeft;
}

.demo_wrap.goright {
	animation-name: GoRight;
}

.goright>.demo_item {
	transform: rotateY(180deg);
}

@keyframes GoLeft {
	0% {
		right: 10%;
	}

	100% {
		right: 90%;
	}
}

@keyframes GoRight {
	0% {
		right: 90%;
	}

	100% {
		right: 10%;
	}
}

@keyframes upDown {
	0% {
		top: 0;
	}

	100% {
		top: 3px;
	}
}

/*-------------autoslide-------------*/
#autoslide_area {
	width: 100%;
	margin-bottom: 30px;
}

#autoslide_area .swiper-slide p {
	font-size: 100%;
	text-align: center;
	margin-bottom: 10px;
}

#autoslide_area .swiper-slide img {
	width: 100%;
	height: auto;
}

/*-----autoslideSwiper-------自動で流れる------------*/
.swiper-container.autoslide .swiper-wrapper {
	transition-timing-function: linear !important;
}

.swiper-container.autoslide .swiper-slide .photo {
	position: relative;
}

.swiper-container.autoslide .swiper-slide p.attention {
	text-align: left !important;
	font-size: 12px !important;
	line-height: 1.4;
}

@media screen and (max-width: 759.9px) {
	.swiper-container.autoslide .swiper-slide p.attention {
		font-size: 10px !important;
	}
}