* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

.container {
  text-align: center;
  padding: 60px 40px;
  max-width: 500px;
  width: 90%;
}

.error-title {
  font-size: 28px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.error-message {
  font-size: 16px;
  color: #666;
  margin-bottom: 35px;
  line-height: 1.6;
}

.home-button {
  display: inline-block;
  padding: 14px 40px;
  background: #000000;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.home-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: #333333;
}

.home-button:active {
  transform: translateY(0);
}

@media (max-width: 600px) {
  .error-title {
    font-size: 22px;
  }

  .error-message {
    font-size: 14px;
  }

  .container {
    padding: 40px 30px;
  }
}
