/* ヘッダー全体 */
.site-header {
  background-color: #222;
}

/* ナビゲーション */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #333;
  padding: 8px;
}

/* リンクリスト */
.nav-links {
  display: flex;
  list-style: none;
  z-index:9999;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
  background-color: #333;
}

/* 各リンク */
.nav-links a {
  display: block;
  padding: 0.5rem 1rem;
  color: white;
  background-color: #111;
  text-decoration: none;
  border: 1px solid #444;
  transition: background-color 0.2s;
}

/* ホバー */
.nav-links a:hover {
  background-color: #333;
}

/* ハンバーガーボタン */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

/* --- スマホ・タブレット表示（1024px以下） --- */
@media (max-width: 1024px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px; /* ヘッダーの下に配置 */
    right: 0;
    background-color: #222;
    width: 220px;
    padding: 1rem;
    border-left: 1px solid #444;
    border-bottom: 1px solid #444;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    margin-bottom: 0.5rem;
  }
}

/*  */

/* フッター全体 */
.site-footer {
  background-color: ##1d2443;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #fff;
}

/* 内側コンテナ */
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0 auto;
}

/* 左カラム */
.footer-left {
  flex: 1;
  min-width: 250px;
}
.footer-left p {
  padding-left: 35px;
}

/* 右カラム */
.footer-right {
  display: flex;
  gap: 2rem;
  flex: 2;
  justify-content: flex-end;
  min-width: 250px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* スマホ用 */
@media (max-width: 1024px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .footer-right {
    justify-content: center;
  }
  .footer-left p {
    padding-left: 0px;
  }
}
