html body .p-footer {
  position: relative;
  padding: 0 clamp(24px, 2.196193265vw, 36px) clamp(32px, 2.9282576867vw, 48px);
}
html body .p-footer::before, html body .p-footer::after {
  z-index: 2;
}
html body .p-footer::before {
  content: "";
  position: absolute;
  left: clamp(0px, 0vw, 0px);
  top: clamp(-615.6px, -37.5549048316vw, -410.4px);
  width: clamp(533.6px, 48.8286969253vw, 800.4px);
  height: clamp(354.4px, 32.4304538799vw, 531.6px);
  background-color: #fff;
  opacity: 0.15;
  pointer-events: none;
  -webkit-mask-image: url("../images/wave-left.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url("../images/wave-left.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}
html body .p-footer::after {
  content: "";
  position: absolute;
  left: clamp(472px, 43.1918008785vw, 708px);
  top: clamp(-84px, -5.1244509517vw, -56px);
  width: clamp(620.8px, 56.8081991215vw, 931.2px);
  height: clamp(381.6px, 34.9194729136vw, 572.4px);
  background-color: #fff;
  opacity: 0.15;
  pointer-events: none;
  -webkit-mask-image: url("../images/wave-right.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url("../images/wave-right.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}
html body .p-footer--contact {
  padding-top: clamp(64px, 5.8565153734vw, 96px);
  padding-bottom: clamp(44px, 4.0263543192vw, 66px);
}
html body .p-footer--contact::before {
  top: clamp(-519.6px, -31.6983894583vw, -346.4px);
}
html body .p-footer--contact::after {
  top: clamp(8px, 0.7320644217vw, 12px);
}
html body .p-footer--contact .p-footer__watermark {
  top: clamp(312.8px, 28.6237188873vw, 469.2px);
}
html body .p-footer__box {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: clamp(98.4px, 9.0043923865vw, 147.6px) clamp(79.2px, 7.2474377745vw, 118.8px) clamp(73.6px, 6.7349926794vw, 110.4px) clamp(80px, 7.3206442167vw, 120px);
  border-radius: 5px;
  background: rgba(0, 113, 211, 0.5);
}
html body .p-footer__name {
  display: block;
  width: fit-content;
  margin-top: clamp(2.4px, 0.2196193265vw, 3.6px);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  html body .p-footer__name:hover {
    transform: scale(1.03);
  }
}
html body .p-footer__address {
  margin-top: clamp(25.6px, 2.3426061493vw, 38.4px);
}
html body .p-footer__tel {
  display: block;
  width: fit-content;
}
html body .p-footer__tel a,
html body .p-footer__tel a:hover,
html body .p-footer__tel a:focus {
  color: inherit;
}
html body .p-footer__nav {
  display: flex;
  gap: clamp(22.4px, 2.0497803807vw, 33.6px);
}
html body .p-footer__nav .p-footer__navItem {
  min-height: 0;
  padding: 0;
}
html body .p-footer__navItem p {
  position: relative;
}
html body .p-footer__navItem p::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  html body .p-footer__navItem:hover p::after {
    transform: scaleX(1);
  }
}
html body .p-footer__copyright {
  width: calc(100% + clamp(21.6px, 1.9765739385vw, 32.4px));
  margin: clamp(63.2px, 5.7833089312vw, 94.8px) clamp(-32.4px, -1.9765739385vw, -21.6px) 0 0;
  text-align: right;
}
html body .p-footer__watermark {
  position: absolute;
  z-index: 2;
  left: clamp(362.4px, 33.1625183016vw, 543.6px);
  top: clamp(248.8px, 22.7672035139vw, 373.2px);
  opacity: 0.346;
  pointer-events: none;
  white-space: nowrap;
}
@media screen and (min-width: 1367px) {
  html body .p-footer {
    padding-inline: clamp(30px, 2.1962%, 60px);
  }
  html body .p-footer::after {
    left: auto;
    right: 0;
  }
  html body .p-footer__box {
    padding-inline: calc((100% - clamp(885.6px, 81.0395314788vw, 1328.4px)) / 2);
  }
  html body .p-footer__watermark {
    left: calc(50% - clamp(184px, 16.8374816984vw, 276px));
  }
}
@media screen and (max-width: 1093px) {
  html body .p-footer {
    padding: 0 10px 2.9282576867vw;
  }
  html body .p-footer::before {
    top: -37.5549048316vw;
    width: 48.8286969253vw;
    height: 32.4304538799vw;
  }
  html body .p-footer::after {
    left: 43.1918008785vw;
    top: -5.1244509517vw;
    width: 56.8081991215vw;
    height: 34.9194729136vw;
  }
  html body .p-footer--contact {
    padding-top: clamp(64px, 10.4166666667vw, 96px);
  }
  html body .p-footer--contact::before {
    top: -31.6983894583vw;
  }
  html body .p-footer--contact::after {
    top: 0.7320644217vw;
  }
  html body .p-footer__box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: clamp(38.4px, 6.25vw, 57.6px) clamp(25.6px, 4.1666666667vw, 38.4px);
    padding: clamp(51.2px, 8.3333333333vw, 76.8px) clamp(32px, 5.2083333333vw, 48px) clamp(44.8px, 7.2916666667vw, 67.2px);
  }
  html body .p-footer__info {
    display: contents;
  }
  html body .p-footer__name {
    grid-column: 1/-1;
    justify-self: center;
    margin-top: 0;
  }
  html body .p-footer__address {
    margin-top: 0;
  }
  html body .p-footer__nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    justify-self: end;
    gap: clamp(6.4px, 1.0416666667vw, 9.6px) clamp(16px, 2.6041666667vw, 24px);
  }
  html body .p-footer__copyright {
    grid-column: 1/-1;
    width: auto;
    margin: 0;
    text-align: right;
  }
  html body .p-footer__watermark,
  html body .p-footer--contact .p-footer__watermark {
    left: 33.1625183016vw;
    top: auto;
    bottom: 0;
  }
}
@media screen and (max-width: 767px) {
  html body .p-footer {
    padding-bottom: clamp(12px, 4vw, 18px);
  }
  html body .p-footer--contact {
    padding-top: clamp(51.2px, 17.0666666667vw, 76.8px);
  }
  html body .p-footer__box {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(25.6px, 8.5333333333vw, 38.4px);
    padding: clamp(38.4px, 12.8vw, 57.6px) clamp(16px, 5.3333333333vw, 24px) clamp(32px, 10.6666666667vw, 48px);
    text-align: center;
  }
  html body .p-footer__tel {
    margin-inline: auto;
  }
  html body .p-footer__nav {
    flex-wrap: wrap;
    justify-content: center;
    justify-self: stretch;
    gap: clamp(6.4px, 2.1333333333vw, 9.6px) clamp(8px, 2.6666666667vw, 12px);
  }
  html body .p-footer__copyright {
    text-align: center;
  }
  html body .p-footer__watermark,
  html body .p-footer--contact .p-footer__watermark {
    left: auto;
    right: calc((100% - min(clamp(268px, 89.3333333333vw, 402px), 100% - clamp(16px, 5.3333333333vw, 24px) * 2)) / 2);
  }
}
