.l-footer {
  padding-bottom: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.l-footer .l-footer__main {
  @media (width >= 768px) {
    margin-top: var(--space-2xl);
  }

  @media (width < 768px) {
    margin-top: var(--space-3xl);
  }
}

.l-footer .l-footer__nav {
  @media (width >= 768px) {
    display: flex;
    justify-content: center;
  }

  @media (width < 768px) {
    display: none;
  }
}

.l-footer .l-footer__nav-item:not(:first-of-type) {
  margin-left: var(--space-lg);
}

.l-footer .l-footer__nav-link {
  font-family: var(--font-en);
  font-feature-settings: 'palt' 1;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
}

.l-footer .l-footer__logo {
  width: 22.2rem;
  margin-right: auto;
  margin-left: auto;

  @media (width >= 768px) {
    margin-top: var(--space-3xl);
  }
}

.l-footer .l-footer__sns {
  display: flex;
  margin-top: var(--space-3xl);
  justify-content: center;
}

.l-footer .l-footer__sns .l-footer__sns-item {
  margin: 0 .75rem;
}

.l-footer .l-footer__sns .l-footer__sns-link {
  display: block;
}

.l-footer .l-footer__sns img {
  width: 2.4rem;
  height: 2.4rem;
}

.l-footer .l-footer__copyright {
  display: block;
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-3xs);
  text-align: center;
  margin-top: 1.8rem;
}

.l-footer .l-footer__sub-nav {
  display: flex;
  justify-content: center;
  margin-top: var(--space-2xl);
}

.l-footer .l-footer__sub-nav .l-footer__sub-nav-item:not(:first-of-type) {
  margin-left: var(--space-lg);
}

.l-footer .l-footer__sub-nav .l-footer__sub-nav-link {
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-regular);
}

.l-footer__contact {
  background-image: url("../../images/content/img-footer.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;

  @media (width >= 768px) {
    padding: var(--space-5xl) 0;
  }

  @media (width < 768px) {
    padding: var(--space-3xl) 0;
  }
}

.l-footer__contact .l-footer__contact-overlay {
  z-index: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  background-color: var(--color-overlay-light);
}

.l-footer__contact .l-footer__contact-content {
  z-index: 1;
  position: relative;
  text-align: center;
  color: var(--color-text-inverse);
}

.l-footer__contact .l-footer__contact-text {
  font-weight: var(--font-weight-bold);

  @media (width >= 768px) {
    margin-top: var(--space-3xl);
  }

  @media (width < 768px) {
    margin-top: var(--space-2xl);
  }
}

.l-footer__contact-button {
  display: block;
  background-color: var(--color-bg);
  width: 24rem;
  height: 6rem;
  font-weight: var(--font-weight-bold);
  text-align: center;
  line-height: 5.8rem;
  margin-right: auto;
  margin-left: auto;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-lg);

  @media (width >= 768px) {
    margin-top: var(--space-3xl);
  }

  @media (width < 768px) {
    margin-top: var(--space-lg);
  }
}

.l-footer__links {
  @media (width >= 768px) {
    margin-top: var(--space-3xl);
    margin-bottom: var(--space-3xl);
  }

  @media (width < 768px) {
    margin-top: var(--space-lg);
    margin-bottom: 4.5rem;
  }
}
