/* ==========================================================
 * 1. 基本リセットと全体設定
 * ========================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
    font-family: 'Noto Sans JP', sans-serif; 
    color: #fff;
    font-feature-settings: "palt";
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;  /* ← 追加
    overflow-y: scroll;  /* 追加 */
    scrollbar-width: none;  /* 追加 */
    -ms-overflow-style: none;  /* 追加 */
}

html::-webkit-scrollbar {
    display: none;  /* 追加 */
}
body {
    scroll-behavior: smooth;
    overflow-y: scroll;  /* 追加 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE, Edge */
}

body::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
    width: 0;  /* 追加 */
    background: transparent;  /* 追加 */
}

/* スクロール禁止クラス（モーダル・メニュー表示時） */
body.no-scroll {
    overflow: hidden;
}

/* ==========================================================
 * 2. 背景ビジュアルレイヤー (#background-visual)
 * ========================================================== */
#background-visual {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100vh;
    z-index: -1; 
    
    /*background-image: url('./images/erhu_key_visual.jpg');*/
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    
    filter: brightness(0.7); 
    overflow: hidden;
}

/* 動画背景用のスタイル */
#background-visual video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.7);
}

/* 動きの軽減設定に対応 */
@media (prefers-reduced-motion: reduce) {
    #background-visual video {
        display: none;
    }
}

/* ==========================================================
 * 3. コンテンツレイヤー (#content-wrapper)
 * ========================================================== */
#content-wrapper {
    position: relative; 
    z-index: 1;
    min-height: 100vh; 
    display: block;
}

/* ==========================================================
 * 4. ヘッダー (メニュー) の設定 (PC/共通)
 * ========================================================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    z-index: 150; 
    background-color: rgba(0, 0, 0, 0.4); 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#header-logo {
    font-size: 24px;
    font-weight: 700; 
    color: #e0b466;
    letter-spacing: 0.1em;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

header nav li {
    margin: 0 15px;
}

header nav a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500; 
    padding: 5px 10px;
    transition: color 0.3s;
}

header nav a:hover {
    color: #e0b466; 
}

#nav-toggle {
    display: none; 
}

/* 無効化されたナビゲーションリンク */
header nav a.disabled-link {
    color: #666 !important;
    cursor: not-allowed !important;
    opacity: 0.5;
    pointer-events: none;
}

header nav a.disabled-link:hover {
    color: #666 !important;
}
/* ==========================================================
 * 5. セクションの共通設定とTOPセクション
 * ========================================================== */
.content-section {
    padding: 100px 50px;
    min-height: 50vh; 
    background-color: rgba(0, 0, 0, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.content-section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    color: #e0b466;
    font-weight: 700;
}

.content-section p {
    text-align: center;
    line-height: 1.6;
}

.full-height-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 120px; /* 👈 下部の余白を追加（ライブオーバーレイとの間隔確保） */ 
}

.key-title {
    font-size: 60px;
    text-align: center;
    line-height: 1.3;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
    color: rgba(255, 255, 255, 0.8);
}

/* キータイトルのテキストコンテナ */
.key-visual-text {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.key-title {
    margin: 0;
}

.artist-name {
    display: block;
    font-size: 36px;
    margin-top: 10px;
    color: #e0b466;
    letter-spacing: 0.2em;
    font-family: 'Noto Serif JP', serif; 
    font-weight: 700; 
    text-align: center;
    width: 100%;
}
/* ==========================================================
 * UPCOMING LIVE セクション（再設計版）
 * ========================================================== */

.live-schedule-container {
    max-width: 100%;  /* 900pxを解除 */
    margin: 0 auto;
}

.live-event-featured {
    background-color: transparent;
    border: none;
    padding: 30px 20px;
    text-align: center;
}

/* フライヤー画像（上部） */
.live-featured-image {
    max-width: 420px;  /* フライヤー自体の適切なサイズ */
    margin: 0 auto 40px;
    text-align: center;
    position: relative;
    padding: 8px;
    background: linear-gradient(135deg, rgba(224, 180, 102, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* 金色のボーダーを削除
.live-featured-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, #e0b466 0%, rgba(224, 180, 102, 0.3) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
}
*/

.live-featured-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(224, 180, 102, 0.25);
}

.live-featured-image:hover::before {
    opacity: 1;
}

.live-featured-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.live-featured-image:hover img {
    transform: scale(1.02);
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .live-featured-image {
        max-width: 100%;
        margin-bottom: 25px;
        padding: 6px;
    }
    
    .live-featured-image img {
        max-width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .live-featured-image {
        margin-bottom: 20px;
        padding: 5px;
    }
}

/* ライブ詳細コンテンツ */
.live-featured-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.live-featured-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 700;
    text-align: center;
}

.live-featured-content p {
    margin: 8px 0;
    line-height: 1.6;
    font-size: 16px;
    text-align: center;
}

/* チケットバッジ - ラベル風デザイン */
.ticket-badge {
    display: inline-block;
    padding: 8px 16px 8px 12px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
    border-radius: 0;  /* 角を削除 */
    border: none;  /* ボーダーを削除 */
    border-left: 4px solid;  /* 左側にアクセントライン */
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 販売中 */
.ticket-badge--available {
    background: linear-gradient(90deg, rgba(76, 175, 80, 0.15) 0%, rgba(76, 175, 80, 0.05) 100%);
    color: #4CAF50;
    border-left-color: #4CAF50;
}

/* 売り切れ */
.ticket-badge--soldout {
    background: linear-gradient(90deg, rgba(244, 67, 54, 0.15) 0%, rgba(244, 67, 54, 0.05) 100%);
    color: #F44336;
    border-left-color: #F44336;
}

/* デフォルト */
.ticket-badge--default {
    background: linear-gradient(90deg, rgba(224, 180, 102, 0.15) 0%, rgba(224, 180, 102, 0.05) 100%);
    color: #e0b466;
    border-left-color: #e0b466;
}

/* 予約受付中 */
.ticket-badge--reservation {
    background: linear-gradient(90deg, rgba(33, 150, 243, 0.15) 0%, rgba(33, 150, 243, 0.05) 100%);
    color: #2196F3;
    border-left-color: #2196F3;
}

/* 受付終了 */
.ticket-badge--closed {
    background: linear-gradient(90deg, rgba(158, 158, 158, 0.15) 0%, rgba(158, 158, 158, 0.05) 100%);
    color: #9E9E9E;
    border-left-color: #9E9E9E;
}

/* 前売り（新規追加） */
.ticket-badge--前売り {
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.05) 100%);
    color: #FFC107;
    border-left-color: #FFC107;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .ticket-badge {
        font-size: 12px;
        padding: 7px 14px 7px 10px;
        border-left-width: 3px;
    }
}

