/* ===== FOOTER (5 columns categories / links vertical / no-wrap) ===== */
.siteFooter{
  position:relative;margin-top:22px;color:#dbe6f2;
  background:
    linear-gradient(180deg,rgba(255,255,255,.04),rgba(0,0,0,0) 30%),
    linear-gradient(180deg,#111823,#07090c 70%);
  border-top:1px solid rgba(255,255,255,.10);
  box-shadow:0 -18px 40px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.05);
}

.siteFooter .footBar{display:flex;align-items:center;gap:12px;padding:12px 16px}
.siteFooter .footMeta{color:#9fb0c6;font-size:12px;letter-spacing:.08em}

.siteFooter .footHome,
.siteFooter .footTop,
.siteFooter .footHint{
  text-decoration:none;display:inline-flex;align-items:center;justify-content:center;
  height:30px;padding:0 12px;border-radius:10px;
  border:1px solid rgba(255,255,255,.14);
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(0,0,0,0));
  color:#e6f0ff;transition:.18s ease;
}
.siteFooter .footHome{width:36px;padding:0}
.siteFooter .footTop{margin-left:auto}
.siteFooter .footHome:hover,
.siteFooter .footTop:hover,
.siteFooter .footHint:hover{
  border-color:rgba(79,211,255,.45);
  box-shadow:0 0 0 1px rgba(79,211,255,.25),0 0 18px rgba(79,211,255,.18);
  color:#fff;transform:translateY(-1px);
}

.siteFooter .footBody{
  max-height:0;overflow:hidden;transition:max-height .35s ease;
  border-top:1px solid rgba(255,255,255,.08);
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
  gap:16px;padding:0 16px;
}
.siteFooter:target .footBody,
.siteFooter:hover .footBody,
.siteFooter:focus-within .footBody{max-height:720px;padding:18px 16px 22px}

/* カテゴリ見出し */
.siteFooter .footBody h4{
  margin:0 0 10px;font-size:12.5px;letter-spacing:.14em;
  color:#a9bfd9;text-transform:uppercase;
  border-bottom:1px solid rgba(255,255,255,.10);padding-bottom:6px;
}

/* 各カテゴリ（h4 + ul）を“列”として扱う想定 */
.siteFooter .footBody ul{
  list-style:none;margin:0;padding:0;
  display:flex;flex-direction:column;gap:8px;
}

/* リンク：改行禁止＋省略（列幅に収める） */
.siteFooter .footBody a{
  display:block;text-decoration:none;color:#cfe0f6;
  padding:8px 10px;border-radius:8px;
  border:1px solid transparent;transition:.16s ease;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  line-height:1.35;
}
.siteFooter .footBody a:hover{
  color:#fff;background:rgba(79,211,255,.10);
  border-color:rgba(79,211,255,.30);
  box-shadow:0 0 0 1px rgba(79,211,255,.18) inset;
}
.siteFooter a:focus-visible{
  outline:2px solid rgba(79,211,255,.65);
  outline-offset:2px;border-radius:8px;
}
/* footer: disabled link style (match sidebar .navDisabled) */
.siteFooter .navDisabled{
  display:flex;align-items:center;gap:8px;
  padding:8px 10px;border-radius:8px;
  border:1px solid rgba(255,255,255,.05);
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(0,0,0,0));
  color:rgba(154,167,182,.65);
  filter:grayscale(100%);
  opacity:.72;
  user-select:none;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  line-height:1.35;
}
.siteFooter .navDisabled em{
  margin-left:auto;
  font-style:normal;
  font-size:11px;
  letter-spacing:.14em;
  color:rgba(154,167,182,.55);
  border:1px solid rgba(255,255,255,.06);
  padding:2px 6px;
  border-radius:8px;
  flex:0 0 auto;
}
.siteFooter .navDisabled:hover{opacity:.78}
/* 5列がきつい時だけ段階的に落とす（必要なら消してOK） */
@media (max-width:1200px){.siteFooter .footBody{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:980px){.siteFooter .footBody{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:740px){.siteFooter .footBody{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.siteFooter .footBody{grid-template-columns:1fr}}
