
/* =========================
   スライダー本体
========================= */

.artists-slider {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 15px;

  overflow-x: auto;
  overflow-y: hidden;

  padding: 0 0 10px 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  touch-action: pan-x;
  
}


/* Chrome / Safari */
.artists-slider::-webkit-scrollbar {
  display: none;
}

/* ドラッグ中 */

.artists-slider.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}


/* =========================
   1〜12ページ
========================= */
.artists-slide {
  /*
    12枚を全部同じ横レールに並べる
  */
  flex: 0 0 80%;
  scroll-snap-align: start;
}

/* 画像 */

.artists-slide img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;

}


/* =========================
   SWIPE表示
========================= */

.artists-swipe {
  margin-top: 0px;
  margin-bottom: 20px;
   text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #555;

}

/* =========================
   PC
========================= */

@media (min-width: 768px) {

  .artist-contents {
    padding-right: 60px;
  }

  .artists-slider {
    gap: 30px;
    margin-left: 0px;
  }

  .artists-slide {

    /*
      PCでは1枚を少し大きめに表示
    */
    flex: 0 0 80%;
  }
}

/* =========================
   スマホ
========================= */

@media (max-width: 767px) {

  .artist-contents{
　padding-right: 30px;

  }
  .artists-slider {
    margin-left: 0px;
    gap: 15px;
  }
  .artists-slide {
    flex: 0 0 100%;
  }
}

/* =========================
   作家一覧（150人）
========================= */
/* 作家一覧：1行5人 */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px 5px;
}

/* 作家1人分 */
.artist {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  text-align: center;
  text-decoration: none;
}

/* 作家アイコン */
.artist img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* 作家名 */
.artist-name {
  display: block;
  width: 100%;
  margin-top: 4px;
  font-size: 10px;
  line-height: 1;
  overflow-wrap: anywhere;
  color: #000000;
}