@media screen and (max-width: 480px) {
    .ticket-badge {
        font-size: 11px;
        padding: 6px 12px 6px 9px;
    }
}

/* セットリストセクション */
.setlist-section {
    margin: 25px auto;
    padding: 20px;
    max-width: 600px;
    background-color: transparent;
    border: none;
    text-align: center;
}

.setlist-section h4 {
    color: rgba(224, 180, 102, 1);
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 500;  /* 太さも控えめに */
    text-align: center;
}

.setlist-section p {
    color: rgba(255, 255, 255, 0.9);  /* より控えめな白 */
    line-height: 1.8;
    font-size: 12px;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* 演奏者セクション */
.performers-section {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(224, 180, 102, 0.3);
}

.performers-section h4 {
    color: #e0b466;
    margin-bottom: 25px;
    font-size: 20px;
    text-align: center;
}

.performers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    justify-items: center;
    max-width: 100%;
    margin: 0 auto;
}

.performer-card {
    text-align: center;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s;
    width: 140px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.performer-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(224, 180, 102, 0.3);
}

.performer-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 3px solid rgba(224, 180, 102, 0.4);
    display: block;
}

.performer-name {
    font-weight: bold;
    color: #ffffff;
    font-size: 15px;
    margin: 10px 0 6px;
}

.performer-part {
    color: #e0b466;
    font-size: 13px;
    font-style: italic;
    line-height: 1.4;
}

/* メッセージ */
.no-live-message {
    text-align: center;
    padding: 40px 20px;
    color: #aaa;
    font-size: 16px;
}

/* ==========================================================
 * レスポンシブ対応
 * ========================================================== */
@media screen and (max-width: 768px) {
    .live-event-featured {
        padding: 20px;
    }
    
    .live-featured-image {
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .live-featured-content h3 {
        font-size: 20px;
    }
    
    .live-featured-content p {
        font-size: 14px;
    }
    
    .performers-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 15px;
    }
    
    .performer-card {
        width: 100px;
        padding: 15px 10px;
    }
    
    .performer-card img {
        width: 80px;
        height: 80px;
    }
    
    .performer-name {
        font-size: 13px;
    }
    
    .performer-part {
        font-size: 11px;
    }
    
    .setlist-section {
        padding: 15px;
    }
}

@media screen and (max-width: 480px) {
    .performers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ニュース・ライブコンテンツのスタイル */
.live-schedule-list {
    max-width: 900px;
    margin: 0 auto;
}

.live-event {
    margin: 30px auto;
    padding: 20px;
    max-width: 700px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    text-align: left;
}

.live-event-image {
    flex-shrink: 0;
    width: 150px;
}

.live-event-image img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #e0b466;
}

.live-event-content {
    flex-grow: 1;
}

.live-event-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 700;
    text-align: left;
}

.live-event-content p {
    margin: 5px 0;
    line-height: 1.6;
    text-align: left;
}

.future-note {
    font-size: 12px;
    color: #aaa;
    text-align: center;
    margin-top: 20px;
}

/* CONTACTセクション */
.contact-intro {
    margin: 0 auto 30px;
    max-width: 500px;
}

.contact-form-skeleton {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background-color: transparent;
    border: 1px solid none;
}

