@import url("./footer-unified.css");
@import url("./footer-responsive.css");

:root {
  --navy: #071f48;
  --gold: #b07a32;
  --gb-sans: "Noto Sans JP", sans-serif;
}

/* Renewal footer on legacy LP pages — scoped to avoid layout conflicts */
.site-footer.site-footer--top {
  box-sizing: border-box;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  line-height: 1.8;
}

.site-footer.site-footer--top *,
.site-footer.site-footer--top *::before,
.site-footer.site-footer--top *::after {
  box-sizing: border-box;
}

.site-footer.site-footer--top img {
  max-width: 100%;
  display: block;
}

.site-footer.site-footer--top a {
  text-decoration: none;
  color: inherit;
}

.site-footer.site-footer--top .container {
  width: min(1312px, 92vw);
  margin: auto;
}

.site-footer.site-footer--top .footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1fr;
  gap: 32px;
  align-items: start;
}

.site-footer.site-footer--top .footer-nav-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.site-footer.site-footer--top .footer-nav {
  display: grid;
  gap: 8px;
}

.site-footer.site-footer--top .footer-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  width: 100%;
}

.site-footer.site-footer--top .footer-counseling-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  width: 100%;
}

.site-footer.site-footer--top .footer-actions > .btn-navy,
.site-footer.site-footer--top .footer-counseling-row .btn-gold {
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
}

.site-footer.site-footer--top .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 10px 12px;
  font-family: var(--gb-sans);
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  white-space: nowrap;
}

.site-footer.site-footer--top .btn-navy {
  background: var(--navy);
  color: #fff;
}

.site-footer.site-footer--top .btn-gold {
  background: linear-gradient(135deg, var(--gold), #d4a85f);
  color: #fff;
}

.site-footer.site-footer--top .btn-icon {
  flex-shrink: 0;
}

.site-footer.site-footer--top .copyright {
  text-align: center;
  font-family: var(--gb-sans);
  font-size: 11px;
  margin: 24px 0 0;
  padding-top: 16px;
}

@media (max-width: 900px) {
  .site-footer.site-footer--top .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Hide legacy LP sticky footers if any CSS/JS leaves them in DOM */
#fcta,
#fcta2,
#fcta3,
footer.footer,
footer:not(.site-footer) .footer,
.spft {
  display: none !important;
}
