@charset "UTF-8";
/* CSS Document */

.sec1 {
  padding-top: 200px;
  padding-bottom: 220px;
}

.sec1__wapper {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.sec1__wapper__small {
  font-size: 1.4rem;
  font-family: var(--en);
  display: block;
  margin-bottom: 10px;
  font-weight: 400;
  text-align: left;
}

.sec1__wapper__h2 {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 80px;
  font-weight: 500;
  text-align: left;
}



.sec1__wapper__ul {
  display: flex;
  flex-wrap: wrap;
  gap: 50px 45px;
  margin-bottom: 150px;
}

.sec1__wapper__ul__li {
  width: calc(100% / 4 - 34px);
}

.sec1__wapper__ul__li__image {
  margin-bottom: 20px;
}

.sec1__wapper__ul__li__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.tags {
  display: flex;
  font-size: 1.2rem;
  text-align: left;
  gap: 10px 20px;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.content .wp-block-paragraph {
  text-align: left;
  font-weight: 400;
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  min-height: 78px;
}

.date {
  font-size: 1.4rem;
  font-weight: 400;
  font-family: var(--en);
  margin-bottom: 20px;
  text-align: left;
  display: block;
  padding-top: 20px;
  border-top: solid 1px #222222;
  margin-top: 20px;
}

.wp-pagenavi {
  display: flex;
  justify-content: center;
  gap: 30px;
  align-items: center;
  font-family: var(--en);
  font-size: 1.4rem;
}

.wp-pagenavi a {
  color: #DCDEDB;
  transition: 0.3s;
  transition-timing-function: ease-out;
}

.wp-pagenavi a:hover {
  color: #333333;
  opacity: 1;
}

.wp-pagenavi a,
.wp-pagenavi span {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.wp-pagenavi .nextpostslink,
.wp-pagenavi .previouspostslink {
  color: #333333;
  font-size: 1.8rem;
}

@media (max-width: 1280px) {
  .sec1__wapper__ul__li {
    width: calc(100% / 3 - 30px);
  }
}


@media (max-width: 1024px) {
  .sec1__wapper__ul__li {
    width: calc(100% / 2 - 22.5px);
  }
}

@media (max-width: 600px) {
  .sec1__wapper__ul__li {
    width: 100%;
  }

  .sec1 {
    padding: 150px 0;
  }
}



/* ==================================================
モーダル
================================================== */

.voice-modal {
  position: fixed;
  z-index: 99999;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 40px 20px;

  background: rgba(0, 0, 0, 0.8);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;

  overflow-y: auto;
}


/* 表示時 */
.voice-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


/* 中身 */
.voice-modal__inner {
  display: flex;
  flex-direction: column;
  align-items: center;

  max-width: 90vw;
}


/* 画像 */
.voice-modal__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.voice-modal__img {
  display: block;
  width: auto;
  height: auto;
  width: 90%;
  max-width: 600px;
  aspect-ratio: 3/4;
  object-fit: contain;
}


/* 閉じる */
.voice-modal__close {
  margin-top: 40px;

  padding: 10px 20px;

  border: 0;
  background: transparent;

  color: #fff;
  font-size: 16px;

  cursor: pointer;
}


/* モーダル表示中は背景スクロール禁止 */
body.is-modal-open {
  overflow: hidden;
}

/* ==================================================
モーダル矢印
================================================== */

.voice-modal__arrow {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  max-width: 650px;

  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: #FFFFFF;
  font-size: 2rem;
}


@media screen and (max-width: 600px) {

  .voice-modal {
    padding: 30px 15px;
  }

  .voice-modal__img {
    max-width: 85vw;
    max-height: 75vh;
  }

  .voice-modal__close {
    margin-top: 25px;
  }

}

.tags span {
  position: relative;
}

.tags span::after {
  content: "";
  display: block;
  width: 1px;
  height: 100%;
  background: #222222;
  position: absolute;
  right: -10px;
  top: 0;
}

.tags span:last-of-type:after {
  content: none;
}