@-webkit-keyframes slideout {
  0% {
    -webkit-transform: translatey(0);
    transform: translatey(0);
  }
  100% {
    -webkit-transform: translatey(50px);
    transform: translatey(50px);
  }
}
@keyframes slideout {
  0% {
    -webkit-transform: translatey(0);
    transform: translatey(0);
  }
  100% {
    -webkit-transform: translatey(50px);
    transform: translatey(50px);
  }
}
@-webkit-keyframes slidein {
  0% {
    -webkit-transform: translatey(50px);
    transform: translatey(50px);
  }
  100% {
    -webkit-transform: translatey(0);
    transform: translatey(0);
  }
}
@keyframes slidein {
  0% {
    -webkit-transform: translatey(50px);
    transform: translatey(50px);
  }
  100% {
    -webkit-transform: translatey(0);
    transform: translatey(0);
  }
}
@-webkit-keyframes fadein {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes fadein {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@-webkit-keyframes fadeout {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes fadeout {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
.page-container.is-modal-fixed {
  overflow: hidden;
  scrollbar-gutter: stable;
}

.modal__overlay {
  background: rgba(0, 0, 0, 0.4);
  height: 100%;
  position: fixed;
  width: 100%;
  z-index: 600;
  top: 0;
  left: 0;
}

.modal__overlay,
.about-modal {
  display: none;
}

.about-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 100%;
  max-width: 100%;
  overflow: auto;
  padding: 0;
  border: none;
  background-color: #ffffff;
  z-index: 999;
  overscroll-behavior-y: none;
  inset-block-start: auto;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow: scroll;
}
.about-modal.is-slidein {
  animation: slidein 0.5s;
}
.about-modal.is-slideout {
  animation: slideout 0.5s;
}
@media screen and (min-width: 960px) {
  .about-modal {
    width: 690px;
    top: 0;
    right: 0;
    left: auto;
    bottom: auto;
    height: 100%;
    max-height: none;
  }
  .about-modal.is-slidein {
    animation: fadein 0.25s ease-out;
  }
  .about-modal.is-slideout {
    animation: fadeout 0.2s ease-in;
  }
}

.about-modal__inner {
  margin-top: -40px;
  padding-left: 20px;
  padding-right: 20px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (min-width: 960px) {
  .about-modal__inner {
    max-width: 700px;
    margin-top: 0;
  }
}

.modal__content {
  padding-bottom: 30px;
  margin-top: 20px;
}
@media screen and (min-width: 960px) {
  .modal__content {
    margin-top: -20px;
  }
}

.modal__close {
  display: flex;
  justify-content: flex-end;
  position: sticky;
  top: 0;
  padding-right: 20px;
  z-index: 200;
}
@media screen and (min-width: 960px) {
  .modal__close {
    top: 20px;
  }
}

.modal__close-item {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal__close-item::before, .modal__close-item::after {
  background: #3c3c3c;
  content: "";
  width: 30px;
  height: 1px;
  position: absolute;
  top: 50%;
}
.modal__close-item::before {
  transform: rotate(45deg);
}
.modal__close-item::after {
  transform: rotate(-45deg);
}