* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #000;
}

/* トップページ専用スタイル */
.top-page {
    background: #000;
    color: #fff;
    margin: 0;
    padding: 0;
    margin-top: 90px;
}

/* ヘッダーの修正 - 最終版 */
html body header {
    background: linear-gradient(135deg, #FF69B4, #FF1493, #DC143C) !important;
    position: fixed !important;
    width: 100% !important;
    max-width: 100vw !important;
    top: 0 !important;
    z-index: 1000 !important;
    padding: 0.6rem 0 !important;
    box-shadow: 0 4px 20px rgba(255, 20, 147, 0.4) !important;
    right: 0 !important;
    left: 0 !important;
    display: block !important;
    height: 90px !important;
    overflow-x: hidden !important;
}

html body header .container {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 0 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 15px !important;
    min-height: 70px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

/* ロゴ画像 - 最強スタイル */
html body header .container .logo-image {
    width: 80px !important;
    height: 50px !important;
    border-radius: 12px !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    object-fit: contain !important;
    object-position: center !important;
    transition: transform 0.3s ease, border-color 0.3s ease !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
    background-color: rgba(255,255,255,0.05) !important;
    padding: 3px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1001 !important;
}

html body header .container .logo-image:hover {
    transform: scale(1.05) !important;
    border-color: rgba(255,255,255,0.8) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important;
}

/* ロゴテキスト - 最強スタイル */
html body header .container .logo {
    font-size: 1.8rem !important;
    font-weight: bold !important;
    color: #fff !important;
    text-decoration: none !important;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5) !important;
    transition: transform 0.3s ease !important;
    letter-spacing: 1px !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1001 !important;
}

html body header .container .logo:hover {
    transform: scale(1.05) !important;
    color: #fff !important;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.7) !important;
    text-decoration: none !important;
}

/* Header Navigation */
html body header .container .header-nav {
    display: flex !important;
    gap: 20px !important;
    margin-left: auto !important;
    white-space: nowrap;
}

html body header .container .nav-link {
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    transition: all 0.3s ease !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

html body header .container .nav-link:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2) !important;
}

header .header-logo {
    display: flex !important;
    align-items: center;
    gap: 1rem;
}

header .header-logo .logo {
    display: flex !important;
    align-items: center;
}

header .site-name {
  font-size: 1rem;
}

@media screen and (max-width: 768px) {
  header .site-name {
    font-size: 0.8rem;
  }

  html body header .container .logo-image {
    width: 60px !important;
    height: 40px !important;
  }
}

/* 最も強力なヘッダー修正 - 全セレクタ対応 */
* header,
*:before header,
*:after header,
header,
.header,
#header,
[class*="header"],
body > header,
html > body > header {
    background: linear-gradient(135deg, #FF69B4, #FF1493, #DC143C) !important;
    position: fixed !important;
    width: 100% !important;
    max-width: 100vw !important;
    top: 0 !important;
    z-index: 1000 !important;
    padding: 0.6rem 0 !important;
    box-shadow: 0 4px 20px rgba(255, 20, 147, 0.4) !important;
    right: 0 !important;
    left: 0 !important;
    display: block !important;
    height: auto !important;
    min-height: 70px !important;
    overflow-x: hidden !important;
}

* header .container,
*:before header .container,
*:after header .container,
header .container,
.header .container,
#header .container,
[class*="header"] .container,
body > header .container,
html > body > header .container {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 0 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 15px !important;
    min-height: 70px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

/* ロゴ画像 - 最強制御 */
* header .container .logo-image,
* header .logo-image,
header .logo-image,
.logo-image,
img.logo-image,
[class*="logo-image"],
[alt*="Logo"] {
    width: 80px !important;
    height: 50px !important;
    border-radius: 12px !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    object-fit: contain !important;
    object-position: center !important;
    transition: transform 0.3s ease, border-color 0.3s ease !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
    background: linear-gradient(135deg, #FF69B4, #FF1493) !important;
    padding: 3px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1001 !important;
}

/* ロゴテキスト - 最強制御 */
* header .container .logo,
* header .logo,
header .logo,
.logo,
a.logo,
[class*="logo"]:not([class*="logo-image"]) {
    font-size: 1.8rem !important;
    font-weight: bold !important;
    color: #fff !important;
    text-decoration: none !important;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5) !important;
    transition: transform 0.3s ease !important;
    letter-spacing: 1px !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1001 !important;
}

/* 画像が読み込まれない場合の絶対フォールバック */
* header .container .logo-image::before,
* header .logo-image::before,
header .logo-image::before,
.logo-image::before {
    content: "🌸" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 2rem !important;
    display: block !important;
    z-index: 1002 !important;
    color: #fff !important;
}

/* WordPressの特定のbodyクラス対応 */
body.single,
body.single-post,
body.single-cast_member,
body.page,
body.archive,
body.home {
    header {
        display: block !important;
    }
    
    header .container {
        display: flex !important;
    }
    
    header .container .logo-image,
    header .container .logo {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Cast Stats - 完全に分離された表示 */
.cast-single-container .cast-stats {
    display: block !important;
    margin: 30px 0 !important;
    width: 100% !important;
}

.cast-single-container .cast-stats .stat-item {
    display: block !important;
    padding: 20px !important;
    background: rgba(255,255,255,0.15) !important;
    border-radius: 15px !important;
    text-align: center !important;
    border: 1px solid rgba(255, 105, 180, 0.3) !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 0 25px 0 !important;
    position: relative !important;
    clear: both !important;
    float: none !important;
}

.cast-single-container .cast-stats .stat-item:first-child {
    margin-bottom: 25px !important;
}

.cast-single-container .cast-stats .stat-item:last-child {
    margin-bottom: 0 !important;
    margin-top: 25px !important;
}

.cast-single-container .cast-stats .stat-item:hover {
    background: rgba(255, 105, 180, 0.2) !important;
    border-color: rgba(255, 105, 180, 0.5) !important;
    transform: translateY(-3px) !important;
}

.cast-single-container .cast-stats .stat-label {
    display: block !important;
    font-size: 0.9rem !important;
    color: #bbb !important;
    margin-bottom: 8px !important;
    font-weight: normal !important;
}

.cast-single-container .cast-stats .stat-value {
    display: block !important;
    font-size: 1.4rem !important;
    font-weight: bold !important;
    color: #fff !important;
    margin: 0 !important;
}

/* 重複するロゴスタイルを削除 */

/* ヒーロー画像セクション - 修正版 */
.hero-image-section {
    width: 100%;
    height: auto;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    padding: 40px 60px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
    background: linear-gradient(135deg, #FF69B4, #FF1493, #DC143C);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.hero-subtitle {
    font-size: 1.5rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 1px;
}

/* About セクション - 新しいレイアウト用 */
.about-section {
    padding: 20px 20px 60px;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: -10px; /* ヒーロー画像との隙間を完全に削除 */
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
    font-weight: bold;
    text-align: center;
    position: relative;
}

/* About section title underline removed */

.about-welcome,
.about-charm,
.about-values,
.about-services {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 105, 180, 0.3);
    transition: all 0.3s ease;
    text-align: left;
}

.about-welcome:hover,
.about-charm:hover,
.about-values:hover,
.about-services:hover {
    background: rgba(255, 105, 180, 0.1);
    border-color: rgba(255, 105, 180, 0.5);
    transform: translateY(-5px);
}

.about-section h3 {
    color: #FF69B4;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    line-height: 1.4;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    margin: 0;
}

/* リストスタイル */
.values-list,
.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-list li,
.services-list li {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.8;
    padding: 0.8rem 0;
    padding-left: 2.5rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 105, 180, 0.1);
    transition: color 0.3s ease;
}

.values-list li:last-child,
.services-list li:last-child {
    border-bottom: none;
}

.values-list li:hover,
.services-list li:hover {
    color: #fff;
}

.values-list li::before {
    content: '✨';
    position: absolute;
    left: 0;
    color: #FF69B4;
    font-size: 1.3rem;
    top: 0.6rem;
}

.services-list li::before {
    content: '🌸';
    position: absolute;
    left: 0;
    color: #FF69B4;
    font-size: 1.3rem;
    top: 0.6rem;
}

/* キャスト一覧セクション */
.cast-section {
    padding: 100px 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-style: italic;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #FF69B4;
    font-weight: 500;
    position: relative;
}

.section-subtitle {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-style: italic;
    text-align: center;
    padding-bottom: 20px;
}

/* Section title underlines removed */

.cast-subtitle {
    text-align: center;
    font-size: 1rem;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-style: italic;
}

.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.cast-item {
    text-align: center;
    background: transparent;
    transition: transform 0.3s;
    position: relative;
}

.cast-item:hover {
    transform: translateY(-5px);
}

.cast-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #FF69B4;
    transition: border-color 0.3s ease;
}

.cast-photo:hover {
    border-color: #FF1493;
}

.cast-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cast-photo .no-image {
    color: #666;
    font-size: 0.9rem;
}

/* 四角い写真スタイル */
.cast-photo-square {
    width: 50%;
    aspect-ratio: 3/4;
    border-radius: 15px;
    overflow: hidden;
    margin: 0 auto 1rem;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #FF69B4;
    transition: all 0.3s ease;
    position: relative;
}

.cast-photo-square:hover {
    border-color: #FF1493;
    transform: scale(1.02);
}

.cast-photo-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cast-photo-square:hover img {
    transform: scale(1.05);
}

.cast-photo-square .no-image {
    color: #666;
    font-size: 2rem;
}

/* キャストリンクラッパー */
.cast-link-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.cast-link-wrapper:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

/* ステータスバッジ */
.status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status.available {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    animation: statusPulse 2s infinite;
}

.status.scheduled {
    background: linear-gradient(135deg, #FF9800, #f57c00);
    color: white;
}

.status.unavailable {
    background: linear-gradient(135deg, #757575, #616161);
    color: white;
}

.status.unknown {
    background: linear-gradient(135deg, #9E9E9E, #757575);
    color: white;
}

@keyframes statusPulse {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* 注目キャストマーク */
.featured-mark {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ffd700;
    color: #333;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    z-index: 10;
    animation: starRotate 3s linear infinite;
}

@keyframes starRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 注目キャストのアイテム */
.cast-item.featured {
    position: relative;
}

.cast-item.featured::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    border-radius: 20px;
    z-index: -1;
    animation: featuredGlow 2s ease-in-out infinite alternate;
}

@keyframes featuredGlow {
    0% { opacity: 0.5; }
    100% { opacity: 0.8; }
}

/* キャスト情報（ホーム用） */
.cast-info-home {
    text-align: center;
    padding: 0 10px;
}

.cast-name {
    margin-bottom: 0.5rem;
}

.cast-name .japanese-name {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.2rem;
}

.cast-name .english-name {
    display: block;
    font-size: 0.9rem;
    color: #FF69B4;
    font-style: italic;
}

.cast-stats-home {
    color: #FF69B4;
    font-size: 0.9rem;
    margin: 5px 0;
    font-weight: 500;
}

.cast-stats-home .separator {
    margin: 0 5px;
    color: #ccc;
}

/* 言語フラグ（ホーム用） */
.cast-languages-home {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 8px 0;
}

.lang-flag {
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.lang-flag:hover {
    transform: scale(1.2);
}

/* 全キャスト表示ボタン */
.view-all-cast {
    text-align: center;
    margin-top: 3rem;
}

.view-all-btn {
    display: inline-block;
    background: linear-gradient(135deg, #FF69B4, #FF1493, #DC143C);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.3);
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.4);
    text-decoration: none;
    color: white;
}

/* キャストなしメッセージ */
.no-cast-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    margin: 40px 0;
}

.no-cast-content h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
}

.no-cast-content p {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.add-cast-btn {
    display: inline-block;
    background: linear-gradient(135deg, #FF69B4, #FF1493, #DC143C);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.add-cast-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.4);
    text-decoration: none;
    color: white;
}

/* 料金セクション */
.price-section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.price-table {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    background: #111;
    border-radius: 16px;
    border: 2.5px solid #FF69B4;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
    font-size: 1.1rem;
    overflow: hidden;
    box-sizing: border-box;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}
.price-table tbody tr {
    border-bottom: 2px solid #FF69B4 !important;
}

.karaoke-td {
    white-space: normal !important;
    word-break: break-word !important;
}

.price-table tbody tr:last-child {
    border-bottom: none !important;
}

.price-table th {
    background: linear-gradient(135deg, #FF69B4, #FF1493, #DC143C);
    color: #fff;
    padding: 1rem;
    text-align: left;
    font-weight: bold;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.price-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
}

.price-table tr:hover {
    background: rgba(255, 105, 180, 0.1);
}

.operating-hours {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 105, 180, 0.15);
    border-radius: 10px;
    border: 1px solid rgba(255, 105, 180, 0.3);
}

.operating-hours h3 {
    color: #FF69B4;
    margin-bottom: 1rem;
}

.operating-hours p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

/* Access セクション */
.access-section {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.access-address {
    font-size: 1.2rem;
    color: #FF69B4;
    margin-bottom: 1rem;
    text-decoration: underline;
}

.access-description {
    color: #ccc;
    margin-bottom: 1rem;
}

/* Topics セクション */
.topics-section {
    padding: 60px 30px;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
}

.topics-subtitle {
    text-align: center;
    color: #ccc;
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.topics-list {
    max-width: 800px;
    margin: 0 auto;
}

.topic-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.topic-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.3);
    border-color: rgba(255, 20, 147, 0.5);
}

.topic-item:last-child {
    margin-bottom: 0;
}

.topic-link {
    display: flex;
    align-items: center;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.topic-date {
    background: linear-gradient(135deg, black, black);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    min-width: 80px;
    text-align: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.topic-content {
    flex: 1;
}

.topic-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: bold;
}

.topic-badass-bar {
    color: #FF69B4;
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.topic-excerpt {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
}

.topic-item.featured {
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.1), rgba(255, 20, 147, 0.1));
    border-color: rgba(255, 20, 147, 0.3);
}

.topic-item.featured .topic-date {
    background: linear-gradient(135deg, #FF1493, #DC143C);
}

.no-topics-message {
    text-align: center;
    color: #ccc;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.view-all-topics {
    text-align: center;
    margin-top: 40px;
}

/* Instagram風セクション */
.instagram-section {
    margin: 60px auto 0 auto;
    max-width: 1100px;
    text-align: center;
}
.instagram-title {
    font-family: 'Georgia', serif;
    font-size: 2.8rem;
    color: #d4af37;
    margin-bottom: 24px;
    letter-spacing: 2px;
    font-style: italic;
    text-shadow: 0 2px 8px #000a;
}
.instagram-embed {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    background: #111;
    border-radius: 18px;
    box-shadow: 0 4px 24px #0005;
    padding: 16px;
}
.instagram-iframe {
    width: 100%;
    min-height: 600px;
    border-radius: 12px;
    border: none;
}

/* ========================================
   CAST MANAGEMENT SYSTEM STYLES
   (既存のバーテーマと調和するスタイル)
   ======================================== */

/* Base Container */
.cast-archive-container,
.cast-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    background: #000;
    color: #fff;
}

/* Hero Section - バーテーマに合わせたピンクグラデーション */
.hero-section {
    text-align: center;
    padding: 40px 20px;
    color: white;
    border-radius: 20px;
}

.page-title {
    font-style: italic;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 2px;
    padding-top: 40px;
}

.page-subtitle {
    font-style: italic;
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

/* Filters */
.cast-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 40px 0;
    padding: 25px;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 105, 180, 0.3);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: bold;
    color: #fff;
    margin-right: 5px;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid rgba(255, 105, 180, 0.5);
    background: transparent;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #FF69B4, #FF1493, #DC143C);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.4);
}

/* Cast Cards */
.cast-card {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 105, 180, 0.3);
    transition: all 0.3s ease;
    position: relative;
    max-width: 100%;  
    height: auto;
    width: 100%;
}

.cast-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 20, 147, 0.3);
    border-color: #FF69B4;
}

.featured-card {
    border: 3px solid #ffd700;
    position: relative;
}

.featured-card::before {
    content: "⭐ FEATURED";
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ffd700;
    color: #333;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.8rem;
    z-index: 10;
}

/* Cast Images */
.cast-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    width: 100%;
}

.cast-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cast-card:hover .cast-image img {
    transform: scale(1.05);
}

.cast-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px 15px 15px;
}

