/* ============================================================
   footer.css — サイトフッター
============================================================ */

.site-footer {
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
}

.site-footer__inner {
  width: 80%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  justify-content: space-between;
  align-items: flex-start;
}

/* ブランドエリア */
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 180px;
}

.site-footer__logo img {
  width: max(72px, 8cqw);
  height: auto;
  opacity: 0.85;
}

.site-footer__catch {
  font-family: var(--font-accent);
  font-size: 1em;
  color: var(--color-primary-light);
  line-height: 1.6;
}

/* SNS アイコン */
.site-footer__sns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.site-footer__sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background-color var(--transition-fast), transform var(--transition-fast);

  &:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
  }

  & img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
  }
}

/* フッターナビ */
.site-footer__nav {
  flex: 1;
  min-width: 160px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;

  & a {
    font-size: var(--text-xs);
    font-size: 0.85em; /* ヘッダーナビと同じ */
    color: #ffffff;
    transition: color var(--transition-fast);

    &:hover {
      color: var(--color-primary-light);
    }
  }
}

/* コピーライト */
.site-footer__bottom {
  padding: 1rem var(--space-md);
  text-align: center;
}

.site-footer__copy {
  font-size: 0.8em;
  color: #ffffff;

  & a {
    color: inherit;
    &:hover { color: var(--color-primary-light); }
  }
}
