/* ===== ヒーロー画像 ===== */
.cs-hero-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* トラック画像だけトリミング位置を調整 */
.hero-truck{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display:block;
}

.cs-overlay-bottom{
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.35),
    transparent
  );
}

/* スマホだけ：キャプション位置を下げて文字切れ防止 */
@media (max-width: 768px){
  .hero-caption{
    bottom: 12%;
  }
}

@media (max-width: 768px){
  .hero-caption{
    left: 50%;
    right: auto;
    max-width: 92vw;

    bottom: 10% !important;
    top: auto !important;
    transform: translateX(-50%) !important;  /* ← translateYを殺す */
    padding: 0 0.75rem;
  }
}

@media (max-width:768px){

.hero-caption{
  left:50%;
  right:auto;
  max-width:92vw;

  bottom:10% !important;
  top:auto !important;

  transform:translateX(-50%) !important;
  padding:0 0.75rem;
}

/* active時のtransformも止める */
.hero-slide.active .hero-caption{
  transform:translateX(-50%) !important;
}

}
.no-click{
  pointer-events: none;
  cursor: default;
}