@charset "utf-8";

@media screen and (min-width: 768px) {
  .voice__section.page__section {
    margin-top: 70px;
    padding-top: 70px;
  }
}

.voice__section-title-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
}

.voice__section-title {
  font-size: clamp(12px, 1.03vw, 14px);
  letter-spacing: calc(40 / 1000 * 1em);
  line-height: calc(28 / 14);
}

.voice__head {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media screen and (min-width: 768px) {
  .voice__head {
    gap: 0;
    justify-content: space-between;
    grid-template-columns: 1fr clamp(200px, 25.63vw, 350px);
  }
}

.voice__head-list {
  margin-top: 30px;
  width: 100%;
  border-top: 1px solid #d4d4d4;
}

@media screen and (min-width: 768px) {
  .voice__head-list {
    margin-top: 50px;
    width: 90.3%;
  }
}

.voice__head-list-item {
  border-bottom: 1px solid #d4d4d4;
  display: grid;
  grid-template-columns: clamp(40px, 4.91vw, 67px) 1fr;
}

.voice__head-list-item-title {
  padding-block: 30px;
  height: 100%;
  font-size: clamp(12px, 1.03vw, 14px);
  font-weight: 700;
  letter-spacing: calc(50 / 1000 * 1em);
  line-height: 1.2;
  color: #e95a2a;
  position: relative;
}

.voice__head-list-item-title::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 75%;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: url(../images/dot-line.svg) no-repeat center center/contain;
}

.voice__head-list-item-text {
  padding: 30px 0 30px 10px;
  height: 100%;
  font-size: clamp(12px, 1.03vw, 14px);
  letter-spacing: calc(40 / 1000 * 1em);
  line-height: 1.2;
}

.voice__head-image-wrapper {
  position: relative;
  width: fit-content;
  max-width: 400px;
  margin-inline: auto;
  padding-right: 14%;
}

.voice__head-image-title {
  position: absolute;
  top: 0;
  right: -14px;
  aspect-ratio: 70/198;
  width: 22%;
  max-width: 70px;
  height: auto;
}

.voice__head-image {
  box-shadow: 10px 13px 16px rgba(190, 125, 21, 0.2);
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  height: auto;
  aspect-ratio: 312/358;
  margin-inline: auto;
  max-width: 400px;
}

.voice__head-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.voice__qa {
  margin-top: 50px;
}

@media screen and (min-width: 768px) {
  .voice__qa {
    margin-top: 74px;
  }
}

.voice__qa-tltle {
  font-size: clamp(18px, 1.47vw, 20px);
  font-weight: 700;
  letter-spacing: calc(50 / 1000 * 1em);
  color: var(--color-thin);
}

.voice__qa-list {
  margin-top: 14px;
}

.voice__qa-box {
  padding-block: 40px;
  border-top: 1px solid #d4d4d4;
}

@media screen and (min-width: 768px) {
  .voice__qa-box {
    padding-block: 20px;
  }
}

.voice__qa-box-q,
.voice__qa-box-a {
  display: flex;
  align-items: center;
  gap: clamp(5px, 1.1vw, 15px);
  font-size: clamp(12px, 1.03vw, 14px);
  letter-spacing: calc(40 / 1000 * 1em);
  line-height: calc(28 / 14);
}

.voice__qa-box-a {
  margin-top: 15px;
}

.voice__qa-box-q::before,
.voice__qa-box-a::before {
  font-family: var(--font-en);
  font-size: clamp(18px, 1.47vw, 20px);
  letter-spacing: calc(50 / 1000 * 1em);
}

.voice__qa-box-q::before {
  content: "Q.";
  color: #e95a2a;
}

.voice__qa-box-a::before {
  content: "A.";
  color: #f3a82c;
  align-self: flex-start;
}

.voice__container-image {
  margin-top: 50px;
  aspect-ratio: 772/368;
  width: 100%;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
}

.voice__container-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
