/* 
 * Main CSS file for NCIS Template
 * Inspired by Mrs. GREEN APPLE sharp layout & NCIS Rock aesthetics.
 */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600&family=Noto+Sans+JP:wght@400;700&display=swap');

:root {
    --primary-color: #0d0d0d;
    --secondary-color: #1a1a1a;
    --text-color: #eaeaea;
    --text-muted: #888888;
    --accent-color: #c7ae41;
    /* Gold/Electric accent */
    --accent-hover: #e0ca65;
    --bg-color: #0a0a0a;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    line-height: 1.6;
}

h1,
h2,
h3,
.nav-link,
.btn-more {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.site-header {
    background-color: rgba(13, 13, 13, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--accent-color);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(5px);
}

.site-title a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 3px;
    display: inline-block;
}

.site-title img {
    max-height: 40px;
    width: auto;
    display: block;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.main-navigation a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.main-navigation a:hover {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

/* Hero Section & Slider */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 5s ease-out;
    transform: scale(1.05);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(10, 10, 10, 1) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeIn 2s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4.5rem;
    letter-spacing: 5px;
    margin: 0;
    color: #fff;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 8px;
    color: var(--accent-color);
    margin-top: 10px;
}

/* Main Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

.home-section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 40px;
    border-left: 5px solid var(--accent-color);
    padding-left: 15px;
    letter-spacing: 2px;
}

/* Lists and Cards */
.news-list,
.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.news-item,
.schedule-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
    padding: 12px 0;
    transition: transform 0.3s ease, background 0.3s ease;
}

.news-item:hover,
.schedule-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.02);
}

.news-date,
.schedule-date {
    font-family: 'Oswald', sans-serif;
    color: var(--accent-color);
    font-size: 1.1rem;
    width: 120px;
    flex-shrink: 0;
}

.news-cat,
.schedule-cat {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 0.75rem;
    padding: 2px 10px;
    margin-right: 20px;
    border-radius: 20px;
    font-weight: 600;
}

.schedule-cat.tour {
    background: var(--accent-color);
    color: #000;
}