.contact-form-skeleton label {
    text-align: left;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form-skeleton input[type="text"],
.contact-form-skeleton input[type="email"],
.contact-form-skeleton textarea,
.contact-form-skeleton select {
    width: 100%;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #e0b466;
    color: #fff;
}

.contact-form-skeleton select option {
    background: #111;
    color: #fff;
}

.contact-form-skeleton .response-note {
    font-size: 12px;
    color: #aaa;
    text-align: left;
    margin-top: 15px;
}

.contact-form-skeleton button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #e0b466;
    color: #000;
    border: none;
    cursor: pointer; 
    font-weight: bold;
    transition: background-color 0.3s;
}

.contact-form-skeleton button:hover {
    background-color: #c99a4c; 
}

.contact-form-skeleton button:disabled {
    background-color: #666;
    cursor: not-allowed;
}

/* ==========================================================
 * CONTACTフォーム - 送信メッセージ表示
 * ========================================================== */

/* メッセージコンテナ */
.form-status-skeleton {
    max-width: 500px;
    margin: 20px auto 0;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 15px;
    line-height: 1.6;
    display: none; /* 初期は非表示 */
    animation: fadeIn 0.3s ease-in;
}

/* 成功メッセージ */
.form-status-skeleton.success {
    display: block;
    background-color: rgba(76, 175, 80, 0.15);
    border: 2px solid #4CAF50;
    color: #4CAF50;
}

.form-status-skeleton.success::before {
    content: "✓ ";
    font-size: 18px;
    font-weight: bold;
}

/* エラーメッセージ */
.form-status-skeleton.error {
    display: block;
    background-color: rgba(244, 67, 54, 0.15);
    border: 2px solid #F44336;
    color: #F44336;
}

.form-status-skeleton.error::before {
    content: "✗ ";
    font-size: 18px;
    font-weight: bold;
}

/* 送信中メッセージ */
.form-status-skeleton.sending {
    display: block;
    background-color: rgba(33, 150, 243, 0.15);
    border: 2px solid #2196F3;
    color: #2196F3;
}

.form-status-skeleton.sending::before {
    content: "⏳ ";
    font-size: 18px;
}

/* フェードインアニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ボタンの送信中スタイル */
#submit-button:disabled {
    background-color: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .form-status-skeleton {
        font-size: 14px;
        padding: 12px 15px;
    }
}

@media screen and (max-width: 480px) {
    .form-status-skeleton {
        font-size: 13px;
        padding: 10px 12px;
    }
}

/* ==========================================================
 * 6. オーバーレイ情報 (サイドNEWS、LIVE、BGM)
 * ========================================================== */

/* サイドNEWS（画面右側固定） */
#side-news-overlay {
    position: fixed;
    right: 18px;
    top: 70%;
    padding: 10px 20px;
    background-color: rgba(224, 180, 102, 0.4);
    z-index:150; 
    white-space: nowrap;
    transform-origin: 100% 50%;
    transform: translateY(-50%) rotate(90deg);
    font-weight: bold;
    border: 1px solid rgba(224, 180, 102, 0.6);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

#side-news-overlay p {
    text-align: center;
    margin: 0;
    color: #fff;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
/* モバイル対応 */
@media screen and (max-width: 768px) {
#side-news-overlay {
    position: relative; 
    transform: none; 
    width: 100%;
    text-align: center;
    padding: 8px 10px;
    font-size: 12px;
    background-color: rgba(224, 180, 102, 0.5);
    font-weight: bold;
    z-index: auto; 
    top: auto;
    right: auto;
    margin-top: 0; /* モバイルではリセット */
}    
#side-news-overlay p {
    font-size: 12px;
    }
}

/* LIVE情報トリガー（画面下部固定） */
#live-info-overlay {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1); 
    z-index: 95;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    animation: pulseBackground 2s infinite alternate;
}

#live-info-overlay:hover {
    background-color: rgba(255, 255, 255, 0.2); 
    animation-play-state: paused;
}

@keyframes pulseBackground {
    0% {
        background-color: rgba(224, 180, 102, 0.2);
    }
    100% {
        background-color: rgba(0, 0, 0, 0.5);
    }
}

/* ライブオーバーレイ - タイトル表示対応 */
.live-overlay-title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin: 3px 0;
    line-height: 1.4;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .live-overlay-title {
        font-size: 11px;
    }
}

@media screen and (max-width: 390px) {
    .live-overlay-title {
        font-size: 10px;
    }
}

/* ライブオーバーレイ - タイトル表示対応 
   スマホや小型機種では会場名を非表示、文字サイズ調整 */
@media (max-width: 768px) {
    .live-overlay-venue {
        display: none;
    }
}

/* 小型スマホ（iPhone SE など）で追加調整 */
@media (max-width: 390px) {
    .live-overlay-title {
        font-size: 12px;  /* タイトルも小さく */
    }
    
    .live-overlay-date {
        font-size: 13px;
    }
}

/* ライブオーバーレイ内のライブチケット販売ステータスのテキスト（文字サイズ調整） */
.live-overlay-status {
    font-size: 10px;  /* デフォルトより小さく */
}

/* BGMコントロール（画面左下固定） */
#bgm-control-overlay {
    position: fixed;
    left: 20px;
    bottom: 80px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(224, 180, 102, 0.3);
    transition: all 0.3s ease;
    width: 240px;
    box-sizing: border-box;
}

