.footer {
  background-color: #fff;
  color: #1f2a4e;
  font-family: "M PLUS 1p", sans-serif;
}

.footer__inner {
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.875rem;
  flex-wrap: wrap;
  margin-top: -10rem;
}

.footer__left {
  flex: 1 1 15.625rem;
  min-width: 16.25rem;
  text-align: left;
  padding: 10rem 5rem 0;
}

.footer__logo img {
  width: 22rem;
  height: auto;
  display: block;
  margin-top: 3.125rem;
  margin-bottom: 30px;
}

.footer__nav {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.footer__nav-group {
  flex: 1 1 8.75rem;
  margin-bottom: 2.5rem;
}

.footer__nav-title {
  font-family: "Poiret One", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #67c0f6;
  margin-bottom: 1.5rem;
  white-space: nowrap;
}

.footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__nav-list-item {
  margin-bottom: 1rem;
}

.footer__nav-list-item::before {
  content: "•";
  color: #67c0f6;
}

.footer__nav-list-item:last-child {
  margin-bottom: 0;
}

.footer__nav-link {
  font-size: 1rem;
  color: #1f2a4e;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__nav-link:hover {
  color: #767e97;
}

.footer__right {
  flex: 1 1 25rem;
  min-width: 18.75rem;
  display: flex;
  flex-direction: column;
  background-color: #ddebf0;
  padding: 15rem 1rem 0;
}

.footer__company-info {
  padding: 5rem 5rem 0 5rem;
  border-radius: 0.5rem;
}

.footer__info-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer__info-row:last-child {
  margin-bottom: 0;
}

.footer__info-label {
  flex: 0 0 5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #85bed5;
  white-space: nowrap;
}

.footer__info-value {
  flex: 1 1 auto;
  font-size: 1rem;
  color: #1f2a4e;
  line-height: 1.6;
}

.footer__mascot-box {
  background-color: #67c0f666;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  padding: 1rem;
  margin: 3rem 5rem;
  text-align: center;
}

.footer__mascot-image {
  width: 4rem;
  height: auto;
  display: block;
}

.footer__mascot-text {
  font-size: 1rem;
  color: #1f2a4e;
  line-height: 1.5;
}

.footer__copyright-text {
  margin: 0;
  font-size: 0.9rem;
  color: #7aaec8;
}

.sp-only {
  display: none;
}

@media (width <= 860px) {
  .footer__inner {
    flex-direction: column;
    align-items: normal;
    background-color: #ddebf0;
    gap: 0;
  }

  .footer__left {
    flex: 0;
    order: 2;
    padding: 0;
    text-align: center;
  }

  .footer__logo,
  .footer__nav {
    display: none;
  }

  .footer__copyright {
    display: block;
    padding: 2rem 0;
  }

  .footer__right {
    padding: 5rem 1rem 0;
  }

  .footer__mascot-box {
    margin: 3rem 1rem 0;
  }

  .footer__mascot-text {
    font-size: 0.9rem;
  }
}

@media (width <= 500px) {
  .footer {
    padding-bottom: 4rem;
  }

  .footer__company-info {
    padding: 5rem 0 0;
  }

  .footer__info-label {
    flex: 0 0 1.5rem;
  }

  .footer__info-row {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
  }

  .footer__mascot-box {
    margin: 2rem 0 0;
    padding: 0.2rem;
  }

  .footer__mascot-image {
    width: 3rem;
  }

  .footer__mascot-text {
    font-size: 0.8rem;
  }

  .sp-only {
    display: block;
  }
}
