/* ==========================================================================
   Who We Are v2 - Design 4: シネマティック・ナチュラル

   Light background (#ECECEC) with brown/orange accents.
   16:9 hero image, 2-column fixed member grid, vertical stats layout.
   All rules scoped under body.wwa-design-4 prefix.
   ========================================================================== */

/* ==========================================================================
   1. CSS変数定義（カスタマイズポイント）
   ========================================================================== */
body.wwa-design-4 {
    /* カラーパレット */
    --color-primary: #0a0a0a;
    --color-secondary: #1a1a1a;
    --color-accent: #5e4030;
    --color-accent-hover: #f06948;
    --color-text: #333;
    --color-text-secondary: #423e3a;
    --color-text-muted: #965438;
    --color-text-hover: #f06948;
    --color-border: #2d3748;
    --color-bg: #ECECEC;
    --color-bg-card: rgba(255, 255, 255, 0.05);
    --color-bg-card-hover: rgba(255, 255, 255, 0.08);

    /* グラデーション */
    --gradient-primary: linear-gradient(135deg, #ffc27d 0%, #e66730 100%);
    --gradient-secondary: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --gradient-accent: linear-gradient(135deg, #70564a 0%, #786760 100%);

    /* スペーシング - 8pxベースのスケール */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 5rem;

    /* タイポグラフィ */
    --font-family-sans: 'Noto Sans JP', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;

    /* フォントウェイト */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* 行間 */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* トランジション */
    --transition-fast: 0.15s ease-in-out;
    --transition-default: 0.2s ease-in-out;
    --transition-slow: 0.3s ease-in-out;

    /* 影設定 */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.15);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);

    /* ボーダーラディウス */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-full: 50%;

    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ==========================================================================
   2. ベーススタイル - リセットと基本設定
   ========================================================================== */
body.wwa-design-4 *,
body.wwa-design-4 *::before,
body.wwa-design-4 *::after {
    box-sizing: border-box;
}

body.wwa-design-4 {
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    min-height: 100vh;
    transition: background-color var(--transition-default);
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden !important;
}

/* リンク */
body.wwa-design-4 a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-default);
}

body.wwa-design-4 a:hover {
    color: var(--color-text-hover);
}

/* ボタン（ハンバーガーメニュー等の共通UIは除外） */
body.wwa-design-4 button:not(.hamburger-menu) {
    background: none;
    border: 2px solid var(--color-border);
    color: inherit;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition:
        background-color var(--transition-default),
        border-color var(--transition-default);
}

body.wwa-design-4 button:not(.hamburger-menu):hover {
    background-color: var(--color-secondary);
    border-color: var(--color-accent);
}

/* 画像の最適化 */
body.wwa-design-4 img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   3. v2ラッパースタイル（individual sections方式）
   ========================================================================== */
body.wwa-design-4 .wwa-section {
    padding: 4rem 0;
}

body.wwa-design-4 .wwa-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* ==========================================================================
   4. ヒーローセクション
   ========================================================================== */
body.wwa-design-4 .hero-content {
    position: relative;
    z-index: 5;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

body.wwa-design-4 .hero-section,
body.wwa-design-4 .wwa-section.wwa-hero {
    position: relative;
    padding: var(--spacing-lg) 0;
    overflow: hidden;
    background: var(--color-bg);
}

/* Band Connectロゴ（左上配置） */
body.wwa-design-4 .bandconnect-logo {
    position: fixed;
    top: var(--spacing-lg);
    left: var(--spacing-lg);
    z-index: 9999;
    transition: transform var(--transition-default);
}

body.wwa-design-4 .bandconnect-logo a {
    display: block;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 6px;
}

body.wwa-design-4 .bandconnect-logo img {
    width: auto;
    transition: all var(--transition-default);
    display: block;
}

body.wwa-design-4 .bandconnect-logo:hover {
    transform: scale(1.05);
}

body.wwa-design-4 .bandconnect-logo:hover img {
    opacity: 0.8;
}

/* ヒーロー背景画像 - 16:9アスペクト比 */
body.wwa-design-4 .hero-background {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

body.wwa-design-4 .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-slow);
}

