footer {
  width: 100%;
  background-color: var(--color-background-navy);
  position: relative;
  z-index: 10;
}

footer .link {
  padding: 0.26rem 0 0.16rem;
}

footer .link ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

footer .link li {
  padding: 0 0.08rem;
  display: flex;
  align-items: center;
}

footer .link li::after {
  content: '';
  display: block;
  width: 1px;
  height: 1em;
  background-color: var(--color-background-white);
  margin-left: 0.2rem;
}

footer .link li a {
  font-size: 0.15rem;
  font-weight: 700;
  color: var(--color-text-white);
  padding: 0 0.08rem;
  line-height: 1.1;
}

footer .copy {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 0.13rem;
  line-height: 1;
  color: var(--color-text-white);
  padding: 0.2rem 0;
}

footer .sp-entrybox {
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  footer .link ul {
    flex-wrap: wrap;
    row-gap: 0.8em;
  }

  footer .link li {
    line-height: 1.6;
    padding: 0;
  }

  footer .link li::after {
    content: '';
    display: block;
    width: 1px;
    height: 0.5em;
    background-color: var(--color-background-white);
    margin-left: 0;
  }

  footer .link li:nth-child(3)::after,
  footer .link li:last-child::after {
    content: none;
  }

  footer .link li a {
    font-size: 0.11rem;
  }

  footer .sp-entrybox {
    display: flex;
    width: 100%;
    height: 0.7rem;
    background-color: #d2d2d2;
    padding: 0 0.3rem;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    box-sizing: border-box;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
  }

  footer .sp-entrybox.active {
    transform: translateY(0);
  }

  footer .sp-entrybox a {
    max-width: none;
    width: 100%;
    height: 0.5rem;
    font-size: 0.2rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.25em;
    line-height: 1;
    background-color: var(--color-background-navy);
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    border-radius: 2em;
    padding-block: 0.04rem;
  }

  footer .sp-entrybox a span {
    display: block;
    width: 100%;
    text-align: center;
    padding-top: 0.04rem;
    font-size: 0.1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
  }

  footer {
    padding-bottom: 0.7rem;
  }

  footer .copy {
    font-size: 0.1rem;
    padding-top: 0.04rem;
  }
}
