a {
	text-decoration-line: none;
}
ul li {
	list-style: none;;
}
/*マップイラスト*/
#map-illust img{
	width: 100%;
}
.title {
	margin-top: 20%;
}
/*駅名ボタン01*/
.train01 {
	display: inline-block;
	font-size: 18px;
	font-weight: bold;
	color: #89b8e3;
	border: 3px solid #89b8e3;
	padding: 23px 60px 12px 30px;
	transition: all 0.2s;
	position: relative;
	z-index: 1;
}
.train01::before {
	content: "";
	background: #89b8e3;
	width: 0;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	transition: all 0.2s;
}
.train01::after {
	content: "";
	width: 10px;
	height: 10px;
	border-top: 3px solid #89b8e3;
	border-right: 3px solid #89b8e3;
	transform: rotate(45deg);
	position: absolute;
	top: 0;
	bottom: 0;
	right: 20px;
	margin: auto;
	transition: all 0.2s;
}
.train01:hover {
	color: #fff;
}
.train01:hover::before {
	width: 100%;
}
.train01:hover::after {
	border-top: 3px solid #fff;
	border-right: 3px solid #fff;
	right: 12px;
}
/*駅名ボタン02*/
.train02 {
	display: inline-block;
	font-size: 18px;
	font-weight: bold;
	color: #7abdb8;
	border: 3px solid #7abdb8;
	padding: 23px 60px 12px 30px;
	transition: all 0.2s;
	position: relative;
	z-index: 1;
}
.train02::before {
	content: "";
	background: #7abdb8;
	width: 0;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	transition: all 0.2s;
}
.train02::after {
	content: "";
	width: 10px;
	height: 10px;
	border-top: 3px solid #7abdb8;
	border-right: 3px solid #7abdb8;
	transform: rotate(45deg);
	position: absolute;
	top: 0;
	bottom: 0;
	right: 20px;
	margin: auto;
	transition: all 0.2s;
}
.train02:hover {
	color: #fff;
}
.train02:hover::before {
	width: 100%;
}
.train02:hover::after {
	border-top: 3px solid #fff;
	border-right: 3px solid #fff;
	right: 12px;
}

/*各駅名*/
.trainbutton {
	margin: 5% auto;
	display: flex;
	gap: 10rem;
	width: fit-content;
}

/*行き方タイトル*/
/*JR*/
.train-title-jr {
	display: inline-block;
	font-size: 18px;
	font-weight: bold;
	color: #89b8e3;
	border: 3px solid #89b8e3;
	padding: 23px 12px 12px 23px;
	max-width: 30%;
}
/*大阪メトロ*/
.train-title-metro {
	display: inline-block;
	font-size: 18px;
	font-weight: bold;
	color: #7abdb8;
	border: 3px solid #7abdb8;
	padding: 23px 12px 12px 23px;
	max-width: 30%;
}

/*道順*/
.item {
	max-width: 50%;
	margin: 0 auto;
}
ul.item li.list {
	position: relative;
}
.image img {
	width: 100%;
}
h3 {
	font-size: 1.4rem;
	margin-bottom: 15%;
}
.h3.title {
	text-align: center;
	padding: 1rem 0;
}

/*JR 色*/
.number-jr {
	background-color: #89b8e3;
	color: #fff;
	font-weight: bold;
	font-size: 20px;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: -20px;
	left: -20px;
}
.jr {
	font-size: 1.5rem;
	color: #89b8e3;
}

/*大阪メトロ 色*/
.number-metro {
	background-color: #7abdb8;
	color: #fff;
	font-weight: bold;
	font-size: 20px;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: -20px;
	left: -20px;
}
.metro{
	font-size: 1.5rem;
	color: #7abdb8;
}

@media screen and (max-width: 956px) {
	.title {
	margin-top: 50%;
	}
	ul.item {
		flex-wrap: wrap;
		max-width: 420px;
	}
	ul.item li.list {
		width: 100%;
		margin-right: 0;
		margin-bottom: 3rem;
	}
	li.list:last-child {
		margin-bottom: 0;
	}
	ul.item li.list {
		min-height: auto;
	}
}