/* バンド名 */
body.wwa-design-4 .band-name {
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: #000;
    text-align: center;
    margin: 2rem 0 1rem 0;
    letter-spacing: 2px;
    line-height: 1.2;
}

/* バンド紹介文 */
body.wwa-design-4 .band-tagline {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    text-align: center;
    margin: 0 auto 2rem auto;
    max-width: 800px;
    text-align: justify;
}

body.wwa-design-4 h1,
body.wwa-design-4 h2,
body.wwa-design-4 h3 {
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #000;
}

body.wwa-design-4 section {
    padding: 60px 0;
    width: 100%;
    box-sizing: border-box;
}

/* 統一コンテナ内のセクションは親の幅に従う */
body.wwa-design-4 .main-container section {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 統一コンテナ */
body.wwa-design-4 .main-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

body.wwa-design-4 h2 {
    font-size: 1.8rem;
    font-weight: 900;
}

/* --- Header --- */
body.wwa-design-4 header {
    padding-bottom: 60px;
}

body.wwa-design-4 .main-visual {
    width: 100%;
    height: auto;
    display: block;
}

body.wwa-design-4 .header-content {
    padding: 0 40px;
}

body.wwa-design-4 h1 {
    font-size: 2.7rem;
    margin-top: 40px;
    letter-spacing: 2px;
}

body.wwa-design-4 .description {
    margin-top: 20px;
    font-size: 1.0rem;
    line-height: 1.8;
}

/* ==========================================================================
   5. バンド統計情報 (Band Stats) - 縦並びレイアウト
   ========================================================================== */
body.wwa-design-4 .band-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 40px;
}

body.wwa-design-4 .stat-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

body.wwa-design-4 .stat-label {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #555;
}

body.wwa-design-4 .stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    line-height: 1;
}

body.wwa-design-4 .header-info {
    margin-top: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    display: flex;
    gap: 20px;
}

/* ==========================================================================
   6. セクションタイトル
   ========================================================================== */
body.wwa-design-4 .section-title {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    margin-bottom: 20px;
}

/* ==========================================================================
   7. バンド情報セクション
   ========================================================================== */
body.wwa-design-4 .info-grid {
    display: grid;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    margin-bottom: 40px;
}

body.wwa-design-4 .content-section,
body.wwa-design-4 .wwa-section.wwa-info {
    position: relative;
    padding: var(--spacing-lg) 0;
    overflow: hidden;
    background: var(--color-bg);
}

/* 情報リストのコンテナ */
body.wwa-design-4 .info-details {
    border-top: 1px solid #d1d1d1;
}

/* 各情報アイテム */
body.wwa-design-4 .info-item {
    display: flex;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #d1d1d1;
    font-size: 1rem;
    color: #333;
}

/* ラベル */
body.wwa-design-4 .info-label {
    width: 100px;
    flex-shrink: 0;
    font-weight: 500;
    color: #000;
}

/* リンク */
body.wwa-design-4 .info-item a {
    color: #333;
    text-decoration: none;
    word-break: break-all;
}

body.wwa-design-4 .info-item a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   8. メンバーセクション - 2カラム固定グリッド
   ========================================================================== */
body.wwa-design-4 .members-section,
body.wwa-design-4 .wwa-section.wwa-members {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
    margin-bottom: 40px;
}

body.wwa-design-4 .members-grid {
    display: grid;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 40px;
}

body.wwa-design-4 .member-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* 写真を囲むコンテナ - 3:4アスペクト比 */
body.wwa-design-4 .member-photo {
    position: relative;
    width: 120px;
    aspect-ratio: 3 / 4;
    flex-shrink: 0;
}

body.wwa-design-4 .member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* コンテナに枠線(フレーム)を追加する疑似要素 */
body.wwa-design-4 .member-photo::after {
    content: '';
    position: absolute;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border: 1px solid #333;
    top: 5px;
    left: 5px;
    z-index: 1;
}

body.wwa-design-4 .member-details h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

body.wwa-design-4 .member-instrument {
    font-family: 'Outfit', sans-serif;
    font-size: 1.0rem;
    font-weight: 500;
    color: #777;
    margin-bottom: 10px;
}

