@charset "UTF-8";
@import url("tokens.css");
/**
 * 全ページ共通：モバイル用オフキャンバスドロワー（Off-canvas Drawer）＆ハンバーガーメニュー
 * ※ すべてのコメントは日本語で記述されています。
 */

/* ==========================================================================
   1. ヘッダー＆ハンバーガーボタン
   ========================================================================== */


/* モバイル用ハンバーガーメニューボタン（44x44px 最小タッチターゲット確保） */
.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s ease, transform 0.15s ease;
    padding: 0;
    margin-left: auto;
    -webkit-tap-highlight-color: transparent;
    z-index: 10;
}

.mobile-menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.mobile-menu-btn:active {
    transform: scale(0.92);
    background-color: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   2. オフキャンバスドロワー＆毛ガラスオーバーレイ
   ========================================================================== */

/* ドロワー展開時の背景スクロール抑制（Scroll Lock） */
body.drawer-open {
    overflow: hidden;
    touch-action: none;
}

/* 半透明毛ガラス背景オーバーレイ（Backdrop Blur） */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 25, 45, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
}

.mobile-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* 右側からスムーズにスライドインするオフキャンバスドロワー */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(84vw, 320px);
    height: 100%;
    background: rgba(18, 32, 51, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: -8px 0 25px rgba(0, 0, 0, 0.45);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-drawer.is-open {
    transform: translateX(0);
}

/* ドロワーヘッダー */
.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.drawer-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
}

.drawer-title i {
    color: var(--accent-primary, #38bdf8);
    font-size: 1.25rem;
    transition: color 0.25s ease;
}

/* 各大分類ページごとのドロワーヘッダーアイコン（専用ブランドカラー） */
.drawer-title i.fa-envelope {
    color: #3b82f6;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.45);
}

.drawer-title i.fa-x-twitter {
    color: #1d9bf0;
    text-shadow: 0 0 10px rgba(29, 155, 240, 0.45);
}

.drawer-title i.fa-instagram {
    color: #e1306c;
    text-shadow: 0 0 10px rgba(225, 48, 108, 0.45);
}

.drawer-title i.fa-video {
    color: #ac5093;
    text-shadow: 0 0 10px rgba(172, 80, 147, 0.45);
}

.drawer-title i.fa-tiktok {
    color: #fe2c55;
    text-shadow: 0 0 10px rgba(254, 44, 85, 0.45);
}

.drawer-title i.fa-masks-theater {
    color: #818cf8;
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.45);
}

.drawer-title i.fa-ticket {
    color: #f59e0b;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.45);
}

/* 閉じるボタン（44x44px タッチエリア） */
.drawer-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background: transparent;
    border: none;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.drawer-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.drawer-close-btn:active {
    transform: scale(0.92);
}

/* ドロワーコンテンツエリア */
.mobile-drawer-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drawer-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
    padding-left: 6px;
    margin-bottom: 2px;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* メニューアイテム共通スタイル（タッチ対応 44px以上確保） */
.drawer-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.drawer-nav-item i {
    width: 22px;
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s ease;
}

.drawer-nav-item:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.drawer-nav-item:hover i {
    color: #ffffff;
}

/* 汎用 Active タブ（CSS変数を活用したフォールバック） */
.drawer-nav-item.active {
    background: var(--accent-gradient, linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(29, 155, 240, 0.35)));
    border-color: var(--accent-primary, #38bdf8);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 0 12px var(--accent-glow, rgba(56, 189, 248, 0.35));
}

.drawer-nav-item.active i {
    color: #ffffff;
}

/* Active バッジ */
.active-indicator {
    margin-left: auto;
    font-size: 0.6875rem;
    font-weight: 700;
    background: var(--accent-primary, #38bdf8);
    color: #ffffff;
    padding: 2px 7px;
    border-radius: 8px;
    letter-spacing: 0.02em;
}

/* ==========================================================================
   大分類別ブランドカラー完全定義（アイコン・ホバー・アクティブ）
   ========================================================================== */

/* 1. HKTメール (Mail: Blue #3b82f6) */
.drawer-nav-item[href*="mail"] i {
    color: #60a5fa;
}
.drawer-nav-item[href*="mail"]:hover {
    background-color: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.35);
}
.drawer-nav-item[href*="mail"]:hover i {
    color: #93c5fd;
}
.drawer-nav-item[href*="mail"].active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.28), rgba(99, 102, 241, 0.36));
    border-color: #3b82f6;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.4);
}
.drawer-nav-item[href*="mail"].active i {
    color: #ffffff;
}
.drawer-nav-item[href*="mail"] .active-indicator {
    background: #3b82f6;
    color: #ffffff;
}

/* 2. X (Twitter: Sky Blue #1d9bf0) */
.drawer-nav-item[href*="twitter"] i {
    color: #38bdf8;
}
.drawer-nav-item[href*="twitter"]:hover {
    background-color: rgba(29, 155, 240, 0.12);
    border-color: rgba(29, 155, 240, 0.35);
}
.drawer-nav-item[href*="twitter"]:hover i {
    color: #7dd3fc;
}
.drawer-nav-item[href*="twitter"].active {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.26), rgba(29, 155, 240, 0.36));
    border-color: #1d9bf0;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(29, 155, 240, 0.4);
}
.drawer-nav-item[href*="twitter"].active i {
    color: #ffffff;
}
.drawer-nav-item[href*="twitter"] .active-indicator {
    background: #1d9bf0;
    color: #ffffff;
}

