/* =========================================================
   お客様の声 セクション（レオパレス21 施工会社様募集LP 追加分）
   - 既存 lp.css の変数（--brand:#0a4b85 など）と調和
   - 3バリアント：A=カード型 / B=引用符アクセント型 / C=写真ヒーロー型
   - data-variant 属性で切替
   ========================================================= */

.voices {
  background: #ffffff;
  border-top: 1px solid #eef2f7;
  border-bottom: 1px solid #eef2f7;
}

/* =========================================================
   汎用セクション見出し（全セクション共通）
   - 「パートナー企業様の声」と同じデザインパターン
     （英語アイキャッチ + センター寄せ）を全セクションへ展開
   - LP内の各 <section> の見出し部分をこの構造に統一する:
     <div class="section-head">
       <span class="section-eyebrow">English Label</span>
       <h2>日本語タイトル</h2>
       <p class="section-lead">リード文（任意）</p>
     </div>
   ========================================================= */
.section-head {
  text-align: center;
  margin-bottom: 28px;
}
.section-eyebrow {
  display: inline-block;
  /* 🔧調整ポイント：画面サイズ別に lp.css の --fs-eyebrow を切替 */
  font-size: var(--fs-eyebrow, 12px);
  letter-spacing: .18em;
  color: var(--brand);
  font-weight: 700;
  padding: 4px 12px;
  border: 1px solid #cfe0f0;
  border-radius: 999px;
  background: #f0f6fb;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 {
  margin: 0 0 8px;
}
.section-lead {
  color: var(--muted);
  margin: 0 auto;
  max-width: 640px;
  /* 🔧調整ポイント：画面サイズ別に lp.css の --fs-lead を切替 */
  font-size: var(--fs-lead, clamp(.82rem, 2.6vw, .96rem));
}

/* -------- デザイン案切替バー（レビュー用） -------- */
.voices-variant-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 14px;
  background: #f0f6fb;
  border: 1px dashed #cfe0f0;
  border-radius: 10px;
  margin-bottom: 28px;
  font-size: 13px;
}
.voices-variant-label {
  color: var(--brand);
  font-weight: 700;
  letter-spacing: .04em;
}
.voices-variant-switch button {
  appearance: none;
  border: 1px solid #dbe6f2;
  background: #fff;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all .18s;
  font-family: inherit;
}
.voices-variant-switch button:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.voices-variant-switch button[aria-current="true"] {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 2px 6px rgba(10,75,133,.25);
}

.voices-head {
  text-align: center;
  margin-bottom: 28px;
}
.voices-eyebrow {
  display: inline-block;
  /* 🔧調整ポイント：画面サイズ別に lp.css の --fs-eyebrow を切替 */
  font-size: var(--fs-eyebrow, 12px);
  letter-spacing: .18em;
  color: var(--brand);
  font-weight: 700;
  padding: 4px 12px;
  border: 1px solid #cfe0f0;
  border-radius: 999px;
  background: #f0f6fb;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.voices-head h2 {
  margin: 0 0 8px;
}
.voices-lead {
  color: var(--muted);
  margin: 0 auto;
  max-width: 740px; /* 640px → 740px（保存版に合わせて調整） */
  /* 🔧調整ポイント：画面サイズ別に lp.css の --fs-lead を切替 */
  font-size: var(--fs-lead, clamp(.82rem, 2.6vw, .96rem));
}

/* -------- カルーセル外枠 -------- */
.voices-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
  margin: 8px auto 0;
  max-width: 1100px; /* 表示エリアを1100px以内に制限 */
  width: 100%;
}
.voices-viewport {
  overflow: hidden;
  padding: 6px 2px 14px;
}
.voices-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.voices-track > li {
  flex: 0 0 calc((100% - 36px) / 3); /* 3枚見せ */
  min-width: 0;
}