body.wwa-design-4 .member-profile {
    font-size: 0.89rem;
    margin-top: 10px;
    line-height: 1.6;
}

/* メンバーSNSアイコン */
body.wwa-design-4 .member-sns-icons {
    display: flex;
    gap: var(--spacing-md);
}

body.wwa-design-4 .sns-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--color-text);
    transition: var(--transition-default);
    margin-top: 10px;
}

body.wwa-design-4 .sns-icon:hover i {
    color: #ffffff;
}

body.wwa-design-4 .sns-icon:hover {
    transform: translateY(-2px);
    border-color: transparent;
}

body.wwa-design-4 .sns-icon.x-icon:hover {
    background: #000000;
}

body.wwa-design-4 .sns-icon.instagram-icon:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

body.wwa-design-4 .sns-icon.facebook-icon:hover {
    background: #1877f2;
}

/* ==========================================================================
   9. バンドストーリーセクション
   ========================================================================== */
body.wwa-design-4 .story-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    margin-bottom: 20px;
}

/* ==========================================================================
   10. ニュースセクション
   ========================================================================== */
body.wwa-design-4 .news-section,
body.wwa-design-4 .wwa-section.wwa-news {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
    margin-bottom: 80px;
}

body.wwa-design-4 .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    padding: 0 2rem;
}

body.wwa-design-4 .news-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition-default);
    overflow: hidden;
    cursor: pointer;
}

body.wwa-design-4 .news-card:hover {
    background: var(--color-bg-card-hover);
    transform: translateY(-4px);
}

/* ニュース写真 */
body.wwa-design-4 .news-photo {
    height: 200px;
    overflow: hidden;
    position: relative;
}

body.wwa-design-4 .news-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

body.wwa-design-4 .news-card:hover .news-photo img {
    transform: scale(1.05);
}

body.wwa-design-4 .news-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #877667;
    color: white;
    font-size: var(--font-size-3xl);
}

/* ニュース情報 */
body.wwa-design-4 .news-info {
    padding: var(--spacing-lg);
}

body.wwa-design-4 .news-date {
    font-size: var(--font-size-sm);
    color: var(--color-accent);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-sm);
}

body.wwa-design-4 .news-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
    line-height: var(--line-height-tight);
}

body.wwa-design-4 .news-content {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
    color: var(--color-text-secondary);
}

/* ==========================================================================
   11. ライブセクション
   ========================================================================== */
body.wwa-design-4 .live-section,
body.wwa-design-4 .wwa-section.wwa-live {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
    margin-bottom: 40px;
}

body.wwa-design-4 .live-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    padding: 0 2rem;
}

body.wwa-design-4 .live-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition-default);
    padding: var(--spacing-xl);
}

body.wwa-design-4 .live-header {
    margin-bottom: var(--spacing-lg);
}

body.wwa-design-4 .live-date {
    font-size: var(--font-size-base);
    color: var(--color-accent);
    font-weight: var(--font-weight-medium);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

body.wwa-design-4 .live-time {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-left: var(--spacing-sm);
}

body.wwa-design-4 .live-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

body.wwa-design-4 .live-venue {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

body.wwa-design-4 .venue-link {
    color: var(--color-accent);
    text-decoration: underline;
}

body.wwa-design-4 .live-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

body.wwa-design-4 .live-price,
body.wwa-design-4 .live-order,
body.wwa-design-4 .live-performance {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* ==========================================================================
   12. ギャラリーセクション
   ========================================================================== */
body.wwa-design-4 .gallery-section,
body.wwa-design-4 .wwa-section.wwa-gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
    margin-bottom: 40px;
}

body.wwa-design-4 .gallery-subsection {
    margin-bottom: var(--spacing-3xl);
    padding: 0 2rem;
}

body.wwa-design-4 .gallery-subtitle {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-xl);
    color: var(--color-text);
}

/* 写真グリッド */
body.wwa-design-4 .photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

body.wwa-design-4 .photo-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-default);
}

body.wwa-design-4 .photo-item:hover {
    transform: translateY(-2px);
}

