/*--------------------------------------------------------------------
Loading用css
-----------------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  .modalOpenBtn {
    padding: 18px 15px;
    width: 80%;
  }
}

body.modalOn {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.overLay {
  background: rgba(0, 0, 0, 0.7);
  height: 100%;
  left: 0;
  overflow-y: scroll;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.overLay .overLayInner {
  height: 100%;
  position: relative;
  width: 100%;
}

.modalContent {
  background: #fff;
  border-radius: 2px;
  height: auto;
  left: 50%;
  padding-bottom: 70px;
  position: absolute;
  width: 500px;
}

.modalContent .logoArea {
  margin: 170px 0;
  text-align: center;
}

.modalContent .logoArea .logo {
  display: inline-block;
  margin: 0 auto;
  position: relative;
}

.animation .modalContent .logoArea .logo:before {
  animation: rotation 3s linear 0s infinite normal none;
}

.modalContent .logoArea .logo:before {
  background: url(/japan-travel-planner/plan/images/loading_airplane.png) left top no-repeat;
  content: "";
  height: 209px;
  left: -46%;
  position: absolute;
  top: -95%;
  width: 330px;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.modalContent .textArea {
  padding: 0 20px;
  text-align: center;
}

.modalContent .textArea .txt {
  word-break: break-word;
}

@media screen and (max-width: 540px) {
  .modalContent {
    padding-bottom: 40px;
    width: 78.125%;
  }

  .modalContent .logoArea {
    margin: 110px 0;
  }

  .modalContent .logoArea .logo {
    width: 86px;
  }

  .modalContent .logoArea .logo:before {
    animation-name: none;
    background-size: 24.648px 50.239px;
    height: 105px;
    width: 166px;
  }

  .modalContent .textArea {
    padding: 0 55px;
    text-align: center;
  }

  .modalContent .textArea .txt {
    word-break: break-word;
  }
}