/* 3. Instagram (IG: Magenta #e1306c) */
.drawer-nav-item[href*="instagram"] i {
    color: #f472b6;
}
.drawer-nav-item[href*="instagram"]:hover {
    background-color: rgba(225, 48, 108, 0.12);
    border-color: rgba(225, 48, 108, 0.35);
}
.drawer-nav-item[href*="instagram"]:hover i {
    color: #f687b3;
}
.drawer-nav-item[href*="instagram"].active {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.3), rgba(188, 24, 136, 0.38));
    border-color: #e1306c;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(225, 48, 108, 0.42);
}
.drawer-nav-item[href*="instagram"].active i {
    color: #ffffff;
}
.drawer-nav-item[href*="instagram"] .active-indicator {
    background: linear-gradient(135deg, #f09433, #dc2743);
    color: #ffffff;
}

/* 4. Showroom (Showroom: Wine Pink #ac5093) */
.drawer-nav-item[href*="showroom"] i {
    color: #f472b6;
}
.drawer-nav-item[href*="showroom"]:hover {
    background-color: rgba(172, 80, 147, 0.14);
    border-color: rgba(172, 80, 147, 0.38);
}
.drawer-nav-item[href*="showroom"]:hover i {
    color: #fbcfe8;
}
.drawer-nav-item[href*="showroom"].active {
    background: linear-gradient(135deg, rgba(192, 82, 153, 0.3), rgba(172, 80, 147, 0.4));
    border-color: #ac5093;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(172, 80, 147, 0.42);
}
.drawer-nav-item[href*="showroom"].active i {
    color: #ffffff;
}
.drawer-nav-item[href*="showroom"] .active-indicator {
    background: #ac5093;
    color: #ffffff;
}

/* 5. TikTok (TikTok: Neon Red #fe2c55) */
.drawer-nav-item[href*="tiktok"] i {
    color: #ff5c73;
}
.drawer-nav-item[href*="tiktok"]:hover {
    background-color: rgba(254, 44, 85, 0.12);
    border-color: rgba(254, 44, 85, 0.35);
}
.drawer-nav-item[href*="tiktok"]:hover i {
    color: #fda4af;
}
.drawer-nav-item[href*="tiktok"].active {
    background: linear-gradient(135deg, rgba(254, 44, 85, 0.3), rgba(255, 65, 108, 0.4));
    border-color: #fe2c55;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(254, 44, 85, 0.42);
}
.drawer-nav-item[href*="tiktok"].active i {
    color: #ffffff;
}
.drawer-nav-item[href*="tiktok"] .active-indicator {
    background: #fe2c55;
    color: #ffffff;
}

/* 6. 劇場公演 (Theater: Violet / Indigo #6366f1) */
.drawer-nav-item[href*="stage"] i {
    color: #a5b4fc;
}
.drawer-nav-item[href*="stage"]:hover {
    background-color: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.35);
}
.drawer-nav-item[href*="stage"]:hover i {
    color: #c7d2fe;
}
.drawer-nav-item[href*="stage"].active {
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.28), rgba(99, 102, 241, 0.4));
    border-color: #6366f1;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(99, 102, 241, 0.42);
}
.drawer-nav-item[href*="stage"].active i {
    color: #ffffff;
}
.drawer-nav-item[href*="stage"] .active-indicator {
    background: #6366f1;
    color: #ffffff;
}

/* 7. チケット (Ticket: Amber Gold #f59e0b) */
.drawer-nav-item[href*="ticket"] i {
    color: #fbbf24;
}
.drawer-nav-item[href*="ticket"]:hover {
    background-color: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.35);
}
.drawer-nav-item[href*="ticket"]:hover i {
    color: #fde68a;
}
.drawer-nav-item[href*="ticket"].active {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.28), rgba(217, 119, 6, 0.4));
    border-color: #f59e0b;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.42);
}
.drawer-nav-item[href*="ticket"].active i {
    color: #ffffff;
}
.drawer-nav-item[href*="ticket"] .active-indicator {
    background: #f59e0b;
    color: #0b1a2b;
}

/* ドロワー内のNEWバッジ（Showroomテキストの直後に自然に配置・薬丸型カプセルスタイル） */
.drawer-nav-item .new-badge {
    position: static;
    top: auto;
    right: auto;
    margin-left: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(244, 63, 94, 0.5);
    line-height: 1;
    letter-spacing: 0.04em;
    animation: badge-pulse 2s infinite ease-in-out;
}

@keyframes badge-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

/* ==========================================================================
   3. レスポンシブ：モバイル表示（768px以下）での最適化
   ========================================================================== */
@media screen and (max-width: 768px) {
    /* 頂部の複数行カプセルタグを非表示にし、垂直領域を最大化 */
    .tag,
    .tag-navigation {
        display: none;
    }

    /* 右上ハンバーガーボタンを表示 */
    .mobile-menu-btn {
        display: inline-flex;
    }

    /* ヘッダーの余白をすっきり調整 */
    .header {
        margin: 0 0 10px 0;
        padding: 0 6px;
        height: 48px;
    }

    .title,
    .header .title {
        font-size: 20px;
    }
}
