@charset "UTF-8";

.p-footer {
  padding-top: clamp(80px, 11.4166666667vw, 137px);
  padding-inline: clamp(20px, 6.9010416667vw, 53px);
}
@media screen and (min-width:1367px) {
  .p-footer {
    padding-inline: calc(53px + (100vw - 1366px) / 2);
  }
}
.p-cta {
  display: grid;
  grid-template-areas: "img" "head" "body";
  grid-template-columns: 1fr;
  gap: 24px;
}
@media screen and (min-width:768px) {
  .p-cta {
    grid-template-areas: "img head" "img body";
    grid-template-columns: auto 1fr;
    -webkit-column-gap: 32px;
       -moz-column-gap: 32px;
            column-gap: 32px;
    row-gap: 16px;
  }
}
@media screen and (min-width:1024px) {
  .p-cta {
    -webkit-column-gap: clamp(40px, 4.39238653vw, 60px);
       -moz-column-gap: clamp(40px, 4.39238653vw, 60px);
            column-gap: clamp(40px, 4.39238653vw, 60px);
    margin-left: clamp(20px, 3.8799414348vw, 53px);
  }
}
@media screen and (min-width:1200px) {
  .p-cta {
    -webkit-column-gap: clamp(80px, 8.1259150805vw, 111px);
       -moz-column-gap: clamp(80px, 8.1259150805vw, 111px);
            column-gap: clamp(80px, 8.1259150805vw, 111px);
  }
}

.p-cta__img {
  grid-area: img;
  width: min(300px, 100% - 40px);
  aspect-ratio: 300/414;
  border-radius: 10px;
}
@media screen and (min-width:768px) {
  .p-cta__img {
    width: clamp(240px, 21.9619326501vw, 300px);
    max-width: 300px;
  }
}
.p-cta__img img {
  border-radius: 10px;
}

.p-cta__head {
  grid-area: head;
}

.p-cta__head-text {
  margin-top: clamp(32px, 3.90625vw, 40px);
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 2.1428571429;
  letter-spacing: 0.03em;
  font-weight: 500;
  max-width: 514px;
}

.p-cta__body {
  grid-area: body;
  display: grid;
  grid-template-columns: 1fr;
      row-gap: 16px;
}
@media screen and (min-width:1024px) {
  .p-cta__body {
    grid-template-columns: repeat(2, 1fr);
    margin-top: clamp(40px, 4.1727672035vw, 57px);
    max-width: 726px;
    gap: 24px;
  }
}
@media screen and (min-width:1200px) {
  .p-cta__body {
    gap: clamp(20px, 3.6603221083vw, 50px);
  }
}

.p-cta__link {
  width: 100%;
  max-width: 338px;
  padding-top: clamp(24px, 3.02734375vw, 31px);
  padding-bottom: clamp(20px, 2.63671875vw, 27px);
  padding-inline: 20px;
  border-top: 1px solid #e1e1e1;
  border-left: 1px solid #e1e1e1;
  border-radius: 10px 0 0 0;
}
@media screen and (min-width:768px) {
  .p-cta__link {
    padding-inline: 21px 28px;
  }
}

.p-cta__link-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.p-cta__link-head::before {
  content: "";
  width: clamp(40px, 5vw, 60px);
  aspect-ratio: 1/1;
}
.p-cta__link-head:last-of-type::before {
  background: url(../images/contact-tel.svg) no-repeat center center/contain;
}

