/* ============================================================
   components/footer.css
   Footer + 4-col layout + legal
   ============================================================ */

/* ===== FOOTER ===== */
.footer { background: linear-gradient(180deg, var(--primary) 0%, #b84665 100%); color: #fff; padding: 48px 20px 20px; }
.footer__inner { max-width: 960px; margin: 0 auto; text-align: center; }
.footer__brand { margin-bottom: 28px; }
.footer__logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--font-2xl); font-weight: 900; letter-spacing: 0.02em;
  margin-bottom: var(--space-2);
}
.footer__logo-badge {
  background: rgba(255,255,255,0.2); color: #fff;
  font-size: var(--font-xs); font-weight: 700;
  padding: 3px var(--space-2); border-radius: 50px;
}
.footer__tagline {
  font-size: var(--font-sm); color: rgba(255,255,255,0.85);
  margin: 0; line-height: 1.6;
}
.footer__nav {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: var(--space-1) 2px; margin-bottom: 12px;
}
.footer__nav a {
  color: rgba(255,255,255,0.92); font-size: 13px; font-weight: 500;
  padding: var(--space-1) var(--space-4); position: relative;
  text-decoration: none;
}
.footer__nav a:hover { color: #fff; text-decoration: underline; }
.footer__nav a + a::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 1px; height: 12px; background: rgba(255,255,255,0.3);
  transform: translateY(-50%);
}
.footer__nav--site { margin-bottom: 0; }
.footer__nav--site a { font-size: 12px; color: rgba(255,255,255,0.75); }
.footer__copy { color: rgba(255,255,255,0.7); }
.footer__bottom {
  max-width: 1280px; margin: 32px auto 0;
  padding-top: var(--space-5); border-top: 1px solid rgba(255,255,255,0.3);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px 24px;
  font-size: var(--font-sm); color: rgba(255,255,255,0.75);
}
@media (max-width: 768px) {
  .footer__bottom {
    flex-direction: column; text-align: center; gap: 10px;
    padding-top: var(--space-4); margin-top: 24px;
  }
}

/* ----- 4カラム footer 調整 ----- */
.footer__col { min-width: 160px; flex: 1 1 180px; }
.footer__pref {
  display: inline-block !important;
  margin-right: var(--space-2); margin-bottom: 6px;
  font-size: var(--font-sm); color: rgba(255,255,255,0.85);
}
.footer__pref:hover { color: #fff; text-decoration: underline; }
.footer__more {
  margin-top: var(--space-2) !important;
  font-weight: 700 !important;
  color: #fff !important;
}

@media (max-width: 768px) {
  .footer { padding: 32px 16px 16px; }
  .footer__logo { font-size: 18px; }
  .footer__tagline { font-size: 12px; }
  .footer__nav a { padding: 4px 10px; font-size: 12px; }
  .footer__nav--site a { font-size: 11px; }
}

/* 2026-04-21: フッター最下部の法的リンク行（左寄せ、1行構成） */
.footer__legal { font-size: 12px; line-height: 1.4; }
.footer__legal a { color: rgba(255,255,255,0.85); text-decoration: none; }
.footer__legal a:hover { color: #fff; text-decoration: underline; }
.footer__legal span { color: rgba(255,255,255,0.4); margin: 0 8px; }
@media (max-width: 768px) {
  .footer__legal { font-size: 11px; }
  .footer__legal span { margin: 0 6px; }
}