.schedule-cat.event {
    background: transparent;
    color: var(--accent-color);
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 30px;
    padding: 8px 30px;
    font-size: 1.1rem;
    font-family: 'Oswald', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.filter-btn.active,
.filter-btn:hover {
    background: #fff;
    color: #000;
}

.fc-banner:hover {
    transform: scale(1.02);
}

.news-title a,
.schedule-title a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.news-title a:hover,
.schedule-title a:hover {
    color: var(--accent-hover);
}

.schedule-title {
    margin: 0;
}

.btn-more {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 40px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.btn-more:hover {
    background: var(--accent-color);
    color: #000;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.feature-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.feature-card img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

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

/* SNS Section Legacy Code Removed */

/* Footer */
.site-footer {
    background-color: var(--secondary-color);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid #333;
}

/* Discography Grid */
.disco-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
    margin-bottom: 50px;
}

@media (min-width: 768px) {
    .disco-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
}

.disco-item {
    text-align: center;
    transition: transform 0.3s ease;
}

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

.disco-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 15px;
    background: #111;
    border: 1px solid #333;
    border-radius: 4px;
}

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

.disco-item:hover .disco-img {
    transform: scale(1.05);
}

.disco-title {
    font-size: 1.1rem;
    color: #fff;
    margin: 0 0 5px 0;
    transition: color 0.3s ease;
}

.disco-item:hover .disco-title {
    color: var(--accent-hover);
}

.disco-date {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-family: 'Oswald', sans-serif;
}

.disco-cat {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* Profile Styles */
.bio-section {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 80px;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 2;
}

.members-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .members-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.member-card {
    background: #111;
    border: 1px solid #333;
    border-radius: 4px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.member-img-wrapper {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    position: relative;
}

.member-img-wrapper span {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #444;
    text-transform: uppercase;
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.member-card:hover .member-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.member-info {
    padding: 30px 20px;
}

.member-name {
    font-size: 1.6rem;
    color: #fff;
    margin: 0 0 5px 0;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 2px;
}

.member-part {
    color: var(--accent-color);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Release Banner for Square Album Art */
.release-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #111;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 40px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.release-banner:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.release-cover-wrapper {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1;
    background: #222;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 2px;
}

.release-cover-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.release-info {
    margin-top: 30px;
    text-align: center;
}

.release-info h3 {
    color: var(--accent-color);
    font-size: 2rem;
    margin: 0;
    letter-spacing: 3px;
    font-family: 'Oswald', sans-serif;
}

.release-info p {
    color: #fff;
    margin-top: 10px;
    font-size: 1.1rem;
}

@media (min-width: 768px) {
    .release-banner {
        flex-direction: row;
        justify-content: center;
        text-align: left;
        padding: 50px;
        gap: 50px;
    }

    .release-info {
        margin-top: 0;
        text-align: left;
    }
}

/* Responsive Design (Mobile) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
}

@media (max-width: 767px) {
    .menu-toggle {
        display: block;
    }

    .site-header {
        padding: 15px 20px !important;
    }

    .main-navigation ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0d0d0d;
        padding: 0;
        gap: 0 !important;
        border-bottom: 2px solid var(--accent-color);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .main-navigation ul.is-visible {
        display: flex;
    }

    .main-navigation ul li {
        text-align: center;
        padding: 20px 0;
        border-bottom: 1px solid #222;
        width: 100%;
    }

    .main-navigation ul li:last-child {
        border-bottom: none;
    }

    .hero-title {
        font-size: 2.3rem !important;
        letter-spacing: 2px !important;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
        letter-spacing: 3px !important;
    }

    .page-title {
        font-size: 2.2rem !important;
    }

    .filter-tabs {
        flex-wrap: wrap;
        gap: 10px !important;
    }

    .filter-btn {
        padding: 8px 15px !important;
        font-size: 0.9rem !important;
    }

    .news-title {
        font-size: 1.1rem !important;
    }

    .news-date {
        width: auto !important;
        margin-bottom: 5px;
        font-size: 1rem !important;
    }

    .news-item,
    .schedule-item {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 5px;
    }

    .schedule-date {
        width: auto !important;
    }

    .section-title {
        font-size: 2rem !important;
        margin-bottom: 30px !important;
    }

    .feature-card {
        padding: 30px 15px !important;
        min-height: 100px !important;
    }

    .release-cover-wrapper {
        max-width: 100% !important;
        margin-bottom: 20px;
    }
}

/* Robust Mobile Menu */
@media (max-width: 767px) {
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0d0d0d;
        border-bottom: 2px solid var(--accent-color);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    .main-navigation.is-visible {
        display: block !important;
    }

    .main-navigation ul {
        display: flex !important;
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

    .main-navigation ul li {
        width: 100%;
        border-bottom: 1px solid #222;
        padding: 15px 0;
    }
}

/* Promo Carousel */
.promo-banners-section {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    margin-bottom: 80px;
}

.promo-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}

.promo-carousel::-webkit-scrollbar {
    display: none;
}

.promo-banner-item {
    flex: 0 0 85%;
    scroll-snap-align: center;
    aspect-ratio: 21/9;
    background: #111;
    border: 1px solid #333;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

@media (min-width: 768px) {
    .promo-carousel {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow-x: visible;
    }
    .promo-banner-item {
        flex: none;
    }
}

.promo-banner-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.promo-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    transition: filter 0.3s ease;
    z-index: 1;
}

.promo-banner-item:hover .promo-banner-bg {
    filter: brightness(0.7);
}

.promo-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 10px;
}

.promo-banner-title {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 0 5px 0;
    letter-spacing: 2px;
}

.promo-banner-subtitle {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0;
}

@media (max-width: 767px) {
    .promo-carousel {
        gap: 10px;
        padding: 5px 0;
    }
    
    .promo-banner-content {
        padding: 5px;
    }
    
    .promo-banner-title {
        font-size: 1.1rem;
        letter-spacing: 1px;
        margin-bottom: 2px;
    }
    
    .promo-banner-subtitle {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
}

/* Full-bleed Schedule Section */
.home-section.schedule-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(180deg, #151515 0%, #0d0d0d 100%);
    padding: 100px 20px;
    box-sizing: border-box;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8);
    margin-top: 100px;
    margin-bottom: 100px;
}

.home-section.schedule-section>.section-title,
.home-section.schedule-section>.filter-tabs,
.home-section.schedule-section>.schedule-list,
.home-section.schedule-section>.btn-more {
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    /* To enforce proper centering and margins */
}

.home-section.schedule-section>.btn-more {
    width: fit-content;
    margin-top: 50px;
}

.home-section.schedule-section .section-title {
    text-align: center;
    border-left: none;
    padding-left: 0;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.home-section.schedule-section .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 20px auto 0;
}

.schedule-item {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #222;
    padding: 25px 20px;
    border-radius: 4px;
    margin-bottom: 10px;
    transform: none;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
}

/* Full-bleed Sections matching Mrs. GREEN APPLE layout style */
.home-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 80px 20px;
    box-sizing: border-box;
    margin-bottom: 0 !important;
    /* Override old margin */
    margin-top: 0 !important;
}

.home-section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* User requested deep green for News */
.home-section.news-section {
    background: linear-gradient(135deg, #0b1a26 0%, #060e14 100%);
    border-top: 1px solid #142a3e;
    border-bottom: 1px solid #060e14;
}

/* Schedule should have a different distinct background */
.home-section.schedule-section {
    background-color: #121212;
    border-bottom: 1px solid #222;
    border-top: none;
    box-shadow: none;
    margin-top: 0;
}

/* Media remains black */
.home-section.media-section {
    background: linear-gradient(135deg, #1f1a10 0%, #0d0a05 100%);
    border-top: 1px solid #332a1a;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.section-title {
    font-size: 2.5rem !important;
    color: #fff !important;
    margin: 0 !important;
    line-height: 1 !important;
    border-left: 5px solid var(--accent-color) !important;
    padding-left: 15px !important;
    letter-spacing: 2px !important;
    text-align: left !important;
}

.section-title::after {
    display: none !important;
}

.section-header .btn-more {
    display: inline-block !important;
    font-size: 0.9rem !important;
    padding: 8px 25px !important;
    border: 1px solid var(--accent-color) !important;
    border-radius: 30px !important;
    color: var(--accent-color) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
}

.section-header .btn-more:hover {
    background: var(--accent-color) !important;
    color: #000 !important;
}

/* Adjust old btn-more logic */
.home-section>.btn-more {
    display: none !important;
}

@media (max-width: 767px) {
    .section-header {
        align-items: center;
    }

    .section-title {
        font-size: 1.8rem !important;
    }

    .section-header .btn-more {
        padding: 5px 15px !important;
        font-size: 0.8rem !important;
    }
}


/* SNS Section Background */
.home-section.sns-section {
    background-color: #161616;
    border-top: 1px solid #2a2c2b;
    margin-top: 110px !important;
    padding: 12px 0; /* Drastically reduce vertical padding */
}

.sns-section .home-section-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 30px;
}

.sns-section .section-header {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding-left: 15px; /* Ensure yellow bar is visible */
}

.sns-section .section-title {
    margin: 0;
}

/* SNS Grid and Icons */
.sns-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0; /* Remove margins */
}

.sns-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.sns-link:hover {
    opacity: 0.7;
}

.sns-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

@media (max-width: 767px) {
    .home-section.sns-section {
        padding: 15px 0;
    }
    .sns-section .home-section-inner {
        position: relative;
        display: flex;
        justify-content: center;
    }
    .sns-section .section-header {
        position: absolute;
        left: 0;
    }
    .sns-section .section-title {
        font-size: 1.2rem;
    }
    .sns-grid {
        gap: 15px;
    }

    .sns-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 768px) {
    /* スマホ用: 背景画像を使わず、imgタグで表示 */
    .fanclub-section {
        background-image: none !important;
        background-color: #0d0d0d !important;
        padding: 0 !important;
        min-height: 0 !important;
        display: block !important;
    }
    .fanclub-section::before {
        display: none !important;
    }
    /* スマホ用バナー画像: 幅いっぱいに表示 */
    .fanclub-mobile-banner {
        display: block !important;
        width: 100%;
        height: auto;
    }
    .fanclub-inner {
        padding: 16px 20px !important;
        text-align: center;
    }
    .fanclub-logo-placeholder {
        display: none !important;
    }
    .fanclub-subtitle {
        display: none !important;
    }
    .fanclub-buttons {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 10px;
        justify-content: center;
        padding: 0 16px;
    }
    .fanclub-btn {
        padding: 12px 8px !important;
        font-size: 0.9rem !important;
        min-width: 0 !important;
        flex: 1;
        width: 0;
        text-align: center;
        letter-spacing: 0.08em !important;
    }
}


/* Page Header with Image Support */
.page-header {
    position: relative;
    padding: 100px 20px;
    /* Slightly taller for visual impact */
    text-align: center;
    border-bottom: 2px solid var(--accent-color) !important;
    background-color: #111;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Deep dark overlay */
    z-index: 1;
}

.page-header>* {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3.5rem !important;
    margin: 0;
    letter-spacing: 8px !important;
    color: #fff !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    border: none !important;
    /* Overriding previous rules if any */
}

.page-subtitle {
    color: var(--accent-color) !important;
    letter-spacing: 4px !important;
    font-size: 1rem !important;
    margin-top: 15px !important;
    font-weight: bold;
}

@media (max-width: 767px) {
    .page-header {
        padding: 60px 20px;
    }

    .page-title {
        font-size: 2.2rem !important;
        letter-spacing: 4px !important;
    }
}

/* =============================================
   BIOGRAPHY PAGE - ADDITIONAL STYLES
   ============================================= */
.biography-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 40px;
    background: var(--secondary-color);
    border-left: 4px solid var(--accent-color);
}
.bio-text {
    color: var(--text-color);
    line-height: 2;
    font-size: 0.95rem;
}
.members-section {
    margin-top: 0;
}
.member-role {
    font-size: 0.75rem;
    color: var(--accent-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    display: block;
}
.member-name-jp {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 12px;
}
.member-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.member-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}
.member-links a:hover {
    color: var(--accent-color);
}
.member-links img {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s;
    vertical-align: middle;
}
.member-links img:hover {
    opacity: 1;
}

/* =============================================
   GALLERY PAGE - ADDITIONAL STYLES
   ============================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.gallery-item {
    background: var(--secondary-color);
    overflow: hidden;
    border: 1px solid #333;
    transition: border-color 0.3s ease;
}
.gallery-item:hover {
    border-color: var(--accent-color);
}
.gallery-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.gallery-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #111;
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-thumb img {
    transform: scale(1.05);
}
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    transition: transform 0.3s ease;
}
.gallery-item:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.2);
}
.gallery-title {
    padding: 10px 12px;
    font-size: 0.85rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.4;
}

/* =============================================
   COMMON ADDITIONS
   ============================================= */
.no-items {
    text-align: center;
    color: var(--text-muted);
    padding: 60px 20px;
    font-size: 1rem;
}
.section-heading {
    font-size: 2rem;
    color: #fff;
    border-left: 5px solid var(--accent-color);
    padding-left: 15px;
    letter-spacing: 3px;
    margin-bottom: 30px;
}
.section-padding {
    padding: 80px 20px;
}
.schedule-venue {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 4px 0 0;
}
.schedule-detail {
    flex: 1;
}

@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .section-padding {
        padding: 50px 20px;
    }
}

