.modalOpen {
  text-decoration: underline;
  cursor: pointer; }

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999; }
  .modal.is-active {
    display: block; }

.modalInner {
  position: absolute;
  background-color: #fff;
  z-index: 10000000000;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  padding: 20px;
  width: 500px; }
  @media only screen and (max-width: 767px), only screen and (min-width: 768px) and (max-width: 1024px) {
    .modalInner {
      width: 90%;
      height: auto; } }

.modalImage img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover; }

.modalText_wrap {
  border: 1px solid;
  padding: 15px; }

.modalTitle {
  text-align: center;
  font-weight: 600; }

.modalText {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.6;
  text-align: left; }
  @media only screen and (max-width: 767px) {
    .modalText {
      margin-top: 10px;
      font-size: 12px; } }

.modalClose {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  background: #ddd;
  border-radius: 50px; }
  .modalClose:before, .modalClose:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 1px;
    background-color: #000;
    -webkit-transition: all .3s;
    transition: all .3s; }
  .modalClose:before {
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    -ms-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg); }
  .modalClose:after {
    -webkit-transform: translate(-50%, -50%) rotate(-45deg);
    -ms-transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg); }
