@charset "UTF-8";
/*=============================================================
 voice お客様の声
=============================================================*/
#voice {
  #mainArea {
    img {
      height: 52px;
    }
  }
}


#secVoice {
  width: 1000px;
  margin: 0 auto;
  padding-bottom: 120px;
}
#secVoice .leadTxt {
  line-height: 2;
  margin-top: -7px;
  font-size: 1.4rem;
}
#secVoice .list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 60px;
  .item {
    border: solid 1px #ccc;
    position: relative;
    &:has(img.js-modal-open) {
      cursor: pointer;
      transition: opacity 0.3s ease;
      &:hover {
        opacity: .7;
      }
    }
  }
  .ico {
    display: grid;
    width: 50px;
    height: 50px;
    background-color: #52A090;
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 14px;
    pointer-events: none;
  }
  img {
    width: 100%;
  }
}

/* ===================================================
   MicroModal
=================================================== */
.modal {
  display: none;
}

.modal.is-open {
  display: block;
}

.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal__container--image {
  max-width: 90vw;
  max-height: 90vh;
  box-sizing: border-box;
  text-align: center;
  overflow: hidden;
}

.modal__content img {
  max-width: 100%;
  max-height: 80vh;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.modal__footer {
  margin-top: 15px;
  text-align: center;
}

.modal__btn {
  padding: 8px 24px;
  background-color: transparent;
  color: #fff;
  border: none;
  outline: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal__btn::before {
  content: "\2715";
  margin-right: 8px;
  margin-top: 4px;
  font-size: 15px;
  line-height: 1;
}

.modal__btn:hover {
  opacity: 0.6;
}

.modal__btn:focus,
.modal__btn:focus-visible,
.modal__btn:active {
  outline: none;
  box-shadow: none;
  background-color: transparent;
}