@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Noto+Sans+JP:wght@100..900&display=swap");
/* ------------------------------
    mixin
------------------------------ */
/* ------------------------------
    voice
------------------------------ */
#sec_voice {
  padding-bottom: 10rem;
}
@media screen and (max-width: 767px) {
  #sec_voice {
    padding-bottom: 8rem;
  }
}
#sec_voice .grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 3rem;
}
@media screen and (max-width: 767px) {
  #sec_voice .grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}
#sec_voice .grid .item {
  background: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 767px) {
  #sec_voice .grid .item {
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
  }
}
#sec_voice .grid .item a {
  display: block;
  height: 100%;
  transition: background-color 0.3s ease;
}
@media screen and (min-width: 768px) {
  #sec_voice .grid .item a:hover {
    opacity: 1;
    background: #ae9abb;
    color: #fff;
  }
  #sec_voice .grid .item a:hover .img img {
    transform: scale(1.05);
  }
}
#sec_voice .grid .item .img {
  height: 26.3rem;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  #sec_voice .grid .item .img {
    height: 19rem;
  }
}
#sec_voice .grid .item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
#sec_voice .grid .item .inner {
  padding: 2rem;
}
#sec_voice .grid .item .inner .ttl {
  font-size: 1.6rem;
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 0.5em;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
#sec_voice .grid .item .inner .txt {
  font-size: 1.6rem;
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
@media screen and (max-width: 767px) {
  #sec_voice .grid .item .inner .txt {
    -webkit-line-clamp: 3;
  }
}

.modal_box {
  background: #fff;
  width: 68rem;
  max-width: 90%;
  margin: 0 auto;
  position: relative;
}
.modal_box .inner {
  padding: 4rem;
  max-height: 80vh;
  overflow-y: auto;
}
@media screen and (max-width: 767px) {
  .modal_box .inner {
    padding: 5vw;
    max-height: 80dvh;
  }
}
.modal_box .flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}
@media screen and (max-width: 767px) {
  .modal_box .flex {
    flex-direction: column;
    gap: 1rem;
  }
}
.modal_box .flex .left {
  flex: 0 0 auto;
  width: 26rem;
}
@media screen and (max-width: 767px) {
  .modal_box .flex .left {
    width: 100%;
  }
}
.modal_box .flex .left .img img {
  width: 100%;
}
.modal_box .flex .right {
  flex: 1 1 auto;
}
.modal_box .flex .right .ttl {
  font-weight: 500;
  margin-bottom: 0.5em;
}

button.mfp-close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  background: #f1eff3;
  width: 4rem;
  height: 4rem;
  text-indent: -1000px;
  overflow: hidden;
  border-radius: 100%;
  opacity: 1;
  transition: opacity 0.3s ease;
}
button.mfp-close:active {
  top: 1.5rem;
}
@media screen and (min-width: 768px) {
  button.mfp-close:hover {
    opacity: 0.6;
  }
}
@media screen and (max-width: 767px) {
  button.mfp-close {
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
  }
}
button.mfp-close::before, button.mfp-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 40%;
  height: 2px;
  background: #838383;
}
button.mfp-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
