/* Shared public-site footer, based on the top page. */
.site-footer {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
  padding: 40px 5%;
  border-top: 0;
  background: #e7e9e6;
  color: #141a1c;
  font-family: Arial, "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}

.site-footer .logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 1;
}

.site-footer .logo img {
  display: block;
  width: auto;
  max-width: none;
  height: 64px;
  aspect-ratio: 162.31 / 78.5;
  object-fit: contain;
  filter: brightness(0);
}

.site-footer nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  color: #141a1c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
}

.site-footer nav a {
  display: inline-block;
  flex: 0 0 auto;
  padding: 12px 0;
  color: inherit;
  line-height: 1.4;
  text-decoration: none;
}

.site-footer nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.site-footer > small {
  flex: 0 0 auto;
  color: #47575a;
  font-size: 10px;
  letter-spacing: normal;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .site-footer nav {
    width: 100%;
    margin: 0;
    flex-wrap: wrap;
    gap: 16px 22px;
  }

  .site-footer > small {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .site-footer {
    gap: 22px;
    padding: 32px 6%;
  }

  .site-footer .logo img {
    height: 58px;
  }
}
