.footer {
  position: relative;
  aspect-ratio: 1920/1061;
  width: 100%;
  height: 100%;
  background-image: url("../imgs/footer-bg.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  color: #ffffff;
  text-align: center;
}

.footer-wrapper {
  position: absolute;
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%);
}

.footer-logo {
  margin: 0 auto;
  margin-top: 150px;
  width: 50%;
  max-width: 290px;
  height: auto;
  min-width: 180px;
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.company-detail {
  margin-top: 30px;
}

.company-detail {
  font-family: "Noto Sans CJK JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}

.company-name,
.company-rep,
.company-address {
  font-family: "Noto Sans CJK JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
}

.copyright {
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  margin-top: 10%;
}

@media screen and (max-width: 1030px) {
  .company-detail {
    margin-top: 10px;
  }
}

@media screen and (max-width: 833px) {
  .company-detail {
    margin-top: 10px;
  }
}

@media screen and (max-width: 768px) {
  .footer {
    height: 840px;
  }

  .company-detail {
    margin-top: 60px;
  }

  .footer-wrapper {
    width: 80%;
  }
}

/* 20250627 */

.legal_wrapper {
  margin-top: 2em;
  display: flex;
  width: 100%;
  justify-content: space-around;
  font-size: 12px;
}

.legal_wrapper a {
  color: #fff;
  text-decoration: none;
  padding: 0 0.5em;
}

@media screen and (max-width: 768px) {
  .legal_wrapper {
    flex-direction: column;
    gap: 1em;
  }
}
