@charset "UTF-8";

.p-footer__top {
  color: #ffffff;
  padding-top: clamp(80px, 13.8333333333vw, 166px);
  padding-bottom: clamp(80px, 12.6666666667vw, 152px);
  position: relative;
}

.p-footer__top-body {
  position: relative;
  z-index: 1;
}
@media screen and (min-width:1024px) {
  .p-footer__top-body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 32px;
  }
}

.p-footer__top-texts {
  max-width: 400px;
}

.p-footer__title .c-section__title-ja::before {
  opacity: 0.6;
}

.p-footer__top-text {
  margin-top: clamp(24px, 3.90625vw, 40px);
  font-size: clamp(13px, 1.0248901903vw, 14px);
  line-height: 1.8571428571;
}

.p-footer__top-links {
  margin-top: clamp(32px, 5.2083333333vw, 40px);
  width: 100%;
  max-width: 500px;
}
@media screen and (min-width:1024px) {
  .p-footer__top-links {
    margin-top: 0;
  }
}

.p-footer__btn {
  padding-block: clamp(20px, 2.734375vw, 28px);
  padding-left: clamp(24px, 2.9296875vw, 30px);
  font-size: clamp(14px, 1.5625vw, 16px);
  line-height: 1.5;
  letter-spacing: 0.48px;
  font-weight: 500;
  border: 1px solid #ffffff;
  position: relative;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.p-footer__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: clamp(20px, 2.44140625vw, 25px);
  width: clamp(32px, 3.7109375vw, 38px);
  aspect-ratio: 1/1;
  border-radius: 3px;
  background: url(../images/icon-right-box-w.png) no-repeat center center/contain;
}
@media (any-hover: hover) {
  .p-footer__btn:hover {
    opacity: 1;
    background: #ffffff;
    color: #303332;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}
.p-footer__tel {
  margin-top: clamp(16px, 2.9296875vw, 30px);
  font-family: "Lato", sans-serif;
  font-size: clamp(20px, 3.22265625vw, 33px);
  line-height: 1.2121212121;
  font-weight: 500;
}
.p-footer__tel-text {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: -0.24px;
}

.p-footer__top-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.p-footer__top-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #303332;
  opacity: 0.7;
  pointer-events: none;
}

.p-footer__bottom {
  padding-top: clamp(80px, 10.1666666667vw, 122px);
  padding-bottom: 40px;
}
@media screen and (min-width:768px) {
  .p-footer__bottom {
    padding-bottom: 0;
  }
}

.p-footer__bottom-wrap {
  padding-bottom: clamp(40px, 8.7239583333vw, 67px);
}

@media screen and (min-width:1024px) {
  .p-footer__bottom-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

.p-footer__info {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.p-footer__logo {
  width: 213px;
  aspect-ratio: 213/47;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

.p-footer__info-texts {
  margin-top: clamp(24px, 5.46875vw, 42px);
}

.p-footer__bottom-text {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.36px;
}
.p-footer__bottom-text + .p-footer__bottom-text {
  margin-top: 4px;
}

.p-footer__menu {
  padding-top: clamp(32px, 5.2083333333vw, 40px);
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  max-width: 278px;
}
@media screen and (min-width:1024px) {
  .p-footer__menu {
    padding-top: 28px;
  }
}

.p-footer__menu-link {
  padding-left: 20px;
  padding-bottom: 5px;
  font-size: 13px;
  line-height: 1.4615384615;
  letter-spacing: 0.39px;
  font-weight: 600;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.p-footer__menu-link .text {
  position: relative;
}
.p-footer__menu-link .text::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -20px;
  width: 10px;
  height: 10px;
  background: url(../images/icon-arrow-right.svg) no-repeat center center/contain;
}
.p-footer__menu-link .text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #303332;
}
.p-footer__menu-link + .p-footer__menu-link {
  margin-top: 30px;
}

.service-wrap {
  margin-top: 15px;
  margin-bottom: 30px;
}
.service-wrap .p-footer__menu-link {
  padding-bottom: 0;
}
.service-wrap .p-footer__menu-link + .p-footer__menu-link {
  margin-top: 9px;
}

.p-copyright-text {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.36px;
}

.p-footer__bg-text {
  margin-top: -8px;
  padding-bottom: 7px;
  overflow-x: hidden;
  z-index: 1;
}
.p-footer__bg-text .bg-text__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 40px;
  width: 100%;
  height: 58.5px;
}
@media screen and (min-width:768px) {
  .p-footer__bg-text .bg-text__wrap {
    height: 117px;
  }
}
.p-footer__bg-text .bg-text {
  color: #ebebeb;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  max-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 32px;
  -webkit-animation: infinity-scroll-left 50s infinite linear 0.5s both;
          animation: infinity-scroll-left 50s infinite linear 0.5s both;
}
@-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%);
  }
}

.p-footer__bg-text .bg-text-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 24px;
}

.p-footer__bg-text .text-l {
  font-family: "Lato", sans-serif;
  font-size: clamp(60px, 8.0078125vw, 82px);
  line-height: 1;
}
.p-footer__bg-text .text-r {
  font-family: "Cormorant Garamond", sans-serif;
  font-size: clamp(72px, 9.375vw, 96px);
  line-height: 1.2446808511;
  font-weight: 500;
}

.text-desc {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -0.24px;
  font-weight: 700;
  text-decoration: underline;
}

.tel-img {
  margin-top: 16px;
  aspect-ratio: 236/47;
  max-width: clamp(200px, 29.296875vw, 300px);
}