/* =============================================
   RESPONSIVE FIXES
   ============================================= */

/* ヒーロー画像 スマホ対応 */
@media (max-width: 767px) {
    .hero-section {
        height: 50vh;
        min-height: 300px;
    }
    .slide {
        background-position: center center;
        background-size: contain;
        background-repeat: no-repeat;
        background-color: #000;
    }
    .hero-content {
        padding: 0 20px;
        width: 100%;
    }
}

/* メンバー写真 サイズ制限 */
.member-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #222;
    position: relative;
}
.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    max-width: 100%;
}

/* ===== MEDIA VIDEO CARDS (YouTube MV) ===== */
.media-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.media-video-card {
    background: #111;
    border-radius: 4px;
    overflow: hidden;
}

.media-video-thumb {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.media-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
}

.media-video-thumb:hover img {
    transform: scale(1.04);
    opacity: 0.8;
}

.media-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.media-video-thumb:hover .media-video-play {
    background: rgba(200, 170, 80, 0.85);
}

.media-video-info {
    padding: 12px 14px 16px;
}

.media-video-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin: 0 0 6px;
    line-height: 1.4;
}

.media-video-date {
    color: var(--accent-color, #c8aa50);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    margin: 0;
}

@media (max-width: 600px) {
    .media-video-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ===== MEDIA VIDEO CARDS (YouTube MV) ===== */
.media-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.media-video-card {
    background: #111;
    border-radius: 4px;
    overflow: hidden;
}

.media-video-thumb {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.media-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
}

.media-video-thumb:hover img {
    transform: scale(1.04);
    opacity: 0.8;
}

.media-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.media-video-thumb:hover .media-video-play {
    background: rgba(200, 170, 80, 0.85);
}

.media-video-info {
    padding: 12px 14px 16px;
}

.media-video-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin: 0 0 6px;
    line-height: 1.4;
}

.media-video-date {
    color: var(--accent-color, #c8aa50);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    margin: 0;
}

@media (max-width: 600px) {
    .media-video-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ============================================
   GALLERY SECTION (Top Page)
   ============================================ */
.gallery-section {
    background: #0a0a0a;
    padding: 60px 20px;
}

.gallery-subsection {
    margin-bottom: 48px;
}

.gallery-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: #c8a96e;
    font-weight: 600;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 3px solid #c8a96e;
}

/* VIDEO カルーセル */
.gallery-video-swiper {
    overflow: hidden;
    padding-bottom: 40px;
}

.gallery-video-thumb {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    background: #111;
}

.gallery-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-video-thumb:hover img {
    transform: scale(1.04);
}

.gallery-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.55);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.gallery-video-thumb:hover .gallery-video-play {
    background: rgba(200, 169, 110, 0.85);
}

.gallery-video-title {
    font-size: 0.85rem;
    color: #fff;
    margin: 10px 0 4px;
    font-weight: 500;
    line-height: 1.4;
}

.gallery-video-date {
    font-size: 0.75rem;
    color: #c8a96e;
    letter-spacing: 0.05em;
}

/* PHOTO カルーセル */
.gallery-photo-swiper {
    overflow: hidden;
    padding-bottom: 40px;
}

.gallery-photo-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    background: #111;
}