#bgm-control-overlay:hover {
    background-color: rgba(0, 0, 0, 0.9);
    border-color: rgba(224, 180, 102, 0.6);
}

/* BGMトラック情報表示 */
#bgm-track-info {
    width: 100%;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(224, 180, 102, 0.2);
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#bgm-track-name {
    font-size: 11px;
    color: #e0b466;
    display: block;
    text-align: center;
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* コントロール行 */
#bgm-controls-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

#bgm-toggle {
    background-color: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
    transition: transform 0.2s;
    color: #fff;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#bgm-toggle:hover {
    transform: scale(1.1);
}

#bgm-toggle:active {
    transform: scale(0.95);
}

#bgm-volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-grow: 1;
    min-width: 0;
}

#bgm-volume {
    flex-grow: 1;
    flex-shrink: 1;
    min-width: 80px;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    border-radius: 3px;
    cursor: pointer;
}

#bgm-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: #e0b466;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
}

#bgm-volume::-webkit-slider-thumb:hover {
    background: #c99a4c;
}

#bgm-volume::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #e0b466;
    cursor: pointer;
    border-radius: 50%;
    border: none;
    transition: background 0.2s;
}

#bgm-volume::-moz-range-thumb:hover {
    background: #c99a4c;
}

#volume-percentage {
    font-size: 11px;
    color: #e0b466;
    width: 32px;
    text-align: right;
    flex-shrink: 0;
}

/* ==========================================================
 * 7. ライブ詳細モーダル
 * ========================================================== */

#live-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); 
    z-index: 200;
    opacity: 0; 
    pointer-events: none; 
    transition: none;
    display: flex;
    justify-content: center;
    align-items: flex-end; 
}

#live-detail-modal:not(.modal-hidden) {
    transition: opacity 0.4s ease-out; 
    opacity: 1;
    pointer-events: auto;
}

.modal-hidden {
    opacity: 0 !important; 
    pointer-events: none !important;
}

.modal-content {
    width: 100%; 
    max-width: 900px;
    padding: 20px 20px 40px; 
    text-align: center;
    background-color: rgba(0, 0, 0, 0.95);
    height: auto;
    max-height: 80vh;
    overflow-y: auto;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* LIVEモーダル内のスクロールバーを非表示 */
#live-detail-modal .modal-content {
    scrollbar-width: none;  /* Firefox */
    -ms-overflow-style: none;  /* IE, Edge */
}

#live-detail-modal .modal-content::-webkit-scrollbar {
    display: none;  /* Chrome, Safari */
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: transparent;
    border: none;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    align-self: flex-end; 
}

/* モーダル内のライブ情報 */
.modal-live-info {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(224, 180, 102, 0.3);
}

.modal-live-title {
    font-size: 24px;
    color: #e0b466;
    margin-bottom: 10px;
    font-weight: 700;
}

.modal-live-date {
    font-size: 18px;
    color: #fff;
    margin: 5px 0;
}

.modal-live-venue {
    font-size: 16px;
    color: #ccc;
    margin: 5px 0;
}

.modal-flyer-dual {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 20px;
    max-width: 800px;
    width: 100%;
}

.flyer-side {
    flex: 1;
    text-align: center;
}

.flyer-side .live-flyer {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: contain;
    border: 1px solid #e0b466;
    margin-bottom: 10px;
}

.flyer-caption {
    font-size: 12px;
    color: #ccc;
    margin: 0;
}

.reserve-button {
    padding: 12px 25px;
    background-color: #e0b466;
    color: #000;
    font-weight: bold;
    display: inline-block;
    border-radius: 4px;
    margin-top: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.reserve-button:hover {
    background-color: #c99a4c;
}

.pdf-link-note a {
    color: #e0b466;
    text-decoration: underline;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 10px;
}

.pdf-link-note a:hover {
    color: #fff;
}

/* ==========================================================
 * SNSリンク（左側固定・スライドラベル付き）
 * ========================================================== */
.sns-links {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.sns-links a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.4);
    color: #e0b466;
    font-size: 20px;
    text-decoration: none;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.sns-links a i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.sns-links a .sns-label {
    white-space: nowrap;
    padding-left: 5px;
    padding-right: 15px;
    font-size: 13px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 1.0s cubic-bezier(0.4, 0, 0.2, 1) 0.25s;
    color: #e0b466;
}

/* ホバー時：楕円形が右にスライド */
.sns-links a:hover {
    width: 140px;
    background-color: rgba(224, 180, 102, 0.3);
    color: #f0c476;
}

.sns-links a:hover .sns-label {
    opacity: 1;
    color: #f0c476;
}

/* YouTube 個別カラー */
.sns-links a:hover:has(.fa-youtube) {
    background-color: rgba(255, 0, 0, 0.25);
}

/* Instagram 個別カラー */
.sns-links a:hover:has(.fa-instagram) {
    background: linear-gradient(45deg, rgba(225, 48, 108, 0.25), rgba(193, 53, 132, 0.25));
}

/* Facebook 個別カラー */
.sns-links a:hover:has(.fa-facebook) {
    background-color: rgba(24, 119, 242, 0.25);
}

/* スマホ対応 */
@media (max-width: 768px) {
    .sns-links {
        left: 10px;
        gap: 12px;
    }
    
    .sns-links a {
        width: 36px;
        height: 36px;
        border-radius: 18px;
        font-size: 14px;
    }
    
    .sns-links a i {
        width: 36px;
        height: 36px;
    }
    
    .sns-links a:hover {
        width: 120px;
    }
    
    .sns-links a .sns-label {
        font-size: 12px;
        padding-right: 12px;
    }
}

/* ==========================================================
 * 8. フッター
 * ========================================================== */
footer {
    padding: 60px 20px;
    text-align: center;
    background-color: #000;
    font-size: 12px;
}

/* ==========================================================
 * 9. フォームステータス表示
 * ========================================================== */
.form-status-skeleton {
    max-width: 500px;
    margin: 20px auto 0;
    padding: 15px;
    border: 1px solid #e0b466;
    background-color: rgba(224, 180, 102, 0.1);
    text-align: center;
    min-height: 50px;
}

/* ==========================================================
 * 10. NEWSセクションのアコーディオン機能
 * ========================================================== */

/* NEWSリストコンテナ（中央揃え） */
#news-list {
    max-width: 600px;
    margin: 0 auto;  /* コンテナ全体は中央揃え */
}

