body {
  margin: 0;
  font-family: var(--font-sans);
  color: #222;
  background: #ffffff;
  /* 画面下固定 CTA（.movie-detail-fixed-cta）と重ならないよう下部に余白（safe-area 対応） */
  padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
}

.voice-page-main {
  padding: 36px 0 80px;
}

.voice-page-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.voice-page-label {
  display: block;
  text-align: center;
  color: #00afbf;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 8px;
}

.voice-page-title {
  margin: 0 0 26px;
  text-align: center;
  font-size: 34px !important;
}

.voice-page-section-title {
  margin: 0 0 16px;
  font-size: 28px !important;
  text-align: center;
}

.voice-page-subtitle {
  margin: 32px 0 16px;
  text-align: center;
  font-size: 28px !important;
}

.voice-page-section {
  margin-top: 12px;
}

/* お客さまの声タイトル直下の年間制作実績バッジ + ホテルロゴ marquee。
   index の voice-section と同じビジュアルを /voice ページに再掲。 */
.voice-page-achievement {
  margin: 24px 0 32px;
  text-align: center;
}

.voice-page-achievement .voice-section__award {
  margin-top: 0;
}

.voice-page-achievement .logo-marquee-wrapper {
  margin-top: 16px;
}

@media (max-width: 767px) {
  .voice-page-achievement {
    margin: 16px 0 24px;
  }
  .voice-page-achievement .logo-marquee-wrapper {
    margin-top: 12px;
  }
}

.voice-page-section--all {
  margin-top: 40px;
}

#voice-page-section {
  scroll-margin-top: 80px;
}

.voice-page-price-card {
  margin-top: 16px;
  margin-bottom: 20px;
}

.voice-page-price-card .price-card-shell {
  display: block;
  position: static;
  width: 100%;
  max-width: none;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.voice-page-price-card .price-card {
  position: relative;
  left: auto;
  top: auto;
  margin: 0 auto;
}

@media (min-width: 769px) {
  .voice-page-section--pickup .voice-section__reviews {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .voice-page-section--pickup .voice-section__reviews-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
}

#review-summary {
  max-width: 720px;
  margin: 0 auto 12px;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.review-summary-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.review-summary-score {
  font-size: 28px;
  font-weight: 800;
  color: #333;
}

.review-summary-stars {
  display: flex;
  gap: 4px;
}

.review-summary-star {
  font-size: 28px;
  color: #f4a623;
}

.review-summary-star.inactive {
  color: #e0e0e0;
}

.review-summary-count {
  margin-top: 6px;
  font-size: 16px;
  color: #666;
}

#reviews {
  max-width: 720px;
  margin: 0 auto;
  font-family: system-ui, -apple-system, sans-serif;
  color: #333333;
}

.review-card {
  padding: 16px 0 20px;
  border-bottom: 1px solid #dddddd;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.review-author {
  font-size: 16px;
  font-weight: 700;
  color: #333333;
}

.review-stars {
  display: inline-flex;
  gap: 2px;
}

.review-star {
  font-size: 16px;
  line-height: 1;
  color: #f4a623;
}

.review-star.inactive {
  color: #e0e0e0;
}

.review-purchase-date {
  font-size: 14px;
  font-weight: 600;
  color: #777777;
  margin-bottom: 12px;
}

.review-comment {
  font-size: 14px;
  line-height: 1.8;
  color: #333333;
  white-space: pre-wrap;
}

#loading-spinner {
  text-align: center;
  padding: 30px;
  color: #666;
  font-size: 14px;
}

@media (max-width: 768px) {
  #voice-page-section {
    scroll-margin-top: 20px;
  }

  .voice-page-price-card {
    margin-top: 12px;
    margin-bottom: 16px;
  }

  .voice-page-main {
    padding: 24px 0 56px;
  }

  .voice-page-container {
    padding: 0 16px;
  }

  .voice-page-title {
    font-size: 28px !important;
    margin-bottom: 20px;
  }

  .voice-page-section-title,
  .voice-page-subtitle {
    font-size: 22px !important;
    margin-bottom: 12px;
  }
}

/* price-card の下に置く CV ボタンの上下余白（pgw-feature-card 内の同ボタンと近い余白感に揃える） */
.voice-page-cv-wrap {
  margin-top: 8px;
  margin-bottom: 32px;
}

/* 画面下固定 CTA（movie-detail-page.css と同仕様） */
.movie-detail-fixed-cta {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 150;
  width: 90%;
  padding: 14px 16px;
  background-color: var(--cta-pink, #ed4e71);
  box-sizing: border-box;
  border-radius: 67px;
  box-shadow: var(--cv-btn-shadow);
}

@media (max-width: 767px) {
  .movie-detail-fixed-cta {
    border-radius: 38px;
    box-shadow: var(--cv-btn-shadow-sp);
  }
}

@media (min-width: 769px) {
  .movie-detail-fixed-cta {
    width: 500px;
  }
}

.movie-detail-fixed-cta__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  font-family: var(--font-sans);
}

