/* =========================================================
   お客様の声（archive-voice.php / single-voice.php）
   ========================================================= */
.voice-page { overflow: hidden; }
.voice-page__sub { display: block; margin-top: 8px; font-size: 16px; letter-spacing: 0.15em; color: var(--c-maroon); }

/* カテゴリーバッジ */
.voice-badge {
  display: inline-flex; align-items: center; flex-shrink: 0; height: 24px; padding: 0 10px;
  border: 1px solid var(--c-maroon); color: var(--c-maroon); background: var(--c-white);
  font-size: 12px; line-height: 1; letter-spacing: 0.1em; white-space: nowrap;
}

/* ---------- 一覧 ---------- */
.voice-page__body { max-width: var(--content); margin: 0 auto; padding: 64px var(--gutter) 120px; box-sizing: content-box; }
.voice-filter ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 48px; }
.voice-filter a {
  display: inline-flex; align-items: center; height: 44px; padding: 0 24px;
  border: 1px solid var(--c-gold); background: var(--c-white);
  font-size: 15px; line-height: 1; letter-spacing: 0.1em; transition: background-color .25s, color .25s, border-color .25s;
}
.voice-filter a:hover, .voice-filter a[aria-current="page"] { background: var(--c-maroon); border-color: var(--c-maroon); color: var(--c-white); }

.voice-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 1000px; margin: 0 auto; }
.voice-card { background: var(--c-white); border: 1px solid #e6dcc9; transition: box-shadow .3s, transform .3s; }
.voice-card:hover { box-shadow: 0 8px 24px rgba(80, 50, 20, .1); transform: translateY(-2px); }
.voice-card__link { display: flex; flex-direction: column; height: 100%; }
.voice-card__photo { aspect-ratio: 3 / 2; overflow: hidden; background: url("../img/about/about-washi.jpg") center / cover; }
.voice-card__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.voice-card__img--none { width: 44%; height: auto; margin: 0 auto; position: relative; top: 50%; transform: translateY(-50%); opacity: .25; filter: grayscale(1); }
.voice-card:hover .voice-card__img:not(.voice-card__img--none) { transform: scale(1.04); }
.voice-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 28px; }
.voice-card__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; letter-spacing: 0.05em; color: #555; }
.voice-card__title { margin-top: 14px; font-size: 19px; line-height: 1.6; font-weight: 600; letter-spacing: 0.08em; }
.voice-card__product {
  margin-top: 14px; padding: 10px 14px; border-left: 3px solid var(--c-maroon); background: #faf6ee;
  font-size: 13px; line-height: 1.6; letter-spacing: 0.05em;
}
.voice-card__text { margin-top: 14px; font-size: 14px; line-height: 1.85; letter-spacing: 0.05em; }
.voice-card__more {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-end; margin-top: auto; padding-top: 16px;
  font-size: 13px; letter-spacing: 0.1em; color: var(--c-maroon);
}
.voice-page .pagination { margin-top: 56px; }

/* ---------- 詳細 ---------- */
.voice-single__body { max-width: 840px; margin: 0 auto; padding: 56px var(--gutter) 80px; box-sizing: content-box; }
.voice-single__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 13px; letter-spacing: 0.05em; color: #555; }
.voice-single__title {
  margin-top: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--c-maroon);
  font-size: 28px; line-height: 1.6; font-weight: 600; letter-spacing: 0.08em;
}

.voice-product { display: flex; align-items: center; gap: 24px; margin-top: 32px; padding: 20px 24px; background: #faf6ee; border: 1px solid #e6dcc9; }
.voice-product__photo { flex: 0 0 96px; height: 72px; display: flex; align-items: center; justify-content: center; background: var(--c-white); overflow: hidden; }
.voice-product__img { width: 100%; height: 100%; object-fit: cover; }
.voice-product__img--none { width: 32px; height: 32px; object-fit: contain; opacity: .5; }
.voice-product__label { font-size: 12px; letter-spacing: 0.1em; color: var(--c-maroon); }
.voice-product__name { margin-top: 6px; font-size: 17px; line-height: 1.6; font-weight: 600; letter-spacing: 0.05em; }
.voice-product__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; color: var(--c-maroon); text-decoration: underline; text-underline-offset: 3px; }

