.modal.modal-leave .modal__dialog,
.modal.modal-video .modal__dialog {
  position: relative;
  margin: 0 auto;
  padding: 5rem 0;
  min-height: 100%;
  width: 100%
}

.modal.modal-leave .modal__dialog::before,
.modal.modal-video .modal__dialog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: -10
}

@media only screen and (min-width:768px) {

  .modal.modal-leave .modal__dialog::before,
  .modal.modal-video .modal__dialog::before {
    border-radius: 1.2rem
  }
}

@media only screen and (min-width:1024px) {

  .modal.modal-leave .modal__dialog::before,
  .modal.modal-video .modal__dialog::before {
    border-radius: 4rem
  }
}

@media only screen and (min-width:768px) {

  .modal.modal-leave .modal__dialog,
  .modal.modal-video .modal__dialog {
    max-width: 60rem;
    min-height: auto;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    border-radius: 1.2rem
  }
}

@media only screen and (min-width:1024px) {

  .modal.modal-leave .modal__dialog,
  .modal.modal-video .modal__dialog {
    border-radius: 4rem
  }
}

.modal.modal-leave .modal__close,
.modal.modal-video .modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 2.4rem;
  height: 2.4rem;
  border: .1rem solid #1d1d1d;
  border-radius: 1.4rem;
  z-index: 10;
  cursor: pointer
}

@media only screen and (min-width:1024px) {

  .modal.modal-leave .modal__close,
  .modal.modal-video .modal__close {
    top: 2.4rem;
    right: 2.4rem;
    width: 4rem;
    height: 4rem
  }
}

.modal.modal-leave .modal__close::after,
.modal.modal-leave .modal__close::before,
.modal.modal-video .modal__close::after,
.modal.modal-video .modal__close::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  height: 1px;
  width: 2rem;
  background: #000;
  border-radius: 10rem;
  -webkit-transition: height .15s linear;
  transition: height .15s linear
}

@media only screen and (min-width:1024px) {

  .modal.modal-leave .modal__close::after,
  .modal.modal-leave .modal__close::before,
  .modal.modal-video .modal__close::after,
  .modal.modal-video .modal__close::before {
    width: 2.4rem
  }
}

.modal.modal-leave .modal__close::before,
.modal.modal-video .modal__close::before {
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
  -ms-transform: translate(-50%, -50%) rotate(45deg);
  transform: translate(-50%, -50%) rotate(45deg)
}

.modal.modal-leave .modal__close::after,
.modal.modal-video .modal__close::after {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
  -ms-transform: translate(-50%, -50%) rotate(-45deg);
  transform: translate(-50%, -50%) rotate(-45deg)
}

.modal.modal-leave .modal__close:hover::after,
.modal.modal-leave .modal__close:hover::before,
.modal.modal-video .modal__close:hover::after,
.modal.modal-video .modal__close:hover::before {
  height: 2px
}

.modal.modal-leave .form,
.modal.modal-video .form {
  -webkit-box-shadow: none;
  box-shadow: none;
  border-top: none
}

.modal.modal-leave .form__submit,
.modal.modal-video .form__submit {
  border-radius: .8rem
}

.modal.modal-leave #exit-form,
.modal.modal-video #exit-form {
  padding: 0 2rem
}

@media only screen and (min-width:1024px) {

  .modal.modal-leave #exit-form,
  .modal.modal-video #exit-form {
    padding: 0 6rem
  }
}

.modal.modal-leave .manager__info div,
.modal.modal-video .manager__info div {
  gap: .4rem
}

.modal-leave__title {
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 130%;
  text-align: center;
  color: #171717
}

@media only screen and (min-width:1024px) {
  .modal-leave__title {
    font-size: 2.4rem
  }
}

.modal-leave__text {
  margin-top: 1rem;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 130%;
  text-align: center;
  color: #171717
}

@media only screen and (min-width:1024px) {
  .modal-leave__text {
    font-size: 1.6rem
  }
}

.modal-leave__text b {
  font-weight: 700
}

.modal-leave__list {
  margin-top: 1.6rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 1.5rem
}

.modal-leave__li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: .6rem;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 130%;
  color: #171717
}

@media only screen and (min-width:1024px) {
  .modal-leave__li {
    font-size: 2rem;
    gap: 1.6rem
  }
}

.modal-leave__li b {
  font-weight: 700
}

.modal-leave__li img {
  width: 4rem;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain
}

@media only screen and (min-width:1024px) {
  .modal-video .modal__dialog {
    max-width: 90rem !important
  }
}

@media only screen and (min-width:1280px) {
  .modal-video .modal__dialog {
    max-width: 105rem !important
  }
}

.modal-video__title {
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 130%;
  text-align: center;
  color: #272727;
  text-transform: uppercase
}

@media only screen and (min-width:1024px) {
  .modal-video__title {
    font-size: 2rem
  }
}

.modal-video__text {
  margin-top: .8rem;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 130%;
  text-align: center;
  color: #272727;
  text-transform: uppercase
}

@media only screen and (min-width:1024px) {
  .modal-video__text {
    margin-top: 1rem;
    font-size: 2.6rem
  }
}

.modal-video__text b {
  font-weight: 700
}

@media only screen and (min-width:1024px) {
  .modal-video__wrap {
    margin-top: 2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 4rem
  }
}

@media only screen and (min-width:1280px) {
  .modal-video__wrap {
    -webkit-box-align: unset;
    -ms-flex-align: unset;
    align-items: unset
  }
}

.modal-video__video {
  position: relative;
  margin: 2rem auto 0;
  width: 100%;
  max-width: 32rem;
  height: 17rem;
  border-radius: 1.2rem;
  overflow: hidden
}

@media only screen and (min-width:1024px) {
  .modal-video__video {
    margin: 0;
    max-width: calc(100% - 41rem);
    height: 100%;
    border-radius: 2.4rem
  }
}

.modal-video__video video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover
}

@media only screen and (min-width:1024px) {
  .modal-video__video video {
    height: auto
  }
}

.modal-video__video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 7rem;
  height: 7rem;
  cursor: pointer
}

.modal-video__video-play img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain
}

@media only screen and (min-width:1024px) {
  .modal-video__main fieldset {
    margin: 0 !important
  }
}
