/* ===========================================
   Footer Section
   =========================================== */

.footer {
  background-color: #F4F4F4;
  padding: 40px 16px;
}

.footer__inner {
  max-width: 343px;
  margin: 0 auto;
}

/* Logo */
.footer__logo {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 22px;
}

.footer__logo img {
  height: 31px;
  width: auto;
}

.footer__address {
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  line-height: 20px;
  color: #000;
  margin: 0 0 12px;
}

.footer__company {
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  line-height: 20px;
  margin: 0;
}

.footer__company a {
  color: #000;
  text-decoration: underline;
}

/* Legacy */
.footer__copyright { display: none; }

/* Scroll to top button - positioned above CTA */
.scroll-top {
  position: fixed;
  right: 16px;
  bottom: 100px;
  z-index: 999;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================================
   PC (>=768px)
   ============================================================ */
@media (min-width: 768px) {
  .footer {
    padding: 80px 0;
    min-height: 220px;
    display: flex;
    align-items: center;
  }
  .footer__inner {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: flex-start;
    gap: 60px;
  }
  .footer__logo {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .footer__logo img {
    height: 60px;
  }
  .footer__address {
    flex: 1;
    margin: 0;
    font-size: 16px;
    line-height: 23px;
  }
  .footer__address br { display: none; }
  .footer__company {
    flex-shrink: 0;
    font-size: 16px;
    line-height: 23px;
    align-self: flex-end;
  }
  .scroll-top {
    right: 24px;
    bottom: 130px;
    width: 56px;
    height: 56px;
  }
}