.p-cta__link-ja {
  font-size: 14px;
  line-height: 1.4285714286;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.p-cta__link-en {
  color: #a2a2a2;
  margin-top: 5px;
  font-size: 12px;
  line-height: 0.8333333333;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.p-cta__btn {
  margin-top: 18px;
  padding-block: 15px;
  padding-inline: 27px 38px;
  color: #151515;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #c9c9c9;
  border-radius: 10px;
  position: relative;
}
.p-cta__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 6px;
  width: 32px;
  aspect-ratio: 1/1;
  background: url(../images/icon-right-blue.svg) no-repeat center center/contain;
}
.p-cta__num {
  margin-top: 26px;
  margin-left: 20px;
  font-family: "Lato", serif;
  font-size: clamp(24px, 2.9166666667vw, 35px);
  line-height: 0.8571428571;
  letter-spacing: 0.03em;
  font-weight: 500;
}
@media screen and (min-width:1200px) {
  .p-cta__num {
    margin-left: clamp(20px, 3.4407027818vw, 47px);
  }
}

.p-footer__bottom {
  margin-top: clamp(60px, 8.203125vw, 84px);
  padding-top: clamp(60px, 8.30078125vw, 85px);
  color: #ffffff;
  background: #65c2f5;
  border-radius: 30px 30px 0 0;
}

.p-footer__bottom-wrap {
  padding-left: clamp(20px, 4.6666666667vw, 56px);
  padding-right: clamp(20px, 4.831625183vw, 66px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media screen and (min-width:768px) {
  .p-footer__bottom-wrap {
    grid-template-columns: 248px 1fr;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

.p-footer__logo {
  width: 227px;
  aspect-ratio: 227/64;
}

.p-footer__info-texts {
  margin-top: 14px;
}

.p-footer__info-text {
  font-size: 14px;
  line-height: 1.8571428571;
  font-weight: 500;
}

@media screen and (min-width:1024px) {
  .p-footer__menu {
    margin-top: 26px;
  }
}

.p-footer__menu-row {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 20px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.p-footer__menu-row:last-child {
  margin-top: 20px;
}
@media screen and (min-width:768px) {
  .p-footer__menu-row {
    -webkit-column-gap: clamp(22px, 2.9282576867vw, 40px);
       -moz-column-gap: clamp(22px, 2.9282576867vw, 40px);
            column-gap: clamp(22px, 2.9282576867vw, 40px);
    margin-left: auto;
  }
  .p-footer__menu-row:first-child {
    grid-template-columns: repeat(3, auto);
  }
  .p-footer__menu-row:last-child {
    grid-template-columns: repeat(4, auto);
    margin-top: clamp(32px, 3.75vw, 45px);
  }
}

.p-footer__menu-link {
  font-size: 14px;
  letter-spacing: 0.03em;
  font-weight: 500;
}
.p-pagetop__btn {
  margin-top: 56px;
  margin-right: clamp(20px, 4.831625183vw, 66px);
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 50%;
  padding: 40px 35px 26px;
  font-family: "Prompt", sans-serif;
  color: #0056CF;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.6px;
  font-weight: 500;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
  text-align: center;
  position: relative;
}
@media screen and (min-width:768px) {
  .p-pagetop__btn {
    margin-top: clamp(120px, 15.3733528551vw, 210px);
  }
}
.p-pagetop__btn::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  translate: -50%;
  width: 8px;
  height: 7px;
  background: url(../images/pagetop-arrow.svg) no-repeat center center/contain;
}
@media (any-hover: hover) {
  .p-pagetop__btn:hover {
    color: #ffffff;
    background: #0056CF;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

.p-copyright__text {
  margin-top: 39px;
  font-size: 11px;
  line-height: 1.9090909091;
  text-align: center;
}

.p-footer__bg-text {
  margin-top: 2px;
  overflow: hidden;
}
.p-footer__bg-text .bg-text__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 50px;
  width: 100%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}
.p-footer__bg-text .bg-text {
  margin-top: 12px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  max-height: 100%;
  width: auto;
  height: auto;
  font-family: "Bebas Neue", serif;
  color: rgba(255, 255, 255, 0.3);
  font-size: clamp(80px, 14.6412884334vw, 200px);
  line-height: 0.8;
  font-weight: 700;
  -o-object-fit: contain;
     object-fit: contain;
  -webkit-animation: infinity-scroll-left 50s infinite linear 0.5s both;
          animation: infinity-scroll-left 50s infinite linear 0.5s both;
}
.p-footer__bg-text .bg-text img {
  max-height: 100%;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
@-webkit-keyframes infinity-scroll-left {
  from {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
  to {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
}
@keyframes infinity-scroll-left {
  from {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
  to {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
}