/* ==============================
   Advent Cosplay — footer.css
   ワイド1カラム（中央寄せ）版
   ============================== */
:root{
  --ac-text: #1a1a1a;
  --ac-accent: #800020;   /* ボルドー */
  --ac-ivory: #fff7ea;    /* ボタン/面の淡ベージュ */
  --ac-gold: #c7a96b;

  /* コロフォン帯 */
  --ac-brown-deep: #2b1c18;
  --ac-colophon-fg: #ffe9a8;
}

/* フッター全体（背景は inline style で指定済み） */
.ac-footer{
  color: var(--ac-text);
  text-align: center;
  padding: 48px 16px 0;
  position: relative;
}

/* 背景が明るい場合の読みやすさ補正 */
.ac-footer::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(3px);
  z-index: 0;
}
.ac-footer__wrap,
.ac-colophon{
  position: relative;
  z-index: 1;
}

/* セクション共通 */
.ac-footer__wrap{
  max-width: 1160px;
  margin: 0 auto;
}
.ac-footer__section{
  margin: 0 auto 38px;
}
.ac-footer__heading{
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 800;
  letter-spacing: .02em;
  margin: 0 0 14px;
}
.ac-footer__lead{
  font-size: clamp(.98rem, 1.4vw, 1.1rem);
  line-height: 1.9;
  margin: 0;
}

/* Contents：横一列6リンク（可変グリッド） */
.ac-footer__navlist{
  --min: 120px;
  list-style: none;
  padding: 12px 0 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(var(--min), 1fr));
  gap: clamp(16px, 3vw, 42px);
  align-items: center;
  justify-items: center;
  max-width: 1080px;
}
.ac-footer__navlist a{
  color: var(--ac-text);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color .25s ease, text-shadow .25s ease;
}
.ac-footer__navlist a:hover{
  color: var(--ac-gold);
  text-shadow: 0 0 6px rgba(199,169,107,.45);
}

/* SNS：大アイコン横並び */
.ac-footer__snslist{
  list-style: none;
  padding: 8px 0 0;
  margin: 0;
  display: flex;
  gap: clamp(36px, 8vw, 96px);
  align-items: center;
  justify-content: center;
}
.ac-footer__snslist img{
  width: clamp(72px, 10vw, 130px);
  height: auto;
  display: block;
  filter: none;
  transition: transform .25s ease, filter .25s ease;
}
.ac-footer__snslist a:hover img{
  transform: translateY(-2px) scale(1.05);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.18));
}

/* コロフォン帯（最下段） */
.ac-colophon{
  margin-top: 28px;
  background: var(--ac-brown-deep);
  border-top: 1px solid rgba(0,0,0,.25);
}
.ac-colophon__inner{
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 12px;
  text-align: center;
}
.ac-colophon__text{
  color: var(--ac-colophon-fg);
  font-size: .92rem;
  line-height: 1.8;
  letter-spacing: .03em;
  text-shadow:
    0 0 6px color-mix(in oklab, var(--ac-colophon-fg) 60%, transparent),
    0 0 1px rgba(255,255,255,.25);
}
.ac-colophon__text a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ac-colophon__made{
  display: inline-block;
  opacity: .9;
  font-size: .85rem;
}

/* ==========================
   Responsive
========================== */
@media (max-width: 800px){
  .ac-footer__navlist{
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
  }
  .ac-footer__snslist{
    flex-direction: row;
    gap: 48px;
  }
}