.no-image {
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #888;
    font-size: 2.2rem;
    width: 100%;
    border-radius: 18px;
    border: 1.5px dashed #bbb;
    margin: 0 auto;
    min-height: 180px;
    max-height: 340px;
    box-sizing: border-box;
    position: relative;
}
.no-image .no-image-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.no-image .no-image-text {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
    margin: 0;
    line-height: 1.3;
}

/* Availability Badges */
.availability-badge {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    text-align: center;
}

.availability-badge.available {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    animation: pulse 2s infinite;
}

.availability-badge.scheduled {
    background: linear-gradient(135deg, #FF9800, #f57c00);
    color: white;
}

.availability-badge.unavailable {
    background: linear-gradient(135deg, #757575, #616161);
    color: white;
}

.availability-badge.unknown {
    background: linear-gradient(135deg, #9E9E9E, #757575);
    color: white;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* Cast Info */
.cast-info {
    padding: 25px;
}

.cast-english-name {
    color: #FF69B4;
    font-style: italic;
    margin: 0 0 15px 0;
}

.cast-stats {
    color: #ccc;
    margin: 10px 0;
    font-size: 0.95rem;
}

.cast-excerpt {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 15px 0 0 0;
}

/* Language Tags */
.cast-languages {
    margin: 15px 0;
}

.language-tag {
    display: inline-block;
    background: #f0f0f0;
    color: #333;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin: 2px 4px 2px 0;
}

/* Cast Link */
.cast-link {
    display: inline-block;
    background: linear-gradient(135deg, #FF69B4, #FF1493, #DC143C);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.cast-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.4);
    text-decoration: none;
    color: white;
}

/* Sections */
.featured-cast,
.all-cast {
    margin: 60px 0;
}

.featured-cast h2,
.all-cast h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #fff;
    position: relative;
}

/* Featured and all cast section title underlines removed */

/* Pagination */
.cast-pagination {
    text-align: center;
    margin: 50px 0;
}

.cast-pagination .nav-links {
    display: inline-flex;
    gap: 10px;
}

.cast-pagination a,
.cast-pagination .current {
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cast-pagination a {
    background: transparent;
    color: #FF69B4;
    border: 2px solid #FF69B4;
}

.cast-pagination a:hover,
.cast-pagination .current {
    background: linear-gradient(135deg, #FF69B4, #FF1493, #DC143C);
    color: white;
    border-color: transparent;
}

/* No Cast Found */
.no-cast-found {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    margin: 40px 0;
}

.no-cast-found h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
}

.no-cast-found p {
    color: #ccc;
    font-size: 1.1rem;
}

/* ========================================
   SINGLE CAST PAGE STYLES
   ======================================== */

/* Cast Hero */
.cast-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 0;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 105, 180, 0.3);
}

.cast-image-section {
    position: relative;
}

/* キャスト詳細ページ専用スタイル - シンプル版 */
.cast-single-container .cast-main-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
    border: 3px solid #FF69B4;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background: #333;
}

.cast-single-container .cast-main-image:hover {
    border-color: #FF1493;
    transform: scale(1.02);
}

.cast-single-container .cast-main-image img,
.cast-single-container .cast-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease;
    border-radius: 0 !important;
    display: block !important;
}

.cast-single-container .cast-main-image:hover img,
.cast-single-container .cast-main-image:hover .cast-photo {
    transform: scale(1.05);
}

/* 画像が表示されない場合のフォールバック */
.cast-single-container .no-image {
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #888;
    font-size: 2.2rem;
    width: 100%;
    border-radius: 18px;
    border: 1.5px dashed #bbb;
    margin: 0 auto;
    min-height: 180px;
    max-height: 340px;
    box-sizing: border-box;
    position: relative;
}
.no-image .no-image-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.no-image .no-image-text {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
    margin: 0;
    line-height: 1.3;
}

/* 問題のあるオーバーレイ要素を一時的に非表示 */
.cast-single-container .availability-overlay,
.cast-single-container .featured-mark {
    display: none !important;
}

/* モバイル対応 - キャストヒーロー */
@media (max-width: 768px) {
    .cast-single-container .cast-hero {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 20px !important;
    }
    
    .cast-single-container .cast-hero .cast-stats {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* 他のキャストセクションを非表示 */
.related-cast {
    display: none !important;
}

.availability-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Cast Info Section */
.cast-info-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cast-header .cast-name {
    font-size: 3rem;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #fff;
}

.cast-header .cast-english-name {
    font-size: 1.3rem;
    color: #FF69B4;
    font-style: italic;
    margin: 0 0 30px 0;
}

/* Stats */
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    min-width: 100px;
}

.stat-label {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

/* Languages & Specialty */
.cast-specialty {
    margin: 30px 0;
}

.cast-specialty h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 15px;
}

.language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.language-tags .language-tag {
    background: linear-gradient(135deg, #FF69B4, #FF1493, #DC143C);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
}

/* Cast Content */
.cast-content {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 20px;
    margin: 40px 0;
    border: 1px solid rgba(255, 105, 180, 0.3);
}

.cast-content h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
}

.content-text {
    line-height: 1.8;
    color: #ccc;
    font-size: 1.1rem;
}

/* Action Buttons */
.cast-actions {
    text-align: center;
    margin: 50px 0;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.call-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.email-btn {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

.back-btn {
    background: linear-gradient(135deg, #FF69B4, #FF1493, #DC143C);
    color: white;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    text-decoration: none;
    color: white;
}

/* Related Cast */
.related-cast {
    margin: 60px 0;
    padding: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
}

.related-cast h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #fff;
}

.related-cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.related-cast-card {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 3px solid #FF69B4;
}

.related-cast-card:hover {
    transform: translateY(-5px);
    border-color: #FF1493;
}

.related-cast-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-cast-card:hover img {
    transform: scale(1.05);
}

.related-cast-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-cast-info {
    padding: 20px;
    text-align: center;
}

.related-cast-info h3 {
    margin: 0 0 10px 0;
    color: #fff;
}
/* アニメーション効果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-section,
.cast-section,
.price-section,
.access-section {
    animation: fadeIn 0.8s ease-out;
}

/* タブレット対応 (768px以下) */
@media (max-width: 768px) {
    /* ヘッダー調整 */
    header {
        padding: 0.4rem 0;
    }
    
    header .container {
        gap: 10px;
        min-height: 60px;
        padding: 0 20px;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .header-nav {
        display: none !important;
    }
    
    .logo-image {
        width: 60px;
        height: 38px;
        border-radius: 8px;
        padding: 2px;
    }
    
    .hero-overlay {
        padding: 30px 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    /* About セクション - タブレット */
    .about-section {
        padding: 15px 20px 50px;
        margin-top: -8px;
    }
    
    .about-section h2 {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
    
    /* キャスト */
    .cast-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.8rem;  
    }
    
    .cast-photo-square {
        aspect-ratio: 4/5;
    }
    
    .status {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .featured-mark {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .cast-stats-home {
        font-size: 0.85rem;
    }
    
    .lang-flag {
        font-size: 1.1rem;
    }
    
    /* 料金テーブル */
    .price-table {
        font-size: 0.95rem;
    }
    
    .price-table th,
    .price-table td {
        padding: 0.9rem;
    }
    
    /* キャスト管理システム */
    .page-title {
        font-size: 2.5rem;
    }
    
    .cast-filters {
        flex-direction: column;
        gap: 20px;
    }
    
    .cast-hero {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }
    
    .cast-header .cast-name {
        font-size: 2.5rem;
    }
    
    .cast-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* モバイル対応 (480px以下) */
@media (max-width: 480px) {
    /* ヘッダー - モバイル */
    header {
        padding: 0.3rem 0;
    }
    
    header .container {
        gap: 8px;
        min-height: 55px;
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .header-nav {
        display: none !important;
    }
    
    .logo-image {
        width: 50px;
        height: 32px;
        border-radius: 6px;
        padding: 1px;
    }
    
    .hero-overlay {
        padding: 12px 18px;
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.6); /* より濃い背景で文字を見やすく */
    }
    
    .hero-title {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    /* About セクション - モバイル */
    .about-section {
        padding: 50px 15px 40px; /* 上部パディングをさらに増やす */
        margin-top: 0; /* マイナスマージンを削除 */
    }
    
    .about-section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .about-welcome,
    .about-charm,
    .about-values,
    .about-services {
        margin-bottom: 1.5rem;
        padding: 1.3rem;
    }
    
    .about-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .about-section p,
    .values-list li,
    .services-list li {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .values-list li,
    .services-list li {
        padding-left: 2rem;
    }
    
    .values-list li::before,
    .services-list li::before {
        font-size: 1.1rem;
        top: 0.5rem;
    }
    
    /* キャスト - モバイル */
    .cast-section {
        padding: 100px 15px 0 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cast-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1.3rem;
    }
    
    .cast-photo-square {
        aspect-ratio: 3/4;
        border-radius: 12px;
    }
    
    .cast-name .japanese-name {
        font-size: 1rem;
    }
    
    .cast-name .english-name {
        font-size: 0.8rem;
    }
    
    .status {
        font-size: 0.6rem;
        padding: 3px 6px;
    }
    
    .featured-mark {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }
    
    .cast-stats-home {
        font-size: 0.75rem;
    }
    
    .lang-flag {
        font-size: 1rem;
    }
    
    /* 料金セクション - モバイル */
    .price-section {
        padding: 40px 15px;
    }
    
    .price-table {
        font-size: 0.85rem;
    }
    
    .price-table th,
    .price-table td {
        padding: 0.7rem 0.5rem;
    }
    
    .operating-hours {
        padding: 1.2rem;
    }
    
    /* Access セクション - モバイル */
    .access-section {
        padding: 40px 15px;
    }
    
    .access-address {
        font-size: 1rem;
    }
    
    .access-description {
        font-size: 0.9rem;
    }
}

/* 極小画面対応 (360px以下) */
@media (max-width: 360px) {
    .cast-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .hero-overlay {
        padding: 10px 15px;
        background: rgba(0, 0, 0, 0.7);
    }
    
    .hero-title {
        font-size: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 0.7rem;
    }
    
    .about-section {
        padding: 45px 10px 30px;
    }
    
    .about-section h2 {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
}

/* 超極小画面対応 (320px以下) */
@media (max-width: 320px) {
    .hero-overlay {
        padding: 8px 12px;
        background: rgba(0, 0, 0, 0.8);
    }
    
    .hero-title {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.6rem;
    }
    
    .about-section {
        padding: 40px 8px 25px;
    }
    
    .about-section h2 {
        font-size: 1.4rem;
    }
}

/* ========================================
   TOPIC ARCHIVE & SINGLE STYLES
   ======================================== */

/* Topic Archive Styles */
/* --- Topic Archive: Chuẩn Flower Bar, không box, không shadow, spacing nhỏ gọn, border chấm vàng --- */
.topic-archive-container {
    background: #000;
    color: #fff;
    min-height: 100vh;
    padding-top: 100px;
}
/* Căn giữa danh sách topic archive */
.topic-list-simple {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}
@media (max-width: 600px) {
    .topic-list-simple {
        padding: 0 4vw;
    }
}
.topic-row-link {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    transition: background 0.15s;
}
.topic-row-link:hover .topic-row {
    background: rgba(191, 166, 64, 0.07);
}
/* Border dưới mỗi topic */
.topic-row {
    border-bottom: 1px dotted #bfa640;
    padding: 12px 0 8px 0;
    display: flex;
    align-items: flex-start;
    transition: background 0.15s;
    cursor: pointer;
    background: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
}
/* Luôn hiện border dưới, kể cả topic cuối */
.topic-row:last-child {
    border-bottom: 1px dotted #FF69B4;
}
.topic-date-row-top {
    color: #FF69B4;
    font-size: 0.8rem;
    font-family: 'Noto Sans JP', 'Arial', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 0.1em;
    text-align: left;
}
.topic-title-row-bot {
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-align: left;
    line-height: 1.5;
    margin-bottom: 0.1em;
    transition: color 0.18s;
    cursor: pointer;
}
.topic-row-link:hover .topic-title-row-bot {
    color: #FF69B4;
    text-decoration: underline;
}
@media (max-width: 600px) {
    .topic-row {
        flex-direction: column;
        padding: 10px 0 6px 0;
    }
    .topic-date-row-top {
        font-size: 0.98rem;
    }
    .topic-title-row-bot {
        font-size: 1rem;
    }
}

/* --- Custom Single Topic Style (Flower Bar) --- */
.topic-single-title-custom {
    color: #bfa640;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5em;
    border-bottom: 1px dotted #bfa640;
    padding-bottom: 0.3em;
    text-align: left;
    font-family: 'Noto Sans JP', 'Arial', sans-serif;
}
.topic-single-date-custom {
    color: #bfa640;
    font-size: 1.05rem;
    margin: 0.5em 0 1.5em 0;
    text-align: left;
    font-family: 'Noto Sans JP', 'Arial', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
}
.topic-single-content-custom {
    max-width: 700px;
    margin: 0 auto;
    color: #fff;
    font-size: 1.08rem;
    line-height: 1.8;
    text-align: left;
    word-break: break-word;
}
.topic-single-content-custom img {
    max-width: 100%;
    height: auto;
    margin: 18px 0;
    border-radius: 10px;
    display: block;
}
.topic-back-btn-custom {
    display: inline-block;
    color: #bfa640;
    font-size: 1rem;
    background: none;
    border: none;
    padding: 0 0 0 2px;
    margin-top: 18px;
    margin-bottom: 30px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.2s;
    text-align: left;
}
.topic-back-btn-custom:hover {
    color: #ffe066;
    text-decoration: underline;
}

/* --- Single Topic Detail (Flower Bar) --- */
.topic-single-container {
    background: #000;
    min-height: 100vh;
    padding-top: 100px;
}
.topic-single-box {
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding: 0 16px;
}
.topic-single-title {
    color: white;
    font-size: 1.35rem;
    font-weight: bold;
    font-family: 'Playfair Display', 'Noto Sans JP', Arial, sans-serif;
    margin-top: 24px;
    margin-bottom: 0.2em;
    border-bottom: 1px dotted #FF69B4;
    padding-bottom: 0.45em;
    text-align: left;
    letter-spacing: 1px;
    line-height: 1.4;
}
.topic-single-date {
    color: #FF69B4;
    font-size: 1.05rem;
    font-family: 'Noto Sans JP', Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 0.5em 0 1.5em 0;
    text-align: left;
}
.topic-single-content {
    color: #fff;
    font-size: 1.08rem;
    line-height: 1.8;
    text-align: left;
    word-break: break-word;
    margin-bottom: 2em;
}
.topic-single-content img {
    max-width: 100%;
    height: auto;
    margin: 18px 0;
    border-radius: 10px;
    display: block;
}
.topic-single-content h2, .topic-single-content h3 {
    color: #bfa640;
    margin: 1.5em 0 0.7em 0;
    font-weight: bold;
}
.topic-single-content a {
    color: #ffe066;
    text-decoration: underline;
    transition: color 0.2s;
}
.topic-single-content a:hover {
    color: #fffbe0;
}
.topic-single-content ul, .topic-single-content ol {
    margin-left: 1.5em;
    margin-bottom: 1em;
}
.topic-single-content li {
    margin-bottom: 0.5em;
}
.topic-single-back {
    margin: 2em 0 1em 0;
    text-align: left;
}
.topic-single-back-btn {
    display: inline-block;
    color: #FF69B4;
    font-size: 1rem;
    background: none;
    border: none;
    padding: 0 0 0 2px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.2s;
}
.topic-single-back-btn:hover {
    color: #ffe066;
    text-decoration: underline;
}
@media (max-width: 600px) {
    .topic-single-box {
        padding: 0 4vw;
    }
    .topic-single-title {
        font-size: 1.08rem;
    }
    .topic-single-content {
        font-size: 0.98rem;
    }
}

/* Topic Pagination - đẹp mắt, sang trọng, hồng #FF69B4 */
.topic-pagination {
    text-align: center;
    margin: 36px 0 24px 0;
}
.topic-pagination ul {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.topic-pagination li {
       display: inline-block;
}
.topic-pagination a,
.topic-pagination span {
    display: inline-block;
    min-width: 36px;
    padding: 7px 0 6px 0;
    border-radius: 18px;
    border: 1.5px dotted #FF69B4;
    color: #fff;
    background: transparent;
    font-size: 1.15rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
    margin: 0 2px;
    box-sizing: border-box;
}
.topic-pagination .current {
    color: #FF69B4;
    background: transparent;
    border-color: #FF69B4;
    font-weight: bold;
}
.topic-pagination a:hover {
    color: #fff0fa;
    background: #FF69B422;
    border-color: #FF69B4;
    text-shadow: 0 0 4px #FF69B499;
}
.topic-pagination .prev,
.topic-pagination .next {
    font-size: 1.1em;
    color: #FF69B4;
    border: none;
    background: none;
    padding: 7px 12px;
}
.topic-pagination .prev:hover,
.topic-pagination .next:hover {
    color: #fff0fa;
    background: none;
    text-shadow: 0 0 4px #FF69B499;
}
@media (max-width: 600px) {
    .topic-pagination ul {
        gap: 4px;
    }
    .topic-pagination a,
    .topic-pagination span {
        min-width: 28px;
        font-size: 1rem;
        padding: 5px 0 4px 0;
    }
}

/* Chia 5 cột cho trang archive cast_member */
body.post-type-archive-cast_member .cast-grid {
    grid-template-columns: repeat(5, 1fr) !important;
}

@media (max-width: 1200px) {
    body.post-type-archive-cast_member .cast-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 800px) {
    body.post-type-archive-cast_member .cast-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 500px) {
    body.post-type-archive-cast_member .cast-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Chia 5 cột cho cast-grid trên trang chủ giống trang /cast */
body.home .cast-grid {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 1rem !important; /* giảm gap để ảnh to hơn */
}
body.home .cast-photo-square {
    width: 90% !important;
    aspect-ratio: 3/4 !important;
    margin: 0 auto 1rem !important;
}

@media (max-width: 1200px) {
    body.home .cast-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 800px) {
    body.home .cast-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 500px) {
    body.home .cast-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Ảnh lớn phía trên bảng giá */
.price-image-main {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    background: #111;
}
.price-image-main img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}

/* Bảng giá giống layout mẫu, giữ màu theme */
.price-table {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    background: #111;
    border-radius: 16px;
    border: 2.5px solid #FF69B4;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
    font-size: 1.1rem;
    overflow: hidden;
    box-sizing: border-box;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}
.price-table tbody tr {
    border-bottom: 2px solid #FF69B4 !important;
}
.price-table tbody tr:last-child {
    border-bottom: none !important;
}

.price-table th {
    background: linear-gradient(135deg, #FF69B4, #FF1493, #DC143C);
    color: #fff;
    padding: 1rem;
    text-align: left;
    font-weight: bold;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.price-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
}

.price-table tr:hover {
    background: rgba(255, 105, 180, 0.1);
}

.operating-hours {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 105, 180, 0.15);
    border-radius: 10px;
    border: 1px solid rgba(255, 105, 180, 0.3);
}

.operating-hours h3 {
    color: #FF69B4;
    margin-bottom: 1rem;
}

.operating-hours p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

/* Access セクション */
.access-section {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.access-address {
    font-size: 1.2rem;
    color: #FF69B4;
    margin-bottom: 1rem;
    text-decoration: underline;
}

.access-description {
    color: #ccc;
    margin-bottom: 1rem;
}

/* Topics セクション */
.topics-section {
    padding: 60px 30px;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
}

.topics-subtitle {
    text-align: center;
    color: #ccc;
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.topics-list {
    max-width: 800px;
    margin: 0 auto;
}

.topic-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.topic-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.3);
    border-color: rgba(255, 20, 147, 0.5);
}

.topic-item:last-child {
    margin-bottom: 0;
}

.topic-link {
    display: flex;
    align-items: center;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.topic-date {
    background: linear-gradient(135deg, black, black);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    min-width: 80px;
    text-align: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.topic-content {
    flex: 1;
}

.topic-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: bold;
}

.topic-badass-bar {
    color: #FF69B4;
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.topic-excerpt {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
}

.topic-item.featured {
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.1), rgba(255, 20, 147, 0.1));
    border-color: rgba(255, 20, 147, 0.3);
}

.topic-item.featured .topic-date {
    background: linear-gradient(135deg, #FF1493, #DC143C);
}

.no-topics-message {
    text-align: center;
    color: #ccc;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.view-all-topics {
    text-align: center;
    margin-top: 40px;
}

/* Instagram風セクション */
.instagram-section {
    margin: 60px auto 0 auto;
    max-width: 1100px;
    text-align: center;
}
.instagram-title {
    font-family: 'Georgia', serif;
    font-size: 2.8rem;
    color: #d4af37;
    margin-bottom: 24px;
    letter-spacing: 2px;
    font-style: italic;
    text-shadow: 0 2px 8px #000a;
}
.instagram-embed {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    background: #111;
    border-radius: 18px;
    box-shadow: 0 4px 24px #0005;
    padding: 16px;
}
.instagram-iframe {
    width: 100%;
    min-height: 600px;
    border-radius: 12px;
    border: none;
}

/* ========================================
   CAST MANAGEMENT SYSTEM STYLES
   (既存のバーテーマと調和するスタイル)
   ======================================== */

/* Base Container */
.cast-archive-container,
.cast-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    background: #000;
    color: #fff;
}

/* Hero Section - バーテーマに合わせたピンクグラデーション */
.hero-section {
    text-align: center;
    padding: 40px 20px;
    color: white;
    border-radius: 20px;
}

.page-title {
    font-style: italic;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 2px;
    padding-top: 40px;
}

.page-subtitle {
    font-style: italic;
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

/* Filters */
.cast-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 40px 0;
    padding: 25px;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 105, 180, 0.3);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: bold;
    color: #fff;
    margin-right: 5px;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid rgba(255, 105, 180, 0.5);
    background: transparent;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #FF69B4, #FF1493, #DC143C);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.4);
}

/* Cast Cards */
.cast-card {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 105, 180, 0.3);
    transition: all 0.3s ease;
    position: relative;
    max-width: 100%;  
    height: auto;
    width: 100%;
}

.cast-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 20, 147, 0.3);
    border-color: #FF69B4;
}

.featured-card {
    border: 3px solid #ffd700;
    position: relative;
}

.featured-card::before {
    content: "⭐ FEATURED";
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ffd700;
    color: #333;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.8rem;
    z-index: 10;
}

/* Cast Images */
.cast-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    width: 100%;
}

.cast-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cast-card:hover .cast-image img {
    transform: scale(1.05);
}

.cast-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px 15px 15px;
}

.no-image {
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #888;
    font-size: 2.2rem;
    width: 100%;
    border-radius: 18px;
    border: 1.5px dashed #bbb;
    margin: 0 auto;
    min-height: 180px;
    max-height: 340px;
    box-sizing: border-box;
    position: relative;
}
.no-image .no-image-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.no-image .no-image-text {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
    margin: 0;
    line-height: 1.3;
}

/* Availability Badges */
.availability-badge {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    text-align: center;
}

.availability-badge.available {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    animation: pulse 2s infinite;
}

.availability-badge.scheduled {
    background: linear-gradient(135deg, #FF9800, #f57c00);
    color: white;
}

.availability-badge.unavailable {
    background: linear-gradient(135deg, #757575, #616161);
    color: white;
}

.availability-badge.unknown {
    background: linear-gradient(135deg, #9E9E9E, #757575);
    color: white;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* Cast Info */
.cast-info {
    padding: 25px;
}

.cast-english-name {
    color: #FF69B4;
    font-style: italic;
    margin: 0 0 15px 0;
}

.cast-stats {
    color: #ccc;
    margin: 10px 0;
    font-size: 0.95rem;
}

.cast-excerpt {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 15px 0 0 0;
}

/* Language Tags */
.cast-languages {
    margin: 15px 0;
}

.language-tag {
    display: inline-block;
    background: #f0f0f0;
    color: #333;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin: 2px 4px 2px 0;
}

/* Cast Link */
.cast-link {
    display: inline-block;
    background: linear-gradient(135deg, #FF69B4, #FF1493, #DC143C);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.cast-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.4);
    text-decoration: none;
    color: white;
}

/* Sections */
.featured-cast,
.all-cast {
    margin: 60px 0;
}

.featured-cast h2,
.all-cast h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #fff;
    position: relative;
}

/* Featured and all cast section title underlines removed */

/* Pagination */
.cast-pagination {
    text-align: center;
    margin: 50px 0;
}

.cast-pagination .nav-links {
    display: inline-flex;
    gap: 10px;
}

.cast-pagination a,
.cast-pagination .current {
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cast-pagination a {
    background: transparent;
    color: #FF69B4;
    border: 2px solid #FF69B4;
}

.cast-pagination a:hover,
.cast-pagination .current {
    background: linear-gradient(135deg, #FF69B4, #FF1493, #DC143C);
    color: white;
    border-color: transparent;
}

/* No Cast Found */
.no-cast-found {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    margin: 40px 0;
}

.no-cast-found h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
}

.no-cast-found p {
    color: #ccc;
    font-size: 1.1rem;
}

/* ========================================
   SINGLE CAST PAGE STYLES
   ======================================== */

/* Cast Hero */
.cast-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 0;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 105, 180, 0.3);
}

.cast-image-section {
    position: relative;
}

/* キャスト詳細ページ専用スタイル - シンプル版 */
.cast-single-container .cast-main-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
    border: 3px solid #FF69B4;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background: #333;
}

.cast-single-container .cast-main-image:hover {
    border-color: #FF1493;
    transform: scale(1.02);
}

.cast-single-container .cast-main-image img,
.cast-single-container .cast-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease;
    border-radius: 0 !important;
    display: block !important;
}

.cast-single-container .cast-main-image:hover img,
.cast-single-container .cast-main-image:hover .cast-photo {
    transform: scale(1.05);
}

/* 画像が表示されない場合のフォールバック */
.cast-single-container .no-image {
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #888;
    font-size: 2.2rem;
    width: 100%;
    border-radius: 18px;
    border: 1.5px dashed #bbb;
    margin: 0 auto;
    min-height: 180px;
    max-height: 340px;
    box-sizing: border-box;
    position: relative;
}
.no-image .no-image-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.no-image .no-image-text {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
    margin: 0;
    line-height: 1.3;
}

/* 問題のあるオーバーレイ要素を一時的に非表示 */
.cast-single-container .availability-overlay,
.cast-single-container .featured-mark {
    display: none !important;
}

/* モバイル対応 - キャストヒーロー */
@media (max-width: 768px) {
    .cast-single-container .cast-hero {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 20px !important;
    }
    
    .cast-single-container .cast-hero .cast-stats {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* 他のキャストセクションを非表示 */
.related-cast {
    display: none !important;
}

.availability-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Cast Info Section */
.cast-info-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cast-header .cast-name {
    font-size: 3rem;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #fff;
}

.cast-header .cast-english-name {
    font-size: 1.3rem;
    color: #FF69B4;
    font-style: italic;
    margin: 0 0 30px 0;
}

/* Stats */
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    min-width: 100px;
}

.stat-label {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

/* Languages & Specialty */
.cast-specialty {
    margin: 30px 0;
}

.cast-specialty h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 15px;
}

.language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.language-tags .language-tag {
    background: linear-gradient(135deg, #FF69B4, #FF1493, #DC143C);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
}

/* Cast Content */
.cast-content {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 20px;
    margin: 40px 0;
    border: 1px solid rgba(255, 105, 180, 0.3);
}

.cast-content h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
}

.content-text {
    line-height: 1.8;
    color: #ccc;
    font-size: 1.1rem;
}

/* Action Buttons */
.cast-actions {
    text-align: center;
    margin: 50px 0;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.call-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.email-btn {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

.back-btn {
    background: linear-gradient(135deg, #FF69B4, #FF1493, #DC143C);
    color: white;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    text-decoration: none;
    color: white;
}

/* Related Cast */
.related-cast {
    margin: 60px 0;
    padding: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
}

.related-cast h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #fff;
}

.related-cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.related-cast-card {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 3px solid #FF69B4;
}

.related-cast-card:hover {
    transform: translateY(-5px);
    border-color: #FF1493;
}

.related-cast-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-cast-card:hover img {
    transform: scale(1.05);
}

.related-cast-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-cast-info {
    padding: 20px;
    text-align: center;
}

.related-cast-info h3 {
    margin: 0 0 10px 0;
    color: #fff;
}

/* アニメーション効果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-section,
.cast-section,
.price-section,
.access-section {
    animation: fadeIn 0.8s ease-out;
}

/* タブレット対応 (768px以下) */
@media (max-width: 768px) {
    /* ヘッダー調整 */
    header {
        padding: 0.4rem 0;
    }
    
    header .container {
        gap: 10px;
        min-height: 60px;
        padding: 0 20px;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .header-nav {
        display: none !important;
    }
    
    .logo-image {
        width: 60px;
        height: 38px;
        border-radius: 8px;
        padding: 2px;
    }

    .hero-overlay {
        padding: 30px 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    /* About セクション - タブレット */
    .about-section {
        padding: 15px 20px 50px;
        margin-top: -8px;
    }
    
    .about-section h2 {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
    
    /* キャスト */
    .cast-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.8rem;  
    }
    
    .cast-photo-square {
        aspect-ratio: 4/5;
    }
    
    .status {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .featured-mark {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .cast-stats-home {
        font-size: 0.85rem;
    }
    
    .lang-flag {
        font-size: 1.1rem;
    }
    
    /* 料金テーブル */
    .price-table {
        font-size: 0.95rem;
    }
    
    .price-table th,
    .price-table td {
        padding: 0.9rem;
    }
    
    /* キャスト管理システム */
    .page-title {
        font-size: 2.5rem;
    }
    
    .cast-filters {
        flex-direction: column;
        gap: 20px;
    }
    
    .cast-hero {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }
    
    .cast-header .cast-name {
        font-size: 2.5rem;
    }
    
    .cast-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* モバイル対応 (480px以下) */
@media (max-width: 480px) {
    /* ヘッダー - モバイル */
    header {
        padding: 0.3rem 0;
    }
    
    header .container {
        gap: 8px;
        min-height: 55px;
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .header-nav {
        display: none !important;
    }
    
    .logo-image {
        width: 50px;
        height: 32px;
        border-radius: 6px;
        padding: 1px;
    }

    .hero-overlay {
        padding: 12px 18px;
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.6); /* より濃い背景で文字を見やすく */
    }
    
    .hero-title {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    /* About セクション - モバイル */
    .about-section {
        padding: 50px 15px 40px; /* 上部パディングをさらに増やす */
        margin-top: 0; /* マイナスマージンを削除 */
    }
    
    .about-section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .about-welcome,
    .about-charm,
    .about-values,
    .about-services {
        margin-bottom: 1.5rem;
        padding: 1.3rem;
    }
    
    .about-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .about-section p,
    .values-list li,
    .services-list li {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .values-list li,
    .services-list li {
        padding-left: 2rem;
    }
    
    .values-list li::before,
    .services-list li::before {
        font-size: 1.1rem;
        top: 0.5rem;
    }
    
    /* キャスト - モバイル */
    .cast-section {
        padding: 100px 15px 0 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cast-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1.3rem;
    }
    
    .cast-photo-square {
        aspect-ratio: 3/4;
        border-radius: 12px;
    }
    
    .cast-name .japanese-name {
        font-size: 1rem;
    }
    
    .cast-name .english-name {
        font-size: 0.8rem;
    }
    
    .status {
        font-size: 0.6rem;
        padding: 3px 6px;
    }
    
    .featured-mark {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }
    
    .cast-stats-home {
        font-size: 0.75rem;
    }
    
    .lang-flag {
        font-size: 1rem;
    }
    
    /* 料金セクション - モバイル */
    .price-section {
        padding: 40px 15px;
    }
    
    .price-table {
        font-size: 0.85rem;
    }
    
    .price-table th,
    .price-table td {
        padding: 0.7rem 0.5rem;
    }
    
    .operating-hours {
        padding: 1.2rem;
    }
    
    /* Access セクション - モバイル */
    .access-section {
        padding: 40px 15px;
    }
    
    .access-address {
        font-size: 1rem;
    }
    
    .access-description {
        font-size: 0.9rem;
    }
}

/* 極小画面対応 (360px以下) */
@media (max-width: 360px) {
    .cast-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .hero-overlay {
        padding: 10px 15px;
        background: rgba(0, 0, 0, 0.7);
    }
    
    .hero-title {
        font-size: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 0.7rem;
    }
    
    .about-section {
        padding: 45px 10px 30px;
    }
    
    .about-section h2 {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
}

/* 超極小画面対応 (320px以下) */
@media (max-width: 320px) {
    .hero-overlay {
        padding: 8px 12px;
        background: rgba(0, 0, 0, 0.8);
    }
    
    .hero-title {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.6rem;
    }
    
    .about-section {
        padding: 40px 8px 25px;
    }
    
    .about-section h2 {
        font-size: 1.4rem;
    }
}

/* ========================================
   TOPIC ARCHIVE & SINGLE STYLES
   ======================================== */

/* Topic Archive Styles */
/* --- Topic Archive: Chuẩn Flower Bar, không box, không shadow, spacing nhỏ gọn, border chấm vàng --- */
.topic-archive-container {
    background: #000;
    color: #fff;
    min-height: 100vh;
    padding-top: 100px;
}
/* Căn giữa danh sách topic archive */
.topic-list-simple {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}
@media (max-width: 600px) {
    .topic-list-simple {
        padding: 0 4vw;
    }
}
.topic-row-link {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    transition: background 0.15s;
}
.topic-row-link:hover .topic-row {
    background: rgba(191, 166, 64, 0.07);
}
/* Border dưới mỗi topic */
.topic-row {
    border-bottom: 1px dotted #bfa640;
    padding: 12px 0 8px 0;
    display: flex;
    align-items: flex-start;
    transition: background 0.15s;
    cursor: pointer;
    background: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
}
/* Luôn hiện border dưới, kể cả topic cuối */
.topic-row:last-child {
    border-bottom: 1px dotted #FF69B4;
}
.topic-date-row-top {
    color: #FF69B4;
    font-size: 0.8rem;
    font-family: 'Noto Sans JP', 'Arial', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 0.1em;
    text-align: left;
}
.topic-title-row-bot {
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-align: left;
    line-height: 1.5;
    margin-bottom: 0.1em;
    transition: color 0.18s;
    cursor: pointer;
}
.topic-row-link:hover .topic-title-row-bot {
    color: #FF69B4;
    text-decoration: underline;
}
@media (max-width: 600px) {
    .topic-row {
        flex-direction: column;
        padding: 10px 0 6px 0;
    }
    .topic-date-row-top {
        font-size: 0.98rem;
    }
    .topic-title-row-bot {
        font-size: 1rem;
    }
}

/* --- Custom Single Topic Style (Flower Bar) --- */
.topic-single-title-custom {
    color: #bfa640;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5em;
    border-bottom: 1px dotted #bfa640;
    padding-bottom: 0.3em;
    text-align: left;
    font-family: 'Noto Sans JP', 'Arial', sans-serif;
}
.topic-single-date-custom {
    color: #bfa640;
    font-size: 1.05rem;
    margin: 0.5em 0 1.5em 0;
    text-align: left;
    font-family: 'Noto Sans JP', 'Arial', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
}
.topic-single-content-custom {
    max-width: 700px;
    margin: 0 auto;
    color: #fff;
    font-size: 1.08rem;
    line-height: 1.8;
    text-align: left;
    word-break: break-word;
}
.topic-single-content-custom img {
    max-width: 100%;
    height: auto;
    margin: 18px 0;
    border-radius: 10px;
    display: block;
}
.topic-back-btn-custom {
    display: inline-block;
    color: #bfa640;
    font-size: 1rem;
    background: none;
    border: none;
    padding: 0 0 0 2px;
    margin-top: 18px;
    margin-bottom: 30px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.2s;
    text-align: left;
}
.topic-back-btn-custom:hover {
    color: #ffe066;
    text-decoration: underline;
}

/* --- Single Topic Detail (Flower Bar) --- */
.topic-single-container {
    background: #000;
    min-height: 100vh;
    padding-top: 100px;
}
.topic-single-box {
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding: 0 16px;
}
.topic-single-title {
    color: white;
    font-size: 1.35rem;
    font-weight: bold;
    font-family: 'Playfair Display', 'Noto Sans JP', Arial, sans-serif;
    margin-top: 24px;
    margin-bottom: 0.2em;
    border-bottom: 1px dotted #FF69B4;
    padding-bottom: 0.45em;
    text-align: left;
    letter-spacing: 1px;
    line-height: 1.4;
}
.topic-single-date {
    color: #FF69B4;
    font-size: 1.05rem;
    font-family: 'Noto Sans JP', Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 0.5em 0 1.5em 0;
    text-align: left;
}
.topic-single-content {
    color: #fff;
    font-size: 1.08rem;
    line-height: 1.8;
    text-align: left;
    word-break: break-word;
    margin-bottom: 2em;
}
.topic-single-content img {
    max-width: 100%;
    height: auto;
    margin: 18px 0;
    border-radius: 10px;
    display: block;
}
.topic-single-content h2, .topic-single-content h3 {
    color: #bfa640;
    margin: 1.5em 0 0.7em 0;
    font-weight: bold;
}
.topic-single-content a {
    color: #ffe066;
    text-decoration: underline;
    transition: color 0.2s;
}
.topic-single-content a:hover {
    color: #fffbe0;
}
.topic-single-content ul, .topic-single-content ol {
    margin-left: 1.5em;
    margin-bottom: 1em;
}
.topic-single-content li {
    margin-bottom: 0.5em;
}
.topic-single-back {
    margin: 2em 0 1em 0;
    text-align: left;
}
.topic-single-back-btn {
    display: inline-block;
    color: #FF69B4;
    font-size: 1rem;
    background: none;
    border: none;
    padding: 0 0 0 2px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.2s;
}
.topic-single-back-btn:hover {
    color: #ffe066;
    text-decoration: underline;
}
@media (max-width: 600px) {
    .topic-single-box {
        padding: 0 4vw;
    }
    .topic-single-title {
        font-size: 1.08rem;
    }
    .topic-single-content {
        font-size: 0.98rem;
    }
}

/* Topic Pagination - đẹp mắt, sang trọng, hồng #FF69B4 */
.topic-pagination {
    text-align: center;
    margin: 36px 0 24px 0;
}
.topic-pagination ul {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.topic-pagination li {
       display: inline-block;
}
.topic-pagination a,
.topic-pagination span {
    display: inline-block;
    min-width: 36px;
    padding: 7px 0 6px 0;
    border-radius: 18px;
    border: 1.5px dotted #FF69B4;
    color: #fff;
    background: transparent;
    font-size: 1.15rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
    margin: 0 2px;
    box-sizing: border-box;
}
.topic-pagination .current {
    color: #FF69B4;
    background: transparent;
    border-color: #FF69B4;
    font-weight: bold;
}
.topic-pagination a:hover {
    color: #fff0fa;
    background: #FF69B422;
    border-color: #FF69B4;
    text-shadow: 0 0 4px #FF69B499;
}
.topic-pagination .prev,
.topic-pagination .next {
    font-size: 1.1em;
    color: #FF69B4;
    border: none;
    background: none;
    padding: 7px 12px;
}
.topic-pagination .prev:hover,
.topic-pagination .next:hover {
    color: #fff0fa;
    background: none;
    text-shadow: 0 0 4px #FF69B499;
}
@media (max-width: 600px) {
    .topic-pagination ul {
        gap: 4px;
    }
    .topic-pagination a,
    .topic-pagination span {
        min-width: 28px;
        font-size: 1rem;
        padding: 5px 0 4px 0;
    }
}

/* Chia 5 cột cho trang archive cast_member */
body.post-type-archive-cast_member .cast-grid {
    grid-template-columns: repeat(5, 1fr) !important;
}

@media (max-width: 1200px) {
    body.post-type-archive-cast_member .cast-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 800px) {
    body.post-type-archive-cast_member .cast-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 500px) {
    body.post-type-archive-cast_member .cast-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Chia 5 cột cho cast-grid trên trang chủ giống trang /cast */
body.home .cast-grid {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 1rem !important; /* giảm gap để ảnh to hơn */
}
body.home .cast-photo-square {
    width: 90% !important;
    aspect-ratio: 3/4 !important;
    margin: 0 auto 1rem !important;
}

@media (max-width: 1200px) {
    body.home .cast-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 800px) {
    body.home .cast-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 500px) {
    body.home .cast-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Ảnh lớn phía trên bảng giá */
.price-image-main {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    background: #111;
}
.price-image-main img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}

/* Bảng giá giống layout mẫu, giữ màu theme */
.price-table {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    background: #111;
    border-radius: 16px;
    border: 2.5px solid #FF69B4;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
    font-size: 1.1rem;
    overflow: hidden;
    box-sizing: border-box;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}
.price-table tbody tr {
    border-bottom: 2px solid #FF69B4 !important;
}
.price-table tbody tr:last-child {
    border-bottom: none !important;
}

.price-table th {
    background: linear-gradient(135deg, #FF69B4, #FF1493, #DC143C);
    color: #fff;
    padding: 1rem;
    text-align: left;
    font-weight: bold;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.price-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
}

.price-table tr:hover {
    background: rgba(255, 105, 180, 0.1);
}

.operating-hours {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 105, 180, 0.15);
    border-radius: 10px;
    border: 1px solid rgba(255, 105, 180, 0.3);
}

.operating-hours h3 {
    color: #FF69B4;
    margin-bottom: 1rem;
}

.operating-hours p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

/* Access セクション */
.access-section {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.access-address {
    font-size: 1.2rem;
    color: #FF69B4;
    margin-bottom: 1rem;
    text-decoration: underline;
}

.access-description {
    color: #ccc;
    margin-bottom: 1rem;
}

/* Topics セクション */
.topics-section {
    padding: 60px 30px;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
}

.topics-subtitle {
    text-align: center;
    color: #ccc;
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.topics-list {
    max-width: 800px;
    margin: 0 auto;
}

.topic-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.topic-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.3);
    border-color: rgba(255, 20, 147, 0.5);
}

.topic-item:last-child {
    margin-bottom: 0;
}

.topic-link {
    display: flex;
    align-items: center;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.topic-date {
    background: linear-gradient(135deg, black, black);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    min-width: 80px;
    text-align: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.topic-content {
    flex: 1;
}

.topic-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: bold;
}

.topic-badass-bar {
    color: #FF69B4;
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.topic-excerpt {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
}

.topic-item.featured {
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.1), rgba(255, 20, 147, 0.1));
    border-color: rgba(255, 20, 147, 0.3);
}

.topic-item.featured .topic-date {
    background: linear-gradient(135deg, #FF1493, #DC143C);
}

.no-topics-message {
    text-align: center;
    color: #ccc;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.view-all-topics {
    text-align: center;
    margin-top: 40px;
}

/* Instagram風セクション */
.instagram-section {
    margin: 60px auto 0 auto;
    max-width: 1100px;
    text-align: center;
}
.instagram-title {
    font-family: 'Georgia', serif;
    font-size: 2.8rem;
    color: #d4af37;
    margin-bottom: 24px;
    letter-spacing: 2px;
    font-style: italic;
    text-shadow: 0 2px 8px #000a;
}
.instagram-embed {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    background: #111;
    border-radius: 18px;
    box-shadow: 0 4px 24px #0005;
    padding: 16px;
}
.instagram-iframe {
    width: 100%;
    min-height: 600px;
    border-radius: 12px;
    border: none;
}

/* ========================================
   CAST MANAGEMENT SYSTEM STYLES
   (既存のバーテーマと調和するスタイル)
   ======================================== */

/* Base Container */
.cast-archive-container,
.cast-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    background: #000;
    color: #fff;
}

/* Hero Section - バーテーマに合わせたピンクグラデーション */
.hero-section {
    text-align: center;
    padding: 40px 20px;
    color: white;
    border-radius: 20px;
}

.page-title {
    font-style: italic;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 2px;
    padding-top: 40px;
}

.page-subtitle {
    font-style: italic;
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

/* Filters */
.cast-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 40px 0;
    padding: 25px;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 105, 180, 0.3);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: bold;
    color: #fff;
    margin-right: 5px;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid rgba(255, 105, 180, 0.5);
    background: transparent;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #FF69B4, #FF1493, #DC143C);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.4);
}

/* Cast Cards */
.cast-card {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 105, 180, 0.3);
    transition: all 0.3s ease;
    position: relative;
    max-width: 100%;  
    height: auto;
    width: 100%;
}

.cast-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 20, 147, 0.3);
    border-color: #FF69B4;
}

.featured-card {
    border: 3px solid #ffd700;
    position: relative;
}

.featured-card::before {
    content: "⭐ FEATURED";
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ffd700;
    color: #333;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.8rem;
    z-index: 10;
}

/* Cast Images */
.cast-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    width: 100%;
}

.cast-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cast-card:hover .cast-image img {
    transform: scale(1.05);
}

.cast-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px 15px 15px;
}

.no-image {
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #888;
    font-size: 2.2rem;
    width: 100%;
    border-radius: 18px;
    border: 1.5px dashed #bbb;
    margin: 0 auto;
    min-height: 180px;
    max-height: 340px;
    box-sizing: border-box;
    position: relative;
}
.no-image .no-image-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.no-image .no-image-text {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
    margin: 0;
    line-height: 1.3;
}

/* Availability Badges */
.availability-badge {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    text-align: center;
}

.availability-badge.available {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    animation: pulse 2s infinite;
}

.availability-badge.scheduled {
    background: linear-gradient(135deg, #FF9800, #f57c00);
    color: white;
}

.availability-badge.unavailable {
    background: linear-gradient(135deg, #757575, #616161);
    color: white;
}

.availability-badge.unknown {
    background: linear-gradient(135deg, #9E9E9E, #757575);
    color: white;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* Cast Info */
.cast-info {
    padding: 25px;
}

.cast-english-name {
    color: #FF69B4;
    font-style: italic;
    margin: 0 0 15px 0;
}

.cast-stats {
    color: #ccc;
    margin: 10px 0;
    font-size: 0.95rem;
}

.cast-excerpt {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 15px 0 0 0;
}

/* Language Tags */
.cast-languages {
    margin: 15px 0;
}

.language-tag {
    display: inline-block;
    background: #f0f0f0;
    color: #333;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin: 2px 4px 2px 0;
}

/* Cast Link */
.cast-link {
    display: inline-block;
    background: linear-gradient(135deg, #FF69B4, #FF1493, #DC143C);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.cast-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.4);
    text-decoration: none;
    color: white;
}

/* Sections */
.featured-cast,
.all-cast {
    margin: 60px 0;
}

.featured-cast h2,
.all-cast h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #fff;
    position: relative;
}

/* Featured and all cast section title underlines removed */

/* Pagination */
.cast-pagination {
    text-align: center;
    margin: 50px 0;
}

.cast-pagination .nav-links {
    display: inline-flex;
    gap: 10px;
}

.cast-pagination a,
.cast-pagination .current {
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cast-pagination a {
    background: transparent;
    color: #FF69B4;
    border: 2px solid #FF69B4;
}

.cast-pagination a:hover,
.cast-pagination .current {
    background: linear-gradient(135deg, #FF69B4, #FF1493, #DC143C);
    color: white;
    border-color: transparent;
}

/* No Cast Found */
.no-cast-found {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    margin: 40px 0;
}

.no-cast-found h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
}

.no-cast-found p {
    color: #ccc;
    font-size: 1.1rem;
}

/* ========================================
   SINGLE CAST PAGE STYLES
   ======================================== */

/* Cast Hero */
.cast-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 0;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 105, 180, 0.3);
}

.cast-image-section {
    position: relative;
}

/* キャスト詳細ページ専用スタイル - シンプル版 */
.cast-single-container .cast-main-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
    border: 3px solid #FF69B4;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background: #333;
}

.cast-single-container .cast-main-image:hover {
    border-color: #FF1493;
    transform: scale(1.02);
}

.cast-single-container .cast-main-image img,
.cast-single-container .cast-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease;
    border-radius: 0 !important;
    display: block !important;
}

.cast-single-container .cast-main-image:hover img,
.cast-single-container .cast-main-image:hover .cast-photo {
    transform: scale(1.05);
}

/* 画像が表示されない場合のフォールバック */
.cast-single-container .no-image {
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #888;
    font-size: 2.2rem;
    width: 100%;
    border-radius: 18px;
    border: 1.5px dashed #bbb;
    margin: 0 auto;
    min-height: 180px;
    max-height: 340px;
    box-sizing: border-box;
    position: relative;
}
.no-image .no-image-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.no-image .no-image-text {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
    margin: 0;
    line-height: 1.3;
}

/* 問題のあるオーバーレイ要素を一時的に非表示 */
.cast-single-container .availability-overlay,
.cast-single-container .featured-mark {
    display: none !important;
}

/* モバイル対応 - キャストヒーロー */
@media (max-width: 768px) {
    .cast-single-container .cast-hero {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 20px !important;
    }
    
    .cast-single-container .cast-hero .cast-stats {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* 他のキャストセクションを非表示 */
.related-cast {
    display: none !important;
}

.availability-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Cast Info Section */
.cast-info-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cast-header .cast-name {
    font-size: 3rem;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #fff;
}

.cast-header .cast-english-name {
    font-size: 1.3rem;
    color: #FF69B4;
    font-style: italic;
    margin: 0 0 30px 0;
}

/* Stats */
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    min-width: 100px;
}

.stat-label {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

/* Languages & Specialty */
.cast-specialty {
    margin: 30px 0;
}

.cast-specialty h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 15px;
}

.language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.language-tags .language-tag {
    background: linear-gradient(135deg, #FF69B4, #FF1493, #DC143C);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
}

/* Cast Content */
.cast-content {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 20px;
    margin: 40px 0;
    border: 1px solid rgba(255, 105, 180, 0.3);
}

.cast-content h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
}

.content-text {
    line-height: 1.8;
    color: #ccc;
    font-size: 1.1rem;
}

/* Action Buttons */
.cast-actions {
    text-align: center;
    margin: 50px 0;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.call-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.email-btn {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

.back-btn {
    background: linear-gradient(135deg, #FF69B4, #FF1493, #DC143C);
    color: white;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    text-decoration: none;
    color: white;
}

/* Related Cast */
.related-cast {
    margin: 60px 0;
    padding: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
}

.related-cast h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #fff;
}

.related-cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.related-cast-card {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 3px solid #FF69B4;
}

.related-cast-card:hover {
    transform: translateY(-5px);
    border-color: #FF1493;
}

.related-cast-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-cast-card:hover img {
    transform: scale(1.05);
}

.related-cast-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-cast-info {
    padding: 20px;
    text-align: center;
}

.related-cast-info h3 {
    margin: 0 0 10px 0;
    color: #fff;
}

/* アニメーション効果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-section,
.cast-section,
.price-section,
.access-section {
    animation: fadeIn 0.8s ease-out;
}

/* タブレット対応 (768px以下) */
@media (max-width: 768px) {
    /* ヘッダー調整 */
    header {
        padding: 0.4rem 0;
    }
    
    header .container {
        gap: 10px;
        min-height: 60px;
        padding: 0 20px;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .header-nav {
        display: none !important;
    }
    
    .logo-image {
        width: 60px;
        height: 38px;
        border-radius: 8px;
        padding: 2px;
    }

    .hero-overlay {
        padding: 30px 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    /* About セクション - タブレット */
    .about-section {
        padding: 15px 20px 50px;
        margin-top: -8px;
    }
    
    .about-section h2 {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
    
    /* キャスト */
    .cast-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.8rem;  
    }
    
    .cast-photo-square {
        aspect-ratio: 4/5;
    }
    
    .status {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .featured-mark {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .cast-stats-home {
        font-size: 0.85rem;
    }
    
    .lang-flag {
        font-size: 1.1rem;
    }
    
    /* 料金テーブル */
    .price-table {
        font-size: 0.95rem;
    }
    
    .price-table th,
    .price-table td {
        padding: 0.9rem;
    }
    
    /* キャスト管理システム */
    .page-title {
        font-size: 2.5rem;
    }
    
    .cast-filters {
        flex-direction: column;
        gap: 20px;
    }
    
    .cast-hero {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }
    
    .cast-header .cast-name {
        font-size: 2.5rem;
    }
    
    .cast-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* モバイル対応 (480px以下) */
@media (max-width: 480px) {
    /* ヘッダー - モバイル */
    header {
        padding: 0.3rem 0;
    }
    
    header .container {
        gap: 8px;
        min-height: 55px;
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .header-nav {
        display: none !important;
    }
    
    .logo-image {
        width: 50px;
        height: 32px;
        border-radius: 6px;
        padding: 1px;
    }
    
    .hero-overlay {
        padding: 12px 18px;
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.6); /* より濃い背景で文字を見やすく */
    }
    
    .hero-title {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    /* About セクション - モバイル */
    .about-section {
        padding: 50px 15px 40px; /* 上部パディングをさらに増やす */
        margin-top: 0; /* マイナスマージンを削除 */
    }
    
    .about-section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .about-welcome,
    .about-charm,
    .about-values,
    .about-services {
        margin-bottom: 1.5rem;
        padding: 1.3rem;
    }
    
    .about-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .about-section p,
    .values-list li,
    .services-list li {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .values-list li,
    .services-list li {
        padding-left: 2rem;
    }
    
    .values-list li::before,
    .services-list li::before {
        font-size: 1.1rem;
        top: 0.5rem;
    }
    
    /* キャスト - モバイル */
    .cast-section {
        padding: 100px 15px 0 15px;;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cast-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1.3rem;
    }
    
    .cast-photo-square {
        aspect-ratio: 3/4;
        border-radius: 12px;
    }
    
    .cast-name .japanese-name {
        font-size: 1rem;
    }
    
    .cast-name .english-name {
        font-size: 0.8rem;
    }
    
    .status {
        font-size: 0.6rem;
        padding: 3px 6px;
    }
    
    .featured-mark {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }
    
    .cast-stats-home {
        font-size: 0.75rem;
    }
    
    .lang-flag {
        font-size: 1rem;
    }
    
    /* 料金セクション - モバイル */
    .price-section {
        padding: 40px 15px;
    }
    
    .price-table {
        font-size: 0.85rem;
    }
    
    .price-table th,
    .price-table td {
        padding: 0.7rem 0.5rem;
    }
    
    .operating-hours {
        padding: 1.2rem;
    }
    
    /* Access セクション - モバイル */
    .access-section {
        padding: 40px 15px;
    }
    
    .access-address {
        font-size: 1rem;
    }
    
    .access-description {
        font-size: 0.9rem;
    }
}

/* 極小画面対応 (360px以下) */
@media (max-width: 360px) {
    .cast-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .hero-overlay {
        padding: 10px 15px;
        background: rgba(0, 0, 0, 0.7);
    }
    
    .hero-title {
        font-size: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 0.7rem;
    }
    
    .about-section {
        padding: 45px 10px 30px;
    }
    
    .about-section h2 {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
}

/* 超極小画面対応 (320px以下) */
@media (max-width: 320px) {
    .hero-overlay {
        padding: 8px 12px;
        background: rgba(0, 0, 0, 0.8);
    }
    
    .hero-title {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.6rem;
    }
    
    .about-section {
        padding: 40px 8px 25px;
    }
    
    .about-section h2 {
        font-size: 1.4rem;
    }
}

/* ========================================
   TOPIC ARCHIVE & SINGLE STYLES
   ======================================== */

/* Topic Archive Styles */
/* --- Topic Archive: Chuẩn Flower Bar, không box, không shadow, spacing nhỏ gọn, border chấm vàng --- */
.topic-archive-container {
    background: #000;
    color: #fff;
    min-height: 100vh;
    padding-top: 100px;
}
/* Căn giữa danh sách topic archive */
.topic-list-simple {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}
@media (max-width: 600px) {
    .topic-list-simple {
        padding: 0 4vw;
    }
}
.topic-row-link {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    transition: background 0.15s;
}
.topic-row-link:hover .topic-row {
    background: rgba(191, 166, 64, 0.07);
}
/* Border dưới mỗi topic */
.topic-row {
    border-bottom: 1px dotted #bfa640;
    padding: 12px 0 8px 0;
    display: flex;
    align-items: flex-start;
    transition: background 0.15s;
    cursor: pointer;
    background: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
}
/* Luôn hiện border dưới, kể cả topic cuối */
.topic-row:last-child {
    border-bottom: 1px dotted #FF69B4;
}
.topic-date-row-top {
    color: #FF69B4;
    font-size: 0.8rem;
    font-family: 'Noto Sans JP', 'Arial', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 0.1em;
    text-align: left;
}
.topic-title-row-bot {
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-align: left;
    line-height: 1.5;
    margin-bottom: 0.1em;
    transition: color 0.18s;
    cursor: pointer;
}
.topic-row-link:hover .topic-title-row-bot {
    color: #FF69B4;
    text-decoration: underline;
}
@media (max-width: 600px) {
    .topic-row {
        flex-direction: column;
        padding: 10px 0 6px 0;
    }
    .topic-date-row-top {
        font-size: 0.98rem;
    }
    .topic-title-row-bot {
        font-size: 1rem;
    }
}

/* --- Custom Single Topic Style (Flower Bar) --- */
.topic-single-title-custom {
    color: #bfa640;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5em;
    border-bottom: 1px dotted #bfa640;
    padding-bottom: 0.3em;
    text-align: left;
    font-family: 'Noto Sans JP', 'Arial', sans-serif;
}
.topic-single-date-custom {
    color: #bfa640;
    font-size: 1.05rem;
    margin: 0.5em 0 1.5em 0;
    text-align: left;
    font-family: 'Noto Sans JP', 'Arial', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
}
.topic-single-content-custom {
    max-width: 700px;
    margin: 0 auto;
    color: #fff;
    font-size: 1.08rem;
    line-height: 1.8;
    text-align: left;
    word-break: break-word;
}
.topic-single-content-custom img {
    max-width: 100%;
    height: auto;
    margin: 18px 0;
    border-radius: 10px;
    display: block;
}
.topic-back-btn-custom {
    display: inline-block;
    color: #bfa640;
    font-size: 1rem;
    background: none;
    border: none;
    padding: 0 0 0 2px;
    margin-top: 18px;
    margin-bottom: 30px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.2s;
    text-align: left;
}
.topic-back-btn-custom:hover {
    color: #ffe066;
    text-decoration: underline;
}

/* --- Single Topic Detail (Flower Bar) --- */
.topic-single-container {
    background: #000;
    min-height: 100vh;
    padding-top: 100px;
}
.topic-single-box {
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding: 0 16px;
}
.topic-single-title {
    color: white;
    font-size: 1.35rem;
    font-weight: bold;
    font-family: 'Playfair Display', 'Noto Sans JP', Arial, sans-serif;
    margin-top: 24px;
    margin-bottom: 0.2em;
    border-bottom: 1px dotted #FF69B4;
    padding-bottom: 0.45em;
    text-align: left;
    letter-spacing: 1px;
    line-height: 1.4;
}
.topic-single-date {
    color: #FF69B4;
    font-size: 1.05rem;
    font-family: 'Noto Sans JP', Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 0.5em 0 1.5em 0;
    text-align: left;
}
.topic-single-content {
    color: #fff;
    font-size: 1.08rem;
    line-height: 1.8;
    text-align: left;
    word-break: break-word;
    margin-bottom: 2em;
}
.topic-single-content img {
    max-width: 100%;
    height: auto;
    margin: 18px 0;
    border-radius: 10px;
    display: block;
}
.topic-single-content h2, .topic-single-content h3 {
    color: #bfa640;
    margin: 1.5em 0 0.7em 0;
    font-weight: bold;
}
.topic-single-content a {
    color: #ffe066;
    text-decoration: underline;
    transition: color 0.2s;
}
.topic-single-content a:hover {
    color: #fffbe0;
}
.topic-single-content ul, .topic-single-content ol {
    margin-left: 1.5em;
    margin-bottom: 1em;
}
.topic-single-content li {
    margin-bottom: 0.5em;
}
.topic-single-back {
    margin: 2em 0 1em 0;
    text-align: left;
}
.topic-single-back-btn {
    display: inline-block;
    color: #FF69B4;
    font-size: 1rem;
    background: none;
    border: none;
    padding: 0 0 0 2px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.2s;
}
.topic-single-back-btn:hover {
    color: #ffe066;
    text-decoration: underline;
}
@media (max-width: 600px) {
    .topic-single-box {
        padding: 0 4vw;
    }
    .topic-single-title {
        font-size: 1.08rem;
    }
    .topic-single-content {
        font-size: 0.98rem;
    }
}

/* Topic Pagination - đẹp mắt, sang trọng, hồng #FF69B4 */
.topic-pagination {
    text-align: center;
    margin: 36px 0 24px 0;
}
.topic-pagination ul {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.topic-pagination li {
       display: inline-block;
}
.topic-pagination a,
.topic-pagination span {
    display: inline-block;
    min-width: 36px;
    padding: 7px 0 6px 0;
    border-radius: 18px;
    border: 1.5px dotted #FF69B4;
    color: #fff;
    background: transparent;
    font-size: 1.15rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
    margin: 0 2px;
    box-sizing: border-box;
}
.topic-pagination .current {
    color: #FF69B4;
    background: transparent;
    border-color: #FF69B4;
    font-weight: bold;
}
.topic-pagination a:hover {
    color: #fff0fa;
    background: #FF69B422;
    border-color: #FF69B4;
    text-shadow: 0 0 4px #FF69B499;
}
.topic-pagination .prev,
.topic-pagination .next {
    font-size: 1.1em;
    color: #FF69B4;
    border: none;
    background: none;
    padding: 7px 12px;
}
.topic-pagination .prev:hover,
.topic-pagination .next:hover {
    color: #fff0fa;
    background: none;
    text-shadow: 0 0 4px #FF69B499;
}
@media (max-width: 600px) {
    .topic-pagination ul {
        gap: 4px;
    }
    .topic-pagination a,
    .topic-pagination span {
        min-width: 28px;
        font-size: 1rem;
        padding: 5px 0 4px 0;
    }
}

/* Chia 5 cột cho trang archive cast_member */
body.post-type-archive-cast_member .cast-grid {
    grid-template-columns: repeat(5, 1fr) !important;
}

@media (max-width: 1200px) {
    body.post-type-archive-cast_member .cast-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 800px) {
    body.post-type-archive-cast_member .cast-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 500px) {
    body.post-type-archive-cast_member .cast-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Chia 5 cột cho cast-grid trên trang chủ giống trang /cast */
body.home .cast-grid {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 1rem !important; /* giảm gap để ảnh to hơn */
}
body.home .cast-photo-square {
    width: 90% !important;
    aspect-ratio: 3/4 !important;
    margin: 0 auto 1rem !important;
}

@media (max-width: 1200px) {
    body.home .cast-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 800px) {
    body.home .cast-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 500px) {
    body.home .cast-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Ảnh lớn phía trên bảng giá */
.price-image-main {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    background: #111;
}
.price-image-main img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}

/* Bảng giá giống layout mẫu, giữ màu theme */
.price-table {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    background: #111;
    border-radius: 16px;
    border: 2.5px solid #FF69B4;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
    font-size: 1.1rem;
    overflow: hidden;
    box-sizing: border-box;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}
.price-table tbody tr {
    border-bottom: 2px solid #FF69B4 !important;
}
.price-table tbody tr:last-child {
    border-bottom: none !important;
}
.price-table thead th {
    background: linear-gradient(90deg, #FF69B4, #FF1493);
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 1.1rem 0.5rem;
    border: none;
    text-align: center;
}
.price-table td, .price-table th {
    padding: 1.1rem 0.7rem;
    text-align: left;
    border: none;
    border-right: 1px solid #FF69B4;
}
.price-table td:last-child, .price-table th:last-child {
    border-right: none;
}
.price-table td {
    color: #fff;
    font-size: 1.08rem;
    vertical-align: middle;
}
.price-table td:first-child {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Box giờ mở cửa giống mẫu, giữ màu theme */
.operating-hours {
    background: #b4006e33;
    color: #fff;
    border-radius: 14px;
    margin: 2.5rem auto 0 auto;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    max-width: 700px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(255,105,180,0.08);
}
.operating-hours h3 {
    color: #FF69B4;
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
    font-weight: bold;
}
.operating-hours p strong {
    font-size: 1.25rem;
    color: #fff;
}

.price-table tbody td {
    border-bottom: 2px solid #FF69B4 !important;
}
.price-table tbody tr:last-child td {
    border-bottom: none !important;
}

/* Slider ảnh Floor & Price */
.price-slider-main {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.45);
    overflow: hidden;
    min-height: 320px;
}
.slider-img-list {
    width: 100%;
    display: flex;
    position: relative;
    min-height: 320px;
}
.slider-img-item {
    width: 100%;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.5s, z-index 0s 0.5s;
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    z-index: 1;
    pointer-events: none;
}
.slider-img-item.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
    transition: opacity 0.5s;
}
.slider-img-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #FF69B4;
    border: none;
    font-size: 2.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    outline: none;
}
.slider-arrow-left { left: 12px; }
.slider-arrow-right { right: 12px; }
.slider-arrow:hover, .slider-arrow:focus {
    background: #FF69B4;
    color: #fff;
}
@media (max-width: 700px) {
    .price-slider-main, .slider-img-list, .slider-img-item img {
        min-height: 180px;
        height: 180px;
        max-width: 100vw;
    }
    .slider-arrow {
        font-size: 2rem;
        width: 38px;
        height: 38px;
    }
}

/* ===== Language Switcher ===== */
.language-switcher {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 8px 28px;
  border-radius: 18px;
  margin-left: 32px;
  position: relative;
  z-index: 1002;
}
.language-switcher .lang {
  color: #fff;
  font-size: 1.35rem;
  font-family: 'Georgia', serif;
  letter-spacing: 2px;
  cursor: pointer;
  position: relative;
  transition: color 0.2s, opacity 0.2s, transform 0.2s;
  opacity: 0.85;
  padding: 2px 8px;
}
.language-switcher .lang:hover,
.language-switcher .lang.active {
  color: #ff5252;
  opacity: 1;
  transform: scale(1.08);
}
.language-switcher .lang.active::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  background: #ff5252;
  border-radius: 50%;   
  box-shadow: 0 0 8px #ff5252aa;
}
@media (max-width: 1024px) {
  .language-switcher {
    gap: 12px;
    padding: 6px 10px;
    margin-left: 10px;
  }
  .language-switcher .lang {
    font-size: 0.8rem;
    padding: 2px 4px;
    white-space: nowrap;
  }
}

@media (max-width: 1200px) {
    .language-switcher {
      gap: 12px;
      padding: 6px 10px;
      margin-left: 10px;
    }
    .language-switcher .lang {
      font-size: 1rem;
      padding: 2px 4px;
      white-space: nowrap;
    }
  }

@media (max-width: 1350px) {
    .language-switcher {
      gap: 12px;
      padding: 6px 10px;
      margin-left: 10px;
    }
    .language-switcher .lang {
      font-size: 1rem;
      padding: 2px 4px;
      white-space: nowrap;
    }
}
  
  

.instagram-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.instagram-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #d4af37;
  font-family: 'Georgia', serif;
  font-size: 2.8rem;
  font-style: italic;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px #000a;
  transition: color 0.2s;
}
.instagram-link:hover {
  color: #ff69b4;
}
.instagram-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: 0 2px 8px #0005;
  background: none !important;
  object-fit: cover;
  margin-right: 4px;
  transition: transform 0.2s;
  border: none !important;
}
.instagram-link:hover .instagram-logo {
  transform: scale(1.08) rotate(-8deg);
}

.map-wrapper {
  width: 100vw;
  max-width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  position: relative;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  padding: 0;
  z-index: 2;
  overflow-x: hidden;
}
.map-wrapper iframe {
  width: 100vw !important;
  max-width: 100vw !important;
  min-height: 350px;
  height: 45vw;
  max-height: 500px;
  border: none;
  display: block;
  border-radius: 0;
  background: #eee;
}
@media (max-width: 900px) {
  .map-wrapper iframe {
    min-height: 260px;
    height: 55vw;
    max-height: 400px;
  }
}
@media (max-width: 700px) {
  .map-wrapper {
    border-radius: 0 0 16px 16px;
  }
  .map-wrapper iframe {
    min-height: 180px;
    height: 60vw;
    max-height: 300px;
    border-radius: 0 0 16px 16px;
  }
}
@media (max-width: 480px) {
  .map-wrapper iframe {
    min-height: 120px;
    height: 48vw;
    max-height: 200px;
    border-radius: 0 0 12px 12px;
  }
}

/* --- MENU POPUP MOBILE CUSTOM --- */
@media (max-width: 900px) {
  .header-menu-popup {
    background: #111 url('../images/menu-bg-gold.png') center/cover no-repeat !important;
    justify-content: flex-start !important;
    align-items: center !important;
    overflow-y: auto !important;
    padding-bottom: 32px;
  }
  .header-menu-popup .menu-content {
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    min-width: 260px !important;
    max-width: 95vw !important;
    margin-top: 48px !important;
    width: 100vw !important;
    align-items: center !important;
    padding: 0 !important;
  }
  .header-menu-popup .menu-content img {
    margin-bottom: 24px !important;
    width: 120px !important;
    height: auto !important;
  }
  .header-menu-popup .menu-content .menu-popup-link {
    color: #fff !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    padding: 22px 0 6px 0 !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    position: relative !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
  }
  .header-menu-popup .menu-content .menu-popup-link div {
    font-size: 1rem !important;
    font-weight: 400 !important;
    color: #fff !important;
    opacity: 0.7 !important;
    margin-top: 2px !important;
  }
  .header-menu-popup .menu-divider {
    width: 90%;
    height: 2px;
    background: linear-gradient(90deg, rgba(191,162,58,0.7) 0%, rgba(191,162,58,0.2) 100%);
    margin: 0 auto;
    border: none;
  }
  .header-menu-popup .menu-content .menu-popup-link:last-of-type + .menu-divider {
    display: none !important;
  }
  .header-menu-popup .language-switcher {
    display: flex !important;
    gap: 24px !important;
    justify-content: center !important;
    margin-top: auto !important;
    margin-bottom: 18px !important;
  }
  .header-menu-popup .language-switcher .lang {
    color: #fff !important;
    font-size: 0.8rem !important;
    font-family: 'Montserrat',sans-serif !important;
    font-weight: 600 !important;
    opacity: 0.85;
    cursor: pointer;
    transition: color 0.2s;
  }
  .header-menu-popup .language-switcher .lang.active {
    color: #bfa23a !important;
    opacity: 1;
  }
}
/* --- END MENU POPUP MOBILE CUSTOM --- */

@media screen and (max-width: 1000px) {
    .icon-social {
        display: none !important;
    }
}
