@charset "utf-8";

.p-footer {
  padding: 100px 0 24px;
  background: #212121;
}

.p-footer-cta {
  width: 100%;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  padding: 34px 20px 58px;
}

.p-footer-cta::before {
  content: '';
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  top: 0;
  left: 0;
  background: #000000ad;
  pointer-events: none;
}

.p-footer-cta__slides.swiper {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;

  .swiper-wrapper {
    transition-timing-function: linear;
  }

  .swiper-slide {
    width: 382px;
    aspect-ratio: 382/272;
    object-fit: cover;
  }
}

.gjs-dashed *[data-highlightable] .p-footer-cta__slides.swiper {
  height: auto;
  position: static;

  .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
  }

  .swiper-slide {
    width: 33%;
  }
}

.p-footer-cta__body {
  position: relative;
  z-index: 2;
  text-align: center;
}

.p-footer-cta__heading {
  font-weight: 700;
  font-size: 28px;
  line-height: calc(61 / 28);
  color: var(--color-white);

  @media (width < 768px) {
    font-size: 25px;
    max-width: 290px;
    margin: auto;
  }
}

.p-footer-cta__link {
  margin: 60px auto 0;
  max-width: 402px;
  width: 100%;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  gap: 10px;
  background: var(--color-white);
  border-radius: 10px;
  position: relative;

  p {
    color: var(--color-blue);
    line-height: normal;
  }
}

.p-footer-cta__link:hover {
  background: var(--color-blue);

  p {
    color: var(--color-white);
  }
}

.p-footer-cta__link::before {
  content: '';
  right: 25px;
  width: 22px;
  height: 18px;
  background: url('https://plusnauts.co.jp/system_panel/uploads/images/mail-blue.svg') no-repeat center center / contain;
  transition: all 0.3s ease-out;
}

.p-footer-cta__link:hover::before {
  background: url('https://plusnauts.co.jp/system_panel/uploads/images/mail-white.svg') no-repeat center center / contain;
}

.p-footer-cta__link::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  width: 11px;
  height: 11px;
  background: url('https://plusnauts.co.jp/system_panel/uploads/images/arrow-blue.svg') no-repeat center center / contain;
  transition: all 0.3s ease-out;
}

.p-footer-cta__link:hover::after {
  background: url('https://plusnauts.co.jp/system_panel/uploads/images/arrow-white.svg') no-repeat center center / contain;
}

.p-footer__flex {
  margin-top: 100px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  color: var(--color-white);

  @media (width < 768px) {
    flex-direction: column;
    gap: 40px;
  }
}

.p-footer__body {
  min-width: fit-content;
}

.p-footer__logo {
  width: 180px;
  aspect-ratio: 18/6;
  background: var(--color-white);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;

  img {
    width: 80%;
    height: 100%;
    object-fit: contain;
  }
}

.p-footer__info {
  margin-top: 34px;
  line-height: calc(26 / 14);

  a:hover {
    opacity: 0.7;
  }
}

.p-footer__nav {
  margin-top: 14px;
  max-width: 250px;
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 40px;

  @media (width < 768px) {
    margin-top: 0;
    max-width: 100%;
    flex-direction: column;
    gap: 30px;
  }
}

.p-footer__link {
  line-height: normal;
  letter-spacing: 0.03em;

  a:hover {
    opacity: 0.7;
  }
}

.p-footer__copyright {
  margin: 200px auto 0;
  text-align: center;
  color: var(--color-white);
  font-weight: 400;
  font-size: 11px;
  line-height: calc(21 / 11);

  @media (width < 768px) {
    margin: 120px auto 0;
  }
}
