/* =========================================================
   CastList.css
   - スコープ: .pcu95castlist
   - 在籍一覧ページ固有のスタイル
   ========================================================= */

.pcu95castlist {
  background: #fff;
  color: var(--text-primary, #1a1a1a);
}

.pcu95castlist .castlist {
  padding: 48px 0 64px;
}

/* 在籍人数 */
.pcu95castlist .castlist__summary {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin: 0 0 24px;
  padding: 10px 0;
}
.pcu95castlist .castlist__total {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary, #4b5563);
}
.pcu95castlist .castlist__total strong {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent, #e8919f);
  letter-spacing: -0.02em;
}

/* ツールバー（ドロップダウンをリスト行より手前に） */
.pcu95castlist .castlist__toolbar {
  position: relative;
  z-index: 400;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 40px;
}
.pcu95castlist .castlist__actions {
  display: flex;
  gap: 10px;
}

/* アクションボタン */
.pcu95castlist .castlist-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: var(--radius-sm, 6px);
  background: #fff;
  color: var(--text-secondary, #4b5563);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}
.pcu95castlist .castlist-action-btn:hover {
  border-color: var(--text-primary, #1a1a1a);
  color: var(--text-primary, #1a1a1a);
}
.pcu95castlist .castlist-action-btn.is-active {
  border-color: var(--accent, #e8919f);
  color: var(--accent, #e8919f);
  background: #fef7f8;
}
.pcu95castlist .castlist-action-btn__arrow {
  font-size: 10px;
  opacity: 0.5;
}
.pcu95castlist .castlist-action-btn__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--accent, #e8919f);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 0 5px;
}

/* ドロップダウン */
.pcu95castlist .castlist__dropdown {
  position: relative;
}
.pcu95castlist .castlist__dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 500;
  min-width: 220px;
  padding: 6px 0;
  background: #fff;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  animation: clDropIn 0.15s ease;
}
@keyframes clDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pcu95castlist .castlist__dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 18px;
  border: none;
  background: none;
  text-align: left;
  font-size: 13px;
  color: var(--text-secondary, #4b5563);
  cursor: pointer;
  transition: background 0.1s ease;
}
.pcu95castlist .castlist__dropdown-item:hover {
  background: #f8f9fb;
}
.pcu95castlist .castlist__dropdown-item.is-active {
  color: var(--accent, #e8919f);
  font-weight: 600;
}
.pcu95castlist .castlist__dropdown-check {
  font-size: 11px;
  color: var(--accent, #e8919f);
}

/* 絞り込みメニュー */
.pcu95castlist .castlist__dropdown-menu--filter {
  min-width: 260px;
  padding: 0;
}
.pcu95castlist .castlist__filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 10px;
  border-bottom: 1px solid var(--border, #e5e7eb);
}
.pcu95castlist .castlist__filter-head-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary, #1a1a1a);
}
.pcu95castlist .castlist__filter-head-clear {
  border: none;
  background: none;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent, #e8919f);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.1s ease;
}
.pcu95castlist .castlist__filter-head-clear:hover {
  background: rgba(232, 145, 159, 0.08);
}

.pcu95castlist .castlist__filter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary, #4b5563);
  transition: background 0.1s ease;
}
.pcu95castlist .castlist__filter-item:hover {
  background: #f8f9fb;
}
.pcu95castlist .castlist__filter-item.is-checked {
  background: rgba(232, 145, 159, 0.04);
}

.pcu95castlist .castlist__filter-cb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid #cbd5e0;
  background: #fff;
  flex-shrink: 0;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
  font-size: 10px;
  color: #fff;
}
.pcu95castlist .castlist__filter-cb.is-on {
  background: var(--accent, #e8919f);
  border-color: var(--accent, #e8919f);
}
.pcu95castlist .castlist__filter-label {
  flex: 1;
}
.pcu95castlist .castlist__filter-label--class {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pcu95castlist .castlist__filter-divider {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted, #9ca3af);
  letter-spacing: 0.04em;
  border-top: 1px solid var(--border, #e5e7eb);
  margin-top: 4px;
}
.pcu95castlist .castlist__filter-divider i {
  font-size: 10px;
  color: #c8a22a;
}

/* アクティブフィルター表示 */
.pcu95castlist .castlist__active-filters {
  margin-bottom: 24px;
  animation: clDropIn 0.2s ease;
}
.pcu95castlist .castlist__active-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.pcu95castlist .castlist__active-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent, #e8919f);
  background: rgba(232, 145, 159, 0.08);
  border: 1px solid rgba(232, 145, 159, 0.25);
  line-height: 1;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.pcu95castlist .castlist__active-tag--class {
  border-width: 1px;
  border-style: solid;
}
.pcu95castlist .castlist__active-tag-crown {
  font-size: 10px;
  color: #c8a22a;
}
.pcu95castlist .castlist__active-tag-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.06);
  color: inherit;
  font-size: 9px;
  cursor: pointer;
  transition: background 0.1s ease;
  padding: 0;
  line-height: 1;
}
.pcu95castlist .castlist__active-tag-remove:hover {
  background: rgba(0, 0, 0, 0.12);
}
.pcu95castlist .castlist__active-clear {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border: none;
  border-radius: 20px;
  background: #f3f4f6;
  color: var(--text-muted, #9ca3af);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.pcu95castlist .castlist__active-clear:hover {
  background: #e5e7eb;
  color: var(--text-secondary, #4b5563);
}
.pcu95castlist .castlist__active-clear i {
  font-size: 9px;
}

/* 空状態 */
.pcu95castlist .castlist__empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted, #9ca3af);
}
.pcu95castlist .castlist__empty i {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}
.pcu95castlist .castlist__empty p {
  font-size: 14px;
  margin: 0 0 20px;
}
.pcu95castlist .castlist__empty-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border: 1px solid var(--accent, #e8919f);
  border-radius: 6px;
  background: #fff;
  color: var(--accent, #e8919f);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.pcu95castlist .castlist__empty-reset:hover {
  background: var(--accent, #e8919f);
  color: #fff;
}

/* 表示切替（セグメント：ラベル付き） */
.pcu95castlist .castlist__view-toggle {
  display: inline-flex;
  align-items: stretch;
  gap: 1px;
  padding: 3px;
  background: linear-gradient(180deg, #f5f6f8 0%, #eef0f4 100%);
  border: 1px solid #e2e5ea;
  border-radius: 9px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9);
}
.pcu95castlist .castlist-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 30px;
  padding: 5px 11px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.pcu95castlist .castlist-view-btn__icon {
  font-size: 13px;
  opacity: 0.85;
}
.pcu95castlist .castlist-view-btn:hover:not(.is-active) {
  color: #374151;
  background: rgba(255, 255, 255, 0.5);
}
.pcu95castlist .castlist-view-btn.is-active {
  background: #fff;
  color: var(--accent, #e8919f);
  box-shadow: 0 1px 5px rgba(232, 145, 159, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.pcu95castlist .castlist-view-btn.is-active .castlist-view-btn__icon {
  opacity: 1;
}
@media (max-width: 480px) {
  .pcu95castlist .castlist-view-btn {
    padding: 5px 8px;
    gap: 4px;
    font-size: 11px;
    min-height: 32px;
  }
  .pcu95castlist .castlist-view-btn__icon {
    font-size: 12px;
  }
}

/* カードグリッド */
.pcu95castlist .castlist__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 30px;
}
@media (max-width: 1247px) {
  .pcu95castlist .castlist__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .pcu95castlist .castlist__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .pcu95castlist .castlist__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 並び替え・絞り込み（左）とグリッド／リスト（右）を1行で配置 */
  .pcu95castlist .castlist__toolbar {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
  }
  .pcu95castlist .castlist__actions {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-start;
    gap: 6px;
  }
  .pcu95castlist .castlist__dropdown {
    flex: 1 1 0;
    min-width: 0;
  }
  .pcu95castlist .castlist__actions .castlist-action-btn {
    width: 100%;
    min-width: 0;
    font-size: 11px;
    padding: 7px 8px;
    gap: 4px;
  }
  .pcu95castlist .castlist__actions .castlist-action-btn > i:first-of-type {
    flex-shrink: 0;
  }
  .pcu95castlist .castlist__actions .castlist-action-btn > span:not(.castlist-action-btn__count) {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .pcu95castlist .castlist__view-toggle {
    flex-shrink: 0;
    margin-left: 0;
  }
}
@media (max-width: 420px) {
  .pcu95castlist .castlist__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ホバーアニメーション */
.pcu95castlist .cast-card__link {
  transition: transform var(--transition, 0.2s ease);
}
@media (hover: hover) and (pointer: fine) {
  .pcu95castlist .cast-card__link:hover {
    transform: translateY(-3px);
  }
}

/* プレースホルダー */
.pcu95castlist .cast-card__ph {
  height: 280px;
  background: #f3f4f6;
  display: grid;
  place-items: center;
  color: var(--text-muted, #9ca3af);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
}
@media (max-width: 680px) {
  .pcu95castlist .cast-card__ph { height: 240px; }
}

/* リスト表示 */
.pcu95castlist .castlist__grid--list {
  grid-template-columns: 1fr;
  gap: 16px;
}
.pcu95castlist .castlist__grid--list .cast-card__link {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: start;
}
.pcu95castlist .castlist__grid--list .cast-card__ph,
.pcu95castlist .castlist__grid--list .cast-card__img {
  height: 140px;
}
.pcu95castlist .castlist__grid--list .cast-card__comment {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text-muted, #9ca3af);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 520px) {
  .pcu95castlist .castlist__grid--list .cast-card__link { grid-template-columns: 1fr; }
}

/* パンくずリスト */
.pcu95castlist__breadcrumb {
  width: min(100%, var(--container-max, 1200px));
  margin-inline: auto;
  padding: 16px var(--container-padding, 16px) 0;
  box-sizing: border-box;
}
.pcu95castlist .breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 11px;
  color: var(--text-muted, #9ca3af);
}
.pcu95castlist .breadcrumb-list__item {
  display: flex;
  align-items: center;
}
.pcu95castlist .breadcrumb-list__item + .breadcrumb-list__item::before {
  content: "/";
  margin: 0 8px;
  color: var(--border, #e5e7eb);
  font-size: 10px;
}
.pcu95castlist .breadcrumb-list__link {
  color: var(--text-muted, #9ca3af);
  transition: color var(--transition, 0.2s ease);
}
.pcu95castlist .breadcrumb-list__link:hover {
  color: var(--accent, #e8919f);
}
.pcu95castlist .breadcrumb-list__current {
  color: var(--text-secondary, #4b5563);
  font-weight: 500;
}

/* ---------- リスト表示（詳細行） ---------- */
.pcu95castlist .castlist__list {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
/* Virtuoso 行ラッパー：仮想リストは gap が効かないため縦余白を内包 */
.pcu95castlist .castlist__list-item-wrap {
  padding-bottom: 36px;
  box-sizing: border-box;
}
.pcu95castlist .castlist-row {
  --cl-rhythm-xs: 6px;
  --cl-rhythm-sm: 10px;
  --cl-rhythm-md: 14px;
  --cl-rhythm-lg: 18px;
  --cl-rhythm-xl: 24px;
  --cl-pad-gallery-x: clamp(16px, 3vw, 28px);
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(232, 145, 159, 0.12);
  box-shadow:
    0 2px 8px rgba(17, 24, 39, 0.04),
    0 12px 36px rgba(17, 24, 39, 0.07);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}
.pcu95castlist .castlist-row:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 14px rgba(17, 24, 39, 0.06),
    0 18px 44px rgba(232, 145, 159, 0.12);
  border-color: rgba(232, 145, 159, 0.28);
}
@media (prefers-reduced-motion: reduce) {
  .pcu95castlist .castlist-row:hover {
    transform: none;
  }
}
.pcu95castlist .castlist-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #fce4ea 0%, var(--accent, #e8919f) 50%, #fce4ea 100%);
  opacity: 0.9;
  pointer-events: none;
}
/* PC：左メイン（約3/4）／右サイド（対応オプション） */
.pcu95castlist .castlist-row__body {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(240px, 1fr);
  gap: 0;
  align-items: stretch;
}
@media (min-width: 1280px) {
  .pcu95castlist .castlist-row__body {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 300px);
  }
}
.pcu95castlist .castlist-row__body-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
}
/* 上段：写真カラム | テキスト詳細 */
.pcu95castlist .castlist-row__top {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}
.pcu95castlist .castlist-row__col--photo {
  grid-column: 1;
  grid-row: 1;
  padding: var(--cl-rhythm-xl) 18px var(--cl-rhythm-xl) var(--cl-rhythm-xl);
  background: linear-gradient(180deg, #fffefb 0%, #fff5f7 55%, #faf8f9 100%);
  border-right: 1px solid rgba(237, 232, 236, 0.95);
  align-self: stretch;
}
.pcu95castlist .castlist-row__detail {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: var(--cl-rhythm-xl) 28px calc(var(--cl-rhythm-xl) - 2px) 22px;
  gap: 0;
}
.pcu95castlist .castlist-row__main-link {
  display: block;
  padding: 0;
  margin: 0 0 var(--cl-rhythm-xs);
  min-width: 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s ease;
}
.pcu95castlist .castlist-row__main-link:hover {
  opacity: 0.82;
}
.pcu95castlist .castlist-row__spec {
  padding: 0;
  min-width: 0;
  margin: 0 0 var(--cl-rhythm-md);
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: 0.02em;
  line-height: 1.55;
}
.pcu95castlist .castlist-row__detail .castlist-row__catch {
  margin: 0 0 var(--cl-rhythm-md);
}
.pcu95castlist .castlist-row__detail .castlist-row__tags {
  margin-bottom: var(--cl-rhythm-md);
}
.pcu95castlist .castlist-row__main-tail {
  padding: 0;
  min-width: 0;
  margin: 0 0 var(--cl-rhythm-lg);
}
@media (min-width: 1280px) {
  .pcu95castlist .castlist-row__top {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  }
  .pcu95castlist .castlist-row__detail {
    padding-left: 26px;
    padding-right: 36px;
    padding-top: 28px;
    padding-bottom: 26px;
  }
  .pcu95castlist .castlist-row__col--photo {
    padding-left: 26px;
    padding-right: 20px;
  }
}
.pcu95castlist .castlist-row__photo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--cl-rhythm-md);
  max-width: 220px;
  margin: 0 auto;
}
.pcu95castlist .castlist-row__photo-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  background: #eee;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    0 8px 28px rgba(17, 24, 39, 0.1);
}
@media (hover: hover) and (pointer: fine) {
  .pcu95castlist .castlist-row__photo-wrap {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .pcu95castlist .castlist-row__photo-wrap:hover {
    transform: translateY(-2px);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.9) inset,
      0 14px 36px rgba(232, 145, 159, 0.18);
  }
}
.pcu95castlist .castlist-row__photo:not(.lazy-viewport-video) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: top;
}

.pcu95castlist .castlist-row__photo.lazy-viewport-video {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.pcu95castlist .castlist-row__photo.lazy-viewport-video .lazy-viewport-video__media {
  border-radius: inherit;
}

.pcu95castlist .castlist-row__photo-ph {
  aspect-ratio: 3 / 4;
  min-height: 200px;
  background: linear-gradient(155deg, #fce8ec 0%, #e8e4ea 45%, #f0eef2 100%);
}
.pcu95castlist .castlist-row__today-badge {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  padding: 7px 20px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.08em;
  background: linear-gradient(105deg, rgba(236, 120, 140, 0.88), rgba(255, 255, 255, 0.32));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 3px 14px rgba(200, 60, 90, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}
.pcu95castlist .castlist-row__photo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent, #e8919f);
  background: #fff;
  border: 1px solid rgba(232, 145, 159, 0.35);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(232, 145, 159, 0.08);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.pcu95castlist .castlist-row__photo-cta:hover {
  background: var(--accent, #e8919f);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(232, 145, 159, 0.35);
}
.pcu95castlist .castlist-row__photo-cta .fa-chevron-right {
  font-size: 9px;
  opacity: 0.9;
}
.pcu95castlist .castlist-row__name {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.pcu95castlist .castlist-row__name-age {
  font-weight: 700;
  font-size: 0.92em;
  color: #4b5563;
}
.pcu95castlist .castlist-row__catch {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #b84d62;
  line-height: 1.6;
  background: #fff5f8;
  border-radius: 12px;
  border: 1px solid rgba(232, 145, 159, 0.22);
}
.pcu95castlist .castlist-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 0;
}
.pcu95castlist .castlist-row__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: var(--cl-rhythm-sm);
  padding-bottom: 0;
  border-bottom: none;
}
.pcu95castlist .castlist-row__stars-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pcu95castlist .castlist-row__stars-label {
  font-size: 10px;
  font-weight: 700;
  color: #9ca3af;
  letter-spacing: 0.12em;
}
.pcu95castlist .castlist-row__stars {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.pcu95castlist .castlist-row__star-icon {
  font-size: 13px;
  color: #e5e7eb;
  line-height: 1;
}
.pcu95castlist .castlist-row__star-icon.is-on {
  color: var(--accent, #e8919f);
  filter: drop-shadow(0 1px 2px rgba(232, 145, 159, 0.35));
}
.pcu95castlist .castlist-row__main-tail .castlist-row__meta-row {
  margin-bottom: var(--cl-rhythm-sm);
}
.pcu95castlist .castlist-row__body-main > .castlist-row__sns {
  padding: 12px var(--cl-pad-gallery-x) 16px;
  border-top: 1px solid #eceef2;
  background: linear-gradient(180deg, #fdfdfd 0%, #fafbfc 100%);
}
.pcu95castlist .castlist-row__gallery + .castlist-row__sns {
  margin-top: -10px;
  padding-top: 4px;
  border-top: none;
}
.pcu95castlist .castlist-row__sns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 0;
}
.pcu95castlist .castlist-row__sns-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #5c4a50;
  background: #fff;
  border: 1px solid #e8e4e6;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.pcu95castlist .castlist-row__sns-link:hover {
  color: var(--accent, #e8919f);
  border-color: rgba(232, 145, 159, 0.45);
  box-shadow: 0 2px 10px rgba(232, 145, 159, 0.12);
}
.pcu95castlist .castlist-row__sns-link--video {
  color: #111;
  border-color: #111;
  background: #fff;
}
.pcu95castlist .castlist-row__sns-link--video:hover {
  color: #111;
  border-color: #111;
  background: #f3f4f6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.pcu95castlist .castlist-row__sns-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}
.pcu95castlist .castlist-row__sns-icon:hover {
  transform: translateY(-1px);
  opacity: 0.92;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}
.pcu95castlist .castlist-row__sns-icon--x {
  background: #000;
  border-color: #000;
}
.pcu95castlist .castlist-row__sns-icon--instagram {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.pcu95castlist .castlist-row__sns-icon--tiktok {
  background: #010101;
  border-color: #010101;
}
.pcu95castlist .castlist-row__sns-icon--bluesky {
  background: #1185fe;
  border-color: #1185fe;
}
.pcu95castlist .castlist-row__detail .castlist-row__msg-block {
  margin-top: 2px;
  margin-bottom: 0;
}
.pcu95castlist .castlist-row__msg-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  color: #6b7280;
  margin-bottom: var(--cl-rhythm-sm);
  letter-spacing: 0.1em;
}
.pcu95castlist .castlist-row__msg-label::before {
  content: "";
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: var(--accent, #e8919f);
  flex-shrink: 0;
}
.pcu95castlist .castlist-row__msg-box {
  max-height: 110px;
  overflow-y: auto;
  padding: 14px 16px;
  border: 1px solid #e8eaef;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: #4b5563;
  background: #fafbfc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.pcu95castlist .castlist-row__msg-box p {
  margin: 0 0 0.5em;
}
.pcu95castlist .castlist-row__msg-box p:last-child {
  margin-bottom: 0;
}
.pcu95castlist .castlist-row__col--options {
  padding: var(--cl-rhythm-xl) 20px calc(var(--cl-rhythm-xl) + 2px);
  background: #f7f5f6;
  border-left: 1px solid rgba(232, 145, 159, 0.12);
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-height: 0;
}
.pcu95castlist .castlist-row__options-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px 16px 16px;
  border: 1px solid rgba(232, 145, 159, 0.1);
  box-shadow: 0 2px 12px rgba(17, 24, 39, 0.06);
  flex: 1 1 auto;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}
.pcu95castlist .castlist-row__options-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  color: #374151;
  margin: 0 0 var(--cl-rhythm-md);
  letter-spacing: 0.12em;
}
.pcu95castlist .castlist-row__options-title-bar {
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: linear-gradient(180deg, #f0a8b8, var(--accent, #e8919f));
  flex-shrink: 0;
}
.pcu95castlist .castlist-row__options-empty {
  margin: 0;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #c4c8d0;
}
.pcu95castlist .castlist-row__options-scroll {
  list-style: none;
  margin: 0;
  padding: 0 0 4px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-self: stretch;
  box-sizing: border-box;
  flex: 1 1 auto;
  min-height: 0;
  max-height: min(500px, 60vh);
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(232, 145, 159, 0.55) rgba(232, 145, 159, 0.08);
}
.pcu95castlist .castlist-row__options-scroll::-webkit-scrollbar {
  width: 5px;
}
.pcu95castlist .castlist-row__options-scroll::-webkit-scrollbar-track {
  background: rgba(232, 145, 159, 0.06);
  border-radius: 6px;
}
.pcu95castlist .castlist-row__options-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f0a8b8, var(--accent, #e8919f));
  border-radius: 6px;
}
.pcu95castlist .castlist-row__options-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  background: #f3f4f6;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.pcu95castlist .castlist-row__options-item:hover {
  background: #eceff2;
  border-color: rgba(232, 145, 159, 0.28);
  box-shadow: 0 2px 10px rgba(232, 145, 159, 0.1);
}
.pcu95castlist .castlist-row__options-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #f2a5b4, #e8919f);
  box-shadow: 0 2px 8px rgba(232, 145, 159, 0.4);
}
.pcu95castlist .castlist-row__options-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 2px;
}
.pcu95castlist .castlist-row__options-name {
  font-size: 13px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.4;
}
.pcu95castlist .castlist-row__options-price {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}
.pcu95castlist .castlist-row__body-main .castlist-row__gallery {
  padding: var(--cl-rhythm-lg) var(--cl-pad-gallery-x) calc(var(--cl-rhythm-xl) - 2px);
  margin: 0;
  border-top: 1px solid #eceef2;
  background: linear-gradient(180deg, #fdfdfd 0%, #fafbfc 100%);
}
.pcu95castlist .castlist-row__gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: var(--cl-rhythm-md);
}
.pcu95castlist .castlist-row__gallery-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  color: #4b5563;
  letter-spacing: 0.14em;
}
.pcu95castlist .castlist-row__gallery-title .fa-images {
  font-size: 13px;
  color: var(--accent, #e8919f);
  opacity: 0.9;
}
.pcu95castlist .castlist-row__gallery-hint {
  font-size: 11px;
  font-weight: 500;
  color: #9ca3af;
}
.pcu95castlist .castlist-row__thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  margin: 0 -2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.pcu95castlist .castlist-row__thumb-link,
.pcu95castlist .castlist-row__thumb-btn {
  flex: 0 0 auto;
  width: 76px;
  height: 102px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 2px 14px rgba(17, 24, 39, 0.08);
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  padding: 0;
  background: none;
  font: inherit;
}
.pcu95castlist .castlist-row__thumb-link:hover,
.pcu95castlist .castlist-row__thumb-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(232, 145, 159, 0.22);
}
.pcu95castlist .castlist-row__thumb-btn {
  cursor: pointer;
  text-align: left;
  position: relative;
}
.pcu95castlist .castlist-row__thumb-btn.is-selected {
  border-color: var(--accent, #e8919f);
  box-shadow: 0 0 0 2px rgba(232, 145, 159, 0.4), 0 4px 16px rgba(232, 145, 159, 0.25);
}
.pcu95castlist .castlist-row__thumb-btn.is-selected::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 10%;
  right: 10%;
  height: 3px;
  border-radius: 999px;
  background: var(--accent, #e8919f);
  pointer-events: none;
  z-index: 2;
}
.pcu95castlist .castlist-row__thumb-link:focus-visible,
.pcu95castlist .castlist-row__thumb-btn:focus-visible {
  outline: 2px solid var(--accent, #e8919f);
  outline-offset: 3px;
}
.pcu95castlist .castlist-row__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 1100px) {
  .pcu95castlist .castlist-row {
    --cl-pad-gallery-x: 20px;
  }
  .pcu95castlist .castlist-row__body {
    grid-template-columns: 1fr;
  }
  .pcu95castlist .castlist-row__top {
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  }
  .pcu95castlist .castlist-row__col--options {
    border-left: none;
    border-top: 1px solid #eceef2;
    padding: 22px 22px 26px;
  }
  .pcu95castlist .castlist-row__detail {
    padding-right: 22px;
    padding-bottom: 22px;
  }
  .pcu95castlist .castlist-row__options-scroll {
    max-height: 200px;
  }
}
@media (max-width: 720px) {
  /* スマホ：写真左・詳細右 → ギャラリー／オプション非表示 */
  .pcu95castlist .castlist__list {
    gap: 20px;
  }
  .pcu95castlist .castlist__list-item-wrap {
    padding-bottom: 20px;
  }
  .pcu95castlist .castlist-row {
    --cl-pad-gallery-x: 14px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(17, 24, 39, 0.06);
  }
  .pcu95castlist .castlist-row::before {
    height: 3px;
  }
  .pcu95castlist .castlist-row__body {
    grid-template-columns: 1fr;
  }
  .pcu95castlist .castlist-row__col--options {
    display: none !important;
  }
  .pcu95castlist .castlist-row__top {
    display: grid;
    grid-template-columns: minmax(112px, 38vw) 1fr;
    column-gap: 14px;
    align-items: start;
    padding: 14px 14px 0;
  }
  .pcu95castlist .castlist-row__col--photo {
    padding: 0;
    background: transparent;
    border-right: none;
  }
  .pcu95castlist .castlist-row__detail {
    padding: 0 0 10px 2px;
    margin: 0;
  }
  .pcu95castlist .castlist-row__tags .cast-pill-tag {
    padding: 5px 10px;
  }
  .pcu95castlist .castlist-row__catch {
    font-size: 12px;
    font-weight: 600;
    padding: 8px 10px !important;
    border-radius: 10px;
  }
  .pcu95castlist .castlist-row__photo-inner {
    max-width: none;
    width: 100%;
    margin: 0;
    gap: 0;
    padding: 0;
    align-items: stretch;
  }
  .pcu95castlist .castlist-row__photo-wrap {
    border-radius: 14px;
    width: 100%;
    margin: 0;
  }
  .pcu95castlist .castlist-row__photo {
    max-height: none;
    min-height: 140px;
    aspect-ratio: 3 / 4;
    width: 100%;
    object-fit: cover;
  }
  .pcu95castlist .castlist-row__photo-ph {
    aspect-ratio: 3 / 4;
    min-height: 140px;
    max-height: none;
  }
  .pcu95castlist .castlist-row__today-badge {
    font-size: 9px;
    padding: 4px 10px;
    bottom: 8px;
  }
  .pcu95castlist .castlist-row__photo-cta {
    display: none;
  }
  .pcu95castlist .castlist-row__main-link {
    display: block;
  }
  .pcu95castlist .castlist-row__name {
    font-size: 1.15rem;
    margin: 0 0 6px;
    line-height: 1.25;
  }
  .pcu95castlist .castlist-row__name-age {
    font-size: 0.9em;
    font-weight: 700;
    color: #6b7280;
  }
  .pcu95castlist .castlist-row__spec {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.5;
    color: #4b5563;
    padding: 0;
    background: none;
    border: none;
  }
  .pcu95castlist .castlist-row__main-tail {
    margin-bottom: 12px;
  }
  .pcu95castlist .castlist-row__main-tail .castlist-row__meta-row {
    margin-bottom: 8px;
    padding-bottom: 0;
    border-bottom: none;
    gap: 8px 10px;
  }
  .pcu95castlist .castlist-row__stars-label {
    font-size: 10px;
    white-space: nowrap;
  }
  .pcu95castlist .castlist-row__stars-label::after {
    content: "度：";
  }
  .pcu95castlist .castlist-row__star-icon {
    font-size: 13px;
  }
  .pcu95castlist .castlist-row__sns {
    margin-bottom: 0;
    gap: 8px;
  }
  .pcu95castlist .castlist-row__body-main > .castlist-row__sns {
    padding: 10px var(--cl-pad-gallery-x) 14px;
  }
  .pcu95castlist .castlist-row__gallery + .castlist-row__sns {
    margin-top: -8px;
    padding-top: 2px;
    padding-bottom: 14px;
  }
  .pcu95castlist .castlist-row__sns-link {
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 700;
    background: #fff;
  }
  .pcu95castlist .castlist-row__sns-link:not(.castlist-row__sns-link--video) {
    color: var(--accent, #e8919f);
    border: 1px solid rgba(232, 145, 159, 0.5);
  }
  .pcu95castlist .castlist-row__sns-link:not(.castlist-row__sns-link--video):hover {
    background: rgba(232, 145, 159, 0.08);
  }
  .pcu95castlist .castlist-row__sns-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  /* スマホではお店からのメッセージは非表示 */
  .pcu95castlist .castlist-row__detail .castlist-row__msg-block {
    display: none !important;
  }
  .pcu95castlist .castlist-row__body-main .castlist-row__gallery {
    padding: 14px var(--cl-pad-gallery-x) 16px;
    margin: 0;
    background: linear-gradient(180deg, #fdfdfd 0%, #f8f9fa 100%);
    border-top: 1px solid #eceef2;
  }
  .pcu95castlist .castlist-row__gallery-head {
    margin-bottom: 10px;
  }
  .pcu95castlist .castlist-row__thumbs {
    gap: 10px;
    padding: 0 0 12px;
    margin: 0;
    scrollbar-color: #cbd5e1 #f1f5f9;
  }
  .pcu95castlist .castlist-row__thumb-link,
  .pcu95castlist .castlist-row__thumb-btn {
    width: 60px;
    height: 80px;
    border-radius: 11px;
  }
}