.movie-detail-fixed-cta__link:active {
  filter: brightness(0.96);
}

.movie-detail-fixed-cta__link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
  border-radius: 4px;
}

.movie-detail-fixed-cta__line1 {
  font-size: clamp(15px, 4.1vw, 18px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.movie-detail-fixed-cta__line2 {
  font-size: clamp(12px, 3.2vw, 14px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  opacity: 0.98;
}

/* ============================================================
   すべての口コミ 刷新 (2026-07-12): 種別チップ / 並び替え /
   カード化 / 段階読込 / テンプレタグ / リスト内CV / PC 2カラム。
   バンド・カード共通部品 (.review-summary-band / .review-vb) は
   style.css 側に定義 (3面共通)。
   ============================================================ */
.voice-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  max-width: 720px;
  margin: 16px auto 0;
}

.voice-chip {
  font: 700 13px/1 var(--font-sans, sans-serif);
  border-radius: 999px;
  padding: 9px 14px;
  border: 1.5px solid #c9dfe2;
  background: #ffffff;
  color: #43585d;
  cursor: pointer;
}

.voice-chip[aria-pressed="true"] {
  background: #039aa5;
  border-color: #039aa5;
  color: #ffffff;
}

.voice-chip:focus-visible,
.review-more-btn:focus-visible,
.voice-tpl-note__clear:focus-visible {
  outline: 2px solid #039aa5;
  outline-offset: 2px;
}

.voice-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  max-width: 720px;
  margin: 12px auto 0;
}

.voice-count {
  font-size: 12px;
  color: #7d9095;
}

.voice-sort {
  font: 700 12.5px/1.3 var(--font-sans, sans-serif);
  color: #43585d;
  background: #ffffff;
  border: 1.5px solid #c9dfe2;
  border-radius: 8px;
  padding: 6px 10px;
}

.voice-tpl-note {
  max-width: 720px;
  margin: 10px auto 18px;
  font-size: 12.5px;
  color: #46626a;
  background: #eaf6f8;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.voice-tpl-note[hidden] {
  display: none;
}

.voice-tpl-note__clear {
  color: #039aa5;
  font-weight: 700;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12.5px;
  padding: 0;
}

/* カード化 (既存 .review-card の下線区切りをカードへ上書き) */
.voice-review-list {
  margin-top: 12px;
}

.voice-review-list .review-card {
  border: 1px solid #e3edef;
  border-radius: 12px;
  padding: 13px 14px 12px;
  margin: 0 0 10px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 40, 46, 0.05);
}

.voice-review-list .review-header {
  flex-wrap: wrap;
  margin-bottom: 0;
}

.review-card__date {
  margin-left: auto;
  font-size: 11.5px;
  color: #8a9a9e;
  font-weight: 600;
}

.review-stars-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 3px 0 6px;
}

.voice-review-list .review-star {
  font-size: 14px;
}

.review-tpl-tag {
  display: inline-flex;
  align-items: center;
  font-size: 9.5px;
  font-weight: 700;
  color: #039aa5;
  background: #eaf6f8;
  border-radius: 5px;
  padding: 2px 5px;
  text-decoration: none;
  white-space: nowrap;
}

.review-tpl-tag:hover {
  text-decoration: underline;
}

.voice-review-list .review-comment {
  font-size: 13px;
  line-height: 1.75;
}

.review-body--clamp {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-more-btn {
  font: 700 12.5px/1.6 var(--font-sans, sans-serif);
  color: #039aa5;
  background: none;
  border: none;
  padding: 4px 0 0;
  cursor: pointer;
}

.voice-status {
  text-align: center;
  padding: 30px;
  color: #666666;
  font-size: 14px;
}

.voice-more-wrap {
  display: flex;
  justify-content: center;
  margin: 16px 0 4px;
}

/* hidden 属性は UA の display:none より author の display 指定が勝つため明示上書き */
.voice-more-wrap .pgw-secondary-button[hidden] {
  display: none;
}

.voice-inline-cv {
  margin: 18px 0;
}

/* PC: 一覧を 2 カラム化 (現行は PC でも 720px 単一カラム) */
@media (min-width: 1024px) {
  .voice-page-section--all #reviews {
    max-width: 1000px;
    columns: 2;
    column-gap: 14px;
  }

  .voice-page-section--all #reviews > * {
    break-inside: avoid;
  }

  .voice-toolbar,
  .voice-tpl-note {
    max-width: 1000px;
  }
}
