@charset "UTF-8";

main {
	width: 100%;
	height: 91dvh;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
}

.card {
	width: 30%;
	height: 80%;
	min-width: 340px;
	max-height: 480px;
	padding: 30px 20px;
	background: rgba(0, 0, 0, 0.5);
	border-radius: 16px;
	border: 5px solid gray;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(5px);
	color: white;
}

.card {
	text-align: center;
	text-decoration: none;
	display: flex;
	flex-direction: column;
}

.card:hover::before {
	content: '開始！';
	font-size: 3em;
	position: absolute;
	top: -1%;
	left: -1.5%;
	width: 100%;
	height: 100%;
	line-height: 100%;
	background-color: #ffffff97;
	color: black;
	border-radius: 16px;
	border: 5px solid gray;
	display: flex;
	justify-content: center;
	align-items: center;
}

.card .title {
	width: 100%;
}

.card .title {
	margin-bottom: 20px;
	font-size: 1.5em;
}

.imgArea {
	overflow: hidden;
	width: 90%;
	margin: 0 auto;
}

.card img {
	width: 100%;
	max-width: 290px;
}

@media screen and (max-width: 500px),
screen and (max-height: 480px) {
	main {
		display: block;
	}

	.card {
		margin: 10px auto;
		min-width: 70%;
		max-height: 45%;
	}

	.card .title {
		margin-bottom: 20px;
	}
}

@media screen and (orientation: landscape) and (max-height: 500px) {
	main {
		display: flex;
	}

	.card {
		min-width: 340px;
		max-height: 350px;
	}

	.card .title {
		margin-bottom: 0;
	}

	.card img {
		max-width: 80%;
	}
}