@charset "utf-8";

body.menupage {
	min-height: 100vh;
	margin: 0 auto;
/* 	padding: 20px; */
}

body.menupage .content-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/*h1 {
	color: #333;
	margin-bottom: 30px;
}*/

.level-container {
	display: flex;
	flex-direction: column;
	gap: 15px;
	width: 300px;
}

.level-button {
	padding: 15px 30px;
	font-size: 18px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	color: white;
	font-weight: bold;
	text-align: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	position: relative; /* 三角形のために追加 */
	overflow: hidden; /* はみ出した部分を隠す */
	z-index: 0;
}

.level-button:active {
	transform: translateY(2px);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* disabled属性が適用されたボタンのスタイル */
.level-button[disabled] {
	color: #666666; /* 文字色をグレーアウト */
	cursor: not-allowed; /* カーソルを禁止マークに変更 */
	box-shadow: none; /* 影をなくす */
}

/* ホバー時にグレーアウト */
.level-button[disabled]:hover {
	filter: grayscale(100%); /* ホバー時にグレーアウト */
}

.level-button[disabled]:active {
	transform: none; /* クリック時の動きをなくす */
	box-shadow: none; /* クリック時の影をなくす */
}

/* 左上の角に大きな黒い三角形を追加 */
.level-button.status-badge::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	border-top: 100px solid black; /* 三角形の色とサイズ */
	border-right: 100px solid transparent; /* 透明な右側の境界線 */
	pointer-events: none; /* 三角形がクリックイベントを邪魔しないように */
	opacity: 0.4;
}

/* Coming Soon のテキストのスタイル */
.level-button.status-badge .coming-soon {
	position: absolute;
	top: 18px; /* 上からの位置調整 */
	left: 12px; /* 左からの位置調整 */
	color: white;
	font-size: 14px;
	font-weight: bold;
	transform: rotate(-45deg); /* テキストを回転 */
	white-space: nowrap; /* テキストを改行させない */
}

.entry {
	background-color: #4CAF50;
}

.entry:hover {
	background-color: #45a049;
}

.bronze {
	background-color: #CD7F32;
}

.bronze:hover {
	background-color: #B87333;
}

.silver {
	background-color: #C0C0C0;
}

.silver:hover {
	background-color: #A8A8A8;
}

.gold {
	background-color: #FFD700;
	color: #333;
}

.gold:hover {
	background-color: #E6C200;
}

.platinum {
	background: linear-gradient(45deg, #E5E4E2, #FFFFFF);
	color: #333;
}

.platinum:hover {
	background: linear-gradient(45deg, #D1D1D1, #E5E4E2);
}

.back-button {
	margin-top: 20px;
	padding: 10px 20px;
	font-size: 16px;
	border: none;
	border-radius: 5px;
	background-color: #666;
	color: white;
	cursor: pointer;
	transition: background-color 0.3s;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.back-button:hover {
	background-color: #555;
}

.back-button:active {
	transform: translateY(2px);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
