/*
 * サイトのフッター（footer.php）
 */
.site-footer {
  background: var(--color-navy-950);
  color: var(--color-white);
}

.site-footer__inner {
  max-width: 80rem;
  margin-inline: auto;
  padding: 5rem 1.25rem 2.5rem;
}

.site-footer__main {
  display: grid;
  gap: 3.5rem;
}

.site-footer__logo {
  width: auto;
  height: 2.5rem;
}

.site-footer__address {
  margin-top: 2rem;
  color: rgb(255 255 255 / 0.7);
  font-size: 0.875rem;
  font-style: normal;
  line-height: 2;
}

.site-footer__isms {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.site-footer__isms-mark {
  border-radius: var(--radius-small);
  background: var(--color-white);
  padding: 0.5rem;
}

.site-footer__isms-mark img {
  width: auto;
  height: 4rem;
}

.site-footer__isms-text {
  color: rgb(255 255 255 / 0.6);
  font-size: 0.75rem;
  line-height: 1.625;
}

/* リンクの列：スマホでは2列（3つ目は下に回る）、640px 以上では3列 */
.site-footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}

.site-footer__links > :last-child {
  grid-column: span 2 / span 2;
}

.site-footer__heading {
  color: var(--color-accent-300);
  font-family: var(--font-en);
  font-size: 0.75rem;
  line-height: 1.3333;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-footer__list {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.4286;
}

.site-footer__list > li + li {
  margin-top: 0.75rem;
}

.site-footer__list a {
  color: rgb(255 255 255 / 0.8);
}

.site-footer__list a:hover {
  color: var(--color-white);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 4rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  padding-top: 2rem;
  color: rgb(255 255 255 / 0.5);
  font-family: var(--font-en);
  font-size: 0.75rem;
  line-height: 1.3333;
}

@media (min-width: 640px) {
  .site-footer__inner {
    padding-inline: 2rem;
  }

  .site-footer__links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__links > :last-child {
    grid-column: span 1 / span 1;
  }

  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .site-footer__main {
    grid-template-columns: 1.2fr 2fr;
  }
}
