/* ===============================
   導入実績スライダー
================================ */
.works-slider {
  position: relative;
  overflow: hidden;
}

.works-slider__wrapper {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* カード全体 */
.works-slider__card {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.works-slider__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
}

/* サムネイル */
.works-slider__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.works-slider__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 本文エリア */
.works-slider__body {
  padding: 14px 0 18px;
}

/* タグリスト */
.works-slider__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px !important;
  margin-bottom: 8px;
  padding: 0;
  list-style: none;
  position: relative;
  z-index: 1;
  list-style: none !important;
  padding-left: 0px !important;

  li {
    margin: 0px !important;
  }
}

.works-slider__tags li span {
  display: inline-block;
  background-color: #0073aa !important;
  color: #fff !important;
  font-size: 11px !important;
  padding: 2px 8px !important;
  margin: 0 !important;
  border-radius: 2px;
  line-height: 1.4;
}

/* タイトル＋stretched-link */
.works-slider__title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.works-slider__link {
  text-decoration: none;
  color: inherit;
}

/* カード全体をクリック可能にする */
.works-slider__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* ナビゲーション */
.works-slider__pagination {
  margin-top: 20px;
  text-align: center;
}
