    @import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');

    /* --- 1. 基本・レイアウト --- */
    body { 
        background: #e66043; /* 指定の背景色 */
        color: #fff; 
        font-family: "Noto Sans JP", sans-serif; 
        padding: 0;
        margin: 0; 
        line-height: 1.6; 
    }
    a {color: #000;}
    .container { max-width: 900px; margin: 0 auto; box-sizing: border-box; padding: 20px; }
    .sp-br{
        display: none;
    }
    img {
        max-width: 100%;
    }

    #mv {
        width: 100%;
        max-width: 900px; margin: 0 auto;
    }

    #mv .logo {
        width: 50%;
    }

    #mv .text p {
        text-align: right;
        font-family: "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
        line-height: 1.5; 
        font-weight: bold;
        margin: 1em 0;
    }
    @media (max-width: 768px) {
        .sp-br{
            display: block;
        }

        #mv .text p {
            font-size: 90%;
        }
    }

    /* メイン見出し */
    h2 { 
        font-family: 'Bebas Neue', sans-serif;
        text-align: center;
        border: none;
        padding: 0;
        margin-top: 180px; 
        margin-bottom: 30px;
        font-size: 3.2rem; 
        letter-spacing: 0.05em; 
        color: #fff; 
    }

    /* --- 2. FullCalendar 共通設定 --- */
    .fc { background: transparent !important; border: none !important; }
    .fc-theme-standard .fc-scrollgrid, .fc-theme-standard .fc-list { border: none !important; }
    .fc-theme-standard td, .fc-theme-standard th { border: none !important; }
    .fc .fc-scrollgrid-section-sticky > * {background-color: rgba(255, 255, 255, 0.4);}
    .fc-list-day, .fc-list-event-dot, .fc-list-event-graphic { display: none !important; }
    .fc-list-table { border: none !important; border-collapse: collapse; width: 100% !important; }

    /* --- 3. リスト形式（LIVE/NEWS） --- */
    #calendar-live-list {
        margin-bottom: 20px;
    }
    .fc-list-event td {
        background: transparent !important;
        padding: 0 !important;
        transition: all 0.2s ease;
    }

    /* ホバー演出：背景を少し暗くし、白線を左に */
    .fc-list-event:hover td {
        background: rgba(0, 0, 0, 0.1) !important;
        border-left: 4px solid #fff !important; /* borderは白 */
    }

    .event-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 18px 20px 18px 0;
        box-sizing: border-box;
        border-bottom: 1px solid rgba(255, 255, 255, 0.4); /* borderは白 */
        transition: all 0.2s ease;
    }
    .fc-list-event:hover .event-container {
        padding-left: 20px;
    }

    .event-info-side { flex: 1; padding-right: 20px; }
    .event-title { font-size: 1rem; font-weight: 700; color: #fff; }
    
    .event-date-live { font-size: 0.9rem; color: #fff; font-weight: 900; margin-bottom: 4px; }
    .event-date-news { font-size: 0.9rem; color: #fff; font-weight: 900; margin-bottom: 4px; } /* NEWSはアクセントで黒 */
    .event-venue { font-size: 0.85rem; color: rgba(255, 255, 255, 0.8); margin-top: 4px; }

    /* ボタン：黒 */
    .detail-btn { 
        font-family: 'Bebas Neue', sans-serif;
        background: #000; 
        color: #fff; 
        border: none; 
        padding: 10px 24px; 
        border-radius: 0; 
        cursor: pointer; 
        font-size: 1.2rem; 
        box-sizing: border-box; 
        letter-spacing: 0.05em;
    }
    .btn-news { background: #000 !important; opacity: 0.8; }

    /* --- 4. 月間カレンダー形式 --- */
    .fc-toolbar-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem !important; color: #fff !important; }
    .fc-daygrid-day-number { color: #fff !important; font-weight: 700; text-decoration: none !important; font-size: 85%;}
    .fc-col-header-cell-cushion { color: #fff !important; opacity: 0.7; text-decoration: none !important; }
    .fc-button-primary { background-color: #000 !important; border: none !important; }
    
    /* カレンダー内の予定：黒 */
    .fc-daygrid-event { background-color: #000 !important; border: none !important; border-radius: 0 !important; }
    .fc-event-title { color: #fff !important; font-size: 0.8rem !important; }

    /* --- 5. ビデオ・モーダル --- */
    #video-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 20px; }
    .video-container { position: relative; width: 100%; padding-top: 56.25%; background: #000; border-radius: 0; overflow: hidden; }
    .video-iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
    .video-title { margin-top: 12px; font-weight: 700; font-size: 1rem; color: #fff; }

    /* モーダル表示制御 */
    .modal { 
        display: none; 
        position: fixed; 
        z-index: 10000; 
        left: 0; top: 0; 
        width: 100%; height: 100%; 
        background: rgba(0,0,0,0.8); 
        backdrop-filter: blur(5px); 
        /* 中のコンテンツを画面中央に配置 */
    align-items: center;
    justify-content: center;
    }
    .modal.is-open { display: flex !important; align-items: center; justify-content: center; }

    .modal-content { 
        background: #e66043; 
        color: #fff;
        padding: 40px; 
        width: 90%; 
        max-width: 550px; 
        border-radius: 0; 
        position: relative; 
        box-sizing: border-box; 
        max-height: 85vh;    /* 画面の高さの85%を上限にする */
    overflow-y: auto;    /* 中身が溢れたらスクロールさせる */
    overscroll-behavior: contain; /* スクロールが端に達しても背後の画面を動かさない */
    }
    @media (max-width: 768px) {
        .modal-content {
            max-height: 90vh; /* スマホは画面いっぱいに使い切る */
        }
    }
    /* ポップアップのh2はNoto Sans JPに固定 */
    .modal-content h2 { 
        font-family: "Noto Sans JP", sans-serif !important; 
        text-align: left; 
        font-size: 1.5rem; 
        font-weight: 900; 
        margin: 0 0 15px 0; 
        letter-spacing: 0;
    }

    .close-btn { position: absolute; top: 0px; right: 0px; font-size: 40px; cursor: pointer; color: #fff; line-height: 1; }
    .modal-description { margin-bottom: 25px; white-space: pre-wrap; word-break: break-all; font-size: 0.95rem; }
    .modal-date-location { border-bottom: 1px solid rgba(255,255,255,0.4); margin-bottom: 20px; padding-bottom: 15px; font-weight: 700; }
    
    .ticket-btn, .map-btn { 
        font-family: 'Bebas Neue', sans-serif;
        display: block; width: 100%; padding: 15px; margin-top: 12px; 
        text-align: center; text-decoration: none; font-weight: bold; font-size: 1.3rem;
        box-sizing: border-box; 
    }
    .ticket-btn { background: #000; color: #fff; }
    .map-btn { background: rgba(255,255,255,1); color: #e66043;}

    /* --- 6. レスポンシブ --- */
    @media (max-width: 768px) {
        #mv .logo { margin: 10px 0 0 20px;}
        #mv .text { padding: 20px;}
        .container { padding: 20px; }
        h2 { font-size: 2.2rem; margin-top: 100px; }
        .event-container { flex-direction: column; align-items: flex-start; padding-right: 0; }
        .event-info-side { width: 100%; padding-right: 0; margin-bottom: 12px; }
        .event-button-side, .detail-btn { width: 100%; text-align: center; font-size: 1rem; }
        .fc-toolbar-title { font-size: 1.2rem !important;}
        .fc-list-event:hover td { padding-left: 20px !important; }
        .event-title { font-size: 0.9rem; }

    }

/* --- 7. MEMBERS ギャラリー（最新統合版） --- */

/* --- 7. MEMBERS ギャラリー（最新統合・文字サイズ集約版） --- */

.member-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
    transition: height 0.6s cubic-bezier(0.7, 0, 0.3, 1);
    align-items: flex-start;
    /* コンテナクエリの基準に設定 */
    container-type: inline-size;
    container-name: memberContainer;
}

.member-item {
    position: relative;
    width: 100%;
    padding-top: 150%; /* PCは縦長 */
    height: 0;
    max-height: 0;
    cursor: pointer;
    overflow: hidden;
    background: #000;
    isolation: isolate;
    transition: opacity 0.5s ease;
}

/* スマホ版：1192x1113 の実寸比率を強制 */
@media (max-width: 768px) {
    .member-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .member-item {
        padding-top: 93.37% !important; 
        height: 0 !important;
        max-height: 0 !important;
    }
}

/* 拡大中、元の4枚を消す */
.member-grid.is-expanded .member-item {
    opacity: 0;
    pointer-events: none;
}

.member-photo-thumb {
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center; /* 上基準でトリミング */
    z-index: 0;
}

.overlay-color {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--member-color);
    mix-blend-mode: multiply;
    z-index: 1;
}

.member-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    padding: 20px; box-sizing: border-box; z-index: 2;
}

/* スマホ時、サムネイルの文字位置を下寄りに */
@media (max-width: 768px) {
    .member-overlay { align-items: flex-end; }
}

.member-name { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: #fff; }

/* --- 拡大詳細エリア --- */
.member-detail-view {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 100;
    clip-path: inset(0 100% 0 0);
    pointer-events: none;
    transition: clip-path 0.8s cubic-bezier(0.7, 0, 0.3, 1) 0.05s;
}

.member-detail-view.is-open {
    clip-path: inset(0 0 0 0);
    pointer-events: auto;
}

.member-detail-view.is-closing {
    clip-path: inset(0 100% 0 0);
    transition-delay: 0s;
}

.detail-photo {
    width: 100%;
    height: auto;
    display: block;
}

/* コンテンツエリア：プレーン設定 */
.detail-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    z-index: 120;
    pointer-events: none; /* テキストが閉じるボタンを邪魔しない */
}

/* ★ 集約されたテキスト：コンテナ幅に合わせて拡大縮小 ★ */
#detailComment {
    position: absolute;
    left: 0;
    top: 50%;
    padding: 2em;
    font-family: "Noto Serif JP", serif;
    font-weight: bold;
    font-size: 2.5cqw; /* コンテナ幅に基づいた可変サイズ */
    line-height: 2;
    letter-spacing: 0.05em;
    color: #000;
    background-color: rgba(219, 219, 219, 0.47);
}


/* --- SNSリンクの基本設定 --- */
.member-sns-links {
    position: absolute;
    left: 5%;
    bottom: 5%;
    z-index: 130;
    pointer-events: auto; /* クリックできるように */
}

/* 初期状態はすべて非表示 */
.sns-set {
    display: none;
    gap: 15px;
}

/* ★ 親（detailComment）のクラスに応じて表示を切り替える */
#detailComment.member-1 ~ .member-sns-links .m-1 { display: flex; }
#detailComment.member-2 ~ .member-sns-links .m-2 { display: flex; }
#detailComment.member-3 ~ .member-sns-links .m-3 { display: flex; }
#detailComment.member-4 ~ .member-sns-links .m-4 { display: flex; }

/* ボタンのデザイン（プレーンに作っておきます） */
.sns-btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 12px 20px 8px;
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    line-height: 1;
    transition: transform 0.2s, background 0.2s;
}
@media (max-width: 768px) {
    .sns-btn {
        padding: 6px 10px 4px;
        font-size: 1rem;
    }
}

.sns-btn:hover {
    transform: scale(1.1);
    background: #fff;
    color: #000;
}


/* --- シュシュパッ！の幕 --- */
.shader { position: absolute; top: 0; left: -100%; width: 100%; height: 100%; z-index: 150; }
.color-layer { background: var(--active-color); z-index: 160; }
.white-layer { background: #fff; z-index: 155; }

.is-open .shader { animation: slideIn 0.8s cubic-bezier(0.7, 0, 0.3, 1) forwards; }
.is-open .white-layer { animation-delay: 0.05s; }
.is-closing .shader { animation: slideOut 0.8s cubic-bezier(0.7, 0, 0.3, 1) forwards; }
.is-closing .color-layer { animation-delay: 0.05s; }

@keyframes slideIn { 0% { left: -100%; } 100% { left: 100%; } }
@keyframes slideOut { 0% { left: 100%; } 100% { left: -100%; } }

.member-close { position: absolute; top: 0px; right: 0px; font-size: 45px; color: #e66043; cursor: pointer; z-index: 200; line-height: 1;}


#fanclub-text {
    text-align: center;
}
#fanclub-text a {
    display: block;
    margin: 0 auto;
    max-width: 200px;
    width: 40%;
}

#contact a { 
    width: 8em;
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    text-align: center;
    border: none;
    padding: 30px 10px 25px;
    margin: 200px auto 200px;
    font-size: 3.2rem;
    line-height: 1;
    letter-spacing: 0.05em; 
    text-decoration: none;
    background: #fff; 
    color: #e66043;
    border-radius: 10px;
}


.logo_text {
    max-width: 200px;
    margin: 40px auto;
}

#entrance {
    background: #fff;
    color: #e66043;
    text-align: center;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%; 
    height: 100dvh;
    display: flex;
    z-index: 999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
}
#entrance.pop {
    opacity: 1;
    visibility: visible;
}

#entrance .logo_text {
    max-width: 400px;
}
#entrance .official,
#entrance .fanclub {
    width: 240px;
    margin: 15px auto 0;
}

#footer {
    background: #fff;
    color: #e66043;
    padding: 20px;
    text-align: center;
    font-size: 10px;
}


.sns {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sns li {
        margin: 20px;
        width: 30px;
}

@media (max-width: 768px) {
    #contact a{ font-size: 2.2rem; margin: 100px auto;
}

    #entrance .logo_text {
        max-width: 300px;
    }
    #entrance .official,
    #entrance .fanclub {
        width: 200px;
        margin: 15px auto 0;
    }

    #footer {
        padding: 20px;
    }
    .logo_text {
        max-width: 200px;
    }
    .sns li {
        margin: 20px 15px;
        width: 30px;
    }
}