.news-accordion {
    max-width: 100%;
    margin: 10px 0;  /* 上下のみマージン */
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
}

.news-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 👇 この部分を追加！ */
.news-item {
    text-align: left !important;  /* 左揃えを強制 */
    margin: 0;
    line-height: 1.4;
    flex-grow: 1;  /* カテゴリとアイコンの間のスペースを埋める */
}

.accordion-icon {
    font-size: 20px;
    font-weight: bold;
    color: #e0b466;
    transition: transform 0.3s;
    margin-left: 10px;
    flex-shrink: 0;  /* アイコンのサイズを固定 */
}

.news-accordion.open .accordion-icon {
    transform: rotate(45deg);
}

.news-item-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding: 0 20px;
}

.news-accordion.open .news-item-detail {
    max-height: 300px;
    padding: 15px 20px; 
    border-top: none;
}

.news-item-detail p {
    text-align: left;  /* 詳細テキストも左揃え */
    margin-bottom: 5px;
    font-size: 14px;
}

/* NEWSカテゴリスタイル */
.news-category {
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
    margin-right: 10px;
    min-width: 80px;
    text-align: center;
    flex-shrink: 0;  /* カテゴリのサイズを固定 */
}

.news-category--live {
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.5) 0%, #c41e3a 80%);
    color: #fff;
}

.news-category--guest {
    background-color: #fa84b9;
    color: #000;
}

.news-category--lesson {
    background-color: #d9fc3a;
    color: #000;
}

.news-category--media {
    background-color: #2d91e0;
    color: #fff;
}

.news-category--release {
    background: linear-gradient(135deg, #e0b466 0%, rgba(224, 180, 102, 0.3) 85%);
    color: #fff;  /* 白 */
}

.news-category--erhu-class {
    background-color: #b19cd9;
    color: #663399;
}

.news-category--event {
    background-color: #f7d714;
    color: #000;
}

.news-category--announcement {
    background-color: #ffb8f5;
    color: #000;
}

.news-category--other {
    background-color: #666666;
    color: #fff;
}

/* ==========================================================
 * 11. LESSONセクションのスタイル
 * ========================================================== */

#lesson > h3 {
    text-align: center;
    font-size: 24px;
    color: #e0b466;
    margin: 40px auto 20px;
    max-width: 800px;
}

.lesson-intro, .lesson-intro-sub {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 16px;
}

.lesson-intro {
    font-size: 18px;
    font-weight: bold;
    color: #e0b466;
    margin-bottom: 5px;
}

/* ==========================================================
 * LESSON画像セクション
 * ========================================================== */
.lesson-images {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px auto;
    max-width: 1000px;
    flex-wrap: wrap;
}

.lesson-image {
    width: calc(33.33% - 10px);
    min-width: 250px;
    max-width: 320px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.lesson-image:hover {
    transform: scale(1.05);
}

.lesson-intro-text {
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
    line-height: 1.8;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .lesson-images {
        gap: 10px;
    }
    
    .lesson-image {
        width: calc(50% - 5px);
        min-width: 150px;
    }
}

@media (max-width: 480px) {
    .lesson-image {
        width: 100%;
    }
}

.info-cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 900px;
    margin: 40px auto;
}

.info-card {
    flex: 1;
    padding: 20px;
    border: 1px solid #e0b466;
    background-color: rgba(224, 180, 102, 0.05);
    text-align: center;
}

.info-card h3 {
    font-size: 20px;
    color: #e0b466;
    margin-bottom: 10px;
}

.info-card p {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.5;
}

.price-table-container {
    max-width: 700px;
    margin: 30px auto 50px;
}

.price-table-container h3 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 24px;
    color: #fff;
}

.price-table-container table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.price-table-container th, .price-table-container td {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 15px;
}

.price-table-container th {
    background-color: rgba(224, 180, 102, 0.3);
    color: #fff;
    font-weight: bold;
}

