/* 全体設定 */
body {
  background-color: #f5f5f5;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  margin: 0;
  padding: 40px 20px;
  color: #333;
}

h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

p {
  font-size: 18px;
  margin: 20px 0;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 30px 0;
}

.button-single {
  margin-top: 40px;
}

.nav-button {
  display: inline-block;
  padding: 12px 20px;
  background-color: #ffffff; /* 白背景 */
  color: #000000;            /* 黒文字 */
  text-decoration: none;
  border-radius: 12px;       /* 角を画像に近く丸める */
  font-size: 16px;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
  border: 2px solid #333333; /* 黒っぽい枠線 */
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1); /* 薄い影 */
}

.nav-button:hover {
  background-color: #f0f0f0; /* ホバー時にほんのり灰色 */
  transform: translateY(-2px);
}

.nav-button.disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
  pointer-events: none;
}

/* 戻るボタン（赤ボタン） */
.home-button {
  background-color: #e53935; /* 赤 */
  color: white;
}

.home-button:hover {
  background-color: #c62828; /* 濃い赤に変化 */
}

footer {
  margin-top: 40px;
  font-size: 0.9em;
  color: #888;
}