/* -------- 矢印 -------- */
.voices-arrow {
  appearance: none;
  border: 1px solid #dbe6f2;
  background: #ffffff;
  color: var(--brand);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(16,24,40,.08);
  transition: background .2s, transform .2s, color .2s;
}
.voices-arrow:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-1px);
}
.voices-arrow:disabled {
  opacity: .35;
  cursor: not-allowed;
  transform: none;
  background: #fff;
  color: var(--brand);
}

/* -------- ドット -------- */
.voices-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.voices-dots button {
  appearance: none;
  border: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #cfd8e3;
  cursor: pointer;
  padding: 0;
  transition: width .2s, background .2s;
}
.voices-dots button[aria-current="true"] {
  width: 22px;
  background: var(--brand);
}

/* -------- 「他の声を見る」ボタン -------- */
.voices-more {
  margin-top: 32px;
  text-align: center;
}
.voices-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--brand);
  border: 1.5px solid var(--brand);
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  /* 🔧調整ポイント：画面サイズ別に lp.css の --fs-more-btn を切替 */
  font-size: var(--fs-more-btn, 15px);
  text-decoration: none;
  transition: all .22s cubic-bezier(.22,.61,.36,1);
  box-shadow: 0 1px 3px rgba(10,75,133,.08);
}
.voices-more-btn:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(10,75,133,.25);
}
.voices-more-btn svg {
  transition: transform .22s;
}
.voices-more-btn:hover svg {
  transform: translateX(4px);
}
.voices-more-note {
  margin: 12px 0 0;
  /* 🔧調整ポイント：画面サイズ別に lp.css の --fs-more-note を切替 */
  font-size: var(--fs-more-note, 12.5px);
  color: var(--muted);
}

/* -------- カードのクリック可能表現 -------- */
.v-card[data-voice-id] {
  cursor: pointer;
  transition: transform .22s, box-shadow .22s;
}
.v-card[data-voice-id]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* =========================================================
   モーダル
   ========================================================= */
.v-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .22s ease;
}
.v-modal.is-open { opacity: 1; }
.v-modal[hidden] { display: none; }

.v-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7,44,78,.72);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.v-modal-panel {
  position: relative;
  background: #fff;
  border-radius: 16px;
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(7,44,78,.35);
  transform: translateY(20px) scale(.98);
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
}
.v-modal.is-open .v-modal-panel {
  transform: translateY(0) scale(1);
}

.v-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  appearance: none;
  border: 0;
  background: rgba(255,255,255,.9);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(16,24,40,.15);
  transition: background .18s, transform .18s;
}
.v-modal-close:hover {
  background: var(--brand);
  color: #fff;
  transform: rotate(90deg);
}

.v-modal-body {
  padding: 28px 32px 32px;
}

/* -------- ヘッダー：都道府県 + 企業名 -------- */
.v-modal-header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 2px solid #e0e6ee;
}
.v-modal-pref {
  /* 🔧調整ポイント：画面サイズ別に lp.css の --fs-modal-pref を切替 */
  font-size: var(--fs-modal-pref, clamp(.8rem, 2.4vw, .95rem));
  color: var(--muted);
  font-weight: 600;
}
.v-modal-company {
  /* 🔧調整ポイント：画面サイズ別に lp.css の --fs-modal-company を切替 */
  font-size: var(--fs-modal-company, clamp(1rem, 3.6vw, 1.3rem));
  font-weight: 700;
  color: var(--text);
  letter-spacing: .01em;
}

/* -------- Q&A ブロック -------- */
.v-modal-qa {
  display: flex;
  flex-direction: column;
}
.v-modal-q,
.v-modal-a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 10px;
}
.v-modal-q {
  background: #eef4fb;
  margin: 22px 0 0;
}
.v-modal-q:first-child {
  margin-top: 0;
}
.v-modal-a {
  background: transparent;
  padding: 14px 18px 4px;
}
.qa-mark {
  flex-shrink: 0;
  font-weight: 700;
  /* 🔧調整ポイント：画面サイズ別に lp.css の --fs-qa-mark を切替 */
  font-size: var(--fs-qa-mark, .95rem);
  line-height: 1.8;
  color: var(--brand);
}
.v-modal-q p,
.v-modal-a p {
  margin: 0;
  /* 🔧調整ポイント：画面サイズ別に lp.css の --fs-qa-text を切替 */
  font-size: var(--fs-qa-text, clamp(.82rem, 2.5vw, .95rem));
  line-height: 1.85;
  color: var(--text);
}
.v-modal-q p {
  font-weight: 700;
}
.v-modal-a p {
  font-weight: 400;
}

