@charset "UTF-8";

.p-footer__top {
  padding-top: clamp(80px, 9.5vw, 114px);
  padding-bottom: clamp(60px, 8.3333333333vw, 100px);
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.p-footer__title {
  position: relative;
  z-index: 2;
}

.p-footer__btn-wrap {
  margin-top: clamp(32px, 4.8828125vw, 50px);
  position: relative;
  z-index: 2;
}
@media screen and (min-width:768px) {
  .p-footer__btn-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 40px;
        max-width: 1120px;
    margin-inline: auto;
  }
}

.p-footer__btn {
  padding-top: clamp(20px, 3.61328125vw, 37px);
  padding-bottom: clamp(20px, 2.83203125vw, 29px);
  padding-inline: 20px;
  width: 100%;
  max-width: 540px;
  border-radius: 5px;
  position: relative;
  margin-inline: auto;
}
.p-footer__btn::after {
  content: "";
  position: absolute;
  top: clamp(36px, 4.296875vw, 44px);
  right: 25px;
 width: clamp(23px, 4.4921875vw, 46px);
  aspect-ratio: 1/1;
}
.p-footer__btn.btn-line {
  background: #00aa55;
}
.p-footer__btn.btn-line::after {
  background: url(../images/icon-arrow-line.svg) no-repeat center center/contain;
}
.p-footer__btn.btn-mail {
  background: #0084AA;
  margin-top: 32px;
}
.p-footer__btn.btn-mail::after {
  background: url(../images/icon-arrow-mail.svg) no-repeat center center/contain;
}
@media screen and (min-width:768px) {
  .p-footer__btn.btn-mail {
    margin-top: 0;
  }
}

.p-footer__btn-head {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
.p-footer__btn-head .btn-title {
  font-family: "Abril Fatface", serif;
  font-size: clamp(20px, 2.734375vw, 28px);
  line-height: 1.1428571429;
  letter-spacing: 2.24px;
  text-align: center;
}
.p-footer__btn-head .btn-text {
  margin-top: 4px;
  font-size: clamp(14px, 1.5625vw, 16px);
  line-height: 1.5;
  letter-spacing: 0.64px;
  font-weight: 500;
}

.p-footer__bg-text {
  position: absolute;
  top: clamp(-111px, -8.1259150805vw, -56px);
  right: 0;
  width: clamp(150px, 51.6837481698vw, 800px);
  aspect-ratio: 706/306;
  z-index: 1;
}

.p-footer__top-bg {
  position: absolute;
  inset: 0;
}
.p-footer__top-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../images/top-footer-filter.png) no-repeat center center/cover;
  z-index: 1;
  pointer-events: none;
}


.p-footer__bottom {
  padding-top: clamp(80px, 10vw, 120px);
  position: relative;
}
@media screen and (min-width:768px) {
  .p-footer__bottom .l-inner {
    padding-inline: clamp(60px, 9.0043923865vw, 123px);
  }
}
@media screen and (min-width:1367px) {
  .p-footer__bottom .l-inner {
    padding-inline: calc((100vw - 1120px) / 2);
  }
}
.p-footer__bottom::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../images/footer-filter.png) no-repeat center center/cover;
  pointer-events: none;
}

.p-footer__bottom-wrap {
  padding-bottom: clamp(92px, 13.3333333333vw, 160px);
}

@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;
    gap: 40px;
  }
}

.p-footer__info {
  max-width: 260px;
}

.p-footer__logo {
  width: 210px;
  height: 60px;
}

.p-footer__info-name {
  color: #0084AA;
  margin-top: 15px;
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 1.4285714286;
  letter-spacing: 0.56px;
}

.p-footer__info-texts {
  margin-top: clamp(32px, 5.859375vw, 60px);
  font-size: clamp(12px, 1.6927083333vw, 13px);
  line-height: 1.6153846154;
  letter-spacing: 0.52px;
}

.p-footer__info-text {
  margin-top: 15px;
  font-size: clamp(12px, 1.6927083333vw, 13px);
  line-height: 1.4615384615;
  letter-spacing: 0.52px;
}

.p-footer__menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  row-gap: 24px;
  margin-top: 40px;
}
@media screen and (min-width:768px) {
  .p-footer__menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 480px;
    margin-inline: auto;
  }
}
@media screen and (min-width:1024px) {
  .p-footer__menu {
    margin-top: 0;
    margin-left: 0;
    margin-right: clamp(40px, 6.2957540264vw, 86px);
  }
}

.p-footer__menu-list {
  max-width: 128px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
@media screen and (min-width:768px) {
  .p-footer__menu-list + .p-footer__menu-list {
    margin-left: clamp(60px, 6.588579795vw, 90px);
  }
}
.p-footer__menu-link {
  font-size: clamp(13px, 1.3671875vw, 14px);
  line-height: 1.4285714286;
  letter-spacing: 0.56px;
  font-weight: 500;
}
.p-footer__menu-link + .p-footer__menu-link {
  margin-top: clamp(24px, 4.5572916667vw, 35px);
}
.service-wrap {
  margin-top: 15px;
}
.service-wrap .p-footer__menu-link {
  padding-left: 11px;
  font-size: clamp(12px, 1.26953125vw, 13px);
  line-height: 1.4615384615;
  letter-spacing: 0.52px;
  font-weight: 400;
  opacity: 0.7;
  position: relative;
}
.service-wrap .p-footer__menu-link::before {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  left: 0;
  width: 6px;
  height: 1px;
  background: rgba(0, 132, 170, 0.3);
}
.service-wrap .p-footer__menu-link + .p-footer__menu-link {
  margin-top: 10px;
}

.p-copyright-wrap {
  border-top: 1px solid rgba(35, 57, 64, 0.1);
  padding-top: 21px;
  padding-bottom: clamp(80px, 13.6896046852vw, 187px);
}

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