/* ============================================
   本日の出勤 タイトル
============================================ */
.todays-heading {
  text-align: center;
  padding: 36px 20px 20px;
  max-width: 1030px;
  margin: 0 auto;
}
.todays-heading__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #c0004a;
  margin-bottom: 6px;
}
.todays-heading__title {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #3a1a2a;
  letter-spacing: 0.1em;
}
.todays-heading__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #ee8a9b, #c0004a);
  border-radius: 2px;
  margin: 10px auto 0;
}
@media (max-width: 767px) {
  .todays-heading {
    padding: 28px 16px 16px;
  }
  .todays-heading__title {
    font-size: 1.3rem;
  }
}

/* ============================================
   メインビジュアル
============================================ */
.main-visual {
  width: 100%;
  margin-bottom: 5px;
}
.main-visual__inner {
  max-width: 1030px;
  margin: 0 auto;
}
.main-visual__inner img {
  display: block;
  width: 100%;
  height: auto;
}

#telop {
  width: 100%;
  max-width: 1030px;
  margin: 16px auto;
}

/* ============================================
   キャストグリッド
============================================ */
.cast_section {
  padding: 4vw 2vw;
  font-family: var(--site-font);
}
.cast_grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 5vw 1vw !important;
  list-style: none;
  padding: 0;
  margin: 0;
  /* 既定の stretch だと、中身の少ないカードが同じ行の一番高いカードに合わせて伸び、
     下が空のピンクで埋まる（2026-08-25 ユーザー指摘）。中身の高さで止める */
  align-items: start;
}
.cast_grid > li {
  background: var(--cc-bg, linear-gradient(to bottom, #f399a8 0%, #ee8a9b 100%));
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  color: var(--cc-text, #fff);
  padding-bottom: 2vw;
}
.cast-thumb-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}
.cast-thumb-wrap > a {
  display: block;
  width: 100%;
  height: 100%;
}
.cast-hover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.cast-thumb-wrap.is-video-active .cast-hover-video {
  opacity: 1;
}
._new {
  position: absolute;
  bottom: 6px;
  right: 6px;
  z-index: 10;
  pointer-events: none;
}
._new img {
  width: 64px;
  height: auto;
  display: block;
}
.cast_grid li img._thumnail {
  width: 100%;
  height: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 12px 12px 0 0;
  margin-bottom: 3vw;
}
/* カスタムアイコン（写真上に絶対配置） */
.custom-icon-overlay {
  position: absolute;
  z-index: 5;
  pointer-events: none;
}
.custom-icon-pos--top-left    { top: 4px; left: 4px; }
.custom-icon-pos--top-right   { top: 4px; right: 4px; }
.custom-icon-pos--bottom-left { bottom: 4px; left: 4px; }
.custom-icon-pos--bottom-right{ bottom: 4px; right: 4px; }
/* サイズ: 小 (デフォルト) */
.custom-icon-overlay-img { display: block; width: 32px; height: 32px; object-fit: contain; }
.custom-icon-overlay-label { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 3px; font-size: 10px; font-weight: 700; color: #fff; white-space: nowrap; }
/* サイズ: 中 */
.custom-icon-sz--md .custom-icon-overlay-img { width: 52px; height: 52px; }
.custom-icon-sz--md .custom-icon-overlay-label { padding: 4px 12px; font-size: 13px; border-radius: 4px; }
/* サイズ: 大 */
.custom-icon-sz--lg .custom-icon-overlay-img { width: 72px; height: 72px; }
.custom-icon-sz--lg .custom-icon-overlay-label { padding: 6px 16px; font-size: 16px; border-radius: 5px; }

/* アニメーション: 点滅 */
.ci-anim--pulse { animation: ciPulse 2s ease-in-out infinite; }
@keyframes ciPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}
/* アニメーション: バウンス */
.ci-anim--bounce { animation: ciBounce 2s ease infinite; }
@keyframes ciBounce {
  0%, 100% { transform: translateY(0); }
  25%      { transform: translateY(-6px); }
  50%      { transform: translateY(0); }
  75%      { transform: translateY(-3px); }
}
/* アニメーション: キラキラ */
.ci-anim--shine { position: relative; overflow: visible; }
.ci-anim--shine::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 60%);
  background-size: 200% 200%;
  animation: ciShine 2.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ciShine {
  0%   { background-position: 200% 200%; }
  100% { background-position: -50% -50%; }
}

/* pickup バッジ */
.pickup {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  pointer-events: none;
}
.pickup img {
  width: 54px;
  height: auto;
  display: block;
}

/* PC (768px以上) */
@media screen and (min-width: 768px) {
  .cast_grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
    max-width: 1030px;
    margin: 0 auto;
  }
  .cast_grid > li {
    background-color: #f5a0b0;
    border-radius: 12px;
    overflow: hidden;
    padding-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .cast-thumb-wrap {
    aspect-ratio: 2 / 3;
    width: 100%;
  }
  .cast-thumb-wrap > a {
    display: block;
    width: 100%;
    height: 100%;
  }
  ._new img {
    width: 50px;
  }
  .cast_grid li img._thumnail {
    width: 100%;
    height: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    display: block;
    margin-bottom: 0;
    border-radius: 0;
  }
  .cast_grid li ._info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .header_main,
  .info_block_inner {
    max-width: 1000px;
    margin: 0 auto;
  }
}

/* ============================================
   FAQ・アクセス
============================================ */
.info_block {
  padding: 40px 20px;
  background: #fdf2f4;
}
.info_block h2 {
  text-align: center;
  color: #ee8a9b;
  font-size: 20px;
}
.faq_list dt {
  font-weight: bold;
  color: #ee8a9b;
  margin-top: 20px;
}
.faq_list dd {
  margin-left: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #fff;
}
.access_text {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
  font-size: 14px;
}

/* ============================================
   ランキング黒ベース版 (content-ranking-bk)
============================================ */
.rkbk-block {
  background: linear-gradient(160deg, #1a1a2a 0%, #0d0d1a 100%);
  border-radius: 20px;
  padding: 28px 0 24px;
  margin-bottom: 20px;
}
.rkbk-header {
  text-align: center;
  padding: 0 20px;
  margin-bottom: 20px;
}
.rkbk-crown {
  display: block;
  font-size: 28px;
  margin-bottom: 4px;
}
.rkbk-title {
  font-size: 30px;
  font-weight: 700;
  color: #d4a843;
  letter-spacing: 0.12em;
  line-height: 1;
  font-family: var(--site-font);
}
.rkbk-subtitle {
  font-size: 13px;
  color: #aaa;
  margin-top: 6px;
  letter-spacing: 0.05em;
}
.rkbk-wrap {
  position: relative;
}
.rkbk-outer {
  overflow: hidden;
  padding: 8px 0 10px;
}
.rkbk-track {
  display: flex;
  gap: 12px;
  will-change: transform;
}
.rkbk-card {
  flex: 0 0 var(--cw, 60%);
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transform: scale(0.88);
  opacity: 0.45;
  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.4s ease;
}
.rkbk-card.is-active {
  transform: scale(1);
  opacity: 1;
}
.rkbk-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #222;
}
.rkbk-img a {
  display: block;
  width: 100%;
  height: 100%;
}
.rkbk-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.3s;
}
.rkbk-card.is-active .rkbk-img img {
  transform: scale(1.02);
}
.rkbk-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  z-index: 3;
}
.rkbk-info {
  background: #fff;
}
.rkbk-schedule {
  background: linear-gradient(90deg, #ffd6eb, #ffbee0);
  color: #b8005a;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  padding: 5px 0;
  letter-spacing: 0.04em;
}
.rkbk-body {
  padding: 8px 10px 10px;
  text-align: center;
}
.rkbk-name {
  font-size: 17px;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
}
.rkbk-stats {
  font-size: 12px;
  color: #aaa;
}
.rkbk-btn {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 20;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s;
}
.rkbk-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}
.rkbk-btn:disabled {
  opacity: 0.15;
  pointer-events: none;
}
.rkbk-btn svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rkbk-btn--prev {
  left: 6px;
}
.rkbk-btn--next {
  right: 6px;
}
.rkbk-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
}
.rkbk-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.2s,
    transform 0.2s;
}
.rkbk-dot.is-active {
  background: #d4a843;
  transform: scale(1.5);
}

