.modal {
  cursor: pointer;
}
.modal:hover {
  opacity: 0.6;
}

.modalCnt {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}
.modalCnt.is-active {
  display: block;
}
.modalCnt .modalBg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}
.modalCnt .modalBg .closeBtn {
  position: absolute;
  top: 20px;
  right: 20px;
  margin: 0;
  cursor: pointer;
}
.modalCnt .modalBg .closeBtn img {
  height: 24px !important;
  width: 24px !important;
}
.modalCnt .box {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  max-width: 70%;
  max-height: 90vh;
  overflow-y: auto;
  width: 100%;
}
@media screen and (max-width: 767px) {
  .modalCnt .box {
    max-width: 100%;
    overflow-x: auto;
  }
}
.modalCnt .box.is-active {
  display: block;
}
.modalCnt .box figure {
  margin: 0;
}
@media screen and (max-width: 767px) {
  .modalCnt .box figure {
    width: 170%;
  }
}
.modalCnt .box figure img {
  height: auto;
  display: block;
  max-width: 100%;
}