/* ========================================
   キャスト詳細ページ
======================================== */

/* 全体レイアウト */
.cast-detail {
    background: #f8f9fa;
    min-height: 100vh;
}

/* ========================================
   ヘッダー部分
======================================== */
.cast-detail-header {
    background: #fff;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.cast-header-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

/* キャスト画像 - 正方形固定 */
.cast-main-image {
    width: 300px;
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

/* キャスト情報 */
.cast-main-info {
    padding-top: 10px;
}

.cast-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.cast-nickname {
    font-size: 18px;
    color: #666;
    margin-bottom: 15px;
}

.cast-shop-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
}

.cast-shop-info i {
    color: #ff6b6b;
}

.cast-shop-info a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
}

.cast-shop-info a:hover {
    text-decoration: underline;
}

/* 投票エリア */
.cast-vote-area {
    margin: 25px 0;
}

.cast-vote-area .vote-subtitle {
    font-size: 13px;
    color: #666;
    display: block;
    margin-top: 8px;
}

/* SNSリンク */
.cast-sns-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.sns-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 20px;
}

.sns-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.sns-button.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}

.sns-button.twitter {
    background: #1DA1F2;
    color: #fff;
}

.sns-button.tiktok {
    background: #000;
    color: #fff;
}

/* ========================================
   メインコンテンツ
======================================== */
.cast-detail-content {
    padding: 40px 0;
}

/* セクション共通 */
.detail-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.detail-section h2 {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ff6b6b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-section h2 i {
    color: #ff6b6b;
    font-size: 20px;
}

/* プロフィールテーブル */
.profile-table,
.muscle-table {
    width: 100%;
    border-collapse: collapse;
}

.profile-table th,
.muscle-table th {
    width: 40%;
    padding: 15px;
    background: #f8f9fa;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #666;
    border-radius: 4px 0 0 4px;
}

.profile-table td,
.muscle-table td {
    padding: 15px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.profile-table tr:last-child td,
.muscle-table tr:last-child td {
    border-bottom: none;
}

/* 筋肉タグ */
.muscle-tags {
    margin-bottom: 30px;
}

.muscle-tags h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.muscle-tag {
    display: inline-block;
    padding: 8px 20px;
    background: #ff6b6b;
    color: #fff;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
}

/* メッセージ */
.cast-message {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.cast-message p {
    margin-bottom: 15px;
}

.veu_socialSet.veu_socialSet-auto.veu_socialSet-position-after.veu_contentAddSection {
    display: none;
}

/* ギャラリー */
.cast-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   サイドバー
======================================== */
.cast-detail .sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.cast-detail .sidebar-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cast-detail .sidebar-card h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b6b;
}

/* 所属店舗カードの画像を4:3に修正 */
/* 所属店舗カード - レイアウト変更 */
.shop-info-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    text-align: left;
}

.shop-thumb {
    width: 160px;
    aspect-ratio: 4/3;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f0;
}

.shop-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.shop-info-content {
    flex: 1;
    min-width: 0; /* テキストの折り返し対策 */
}

.shop-info-card h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.4;
    background: none;
}

.shop-info-card h4 a {
    color: #333;
    text-decoration: none;
}

.shop-info-card h4 a:hover {
    color: #ff6b6b;
}

.shop-info-card p {
    font-size: 14px;
    margin-left: 10px;
    color: #666;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 左寄せに変更 */
    gap: 5px;
}

.shop-info-card i {
    color: #ff6b6b;
    flex-shrink: 0;
}


/* キャストリスト */
.cast-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cast-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cast-list li:last-child {
    border-bottom: none;
}

.cast-list a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    display: block;
    transition: color 0.3s;
}

.cast-list a:hover {
    color: #ff6b6b;
}

.cast-list .nickname {
    font-size: 12px;
    color: #999;
}

/* ========================================
   レスポンシブ対応
======================================== */
@media (max-width: 768px) {
    /* ヘッダー */
    .cast-detail-header {
        padding: 20px 0;
    }
    .shop-info-card {
        gap: 12px;
    }
    
    .shop-thumb {
        width: 70px;
        height: 52px;
    }
    
    .cast-header-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cast-main-image {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    
    .cast-main-info {
        text-align: center;
    }
    
    .cast-title {
        font-size: 24px;
    }
    
    .cast-sns-links {
        justify-content: center;
    }
    .cast-shop-info {
    justify-content: center;
    }
    button.vote-btn.voted {
    margin: 0 auto;
    width: 60%;
    }
    
    /* メインコンテンツ */
    .cast-detail-content {
        padding: 20px 0;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .detail-section h2 {
        font-size: 18px;
    }
    
    /* テーブル */
    .profile-table th,
    .muscle-table th {
        width: 35%;
        padding: 12px;
    }
    
    /* ギャラリー */
    .cast-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    /* サイドバー */
    .cast-detail .sidebar {
        position: static;
        margin-top: 30px;
        padding: 0px;
    }
}

/* パンくずリスト調整 */
.cast-detail .machonavi-breadcrumb {
    padding: 20px 0;
    margin: 0 auto;
    max-width: 1200px;
}
