/*
Theme Name: Pop Idol Blog
Description: 地下アイドル情報サイト用テーマ
Version: 1.0
Author: PopIdolBlog
*/

/* カスタムプロパティ */
:root {
    --primary-color: #e91e63;
    --secondary-color: #26a69a;
    --info-color: #29b6f6;
    --success-color: #66bb6a;
    --warning-color: #ffa726;
    --danger-color: #ef5350;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --idol-pink: #ff6b9d;
    --idol-purple: #a374d9;
    --idol-blue: #4ecdc4;
    --idol-yellow: #ffd93d;
    --gradient-primary: linear-gradient(135deg, var(--idol-pink) 0%, var(--idol-purple) 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,.15);
    --shadow-lg: 0 8px 15px rgba(0,0,0,.2);
}
* {
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}
.container {
    max-width: 1200px;
}
.site-header {
    background: white !important;
    box-shadow: var(--shadow-sm);
}
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}
.navbar-brand:hover {
    text-decoration: none;
    opacity: 0.8;
}
.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-link:hover {
    color: var(--primary-color) !important;
}
.main-content {
    min-height: 70vh;
    padding: 2rem 0;
}
.hero-section {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
    backdrop-filter: blur(1px);
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.search-form-large {
    max-width: 600px;
    margin: 0 auto 2rem;
}
.search-form-large .input-group {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.search-form-large .form-control {
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
}
.search-form-large .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    background: var(--primary-color);
    border-color: var(--primary-color);
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 3rem 0 2rem;
    text-align: center;
    position: relative;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}
.card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.card-idol {
    height: 100%;
}
.card-idol .card-header {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1.5rem;
}
.card-event .card-header {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1.5rem;
}
.btn-idol {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.btn-idol:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.bg-gradient {
    background: var(--gradient-primary) !important;
}
.featured-card {
    border: none;
    box-shadow: var(--shadow-md);
}
.featured-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.gradient-circle {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    color: white;
    font-weight: bold;
}
.idol-visual-circle {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.idol-visual-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.event-card {
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}
.event-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}
.event-date-large {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    text-align: center;
    min-width: 120px;
    border-radius: 0.75rem 0 0 0.75rem;
}
.video-thumbnail {
    position: relative;
    overflow: hidden;
}
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.video-play-btn:hover {
    opacity: 1;
    color: #ff0000;
}
.member-card {
    transition: all 0.3s ease;
    height: 100%;
}
.member-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.member-color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.list-group-item-action:hover {
    background-color: #f8f9fa;
    border-color: var(--primary-color);
}
.breadcrumb-item + .breadcrumb-item::before {
    color: var(--primary-color);
}
.pagination .page-link {
    color: var(--primary-color);
    border-color: #dee2e6;
}
.pagination .page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}
.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.site-footer {
    background: var(--dark-color);
    color: white;
    margin-top: 3rem;
}
.footer-content {
    padding: 3rem 0 2rem;
}
.footer-section h5 {
    color: var(--idol-pink);
    margin-bottom: 1rem;
}
.footer-menu {
    list-style: none;
    padding: 0;
}
.footer-menu li {
    margin-bottom: 0.5rem;
}
.footer-menu a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-menu a:hover {
    color: var(--idol-pink);
}
.footer-bottom {
    border-top: 1px solid #444;
    padding: 1.5rem 0;
    color: #999;
}
.content-text {
    line-height: 1.8;
}
.content-text h2,
.content-text h3,
.content-text h4 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.content-text blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6c757d;
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .gradient-circle {
        width: 80px;
        height: 80px;
    }
    .idol-visual-circle {
        width: 60px;
        height: 60px;
    }
    .event-card {
        text-align: center;
    }
    .event-date-large {
        width: 100%;
        min-width: auto;
        border-radius: 0.75rem 0.75rem 0 0;
    }
}
/* YouTube動画カード */
.video-card {
    border: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    overflow: hidden;
}
.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.video-card .card-img-top {
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.video-card:hover .card-img-top {
    transform: scale(1.05);
}
.video-thumbnail {
    position: relative;
    overflow: hidden;
}
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    z-index: 2;
}
.video-play-btn:hover {
    opacity: 1;
    color: #ff0000;
}
.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 70%, rgba(255,0,0,0.1));
    pointer-events: none;
    z-index: 1;
}
/* メンバー関連スタイル */
.member-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: var(--shadow-sm);
    height: 100%;
}
.member-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.member-photo,
.member-no-photo {
    width: 100px;
    height: 100px;
    border: 3px solid white;
    box-shadow: var(--shadow-sm);
}
.member-photo-container {
    position: relative;
    display: inline-block;
}
.member-status-badge {
    position: absolute;
    top: -5px;
    right: -5px;
}
.member-name a {
    color: var(--dark-color);
    transition: color 0.3s ease;
}
.member-name a:hover {
    color: var(--primary-color);
}
.member-group a:hover {
    color: var(--primary-color) !important;
}
.member-meta .badge {
    font-size: 0.75rem;
}
.member-actions .btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.member-profile-card {
    border: none;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.member-profile-card .card-header {
    background: var(--gradient-primary);
    border: none;
    padding: 2rem;
}
.member-main-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: var(--shadow-md);
}
.member-no-photo {
    width: 150px;
    height: 150px;
    border: 4px solid white;
    box-shadow: var(--shadow-md);
}
.member-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.member-info-table th {
    width: 30%;
    font-weight: 600;
    padding: 0.75rem 0;
}
.member-info-table td {
    padding: 0.75rem 0;
}
.color-sample {
    display: inline-block;
    vertical-align: middle;
}
.member-social-links .btn {
    justify-content: flex-start;
}
.member-interests h6 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.25rem;
    margin-bottom: 0.5rem;
}
.member-mini-photo img,
.member-mini-circle {
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.member-item {
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 0.5rem;
}
.member-item:hover {
    background-color: #f8f9fa;
    transform: translateX(4px);
}
.member-color-dot {
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    display: inline-block;
}
@media (max-width: 768px) {
    .member-photo,
    .member-no-photo {
        width: 80px;
        height: 80px;
    }
    .member-main-photo,
    .member-no-photo {
        width: 120px;
        height: 120px;
    }
    .member-name {
        font-size: 1.5rem;
    }
    .member-profile-card .card-header {
        padding: 1.5rem;
    }
}
/* グループステータスバッジのスタイル */
.group-status-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: inline-block;
    margin-left: 0.5rem;
    position: relative;
    overflow: hidden;
}
.group-status-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}
.group-status-badge:hover::before {
    left: 100%;
}
.status-active {
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%);
    color: white;
}
.status-hiatus {
    background: linear-gradient(135deg, #ffa726 0%, #ff9800 100%);
    color: white;
}
.status-disbanded {
    background: linear-gradient(135deg, #ef5350 0%, #f44336 100%);
    color: white;
}
.status-indefinite-hiatus {
    background: linear-gradient(135deg, #9e9e9e 0%, #757575 100%);
    color: white;
}
.group-status-info {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
    font-style: italic;
}
.group-status-info i {
    margin-right: 0.25rem;
    opacity: 0.7;
}
.group-card .group-status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    margin: 0;
}
.group-card .card-img-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
}
.group-status-section {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: 1rem;
}
.status-timeline {
    position: relative;
    padding-left: 2rem;
}
.status-timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ddd;
}
.status-timeline-item {
    position: relative;
    margin-bottom: 1rem;
    padding-left: 1rem;
}
.status-timeline-item::before {
    content: '';
    position: absolute;
    left: -0.375rem;
    top: 0.375rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ddd;
}
.status-timeline-item.active::before {
    border-color: #66bb6a;
    background: #66bb6a;
}
.status-timeline-item.hiatus::before {
    border-color: #ffa726;
    background: #ffa726;
}
.status-timeline-item.disbanded::before {
    border-color: #ef5350;
    background: #ef5350;
}
.status-filter-section {
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 2rem;
}
.status-filter-btn {
    margin: 0.25rem;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: white;
    color: #666;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.status-filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.status-filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}
.group-status-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}
.status-stat-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.status-stat-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.status-stat-label {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}
.status-stat-item.active .status-stat-number {
    color: #66bb6a;
}
.status-stat-item.hiatus .status-stat-number {
    color: #ffa726;
}
.status-stat-item.disbanded .status-stat-number {
    color: #ef5350;
}
.status-stat-item.indefinite .status-stat-number {
    color: #9e9e9e;
}
@media (max-width: 768px) {
    .group-status-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        margin-left: 0.25rem;
    }
    .group-card .group-status-badge {
        top: 0.5rem;
        right: 0.5rem;
        position: relative;
    }
    .status-timeline {
        padding-left: 1.5rem;
    }
    .group-status-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .status-filter-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}