/* ==========================================================================
   オーナー様の声 詳細（visitor/voice/detail/index.html）
   Breakpoint: SP ~375px / PC 768px+
   ========================================================================== */

.voice-detail-page {
  --voice-detail-content-width: 884px;
  --voice-detail-card-width-sp: 240px;
  --voice-detail-card-width-pc: 410px;
}

/* --- Page Header --- */
.voice-detail-page .page-header__title-block .section-label__en {
  text-transform: capitalize;
}

.voice-detail-page .page-header__title {
  font-size: 28px;
  line-height: 1.2857;
}

.voice-detail-page__title-break {
  display: none;
}

/* --- Article --- */
.voice-detail {
  padding: 64px var(--visitor-pad-inline);
  background: var(--color-gray-50);
}

.voice-detail__inner {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: var(--voice-detail-content-width);
  margin-inline: auto;
}

.voice-detail__intro {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.voice-detail__hero {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 842 / 490;
}

.voice-detail__hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-detail__lead {
  margin: 0;
  font-size: 16px;
  font-weight: var(--fw-md);
  line-height: 1.75;
  color: var(--color-gray-700);
}

/* --- Spec card --- */
.voice-spec {
  padding: 24px 16px;
  background: var(--color-gray-100);
  border-radius: var(--radius-sm);
}

.voice-spec__title {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-gray-300);
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.43;
  color: #2c2520;
}

.voice-spec__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
}

.voice-spec__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.voice-spec__label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.67;
  color: var(--color-gray-400);
}

.voice-spec__value {
  margin: 0;
  font-size: 16px;
  font-weight: var(--fw-md);
  line-height: 1.75;
  color: var(--color-gray-700);
}

.voice-spec__brand-logo {
  display: block;
  width: auto;
  height: 27px;
}

/* --- Q&A --- */
.voice-detail__body {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.voice-qa {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.voice-qa__question {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-gray-700);
}

.voice-qa__mark {
  flex-shrink: 0;
}

.voice-qa__divider {
  display: flex;
  align-items: center;
  width: 100%;
}

.voice-qa__divider-accent {
  flex-shrink: 0;
  width: 64px;
  height: 1px;
  background: var(--color-red);
}

.voice-qa__divider-line {
  flex: 1;
  height: 1px;
  background: var(--color-gray-300);
}

.voice-qa__answer {
  margin: 0;
  font-size: 16px;
  font-weight: var(--fw-md);
  line-height: 1.75;
  color: var(--color-gray-700);
}

.voice-qa__figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 842 / 490;
}

.voice-qa__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-qa__gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.voice-qa__caption {
  margin: 0;
  font-size: 12px;
  font-weight: var(--fw-md);
  line-height: 1.17;
  color: var(--color-gray-700);
}

/* --- Brand card --- */
.voice-brand-card {
  padding: 24px 16px;
  background: var(--color-gray-100);
  border-radius: var(--radius-sm);
}

.voice-brand-card__title {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-gray-300);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.43;
  color: var(--color-gray-700);
}

.voice-brand-card__logo img {
  display: block;
  width: auto;
  height: 46px;
}

/* --- Related --- */
.voice-related {
  padding: 64px 0 0;
  background: var(--color-gray-50);
}

.voice-related__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 var(--visitor-pad-inline) 32px;
}

.voice-related__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-gray-700);
}

.voice-related__title-line {
  position: relative;
  display: block;
  width: 17px;
  height: 1px;
  background: var(--color-red);
}

.voice-related__title-line::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 0;
  width: 17px;
  height: 1px;
  background: var(--color-red);
}

.voice-related__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.voice-related__scroll::-webkit-scrollbar {
  display: none;
}

.voice-related__list {
  display: flex;
  gap: 24px;
  width: max-content;
  margin: 0;
  padding: 0 var(--visitor-pad-inline) 32px;
  list-style: none;
}

.voice-related__list .voice-card {
  flex: 0 0 var(--voice-detail-card-width-sp);
  width: var(--voice-detail-card-width-sp);
}

.voice-related__action {
  display: flex;
  justify-content: center;
  padding: 0 var(--visitor-pad-inline) 64px;
  background: var(--color-gray-100);
}

.voice-related__action .btn {
  width: 100%;
  max-width: 357px;
}

/* ==========================================================================
   PC
   ========================================================================== */
@media (min-width: 768px) {
  .voice-detail-page .page-header__inner {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 40px;
  }

  .voice-detail-page .page-header__title {
    font-size: 36px;
    line-height: 1.3333;
  }

  .voice-detail-page__title-break {
    display: inline;
  }

  .voice-detail {
    padding: 80px var(--visitor-pad-inline);
  }

  .voice-spec {
    padding: 24px;
  }

  .voice-spec__list {
    grid-template-columns: repeat(4, auto);
    gap: 32px;
    align-items: start;
  }

  .voice-spec__brand-logo {
    height: 33px;
  }

  .voice-qa__question {
    font-size: 20px;
    line-height: 1.4;
    flex-wrap: nowrap;
  }

  .voice-brand-card {
    padding: 24px;
  }

  .voice-related {
    padding-top: 80px;
  }

  /* max-width と padding-inline を併用すると見出しが二重に内側へ寄り、
     カード列（.voice-related__scroll）より右にずれてしまうため padding のみで揃える */
  .voice-related__head {
    padding-inline: var(--visitor-pad-inline);
    padding-bottom: 32px;
  }

  .voice-related__scroll {
    padding-inline: var(--visitor-pad-inline);
  }

  .voice-related__list {
    padding-inline: 0;
  }

  .voice-related__list .voice-card {
    flex: 0 0 var(--voice-detail-card-width-pc);
    width: var(--voice-detail-card-width-pc);
  }

  .voice-related__action {
    justify-content: flex-end;
    padding: 0 var(--visitor-pad-inline) 80px;
  }

  .voice-related__action .btn {
    width: auto;
    max-width: none;
  }
}