.price-table-container td {
    background-color: rgba(0, 0, 0, 0.6);
}
/* レッスン料金テーブル（改善版） */
.price-table-container {
    max-width: 700px;
    margin: 30px auto 50px;
}

.price-table-container table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.price-table-container th, .price-table-container td {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 15px;
}

.price-table-container th {
    background-color: rgba(224, 180, 102, 0.3);
    color: #fff;
    font-weight: bold;
}

.price-table-container td {
    background-color: rgba(0, 0, 0, 0.6);
}

/* ホバー効果 */
.price-table-container tbody tr:hover td {
    background-color: rgba(224, 180, 102, 0.15);
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .price-table-container th, 
    .price-table-container td {
        padding: 12px 8px;
        font-size: 13px;
    }
}

@media screen and (max-width: 390px) {
    .price-table-container th, 
    .price-table-container td {
        padding: 10px 6px;
        font-size: 12px;
    }
}

.lesson-details-container {
    max-width: 600px;
    margin: 20px auto 40px;
}

.lesson-details-container h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #fff;
}

.lesson-details-container .news-accordion {
    border: 1px solid rgba(255, 255, 255, 0.15);  /* 線を薄く */
    margin-bottom: 8px;
    background-color: rgba(255, 255, 255, 0.02);  /* 背景を薄く */
}

.lesson-details-container .news-item-header {
    background-color: rgba(0, 0, 0, 0.3);  /* 暗めに */
    padding: 12px 20px;  /* パディングを小さく */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);  /* 線を薄く */
}

.lesson-details-container .news-item {
    font-weight: 500;  /* bold → 500 に軽く */
    color: #ccc;  /* #fff → #ccc に落ち着いた色 */
    font-size: 15px;
}

.lesson-details-container .accordion-icon {
    font-size: 18px;  /* 20px → 18px に小さく */
    color: #999;  /* #e0b466 → #999 に控えめに */
    transition: transform 0.3s, color 0.3s;
}

.lesson-details-container .news-accordion:hover .accordion-icon {
    color: #e0b466;  /* ホバー時だけ色が変わる */
}

.lesson-details-container .news-accordion.open .accordion-icon {
    color: #e0b466;
}

.lesson-details-container .detail-price {
    font-size: 18px;
    font-weight: bold;
    color: #e0b466;
    text-align: center !important;
}

.lesson-details-container .detail-policy, .detail-note {
    font-size: 14px;
    text-align: left !important;
}

.lesson-details-container h4 {
    color: #e0b466;
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: left !important;
    font-weight: bold;
}

.lesson-details-container .mt-15 {
    margin-top: 15px;
}

/* 枠線なしアコーディオン */
.accordion-no-border {
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    background-color: transparent !important;
    margin-bottom: 0 !important;
}

.accordion-no-border .news-item-header {
    background-color: transparent !important;
    border-bottom: none !important;
    padding: 15px 0 !important;
}

.accordion-no-border .news-item-header:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

/* 下向き矢印アイコン */
.accordion-no-border .accordion-icon {
    font-size: 14px !important;
    color: #999 !important;
    transform: rotate(0deg);
    transition: transform 0.3s ease, color 0.3s;
}

.accordion-no-border:hover .accordion-icon {
    color: #e0b466 !important;
}

.accordion-no-border.open .accordion-icon {
    transform: rotate(180deg) !important;  /* 上向きに回転 */
    color: #e0b466 !important;
}

/* NEWSセクション用の調整 */
#news .accordion-no-border {
    max-width: 800px;  /* 幅を広げる */
    margin: 0 auto;
}

#news .accordion-no-border .news-item-header {
    padding: 15px 20px !important;  /* 左右の余白を確保 */
}

.lesson-contact-info {
    text-align: center;
    margin-top: 50px;
}

.lesson-contact-info h3 {
    font-size: 24px;
    color: #e0b466;
    margin-bottom: 10px;
}

.lesson-contact-info p {
    font-size: 16px;
    margin-bottom: 5px;
}

.lesson-contact-info a {
    color: #e0b466;
    text-decoration: underline;
}

.lesson-contact-info a:hover {
    color: #fff;
}

/* ==========================================================
 * 12. PROFILEセクションのスタイル
 * ========================================================== */

.profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: transparent;
    border: 1px solid none;
    text-align: center;
}

.profile-container h3 {
    text-align: center;
    color: #e0b466;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
}

.profile-container p.profile-name {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
    text-align: center;
}

.profile-container p.profile-quote {
    font-size: 16px;
    font-style: italic;
    color: #ccc;
    margin-bottom: 30px;
    text-align: center;
}

.profile-detail {
    margin-bottom: 30px;
    line-height: 1.8;
    text-align: center;
}

.profile-detail p {
    margin-bottom: 10px;
    color: #ccc;
}

.award-list {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto 30px;
}

.award-list li {
    text-align: center;
    font-size: 15px;
    padding: 5px 0;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.1);
    margin-left: 20px;
}

.award-list li::before {
    content: "★";
    color: #e0b466;
    margin-right: 10px;
    font-size: 10px;
}

