/* ===================================================
   リンクページ 完全版スタイル
=================================================== */

/* ================= メインレイアウト ================= */

main {
  max-width: 1000px;
  margin: 60px auto 80px;
  padding: 0 24px;
}

/* ================= ページタイトル ================= */

main h1 {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: #003366;
  margin-bottom: 50px;
  letter-spacing: 2px;
}

/* ================= セクション ================= */

section {
  margin-bottom: 60px;
}

section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #003366;
  padding-bottom: 12px;
  margin-bottom: 25px;
  border-bottom: 2px solid #e5ecf3;
  letter-spacing: 1px;
}

/* ================= リンクリスト ================= */

.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-list li {
  margin-bottom: 14px;
}

/* リンクカード風 */

.link-list a {
  display: block;
  padding: 16px 22px;
  background: #f7f9fc;
  border-radius: 12px;
  text-decoration: none;
  color: #003366;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #e5ecf3;
}

.link-list a:hover {
  background: #003366;
  color: #ffffff;
  transform: translateX(6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* ================= 戻るボタン ================= */

.back-link {
  text-align: center;
  margin: 100px 0 40px;
}

.back-link a {
  display: inline-block;
  padding: 14px 34px;
  background: #003366;
  color: #fff;
  border-radius: 28px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-link a:hover {
  background: #0055a0;
  transform: translateY(-2px);
}

/* ================= レスポンシブ ================= */

@media (max-width: 768px) {

  main {
    margin: 100px auto 80px;
  }

  main h1 {
    font-size: 2rem;
  }

  section h2 {
    font-size: 1.5rem;
  }

}