/* =========================================================
   一覧ページ（voices.html 用）
   ========================================================= */
.voices-page {
  padding: 48px 0 80px;
  background: #fff;
}
.voices-page .wrap {
  max-width: 1100px; /* 表示エリアを1100px以内に制限 */
  margin: 0 auto;
  width: 100%;
}
.voices-page-head {
  text-align: center;
  margin-bottom: 40px;
}
.voices-page-head .voices-eyebrow {
  margin-bottom: 14px;
}
.voices-page-head h1 {
  margin: 0 0 12px;
  /* 🔧調整ポイント：画面サイズ別に lp.css の --fs-page-head-h1 を切替 */
  font-size: var(--fs-page-head-h1, clamp(20px, 5.5vw, 34px));
}
.voices-page-head .voices-lead {
  max-width: 620px;
  margin: 0 auto;
}

.voices-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  /* 🔧調整ポイント：画面サイズ別に lp.css の --fs-back を切替 */
  font-size: var(--fs-back, .9rem);
  text-decoration: none;
  margin-bottom: 24px;
  padding: 6px 0;
  font-weight: 600;
}
.voices-back:hover {
  text-decoration: underline;
}
.voices-back svg { flex-shrink: 0; }

.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.v-grid-item { min-width: 0; }

/* 一覧ページのカード高さを揃える */
.voices-grid .v-card {
  height: 100%;
}

/* -------------------------------------------------------
   ℹ️ 補足：フィルタタブ／件数ラベル／ページネーション等の
   小さいUI部品（.voices-filter-tab, .voices-count-label,
   .voices-page-btn 等）は、タップ領域の見た目を保つため
   意図的に --fs-* 変数化せず固定pxのままにしています。
   これらも画面サイズ別に調整したい場合は、同じ要領で
   「lp.css の :root に --fs-xxx を追加 → ここで
   font-size: var(--fs-xxx, 現在値) に置き換え → 5段階の
   @media ブロックにも値を追加」という手順で拡張できます。
   ------------------------------------------------------- */

/* -------- フィルタバー -------- */
.voices-filter-bar {
  margin-bottom: 24px;
}
.voices-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef2f7;
  margin-bottom: 14px;
}
.voices-filter-tab {
  appearance: none;
  border: 1px solid #dbe6f2;
  background: #fff;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .18s;
}
.voices-filter-tab:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.voices-filter-tab[aria-current="true"] {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.voices-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #f0f6fb;
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
}
.voices-filter-tab[aria-current="true"] .voices-filter-count {
  background: rgba(255,255,255,.25);
  color: #fff;
}

.voices-filter-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.voices-filter-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.voices-filter-select-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.voices-filter-select {
  appearance: none;
  border: 1px solid #cdd6e3;
  background: #fff
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'><path fill='none' stroke='%2358677b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/></svg>")
    no-repeat right 12px center / 12px;
  padding: 8px 34px 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  min-width: 200px;
}
.voices-filter-select:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}
.voices-filter-clear {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: underline;
  font-family: inherit;
}
.voices-filter-clear:hover { background: #f0f6fb; }

/* -------- 件数ラベル -------- */
.voices-count-label {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 20px;
}
.voices-count-label strong {
  color: var(--brand);
  font-weight: 700;
}

/* -------- 空状態 -------- */
.voices-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  background: #f7fafc;
  border: 1px dashed #cfd8e3;
  border-radius: 12px;
  color: var(--muted);
}
.voices-empty svg {
  color: #a8b4c4;
  margin-bottom: 12px;
}
.voices-empty-title {
  font-size: 1rem;
  color: var(--text);
  font-weight: 600;
  margin: 0 0 6px;
}
.voices-empty-note {
  font-size: .9rem;
  margin: 0;
}

