.p-footer {
  background: linear-gradient(180deg, #2550b1 0%, #0f388b 100%);
  margin-top: -1px;
  padding: 56px 0 24px;
  overflow-x: clip;
}

.p-footer__nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 28px;
  width: min(920px, 100% - 48px);
  min-height: 45px;
  padding: 0 24px;
  background: #ffffff;
  border-radius: 4px;
  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto 48px;
}

.p-footer__navItem {
  flex: 0 0 auto;
  display: inline-block;
  transform-origin: center;
  transition: transform 0.2s ease;
}

.p-footer__navItem p {
  position: relative;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.p-footer__navItem p::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: var(--color-primary);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.p-footer__main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 93px;
  padding: 103px 24px;
  max-width: 717px;
  margin: 0 auto;
}

.p-footer__main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.p-footer__logo {
  flex: 0 0 auto;
  margin-left: 153px;
  width: fit-content;
  height: 48px;
  transform-origin: left center;
  transition: transform 0.2s ease;
}

@media screen and (max-width: 800px) {
  .p-footer__logo {
    margin-left: 0px;
    height: 48px;
  }
}
.p-footer__logo img {
  width: 100%;
  height: 100%;
  display: block;
}

.p-footer__info {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  max-width: 392px;
  width: 100%;
  gap: 6px;
}

.p-footer__address {
  margin-bottom: 15px;
}

.p-footer__contact p {
  color: inherit;
}

.p-footer__contact a {
  display: inline-block;
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.p-footer__copy {
  text-align: center;
  padding-top: 27px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  max-width: min(1166px, 100% - 48px);
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .p-footer__nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 0;
    width: calc(100% - 48px);
    padding: 16px 24px;
    margin-bottom: 32px;
  }
  .p-footer__navItem {
    grid-column: span 1;
    min-width: 0;
    text-align: center;
  }
}
@media (max-width: 600px) {
  .p-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
  }
  .p-footer__navItem {
    grid-column: span 1;
  }
}
@media (max-width: 768px) {
  .p-footer {
    padding: 40px 0 20px;
  }
  .p-footer__nav {
    align-items: center;
  }
  .p-footer__main {
    flex-direction: column;
    gap: 24px;
    padding: 24px 24px 32px;
  }
  .p-footer__info {
    align-items: center;
    text-align: center;
  }
}
.p-contact {
  position: relative;
  padding: 0;
  background: var(--color-section-light);
}

.p-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/img_com-section-mask.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}

.p-contact__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1366px;
  margin: 0 auto;
}

.p-contact__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 64px 70px;
  padding-inline: 60px;
  background: #3ba0d9;
  text-align: center;
}

.p-contact__box > * {
  max-width: 380px;
  width: 100%;
}

.p-contact__box--mail {
  background: #4076cc;
}

.p-contact__icon {
  margin-bottom: 12px;
}

.p-contact__title {
  margin-bottom: 9px;
  position: relative;
  padding-bottom: 20px;
}

.p-contact__title::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
  margin: 16px auto 0;
}

.p-contact__text {
  margin: 0 auto;
  max-width: 300px;
  width: 100%;
}

.p-contact__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  margin-left: -20px;
}

.p-contact__telNumber a {
  display: inline-block;
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.p-contact__tel::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: 29px;
  background-color: #ffffff;
  -webkit-mask-image: url("../images/icon_com-phone.svg");
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("../images/icon_com-phone.svg");
  mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
}

.p-contact__mailButton {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  max-width: 320px;
  width: 100%;
  height: 80px;
  padding: 33px 33px 34px 36px;
  background: #fff;
  border-radius: 999px;
  margin-top: 8px;
  position: relative;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .p-footer__navItem:hover {
    transform: scale(1.04);
  }
  .p-footer__navItem:hover p {
    opacity: 0.7;
  }
  .p-footer__navItem:hover p::after {
    transform: translateX(-50%) scaleX(1);
  }
  .p-footer__logo:hover {
    transform: scale(1.03);
  }
  .p-footer__contact a:hover {
    opacity: 0.72;
    transform: scale(1.03);
  }
  .p-contact__telNumber a:hover {
    opacity: 0.72;
    transform: scale(1.03);
  }
  .p-contact__mailButton:hover {
    opacity: 0.85;
    transform: scale(1.02);
  }
}
.p-contact__mailButton::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 21px;
  height: 16px;
  background: #4077cc;
  -webkit-mask-image: url("../images/icon_com-mail.svg");
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("../images/icon_com-mail.svg");
  mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
}

.p-contact__mailButton::after {
  content: "";
  position: absolute;
  right: 27px;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 11px;
  background: #4077cc;
  -webkit-mask-image: url("../images/icon_com-arrow-right.svg");
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("../images/icon_com-arrow-right.svg");
  mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
}

@media (max-width: 900px) {
  .p-contact__inner {
    grid-template-columns: 1fr;
  }
  .p-contact__box {
    padding: 56px 24px;
  }
}
@media (min-width: 1367px) {
  .p-contact__inner {
    max-width: none;
  }
}
