/* ========== footer.css（最適化版：線1本・詰め気味） ========== */
:root{
/* --footer-bg: rgb(13, 3, 63);  --> */
  --footer-bg: rgb(27, 8, 123);
  --footer-fg: #fff;
  --footer-sep: rgba(255,255,255,.35);
  --footer-max: 1140px;
  --footer-pad: 36px 10px 28px;
  --footer-font: "Noto Sans JP","Hiragino Kaku Gothic ProN","Hiragino Sans",
                 "Yu Gothic Medium","Yu Gothic",Meiryo,sans-serif;
}

/* 背景だけフルブリード */
.site-footer{
  position: relative;
  color: var(--footer-fg);
  text-align: center;
  padding: var(--footer-pad);
  font-family: var(--footer-font);
 /* border-top: 2px solid rgba(255,255,255,0.15); */
  overflow: visible;
  background: transparent;
}
.site-footer::before{
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: var(--footer-bg);
}

/* 中身を中央寄せ */
.footer-inner{
  max-width: var(--footer-max);
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* -------- ナビ -------- */
.footer-nav ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.footer-nav li{
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;            /* ← 少し小さく */
  padding: 4px 8px;             /* ← 間隔を狭める */
  position: relative;
}

/* 区切り線：1本だけ表示（細線） */
.footer-nav li + li::before{
  content: "";
  display: inline-block;
  width: 1px;
  height: 14px;
  background: var(--footer-sep);
  margin-right: 8px;           /* ← 線と文字の距離を詰める */
}

/* リンク */
.footer-nav a{
  color: var(--footer-fg);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: .02em;
  transition: opacity .25s ease;
}
.footer-nav a:hover{
  opacity: .8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* -------- コピーライト -------- */
.footer-copy{
  text-align: center;
  font-size: 0.8rem;
  opacity: .95;
  color: #f3f3f3;
}



@media (max-width: 720px){

  /* フッター全体少し詰め気味 */
  .site-footer{
    padding: 28px 8px 20px;
  }

  /* メニューを縦並びに変更 */
  .footer-nav ul{
    display: flex;
    flex-direction: column;   /* ← 横並び → 縦並び */
    align-items: center;      /* ← 中央寄せ */
    gap: 6px;                 /* ← 行間 */
  }

  .footer-nav li{
    display: block;
    padding: 6px 0;
    font-size: 0.9rem;
  }

  /* 区切り線は非表示（縦並びでは不要） */
  .footer-nav li + li::before{
    display: none;
  }

  /* リンク文字調整 */
  .footer-nav a{
    display: inline-block;
    color: var(--footer-fg);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: .03em;
  }

  .footer-nav a:hover{
    opacity: .85;
    text-decoration: underline;
    text-underline-offset: 2px;
  }
}