.voice-gallery { margin-top: 32px; }
.voice-gallery__main img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; }
.voice-gallery__subs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.voice-gallery__subs--1 { grid-template-columns: 1fr 1fr 1fr; }
.voice-gallery__subs img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }

.voice-qa { margin-top: 48px; display: grid; gap: 40px; }
.voice-qa__q {
  display: flex; gap: 10px; padding: 14px 20px; border-left: 3px solid var(--c-maroon); background: #f6f1e7;
  font-size: 17px; line-height: 1.6; font-weight: 600; letter-spacing: 0.06em;
}
.voice-qa__q span { flex-shrink: 0; color: var(--c-maroon); }
.voice-qa__a { margin-top: 16px; padding: 0 8px; font-size: 15px; line-height: 2; letter-spacing: 0.06em; }
.voice-qa__a p + p { margin-top: 1em; }
.voice-qa > .voice-qa__a { margin-top: 0; }

.voice-pager {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  margin-top: 64px; padding: 20px 0; border-top: 1px solid #e6dcc9; border-bottom: 1px solid #e6dcc9;
  font-size: 14px; letter-spacing: 0.08em;
}
.voice-pager__next { text-align: right; }
.voice-pager a:hover { color: var(--c-maroon); }
.voice-pager__list { text-decoration: underline; text-underline-offset: 3px; }

.voice-related { max-width: 840px; margin: 0 auto; padding: 0 var(--gutter) 104px; box-sizing: content-box; }
.voice-related__title { text-align: center; font-size: 22px; font-weight: 600; letter-spacing: 0.12em; }
.voice-related__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.voice-related__item { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; background: var(--c-white); border: 1px solid #e6dcc9; transition: box-shadow .3s; }
.voice-related__item:hover { box-shadow: 0 6px 18px rgba(80, 50, 20, .1); }
.voice-related__cat { font-size: 12px; letter-spacing: 0.1em; color: var(--c-maroon); }
.voice-related__name { font-size: 15px; line-height: 1.6; font-weight: 600; letter-spacing: 0.05em; }
.voice-related__text { font-size: 13px; line-height: 1.7; color: #555; }

/* ---------- タブレット・スマホ ---------- */
@media (max-width: 1023px) {
  .voice-list { gap: 20px; }
  .voice-card__body { padding: 20px 20px 24px; }
}
@media (max-width: 767px) {
  .voice-page__sub { font-size: 13px; }
  .voice-page__body { padding: 40px var(--gutter) 72px; }
  .voice-filter ul { justify-content: flex-start; gap: 8px; margin-bottom: 32px; }
  .voice-filter a { height: 38px; padding: 0 14px; font-size: 13px; }
  .voice-list { grid-template-columns: 1fr; gap: 20px; }
  .voice-card__title { font-size: 17px; }
  .voice-card__text { font-size: 13px; }

  .voice-single__body { padding: 32px var(--gutter) 56px; }
  .voice-single__meta { font-size: 12px; }
  .voice-single__title { font-size: 20px; padding-bottom: 16px; }
  .voice-product { gap: 14px; padding: 14px; margin-top: 24px; }
  .voice-product__photo { flex-basis: 72px; height: 56px; }
  .voice-product__name { font-size: 14px; }
  .voice-gallery { margin-top: 24px; }
  .voice-gallery__subs { gap: 6px; margin-top: 6px; }
  .voice-qa { margin-top: 36px; gap: 28px; }
  .voice-qa__q { padding: 12px 14px; font-size: 15px; }
  .voice-qa__a { margin-top: 12px; padding: 0 4px; font-size: 14px; line-height: 1.9; }
  .voice-pager { grid-template-columns: 1fr 1fr; margin-top: 48px; font-size: 13px; }
  .voice-pager__list { grid-column: 1 / -1; grid-row: 2; text-align: center; }
  .voice-related { padding-bottom: 72px; }
  .voice-related__title { font-size: 18px; }
  .voice-related__list { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
}
