/* Nexum お客様の声（広告運用代行・ショート動画制作ページ／横に流れる表示） */
.nxv {
  position: relative;
  background: #fff5e6;
  padding: 80px 0 88px;
  overflow: hidden;
}
.nxv__inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.nxv .heading { margin-bottom: 36px; }
.nxv__notice {
  max-width: 860px;
  margin: -12px auto 28px;
  padding: 10px 16px;
  border: 1px dashed #EE8C35;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}
.nxv__notice a { color: #2E4E8F; text-decoration: underline; }

.nxv__rows { display: grid; gap: 24px; }
.nxv__row {
  position: relative;
  overflow: hidden;
  padding: 8px 0 20px;
  margin-bottom: -20px;
}
/* 左右の端をぼかす。mask-image は毎コマ描き直しになって重いので、背景色のグラデーションを上に重ねる */
.nxv__row::before,
.nxv__row::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 7%;
  pointer-events: none;
}
.nxv__row::before { left: 0; background: linear-gradient(90deg, #fff5e6, rgba(255, 245, 230, 0)); }
.nxv__row::after { right: 0; background: linear-gradient(270deg, #fff5e6, rgba(255, 245, 230, 0)); }
.nxv__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: nxv-scroll var(--nxv-dur, 60s) linear infinite;
}
.nxv--off .nxv__track { animation-play-state: paused; }
.nxv__row--rev .nxv__track { animation-direction: reverse; }
.nxv__row:hover .nxv__track { animation-play-state: paused; }
.nxv__group {
  display: flex;
  flex-shrink: 0;
  gap: 24px;
  margin: 0;
  padding: 0 24px 0 0;
  list-style: none;
}
@keyframes nxv-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.nxv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 360px;
  margin: 0;
  padding: 30px 28px 24px;
  background: #fff;
  border: 1px solid #f1e6d6;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(60, 60, 80, .1);
}
.nxv-card--wide { width: 500px; }
.nxv-card__quote {
  display: block;
  height: 30px;
  font-family: "Montserrat", sans-serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: #F2A03D;
}
.nxv-card__stars {
  display: block;
  font-size: 22px;
  line-height: 30px;
  letter-spacing: .08em;
  color: #F2A03D;
}
.nxv-card__stars-off { color: #e3ddd3; }
.nxv-card__text {
  flex: 1;
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.9;
  color: #333;
}
.nxv-card__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}
.nxv-card__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eaf2fb;
}
.nxv-card__icon--logo { background: #fff; border: 1px solid #eee; overflow: hidden; }
.nxv-card__icon--logo img { width: 100%; height: 100%; object-fit: contain; }
.nxv-card__icon svg { width: 22px; height: 22px; fill: #2E4E8F; }
.nxv-card__who { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.nxv-card__name { font-size: 13px; font-weight: 700; line-height: 1.5; color: #333; }
.nxv-card__tag {
  padding: 2px 10px;
  border-radius: 999px;
  background: #2E4E8F;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  color: #fff;
}

@media (max-width: 768px) {
  .nxv { padding: 56px 0 60px; }
  .nxv .heading { margin-bottom: 26px; }
  .nxv__rows { gap: 16px; }
  .nxv__group { gap: 16px; padding-right: 16px; }
  .nxv-card { width: 280px; padding: 24px 20px 20px; }
  .nxv-card--wide { width: 320px; }
  .nxv-card__quote { height: 24px; font-size: 52px; }
  .nxv-card__stars { font-size: 19px; line-height: 24px; }
  .nxv-card__text { font-size: 14px; line-height: 1.85; }
  .nxv__notice { font-size: 12px; text-align: left; }
}

/* 「視差効果を減らす」設定の端末では自動で流さず、指で横にスクロールできるようにする */
@media (prefers-reduced-motion: reduce) {
  .nxv__track { animation: none; }
  .nxv__row { overflow-x: auto; }
  .nxv__row::before, .nxv__row::after { display: none; }
  .nxv__group[aria-hidden="true"] { display: none; }
}
