/* ============================================================
   page404.css
   ============================================================ */

.error404-section {
  padding: 60px 20px 60px;
  text-align: center;
  margin: 0 auto;
}

/* ---- メイン画像 ---- */
.error404-hero {
  margin: 0 auto 40px;
}

.error404-hero img {
  max-width: 100%;
  width: 1000px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ---- 説明文 ---- */
.error404-message {
  margin-bottom: 40px;
}

.error404-message p {
  font-size: 14px;
  color: #555;
  line-height: 2;
  margin: 0;
}

/* ---- ボタン ---- */
.error404-links {
  display: flex;
  justify-content: center;
}

.error404-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 40px;
  min-width: 280px;
  border-radius: 100px;
  border: 2px solid #0068b6;
  color: #0068b6;
  background: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.error404-btn:hover {
  background: #0068b6;
  color: #fff;
  text-decoration: none;
}

.btn-arrow {
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
}

@media screen and (max-width: 640px) {
  .error404-section {
    padding: 40px 5px 40px;
  }

  .error404-hero img {
    width: 100%;
  }

  .error404-btn {
    min-width: 240px;
    font-size: 14px;
    padding: 14px 32px;
  }
}
