/* ===========================================
   出演者一覧ページ専用CSS
   guests.css
=========================================== */

/* ページヘッダー */
.page-header {
    position: relative;
    padding: 180px 0 80px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--secondary) 100%);
    overflow: hidden;
}

.page-header__background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-header__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header__content {
    text-align: center;
    color: var(--text-white);
}

.page-header__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.page-header__title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header__subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.page-header__subtitle .highlight-number {
    color: #FFD700;
    font-weight: 700;
    font-size: 1.5em;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* パンくずリスト */
.breadcrumb {
    margin-bottom: 2rem;
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb__item a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.breadcrumb__item a:hover {
    color: white;
}

.breadcrumb__item:not(:last-child)::after {
    content: '>';
    margin-left: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb__item--current {
    color: white;
    font-weight: 500;
}

/* AI向け要約（GEO対策） */
.ai-summary {
    background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem 0;
    border-bottom: 1px solid #dee2e6;
}

.ai-summary p {
    margin: 0;
    font-size: 0.95rem;
    color: #495057;
    line-height: 1.8;
}

/* 統計セクション */
.guests-stats {
    padding: 3rem 0;
    background: var(--bg-light);
}

.guests-stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.guests-stats__item {
    text-align: center;
}

.guests-stats__number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.guests-stats__label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* フィルターセクション */
.filter-section {
    padding: 2rem 0;
    background: white;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.filter-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    background-color: #f8fafc;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: #6366f1;
    color: #6366f1;
    background-color: #f0f0ff;
}

button.filter-btn.filter-btn--active,
.filter-btn.filter-btn--active {
    background-color: #6366f1;
    border-color: #6366f1;
    color: #fff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5);
    font-weight: 700;
}

/* 出演者グリッド */
.guests-main {
    padding: 4rem 0;
    background: var(--bg-light);
}

.guests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* 出演者カード */
.guest-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.guest-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.guest-card__image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    overflow: hidden;
}

.guest-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.guest-card:hover .guest-card__image img {
    transform: scale(1.05);
}

.guest-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.5);
}

.guest-card__volume {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
}

.guest-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    background: #FFD700;
    color: #333;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
}

.guest-card__content {
    padding: 1.5rem;
}

.guest-card__category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.guest-card__name {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.guest-card__role {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.guest-card__description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.guest-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.guest-card__tags .tag {
    padding: 0.2rem 0.6rem;
    background: var(--bg-light);
    color: var(--text-secondary);
    font-size: 0.7rem;
    border-radius: 4px;
}

.guest-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.guest-card__link:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

.guest-card__link i {
    font-size: 0.8rem;
}

/* フィルター時の非表示アニメーション */
.guest-card.hidden {
    display: none;
}

.guest-card.fade-out {
    opacity: 0;
    transform: scale(0.9);
}

.guest-card.fade-in {
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* もっと見るボタン */
.guests-more {
    text-align: center;
    margin-top: 3rem;
}

/* CTAセクション */
.guests-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    text-align: center;
}

.guests-cta__content h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: white;
    margin-bottom: 1rem;
}

.guests-cta__content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ナビバー（ライトモード） */
.navbar--light {
    background: white;
    box-shadow: var(--shadow-sm);
}

.navbar--light .navbar__link {
    color: var(--text-secondary);
}

.navbar--light .navbar__link:hover,
.navbar--light .navbar__link--active {
    color: var(--primary);
}

.navbar--light .hamburger,
.navbar--light .hamburger::before,
.navbar--light .hamburger::after {
    background-color: var(--text-primary);
}

/* レスポンシブ */
@media (max-width: 992px) {
    .guests-stats__grid {
        gap: 1rem;
    }
    
    .guests-stats__number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 140px 0 60px;
    }
    
    .filter-section {
        top: 70px;
    }
    
    .filter-buttons {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-btn {
        flex-shrink: 0;
    }
    
    .guests-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .guests-stats__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .guests-stats__number {
        font-size: 2rem;
    }
    
    .guests-stats__label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .page-header__title {
        font-size: 1.8rem;
    }
    
    .breadcrumb__list {
        font-size: 0.8rem;
    }
    
    .guest-card__image {
        height: 180px;
    }
    
    .guest-card__content {
        padding: 1.25rem;
    }
    
    .guest-card__name {
        font-size: 1.1rem;
    }
}