.solo-activity-list p {
    text-align: center;
    font-size: 14px;
    padding: 4px 0;
    max-width: 600px;
    margin: 0 auto;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.05);
}

/* ==========================================================
 * 13. GALLERYセクションのスタイル（アコーディオン版）
 * ========================================================== */

/* GALLERYセクション - 基本レイアウト */
#gallery {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 60px 20px;
}

/* ギャラリーアコーディオン */
.gallery-accordion {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-event {
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(224, 180, 102, 0.3);
    padding-bottom: 20px;
}

.gallery-event-title {
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    color: #e0b466;
    padding: 15px 0;
    display: flex;
    align-items: center;
    transition: color 0.3s;
    user-select: none;
}

.gallery-event-title:hover {
    color: #f0c476;
}

.gallery-arrow {
    display: inline-block;
    margin-right: 10px;
    transition: transform 0.3s;
    font-size: 16px;
}

.gallery-event-title.active .gallery-arrow {
    transform: rotate(90deg);
}

.gallery-event-images {
    display: none;
    overflow-x: auto;
    white-space: nowrap;
    padding: 20px 0;
    gap: 15px;
}

.gallery-event-images.show {
    display: flex;
}

.gallery-event-images img {
    height: 250px;
    width: auto;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-event-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(224, 180, 102, 0.4);
}

/* スクロールバーのスタイリング */
.gallery-event-images::-webkit-scrollbar {
    height: 8px;
}

.gallery-event-images::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.gallery-event-images::-webkit-scrollbar-thumb {
    background: rgba(224, 180, 102, 0.5);
    border-radius: 4px;
}

.gallery-event-images::-webkit-scrollbar-thumb:hover {
    background: rgba(224, 180, 102, 0.7);
}

/* ギャラリーモーダル */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.gallery-modal.show {
    display: flex;
}

#gallery-modal-img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

/* モーダルキャプション */
#gallery-modal-caption {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    max-width: 50%;
}

/* 閉じるボタン */
.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s;
}

.gallery-modal-close:hover {
    color: #e0b466;
}

/* 前後ボタン */
.gallery-modal-prev,
.gallery-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(224, 180, 102, 0.3);
    color: #fff;
    border: none;
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.3s;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
    background: rgba(224, 180, 102, 0.6);
}

.gallery-modal-prev {
    left: 30px;
}

.gallery-modal-next {
    right: 30px;
}

/* タブレット・スマホ対応 */
@media (max-width: 768px) {
    #gallery {
        padding: 40px 15px;
    }
    
    .gallery-event-title {
        font-size: 18px;
    }
    
    .gallery-event-images img {
        height: 180px;
    }
    
    /* モーダル調整 */
    #gallery-modal-img {
        max-width: 95%;
        max-height: 80vh;
    }
    
    #gallery-modal-caption {
        bottom: 15px;
        right: 15px;
        left: 15px;
        font-size: 12px;
        padding: 8px 12px;
        max-width: calc(100% - 30px);
    }
    
    .gallery-modal-close {
        font-size: 32px;
        top: 15px;
        right: 20px;
    }
    
    .gallery-modal-prev,
    .gallery-modal-next {
        font-size: 24px;
        padding: 10px 15px;
        border-radius: 6px;
    }
    
    .gallery-modal-prev {
        left: 10px;
    }
    
    .gallery-modal-next {
        right: 10px;
    }
}

@media (max-width: 390px) {
    #gallery {
        padding: 30px 10px;
    }
    
    .gallery-event-images img {
        height: 150px;
    }
    
    .gallery-modal-prev,
    .gallery-modal-next {
        font-size: 20px;
        padding: 8px 12px;
    }
    
    #gallery-modal-caption {
        font-size: 11px;
        padding: 6px 10px;
        bottom: 10px;
        right: 10px;
        left: 10px;
    }
}

/* スクロール防止用 */
body.no-scroll {
    overflow: hidden;
}

/* ==========================================================
 * 14. レスポンシブ対応 (Media Query: スマートフォン・タブレット)
 * ========================================================== */
