@charset "UTF-8";

@keyframes loopLeft {
  from {
    background-position: 0 0;
  }

  to {
    background-position: -694px 0;
  }
}

@keyframes loopRight {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 694px 0;
  }
}

.hacking-modal {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  overflow: auto;
  z-index: 99999999999999;
}

.hacking-modal .modal-dialog {
  height: 610px;
  position: absolute;
  margin: auto;
  top: 150px;
  left: 0;
  right: 0;
  z-index: 10;
}

.hacking-modal .modal-dialog .hacking-close-btn {
    position: absolute;
    margin: auto;
    top: -40px;
    width: 32px;
    height: 32px;
    left: 760px;
    right: 0;
    z-index: 10;
}

.hacking-modal .modal-dialog .modal-contents {
  background: url("/hacking_bg_soul.png") center top no-repeat;
  width: 800px;
  height: 468px;
  box-sizing: border-box;
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  z-index: 10;
}

.hacking-modal .modal-overlay-hacking {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  overflow: auto;
  outline: 0;
  top: 0;
}

@media screen and (max-width: 800px)  {
.hacking-modal .modal-dialog {
  height: 500px;
  position: absolute;
  margin: auto;
  top: 20%;
  left: 0;
  right: 0;
  z-index: 10;
}

.hacking-modal .modal-dialog .hacking-close-btn {
    position: absolute;
    margin: auto;
    width: 7%;
    top: -7%;
    height: auto;
    left: auto;
    right: 5%;
    z-index: 10;
}


.hacking-modal .modal-dialog .hacking-close-btn img {
    width: 100%;
    height: 100%;
}

.hacking-modal .modal-dialog .modal-contents {
  background: url("/hacking_bg_soul_sp.png") center top no-repeat;
    width: 90%;
    background-size: contain;
    height: auto;
    padding: 35%;
  box-sizing: border-box;
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  z-index: 10;
}
}