.gallery-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-photo-caption {
    font-size: 0.78rem;
    color: #aaa;
    margin: 8px 0 0;
    letter-spacing: 0.05em;
}

/* Swiper ナビゲーションボタン（GALLERY用） */
.gallery-video-swiper .swiper-button-prev,
.gallery-video-swiper .swiper-button-next,
.gallery-photo-swiper .swiper-button-prev,
.gallery-photo-swiper .swiper-button-next {
    color: #c8a96e;
    background: rgba(0,0,0,0.5);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    top: 40%;
}

.gallery-video-swiper .swiper-button-prev::after,
.gallery-video-swiper .swiper-button-next::after,
.gallery-photo-swiper .swiper-button-prev::after,
.gallery-photo-swiper .swiper-button-next::after {
    font-size: 14px;
    font-weight: 700;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .gallery-section {
        padding: 40px 20px;
    }
    .gallery-video-play {
        width: 44px;
        height: 44px;
    }
    .gallery-video-play svg {
        width: 28px;
        height: 28px;
    }
    .gallery-video-swiper .swiper-button-prev,
    .gallery-video-swiper .swiper-button-next,
    .gallery-photo-swiper .swiper-button-prev,
    .gallery-photo-swiper .swiper-button-next {
        display: none;
    }
}

/* ===================================
   RULE's FAN CLUB SECTION
   =================================== */

