/* =======================================================
* sub_main
* ======================================================= */
.sub_img {
  background: url(../images/bg-voice.jpg) no-repeat center/cover;
}


/* =======================================================
* voice
* ======================================================= */
#voice .clm2 {
  display: grid;
  gap: 25px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 25px;
}

#voice .clm3 {
  display: grid;
  gap: 15px;
  grid-template-columns: 1fr 1fr 1fr;
}

#readMoreBlock {
  background: var(--color-white);
  padding: 30px 30px 10px;
  border-radius: 10px;
  font-size: 1.4rem;
  box-shadow: 1px 1px 10px rgb(0 0 0 / 10%);
}

#voice .clm3 #readMoreBlock {
  padding: 20px 20px 10px;
}

#voice h4 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 10px;
  background: var(--color-greige);
  color: #fff;
  padding: 5px;
  border-radius: 5px;
}

#voice .clm3 h4 {
  font-size: 1.4rem;
}

.readMoreContainer {
  position: relative;
  height: auto;
  max-height: 200px;
  overflow: hidden;
  transition: max-height 0.6s;
}

.readMoreContainer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  transition: 1s;
  background: linear-gradient(to bottom, transparent 40%, var(--color-white) 100%);
  pointer-events: none;
}

.readMoreContainer.clear::after {
  content: none;
}

.readMoreContainer.show:after {
  z-index: -1;
  opacity: 0;
}

.readMoreBtn {
  position: relative;
  display: block;
  margin: 10px auto 0;
  cursor: pointer;
  background: transparent;
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--color-greige);
  font-family: "Zen Kaku Gothic New",
    游ゴシック体,
    "Yu Gothic",
    YuGothic,
    "ヒラギノ角ゴシック Pro",
    "Hiragino Kaku Gothic Pro",
    メイリオ,
    Meiryo,
    Osaka,
    "ＭＳ Ｐゴシック",
    "MS PGothic",
    sans-serif;
}

.readMoreContainer p:last-child {
  margin-bottom: 10px;
}

@media screen and (max-width:768px) {
  #voice .clm2 {
    gap: 20px;
    grid-template-columns: 1fr;
    margin-bottom: 20px;
  }

  #voice .clm3 {
    gap: 10px;
    grid-template-columns: 1fr 1fr;
  }

  #readMoreBlock {
    padding: 20px 20px 10px;
  }

  #voice .clm3 #readMoreBlock {
    padding: 15px 10px 10px;
    font-size: 1.2rem;
  }

  #voice h4 {
    font-size: 1.5rem;
  }

  #voice .clm3 h4 {
    font-size: 1.3rem;
  }
}