@charset "utf-8";

/* =========================================================
   太田屋 お客様の声ページ
========================================================= */

.voice-page,
.voice-page * {
  box-sizing: border-box;
}

.voice-page {
  --voice-main: var(--color-main, #245640);
  --voice-main-dark: var(--color-main-dark, #16392b);
  --voice-text: var(--color-text, #2f2b29);
  --voice-muted: #645d57;
  --voice-bg-soft: var(--color-bg-soft, #f7f4ef);
  --voice-line: var(--color-line, #e5dfd8);
  --voice-radius: var(--radius-lg, 18px);
  color: var(--voice-text);
  background: #fff;
  font-family: var(--font-base, "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif);
  font-size: 16px;
  line-height: 1.8;
}

.voice-container {
  width: min(calc(100% - 40px), var(--content-width, 1180px));
  margin-inline: auto;
}

.voice-breadcrumb {
  width: min(calc(100% - 40px), var(--content-width, 1180px));
  margin: 0 auto;
  padding: 18px 0;
  font-size: 14px;
}

.voice-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.voice-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: #aaa19a;
}

.voice-breadcrumb a {
  color: var(--voice-main-dark);
}

.voice-eyebrow {
  margin: 0 0 10px;
  color: var(--voice-main);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
}

/* 供花ページと同じ、全幅背景＋左寄せコピーのヒーロー */
.voice-hero {
  position: relative;
  z-index: 0;
  display: flex;
  min-height: clamp(440px, 45vw, 576px);
  overflow: hidden;
  isolation: isolate;
  background: #2b342f;
  color: #fff;
  text-align: left;
}

.voice-hero__background {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("https://www.ohtaya.co.jp/sougi/img/voice/voice-fv.webp") center 92% / cover no-repeat;
}

.voice-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,
      rgba(15, 30, 24, .78) 0%,
      rgba(15, 30, 24, .48) 48%,
      rgba(15, 30, 24, .08) 78%);
  pointer-events: none;
}

.voice-hero__layout {
  display: flex;
  align-items: center;
  min-height: clamp(440px, 45vw, 576px);
  padding-block: clamp(72px, 8vw, 104px);
}

.voice-hero__copy {
  width: min(100%, 680px);
}

.voice-hero h1,
.voice-section-heading h2,
.voice-guidance h2 {
  margin: 0;
  color: var(--voice-main-dark);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .035em;
}

.voice-hero h1 {
  color: #fff;
  font-size: clamp(34px, 4.6vw, 58px);
}

.voice-hero .voice-eyebrow {
  color: #fff;
}

.voice-hero__lead {
  margin: 22px 0 0;
  color: var(--voice-main-dark);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  line-height: 1.9;
}

.voice-hero__description {
  max-width: 720px;
  margin: 12px auto 0;
  color: var(--voice-muted);
}

.voice-list-section {
  padding: 80px 0 92px;
  background: var(--color-bg-soft);
}

.voice-section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.voice-section-heading h2,
.voice-guidance h2 {
  font-size: clamp(28px, 3.4vw, 42px);
}

.voice-section-heading>p:last-child {
  margin: 14px 0 0;
  color: var(--voice-muted);
}

.voice-grid {
  display: block;
  column-count: 2;
  column-gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.voice-card {
  width: 100%;
  margin-bottom: 28px;
  break-inside: avoid;
  overflow: hidden;
  background: #fff;
  border: 2px solid #ece9e5;
  border-radius: var(--voice-radius);
  box-shadow: 0 7px 22px rgba(53, 43, 35, .06);
  content-visibility: auto;
  contain-intrinsic-size: 650px;
}

/*
 * アンケート用紙全体を読ませる場所ではなく、
 * 右下の自由記述欄を証拠要素として見せるためのトリミング。
 */
.voice-card__evidence {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #efede9;
  border-bottom: 1px solid var(--voice-line);
}

.voice-card__evidence img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.voice-card__evidence figcaption {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  color: #fff;
  background: rgba(22, 57, 43, .9);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.voice-card__body {
  padding: clamp(24px, 3vw, 34px);
}

.voice-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 14px;
  color: var(--voice-main);
  font-size: 14px;
  font-weight: 700;
}

.voice-card__meta span+span::before {
  content: "｜";
  margin-right: 14px;
  color: #b9b2ac;
}

.voice-card h3 {
  margin: 0;
  padding-bottom: 18px;
  color: var(--voice-main-dark);
  border-bottom: 1px solid var(--voice-line);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.7;
}

.voice-card__transcript {
  margin-top: 20px;
}

.voice-card__transcript p {
  margin: 0;
  line-height: 2;
}

.voice-card__transcript p+p {
  margin-top: 12px;
}

.voice-card__transcription-note {
  margin: 20px 0 0;
  color: var(--voice-muted);
  font-size: 13px;
}

.voice-card__transcription-note::before {
  content: "※";
}

.voice-guidance {
  padding: 80px 0;
  color: #fff;
  background: var(--voice-main-dark);
}

.voice-guidance__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 50px;
}

.voice-guidance .voice-eyebrow,
.voice-guidance h2 {
  color: #fff;
}

.voice-guidance p:not(.voice-eyebrow) {
  max-width: 700px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .86);
}

.voice-guidance__actions {
  display: grid;
  gap: 12px;
  min-width: 330px;
  min-height: 240px;
}

.voice-button {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid #fff;
  border-radius: var(--radius-lg, 18px);
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
}

.voice-button--main {
  color: var(--voice-main-dark) !important;
  background: #fff;
}

.voice-button--sub {
  color: #fff !important;
  background: transparent;
}

@media (max-width: 900px) {
  .voice-guidance__inner {
    grid-template-columns: 1fr;
  }

  .voice-guidance__actions {
    width: min(100%, 520px);
    min-width: 0;
  }
}

@media (max-width: 700px) {

  .voice-container,
  .voice-breadcrumb {
    width: min(calc(100% - 28px), var(--content-width, 1180px));
  }

  .voice-breadcrumb {
    padding: 13px 0;
    font-size: 13px;
  }

  .voice-hero {
    min-height: 280px;
  }

  .voice-hero__layout {
    align-items: flex-end;
    /* min-height: 280px; */
    padding-block: 38px;
  }

  .voice-hero__background {
    background-position: 50% center;
  }

  .voice-hero::after {
    background: linear-gradient(90deg,
        rgba(15, 30, 24, .82) 0%,
        rgba(15, 30, 24, .56) 58%,
        rgba(15, 30, 24, .18) 100%);
  }

  .voice-hero h1 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .voice-hero__lead {
    font-size: 18px;
  }

  .voice-hero__description {
    margin-left: 0;
  }

  .voice-list-section,
  .voice-guidance {
    padding: 60px 0 68px;
  }

  .voice-section-heading {
    margin-bottom: 30px;
    text-align: left;
  }

  .voice-grid {
    column-count: 1;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .voice-card__evidence figcaption {
    top: 9px;
    left: 9px;
    font-size: 12px;
  }

  .voice-card__body {
    padding: 23px 20px 26px;
  }

  .voice-card__meta {
    display: grid;
    gap: 2px;
  }

  .voice-card__meta span+span::before {
    display: none;
  }

  .voice-card h3 {
    font-size: 21px;
  }
}


/* =========================================================
   お客様の声カード：総合評価を主軸にした最終候補
   並び順：アンケート画像 → 日付/会場 → 総合評価 → 自由記述 → 出典
========================================================= */

/* 画像上の共通ラベルは使用しない */
.voice-card__evidence figcaption {
  display: none;
}

/* 日付 / 会場 */
.voice-card__meta {
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 18px;
  color: var(--voice-muted);
  font-size: 14px;
  font-weight: 600;
}

.voice-card__meta time,
.voice-card__meta span {
  display: inline-flex;
  align-items: center;
}

.voice-card__meta span::before {
  content: "";
  width: 1px;
  height: 1em;
  margin-right: 12px;
  background: #cfc8c2;
}

/* 総合評価 */
.voice-card__overall {
  margin: 0 0 28px;
  padding: 20px 0 22px;
  border-top: 1px solid var(--voice-line);
  border-bottom: 1px solid var(--voice-line);
}

.voice-card__overall-label,
.voice-card__reason-label {
  margin: 0;
  color: var(--voice-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}

.voice-card__overall-value {
  margin: 6px 0 0;
  color: var(--voice-main-dark);
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 700;
  line-height: 1.65;
}

.voice-card__reason {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed #d8d2cc;
}

.voice-card__reason>p:last-child {
  margin: 6px 0 0;
  color: var(--voice-text);
  line-height: 1.9;
}

/* 自由記述 */
.voice-card__comment h3 {
  margin: 0;
  padding: 0;
  color: var(--voice-main-dark);
  border: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.voice-card__comment .voice-card__transcript {
  margin-top: 10px;
}

/* 出典 */
.voice-card__source {
  margin: 24px 0 0;
  padding-top: 16px;
  color: var(--voice-muted);
  border-top: 1px solid var(--voice-line);
  font-size: 12px;
  text-align: right;
}

/* 既存の注釈 ::before と重ならないようにそのまま利用 */
.voice-card__source+.voice-card__transcription-note {
  margin-top: 8px;
  text-align: right;
}

@media (max-width: 700px) {
  .voice-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
  }

  .voice-card__meta span::before {
    display: block;
    margin-right: 10px;
  }

  .voice-card__overall {
    margin-bottom: 24px;
    padding: 17px 0 19px;
  }

  .voice-card__reason {
    margin-top: 15px;
    padding-top: 14px;
  }

  .voice-card__source {
    margin-top: 21px;
  }
}


/* =========================================================
   太田屋からのコメント
   必要なカードにだけHTMLブロックを出力する。
   コメントがないカードには .voice-card__response 自体を置かない。
========================================================= */
.voice-card__response {
  margin-top: 18px;
  padding: 18px 20px;
  background: #f3f6f4;
  /* border-left: 3px solid var(--voice-main); */
  border-radius: 10px;
}

.voice-card__response-title {
  margin: 0;
  color: var(--voice-main-dark);
  font-size: 14px;
  font-weight: 700;
}

.voice-card__response-text {
  margin-top: 8px;
}

.voice-card__response-text p {
  margin: 0;
  color: var(--voice-text);
  font-size: 14px;
  line-height: 1.9;
}

.voice-card__response-text p+p {
  margin-top: 8px;
}

.voice-card__response+.voice-card__transcription-note {
  margin-top: 10px;
  text-align: right;
}

@media (max-width: 700px) {
  .voice-card__response {
    margin-top: 16px;
    padding: 16px;
  }
}


.voice-card--excerpt .voice-card__title {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  color: var(--voice-main-dark);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.voice-card--excerpt .voice-card__overall {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

.voice-card--excerpt .voice-card__rating {
  padding: 14px 16px;
  background: #f3f5f2;
  border-radius: 8px;
}

.voice-card--excerpt .voice-card__overall-label {
  font-size: 12px;
  line-height: 1.6;
}

.voice-card--excerpt .voice-card__overall-value {
  margin: 5px 0 0;
  font-size: 16px;
  line-height: 1.65;
}

.voice-card--excerpt .voice-card__comment-label {
  margin: 0;
  color: var(--voice-main-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .voice-card--excerpt .voice-card__title {
    font-size: 21px;
    margin-bottom: 18px;
  }

  .voice-card--excerpt .voice-card__rating {
    padding: 12px 14px;
  }

  .voice-card--excerpt .voice-card__overall-value {
    font-size: 15px;
  }
}