/* -------- ページネーション -------- */
.voices-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.voices-page-btn {
  appearance: none;
  border: 1px solid #dbe6f2;
  background: #fff;
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .18s;
}
.voices-page-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.voices-page-btn[aria-current="true"] {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  cursor: default;
}
.voices-page-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  color: var(--muted);
  background: #fff;
}
.voices-page-nav { color: var(--brand); }
.voices-page-ellipsis {
  color: var(--muted);
  padding: 0 4px;
  font-weight: 700;
}

@media (max-width: 599px) {
  .voices-filter-tabs { gap: 6px; }
  .voices-filter-tab { padding: 7px 12px; font-size: 12.5px; }
  .voices-filter-select { min-width: 100%; width: 100%; }
  .voices-filter-select-wrap { width: 100%; flex-direction: column; align-items: flex-start; gap: 6px; }
  .voices-page-btn { width: 36px; height: 36px; font-size: 13px; }
}
@media (max-width: 390px) {
  .voices-filter-tabs { gap: 5px; padding-bottom: 12px; }
  .voices-filter-tab { padding: 6px 10px; font-size: 11.5px; }
  .voices-page-btn { width: 32px; height: 32px; font-size: 12px; }
}

.voices-page-cta {
  margin-top: 48px;
  padding: 32px 24px;
  background: #f0f6fb;
  border: 1px solid #dbe6f2;
  border-radius: 12px;
  text-align: center;
}
.voices-page-cta h3 {
  margin: 0 0 10px;
  /* 画面サイズ別（1024/768/425/375/320px）に lp.css の --fs-cta-h3 を切替 */
  font-size: var(--fs-cta-h3, 1.15rem);
}
.voices-page-cta p {
  margin: 0 0 18px;
  color: var(--muted);
  /* 画面サイズ別（1024/768/425/375/320px）に lp.css の --fs-cta-p を切替 */
  font-size: var(--fs-cta-p, .95rem);
}

@media (max-width: 900px) {
  .voices-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .v-modal-panel { max-height: 92vh; }
  .v-modal-body { padding: 24px 20px 24px; }
}
@media (max-width: 599px) {
  .voices-grid { grid-template-columns: 1fr; }
  .v-modal { padding: 12px; }
  .v-modal-q,
  .v-modal-a { padding: 13px 14px; }
  .v-modal-q { margin-top: 16px; }
  .v-modal-a { padding-bottom: 2px; }
}
@media (max-width: 390px) {
  .v-modal { padding: 8px; }
  .v-modal-body { padding: 20px 16px 20px; }
}

/* =========================================================
   バリアント A：カード型（既存 .card 準拠）
   ========================================================= */
