@charset "UTF-8";

.layer {
  background: rgba(250, 250, 250, .9);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.1s linear, visibility 0.1s linear, z-index 0.1s linear;
}

.layer.is-open {
  z-index: 999;
  opacity: 1;
  visibility: visible;
}

.layer.is-open .modal{
  opacity: 1;
  visibility: visible;
}

.modal__close {
  width: 4.53333vw;
  max-width: 68px;
  position: absolute;
  top: -12%;
  right: 0%;
  transform: translate(0%, 12%);
  cursor: pointer;
}
@media screen and (max-width: 750px) {
  .modal__close {
    width: 10vw;
    max-width: 68px;
    top: -8%;
    right: 3%;
    transform: translate(-3%, 8%);
  }  
}

.modal__btn {
  max-width: 300px;
  width: 40%;
  margin: 10px auto 0;
  cursor: pointer;
}
@media screen and (max-width: 750px) {
  .modal__btn {
    max-width: 300px;
    width: 60%;
    margin: 10px auto 0;
    cursor: pointer;
  }  
}

.modal {
  margin: 0 auto 0;
  padding: 100px 0;
  width: 50vw;
  max-width: 900px;
  max-height: 80%;
  opacity: 0;
  visibility: hidden;
  transition:  visibility .7s linear, opacity .7s linear;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  overflow-y: auto;
}
@media screen and (max-width: 750px) {
  .modal {
    width: 100vw;
    max-height: 80%;
  }
}

.modal__inner {
  width: 80%;
  position: relative;
  margin: 0 auto 0;
  background: #fff;
  padding: 40px;
  border: 1px solid var(--main-color);
}
@media screen and (max-width: 750px) {
  .modal__inner {
    width: 90%;
    padding: 20px;
  }  
}

.modal-txt {
  font-size: 0.9333vw;
}
@media screen and (min-width: 1500px) {
  .modal-txt {
    font-size: 14px;
  }
}
@media screen and (max-width: 750px) {
  .modal-txt {
    font-size: 14px;
  }  
}

.modal-txt__heading {
  font-size: 1.6vw;
  font-weight: bold;
  color:var(--main-color);
}
@media screen and (min-width: 1500px) {
  .modal-txt__heading {
    font-size: 24px;
  }
}
@media screen and (max-width: 750px) {
  .modal-txt__heading {
    font-size: 18px;
  }  
}

.modal-txt__body {
  margin-top: 10px;
  line-height: 2;
}

.modal-txt__bold {
  font-weight: bold;
  color:var(--main-color);
  margin-left: -10px;
}

.modal-txt__heading-sub {
  font-size: 1.2vw;
}


.osaka-wheel-lalaport-modal .modal {
  width: 80vw;
}

@media screen and (max-width: 750px) {
  .osaka-wheel-lalaport-modal .modal {
    width: 95vw;
  }
}