@charset "UTF-8";

#wrapper {
  background: var(--color-bg);
}

/* =====================
  voice
===================== */

#voice .voice_list a {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--box-shadow);
}

#voice .voice_img {
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  flex-shrink: 0;
}

#voice .voice_img img {
  height: 100%;
  object-fit: cover;
}

#voice .voice_text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#voice .voice_ttl {
  display: -webkit-box;
  overflow: hidden;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#voice .voice_date {
  color: var(--color-gray);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

#voice .voice_text .text {
  color: var(--color-gray);
  line-height: 1.7;
}

#voice .voice_text .text p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

/*-------------------------------------------*/
/*  PC
/*-------------------------------------------*/

@media screen and (min-width:900px) {

  /* =====================
    container
  ===================== */

  /*　▼commonに切り替わったら移動　*/  
  
  #wrapper {
    overflow: clip;
  }

  #container {
    padding: 30px 0;
  }

  .inner {
    max-width: 90%;
  }

  /* =====================
    voice
  ===================== */

  #voice .voice_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 35px;
  }

  #voice .voice_text {
    padding: 18px 20px 22px;
  }

  #voice .voice_ttl {
    font-size: 17px;
  }

  #voice .voice_date {
    margin-top: 8px;
    font-size: 12px;
  }

  #voice .voice_text .text {
    margin-top: 10px;
    font-size: 14px;
  }

  #voice .voice_text .text p {
    -webkit-line-clamp: 4;
  }

}

/*-------------------------------------------*/
/*  SP
/*-------------------------------------------*/

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

  /* =====================
    container
  ===================== */

  /*　▼commonに切り替わったら移動　*/  
  
  #container {
    padding: 10px 0 20px;
  }

  /* =====================
    voice
  ===================== */

  #voice .voice_list {
    display: grid;
    gap: 18px;
    margin-top: 25px;
  }

  #voice .voice_text {
    padding: 13px 14px 16px;
  }

  #voice .voice_ttl {
    font-size: 14px;
  }

  #voice .voice_date {
    margin-top: 6px;
    font-size: 10px;
  }

  #voice .voice_text .text {
    margin-top: 8px;
    font-size: 12px;
  }

  #voice .voice_text .text p {
    -webkit-line-clamp: 4;
  }

}
