/* ==========================================================================
   Footer - Based on Figma node 153:4246
   ========================================================================== */

.site-footer {
  background-color: #222222;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Upper CTA Section
   Figma: gap 48px between columns, each col 486px, top 72px
   -------------------------------------------------------------------------- */

.site-footer__cta {
  padding: 72px 0 0;
}

.site-footer__cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: flex-start;
  gap: 48px;
  box-sizing: content-box;
}

.site-footer__cta-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.site-footer__cta-divider {
  width: 0;
  align-self: stretch;
  border-left: 1px dashed rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.site-footer__cta-icon {
  line-height: 1;
}

.site-footer__cta-icon img {
  width: 40px;
  height: 40px;
}

/* Figma: 19px bold */
.site-footer__cta-heading {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
}

/* Figma: 13px regular, 1.5 line-height */
.site-footer__cta-desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.5;
  margin: 0;
}

/* Figma: white bg, full width, black text, 16px bold */
.site-footer__cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 4px;
  padding: 16px 24px 16px 16px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #000000;
  text-decoration: none;
  line-height: 1.2;
  transition: opacity 0.3s;
  box-sizing: border-box;
}

.site-footer__cta-btn:hover {
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   Lower Navigation Section
   Figma: 1200px inner, left 120px, top 372px area
   -------------------------------------------------------------------------- */

.site-footer__nav-section {
  padding: 48px 0 40px;
}

.site-footer__nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  border-top: 1px solid #444444;
  padding-top: 40px;
  box-sizing: content-box;
}

.site-footer__nav-upper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__brand a {
  display: inline-block;
  line-height: 1;
}

.site-footer__logo-img {
  height: 32px;
  width: auto;
}

.site-footer__powered {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
}

/* Figma: each link has px-24 py-16, 13px bold */
.site-footer__nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.site-footer__nav-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.site-footer__nav-links a:hover {
  opacity: 0.7;
}

/* Figma: copyright right-aligned, 12px */
.site-footer__copyright {
  font-family: "Noto Sans", sans-serif;
  font-size: 12px;
  color: #ffffff;
  margin-top: 16px;
  text-align: right;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1248px) {
  .site-footer__cta-inner,
  .site-footer__nav-inner {
    box-sizing: border-box;
    max-width: 100%;
  }

  .site-footer__nav-inner {
    padding-top: 40px;
  }
}

@media (max-width: 768px) {
  .site-footer__cta {
    padding: 40px 0 0;
  }

  .site-footer__cta-inner {
    flex-direction: column;
    padding: 0 24px;
    gap: 32px;
  }

  .site-footer__cta-divider {
    width: 100%;
    height: 0;
    border-left: none;
    border-top: 1px dashed rgba(255, 255, 255, 0.4);
  }

  .site-footer__nav-section {
    padding: 32px 0;
  }

  .site-footer__nav-inner {
    padding: 32px 24px 0;
  }

  .site-footer__nav-upper {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__nav-links a {
    padding: 8px 0;
  }

  .site-footer__copyright {
    text-align: center;
  }
}
