.footer {
  border-top: 1px solid #e60020;
  padding-top: 5.47rem;
}
.footer__back-to-top {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 1.56rem;
  padding-right: 3.12rem;
}
.footer__back-to-top .footer__back-to-top__icon {
  width: 6.25rem;
  height: 6.25rem;
  cursor: pointer;
}
.footer__bottom {
  background: #ebebeb;
  display: flex;
  justify-content: space-between;
  padding: 1.99rem 3.125rem;
}
.footer__links a {
  color: #000;
  font-family: "Noto Sans JP";
  font-size: 0.9375rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-right: 2.34rem;
}
.footer__menu {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  row-gap: 2.21rem;
  margin-top: 2.5rem;
  margin-bottom: 5.47rem;
}
.footer__menu-col {
  display: flex;
  flex-direction: column;
  color: #e60020;
  font-family: Poppins;
  font-size: 1.40625rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  height: 100%;
  justify-content: center;
}
.footer__menu-col a {
  transition: all 0.3s ease;
}
.footer__menu-col a:hover {
  transform: translateY(-0.3125rem) scale(1.05);
  transition: all 0.3s ease;
}
.footer__menu-col ul {
  list-style-position: inside;
  list-style-type: none;
}
.footer__menu-col ul li a {
  display: flex;
  align-items: center;
  color: #000;
  font-family: "Noto Sans JP";
  font-size: 1.09375rem;
  font-style: normal;
  font-weight: 400;
  line-height: 250%; /* 2.73438rem */
}
.footer__menu-col ul li a img {
  width: 0.80875rem;
  height: 0.79062rem;
  margin-right: 0.62rem;
}
@media (max-width: 639.98px) {
  .footer__menu {
    display: flex;
    flex-direction: column;
    row-gap: 0;
    padding-top: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 0;
  }
  .footer__menu .footer__menu-col:first-child {
    order: 1 !important;
  }
  .footer__menu-col--multilink {
    order: 2 !important;
  }
  .footer__menu .footer__menu-col {
    order: 3;
  }
  .footer__back-to-top .footer__back-to-top__icon {
    width: 3.75rem;
    height: 3.75rem;
  }
  .footer__back-to-top {
    justify-content: center;
    padding-right: 0;
    padding-bottom: 3.12rem;
  }
  .footer__back-to-top img {
    flex-shrink: 0;
  }
  .footer__logo {
    width: 9.38rem;
    height: 2.24rem;
    padding-left: 1.09rem;
  }
  .footer {
    padding-top: 1.87rem;
  }
  .footer__top.container {
    padding: 0 !important;
  }
  .footer__menu-col__multilink-line {
    width: 100%;
    height: 1px;
    border-top: 1px dashed #7d7d7d;
    margin-bottom: 1.72rem;
    margin-top: 1.72rem;
  }
  .footer__menu .footer__menu-col a,
  .footer__menu-col--multilink {
    padding: 0 1.09rem;
  }
  .footer__menu-col {
    border-top: 1px solid #7d7d7d;
    padding: 1.72rem 0;
  }
  .footer__menu-col:first-child {
    border: none;
    padding: 0rem 0;
  }
  .footer__menu-col--multilink {
    border: none;
    padding: 0rem 0;
    padding-bottom: 1.72rem;
  }
  .footer__bottom {
    flex-direction: column;
    padding: 0;
  }
  .footer__links {
    display: flex;
    flex-direction: column;
  }
  .footer__links a {
    margin-right: 0;
    padding: 1.72rem 1.09rem;
    border-bottom: 1px dashed rgba(125, 125, 125, 0.5);
  }
  .footer__copyright {
    padding: 2.77rem 1.09rem;
    text-align: center;
    font-size: 0.9375rem;
  }
  .footer__menu-col > a {
    font-size: 1.25rem;
  }
}