/* ランキング 黒ベース */
.ranking-block--dark {
  background:
    linear-gradient(
      135deg,
      transparent 30%,
      rgba(255, 220, 100, 0.07) 50%,
      transparent 70%
    ),
    linear-gradient(160deg, #1a1a18 0%, #0a0a0a 50%, #111110 100%) !important;
  border: none !important;
}
.ranking-block--dark .block-title {
  color: #d4a843 !important;
}
.ranking-block--dark .block-subtitle {
  color: #aaa !important;
}
.ranking-block--dark .rk-btn {
  background: #d4a843 !important;
  box-shadow: 0 2px 8px rgba(212, 168, 67, 0.5) !important;
}
.ranking-block--dark .rk-btn svg {
  stroke: #fff !important;
}
.ranking-block--dark .rk-btn:hover {
  background: #c09030 !important;
}

/* ============================================
   ランキングセクション
============================================ */
.ranking-section {
  max-width: 1030px;
  margin: 0 auto;
  padding: 40px 16px;
  font-family: var(--site-font);
}
.ranking-update {
  text-align: center;
  margin-bottom: 32px;
}
.ranking-update span {
  display: inline-block;
  background: #fff;
  border: 1.5px solid #ddd;
  border-radius: 30px;
  padding: 7px 32px;
  font-size: 14px;
  color: #555;
  letter-spacing: 0.04em;
}
.ranking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ranking-block--full {
  grid-column: 1 / -1;
}

.ranking-block {
  border-radius: 18px;
  overflow: hidden;
  padding: 20px 0 24px;
  position: relative;
}
.ranking-block--honshimei {
  background: linear-gradient(160deg, #fffde8 0%, #fef5c0 100%);
  border: 1.5px solid #f0e080;
}
.ranking-block--shinjin {
  background: linear-gradient(160deg, #eaf7ee 0%, #c8ecd4 100%);
  border: 1.5px solid #8ecfa0;
}
.ranking-block--anketo {
  background: linear-gradient(160deg, #edf6ff 0%, #d0e8ff 100%);
  border: 1.5px solid #a0c8f0;
}

/* ブロックヘッダー */
.block-header {
  text-align: center;
  padding: 0 20px;
  margin-bottom: 16px;
}
.crown-icon {
  font-size: 24px;
  display: block;
  margin-bottom: 2px;
  line-height: 1;
}
.block-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #c8962a;
}
.ranking-block--shinjin .block-title {
  color: #2e8050;
}
.ranking-block--anketo .block-title {
  color: #3a85d4;
}
.block-subtitle {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.block-desc {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #c0005a;
  margin-top: 6px;
  letter-spacing: 0.03em;
}

/* ランキングカルーセル */
.rk-wrap {
  position: relative;
}
.rk-btn {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 20;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition:
    opacity 0.2s,
    box-shadow 0.15s;
  padding: 0;
}
.rk-btn:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}
.rk-btn:disabled {
  opacity: 0;
  pointer-events: none;
}
.rk-btn svg {
  width: 14px;
  height: 14px;
  stroke: #444;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rk-btn--prev {
  left: 6px;
}
.rk-btn--next {
  right: 6px;
}
.rk-outer {
  overflow: hidden;
  padding: 4px 0 6px;
  border-radius: 14px;
}
.rk-track {
  display: flex;
  gap: 10px;
  will-change: transform;
}

/* ランキングカード */
.rk-card {
  flex: 0 0 var(--cw, 32%);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.09);
  position: relative;
  transition: box-shadow 0.18s;
}
.rk-card:hover {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}
.rk-rank {
  position: absolute;
  top: 8px;
  left: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.rk-gold {
  background: linear-gradient(135deg, #f5c842, #e8a000);
  box-shadow: 0 2px 6px rgba(220, 150, 0, 0.45);
}
.rk-silver {
  background: linear-gradient(135deg, #d4d4d4, #999);
}
.rk-bronze {
  background: linear-gradient(135deg, #e8a07a, #c06030);
}
.rk-normal {
  background: rgba(0, 0, 0, 0.45);
}
.rk-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #f5c842, #e8a000);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 8px;
  line-height: 1.35;
  text-align: center;
  z-index: 3;
}
.rk-img {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #e8e8e8;
  display: block;
  border-radius: 10px 10px 0 0;
}
.rk-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.rk-card:hover .rk-img img {
  transform: scale(1.04);
}
.rk-info {
  padding: 0;
}
.rk-schedule {
  background: linear-gradient(90deg, #ffd6eb, #ffbee0);
  color: #b8005a;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  padding: 4px 0;
  letter-spacing: 0.04em;
}
.rk-body {
  padding: 7px 10px 9px;
  text-align: center;
}
.rk-name {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  justify-content: center;
}
.rk-stats {
  font-size: 13px;
  color: #bbb;
  margin: 2px 0 7px;
}
.rk-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.rk-tag {
  border: 1px solid #f0a0c0;
  color: #d06090;
  font-size: 10px;
  border-radius: 20px;
  padding: 2px 8px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s;
}
.rk-tag:hover {
  background: #f0a0c0;
  color: #fff;
}

/* SP */
@media (max-width: 767px) {
  .ranking-section {
    padding: 24px 5px;
  }
  .ranking-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ranking-block {
    padding: 20px 0 28px;
  }
  .rk-outer {
    border-radius: 12px;
  }
  .block-title {
    font-size: 32px;
  }
  .block-desc {
    display: block;
    font-size: 14px;
    padding: 6px 0;
    margin-top: 8px;
  }
  .rk-name {
    font-size: 15px;
  }
  .rk-stats {
    font-size: 12px;
  }
  .rk-tags {
    gap: 6px;
  }
  .rk-tag {
    font-size: 11px;
    padding: 3px 10px;
  }
  .rk-schedule {
    font-size: 11px;
    padding: 5px 0;
  }
}

/* ============================================
   サイドバーカルーセル
============================================ */
.sc-carousel {
  background: #fff;
  border-radius: 12px;
  border: 2px solid #e8e0f0;
  overflow: hidden;
  padding-bottom: 14px;
}
.sc-header img {
  width: 100%;
  height: auto;
  display: block;
}
.sc-title {
  text-align: center;
  padding: 16px 12px 8px;
}
.sc-title__en {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #3a9e5f;
  margin-bottom: 4px;
}
.sc-title__ja {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.1em;
  position: relative;
  padding-bottom: 10px;
}
.sc-title__ja::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: linear-gradient(90deg, #3a9e5f, #6fc98a);
  border-radius: 2px;
  margin: 8px auto 0;
}
.sc-subtext {
  font-size: 12px;
  color: #555;
  text-align: center;
  padding: 6px 12px 10px;
  line-height: 1.6;
}
.sc-wrap {
  position: relative;
}
.sc-btn {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 10;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: #3a9e5f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    box-shadow 0.15s,
    opacity 0.2s;
  padding: 0;
}
.sc-btn:hover {
  background: #2e8050;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}
.sc-btn:disabled {
  opacity: 0;
  pointer-events: none;
}
.sc-btn svg {
  width: 13px;
  height: 13px;
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sc-btn--prev {
  left: 6px;
}
.sc-btn--next {
  right: 6px;
}
.sc-outer {
  overflow: hidden;
  padding: 4px 0 6px;
  border-radius: 0 0 10px 10px;
}
.sc-track {
  display: flex;
  gap: 10px;
  will-change: transform;
}
.sc-card {
  flex: 0 0 60%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}
.sc-card-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #eee;
}
.sc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.sc-card:hover .sc-card-img img {
  transform: scale(1.03);
}
.sc-badge {
  display: block;
  width: fit-content;
  margin: 8px auto 4px;
  background: #5cb85c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
}
.sc-card-body {
  padding: 4px 10px 12px;
  text-align: center;
}
.sc-name {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin-bottom: 5px;
}
.sc-name span {
  font-size: 12px;
  color: #999;
  font-weight: 400;
  margin-left: 4px;
}
.sc-time {
  display: inline-block;
  border: 1.5px solid #4a90d9;
  color: #4a90d9;
  font-size: 16px;
  font-weight: 600;
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 4px;
}
.sc-size {
  font-size: 15px;
  color: #aaa;
}
.sc-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.sc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ddd;
  transition:
    background 0.2s,
    transform 0.2s;
  cursor: pointer;
  border: none;
  padding: 0;
}
.sc-dot.is-active {
  background: #e05080;
  transform: scale(1.3);
}

/* ============================================
   バナースライダー
============================================ */
.bs-wrapper {
  max-width: 1030px;
  margin: 0 auto;
  overflow: hidden;
}
.bs-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  line-height: 0;
}
.bs-track {
  display: flex;
  will-change: transform;
  transition: transform var(--bs-speed, 450ms) ease;
}
.bs-slide {
  flex: 0 0 100%;
  min-width: 0;
  position: relative;
  line-height: 0;
}
.bs-slide a {
  display: block;
  line-height: 0;
}
.bs-slide img {
  width: 100%;
  height: auto;
  display: block;
}
.bs-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition:
    background 0.15s,
    box-shadow 0.15s;
  padding: 0;
}
.bs-btn:hover {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.bs-btn svg {
  width: 16px;
  height: 16px;
  stroke: #333;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bs-btn--prev {
  left: 10px;
}
.bs-btn--next {
  right: 10px;
}
.bs-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 10px 0 8px;
  background: #000;
  line-height: 1;
}
.bs-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #666;
  border: none;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.2s,
    transform 0.2s;
}
.bs-dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

/* --- スライダータイプ / アニメーション --- */

/* フェード / フェード＋ズーム（全幅のみ） */
.bs-anim--fade .bs-track,
.bs-anim--zoom .bs-track {
  display: block;
  transform: none !important;
  transition: none;
}
.bs-anim--fade .bs-slide,
.bs-anim--zoom .bs-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity var(--bs-speed, 700ms) ease;
}
.bs-anim--fade .bs-slide:first-child,
.bs-anim--zoom .bs-slide:first-child {
  position: relative;
}
.bs-anim--fade .bs-slide.is-active,
.bs-anim--zoom .bs-slide.is-active {
  opacity: 1;
  z-index: 1;
}
.bs-anim--zoom .bs-slide.is-active img {
  animation: bsZoom 7s ease-out forwards;
}
@keyframes bsZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

/* 縦スライド（全幅のみ・高さはJSで同期） */
.bs-anim--vertical .bs-track {
  flex-direction: column;
  height: 100%;
}
.bs-anim--vertical .bs-slide {
  flex: 0 0 100%;
}
.bs-anim--vertical .bs-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* カルーセル（中央寄せ・左右見切れ） */
.bs-slider--carousel .bs-slide {
  flex: 0 0 76%;
  margin: 0 6px;
  opacity: 0.5;
  transform: scale(0.95);
  transition: opacity var(--bs-speed, 450ms) ease, transform var(--bs-speed, 450ms) ease;
}
.bs-slider--carousel .bs-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.bs-thumbs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  background: #111;
  padding: 4px;
  scrollbar-width: none;
}
.bs-thumbs::-webkit-scrollbar {
  display: none;
}
.bs-thumb {
  flex: 0 0 calc(20% - 4px);
  min-width: 80px;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s;
  border-radius: 3px;
  overflow: hidden;
  border: 2px solid transparent;
  line-height: 0;
}
.bs-thumb.is-active {
  opacity: 1;
  border-color: #fff;
}
.bs-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   キャストカードの追加項目とデザイン（docs/cast-card-design-request.md §3 / §12）

   文字の大きさは **カードの幅** を基準にする（`cqw`）。
   画面幅基準（`vw`）だと、1列の見本と2列の実物・4列のPCで比率が変わり、
   「見本と実物で文字の大きさが違う」状態になるため。
   数値は見本画像（幅253px・2026-08-19 ユーザー提供2点）から起こした比率。
   ========================================================================== */
/* ⚠ 必ず `> li`（直下）で書くこと。`.cast_grid li` にすると、カードの中の
   チップ（セールスポイント・可能コース）の li にも当たる。
   とくに container-type が付くと**中身で幅が決まらなくなり、チップが細い棒に潰れる**
   （2026-08-25 に踏んだ）。 */
.cast_grid > li {
  /* 中の文字・余白が cqw を使えるようにする */
  container-type: inline-size;
  /* grid item の既定 min-width:auto だと中の文字幅でカードが広がり、
     幅が中身に依存して cqw が解決できない＋390px で横スクロールが出る */
  min-width: 0;
  font-weight: 500;
  /* ⚠ カード自身のプロパティ（padding など）に cqw を書かないこと。
     自分は自分のコンテナではないのでビューポート基準になり、
     PCで下に大きな空きができる（2026-08-25 に踏んだ）。カード自身の余白は % を使う */
}
.cast_grid li ._info {
  position: relative;
}

/* --- 見本から起こした共通の文字サイズ（min は読めなくなる下限） --- */
/* 細いと写真の上・塗りの上で読みにくいので、カード内は全体を太めにする（2026-08-25 ユーザー指摘） */
.cast_grid li ._name_text { font-size: clamp(15px, 9.91cqw, 26px); font-weight: 700; }
.cast_grid li ._age       { font-size: clamp(11px, 7.27cqw, 19px); font-weight: 600; opacity: 0.9; }
.cast_grid li ._size      { font-size: clamp(12px, 7.81cqw, 20px); font-weight: 600; }
.cast_grid li ._catch     { font-size: clamp(9px, 6.21cqw, 16px);  font-weight: 600; }
.cast_grid li ._status    { font-size: clamp(10px, 6.74cqw, 18px); font-weight: 700; }
.cast_grid li ._shift     { font-size: clamp(12px, 7.81cqw, 20px); font-weight: 700; }
.cast_grid li ._course    { font-size: clamp(10px, 6.74cqw, 18px); font-weight: 600; }

/* 出勤時間の帯。写真の下端に半分かぶせる */
.cast_grid li ._shift {
  background: var(--cc-band-bg, #fff);
  color: var(--cc-band-text, #c0004a);
  border: 1px solid var(--cc-band-text, #ee8a9b);
  border-radius: 10px;
  font-weight: bold;
  width: 88%;
  margin: -5.5cqw auto 0;
  padding: 2cqw 0;
  position: relative;
  z-index: 10;
}
.cast_grid li ._shift.attend { border-width: 2px; }
.cast_grid li ._shift.no_attend {
  background: #fff;
  color: #aaa;
  border-color: #ddd;
  border-width: 1px;
}
.cast_grid li ._shift--band { border-radius: 999px; }

.cast_grid li ._name { text-align: center; margin: 0; }
.cast_grid li ._name_text { color: var(--cc-text, #fff); }
/* 中身が空の項目。高さだけ確保して何も見せない（カードの高さをそろえるため） */
.cast_grid li ._is-blank {
  visibility: hidden;
  pointer-events: none;
}

/* 左右2つで1行になる差し込み口（大きく表示する部分の左・右）。
   何を入れても同じ行に収まるよう、中身の余白と幅を落とす */
.cast_grid li ._card-slot--pair {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2cqw;
  width: 100%;
}
.cast_grid li ._card-slot--pair > ._card-slot {
  flex: 1 1 0;
  width: 50%;
  min-width: 0;
  margin: 0;
}
.cast_grid li ._card-slot--pair > ._card-slot:first-child { text-align: right; }
.cast_grid li ._card-slot--pair > ._card-slot:last-child { text-align: left; }
/* 管理画面の番号バッジまで拾うと、透明になって見えなくなる（2026-08-25 に踏んだ） */
.cast_grid li ._card-slot--pair > ._card-slot > :not(._slot-badge) {
  display: inline;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.cast_grid li ._age--inline { margin-left: 0; }
.cast_grid li ._profile-value {
  font-weight: 600;
  color: var(--cc-text, #fff);
  font-size: clamp(10px, 6.61cqw, 17px);
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.cast_grid li.cc-tpl--compact ._profile-value { color: var(--cc-text, #fff); }
.cast_grid li.cc-tpl--overlay ._profile-value { color: var(--cc-text, #555); }
.cast_grid li ._profile-pair-list,
.cast_grid li ._card-slot--pair > ._card-slot > ._profile-pair-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1cqw;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cast_grid li ._profile-pair-list li {
  display: block;
  /* overflow:hidden だと min-width:auto が 0 になり、長い項目が来たとき他のチップまで
     中身より小さく潰れる。縮ませずに折り返させる（幅の上限は max-width で持つ） */
  flex: 0 0 auto;
  max-width: 100%;
  padding: 0.8cqw 1.4cqw;
  border-radius: 999px;
  background: var(--cc-band-bg, rgba(255, 255, 255, 0.9));
  color: var(--cc-band-text, #d4507c);
  font-size: clamp(9px, 5.03cqw, 13px);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cast_grid li ._size {
  border-top: 1px dotted rgba(255, 255, 255, 0.5);
  width: 86%;
  margin: 0 auto;
  padding-top: 2.5cqw;
}

/* キャッチコピー */
.cast_grid li ._catch {
  line-height: 1.5;
  margin: 0 auto;
  width: 92%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 今すぐ・待機中。写真へ重ねるのは photo-overlay の差し込み口に入れたときだけで、
   それ以外は他の項目と同じ丸い帯として並べる（全幅の黒帯にしない） */
.cast_grid li ._status {
  font-weight: bold;
  color: var(--cc-band-text, #d4507c);
  background: var(--cc-band-bg, #fff);
  border-radius: 999px;
  width: 58%;
  margin: 0 auto;
  padding: 1.6cqw 0;
}

/* 可能コース・オプション */
.cast_grid li ._courses {
  display: grid;
  gap: 2cqw;
  width: 92%;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.cast_grid li ._courses--grid   { grid-template-columns: repeat(2, 1fr); }
.cast_grid li ._courses--inline { grid-auto-flow: column; grid-auto-columns: 1fr; }
.cast_grid li ._course {
  padding: 1.6cqw 0;
  border-radius: 4px;
  background: var(--cc-band-bg, rgba(255, 255, 255, 0.9));
  color: var(--cc-band-text, #e4677f);
}
/* 非該当。薄すぎると読めないので、はっきり控えめにする程度に留める */
.cast_grid li ._course.is-off {
  background: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.85);
}

/* 2列に分けた項目 */
.cast_grid li ._row2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6cqw;
  width: 92%;
  margin: 1.5cqw auto 0;
  align-items: center;
}
.cast_grid li ._row2 > * { margin: 0; width: 100%; }

/* デザインの差し込み口 */
.cast_grid li ._card-slot {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}
/* 項目どうしがくっつかないよう、差し込み口の間に必ず余白を入れる。
   先頭の項目の margin-top は消さないこと（出勤時間の帯は負のmarginで写真へ乗せている） */
.cast_grid li ._card-slot + ._card-slot { margin-top: 2.5cqw; }
.cast_grid li ._card-slot--pair > ._card-slot + ._card-slot { margin-top: 0; }

/* 写真の下端へ重ねる差し込み口。総称の ._card-slot { position: relative } より
   後ろに置かないと absolute が打ち消される */
.cast_grid li ._card-slot--photo-overlay {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  z-index: 10;
}
.cast_grid li ._card-slot--photo-overlay > :not(._slot-badge) {
  position: static !important;
  width: 58%;
  margin: 0 auto;
  border: 0;
  border-radius: 6px;
  background: var(--cc-bg, linear-gradient(to bottom, #ec87ad 0%, #e2699a 100%));
  color: #fff;
  font-weight: 700;
  padding: 1.8cqw 0;
}

/* ==========================================================================
   デザイン3種（shops.cast_card_template）

   3つとも**ユーザー提供の見本画像そのもの**を再現する枠。
   見た目を「区別のために」勝手にずらさないこと（丸みや余白を足すと見本と離れる）。
     DESIGN 1 (standard) … 見本C: ピンクのカード・白いピルの帯・白い文字
     DESIGN 2 (compact)  … 見本B: ピンクのカード・写真下の白い帯
     DESIGN 3 (overlay)  … 見本A: 白いカード・「今すぐ」を写真へ重ねる・2×2の色チップ
   ========================================================================== */

/* --- DESIGN 1（見本C: ひかる）: ピンクのカード・白いピルの帯・白い文字 --- */
.cast_grid li.cc-tpl--standard {
  border-radius: 10px;
  padding-bottom: 5%;
}
.cast_grid li.cc-tpl--standard .cast-thumb-wrap { border-radius: 10px 10px 0 0; }
.cast_grid li.cc-tpl--standard ._shift {
  border-radius: 999px;
  border-width: 2px;
  width: 78%;
  padding: 2.4cqw 0;
  margin: -6cqw auto 4cqw;
}
.cast_grid li.cc-tpl--standard ._name_text { font-size: clamp(14px, 9.12cqw, 24px); }
.cast_grid li.cc-tpl--standard ._size { font-size: clamp(11px, 7.14cqw, 19px); }
.cast_grid li.cc-tpl--standard ._course { border-radius: 999px; }

/* --- DESIGN 2（見本B: あむ） --- */
.cast_grid li.cc-tpl--compact {
  border-radius: 10px;
  padding: 0 0 5%;
}
.cast_grid li.cc-tpl--compact .cast-thumb-wrap { border-radius: 10px 10px 0 0; }
.cast_grid li.cc-tpl--compact ._info { padding-top: 0; }
.cast_grid li.cc-tpl--compact ._card-slot--band {
  z-index: 10;
  margin-top: -5.5cqw;
  margin-bottom: 2cqw;
}
.cast_grid li.cc-tpl--compact ._card-slot--band > :not(._slot-badge),
.cast_grid li.cc-tpl--compact ._shift {
  background: var(--cc-band-bg, #fff);
  color: var(--cc-band-text, #d4507c);
  border: 1px solid var(--cc-band-text, #eba8be);
  border-radius: 999px;
  width: 88%;
  margin: 0 auto;
  padding: 2cqw 0;
}
/* 名前は濃い色。ピンクの上に白名前だと見本と離れる */
.cast_grid li.cc-tpl--compact ._name { margin: 0; }
.cast_grid li.cc-tpl--compact ._name_text { color: var(--cc-text, #fff); font-size: clamp(14px, 9.12cqw, 24px); }
.cast_grid li.cc-tpl--compact ._age { color: var(--cc-text, #fff); font-size: clamp(10px, 6.35cqw, 17px); opacity: 0.9; }
.cast_grid li.cc-tpl--compact ._size {
  font-size: clamp(10px, 6.88cqw, 18px);
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  margin: 0 auto;
  padding-top: 2.5cqw;
}
.cast_grid li.cc-tpl--compact ._catch { font-size: clamp(9px, 5.82cqw, 15px); }
.cast_grid li.cc-tpl--compact ._courses { gap: 2cqw; width: 88%; }
.cast_grid li.cc-tpl--compact ._course {
  background: var(--cc-band-bg, #fff);
  color: var(--cc-band-text, #d4507c);
  border: 1px solid var(--cc-band-text, #eba8be);
  border-radius: 999px;
  font-size: clamp(9px, 5.95cqw, 15px);
  padding: 1.4cqw 0;
}
.cast_grid li.cc-tpl--compact ._course.is-off {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--cc-band-text, #d4507c);
  opacity: 0.8;
}

/* ==========================================================================
   DESIGN 3 — 見本A（ゆあ）の独立パッケージ
   ==========================================================================
   このデザインは他のデザインの値を借りない。**角丸は無し（見本は全部の角が直角）**。
   数値は見本画像（258×466px / カード幅230px・枠1px）をピクセルで測ったもの。
   **1cqw = 2.3px** で換算している。

   実測値（カード幅230px のとき）
     カード      枠1px・角丸0・白地・内側の余白10px（上下左右）
     写真        207×276（3:4）・角丸0
     今すぐの帯  193×24（写真の93%）・角丸2px・**写真の下端から16px上**・白文字14px
     名前の行    「ゆあ / 22歳」名前17px / 年齢16px・どちらも #555・写真下端から15px
     3サイズ     「T158 B88(F)W58H89」16px・#888・区切り線なし・名前の11px下
     キャッチ    13px・ピンク・3サイズの9px下
     チップ      2列 各100×21・すき間6px・角丸0・キャッチの14px下・下端まで10px
   ========================================================================== */

/* --- カード本体。共通の塗り・角丸・はみ出し隠しを全部打ち消す --- */
.cast_grid li.cc-tpl--overlay {
  background: #fff;
  border: 1px solid var(--cc-bg, #e5558d);
  border-radius: 0;
  overflow: visible;
  color: #555;
  text-align: center;
  padding: 4.35%;
}

/* --- 写真。見本は3:4・角丸なし --- */
.cast_grid li.cc-tpl--overlay .cast-thumb-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 0;
  overflow: hidden;
}
.cast_grid li.cc-tpl--overlay img._thumnail {
  aspect-ratio: 3 / 4;
  border-radius: 0;
  margin-bottom: 0;
}

/* --- 写真より下。ブロックの間隔はこのデザイン専用に1つずつ決める --- */
.cast_grid li.cc-tpl--overlay ._info {
  width: 100%;
  padding-top: 4.3cqw;
}
.cast_grid li.cc-tpl--overlay ._card-slot + ._card-slot { margin-top: 0; }
.cast_grid li.cc-tpl--overlay ._info > ._card-slot--detail  { margin-top: 1.7cqw; }
.cast_grid li.cc-tpl--overlay ._info > ._card-slot--caption { margin-top: 3cqw; }
.cast_grid li.cc-tpl--overlay ._info > ._card-slot--footer  { margin-top: 5.2cqw; }
.cast_grid li.cc-tpl--overlay ._info > ._card-slot--flow    { margin-top: 2.6cqw; }

/* --- 「今すぐ」の帯。写真の下端から少し上に浮かせて重ねる --- */
.cast_grid li.cc-tpl--overlay ._card-slot--photo-overlay { bottom: calc(100% + 7cqw); }
.cast_grid li.cc-tpl--overlay ._card-slot--photo-overlay > :not(._slot-badge) {
  width: 93%;
  border-radius: 2px;
  padding: 1.8cqw 0;
}
.cast_grid li.cc-tpl--overlay ._status {
  font-size: clamp(9px, 6.09cqw, 16px);
  font-weight: 700;
  line-height: 1.15;
}

/* --- 名前の行「ゆあ / 22歳」。名前も年齢も同じ濃さ --- */
.cast_grid li.cc-tpl--overlay ._name { margin: 0; }
.cast_grid li.cc-tpl--overlay ._name_text {
  color: #555;
  font-weight: 700;
  font-size: clamp(11px, 7.39cqw, 19px);
  line-height: 1.15;
}
.cast_grid li.cc-tpl--overlay ._age {
  color: #555;
  opacity: 1;
  font-weight: 500;
  font-size: clamp(10px, 6.96cqw, 18px);
  line-height: 1.15;
}
.cast_grid li.cc-tpl--overlay ._profile-value { color: #555; }
.cast_grid li.cc-tpl--overlay ._profile-pair-list li {
  background: var(--cc-bg, #f1a7c9);
  color: #fff;
  border-radius: 0;
}

/* --- 3サイズ。区切り線は引かない --- */
.cast_grid li.cc-tpl--overlay ._size {
  border-top: 0;
  color: #888;
  width: 100%;
  margin: 0;
  padding-top: 0;
  font-weight: 500;
  font-size: clamp(10px, 6.96cqw, 18px);
  line-height: 1.15;
}

/* --- キャッチ --- */
.cast_grid li.cc-tpl--overlay ._catch {
  color: var(--cc-bg, #e5558d);
  width: 100%;
  margin: 0;
  font-weight: 500;
  font-size: clamp(9px, 5.65cqw, 15px);
  line-height: 1.2;
}

/* --- コースのチップ。2列・角丸なし --- */
.cast_grid li.cc-tpl--overlay ._courses {
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4cqw;
  width: 100%;
  margin: 0;
}
.cast_grid li.cc-tpl--overlay ._course {
  border: 0;
  border-radius: 0;
  background: var(--cc-bg, #f1a7c9);
  color: #fff;
  font-weight: 500;
  font-size: clamp(8px, 6.09cqw, 16px);
  line-height: 1.15;
  padding: 1.5cqw 0;
}
.cast_grid li.cc-tpl--overlay ._course.is-off { background: #ececec; color: #b8b8b8; }

/* --- パーツに入れていない項目が流れてきたとき（見本Aには無い形）。
       白い帯や枠付きのピルにすると DESIGN 1/2 と見分けが付かなくなるので、
       小さなピンクの1行として出す --- */
.cast_grid li.cc-tpl--overlay ._card-slot--flow ._shift {
  background: transparent;
  border: 0;
  color: var(--cc-bg, #e5558d);
  font-size: clamp(9px, 5.65cqw, 15px);
  width: auto;
  margin: 0 auto;
  padding: 0;
}