body.wwa-design-4 .photo-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition-slow);
}

body.wwa-design-4 .photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-default);
}

body.wwa-design-4 .photo-item:hover .photo-overlay {
    opacity: 1;
}

body.wwa-design-4 .photo-overlay i {
    font-size: var(--font-size-2xl);
    color: white;
}

/* YouTube動画ギャラリー */
body.wwa-design-4 .youtube-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

body.wwa-design-4 .youtube-card {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

body.wwa-design-4 .youtube-embed,
body.wwa-design-4 .youtube-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.wwa-design-4 .youtube-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

body.wwa-design-4 .youtube-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

body.wwa-design-4 .youtube-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

body.wwa-design-4 .youtube-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.wwa-design-4 .youtube-play-button {
    color: #ffffff;
    font-size: 50px;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

body.wwa-design-4 .youtube-link:hover .youtube-thumb-img {
    transform: scale(1.05);
}

body.wwa-design-4 .youtube-link:hover .youtube-play-button {
    transform: scale(1.1);
}

/* PC/モバイル表示切替 */
body.wwa-design-4 .mobile-only {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

body.wwa-design-4 .desktop-only {
    visibility: visible;
    opacity: 1;
}

/* ==========================================================================
   13. データなしメッセージ
   ========================================================================== */
body.wwa-design-4 .no-members,
body.wwa-design-4 .no-news,
body.wwa-design-4 .no-lives,
body.wwa-design-4 .no-gallery {
    padding: 0 2rem;
    color: var(--color-text-secondary);
}

/* ==========================================================================
   14. SNSセクション
   ========================================================================== */
body.wwa-design-4 .sns-section,
body.wwa-design-4 .wwa-section.wwa-sns {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
    margin-bottom: 40px;
}

body.wwa-design-4 .sns-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: nowrap; /* 1行に並べる */
    padding: 0 2rem;
}

body.wwa-design-4 .sns-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--color-bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-default);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    flex-shrink: 0; /* 縮小を防ぐ */
    width: auto; /* 幅を自動調整（コンテンツサイズ） */
}

body.wwa-design-4 .sns-link:hover {
    background: #523c30;
    transform: translateY(-2px);
    color: #ffffff;
}

body.wwa-design-4 .sns-link i {
    font-size: 1.5rem; /* アイコンサイズを大きく */
}

/* ==========================================================================
   15. アクションボタン
   ========================================================================== */
body.wwa-design-4 .news-actions,
body.wwa-design-4 .live-actions {
    text-align: center;
    margin-top: var(--spacing-xl);
}

body.wwa-design-4 .action-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    color: black;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    transition: var(--transition-default);
    border: 1px solid rgba(0, 0, 0, 0.4);
}

body.wwa-design-4 .action-btn:hover {
    transform: translateY(-2px);
    color: #ffffff;
    background-color: #523c30;
}

/* ==========================================================================
   16. バックトゥトップボタン
   ========================================================================== */
body.wwa-design-4 .back-to-top {
    position: fixed;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: var(--transition-default);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-fixed);
    opacity: 0;
    visibility: hidden;
}

body.wwa-design-4 .back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

body.wwa-design-4 .back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* ==========================================================================
   17. ライトボックス
   ========================================================================== */
body.wwa-design-4 .lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.wwa-design-4 .lightbox-overlay.visible {
    opacity: 1;
    visibility: visible;
}

body.wwa-design-4 .lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.wwa-design-4 .lightbox-content img {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    border-radius: 4px;
}

body.wwa-design-4 .lightbox-close {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    transition: opacity 0.3s ease;
    z-index: calc(var(--z-modal) + 1);
    line-height: 1;
}

body.wwa-design-4 .lightbox-close:hover {
    opacity: 0.7;
}

/* ==========================================================================
   18. モーダル
   ========================================================================== */
body.wwa-design-4 .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(236, 236, 236, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-default);
}

body.wwa-design-4 .modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

body.wwa-design-4 .modal-content {
    background: var(--color-bg);
    border-radius: var(--radius-sm);
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.wwa-design-4 .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.wwa-design-4 .modal-header h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
}

