/* footer */

.footer {
  background-image: url("https://gigaplus.makeshop.jp/kerorin/img/red-background.png");
  background-repeat: repeat-y;
  background-position: top center;
  width: 100%;
  color: #fff;
  padding: 0px 0px 54px 0;
}
.footer p,
.footer ul li a {
  color: white;
  font-size: 20px;
}
.footer p {
  line-height: 35px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap; /* Ensures responsiveness */
  padding: 50px 30px 0 30px;
}

.footer-left {
  max-width: 50%;
  line-height: 1.6;
  text-align: left;
}
.footer-logo {
  max-width: 234px;
  margin-bottom: 45px;
}

.footer-right {
  max-width: 50%;
  text-align: right;
}

.footer-icons {
  margin-bottom: 25px;
}

.footer-icons a {
  margin-right: 10px;
  display: inline-block;
}

.footer-icons img {
  width: 49px;
  height: 49px;
}

.footer-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.footer-right ul li {
  margin-bottom: 20px;
}

.footer-right ul li a {
  color: white;
  font-size: 20px;
}

.footer-bottom {
  text-align: center;
  margin-top: 90px;
  font-size: 12px;
  color: #fff;
}
.footer-navigation {
  display: flex;
  gap: 65px;
}
.footer-right {
  margin-top: 65px;
}
.footer-right ul:nth-of-type(1) {
  text-align: left;
}

@media (max-width: 870px) {
  .footer-navigation {
    display: flex;
    gap: 30px;
  }
  .footer-container {
    gap: 25px;
  }
  .footer p,
  .footer ul li a {
    color: white;
    font-size: 17px;
  }
  .footer-logo {
    max-width: 215px;
    margin-bottom: 35px;
  }
  .footer-right {
    margin-top: 55px;
  }
  .footer {
    padding: 0px 0px 60px 0;
  }
}
@media (min-width: 885px) {
  .footer-bottom .reserved {
    display: none;
  }
}

@media (max-width: 885px) {
  .footer-left p {
    display: none;
  }
  .footer-right {
    display: flex;
    flex-direction: column;
  }
  .footer-icons {
    margin-bottom: 25px;
    order: 2;
    margin-top: 22px;
  }
  .footer-navigation {
    flex-direction: column;
  }
  .footer-navigation {
    display: flex;
    gap: 0px;
  }
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    padding: 50px 30px 0 30px;
    flex-direction: column;
    align-content: center;
    gap: 35px;
    align-items: center;
  }
  .footer-logo {
    margin-bottom: 0px;
  }
  .footer-right {
    margin-top: 0px;
  }
  .footer-navigation {
    display: flex;
    gap: 0px;
    align-items: center;
    text-align: center;
  }
  .footer-right ul:nth-of-type(1) {
    text-align: left;
    text-align: center;
  }
  .footer-right ul {
    text-align: center;
  }
  .footer-right ul li {
    margin-bottom: 27px;
  }
  .footer-bottom {
    margin-top: 35px;
  }
}
@media (max-width: 885px) {
  .footer-left {
    max-width: max-content;
  }
  .footer-right {
    max-width: none;
  }
}