@media screen and (max-width: 768px) {
    /* ヘッダーとハンバーガーメニュー */
    header {
        padding: 10px 20px;
    }
    
    header nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 140; 
        transition: opacity 0.3s;
    }
    
    header nav.nav-visible {
        display: flex; 
        opacity: 1;
    }
    
    #nav-toggle {
        display: block; 
        background: none;
        border: none;
        color: #e0b466;
        font-size: 30px;
        cursor: pointer;
        z-index: 151; 
    }
    
    header nav ul {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    header nav li {
        margin: 10px 0;
    }

    header nav a {
        font-size: 20px;
        padding: 10px;
        display: block;
    }
    
    /* セクションとTOP */
    .content-section {
        padding: 80px 20px;
    }
    .full-height-section {
    padding-top: 25vh; /* 画面高さの25%の位置から開始 */
    padding-bottom: 140px; /* モバイルでは更に余白を確保 */
    align-items: flex-start; /* 上寄せに変更 */
    }
    
    /* キータイトルのフォントサイズを縮小 */
    .key-title {
        font-size: 36px !important; /* 60px → 36px */
        line-height: 1.4;
        padding: 0 20px; /* 左右の余白も確保 */
    }
    
    .artist-name {
        font-size: 24px !important; /* 36px → 24px */
        margin-top: 8px;
        letter-spacing: 0.15em;
    }
    
    /* サイドNEWS（モバイル時はリセット） */
    #side-news-overlay {
        position: relative; 
        transform: none; 
        width: 100%;
        text-align: center;
        padding: 5px 0;
        font-size: 12px;
        background-color: rgba(0, 0, 0, 0.7);
        font-weight: normal;
        z-index: auto; 
        top: auto;
    }
    
    /* BGMコントロール（モバイル対応） */
    #bgm-control-overlay {
        left: 10px;
        bottom: 70px;
        padding: 8px 10px;
        width: 200px;
        gap: 6px;
    }
    
    #bgm-track-info {
        min-height: 24px;
    }
    
    #bgm-track-name {
        font-size: 10px;
    }
    
    #bgm-controls-row {
        gap: 8px;
    }
    
    #bgm-toggle {
        font-size: 18px;
        width: 26px;
        height: 26px;
        padding: 2px;
    }
    
    #bgm-volume-container {
        gap: 6px;
    }
    
    #bgm-volume {
        min-width: 70px;
        height: 5px;
    }
    
    #bgm-volume::-webkit-slider-thumb {
        width: 12px;
        height: 12px;
    }
    
    #bgm-volume::-moz-range-thumb {
        width: 12px;
        height: 12px;
    }
    
    #volume-percentage {
        font-size: 10px;
        width: 28px;
    }
    
    /* LIVEモーダル */
    .modal-flyer-dual {
        flex-direction: column;
        gap: 20px;
    }
    
    .flyer-side .live-flyer {
        max-height: 250px;
    }

    /* LESSONセクション */
    .info-cards-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .info-card {
        padding: 15px;
    }
    
    .price-table-container th, .price-table-container td {
        padding: 8px;
        font-size: 13px;
    }
    
    .lesson-intro, .lesson-intro-sub {
        font-size: 14px;
    }
    
    /* PROFILEセクション */
    .profile-container {
        padding: 15px;
    }
    
    .profile-container h3 {
        font-size: 20px;
        margin-top: 20px;
    }
    
    .award-list {
        margin-left: 0;
        padding-left: 0;
    }
    
    .award-list li {
        font-size: 13px;
    }
    
    .solo-activity-list p {
        font-size: 13px;
    }

    /* GALLERYセクションのモバイル対応 */
    .gallery-grid-container.justified-container {
        gap: 3px;
    }
    
    .gallery-item {
        height: 120px; 
    }
}

/* iPhone 12 mini (375px × 812px) 以下の小型端末対応 */
@media screen and (max-width: 390px) {
    /* ヘッダーロゴ */
    #header-logo {
        font-size: 20px;
    }
        /* TOPセクションの調整（小型端末） */
    .full-height-section {
        padding-top: 20vh; /* 👈 更に上寄せ */
        padding-bottom: 160px; /* 👈 下部の余白を更に確保 */
    }
    
    /* キータイトル（小型端末用） */
    .key-title {
        font-size: 28px !important; /* 36px → 28px */
        padding: 0 15px;
        line-height: 1.5;
    }
    
    .artist-name {
        font-size: 20px !important; /* 24px → 20px */
        margin-top: 6px;
        letter-spacing: 0.1em;
    }
    
    /* セクション */
    .content-section {
        padding: 60px 15px;
    }
    
    .content-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    /* BGMコントロール（さらに小型化） */
    #bgm-control-overlay {
        left: 5px;
        bottom: 65px;
        padding: 6px 8px;
        width: 170px;
        gap: 5px;
    }
    
    #bgm-track-info {
        min-height: 20px;
        padding-bottom: 4px;
    }
    
    #bgm-track-name {
        font-size: 9px;
        line-height: 1.2;
    }
    
    #bgm-controls-row {
        gap: 6px;
    }
    
    #bgm-toggle {
        font-size: 16px;
        width: 24px;
        height: 24px;
    }
    
    #bgm-volume-container {
        gap: 4px;
    }
    
    #bgm-volume {
        min-width: 60px;
        height: 4px;
    }
    
    #bgm-volume::-webkit-slider-thumb {
        width: 10px;
        height: 10px;
    }
    
    #bgm-volume::-moz-range-thumb {
        width: 10px;
        height: 10px;
    }
    
    #volume-percentage {
        font-size: 9px;
        width: 24px;
    }
    
    /* ライブイベント */
    .live-event {
        flex-direction: column;
        padding: 15px;
    }
    
    .live-event-image {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    /* テーブル */
    .price-table-container th, .price-table-container td {
        padding: 6px;
        font-size: 12px;
    }
    
    /* ギャラリー */
    .gallery-item {
        height: 100px;
    }
    
    /* サイドNEWS */
    #side-news-overlay p {
        font-size: 11px;
    }
    
    /* ライブ情報オーバーレイ */
    #live-info-overlay {
        font-size: 12px;
        padding: 12px;
    }
}