.footer-modal[aria-hidden="true"] {
  transform: translateY(100%);
}

.footer-modal {
  background: #f4f4f4;
  border-radius: 40px 40px 0 0;
  font: 500 14px/18px 'Noto Sans', Arial, Helvetica, sans-serif;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1101;
  padding: 24px 16px;
  transition: .3s;
  transform: translateY(0);
}

@media (min-width: 600px) {
  .footer-modal {
    padding: 24px 28px 20px;
  }
}

@media (min-width: 905px) {
  .footer-modal {
    padding: 28px 40px 20px;
  }
}

@media (min-width: 1240px) {
  .footer-modal {
    border-radius: 100px 100px 0 0;
    font-size: 16px;
    line-height: 24px;
    padding: 40px 60px 32px;
  }
}

@media (min-width: 1440px) {
  .footer-modal {
    padding: 40px 80px 32px;
  }
}

.footer-modal__close {
  position: absolute;
  top: 28px;
  right: 16px;
  background-color: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

@media (min-width: 600px) {
  .footer-modal__close {
    right: 28px;
  }
}

@media (min-width: 905px) {
  .footer-modal__close {
    top: 32px;
    right: 44px;
  }
}

@media (min-width: 1240px) {
  .footer-modal__close {
    top: 52px;
    right: 60px;
  }
}

.footer-modal__close svg {
  width: 20px;
  height: 20px;
  color: #393939;
}

@media (min-width: 1240px) {
  .footer-modal__close svg {
    width: 24px;
    height: 24px;
  }
}

.footer-modal__close:hover svg {
  color: #7a7a7a;
}

.footer-modal__title {
  font: 600 18px/28px 'Noto Sans', Arial, Helvetica, sans-serif;
  color: #393939;
  margin-bottom: 12px;
  padding-right: 40px;
}

@media (min-width: 1240px) {
  .footer-modal__title {
    font-size: 32px;
    line-height: 48px;
    margin-bottom: 20px;
  }
}

@media (min-width: 600px) {
  .footer-modal__wrap {
    display: flex;
    column-gap: 46px;
    align-items: center;
  }
}

@media (min-width: 905px) {
  .footer-modal__wrap {
    column-gap: 134px;
  }
}

@media (min-width: 1240px) {
  .footer-modal__wrap {
    column-gap: 100px;
    align-items: flex-start;
  }
}

@media (min-width: 1440px) {
  .footer-modal__wrap {
    column-gap: 125px;
  }
}

.footer-modal__wrap p {
  color: #000;
  margin: 0;
  display: none;
  font-size: 14px;
  line-height: 18px;
}

@media (min-width: 1240px) {
  .footer-modal__wrap p {
    font-size: 16px;
    line-height: 24px;
  }
}

.footer-modal__wrap p.active {
  display: block;
}

.footer-modal__wrap p a {
  color: #0085c5;
}

.footer-modal__wrap p a:hover {
  text-decoration: underline;
}

.footer-modal__left {
  margin-bottom: 8px;
}

@media (min-width: 600px) {
  .footer-modal__left {
    margin-bottom: 0;
  }
}

.footer-modal__text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 600px) {
  .footer-modal__text {
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }
}

.footer-modal__right {
  text-align: right;
}

.footer-modal .page-link {
  color: #0085c5;
  font-size: 16px;
  line-height: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  white-space: nowrap;
  text-decoration: none;
}

@media (min-width: 1240px) {
  .footer-modal .page-link {
    font-size: 18px;
    line-height: 28px;
  }
}

.footer-modal .page-link:hover span {
  text-decoration: underline;
}

.footer-modal .page-link svg {
  width: 16px;
  height: 16px;
  margin-left: 12px;
}

@media (min-width: 1240px) {
  .footer-modal .page-link svg {
    width: 20px;
    height: 20px;
  }
}