.site-footer {
  display: block;
  padding: 68px max(5vw, 24px) 38px;
  background: #051520;
  color: #b6c9d3;
  font: 400 16px/normal Inter, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}

.site-footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid #1c3747;
}

.site-footer .footer-brand {
  width: 280px;
  max-width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.site-footer .footer-brand small {
  display: block;
  flex-basis: 100%;
  margin-top: -5px;
  margin-left: 64px;
  font-size: 9px;
  letter-spacing: .4em;
}

.site-footer .footer-brand strong {
  font-size: 21px;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.site-footer .footer-brand strong span {
  font-weight: 300;
}

.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.site-footer .footer-links a {
  color: inherit;
  font-size: 10px;
  letter-spacing: .12em;
  font-weight: 700;
  text-decoration: none;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible {
  color: #fff;
}

.site-footer .footer-legal {
  padding-top: 26px;
  color: #829ba9;
}

.site-footer .footer-legal p {
  margin: 1em 0;
  font-size: 11px;
  line-height: 2;
}

.site-footer .footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  padding-inline-end: max(0px, calc(81px - max(5vw, 24px)));
  font-size: 9px;
  letter-spacing: .07em;
}

.back-to-top {
  position: fixed;
  z-index: 30;
  bottom: 24px;
  right: 24px;
  width: 45px;
  height: 45px;
  border: 1px solid #c6dde5;
  background: #fff;
  color: #143b4d;
  font: inherit;
  font-size: 21px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(2, 24, 40, .13);
}

.back-to-top[hidden] {
  display: none;
}

.back-to-top:hover {
  background: #e4f2f6;
}

@media (max-width: 750px) {
  .site-footer {
    padding: 60px 7vw 30px;
  }

  .site-footer .footer-top {
    flex-direction: column;
    padding-bottom: 35px;
  }

  .site-footer .footer-links {
    gap: 16px;
  }

  .site-footer .footer-meta {
    padding-inline-end: max(0px, calc(81px - 7vw));
  }
}
