@charset "UTF-8";

.p-footer {
  position: relative;
  background: #F9F8F7;
  padding-top: 300px;
}
@media screen and (min-width:1024px) {
  .p-footer {
    padding-top: 143px;
  }
}
.p-footer .l-inner {
  position: unset;
}

.p-contact {
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50%;
  border-radius: 10px;
  width: min(500px, 100vw - 40px);
  z-index: 10;
}
@media screen and (min-width:1024px) {
  .p-contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: min(1200px, 100vw - 40px);
  }
}

.p-contact__content {
  padding-block: 70px 54px;
  color: #ffffff;
  text-align: center;
}

.content-tel {
  background: #0c8ac7;
  border-radius: 10px 10px 0 0;
}
@media screen and (min-width:1024px) {
  .content-tel {
    border-radius: 10px 0 0 10px;
  }
}

.content-mail {
  background: #73b690;
  border-radius: 0 0 10px 10px;
}
@media screen and (min-width:1024px) {
  .content-mail {
    border-radius: 0 10px 10px 0;
  }
}

.p-contact__content-head {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}

.p-contact__title-en {
  font-family: "Lato", serif;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 500;
}

.p-contact__title-ja {
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
  line-height: 1.4285714286;
  letter-spacing: 1.12px;
  font-weight: 700;
}

.p-contact__content-btn {
  margin-top: 45px;
  border: 1px solid #ffffff;
  border-radius: 30px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}
.p-contact__content-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: #ffffff;
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
}
.btn-tel {
  padding-inline: 21px 27.5px;
}
@media screen and (min-width:768px) {
  .btn-tel {
    padding-inline: 31px 37.5px;
  }
}

.btn-tel .num {
  padding-left: 40.5px;
  margin-top: 1px;
  font-size: 28px;
  line-height: 1.4642857143;
  letter-spacing: 2.24px;
  font-weight: 500;
  position: relative;
}
.btn-tel .num::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 0;
  width: 11px;
  height: 29px;
  background: url(../images/icon-tel.svg) center/cover no-repeat;
}
.btn-tel .desc {
  padding-left: 24.5px;
  margin-top: -2px;
  font-size: 11px;
  line-height: 1.3636363636;
  letter-spacing: 2.31px;
  font-weight: 500;
  text-align: center;
}

.mail-btn {
  padding-block: 19px;
  padding-inline: 62.5px 80.4px;
}
@media screen and (min-width:768px) {
  .mail-btn {
    padding-inline: 72.5px 90.4px;
  }
}
.mail-btn .text {
  font-size: 15px;
  line-height: 1.4666666667;
  letter-spacing: 1.2px;
  font-weight: 500;
  position: relative;
}
.mail-btn .text::before {
  content: "";
  position: absolute;
  top: 2px;
  left: -44px;
  width: 23.34px;
  height: 18.67px;
  background: url(../images/icon-mail.svg) center/cover no-repeat;
}
.mail-btn .text::after {
  content: "";
  position: absolute;
  top: 2px;
  right: -70px;
  width: 28px;
  height: 18px;
  background: url(../images/btn-arrow-white.png) center/cover no-repeat;
}

.p-footer__wrap {
  padding-block: 370px 120px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 2;
}
@media screen and (min-width:1024px) {
  .p-footer__wrap {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    padding-block: 238px 204px;
  }
}


.p-footer__logo {
  width: clamp(200px, 23.3528550512vw, 319px);
  aspect-ratio: 319/55;
  height: 100%;
}

.p-footer__menu-wrap {
  display: grid;
  grid-template-columns: 84px clamp(20px, 7.8330893119vw, 107px) 56px clamp(26px, 9.8828696925vw, 135px) 56px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  row-gap: 38px;
  padding-block: 63px 68px;
  padding-inline: clamp(25px, 7.8125vw, 60px) clamp(25px, 10.0260416667vw, 77px);
  max-width: 575px;
  background: #ffffff;
  -webkit-box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.1607843137);
          box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.1607843137);
  border-radius: 10px;
  margin-inline: auto;
}
@media screen and (min-width:768px) {
  .p-footer__menu-wrap {
    padding-inline: 60px 77px;
  }
}
@media screen and (min-width:1024px) {
  .p-footer__menu-wrap {
    margin-inline: 0;
  }
}

.p-footer__menu-link:nth-of-type(3n + 1) {
  grid-column: 1;
}
.p-footer__menu-link:nth-of-type(3n + 2) {
  grid-column: 3;
}
.p-footer__menu-link:nth-of-type(3n) {
  grid-column: 5;
}

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

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

.p-copyright-wrap {
  padding-block: 10px 14px;
  position: relative;
  z-index: 2;
}
.p-copyright-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #3f4d41;
  opacity: 0.2;
}

.p-copyright-text {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.96px;
  font-weight: 500;
  color: #3f4d41;
}

.inner-white {
  background: #ffffff;
  border-radius: 40px 40px 0 0;
}
.p-footer__bg {
  position: absolute;
  top: 143px;
  left: 50%;
  translate: -50%;
  width: 100%;
  height: calc(100% - 150px);
  background: url(../images/logo-footer.png) center/cover no-repeat;
  pointer-events: none;
}

