@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-y: hidden;
    overflow-x: clip;
    touch-action: none;
}

/* 半透明暗色背景オーバーレイ */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 18, 30, 0.72);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.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: #101928;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.28s 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: #60a5fa;
}

.drawer-title i.fa-x-twitter {
    color: #38bdf8;
}

.drawer-title i.fa-instagram {
    color: #f472b6;
}

.drawer-title i.fa-video {
    color: #d982b8;
}

.drawer-title i.fa-tiktok {
    color: #fb7185;
}

.drawer-title i.fa-masks-theater {
    color: #34d399;
}

.drawer-title i.fa-ticket {
    color: #fbbf24;
}

/* 閉じるボタン（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: 600;
    color: rgba(255, 255, 255, 0.62);
    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.88);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 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.68);
    transition: color 0.2s ease;
}

.drawer-nav-item:hover {
    background-color: rgba(255, 255, 255, 0.11);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.drawer-nav-item:hover i {
    color: #ffffff;
}

/* 汎用 Active タブ（CSS変数を活用したフォールバック） */
.drawer-nav-item.active {
    background: rgba(56, 189, 248, 0.16);
    border-color: var(--accent-primary, #38bdf8);
    color: #ffffff;
    font-weight: 700;
}

.drawer-nav-item.active i {
    color: #ffffff;
}

/* Active バッジ（4.5:1以上の高コントラスト確保） */
.active-indicator {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 700;
    background: #38bdf8;
    color: #082f49;
    padding: 2px 8px;
    border-radius: 6px;
}

/* ==========================================================================
   大分類別ブランドカラー完全定義（アイコン・ホバー・アクティブ）
   ========================================================================== */

/* 1. HKTメール (Mail: Cobalt Blue #2563eb) */
.drawer-nav-item[href*="mail"] i {
    color: #60a5fa;
}
.drawer-nav-item[href*="mail"]:hover {
    background-color: rgba(37, 99, 235, 0.14);
    border-color: rgba(96, 165, 250, 0.4);
}
.drawer-nav-item[href*="mail"]:hover i {
    color: #93c5fd;
}
.drawer-nav-item[href*="mail"].active {
    background: rgba(37, 99, 235, 0.24);
    border-color: #3b82f6;
    color: #ffffff;
}
.drawer-nav-item[href*="mail"].active i {
    color: #ffffff;
}
.drawer-nav-item[href*="mail"] .active-indicator {
    background: #1d4ed8;
    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.14);
    border-color: rgba(56, 189, 248, 0.4);
}
.drawer-nav-item[href*="twitter"]:hover i {
    color: #7dd3fc;
}
.drawer-nav-item[href*="twitter"].active {
    background: rgba(29, 155, 240, 0.22);
    border-color: #38bdf8;
    color: #ffffff;
}
.drawer-nav-item[href*="twitter"].active i {
    color: #ffffff;
}
.drawer-nav-item[href*="twitter"] .active-indicator {
    background: #7dd3fc;
    color: #082f49;
}

/* 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.14);
    border-color: rgba(244, 114, 182, 0.4);
}
.drawer-nav-item[href*="instagram"]:hover i {
    color: #f9a8d4;
}
.drawer-nav-item[href*="instagram"].active {
    background: rgba(225, 48, 108, 0.24);
    border-color: #e1306c;
    color: #ffffff;
}
.drawer-nav-item[href*="instagram"].active i {
    color: #ffffff;
}
.drawer-nav-item[href*="instagram"] .active-indicator {
    background: #be185d;
    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.16);
    border-color: rgba(217, 130, 184, 0.42);
}
.drawer-nav-item[href*="showroom"]:hover i {
    color: #fbcfe8;
}
.drawer-nav-item[href*="showroom"].active {
    background: rgba(172, 80, 147, 0.26);
    border-color: #c06ca8;
    color: #ffffff;
}
.drawer-nav-item[href*="showroom"].active i {
    color: #ffffff;
}
.drawer-nav-item[href*="showroom"] .active-indicator {
    background: #9d174d;
    color: #ffffff;
}

/* 5. TikTok (TikTok: Crimson Rose #fe2c55) */
.drawer-nav-item[href*="tiktok"] i {
    color: #fb7185;
}
.drawer-nav-item[href*="tiktok"]:hover {
    background-color: rgba(254, 44, 85, 0.14);
    border-color: rgba(251, 113, 133, 0.4);
}
.drawer-nav-item[href*="tiktok"]:hover i {
    color: #fda4af;
}
.drawer-nav-item[href*="tiktok"].active {
    background: rgba(254, 44, 85, 0.24);
    border-color: #fe2c55;
    color: #ffffff;
}
.drawer-nav-item[href*="tiktok"].active i {
    color: #ffffff;
}
.drawer-nav-item[href*="tiktok"] .active-indicator {
    background: #be123c;
    color: #ffffff;
}

