@charset "utf-8";

.p-footer-bg {
  position: relative;
  background: #43423f;
  color: var(--color-white);
  padding-top: 252px;
  padding-bottom: 40px;

  @media (width < 768px) {
    padding-top: 340px;
  }
}

.gjs-dashed *[data-highlightable] .p-footer-bg {
  margin-top: 300px;
}

.p-cta {
  position: absolute;
  top: -210px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;

  @media (width < 768px) {
    top: -270px;
  }
}

.p-cta__box {
  position: relative;
  width: 100%;
  height: 400px;
  z-index: 1;
  padding: 100px clamp(20px, calc(108vw / 13.66), 108px);
  display: flex;
  align-items: center;
  justify-content: space-between;

  @media (width < 768px) {
    flex-direction: column;
    align-items: start;
    gap: 20px;
    padding: 40px;
    height: 550px;
  }
}

.p-cta__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  z-index: -1;
  object-fit: cover;
}

.p-cta__body {
  margin-top: 26px;
  max-width: 450px;

  @media (width < 768px) {
    max-width: 100%;
  }
}

.p-cta__heading {
  .c-heading__en {
    color: #ffffff99;
  }

  .c-heading__ja {
    color: var(--color-white);
  }
}

.p-cta__text {
  margin-top: 30px;
  font-weight: 700;
  line-height: calc(32 / 14);
}

.p-cta__link {
  background: hsla(0, 0%, 100%, 0.16);
  border: 1px solid var(--color-white);
  border-radius: 50%;
  width: 164px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;

  @media (width < 768px) {
    align-self: flex-end;
  }

  img {
    width: 24px;
    height: 24px;
    object-fit: contain;
  }
}

.p-cta__link:hover {
  opacity: 0.7;
}

.p-footer {
  .l-inner {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;

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

.p-footer__body {
  margin-top: 20px;

  @media (width < 768px) {
    margin-top: 0;
  }
}

.p-footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;

  img {
    width: 106px;
    aspect-ratio: 106/74;
    object-fit: contain;
  }

  p {
    font-weight: 700;
    font-size: 18px;
    line-height: calc(38 / 18);
    letter-spacing: 0.03em;
  }
}

.p-footer__text {
  margin-top: 25px;

  a:hover {
    opacity: 0.7;
  }
}

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

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

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

.p-footer__link a:hover {
  opacity: 0.7;
}

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

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