@charset "utf-8";

.p-cta {
  margin-top: -310px;
}

.gjs-dashed *[data-highlightable] .p-cta {
  margin-top: 0;
}

.p-cta__bg {
  background: #292f33;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  border-radius: 5px;
  gap: 20px;
  padding: 66px 20px 70px;

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

.p-cta__bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 686px;
  height: 100%;
  background: hsla(356, 89%, 45%, 0.3);
  clip-path: polygon(0 0, 65% 0, 100% 100%, 35% 100%);

  @media (width < 768px) {
    width: 100%;
    left: 5%;
  }
}

.p-cta__column {
  position: relative;
  z-index: 1;
  color: #fff;
}

.p-cta__column:nth-of-type(1) {
  width: 31%;

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

.p-cta__column:nth-of-type(2) {
  width: 25%;
  align-self: center;

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

.p-cta__column:nth-of-type(3) {
  width: 31%;
  min-width: 220px;
  align-self: flex-end;

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

.p-cta__heading {
  font-family: var(--font-noto-sans);
  font-weight: 700;
  font-size: 59px;
  letter-spacing: -0.02em;
  line-height: 1.339;
}

.p-cta__main1 {
  margin-top: 20px;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.769;
}

.p-cta__link {
  margin-top: 130px;
  width: 104px;
  aspect-ratio: 1;
  border-radius: 4px;
  border: 1px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;

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

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

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

.p-cta__img {
  width: 100%;
  aspect-ratio: 28/20;
  object-fit: cover;
}

.p-cta__main2 {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.636;
  max-width: 283px;
  margin-left: auto;
}

.p-cta__text {
  margin-top: 25px;
  max-width: 283px;
  margin-left: auto;
  margin-bottom: 12px;
}

.p-footer {
  margin-top: 90px;

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

.p-footer__flex {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;

  @media (width < 768px) {
    flex-direction: column;
    align-items: start;
  }
}

.p-footer__left {
}

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

  div {
    display: inline-flex;
  }
}

.p-footer__right {
  width: 51%;

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

.p-footer__nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 8px;

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

.p-footer__link {
  a {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    font-size: 13px;
    line-height: 1.385;
    letter-spacing: 0.05em;
    position: relative;
  }
}

.p-footer__link a::before {
  content: "";
  width: 20px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-red) url("https://ajpc-inc.com/system_panel/uploads/images/nav-arrow-white.svg") no-repeat center center / 30%;
  transition: all 0.2s ease;
}

.p-footer__link a::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: calc(100% - 30px);
  height: 1px;
  border-bottom: 1px solid hsla(0, 0%, 20%, 0.2);
  transition: all 0.2s ease;
}

.p-footer__link a:hover::before {
  background: #b30a14 url("https://ajpc-inc.com/system_panel/uploads/images/nav-arrow-white.svg") no-repeat center center / 30%;
}

.p-footer__link a:hover::after {
  border-bottom: 1px solid hsla(0, 0%, 20%, 1);
}

.p-footer__inner {
  padding: 0 20px;
}

.p-footer__bg {
  margin: 184px auto 0;
  width: 95%;
  border-radius: 10px 10px 0px 0px;
  background: var(--color-red);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 29px 0 11px;
  color: #fff;

  @media (width < 768px) {
    margin: 70px auto 0;
    gap: 24px;
    width: 100%;
  }
}

.p-footer__pagetop {
  width: 280px;
  height: 55px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #ffffff;
  border-radius: 5px;

  img {
    width: 10px;
    transform: rotate(-90deg);
    object-fit: contain;
  }

  p {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    font-family: var(--font-noto-sans);
    line-height: 1.333;
  }
}

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

.p-footer__copyright {
  font-weight: 400;
  font-size: 11px;
  font-family: var(--font-m-plus);
  line-height: 1.364;
  letter-spacing: 0.03em;
}