/* 6. 劇場公演 (Theater: Emerald #10b981) */
.drawer-nav-item[href*="stage"] i {
    color: #34d399;
}
.drawer-nav-item[href*="stage"]:hover {
    background-color: rgba(16, 185, 129, 0.14);
    border-color: rgba(52, 211, 153, 0.4);
}
.drawer-nav-item[href*="stage"]:hover i {
    color: #6ee7b7;
}
.drawer-nav-item[href*="stage"].active {
    background: rgba(16, 185, 129, 0.22);
    border-color: #10b981;
    color: #ffffff;
}
.drawer-nav-item[href*="stage"].active i {
    color: #ffffff;
}
.drawer-nav-item[href*="stage"] .active-indicator {
    background: #34d399;
    color: #052e16;
}

/* 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.14);
    border-color: rgba(251, 191, 36, 0.4);
}
.drawer-nav-item[href*="ticket"]:hover i {
    color: #fde68a;
}
.drawer-nav-item[href*="ticket"].active {
    background: rgba(245, 158, 11, 0.22);
    border-color: #f59e0b;
    color: #ffffff;
}
.drawer-nav-item[href*="ticket"].active i {
    color: #ffffff;
}
.drawer-nav-item[href*="ticket"] .active-indicator {
    background: #f59e0b;
    color: #0b1a2b;
}

/* ドロワー内のNEWバッジ（シンプルな単色カプセル） */
.drawer-nav-item .new-badge {
    position: static;
    top: auto;
    right: auto;
    margin-left: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #be123c;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
    line-height: 1.1;
}

/* ==========================================================================
   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;
    }
}

/* ==========================================================================
   4. グループ切替ドロップダウン・ドロワーグリッド（全ページ共通）
   ========================================================================== */

/* ヘッダー右側アクショングループ（グループ切替 + ハンバーガーボタン） */
.header-right-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

.header-right-actions .mobile-menu-btn {
    margin-left: 0;
}

/* ドロップダウンルートコンテナ */
.group-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

/* トリガーボタン（毛ガラスカプセルスタイル） */
.group-switcher-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9999px;
    color: #f8fafc;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.group-switcher-btn:hover,
.group-switcher.is-open .group-switcher-btn {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.group-switcher-btn:active {
    transform: scale(0.97);
}

.group-switcher-btn:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 2px;
}

/* グループ代表色ドット */
.group-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.group-switcher-label {
    letter-spacing: 0.01em;
}

.group-switcher-chevron {
    font-size: 10px;
    opacity: 0.75;
    transition: transform 0.2s ease;
}

.group-switcher.is-open .group-switcher-chevron {
    transform: rotate(180deg);
}

/* ドロップダウンメニュー本体 */
.group-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 210px;
    padding: 6px;
    background: rgba(16, 25, 40, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.group-switcher.is-open .group-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.group-dropdown-header {
    padding: 6px 10px 4px;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.04em;
}

.group-dropdown-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* 各グループ選択肢 */
.group-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.2;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.group-option:hover,
.group-option:focus-visible {
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff;
    outline: none;
}

.group-option.is-current {
    background: rgba(56, 189, 248, 0.15);
    color: #ffffff;
    font-weight: 600;
}

.group-option-name {
    flex: 1;
}

.group-option-check {
    font-size: 12px;
    color: #38bdf8;
    margin-left: auto;
}

/* モバイルドロワー内のグループ切替グリッド */
.drawer-group-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.drawer-group-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 11px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.drawer-group-item:last-child:nth-child(odd) {
    grid-column: span 2;
}

.drawer-group-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.drawer-group-item.is-current {
    background: rgba(56, 189, 248, 0.16);
    border-color: rgba(56, 189, 248, 0.5);
    color: #ffffff;
    font-weight: 600;
}

.drawer-group-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* モバイル画面（768px以下）ではヘッダーのグループ切替ボタンを非表示にし、ドロワー内に集約 */
@media screen and (max-width: 768px) {
    .group-switcher {
        display: none;
    }
}

/* モーション低減設定への配慮 */
@media (prefers-reduced-motion: reduce) {
    .group-switcher-btn,
    .group-switcher-chevron,
    .group-dropdown,
    .group-option,
    .drawer-group-item {
        transition: none;
    }
}