.voices[data-variant="A"] .v-card {
  background: #fff;
  border: 1px solid #e0e6ee;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 1px 2px rgba(16,24,40,.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow .2s, transform .2s;
}
.voices[data-variant="A"] .v-card:hover {
  box-shadow: 0 6px 16px rgba(10,75,133,.10);
  transform: translateY(-2px);
}
.voices[data-variant="A"] .v-photo {
  aspect-ratio: 16 / 10;
  background:
    repeating-linear-gradient(
      45deg,
      #eef2f7 0 10px,
      #f6f9fc 10px 20px
    );
  position: relative;
  border-bottom: 1px solid #e0e6ee;
}
.voices[data-variant="A"] .v-photo::after {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  color: #6b7a8f;
  letter-spacing: .05em;
}
.voices[data-variant="A"] .v-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 実写真の読み込みに成功している間は、プレースホルダー文字を隠す */
.voices[data-variant="A"] .v-photo:has(img)::after {
  display: none;
}
.voices[data-variant="A"] .v-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.voices[data-variant="A"] .v-quote {
  /* 🔧調整ポイント：画面サイズ別に lp.css の --fs-quote を切替（A/B/C共通） */
  font-size: var(--fs-quote, clamp(.82rem, 2.4vw, .95rem));
  line-height: 1.75;
  color: var(--text);
  margin: 0;
  flex: 1;
}
.voices[data-variant="A"] .v-attr {
  border-top: 1px dashed #e0e6ee;
  padding-top: 12px;
  /* 🔧調整ポイント：画面サイズ別に lp.css の --fs-attr を切替（A/B/C共通） */
  font-size: var(--fs-attr, clamp(.74rem, 2vw, .82rem));
  color: var(--muted);
}
.voices[data-variant="A"] .v-attr strong {
  display: block;
  color: var(--text);
  /* 🔧調整ポイント：画面サイズ別に lp.css の --fs-attr-strong を切替（A/B/C共通） */
  font-size: var(--fs-attr-strong, clamp(.82rem, 2.2vw, .92rem));
  margin-bottom: 2px;
}
.voices[data-variant="A"] .v-meta {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.voices[data-variant="A"] .v-meta span {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f0f6fb;
  color: var(--brand);
  border: 1px solid #dbe6f2;
}

/* =========================================================
   バリアント B：引用符アクセント型
   ========================================================= */
.voices[data-variant="B"] .v-card {
  background: #fafcff;
  border: 1px solid #dbe6f2;
  border-radius: 14px;
  padding: 28px 22px 22px;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}
.voices[data-variant="B"] .v-card::before {
  content: "\201C"; /* 開き引用符 */
  position: absolute;
  top: -18px;
  left: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 120px;
  line-height: 1;
  color: var(--brand);
  opacity: .12;
  pointer-events: none;
}
.voices[data-variant="B"] .v-photo {
  display: none; /* B案は写真なし */
}
.voices[data-variant="B"] .v-body {
  display: contents;
}
.voices[data-variant="B"] .v-quote {
  /* 🔧調整ポイント：画面サイズ別に lp.css の --fs-quote を切替（A/B/C共通） */
  font-size: var(--fs-quote, clamp(.84rem, 2.5vw, .98rem));
  line-height: 1.85;
  color: var(--text);
  margin: 0;
  flex: 1;
  position: relative;
  z-index: 1;
}
.voices[data-variant="B"] .v-attr {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #e6eef6;
}
.voices[data-variant="B"] .v-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  flex-shrink: 0;
  background:
    repeating-linear-gradient(
      45deg,
      #dbe6f2 0 6px,
      #eef4fb 6px 12px
    );
  border: 1px solid #cfe0f0;
  display: grid;
  place-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  color: #6b7a8f;
}
.voices[data-variant="B"] .v-attr-text strong {
  display: block;
  /* 🔧調整ポイント：画面サイズ別に lp.css の --fs-attr-strong を切替（A/B/C共通） */
  font-size: var(--fs-attr-strong, clamp(.82rem, 2.2vw, .92rem));
  color: var(--text);
  margin-bottom: 2px;
}
.voices[data-variant="B"] .v-attr-text span.v-sub {
  font-size: .78rem;
  color: var(--muted);
}
.voices[data-variant="B"] .v-meta {
  display: inline-flex;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.voices[data-variant="B"] .v-meta span {
  font-size: 10.5px;
  padding: 1px 7px;
  border-radius: 4px;
  background: #eaf1f9;
  color: var(--brand);
  font-weight: 600;
}

/* =========================================================
   バリアント C：写真ヒーロー型（現場写真背景 + 下部オーバーレイ）
   ========================================================= */
.voices[data-variant="C"] .v-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  color: #fff;
  isolation: isolate;
  box-shadow: 0 4px 14px rgba(10,75,133,.15);
  height: 100%;
}
.voices[data-variant="C"] .v-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(7,44,78,.05) 0%, rgba(7,44,78,.65) 60%, rgba(7,44,78,.9) 100%),
    repeating-linear-gradient(
      135deg,
      #4b6a8a 0 14px,
      #2f4f70 14px 28px
    );
}
.voices[data-variant="C"] .v-photo::after {
  content: attr(data-placeholder);
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10.5px;
  color: rgba(255,255,255,.85);
  background: rgba(7,44,78,.55);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: .04em;
}
.voices[data-variant="C"] .v-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* 実写真の読み込みに成功している間は、プレースホルダー文字を隠す */
.voices[data-variant="C"] .v-photo:has(img)::after {
  display: none;
}
.voices[data-variant="C"] .v-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.voices[data-variant="C"] .v-quote {
  /* 🔧調整ポイント：画面サイズ別に lp.css の --fs-quote を切替（A/B/C共通） */
  font-size: var(--fs-quote, clamp(.82rem, 2.4vw, .95rem));
  line-height: 1.75;
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.voices[data-variant="C"] .v-attr {
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.25);
  /* 🔧調整ポイント：画面サイズ別に lp.css の --fs-attr を切替（A/B/C共通） */
  font-size: var(--fs-attr, clamp(.72rem, 2vw, .8rem));
  color: rgba(255,255,255,.9);
}
.voices[data-variant="C"] .v-attr strong {
  display: block;
  color: #fff;
  /* 🔧調整ポイント：画面サイズ別に lp.css の --fs-attr-strong を切替（A/B/C共通） */
  font-size: var(--fs-attr-strong, clamp(.82rem, 2.2vw, .95rem));
  margin-bottom: 2px;
}
.voices[data-variant="C"] .v-meta {
  display: inline-flex;
  gap: 6px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.voices[data-variant="C"] .v-meta span {
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(4px);
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 900px) {
  .voices-track > li { flex: 0 0 calc((100% - 18px) / 2); } /* 2枚 */
  .voices-carousel { grid-template-columns: 40px 1fr 40px; }
  .voices-arrow { width: 40px; height: 40px; }
}
@media (max-width: 599px) {
  .voices-track > li { flex: 0 0 100%; }                    /* 1枚 */
  .voices-carousel { grid-template-columns: 36px 1fr 36px; gap: 6px; }
  .voices-arrow { width: 36px; height: 36px; }
  .voices[data-variant="C"] .v-card { aspect-ratio: 5 / 6; }
}
@media (max-width: 390px) {
  .voices-carousel { grid-template-columns: 30px 1fr 30px; gap: 4px; }
  .voices-arrow { width: 30px; height: 30px; }
  .voices-arrow svg { width: 16px; height: 16px; }
  .voices-head h2 { font-size: 1.25rem; }
  .voices-lead { font-size: .88rem; }
  .voices-more-btn { padding: 12px 20px; font-size: 14px; }
}

/* =========================================================
   PCヘッダーメニュー：項目間の間隔を詰める
   - lp.css 側の .nav ul { gap:16px } を上書きし、
     メニュー項目同士の空白を狭くする
   ========================================================= */
.nav-list--pc {
  gap: 8px; /* 元は16px。数値を小さくするほど間隔が狭くなる */
}
.nav-list--pc > li:not(:has(.cta)) > a {
  padding: 6px 4px; /* リンクの左右余白も詰める（クリック領域は維持） */
}

/* =========================================================
   SPヘッダーメニュー：等間隔配置
   - lp.css 側の .nav-list--sp（横スクロール想定の横並び）を上書きし、
     項目を折り返しつつ均等な間隔で配置されるようにする
   ========================================================= */
@media (max-width: 900px) {
  .nav-list--sp {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    column-gap: 0;
    row-gap: 10px;
    overflow: visible;
    width: 100%;
  }
  .nav-list--sp > li.nav-sp-title {
    flex: 0 0 100%;
    order: -1;
  }
  .nav-list--sp > li:not(.nav-sp-title) {
    flex: 1 1 0;
    text-align: center;
    white-space: nowrap;
  }
  .nav-list--sp > li:not(.nav-sp-title) > a {
    display: block;
    padding: 6px 4px;
  }
}
@media (max-width: 599px) {
  /* iPhone 16（画面幅約390px）等の狭いSP画面でも、
     タイトル行の下でメニュー5項目が横一列に収まるようにする。
     ※ タイトルは flex:0 0 100% で常に単独の1行目を占有するため、
        残りの項目（2行目）だけが横一列で並ぶ。
     ※ 「協力会社様の声」など文字数の多い項目でも全文を読めるように、
        省略（…）ではなく折り返し（2行化）を許容する。
     ※ 均等引き延ばし（flex:1 1 0 + space-between）だと項目の文字数に関わらず
        余白が大きく空いて見えるため、内容幅に合わせて詰めて中央寄せにする。 */
  .nav-list--sp {
    justify-content: center; /* 均等配置ではなく中央に詰めて配置 */
    column-gap: 6px;         /* 項目間の空白（狭くしたい場合はこの値を小さくする） */
  }
  .nav-list--sp > li:not(.nav-sp-title) {
    flex: 0 1 auto; /* 内容幅に合わせる（引き延ばしをやめる） */
    min-width: 0;
  }
  .nav-list--sp > li:not(.nav-sp-title) > a {
    display: block;
    font-size: 11px;
    padding: 6px 2px;
    letter-spacing: -0.03em;
    white-space: normal; /* 項目内で折り返しを許容し、全文を表示 */
    word-break: break-all; /* 日本語を適切な位置で折り返す */
    line-height: 1.3;
    overflow: visible;
    text-overflow: unset;
  }
}
@media (max-width: 380px) {
  /* さらに狭い端末向け：左右の余白（.wrap のパディング、メニュー項目のパディング）を狭め、
     フォントサイズは11pxを維持して文字数の多い項目（協力会社様の声等）でも
     2行内で収まるようにする（フォントを大きくすると折り返しても入りきらなくなるため）。
     項目間の空白もさらに詰める。 */
  .header .wrap,
  header .wrap {
    padding: 0 8px;
  }
  .nav-list--sp {
    column-gap: 3px; /* さらに狭い端末では、より詰めた間隔にする */
  }
  .nav-list--sp > li:not(.nav-sp-title) > a {
    font-size: 11px;
    padding: 6px 1px;
    letter-spacing: -0.03em;
  }
}

/* =========================================================
   応募フォーム：スパム対策関連要素
   - honeypot（人には見えないダミー入力欄）
   - 個人情報同意チェック行
   - Cloudflare Turnstile ウィジェットの配置
   ========================================================= */

/* honeypot：画面上には表示しないが、スクリーンリーダーや
   フォームのタブ移動からも除外し、BOTの自動入力だけを誘発する */
.mf-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  left: -9999px;
}

.mf-consent-row {
  margin: 18px 0;
}
.mf-agree {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  /* 🔧調整ポイント：画面サイズ別に lp.css の --fs-agree を切替 */
  font-size: var(--fs-agree, .92rem);
  color: var(--text);
}
.mf-agree input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}
.mf-note {
  margin: 10px 0 0;
  /* 🔧調整ポイント：画面サイズ別に lp.css の --fs-note を切替 */
  font-size: var(--fs-note, .82rem);
  color: var(--muted);
}

/* Cloudflare Turnstile ウィジェット：フォーム内で左寄せ、上下に余白 */
.cf-turnstile {
  margin: 18px 0 6px;
  display: flex;
  justify-content: flex-start;
}
/* プレビュー限定：本番のTurnstile実行スクリプトを読み込まないため、
   ウィジェットの表示位置だけを枠線で示すプレースホルダー */
.cf-turnstile-placeholder {
  min-height: 65px;
  min-width: 300px;
  border: 1px dashed #cfd8e3;
  border-radius: 8px;
  background: #f7fafc;
  align-items: center;
  padding: 0 16px;
}
.cf-turnstile-placeholder-label {
  font-size: 12px;
  color: var(--muted);
  text-align: left;
}
