:root{
  --footer-bg: #103a33;        /* 濃いグリーン（好みで調整） */
  --footer-ink: #f7f7f5;       /* 文字色 */
  --footer-ink-dim: #d6ddd9;   /* 薄め文字 */
  --gap: clamp(12px, 1.8vw, 24px);
}

.site-footer{
  background: var(--footer-bg);
  color: var(--footer-ink);
}

.footer-inner{
  max-width: 1080px;
  margin-inline: auto;
  padding: clamp(40px, 8vw, 72px) 16px;
  display: grid;
  justify-items: center;
  text-align: center;
}

/* ロゴ */
.footer-logo img{
  display: block;
  width: 5vw;
  height: auto;
  margin-bottom: 7vw;
  filter: drop-shadow(0 0 0 transparent);
}

/* ナビ（2段） */
.footer-nav ul{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 4vw;
  gap: clamp(10px, 2vw, 32px) clamp(16px, 3vw, 48px);
}

.footer-nav a{
  color: var(--footer-ink);
  text-decoration: none;
  font-size: clamp(12px, 1.4vw, 14px);
  letter-spacing: .04em;
  opacity: .9;
  transition: opacity .2s ease, text-underline-offset .2s ease;
}
.footer-nav a:hover,
.footer-nav a:focus{
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* SNS */
.footer-social{
  list-style: none;
  display: flex;
  gap: 5vw;
  padding: 0;
  margin: 0 0 5vw;
}
.footer-social a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; 
  height: 36px;
  line-height: 0;
  vertical-align: middle;
  position: relative;
  border-radius: 8px;
  color: var(--footer-ink);
  opacity: .9;
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
}
/* 画像は“ブロック化”して余白ゼロに */
.footer-social a img{
  display: block;
  width: 24px;   /* お好みで */
  height: 24px;
}

.footer-social a:hover{
  transform: translateY(-2px);
  opacity: 1;
  background: rgba(255,255,255,.06);
}

/* コピーライト */
.footer-copy{
  color: var(--footer-ink-dim);
  font-size: 12px;
  letter-spacing: .04em;
  margin-top: 4px;
}

/* すごく狭い画面で間延びしないよう最小余白調整 */
@media (max-width: 360px){
  .footer-inner{ row-gap: 14px; }
  .footer-social{ gap: 14px; }
}
@media (max-width: 768px){
  .footer-logo {
    margin: 40px 0;
  }
  .footer-logo img {
    height: 70px;
    width: auto;
  }
}
