@charset "UTF-8";

.p-footer {
  position: relative;
}

.p-footer__top {
  position: relative;
  background: #faf9ec;
  padding-top: clamp(120px, 17.7891654466vw, 243px);
}

.p-footer__contact {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  row-gap: 32px;
  padding-block: 40px;
  max-width: 1106px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  background: #ffffff;
  -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
          box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
  border-radius: 10px;
  position: relative;
  z-index: 2;
}
@media screen and (min-width:1024px) {
  .p-footer__contact {
    -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;
  }
}

.p-footer__cta {
  padding-inline: clamp(20px, 3.3333333333vw, 40px);
  position: relative;
}
@media screen and (min-width:1200px) {
  .p-footer__cta {
    padding-inline: 65px;
  }
}
.p-footer__cta:nth-of-type(2)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  width: calc(100% - 40px);
  height: 1px;
  background: url(../images/top-contact-line.svg) no-repeat center center/cover;
}
@media screen and (min-width:1024px) {
  .p-footer__cta:nth-of-type(2)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
  }
}

.p-footer__cta:nth-of-type(2) .p-footer__cta-title::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 19px;
  height: 16px;
  background: url(../images/icon-tel.svg) no-repeat center center/cover;
}
@media screen and (min-width:768px) {
  .p-footer__cta:nth-of-type(2) .p-footer__cta-title::before {
    top: 6px;
  }
}

.p-footer__cta-title {
  margin-top: 30px;
  padding-left: 30px;
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.4444444444;
  font-weight: 600;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  position: relative;
}
.p-footer__cta-title::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 21px;
  height: 15px;
  background: url(../images/icon-mail-black.svg) no-repeat center center/cover;
}
@media screen and (min-width:768px) {
  .p-footer__cta-title::before {
    top: 6px;
  }
}

.p-footer__cta-btn {
  margin-top: 33px;
  width: clamp(300px, 41.30859375vw, 423px);
  margin-inline: auto;
  padding-block: 21px;
  background: #F9E14B;
  border-radius: 36px;
  position: relative;
}
.p-footer__cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #F9E14B;
  border-radius: 36px;
}
@media (any-hover: hover) {
  .p-footer__cta-btn:hover {
    background: #ffffff;
    opacity: 1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}
.p-footer__cta-btn .text {
  font-size: clamp(14px, 1.3333333333vw, 16px);
  line-height: 1.5;
  letter-spacing: 0.8px;
  font-weight: 500;
  text-align: center;
  position: relative;
}
.p-footer__cta-btn .text::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 45px;
  width: 9px;
  height: 10px;
  background: url(../images/btn-icon-right.svg) no-repeat center center/cover;
}

.p-footer__cta-text {
  margin-top: 9px;
  font-family: "Lato", serif;
  font-size: 13px;
  line-height: 1.3076923077;
  letter-spacing: 2.73px;
  font-weight: 500;
  text-align: center;
}

.p-footer__cta-num {
  margin-top: 26px;
  width: clamp(300px, 41.30859375vw, 423px);
  margin-inline: auto;
}
.p-footer__cta-num .text {
  color: #F9E14B;
  font-size: clamp(24px, 3.6603221083vw, 50px);
  line-height: 1.44;
  letter-spacing: 2px;
  font-weight: 600;
  text-align: center;
}

.p-footer__top-bg {
  position: absolute;
  aspect-ratio: 1366/447;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 447px;
  border-radius: 5px;
}
.p-footer__top-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ada79e;
  border-radius: 5px;
  opacity: 0.21;
  pointer-events: none;
  z-index: 1;
}


.p-footer__bottom {
  background: #faf9ec;
  margin-top: clamp(-86px, -6.2957540264vw, -40px);
  padding-top: clamp(100px, 12.1522693997vw, 166px);
}

.p-footer__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  max-width: 1106px;
  margin-inline: auto;
  gap: 32px;
  padding-bottom: clamp(60px, 9.0043923865vw, 123px);
}
@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;
  }
}

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

.p-footer__logo {
  width: 107px;
  height: 69px;
}

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

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

.p-footer__menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  max-width: 300px;
  gap: 30px;
}
@media screen and (min-width:768px) {
  .p-footer__menu {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width:768px) {
  .p-footer__menu {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
  }
}
@media screen and (min-width:1024px) {
  .p-footer__menu {
    margin-top: 25px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

.p-footer__menu .c-link {
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

@media screen and (min-width:768px) {
  .p-footer__menu .c-link {
    justify-items: center;
  }
}
@media screen and (min-width:1024px) {
  .p-footer__menu .c-link {
    justify-items: start;
  }
}

.p-footer__menu-text {
  font-size: 14px;
  line-height: 1.4285714286;
  letter-spacing: 1.12px;
  font-weight: 600;
}

.p-copyright-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding-block: 31px 30px;
  border-top: 1px solid #cccccc;
  max-width: 1100px;
  margin-inline: auto;
}

.p-copyright-text {
  padding-top: 18px;
  font-size: 10px;
  color: #333333;
  font-size: 10px;
  line-height: 1.5;
}

.pagetop-btn {
  width: 125px;
  height: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
}
.pagetop-btn::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background: url(../images/page-top.png) no-repeat center center/cover;
}

.pagetop-btn-text {
  font-family: "Inter", serif;
  color: #333333;
  font-size: 14px;
  line-height: 1.3571428571;
}