/* ---- サブナビ ---- */
.cast-subnav { display:flex; gap:0; margin-bottom:16px; border:1px solid #c8a8c8; border-radius:4px; overflow:hidden; }
.cast-subnav a { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; padding:8px 4px; background:#47414e; color:#fff; font-size:11px; text-decoration:none; border-right:1px solid #5c5566; text-align:center; line-height:1.3; }
.cast-subnav a:last-child { border-right:none; }
.cast-subnav a:hover { background:#931d1d; }
.cast-subnav a.active { background:#931d1d; }
.cast-subnav a img { width:20px; height:20px; }

/* ---- アクションリンク ---- */
.cast-action-bar { display:flex; gap:8px; margin-bottom:14px; }
.cast-fav-btn { display:flex; align-items:center; gap:5px; background:#fff; border:2px solid #D6428B; color:#D6428B; font-size:10px; font-weight:bold; padding:6px 12px; border-radius:20px; text-decoration:none; cursor:pointer; font-family:'Noto Sans JP',sans-serif; }
.cast-fav-btn:hover { background:#D6428B; color:#fff; }
.cast-fav-btn.is-on { background:#D6428B; color:#fff; }
.cast-fav-btn.is-on:hover { background:#b5306e; }
.cast-review-link { display:flex; align-items:center; gap:5px; background:#fff; border:2px solid #47414e; color:#47414e; font-size:10px; font-weight:bold; padding:6px 12px; border-radius:20px; text-decoration:none; font-family:'Noto Sans JP',sans-serif; }
.cast-review-link:hover { background:#47414e; color:#fff; }

/* ---- プロフィール ---- */
.cast-profile { display:flex; gap:24px; margin-bottom:20px; }
@media(max-width:640px){ .cast-profile { flex-direction:column; gap:12px; } }
.cast-photo-col { flex:0 0 240px; }
@media(max-width:893px){ .cast-photo-col { flex:0 0 200px; } }
@media(max-width:640px){ .cast-photo-col { flex:none; } }
.cast-main-photo { width:100%; aspect-ratio:2/3; overflow:hidden; border:1px solid #ddd; cursor:pointer; position:relative; touch-action:pan-y; }
.cast-main-photo .photo-slide { position:absolute; left:0; top:0; width:100%; height:100%; transition:transform 0.4s ease; will-change:transform; }
.cast-main-photo .photo-slide.is-next { transform:translateX(100%); }
.cast-main-photo .photo-slide > img.slide-photo { position:absolute; left:0; top:0; width:100%; height:100%; object-fit:cover; display:block; }
.cast-main-photo .photo-slide > img.slide-overlay { position:absolute; left:0; bottom:0; width:100%; height:auto; pointer-events:none; z-index:1; }
.cast-share-btn { position:absolute; top:8px; right:8px; width:36px; height:36px; border-radius:50%; background:rgba(108,117,125,0.45); color:#fff; border:none; display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 2px 6px rgba(0,0,0,0.2); z-index:2; padding:0; backdrop-filter:blur(2px); -webkit-backdrop-filter:blur(2px); }
.cast-share-btn:hover { background:rgba(90,98,104,0.65); }
.cast-nav-btn { position:absolute; top:50%; transform:translateY(-50%); width:36px; height:36px; border-radius:50%; background:rgba(0,0,0,0.35); color:#fff; border:none; font-size:18px; line-height:1; cursor:pointer; z-index:2; display:flex; align-items:center; justify-content:center; padding:0; backdrop-filter:blur(2px); -webkit-backdrop-filter:blur(2px); transition:background 0.2s; }
.cast-nav-btn:hover { background:rgba(0,0,0,0.55); }
.cast-nav-prev { left:8px; }
.cast-nav-next { right:8px; }
@media(min-width:894px){
    .cast-nav-btn { width:28px; height:28px; font-size:15px; }
}
.cast-share-btn img { display:block; width:26px; height:20px; filter:brightness(0) invert(1); }
@media(min-width:894px){
    .cast-share-btn { width:26px; height:26px; top:6px; right:6px; }
    .cast-share-btn img { width:18px; height:14px; }
}
.cast-share-toast { position:fixed; left:50%; bottom:80px; transform:translateX(-50%); background:rgba(0,0,0,0.85); color:#fff; padding:10px 18px; border-radius:6px; font-size:13px; z-index:9999; opacity:0; transition:opacity 0.25s; pointer-events:none; max-width:90%; text-align:center; }
.cast-share-toast.show { opacity:1; }
.cast-thumbs { display:flex; gap:5px; margin-top:6px; flex-wrap:wrap; }
.cast-thumbs img { width:52px; height:78px; object-fit:cover; border:2px solid #ddd; cursor:pointer; }
.cast-thumbs img:hover, .cast-thumbs img.active { border-color:#D6428B; }
.cast-info-col { flex:1; min-width:0; }
.cast-name { font-size:22px; font-weight:bold; color:#333; display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; margin-bottom:6px; }
.cast-name .cast-age { font-size:15px; font-weight:normal; color:#666; }
.cast-status-badge { display:inline-flex; align-items:center; justify-content:center; line-height:1; background:#D6428B; color:#fff; font-size:12px; padding:5px 14px; border-radius:14px; font-weight:bold; margin-bottom:10px; }
.cast-status-badge.ok { background:#2e7d32; }
.cast-book-btn { display:block; background:#D6428B; color:#fff; text-align:center; padding:13px; font-size:15px; font-weight:bold; text-decoration:none; border-radius:4px; margin-bottom:8px; }
.cast-book-btn:hover { background:#b5306e; }
.cast-tel-btn { display:block; background:#47414e; color:#fff; text-align:center; padding:10px; font-size:13px; font-weight:bold; text-decoration:none; border-radius:4px; margin-bottom:12px; }
.cast-tel-btn:hover { background:#333; }
/* キャストバナー（SPのみ・プロフィールの上に表示） */
.cast-banners { display:none; }
@media (max-width:640px){
    .cast-banners { display:flex; flex-direction:column; gap:8px; margin-bottom:14px; }
    .cast-banners img { width:100%; height:auto; display:block; border-radius:4px; }
}
/* お店から一言内バナー（全デバイス表示） */
.store-banners { display:flex; flex-direction:column; gap:10px; }
.store-banners-top    { margin-bottom:14px; }
.store-banners-bottom { margin-top:14px; }
.store-banners a { display:block; }
.store-banners img { width:100%; max-width:560px; height:auto; display:block; border-radius:4px; margin:0 auto; }
.cast-spec-table { width:100%; border-collapse:collapse; font-size:13px; margin-bottom:10px; }
.cast-spec-table th, .cast-spec-table td { border:1px solid #e0e0e0; padding:7px 9px; }
.cast-spec-table th { background:#f5f0f3; font-weight:bold; width:38%; white-space:nowrap; }
.cast-spec-table td { color:#333; }
.cast-spec-table td span { color:#931d1d; font-weight: bold; }

/* ---- セクションタイトルバー ---- */
.sec-bar { background:#47414e; color:#fff; font-size:13px; font-weight:bold; padding:7px 12px; margin:18px 0 10px; border-radius:6px; }
.sec-bar.pink { background:#931d1d; }

/* ---- タイプチェックアイコン ---- */
.type-icons { display:flex; flex-wrap:wrap; gap:8px; padding:4px 0 8px; }
.type-icons img { height:44px; width:auto; }

/* ---- 可能オプションアイコン ---- */
.opt-grid { display:flex; flex-wrap:wrap; gap:4px 3px; }
.opt-item { position:relative; display:inline-flex; flex-direction:column; align-items:center; gap:3px; cursor:default; width:44px; }
.opt-item img { width:auto; height:30px; object-fit:contain; }
.opt-item span { font-size:9px; color:#555; text-align:center; line-height:1.2; width:100%; }
.opt-item.off img { opacity:0.25; filter:grayscale(1); }
.opt-item.off span { color:#bbb; }
.opt-tip { display:none; position:absolute; bottom:calc(100% + 5px); left:50%; transform:translateX(-50%); background:rgba(0,0,0,0.82); color:#fff; font-size:11px; padding:5px 9px; border-radius:4px; white-space:nowrap; z-index:100; pointer-events:none; }
.opt-item:hover .opt-tip { display:block; }

/* ---- タイムスケジュール ---- */
.sched-date-tabs { display:flex; gap:4px; overflow-x:auto; padding-bottom:4px; }
.sched-tab { flex:1; min-width:0; padding:7px 6px; border:1px solid #ccc; background:#f5f5f5; cursor:pointer; font-size:11px; text-align:center; line-height:1.4; border-radius:2px 2px 0 0; }
.sched-tab.active { background:#fff; color:#931d1d; border:2px solid #931d1d; }
.sched-tab .sched-date { display:block; font-weight:bold; }
.sched-tab .sched-dow { display:block; font-size:10px; line-height:1.2; min-height:1em; }
.sched-tab .sched-badge { display:block; font-size:12px; font-weight:bold; margin-top:6px; padding:2px 4px; border-radius:10px; white-space:nowrap; }
.sched-tab.status-work .sched-badge { background:#2e7d32; color:#fff; }
.sched-tab.status-request .sched-badge { background:#1565c0; color:#fff; }
.sched-tab.status-off .sched-badge { background:#c62828; color:#fff; }
.sched-tab.is-weekend { color:#c62828; }
.sched-tab.is-weekend.active { color:#931d1d; }
/* アクティブ時もステータス色を維持 */
.sched-panel { display:none; border:1px solid #e0e0e0; padding:10px 12px; }
.sched-panel.active { display:block; }
.sched-total { font-size:12px; color:#555; margin-bottom:8px; }
.sched-msg { font-size:13px; line-height:1.9; margin:8px 0 0; padding:6px 14px 6px 10px; border-radius:4px; font-weight:bold; }
.sched-msg.is-off { color:#222; background:#f5f5f5; border:1px solid #aaa; border-left:4px solid #555; }
.sched-msg.is-request { color:#1565c0; background:#f0f4ff; border:1px solid #90aee0; border-left:4px solid #1565c0; }
.sched-msg a { color:#931d1d; font-weight:bold; text-decoration:underline; }
.time-slot { display:flex; align-items:center; gap:10px; padding:8px 0; border-bottom:1px solid #f5f5f5; }
.time-slot:last-child { border-bottom:none; }
.slot-time { font-size:13px; font-weight:bold; width:120px; flex-shrink:0; }
.slot-dur { font-size:11px; color:#888; }
.slot-status { font-size:12px; flex:1; }
.slot-status.avail { color:#2e7d32; font-weight:bold; cursor:pointer; text-decoration:underline dotted; }
.slot-status.booked { color:#999; }
.slot-heart { background:none; border:none; color:#D6428B; font-size:22px; cursor:pointer; padding:0 4px; line-height:1; text-decoration:none; }
.slot-heart:hover { color:#b5306e; }
.slot-heart.disabled { color:#ccc; cursor:default; }
/* ---- スロットテーブル ---- */
.ac-slots-title { font-size:12px; color:#555; margin:8px 0 4px; }
.ac-slots-note { color:#D6428B; font-size:11px; }
.ac-slots-table-wrap { overflow-x:auto; }
.ac-slots-table { border-collapse:collapse; table-layout:fixed; width:100%; }
.ac-slots-table td { border:1px solid #e0e0e0; text-align:center; padding:5px 2px; font-size:13px; }
.ac-slots-hour { background:#444; color:#fff; font-weight:bold; }
.ac-slots-heart-cell { background:#f9f9f9; }
.ac-slots-heart-cell.ok { background:#fff0f5; }
.ac-heart { font-size:20px; color:#ccc; display:block; line-height:1; }
.ac-slots-heart-cell.ok .ac-heart { color:#D6428B; }
.ac-slots-heart-cell.ok a.ac-heart { text-decoration:none; cursor:pointer; }
.ac-slots-heart-cell.ok a.ac-heart:hover { opacity:0.7; }
.ac-slots-bottom {
    display: inline-block;
    margin: 8px 0 0;
    padding: 5px 12px 5px 10px;
    background: #fff0f5;
    border: 1px solid #D6428B;
    border-left: 4px solid #D6428B;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    color: #c0306a;
}

/* ---- 自己PR / お店から一言 ---- */
.cast-pr { background:#fdf8fb; border:1px solid #e8d0e0; border-radius:4px; padding:14px 16px; margin-bottom:14px; }
.cast-pr-title { font-size:13px; font-weight:bold; color:#931d1d; margin-bottom:7px; }
.cast-pr p { font-size:13px; line-height:1.9; color:#444; margin:0; }
.store-comment { background:#fffbf0; border:1px solid #f5d87e; border-radius:4px; padding:14px 16px; margin-bottom:14px; }
.store-comment-title { font-size:13px; font-weight:bold; color:#7a5800; margin-bottom:7px; }
.store-comment p { font-size:13px; line-height:1.9; color:#444; margin:0; }

/* ---- 赤裸々Q&A ---- */
.qa-item { border-bottom:1px solid #eee; }
.qa-q { font-size:13px; font-weight:bold; color:#931d1d; padding:10px 4px; display:flex; align-items:center; gap:8px; }
.qa-q .qa-icon { display:none; }
.qa-a { font-size:13px; line-height:1.8; color:#444; padding:0 4px 12px; display:block; }


/* ---- レビュー ---- */
.cast-review-list { display:flex; flex-direction:column; gap:10px; margin-bottom:8px; }
.cast-review-item { border:1px solid #e0e0e0; border-radius:4px; padding:11px 13px; }
.cast-review-meta { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:5px; font-size:12px; color:#777; }
.cast-review-stars { color:#e5a000; font-size:14px; }
.cast-review-text { font-size:13px; line-height:1.8; color:#333; }
.review-write-link { display:block; text-align:center; border:1px solid #47414e; color:#47414e; padding:9px; font-size:13px; text-decoration:none; border-radius:3px; margin-top:8px; }
.review-write-link:hover { background:#47414e; color:#fff; }

/* ---- ブログ ---- */
.cast-blog-list { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:8px; }
@media(max-width:640px){ .cast-blog-list { grid-template-columns:repeat(2,1fr); } }
.cast-blog-item { border:1px solid #e0e0e0; border-radius:4px; overflow:hidden; }
.cast-blog-item .blog-thumb { width:100%; aspect-ratio:3/2; overflow:hidden; }
.cast-blog-item .blog-thumb img { width:100%; height:100%; object-fit:cover; }
.cast-blog-item .blog-info { padding:7px; }
.cast-blog-item .blog-date { font-size:11px; color:#999; }
.cast-blog-item .blog-ttl { font-size:12px; line-height:1.5; }
.cast-blog-item .blog-ttl a { color:#333; text-decoration:none; }
.cast-blog-item .blog-ttl a:hover { color:#931d1d; }

/* ---- 写真モーダル ---- */
.photo-modal-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.88); z-index:3000; display:none; align-items:center; justify-content:center; }
.photo-modal-overlay.is-open { display:flex; }
.photo-modal-img { max-width:90vw; max-height:90vh; object-fit:contain; display:block; }
.photo-modal-close { position:fixed; top:14px; right:18px; font-size:30px; color:#fff; background:none; border:none; cursor:pointer; z-index:3001; line-height:1; }
.photo-modal-prev, .photo-modal-next { position:fixed; top:50%; transform:translateY(-50%); font-size:30px; color:#fff; background:rgba(0,0,0,0.4); border:none; cursor:pointer; padding:12px 10px; z-index:3001; }
.photo-modal-prev { left:0; }
.photo-modal-next { right:0; }

/* ---- 関連キャスト・チェック履歴 ---- */
.related-section { margin-bottom:20px; }
.related-scroll { display:flex; gap:8px; overflow-x:auto; padding-bottom:8px; }
.related-scroll::-webkit-scrollbar { height:4px; }
.related-scroll::-webkit-scrollbar-track { background:#f0f0f0; }
.related-scroll::-webkit-scrollbar-thumb { background:#ccc; border-radius:2px; }
.related-card { flex:0 0 120px; border:1px solid #ddd; border-radius:4px; overflow:hidden; transition:box-shadow 0.2s; }
.related-card:hover { box-shadow:0 2px 8px rgba(0,0,0,0.15); }
.related-card a { display:block; color:#333; text-decoration:none; }
.related-card .r-photo { position:relative; padding-top:100%; background:#f0f0f0; overflow:hidden; }
.related-card .r-photo img { position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; object-position:top; }
.related-card dl { padding:4px 5px 5px; }
.related-card dl dt { font-size:11px; font-weight:bold; color:#333; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.related-card dl dd { font-size:9px; color:#666; line-height:1.4; }
.related-card dl dd.honjitsu { color:#fff; background:#D6428B; font-size:9px; padding:3px 7px; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; line-height:1; margin-top:2px; }
.related-empty { font-size:12px; color:#aaa; padding:16px 0; }