body.wwa-design-4 .modal-close {
    font-size: var(--font-size-2xl);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: var(--transition-default);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.wwa-design-4 .modal-close:hover {
    color: var(--color-text);
}

body.wwa-design-4 .modal-body {
    padding: var(--spacing-xl);
}

/* 過去のニュース・ライブアイテム */
body.wwa-design-4 .past-news-item,
body.wwa-design-4 .past-live-item {
    padding: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--spacing-lg);
}

body.wwa-design-4 .past-news-item:last-child,
body.wwa-design-4 .past-live-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

body.wwa-design-4 .past-news-date,
body.wwa-design-4 .past-live-date {
    font-size: var(--font-size-sm);
    color: var(--color-accent);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

body.wwa-design-4 .past-news-title,
body.wwa-design-4 .past-live-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

body.wwa-design-4 .past-news-content,
body.wwa-design-4 .past-live-details {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
}

body.wwa-design-4 .past-news-photo {
    margin-top: var(--spacing-md);
}

body.wwa-design-4 .past-news-photo img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--radius-sm);
}

body.wwa-design-4 .past-live-venue {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

body.wwa-design-4 .past-live-price,
body.wwa-design-4 .past-live-order {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

/* ==========================================================================
   19. レスポンシブ調整 - スマートフォン (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    body.wwa-design-4 section {
        padding: 40px 8px;
    }

    body.wwa-design-4 .section-title {
        padding-right: 15px;
        padding-left: 15px;
        margin-bottom: 5px;
    }

    body.wwa-design-4 .bandconnect-logo {
        top: 15px;
        left: 15px;
    }

    body.wwa-design-4 .hero-content,
    body.wwa-design-4 .info-grid,
    body.wwa-design-4 .members-grid,
    body.wwa-design-4 .news-grid,
    body.wwa-design-4 .live-grid,
    body.wwa-design-4 .story-content,
    body.wwa-design-4 .gallery-subsection {
        padding: 15px;
    }

    body.wwa-design-4 .wwa-section {
        padding: 2rem 0;
    }

    body.wwa-design-4 .wwa-container {
        padding: 0 1rem;
    }

    body.wwa-design-4 .header-content {
        padding: 0 20px;
    }

    body.wwa-design-4 h1 {
        font-size: 2.5rem;
    }

    body.wwa-design-4 h2 {
        font-size: 1.5rem;
    }

    body.wwa-design-4 .header-info {
        flex-direction: column;
        gap: 5px;
    }

    /* メンバーグリッド - 1カラムに変更 */
    body.wwa-design-4 .members-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    body.wwa-design-4 .member-photo {
        width: 100px;
        height: 133.33px;
    }

    body.wwa-design-4 .member-photo::after {
        content: '';
        position: absolute;
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        border: 1px solid rgba(0, 0, 0, 0.4);
        top: 5px;
        left: 5px;
        z-index: 1;
    }

    body.wwa-design-4 .news-grid,
    body.wwa-design-4 .live-grid {
        margin-top: 5px;
    }

    body.wwa-design-4 .news-actions,
    body.wwa-design-4 .live-actions {
        margin-top: 5px;
    }

    body.wwa-design-4 .news-grid {
        grid-template-columns: 1fr;
    }

    body.wwa-design-4 .photos-grid {
        grid-template-columns: 1fr;
    }

    body.wwa-design-4 .youtube-grid {
        grid-template-columns: 1fr;
    }

    body.wwa-design-4 .sns-links {
        gap: var(--spacing-md);
        flex-wrap: wrap; /* モバイルでは折り返しを許可 */
    }

    body.wwa-design-4 .sns-link {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-sm);
    }

    body.wwa-design-4 .modal-content {
        max-width: 95vw;
        margin: var(--spacing-md);
    }

    body.wwa-design-4 .modal-header {
        padding: var(--spacing-md);
    }

    body.wwa-design-4 .modal-body {
        padding: var(--spacing-md);
    }

    /* 表示/非表示を逆転 */
    body.wwa-design-4 .mobile-only {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    body.wwa-design-4 .desktop-only {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }
}
