@charset "UTF-8";

#voice .system-list .system-pic {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

#voice .system-list .system-pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
  @media screen and (min-width: 768px),print
======================================== */
@media screen and (min-width: 768px), print {
  #voice .system-contents {
    margin-bottom: 100px;
  }

  #voice .system-ttl {
    font-size: 14px;
    margin-bottom: 8px;
  }

  #voice .voice-wrap {
    display: grid;
    gap: 100px 0;
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  #voice .voice-item-ttl {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 2;
    margin-bottom: 40px;
    margin-inline: auto;
    padding-left: 48px;
    text-align: center;
    width: -moz-fit-content;
    width: fit-content;
  }

  #voice .voice-item-wrap {
    display: grid;
    gap: 0 40px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #voice .voice-item-wrap div.left.reverse {
    order: 2;
  }

  #voice .voice-item-wrap div.left img {
    height: 100%;
    max-height: 640px;
    width: 100%;
    -o-object-fit: contain;
    object-fit: contain;
  }

  #voice .voice-item-wrap div.right.reverse {
    order: 1;
  }

  #voice .voice-comment-block {
    display: grid;
    gap: 24px 0;
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  #voice .voice-comment {
    display: grid;
    gap: 0 40px;
    grid-template-columns: 16% minmax(0, 1fr);
    align-items: center;
  }

  #voice .voice-comment p {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 2;
  }

  #voice .voice-comment p.ttl {
    aspect-ratio: 1/1;
    background: #f4f5ee;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    width: 100%;
  }

  #voice .voice-comment p.ttl.lady {
    background: #d9d9d9;
  }

  #voice .voice-comment p.txt {
    background: #f7f6f0;
    border-radius: 10px;
    padding-block: 16px;
    padding-inline: 16px;
    position: relative;
  }

  #voice .voice-comment p.txt.lady {
    background: #d9d9d9;
  }

  #voice .voice-comment p.txt.lady:before {
    border-color: transparent #d9d9d9 transparent transparent;
    border-style: solid;
    border-width: 20px 34.6px 20px 0;
    content: "";
    height: 0;
    left: -32px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
  }

  #voice .voice-comment p.txt:before {
    border-color: transparent #f7f6f0 transparent transparent;
    border-style: solid;
    border-width: 20px 34.6px 20px 0;
    content: "";
    height: 0;
    left: -32px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
  }
}
/* ========================================
@media screen and (max-width: 767px) {
======================================== */
@media screen and (max-width: 767px) {
  #voice .system-ttl {
    font-size: 3.382vw;
    font-weight: 500;
    letter-spacing: 0em;
    line-height: 1.5642857143;
  }

  #voice .system-contents {
    margin-block: 16vw;
  }

  #voice .voice-wrap {
    display: grid;
    gap: 19.324vw 0;
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  #voice .voice-item-ttl {
    font-size: 3.865vw;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 2;
    margin-bottom: 5.797vw;
    text-align: center;
  }

  #voice .voice-item-wrap {
    display: grid;
    gap: 5.797vw 0;
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  #voice .voice-item-wrap div.left.reverse {
    order: 1;
  }

  #voice .voice-item-wrap div.left img {
    height: 100%;
    max-height: 77.295vw;
    width: 100%;
    -o-object-fit: contain;
    object-fit: contain;
  }

  #voice .voice-item-wrap div.right.reverse {
    order: 1;
  }

  #voice .voice-comment-block {
    display: grid;
    gap: 5.797vw 0;
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  #voice .voice-comment {
    display: grid;
    gap: 0 9.662vw;
    grid-template-columns: 16% minmax(0, 1fr);
    align-items: center;
  }

  #voice .voice-comment p {
    font-size: 3.382vw;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 2;
  }

  #voice .voice-comment p.ttl {
    aspect-ratio: 1/1;
    background: #f4f5ee;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    width: 100%;
  }

  #voice .voice-comment p.ttl.lady {
    background: #d9d9d9;
  }

  #voice .voice-comment p.txt {
    align-items: center;
    background: #f7f6f0;
    border-radius: 2.415vw;
    display: grid;
    padding-block: 2vw;
    padding-inline: 4vw;
    position: relative;
    width: 100%;
  }

  #voice .voice-comment p.txt.lady {
    background: #d9d9d9;
  }

  #voice .voice-comment p.txt.lady:before {
    border-color: transparent #d9d9d9 transparent transparent;
    border-style: solid;
    border-width: 4.831vw 8.357vw 4.831vw 0;
    content: "";
    content: "";
    height: 0;
    left: -8vw;
    position: absolute;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
  }

  #voice .voice-comment p.txt:before {
    border-color: transparent #f7f6f0 transparent transparent;
    border-style: solid;
    border-width: 4.831vw 8.357vw 4.831vw 0;
    content: "";
    height: 0;
    left: -8vw;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
  }

}
