/* footer */
.footer {
  --footer-bg-color: #2f2f2f;
  --footer-text-color: #fff;
  font-family: Koburina Gothic W3 JIS2004;
  color: #fff;
  padding: 3.5rem 1.25rem 2.75rem;
  background: var(--footer-bg-color);
}

.footer a {
  color: var(--footer-text-color);
  transition: opacity 0.8s;
  text-decoration: none;
}

@media (hover: hover) {
  .footer a:hover {
    opacity: 0.5;
  }
}

.footer__inner {
  width: fit-content;
  margin: 0 auto;
}

.footerShare {
  display: flex;
  gap: 2.875rem;
  justify-content: center;
  align-items: center;
}

.footerShare__title {
  width: 2.75rem;
}

.footerShare__list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 2.5rem;

  li {
    img {
      width: 2rem;
    }
  }
}

.footerContact {
  display: flex;
  justify-content: center;
  gap: 0.9375rem;
  margin-top: 1.5rem;
}

.footerContact__link {
  display: flex;
  align-items: center;
  gap: 9.28px;
  font-size: 0.8125rem;
  line-height: 2;
  letter-spacing: 0.1em;
}

.footerContact__link--mail {
  &::before {
    content: "";
    display: block;
    width: 1.375rem;
    height: 1rem;
    background: center / contain no-repeat url("../img/icon_mail.svg");
  }
}

.footerNav {
  margin-top: 1.25rem;
}

.footerNav__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 10px;
  line-height: 2;
  letter-spacing: 0.1em;
}

.footerCopy {
  margin-top: 1.5rem;
  margin-inline: auto;

  img {
    margin: 0 auto;
    width: 5.125rem;
    height: 1.25rem;
    object-fit: contain;
  }
}

@media screen and (min-width: 600px) {
  .footer {
    padding: 3rem 2.5rem 1.5rem;
  }

  .footer__row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.625rem;
  }

  .footerShare__list {
    gap: 40px;
  }

  .footerContact {
    margin-top: 0;
  }

  .footerNav {
    width: 100%;
    margin-top: 1.25rem;
  }

  .footerNav__list {
    gap: 3.2px 0.9375rem;
  }

  .footerCopy {
    margin-top: 3rem;
  }
}
