@charset "utf-8";

/* Footer */

.lp-footer {
  z-index: 10;
  background: #f1f7ff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

@media (max-width: 801px) {
  .lp-footer {
    min-height: 545px;
  }
}

@media (max-width: 440px) {
  .lp-footer {
    min-height: calc(100vw * 590 / 440);
  }
}

.lp-footer__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.lp-footer__bg-inner {
  height: 100%;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  background: url("../img/footer/bg.webp") no-repeat 50% 100% / 1280px auto;
}

@media (max-width: 801px) {
  .lp-footer__bg-inner {
    max-width: none;
    background-image: url("../img/footer/bg-sp.webp");
    background-position: 50% 100%;
    background-size: 100% 590px;
  }
}

@media (max-width: 440px) {
  .lp-footer__bg-inner {
    background-size: 100% calc(100vw * 590 / 440);
  }
}

.lp-footer__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 0 55px;
  background: transparent;
}

@media (max-width: 801px) {
  .lp-footer__inner {
    padding: 80px 0 31px;
    display: flex;
    flex-direction: column;
    min-height: 590px;
  }
  .lp-footer__content {
    margin-top: auto;
  }
}

@media (max-width: 440px) {
  .lp-footer__inner {
    padding: 21vw 0 5vw;
    min-height: calc(100vw * 590 / 440);
  }
}

.lp-footer__top {
  position: relative;
  margin-bottom: 100px;
  text-align: center;
}

.lp-footer__top-link {
  display: inline-block;
  vertical-align: middle;
  outline: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: opacity 200ms ease;
}

.lp-footer__top-link:hover {
  opacity: 0.7;
}

.lp-footer__top-link:focus-visible {
  outline: 2px solid rgba(72, 128, 182, 0.8);
  outline-offset: 2px;
  border-radius: 6px;
}

.lp-footer__top-link--brand {
  display: block;
  width: 45%;
  max-width: 200px;
  height: 104px;
  margin: 0 auto 30px;
  background-image: url("../img/footer/brand.svg");
}

/* PC (802px以上) */
@media (min-width: 802px) {
  .lp-footer__top-link--instagram,
  .lp-footer__top-link--x {
    width: 62px;
    height: 36px;
    margin: 0 10px;
  }
  .lp-footer__top-link--instagram {
    background-image: url("../img/footer/instagram.svg");
  }
  .lp-footer__top-link--x {
    background-image: url("../img/footer/x.svg");
  }
}

.lp-footer__content {
  color: #4880b6;
  font-family: "Noto Sans", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

.lp-footer__logo {
  margin: 0 0 20px;
  text-align: center;
}

.lp-footer__logo a {
  display: block;
  width: 30%;
  max-width: 122px;
  margin: 0 auto;
  transition: opacity 200ms ease;
}

.lp-footer__logo a:hover {
  opacity: 0.8;
}

.lp-footer__logo img {
  width: 100%;
  height: auto;
}

.lp-footer__links {
  list-style: none;
  margin: 0 0 29px;
  padding: 0;
  font-size: 0;
  text-align: center;
}

.lp-footer__links li {
  display: inline-block;
  padding: 0 15px;
  border-right: solid 1px #4880b6;
  font-size: 13px;
}

.lp-footer__links li:last-child {
  border-right: none;
}

.lp-footer__links a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease;
}

.lp-footer__links a:hover {
  color: #6aa3d4;
  text-decoration: underline;
}

.lp-footer__copy {
  margin: 0;
  font-size: 11px;
  line-height: 1.36;
  text-align: center;
}

/* SP (801px以下) */
@media (max-width: 801px) {
  .lp-footer__top {
    margin-bottom: 62px;
  }
  .lp-footer__top-link--brand {
    width: 201px;
    height: 174px;
    margin-bottom: 0;
    background-image: url("../img/footer/brand-sp.svg");
  }
  .lp-footer__top-link--instagram,
  .lp-footer__top-link--x {
    width: 63px;
    height: 37px;
    margin: 0 8px;
  }
  .lp-footer__top-link--instagram {
    background-image: url("../img/footer/instagram-sp.svg");
  }
  .lp-footer__top-link--x {
    background-image: url("../img/footer/x-sp.svg");
  }
  .lp-footer__logo {
    margin-bottom: 9px;
  }
  .lp-footer__logo a {
    width: 138px;
    max-width: none;
  }
  .lp-footer__links {
    margin-bottom: 31px;
  }
  .lp-footer__links li {
    font-size: 13px;
    padding: 0 11px;
  }
}

/* SP (440px以下) */
@media (max-width: 440px) {
  .lp-footer__top {
    margin-bottom: 14vw;
  }
  .lp-footer__top-link--brand {
    width: 45.7vw;
    height: 39.5vw;
    margin-bottom: 0;
  }
  .lp-footer__top-link--instagram,
  .lp-footer__top-link--x {
    width: 14.3vw;
    height: 8.3vw;
    margin: 0 1.8vw;
  }
  .lp-footer__logo {
    margin-bottom: 4.7vw;
  }
  .lp-footer__logo a {
    width: 31.3vw;
    max-width: none;
  }
  .lp-footer__links {
    margin-bottom: 6.5vw;
  }
  .lp-footer__links li {
    font-size: 3vw;
    padding: 0 2.5vw;
  }
}

@media (max-width: 481px) {
  .lp-footer__links li {
    padding: 0 13px;
    font-size: 13px;
  }
}