.fanclub-section {
    background: #fff url('/wp-content/themes/ncis_theme/assets/images/fv-banner.jpg') center center / contain no-repeat;
    border-top: 1px solid #c9a84c;
    border-bottom: 1px solid #c9a84c;
    padding: 60px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* PC: スマホ用バナー画像は非表示 */
.fanclub-mobile-banner {
    display: none;
}

.fanclub-section::before {
    content: '';
    position: absolute;
    top: 0;
    
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: none;
}

.fanclub-inner {
    position: relative;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.fanclub-logo-placeholder {
    width: 100px;
    height: 100px;
    border: 2px solid #c9a84c;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.05);
}

.fanclub-logo-text {
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #c9a84c;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fanclub-subtitle {
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #aaa;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0 0 32px;
}

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

.fanclub-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 40px;
    border-radius: 50px;
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 160px;
    justify-content: center;
}

.fanclub-btn-join {
    background: #c9a84c;
    color: #0d0d0d;
    border: 2px solid #c9a84c;
}

.fanclub-btn-join:hover {
    background: transparent;
    color: #c9a84c;
}

.fanclub-btn-login {
    background: transparent;
    color: #c9a84c;
    border: 2px solid #c9a84c;
}

.fanclub-btn-login:hover {
    background: #c9a84c;
    color: #0d0d0d;
}

.fanclub-btn-arrow {
    font-size: 1.2rem;
    line-height: 1;
}

/* スマホ対応 */
/* 末尾の古いモバイルブロックは削除済み */
