.footer {
  position: relative;
  z-index: 10;
}

.footer-cta {
  padding-inline: 20px;
}

.footer-cta__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

a.footer-cta__box {
  color: #ffffff;
}
a.footer-cta__box:hover {
  opacity: 1;
}
a.footer-cta__box:hover .footer-cta__deco img {
  transform: scale(1.1);
}

.footer-cta__box {
  align-items: flex-start;
  align-items: center;
  border-radius: 30px;
  box-shadow: 7px 7px 14px rgba(114, 114, 114, 0.3);
  color: #ffffff;
  display: flex;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  justify-content: center;
  min-height: 247px;
  overflow: hidden;
  padding: 32px 20px;
  position: relative;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.footer-cta__box--mail {
  background: linear-gradient(90deg, #25b5ea 3.94%, #aee1ff 100%);
}
.footer-cta__box--mail .footer-cta__content-head {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
}
.footer-cta__box--mail .footer-cta__arrow {
  grid-column: 2;
  grid-row: 1/3;
}
.footer-cta__box--tel {
  background: linear-gradient(90deg, #319be6 3.94%, #aee1ff 100%);
}
.footer-cta__box--tel .footer-cta__content-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-cta__box .footer-cta__deco {
  border-radius: 30px;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
}
.footer-cta__box .footer-cta__deco img {
  height: 219.73%;
  left: -42.09%;
  max-width: none;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: right;
     object-position: right;
  opacity: 0.3;
  position: absolute;
  top: -59.86%;
  transition: transform 0.3s ease;
  width: 119.49%;
}
.footer-cta__box .footer-cta__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  margin-inline: auto;
  max-width: 460px;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.footer-cta__box .footer-cta__label {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: calc(20 / 16);
}
.footer-cta__box .footer-cta__title {
  font-family: "Manrope", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: calc(20 / 30);
}
.footer-cta__box .footer-cta__desc {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: calc(30 / 14);
  margin-top: 20px;
}
.footer-cta__box .footer-cta__tel {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: space-between;
  margin-top: 20px;
}
.footer-cta__box .footer-cta__tel-num {
  font-family: "Manrope", sans-serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: calc(30 / 44);
}
.footer-cta__box .footer-cta__tel-time {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: calc(30 / 14);
}
.footer-cta__box .footer-cta__arrow {
  position: relative;
  z-index: 1;
}

.footer__body {
  background-color: #ffffff;
  border-radius: 40px 40px 0 0;
  margin-top: -385px;
  padding-top: 430px;
}

.footer__inner {
  padding: 0 20px 64px;
  position: relative;
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo {
  align-items: center;
  color: inherit;
  display: flex;
  gap: 8px;
  text-decoration: none;
}
.footer-logo img {
  flex-shrink: 0;
  height: 43px;
  -o-object-fit: contain;
     object-fit: contain;
  width: 54px;
}

.footer-logo__name {
  color: #1b58cd;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: calc(20 / 18);
}

.footer__address {
  color: #47a5e9;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: calc(26 / 14);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-nav__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

a.footer-nav__item {
  color: #47a5e9;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.4;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer__copyright {
  color: #47a5e9;
  font-size: 10px;
  font-weight: 400;
  line-height: calc(21 / 11);
  margin-top: 24px;
  text-align: center;
}
.pagetop {
  display: block;
  height: 72px;
  margin: 40px 0 0 auto;
  transition: opacity 0.3s ease;
  width: 72px;
}
.pagetop img {
  display: block;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  width: 100%;
}
@media (min-width: 768px) {
  .footer-cta {
    padding-inline: 40px;
  }
  .footer-cta__box {
    padding: 40px 20px;
  }
  .footer-cta__box .footer-cta__label {
    font-size: 16px;
  }
  .footer-cta__box .footer-cta__title {
    font-size: 30px;
  }
  .footer-cta__box .footer-cta__desc {
    font-size: 14px;
    margin-top: 35px;
  }
  .footer-cta__box .footer-cta__tel {
    margin-top: 52px;
  }
  .footer-cta__box .footer-cta__tel-num {
    font-size: 44px;
  }
  .footer-cta__box .footer-cta__tel-time {
    font-size: 14px;
  }
  .footer__top {
    align-items: flex-start;
    flex-direction: row;
    gap: 20px;
    justify-content: space-between;
  }
  .footer-logo__name {
    font-size: 18px;
  }
  .footer__address {
    font-size: 14px;
  }
  .footer-nav {
    align-items: flex-end;
    gap: 40px;
    padding-top: 14px;
  }
  a.footer-nav__item {
    font-size: 14px;
  }
  .footer__copyright {
    font-size: 11px;
  }
  .pagetop {
    height: 102px;
    width: 102px;
  }
}
@media (min-width: 1024px) {
  .footer-cta__inner {
    display: grid;
    gap: 29px;
    grid-template-columns: repeat(2, minmax(0, 558px));
    justify-content: center;
  }
  .footer__body {
    margin-top: -146px;
    padding-top: 232px;
  }
  .footer__top {
    gap: 48px;
  }
  .footer__brand {
    gap: 45px;
  }
  .footer-nav__row {
    gap: 8px 44px;
    justify-content: flex-end;
  }
}
@media (min-width: 1366px) {
  .footer-cta {
    padding-inline: 109px;
  }
  .footer-cta__box {
    min-height: 295px;
    padding: 68px 20px 62px;
  }
  .footer__inner {
    padding: 0 0 80px;
  }
  .pagetop {
    margin: 244px 0 0 auto;
  }
}
@media (hover: hover) {
  .footer-cta__box:hover {
    opacity: 0.9;
  }
  a.footer-nav__item:hover {
    opacity: 0.7;
  }
  .pagetop:hover {
    opacity: 0.85;
  }
}