* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* テーマカラー変数 */
:root {
    /* ダークテーマ（デフォルト） */
    --bg-primary: #000;
    --bg-secondary: #16181c;
    --bg-hover: #1d1f23;
    --bg-tertiary: #0a0a0a;
    --text-primary: #e7e9ea;
    --text-secondary: #71767b;
    --border-color: #2f3336;
    --accent-blue: #1d9bf0;
    --accent-blue-hover: #1a8cd8;
    --accent-green: #00ba7c;
    --accent-red: #f4212e;
    --accent-yellow: #ffd400;
    --accent-pink: #f91880;
}

/* ライトテーマ */
:root[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f0f4f8;
    --bg-hover: #e3ebf3;
    --bg-tertiary: #f8fafc;
    --text-primary: #1a202c;
    --text-secondary: #475569;
    --border-color: #cbd5e0;
    --accent-blue: #0ea5e9;
    --accent-blue-hover: #0284c7;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --accent-yellow: #f59e0b;
    --accent-pink: #ec4899;
    --accent-cyan: #06b6d4;
    --accent-sky: #0ea5e9;
}

/* ビジネステーマ - 地味な白背景 + シックなパネル */
:root[data-theme="business"] {
    --bg-primary: #fafafa;
    --bg-secondary: #ffffff;
    --bg-hover: #f5f5f5;
    --bg-tertiary: #f8f8f8;
    --bg-sidebar: #2f3237;
    --bg-sidebar-secondary: #3a3d42;
    --bg-sidebar-hover: #434650;
    --text-primary: #1a1a1a;
    --text-secondary: #3a3a3a;
    --text-sidebar: #ffffff;
    --text-sidebar-secondary: #eeeeee;
    --border-color: #e0e0e0;
    --border-sidebar: #454850;
    --accent-blue: #5a6c7d;
    --accent-blue-hover: #4a5c6d;
    --accent-green: #6b8e7f;
    --accent-red: #a85c5c;
    --accent-yellow: #b8a675;
    --accent-pink: #9b7b8f;
    --accent-gray: #8b8b8b;
    --accent-dark: #2a2a2a;
    --accent-light: #b8b8b8;
    --accent-gold-subtle: #9d8f6f;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
}

.container {
    display: grid;
    grid-template-columns: 275px 1fr 350px;
    height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 80px;
}

/* 求人ページ専用の全画面コンテナ */
.jobs-container.full-width {
    max-width: none;
    margin: 0;
}

/* サイドバー */
.sidebar {
    background-color: var(--bg-primary);
    padding: 16px;
    border-right: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ユーザープロフィール */
.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.user-avatar {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.online-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background-color: var(--accent-green);
    border: 2px solid var(--bg-primary);
    border-radius: 50%;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-info h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-info p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 2px 0 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.settings-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
}

.settings-btn:hover {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.1);
}

/* クイックアクション */
.quick-actions {
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.action-icon {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--accent-blue);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
}

.action-icon:hover {
    background-color: rgba(29, 155, 240, 0.1);
    border-color: var(--accent-blue);
}

/* 会議セクション */
.meeting-section {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--border-color);
}

.meeting-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.meeting-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.meeting-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: background-color 0.2s;
}

.meeting-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.meeting-icon {
    width: 32px;
    height: 32px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.meeting-info {
    flex: 1;
    min-width: 0;
}

.meeting-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.meeting-participants {
    display: block;
    font-size: 11px;
    color: var(--text-secondary);
}

.join-btn {
    background-color: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.join-btn:hover {
    background-color: var(--accent-blue-hover);
}

.create-meeting-btn {
    width: 100%;
    background-color: transparent;
    border: 1px dashed var(--border-color);
    color: var(--text-secondary);
    border-radius: 8px;
    padding: 12px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.create-meeting-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* オンラインユーザー */
.online-users-section {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--border-color);
    flex: 1;
}

.online-users-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.online-count {
    color: var(--accent-green);
}

.online-users {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
}

.online-user {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.online-user:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.online-user .user-avatar.small {
    position: relative;
    width: 28px;
    height: 28px;
}

.status-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    border: 2px solid var(--bg-primary);
    border-radius: 50%;
}

.status-dot.online {
    background-color: var(--accent-green);
}

.status-dot.busy {
    background-color: var(--accent-red);
}

.status-dot.away {
    background-color: var(--accent-yellow);
}

.username {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-status {
    font-size: 11px;
    color: var(--text-secondary);
    font-style: italic;
}

.user-actions {
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s;
}

.online-user:hover .user-actions {
    opacity: 1;
}

.call-btn, .video-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    font-size: 12px;
    transition: all 0.2s;
}

.call-btn:hover {
    color: var(--accent-green);
    background-color: rgba(0, 186, 124, 0.1);
}

.video-btn:hover {
    color: var(--accent-blue);
    background-color: rgba(29, 155, 240, 0.1);
}

/* ナビゲーション（最小化） */
.nav-section {
    margin-top: auto;
}

.nav-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--border-color);
}

.nav-icon {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.2s;
}

.nav-icon:hover {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-icon.active {
    color: var(--accent-blue);
}

/* メインコンテンツ */
.main-content {
    background-color: var(--bg-primary);
    border-right: 1px solid var(--border-color);
    min-height: 100vh;
}

.main-header {
    position: sticky;
    top: 0;
    background-color: var(--bg-primary);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left h1 {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
}

.chat-filter-tabs {
    display: flex;
    gap: 8px;
    align-items: center;
}

.filter-tab {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}

.filter-tab:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background-color: rgba(29, 155, 240, 0.1);
}

.filter-tab.active {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

.filter-tab i {
    font-size: 11px;
}

/* ツイート投稿エリア */
.tweet-compose {
    display: flex;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    gap: 12px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.avatar.small {
    width: 32px;
    height: 32px;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.compose-content {
    flex: 1;
}

.tweet-input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    font-family: inherit;
    resize: none;
    outline: none;
    min-height: 54px;
    padding: 12px 0;
}

.tweet-input::placeholder {
    color: var(--text-secondary);
}

.compose-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.compose-icons {
    display: flex;
    gap: 16px;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--accent-blue);
    cursor: pointer;
    font-size: 18px;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.icon-btn:hover {
    background-color: rgba(29, 155, 240, 0.1);
}

.video-btn {
    color: var(--accent-pink);
}

.video-btn:hover {
    background-color: rgba(249, 24, 128, 0.1);
}

.tweet-submit {
    background-color: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 8px 24px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.tweet-submit:hover {
    background-color: var(--accent-blue-hover);
}

.tweet-submit:disabled {
    background-color: var(--bg-hover);
    color: var(--text-secondary);
    cursor: not-allowed;
}

/* ツイート分類タブ */
.tweet-category-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    position: sticky;
    top: 0;
    z-index: 10;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tweet-category-tabs::-webkit-scrollbar {
    display: none;
}

.tweet-category-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    white-space: nowrap;
}

.tweet-category-tab i {
    font-size: 16px;
}

.tweet-category-tab:hover {
    background-color: var(--bg-hover);
    color: var(--text-primary);
}

.tweet-category-tab.active {
    color: var(--text-primary);
}

.tweet-category-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--accent-blue);
    border-radius: 2px 2px 0 0;
}

/* タイムライン */
.timeline {
    border: none;
}

.tweet {
    display: flex;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    gap: 12px;
    transition: background-color 0.2s;
}

.tweet:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.tweet-content {
    flex: 1;
    min-width: 0;
}

.tweet-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.name {
    font-weight: bold;
    color: var(--text-primary);
}

.username {
    color: var(--text-secondary);
}

.time {
    color: var(--text-secondary);
}

.tweet-text {
    font-size: 15px;
    line-height: 1.3125;
    margin-bottom: 12px;
    word-wrap: break-word;
}

.video-preview {
    position: relative;
    margin: 12px 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.video-preview video {
    width: 100%;
    height: 225px;
    object-fit: cover;
    background-color: var(--bg-tertiary);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.2s;
}

.video-preview:hover .video-overlay {
    opacity: 1;
}

.video-chat-join {
    background-color: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    transition: background-color 0.2s;
}

.video-chat-join:hover {
    background-color: var(--accent-blue-hover);
}

.tweet-actions {
    display: flex;
    justify-content: space-between;
    max-width: 425px;
    margin-top: 12px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    font-size: 14px;
    transition: color 0.2s, background-color 0.2s;
}

.action-btn:hover {
    color: var(--accent-blue);
    background-color: rgba(29, 155, 240, 0.1);
}

/* 右サイドバー */
.right-sidebar {
    background-color: var(--bg-primary);
    padding: 20px 16px;
    overflow-y: auto;
}

.widget {
    background-color: var(--bg-secondary);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
}

.widget h2 {
    font-size: 20px;
    font-weight: 800;
    padding: 12px 16px;
}

.trend-item {
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.trend-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.trend-category {
    font-size: 13px;
    color: var(--text-secondary);
}

.trend-title {
    font-size: 15px;
    font-weight: bold;
    margin: 2px 0;
}

.trend-count {
    font-size: 13px;
    color: var(--text-secondary);
}

.user-suggestion {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
}

.user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.user-info .name {
    font-size: 15px;
    font-weight: bold;
}

.user-info .username {
    font-size: 13px;
    color: var(--text-secondary);
}

.follow-btn {
    background-color: var(--text-primary);
    color: #0f1419;
    border: none;
    border-radius: 50px;
    padding: 6px 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.follow-btn:hover {
    background-color: #d7dbdc;
}

/* ビデオチャットウィジェット */
.video-chat-widget {
    border: 1px solid var(--accent-blue);
}

.active-chat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.chat-participants {
    display: flex;
    align-items: center;
    gap: 8px;
}

.participant {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--accent-blue);
    overflow: hidden;
}

.participant img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.participant-count {
    background-color: var(--accent-blue);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.join-chat-btn {
    background-color: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 6px 16px;
    font-weight: bold;
    cursor: pointer;
    font-size: 13px;
}

/* ビデオチャットモーダル */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    background-color: var(--bg-primary);
    border-radius: 16px;
    width: 90%;
    max-width: 1000px;
    height: 80%;
    max-height: 700px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
}

.video-header h3 {
    font-size: 18px;
    font-weight: bold;
}

.video-controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

.control-btn {
    background-color: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

.control-btn:hover {
    background-color: var(--accent-blue-hover);
}

.control-btn.leave {
    background-color: var(--accent-red);
}

.control-btn.leave:hover {
    background-color: #d91826;
}

.control-btn.muted {
    background-color: var(--accent-red);
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 20px;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.close-modal:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.video-container {
    flex: 1;
    position: relative;
    background-color: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-video {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.video-placeholder i {
    font-size: 48px;
}

.local-video {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 200px;
    height: 150px;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.local-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-panel {
    height: 200px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    background-color: var(--bg-secondary);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

.message {
    margin-bottom: 8px;
    font-size: 14px;
}

.sender {
    font-weight: bold;
    color: var(--accent-blue);
}

.text {
    margin-left: 8px;
}

.chat-input-container {
    display: flex;
    padding: 12px;
    gap: 12px;
    border-top: 1px solid var(--border-color);
}

#chatInput {
    flex: 1;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 16px;
    color: var(--text-primary);
    font-family: inherit;
    outline: none;
}

#chatInput::placeholder {
    color: var(--text-secondary);
}

#sendMessage {
    background-color: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
}

#sendMessage:hover {
    background-color: var(--accent-blue-hover);
}

/* 設定モーダル */
.settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
}

.settings-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-modal-content {
    background-color: var(--bg-primary);
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.settings-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.close-settings {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.close-settings:hover {
    background-color: var(--bg-hover);
}

.settings-body {
    padding: 20px;
}

.settings-section {
    margin-bottom: 24px;
}

.settings-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.theme-options {
    display: flex;
    gap: 12px;
}

.theme-option {
    flex: 1;
}

.theme-option input[type="radio"] {
    display: none;
}

.theme-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.theme-label:hover {
    border-color: var(--accent-blue);
}

.theme-option input[type="radio"]:checked + .theme-label {
    border-color: var(--accent-blue);
    background-color: rgba(29, 155, 240, 0.1);
}

.theme-preview {
    width: 60px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.theme-preview.dark {
    background-color: #000;
}

.theme-preview.light {
    background-color: #fff;
}

.theme-preview.business {
    background-color: #2f3237;
}

.theme-preview .theme-bg {
    height: 100%;
    width: 40%;
    float: left;
}

.theme-preview.dark .theme-bg {
    background-color: #16181c;
}

.theme-preview.light .theme-bg {
    background-color: #f7f9f9;
}

.theme-preview.business .theme-bg {
    background-color: #3a3d42;
}

.theme-preview .theme-text {
    height: 100%;
    width: 60%;
    float: right;
    padding: 4px;
}

.theme-preview.dark .theme-text {
    background-color: #000;
}

.theme-preview.light .theme-text {
    background-color: #fff;
}

.theme-preview.business .theme-text {
    background-color: #fafafa;
}

.theme-preview .theme-text::before {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    margin-bottom: 2px;
}

.theme-preview.dark .theme-text::before {
    background-color: #e7e9ea;
}

.theme-preview.light .theme-text::before {
    background-color: #0f1419;
}

.theme-preview.business .theme-text::before {
    background-color: #9d8f6f;
}

.theme-preview .theme-text::after {
    content: '';
    display: block;
    width: 70%;
    height: 2px;
    border-radius: 2px;
}

.theme-preview.dark .theme-text::after {
    background-color: #71767b;
}

.theme-preview.light .theme-text::after {
    background-color: #536471;
}

.theme-preview.business .theme-text::after {
    background-color: #b8b8b8;
}

.theme-label span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.setting-text {
    flex: 1;
}

.setting-text span {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
}

.setting-text p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 4px 0 0 0;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--text-secondary);
    transition: 0.3s;
    border-radius: 34px;
}

.slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.switch input:checked + .slider {
    background-color: var(--accent-blue);
}

.switch input:checked + .slider::before {
    transform: translateX(22px);
}

/* ライトモード専用スタイル */
:root[data-theme="light"] body {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 25%, #334155 50%, #0f172a 75%, #1e293b 100%);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

:root[data-theme="light"] .sidebar {
    background:
        repeating-linear-gradient(
            45deg,
            rgba(120, 82, 50, 0.06) 0px,
            rgba(120, 82, 50, 0.06) 10px,
            rgba(139, 90, 43, 0.08) 10px,
            rgba(139, 90, 43, 0.08) 20px
        ),
        repeating-linear-gradient(
            -45deg,
            rgba(101, 67, 33, 0.04) 0px,
            rgba(101, 67, 33, 0.04) 10px,
            rgba(120, 82, 50, 0.06) 10px,
            rgba(120, 82, 50, 0.06) 20px
        ),
        linear-gradient(135deg, rgba(255, 248, 240, 0.98) 0%, rgba(245, 235, 220, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border-right: 1px solid rgba(139, 90, 43, 0.3);
    box-shadow: 0 8px 32px rgba(101, 67, 33, 0.2);
    position: relative;
}

:root[data-theme="light"] .sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(139, 90, 43, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(160, 108, 58, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

:root[data-theme="light"] .user-profile {
    background:
        linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    box-shadow:
        0 4px 20px rgba(37, 99, 235, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

:root[data-theme="light"] .user-profile::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.08) 10px,
        rgba(255, 255, 255, 0.08) 20px
    );
    pointer-events: none;
    z-index: 0;
}

:root[data-theme="light"] .user-profile .user-info h3,
:root[data-theme="light"] .user-profile .user-info p {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

:root[data-theme="light"] .nav-icon {
    background-color: transparent;
    transition: all 0.3s ease;
    position: relative;
    border-left: 2px solid transparent;
}

:root[data-theme="light"] .nav-icon:hover {
    background:
        linear-gradient(90deg, rgba(139, 90, 43, 0.15) 0%, rgba(160, 108, 58, 0.1) 100%);
    transform: translateX(5px);
    border-left: 2px solid rgba(139, 90, 43, 0.4);
}

:root[data-theme="light"] .nav-icon.active {
    background:
        linear-gradient(90deg, rgba(139, 90, 43, 0.25) 0%, rgba(160, 108, 58, 0.18) 100%);
    border-left: 3px solid #8b5a2b;
    box-shadow: inset 0 0 20px rgba(139, 90, 43, 0.15);
}

:root[data-theme="light"] .main-content {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

:root[data-theme="light"] .main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(203, 213, 224, 0.5);
}

:root[data-theme="light"] .tweet-compose {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

:root[data-theme="light"] .tweet-category-tabs {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

:root[data-theme="light"] .tweet-category-tab {
    color: var(--text-secondary);
}

:root[data-theme="light"] .tweet-category-tab:hover {
    background-color: var(--bg-hover);
    color: var(--text-primary);
}

:root[data-theme="light"] .tweet-category-tab.active {
    color: var(--text-primary);
}

:root[data-theme="light"] .tweet-category-tab.active::after {
    background-color: var(--accent-blue);
}

:root[data-theme="light"] .tweet-submit {
    background-color: var(--accent-blue) !important;
    border: none;
    transition: all 0.3s ease;
    color: #ffffff !important;
}

:root[data-theme="light"] .tweet-submit:hover {
    background-color: var(--accent-blue-hover) !important;
}

:root[data-theme="light"] .tweet {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

:root[data-theme="light"] .tweet:hover {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.08) 0%, transparent 100%);
    transform: translateX(5px);
    box-shadow: -3px 0 0 #2563eb;
}

:root[data-theme="light"] .right-sidebar {
    background:
        repeating-linear-gradient(
            -45deg,
            rgba(37, 99, 235, 0.03) 0px,
            rgba(37, 99, 235, 0.03) 10px,
            rgba(59, 130, 246, 0.05) 10px,
            rgba(59, 130, 246, 0.05) 20px
        ),
        repeating-linear-gradient(
            45deg,
            rgba(30, 64, 175, 0.02) 0px,
            rgba(30, 64, 175, 0.02) 10px,
            rgba(37, 99, 235, 0.04) 10px,
            rgba(37, 99, 235, 0.04) 20px
        ),
        linear-gradient(-135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border-left: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
}

:root[data-theme="light"] .right-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 80% 30%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 70%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

:root[data-theme="light"] .search-box {
    background: rgba(240, 244, 248, 0.9);
    border: 1px solid rgba(203, 213, 224, 0.5);
    transition: all 0.3s ease;
}

:root[data-theme="light"] .search-box:focus-within {
    background-color: rgba(255, 255, 255, 0.95);
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2), 0 4px 20px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

:root[data-theme="light"] .section {
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(37, 99, 235, 0.02) 2px,
            rgba(37, 99, 235, 0.02) 4px
        ),
        rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(203, 213, 224, 0.5);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

:root[data-theme="light"] .section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #2563eb 50%, transparent 100%);
    opacity: 0.5;
    pointer-events: none;
}

:root[data-theme="light"] .online-user {
    background-color: transparent;
    transition: all 0.3s ease;
}

:root[data-theme="light"] .online-user:hover {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.12) 0%, transparent 100%);
    transform: translateX(5px);
}

:root[data-theme="light"] .message-input-container {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

:root[data-theme="light"] .message-input-wrapper {
    background: rgba(240, 244, 248, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

:root[data-theme="light"] .message-input-wrapper:focus-within {
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
    border-color: #2563eb;
}

:root[data-theme="light"] .send-btn {
    background-color: var(--accent-blue) !important;
    color: #ffffff !important;
}

:root[data-theme="light"] .send-btn:hover {
    background-color: var(--accent-blue-hover) !important;
}

:root[data-theme="light"] .job-card,
:root[data-theme="light"] .team-card {
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 15px,
            rgba(37, 99, 235, 0.015) 15px,
            rgba(37, 99, 235, 0.015) 30px
        ),
        rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(203, 213, 224, 0.5);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

:root[data-theme="light"] .job-card::after,
:root[data-theme="light"] .team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

:root[data-theme="light"] .job-card:hover,
:root[data-theme="light"] .team-card:hover {
    box-shadow:
        0 8px 30px rgba(37, 99, 235, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(37, 99, 235, 0.5);
}

:root[data-theme="light"] .job-card:hover::after,
:root[data-theme="light"] .team-card:hover::after {
    left: 100%;
}

:root[data-theme="light"] .settings-modal-content {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
}

:root[data-theme="light"] .follow-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    border: none;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
}

:root[data-theme="light"] .follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.6);
}

:root[data-theme="light"] .action-btn:hover {
    color: #2563eb;
    transform: scale(1.2);
}

:root[data-theme="light"] .video-chat-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.5);
}

:root[data-theme="light"] .video-chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.7);
}

:root[data-theme="light"] .create-meeting-btn {
    background:
        linear-gradient(135deg, #b8860b 0%, #a0522d 50%, #8b4513 100%);
    box-shadow:
        0 4px 20px rgba(184, 134, 11, 0.6),
        0 0 30px rgba(184, 134, 11, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

:root[data-theme="light"] .create-meeting-btn i {
    color: #ffffff !important;
}

:root[data-theme="light"] .create-meeting-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

:root[data-theme="light"] .create-meeting-btn:hover::before {
    left: 100%;
}

:root[data-theme="light"] .create-meeting-btn:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow:
        0 8px 30px rgba(184, 134, 11, 0.8),
        0 0 50px rgba(184, 134, 11, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

:root[data-theme="light"] .filter-tab.active {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.5);
}

:root[data-theme="light"] .job-tab.active,
:root[data-theme="light"] .team-tab.active {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.5);
}

/* ビジネステーマのスタイル - 地味な白背景 + シックなパネル */
:root[data-theme="business"] body {
    background-color: var(--bg-primary);
}

:root[data-theme="business"] .sidebar {
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-sidebar);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
}

:root[data-theme="business"] .sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold-subtle), transparent);
}

:root[data-theme="business"] .user-profile {
    background-color: var(--bg-sidebar-secondary);
    border: 1px solid var(--border-sidebar);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

:root[data-theme="business"] .user-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: var(--accent-gold-subtle);
    border-radius: 12px 0 0 12px;
}

:root[data-theme="business"] .user-profile .user-info h3,
:root[data-theme="business"] .user-profile .user-info p {
    color: var(--text-sidebar);
}

:root[data-theme="business"] .nav-icon {
    color: var(--text-sidebar-secondary);
    transition: all 0.2s ease;
}

:root[data-theme="business"] .nav-icon:hover {
    background-color: var(--bg-sidebar-hover);
    color: var(--text-sidebar);
}

:root[data-theme="business"] .nav-icon.active {
    background-color: var(--accent-gold-subtle);
    color: var(--bg-sidebar);
}

:root[data-theme="business"] .main-content {
    background-color: var(--bg-primary);
    border-left: 1px solid var(--border-color);
}

:root[data-theme="business"] .main-header {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

:root[data-theme="business"] .tweet-compose {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

:root[data-theme="business"] .tweet-category-tabs {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

:root[data-theme="business"] .tweet-category-tab {
    color: var(--text-secondary);
}

:root[data-theme="business"] .tweet-category-tab:hover {
    background-color: var(--bg-hover);
    color: var(--accent-dark);
}

:root[data-theme="business"] .tweet-category-tab.active {
    color: var(--accent-dark);
    border-bottom: 2px solid var(--accent-dark);
}

:root[data-theme="business"] .tweet-category-tab.active::after {
    background: var(--accent-dark);
}

:root[data-theme="business"] .tweet-submit {
    background-color: var(--accent-dark);
    color: white;
    font-weight: 500;
}

:root[data-theme="business"] .tweet-submit:hover {
    background-color: var(--text-primary);
}

:root[data-theme="business"] .tweet {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

:root[data-theme="business"] .tweet:hover {
    background-color: var(--bg-hover);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

:root[data-theme="business"] .right-sidebar {
    background-color: #3d4248;
    border-left: 1px solid #4a4f55;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
}

:root[data-theme="business"] .right-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gray));
}

:root[data-theme="business"] .section {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

:root[data-theme="business"] .section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
}

:root[data-theme="business"] .section h2 {
    color: var(--text-primary);
}

:root[data-theme="business"] .widget h2 {
    color: var(--text-primary);
}

:root[data-theme="business"] .trend-item,
:root[data-theme="business"] .user-suggestion {
    color: var(--text-secondary);
}

:root[data-theme="business"] .trend-title,
:root[data-theme="business"] .user-suggestion .name {
    color: var(--text-primary);
}

:root[data-theme="business"] .trend-category,
:root[data-theme="business"] .trend-count {
    color: var(--text-secondary);
}

:root[data-theme="business"] .user-suggestion .username {
    color: var(--text-secondary);
}

:root[data-theme="business"] .online-user {
    background-color: transparent;
}

:root[data-theme="business"] .online-user:hover {
    background-color: var(--bg-sidebar-hover);
    border-left: 2px solid var(--accent-gold-subtle);
}

:root[data-theme="business"] .online-user .username {
    color: var(--text-primary);
}

:root[data-theme="business"] .user-status {
    color: var(--text-secondary);
}

:root[data-theme="business"] .meeting-section h4,
:root[data-theme="business"] .online-users-section h4 {
    color: var(--text-primary);
}

:root[data-theme="business"] .meeting-item {
    background-color: var(--bg-sidebar-secondary);
    border: 1px solid var(--border-sidebar);
}

:root[data-theme="business"] .meeting-item:hover {
    background-color: var(--bg-sidebar-hover);
}

:root[data-theme="business"] .meeting-title {
    color: var(--text-sidebar);
}

:root[data-theme="business"] .meeting-participants {
    color: var(--text-sidebar-secondary);
}

:root[data-theme="business"] .meeting-info {
    color: var(--text-sidebar);
}

:root[data-theme="business"] .settings-btn {
    color: var(--text-sidebar-secondary);
}

:root[data-theme="business"] .settings-btn:hover {
    color: var(--text-sidebar);
    background-color: var(--bg-sidebar-hover);
}

:root[data-theme="business"] .quick-actions .action-icon {
    background-color: var(--bg-sidebar-secondary);
    color: var(--text-sidebar-secondary);
    border: 1px solid var(--border-sidebar);
}

:root[data-theme="business"] .quick-actions .action-icon:hover {
    background-color: var(--bg-sidebar-hover);
    color: var(--text-sidebar);
    border-color: var(--accent-gold-subtle);
}

:root[data-theme="business"] .call-btn,
:root[data-theme="business"] .video-btn {
    background-color: var(--bg-sidebar-hover);
    color: var(--text-sidebar-secondary);
    border: 1px solid var(--border-sidebar);
}

:root[data-theme="business"] .call-btn:hover,
:root[data-theme="business"] .video-btn:hover {
    background-color: var(--accent-gold-subtle);
    color: var(--bg-sidebar);
    border-color: var(--accent-gold-subtle);
}

:root[data-theme="business"] .message-input-container {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

:root[data-theme="business"] .message-input-wrapper {
    background-color: transparent;
    border: 1px solid var(--border-color);
}

:root[data-theme="business"] .message-input-wrapper input,
:root[data-theme="business"] #globalMessageInput {
    background-color: transparent;
    color: var(--text-primary);
}

:root[data-theme="business"] .message-input-wrapper:focus-within {
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 2px rgba(74, 74, 74, 0.1);
}

:root[data-theme="business"] .send-btn {
    background-color: var(--accent-dark);
    color: white;
}

:root[data-theme="business"] .send-btn:hover {
    background-color: var(--text-primary);
}

:root[data-theme="business"] .job-card,
:root[data-theme="business"] .team-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    position: relative;
}

:root[data-theme="business"] .job-card::after,
:root[data-theme="business"] .team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: var(--accent-gray);
}

:root[data-theme="business"] .job-card:hover,
:root[data-theme="business"] .team-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

:root[data-theme="business"] .job-card:hover::after,
:root[data-theme="business"] .team-card:hover::after {
    background-color: var(--accent-dark);
}

:root[data-theme="business"] .settings-modal-content {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

:root[data-theme="business"] .follow-btn {
    background-color: var(--accent-dark);
    color: white;
    border: none;
}

:root[data-theme="business"] .follow-btn:hover {
    background-color: var(--text-primary);
}

:root[data-theme="business"] .action-btn:hover {
    color: var(--accent-dark);
    background-color: var(--bg-hover);
}

:root[data-theme="business"] .video-chat-btn {
    background-color: var(--accent-dark);
    color: white;
}

:root[data-theme="business"] .video-chat-btn:hover {
    background-color: var(--text-primary);
}

:root[data-theme="business"] .create-meeting-btn {
    background-color: var(--accent-gold-subtle);
    border: none;
    color: var(--bg-sidebar);
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

:root[data-theme="business"] .create-meeting-btn i {
    color: var(--bg-sidebar);
}

:root[data-theme="business"] .create-meeting-btn::before {
    display: none;
}

:root[data-theme="business"] .create-meeting-btn:hover::before {
    display: none;
}

:root[data-theme="business"] .create-meeting-btn:hover {
    background-color: #b8a675;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

:root[data-theme="business"] .join-btn {
    background-color: var(--bg-sidebar-hover);
    color: var(--text-sidebar);
    border: 1px solid var(--border-sidebar);
}

:root[data-theme="business"] .join-btn:hover {
    background-color: var(--accent-gold-subtle);
    color: var(--bg-sidebar);
    border-color: var(--accent-gold-subtle);
}

:root[data-theme="business"] .filter-tab.active {
    background-color: var(--accent-dark);
    color: white;
}

:root[data-theme="business"] .job-tab.active,
:root[data-theme="business"] .team-tab.active {
    background-color: var(--accent-dark);
    color: white;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 88px 1fr;
    }
    
    .right-sidebar {
        display: none;
    }
    
    .sidebar {
        padding: 20px 12px;
    }
    
    .nav-item span {
        display: none;
    }
    
    .tweet-button {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        padding: 0;
        font-size: 24px;
    }
    
    .logo span {
        display: none;
    }
}

@media (max-width: 688px) {
    .container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none;
    }
    
    .main-content {
        border-right: none;
    }
    
    .video-modal-content {
        width: 95%;
        height: 90%;
    }
    
    .local-video {
        width: 120px;
        height: 90px;
        top: 12px;
        right: 12px;
    }
    
    .chat-panel {
        height: 150px;
    }
}

@media (max-width: 500px) {
    .tweet-compose {
        padding: 12px 16px;
    }
    
    .tweet {
        padding: 12px 16px;
    }
    
    .main-header {
        padding: 12px 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .header-left {
        text-align: center;
    }

    .chat-filter-tabs {
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }

    .filter-tab {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .video-header {
        padding: 12px 16px;
    }
    
    .video-controls .control-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* メッセージ送信UI（固定位置） */
.message-input-container {
    position: fixed;
    bottom: 0;
    left: 275px;
    right: 0;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    z-index: 100;
    padding: 16px 20px;
    margin-left: 0;
    box-sizing: border-box;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}

.message-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(1200px - 275px);
    margin: 0;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 8px 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.message-input-wrapper:focus-within {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 1px rgba(29, 155, 240, 0.2);
}

.message-input-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.attach-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.attach-btn:hover {
    color: var(--accent-blue);
    background-color: rgba(29, 155, 240, 0.1);
}

#globalMessageInput {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    outline: none;
    padding: 12px 0;
    min-height: 20px;
}

#globalMessageInput::placeholder {
    color: var(--text-secondary);
}

.message-input-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.voice-btn, .emoji-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voice-btn:hover {
    color: var(--accent-pink);
    background-color: rgba(249, 24, 128, 0.1);
}

.emoji-btn:hover {
    color: var(--accent-yellow);
    background-color: rgba(255, 212, 0, 0.1);
}

.send-btn {
    background-color: var(--accent-blue);
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
}

.send-btn:hover {
    background-color: var(--accent-blue-hover);
    transform: scale(1.05);
}

.send-btn:active {
    transform: scale(0.95);
}

.send-btn:disabled {
    background-color: var(--bg-hover);
    color: var(--text-secondary);
    cursor: not-allowed;
    transform: none;
}

.recipient-selector {
    position: absolute;
    top: -35px;
    right: 20px;
    z-index: 10;
}

#recipientSelect {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 16px;
    outline: none;
    cursor: pointer;
    transition: all 0.2s;
}

#recipientSelect:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 1px rgba(29, 155, 240, 0.2);
}

#recipientSelect option {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

/* メッセージ送信UI用のメインコンテンツ調整 */
.main-content, .right-sidebar {
    padding-bottom: 100px;
}

/* 送信中状態 */
.message-input-wrapper.sending {
    opacity: 0.7;
    pointer-events: none;
}

.message-input-wrapper.sending .send-btn {
    background-color: var(--accent-green);
}

.message-input-wrapper.sending .send-btn i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* レスポンシブ対応（メッセージ入力UI） */
@media (max-width: 1024px) {
    .message-input-container {
        left: 88px;
    }
    
    .message-input-wrapper {
        max-width: calc(100vw - 88px - 40px);
    }
    
    .recipient-selector {
        top: -30px;
        right: 16px;
    }
    
    #recipientSelect {
        font-size: 11px;
        padding: 4px 8px;
    }
}

@media (max-width: 688px) {
    .message-input-container {
        left: 0;
        padding: 12px 16px;
    }
    
    .message-input-wrapper {
        padding: 6px 12px;
        max-width: calc(100vw - 32px);
    }
    
    #globalMessageInput {
        font-size: 14px;
    }
    
    .send-btn {
        min-width: 36px;
        min-height: 36px;
        padding: 8px 10px;
        font-size: 14px;
    }
    
    .attach-btn, .voice-btn, .emoji-btn {
        padding: 6px;
        font-size: 14px;
    }
}

/* ダイレクトメッセージウィジェット */
.dm-widget {
    max-height: 300px;
}

.dm-messages {
    max-height: 200px;
    overflow-y: auto;
    padding: 8px 12px;
}

.dm-message {
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 13px;
}

.dm-message.sent {
    background-color: var(--accent-blue);
    color: white;
    margin-left: 20px;
    text-align: right;
}

.dm-message.received {
    background-color: var(--border-color);
    color: var(--text-primary);
    margin-right: 20px;
}

.dm-sender {
    font-weight: bold;
    font-size: 11px;
    margin-bottom: 2px;
    opacity: 0.8;
}

.dm-text {
    line-height: 1.3;
}

.dm-time {
    font-size: 10px;
    margin-top: 4px;
    opacity: 0.6;
}

/* 空の結果表示 */
.empty-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    text-align: center;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-text {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.empty-subtext {
    font-size: 14px;
    opacity: 0.7;
}

/* 仕事ページのスタイル */
.jobs-container {
    display: grid;
    grid-template-columns: 1fr 220px;
    height: 100vh;
    width: calc(100vw - 275px);
    max-width: calc(100vw - 275px);
    margin: 0;
    margin-left: 275px;
    padding-bottom: 80px;
    background-color: var(--bg-primary);
    gap: 0;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1;
}

.jobs-main {
    background-color: var(--bg-primary);
    border-right: 1px solid var(--border-color);
    min-height: 100vh;
    overflow-y: auto;
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.jobs-header {
    position: sticky;
    top: 0;
    background-color: var(--bg-primary);
    backdrop-filter: blur(12px);
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jobs-header .header-left h1 {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
}

.job-tabs {
    display: flex;
    gap: 8px;
    align-items: center;
}

.job-tab {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}

.job-tab:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background-color: rgba(29, 155, 240, 0.1);
}

.job-tab.active {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

.job-tab i {
    font-size: 11px;
}

/* タブコンテンツ */
.tab-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    display: none;
}

.tab-content.active {
    display: block !important;
}

#browseTab.active,
#postTab.active,
#myJobsTab.active {
    display: block !important;
}

/* 検索フィルター */
.search-filters {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    margin: 0;
    width: 100%;
}

.search-row, .filter-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    width: 100%;
}

.filter-row {
    margin-bottom: 0;
}

.search-input, .filter-select {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.search-input {
    flex: 3;
    min-width: 300px;
}

.filter-select {
    flex: 1;
}

.search-input:focus, .filter-select:focus {
    border-color: var(--accent-blue);
}

.search-input::placeholder {
    color: var(--text-secondary);
}

.filter-select option {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

/* カテゴリ分類タブ */
.category-tabs {
    display: flex;
    gap: 8px;
    padding: 12px 32px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-tertiary);
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.category-tab {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 16px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
    white-space: nowrap;
    min-height: 28px;
}

.category-tab:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background-color: rgba(29, 155, 240, 0.1);
    transform: translateY(-1px);
}

.category-tab.active {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
    font-weight: 600;
}

.category-tab i {
    font-size: 10px;
    opacity: 0.8;
}

.category-tab.active i {
    opacity: 1;
}

/* 求人リスト */
.jobs-list {
    padding: 0;
    width: 100%;
    margin: 0;
}

.job-item {
    padding: 32px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background-color 0.2s;
}

.job-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.job-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.job-company {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 4px 0 8px 0;
}

.job-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.job-tag {
    background-color: var(--border-color);
    color: var(--text-primary);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.job-tag.category {
    background-color: var(--accent-blue);
}

.job-tag.type {
    background-color: var(--accent-green);
}

.job-tag.experience {
    background-color: var(--accent-yellow);
    color: #000;
}

.job-description {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.skill-tag {
    background-color: rgba(29, 155, 240, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(29, 155, 240, 0.3);
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 10px;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-salary {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-green);
}

.job-actions {
    display: flex;
    gap: 8px;
}

.apply-btn, .save-btn {
    background-color: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.apply-btn:hover {
    background-color: var(--accent-blue-hover);
}

.save-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.save-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* 求人投稿フォーム */
.job-post-form {
    padding: 32px 48px;
    max-width: none;
    width: 100%;
}

.job-post-form h2 {
    color: var(--text-primary);
    margin-bottom: 24px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 24px;
    width: 100%;
}

.form-row {
    display: flex;
    gap: 24px;
    width: 100%;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

.form-group select option {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.submit-btn {
    background-color: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: var(--accent-blue-hover);
}

/* 求人サイドバー */
.jobs-sidebar {
    background-color: var(--bg-primary);
    padding: 16px 12px;
    overflow-y: auto;
    padding-bottom: 100px;
    min-width: 220px;
    width: 220px;
    flex-shrink: 0;
}

.jobs-sidebar .widget h2 {
    font-size: 16px;
    font-weight: 700;
    padding: 8px 12px;
}

.featured-job {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px;
    margin-bottom: 8px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    transition: background-color 0.2s;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.featured-job:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.job-company-logo {
    width: 32px;
    height: 32px;
    background-color: var(--accent-blue);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

.featured-job .job-info {
    flex: 1;
    min-width: 0;
}

.featured-job .job-info h3 {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.featured-job .job-info p {
    font-size: 10px;
    color: var(--text-secondary);
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.featured-job .job-salary {
    font-size: 9px;
    font-weight: 600;
    color: var(--accent-green);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quick-apply-btn {
    background-color: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 9px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}

.quick-apply-btn:hover {
    background-color: var(--accent-blue-hover);
}

/* 求人統計 */
.job-stats {
    margin-bottom: 16px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.stat-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-blue);
}

/* スキルクラウド */
.skills-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px;
}

.skills-cloud .skill-tag {
    background-color: rgba(29, 155, 240, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(29, 155, 240, 0.3);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
}

.skills-cloud .skill-tag:hover {
    background-color: rgba(29, 155, 240, 0.2);
    transform: scale(1.05);
}

/* マイ求人セクション */
.my-jobs-section, .applied-jobs-section {
    padding: 32px 48px;
    border-bottom: 1px solid var(--border-color);
}

.my-jobs-section h2, .applied-jobs-section h2 {
    color: var(--text-primary);
    font-size: 18px;
    margin-bottom: 16px;
}

.my-jobs-list, .applied-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .jobs-container {
        grid-template-columns: 1fr;
        padding-left: 88px;
    }
    
    .jobs-sidebar {
        display: none;
    }
    
    .filter-row {
        flex-wrap: wrap;
    }
    
    .job-tabs {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .job-tab {
        padding: 6px 12px;
        font-size: 11px;
    }
}

@media (max-width: 688px) {
    .jobs-container {
        padding-left: 0;
        padding: 0 0 80px 0;
    }
    
    .search-row, .filter-row {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .jobs-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .jobs-header .header-left {
        text-align: center;
    }
    
    .job-tabs {
        justify-content: center;
    }
    
    .category-tabs {
        padding: 8px 16px;
        gap: 6px;
        justify-content: center;
    }
    
    .category-tab {
        font-size: 10px;
        padding: 3px 8px;
        min-height: 24px;
        gap: 3px;
    }
}

/* チームページのスタイル */
.teams-container {
    display: grid;
    grid-template-columns: 1fr 220px;
    height: 100vh;
    width: calc(100vw - 275px);
    max-width: calc(100vw - 275px);
    margin: 0;
    margin-left: 275px;
    padding-bottom: 80px;
    background-color: var(--bg-primary);
    gap: 0;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1;
}

.teams-main {
    background-color: var(--bg-primary);
    border-right: 1px solid var(--border-color);
    min-height: 100vh;
    overflow-y: auto;
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.teams-header {
    position: sticky;
    top: 0;
    background-color: var(--bg-primary);
    backdrop-filter: blur(12px);
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.teams-header .header-left h1 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 4px 0;
    color: var(--text-primary);
}

.header-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.team-tabs {
    display: flex;
    gap: 8px;
    align-items: center;
}

.team-tab {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}

.team-tab:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background-color: rgba(29, 155, 240, 0.1);
}

.team-tab.active {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

.team-tab i {
    font-size: 11px;
}

/* チーム検索フィルター */
.team-search-filters {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    margin: 0;
    width: 100%;
}

/* チーム一覧 */
.teams-list {
    padding: 0;
    width: 100%;
    margin: 0;
}

.team-item {
    padding: 32px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background-color 0.2s;
}

.team-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.team-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.team-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.team-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.team-tag {
    background-color: rgba(29, 155, 240, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(29, 155, 240, 0.3);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.team-tag.category {
    background-color: rgba(0, 186, 124, 0.1);
    color: var(--accent-green);
    border-color: rgba(0, 186, 124, 0.3);
}

.team-tag.type {
    background-color: rgba(249, 24, 128, 0.1);
    color: var(--accent-pink);
    border-color: rgba(249, 24, 128, 0.3);
}

.team-description {
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.team-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.tag {
    background-color: var(--border-color);
    color: var(--text-primary);
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
}

.team-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.team-info-bottom {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 13px;
    color: var(--text-secondary);
}

.team-actions {
    display: flex;
    gap: 12px;
}

.join-team-btn, .save-team-btn {
    background-color: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.save-team-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.join-team-btn:hover {
    background-color: var(--accent-blue-hover);
}

.save-team-btn:hover {
    border-color: var(--text-secondary);
    background-color: rgba(255, 255, 255, 0.05);
}

/* チーム作成フォーム */
.team-create-form {
    padding: 32px 48px;
    max-width: none;
    width: 100%;
}

.team-create-form h2 {
    color: var(--text-primary);
    margin-bottom: 24px;
    font-size: 24px;
}

/* チームサイドバー */
.teams-sidebar {
    background-color: var(--bg-primary);
    padding: 16px 12px;
    overflow-y: auto;
    padding-bottom: 100px;
    min-width: 220px;
    width: 220px;
    flex-shrink: 0;
}

.teams-sidebar .widget h2 {
    font-size: 16px;
    font-weight: 700;
    padding: 8px 12px;
}

/* お問い合わせフォーム */
.contact-form {
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 6px;
    padding: 8px;
    font-size: 12px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent-blue);
}

.contact-submit-btn {
    background-color: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
}

.contact-submit-btn:hover {
    background-color: var(--accent-blue-hover);
}

/* 人気のチーム */
.popular-team {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    margin-bottom: 8px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    transition: background-color 0.2s;
}

.popular-team:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.team-avatar {
    width: 32px;
    height: 32px;
    background-color: var(--accent-blue);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

.popular-team .team-info {
    flex: 1;
    min-width: 0;
}

.popular-team .team-info h3 {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.popular-team .team-info p {
    font-size: 10px;
    color: var(--text-secondary);
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.popular-team .team-category {
    font-size: 9px;
    font-weight: 600;
    color: var(--accent-green);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quick-join-btn {
    background-color: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 9px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}

.quick-join-btn:hover {
    background-color: var(--accent-blue-hover);
}

/* マイチームセクション */
.my-teams-section, .joined-teams-section {
    padding: 32px 48px;
    border-bottom: 1px solid var(--border-color);
}

.my-teams-section h2, .joined-teams-section h2 {
    color: var(--text-primary);
    font-size: 18px;
    margin-bottom: 16px;
}

/* モバイルヘッダーバー */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    z-index: 1001;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.mobile-header-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.mobile-header-btn:active {
    background-color: var(--bg-hover);
}

.mobile-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: bold;
    color: var(--accent-blue);
}

.mobile-header-title i {
    font-size: 24px;
}

.mobile-header-title span {
    color: var(--text-primary);
}

/* モバイル左パネル */
.mobile-left-panel-overlay,
.mobile-right-panel-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-left-panel-overlay.active,
.mobile-right-panel-overlay.active {
    opacity: 1;
}

.mobile-left-panel {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 85%;
    max-width: 320px;
    background-color: var(--bg-primary);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-right-panel {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 85%;
    max-width: 320px;
    background-color: var(--bg-primary);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-left-panel-overlay.active .mobile-left-panel {
    transform: translateX(0);
}

.mobile-right-panel-overlay.active .mobile-right-panel {
    transform: translateX(0);
}

.mobile-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
}

.mobile-panel-header h3 {
    margin: 0;
    font-size: 18px;
    color: var(--text-primary);
}

.mobile-panel-close {
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.mobile-panel-close:active {
    background-color: var(--bg-hover);
}

.mobile-panel-content {
    padding: 16px 0;
}

.mobile-panel-content .user-profile,
.mobile-panel-content .quick-actions,
.mobile-panel-content .meeting-section,
.mobile-panel-content .section {
    margin-bottom: 16px;
}

/* モバイルナビゲーションバー */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 8px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}

.mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px 4px;
    transition: all 0.2s;
}

.mobile-nav-item i {
    font-size: 20px;
}

.mobile-nav-item span {
    font-size: 11px;
    font-weight: 500;
}

.mobile-nav-item:active {
    transform: scale(0.95);
}

.mobile-nav-item.active {
    color: var(--accent-blue);
}

/* モバイルサイドメニュー */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

.mobile-menu {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 80%;
    max-width: 320px;
    background-color: var(--bg-primary);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, rgba(29, 155, 240, 0.8) 100%);
    position: relative;
}

.mobile-menu-header .user-avatar {
    width: 48px;
    height: 48px;
    position: relative;
}

.mobile-menu-header .user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid white;
}

.mobile-menu-header .user-info h3 {
    color: white;
    font-size: 16px;
    margin: 0;
}

.mobile-menu-header .user-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin: 2px 0 0 0;
}

.mobile-menu-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.mobile-menu-close:active {
    background: rgba(255, 255, 255, 0.3);
}

.mobile-menu-content {
    padding: 16px 0;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    text-align: left;
}

.mobile-menu-item:active {
    background-color: var(--bg-hover);
}

.mobile-menu-item i {
    width: 24px;
    font-size: 20px;
    color: var(--accent-blue);
}

.mobile-menu-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 12px 0;
}

.mobile-menu-section {
    padding: 16px 20px;
}

.mobile-menu-section h4 {
    color: var(--text-primary);
    font-size: 14px;
    margin-bottom: 12px;
}

.mobile-meeting-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* スマホ用ダークモード最適化 */
@media (max-width: 688px) {
    /* モバイルヘッダーを表示 */
    .mobile-header {
        display: flex !important;
    }

    /* モバイルナビゲーションを表示 */
    .mobile-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        z-index: 1000 !important;
    }

    /* 左右パネルを表示可能に */
    .mobile-left-panel-overlay,
    .mobile-right-panel-overlay {
        display: block;
    }

    .mobile-menu-overlay {
        display: block;
    }

    /* メッセージ入力を非表示 */
    .message-input-container {
        display: none;
    }

    /* メインコンテンツに上下の余白を追加 */
    .main-content {
        padding-top: 56px;
        padding-bottom: 70px;
    }

    /* メインヘッダーを上部余白に対応 */
    .main-header {
        margin-top: 0;
    }

    /* ツイート分類タブをスマホ用に調整 */
    .tweet-category-tabs {
        position: static;
        overflow-x: auto;
        padding: 0 8px;
    }

    .tweet-category-tab {
        flex: 0 0 auto;
        min-width: 100px;
        padding: 14px 16px;
        font-size: 14px;
    }

    .tweet-category-tab span {
        display: inline;
    }

    .tweet-category-tab i {
        font-size: 14px;
    }

    /* メインコンテンツの背景を不透明に */
    .main-content {
        background-color: rgba(0, 0, 0, 0.98);
    }

    /* ヘッダーの背景を不透明に */
    .main-header {
        background-color: rgba(0, 0, 0, 0.95);
        border-bottom: 2px solid rgba(29, 155, 240, 0.3);
    }

    /* メッセージ入力エリアの背景を不透明に */
    .message-input-container {
        background-color: rgba(0, 0, 0, 0.95);
        border-top: 2px solid rgba(29, 155, 240, 0.3);
    }

    /* ツイート投稿エリアの背景を不透明に */
    .tweet-compose {
        background-color: rgba(0, 0, 0, 0.98);
    }

    /* ボタンのタッチエリアを拡大 */
    .tweet-submit {
        padding: 12px 28px;
        font-size: 16px;
        min-height: 44px;
    }

    .send-btn {
        min-width: 44px;
        min-height: 44px;
        padding: 12px;
        font-size: 18px;
    }

    /* ツイートの背景を調整 */
    .tweet {
        background-color: rgba(0, 0, 0, 0.95);
    }

    .tweet:hover {
        background: rgba(29, 155, 240, 0.08);
        transform: none;
    }

    /* チャットメッセージの背景を調整 */
    .message {
        background-color: rgba(22, 24, 28, 0.95);
    }

    /* カードの背景を調整 */
    .job-card,
    .team-card {
        background-color: rgba(22, 24, 28, 0.98);
    }

    /* セクションの背景を調整 */
    .section {
        background-color: rgba(22, 24, 28, 0.95);
    }
}

@media (max-width: 500px) {
    /* さらに小さい画面での最適化 - ダークモード */
    .tweet-submit {
        padding: 10px 20px;
        font-size: 15px;
        min-height: 42px;
    }

    .send-btn {
        min-width: 42px;
        min-height: 42px;
        padding: 10px;
        font-size: 16px;
    }

    /* フォントサイズを読みやすく調整 */
    .main-header h1 {
        font-size: 18px;
    }

    .tweet-text {
        font-size: 15px;
        line-height: 1.5;
    }

    .message-text {
        font-size: 15px;
        line-height: 1.5;
    }
}

/* スマホ用ライトモード最適化 */
@media (max-width: 688px) {
    /* 背景のアニメーションを無効化してパフォーマンス向上 */
    :root[data-theme="light"] body {
        background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #0f172a 100%);
        background-attachment: fixed;
        animation: none;
    }

    /* モバイルヘッダーのライトモード */
    :root[data-theme="light"] .mobile-header {
        background-color: rgba(255, 255, 255, 0.98);
        border-bottom: 2px solid rgba(14, 165, 233, 0.3);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    /* モバイルパネルのライトモード */
    :root[data-theme="light"] .mobile-left-panel,
    :root[data-theme="light"] .mobile-right-panel {
        background-color: rgba(255, 255, 255, 0.98);
    }

    :root[data-theme="light"] .mobile-panel-header {
        background-color: rgba(240, 244, 248, 0.98);
        border-bottom: 1px solid var(--border-color);
    }

    /* モバイルナビゲーションのライトモード */
    :root[data-theme="light"] .mobile-nav {
        background-color: rgba(255, 255, 255, 0.98);
        border-top: 2px solid rgba(14, 165, 233, 0.3);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        position: fixed !important;
        bottom: 0 !important;
        z-index: 1000 !important;
    }

    :root[data-theme="light"] .mobile-nav-item.active {
        color: var(--accent-blue);
        background-color: rgba(14, 165, 233, 0.1);
        border-radius: 12px;
    }

    /* モバイルメニューのライトモード */
    :root[data-theme="light"] .mobile-menu {
        background-color: rgba(255, 255, 255, 0.98);
    }

    :root[data-theme="light"] .mobile-menu-header {
        background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    }

    :root[data-theme="light"] .mobile-menu-item:active {
        background-color: rgba(14, 165, 233, 0.1);
    }

    /* メインコンテンツの背景を不透明に */
    :root[data-theme="light"] .main-content {
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: none;
    }

    /* ヘッダーの背景を不透明に */
    :root[data-theme="light"] .main-header {
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: none;
        border-bottom: 2px solid rgba(14, 165, 233, 0.3);
    }

    /* メッセージ入力エリアを非表示 */
    :root[data-theme="light"] .message-input-container {
        display: none;
    }

    /* メインコンテンツの余白調整 */
    :root[data-theme="light"] .main-content {
        padding-top: 56px !important;
        padding-bottom: 70px !important;
    }

    /* ツイート投稿エリアの背景を不透明に */
    :root[data-theme="light"] .tweet-compose {
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: none;
    }

    /* ツイート分類タブをスマホ用に調整 */
    :root[data-theme="light"] .tweet-category-tabs {
        background-color: rgba(255, 255, 255, 0.98);
        border-bottom: 2px solid rgba(14, 165, 233, 0.3);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    /* ボタンのタッチエリアを拡大 */
    :root[data-theme="light"] .tweet-submit {
        padding: 12px 28px;
        font-size: 16px;
        min-height: 44px;
    }

    :root[data-theme="light"] .send-btn {
        min-width: 44px;
        min-height: 44px;
        padding: 12px;
        font-size: 18px;
    }

    /* 会議作成ボタンのタッチエリアを拡大 */
    :root[data-theme="light"] .create-meeting-btn {
        padding: 14px 24px;
        font-size: 16px;
        min-height: 48px;
    }

    /* ツイートの背景を調整 */
    :root[data-theme="light"] .tweet {
        background-color: rgba(255, 255, 255, 0.95);
    }

    :root[data-theme="light"] .tweet:hover {
        background: rgba(14, 165, 233, 0.06);
        transform: none;
        box-shadow: none;
    }

    /* チャットメッセージの背景を調整 */
    :root[data-theme="light"] .message {
        background-color: rgba(240, 244, 248, 0.95);
    }

    /* 求人・チームカードのチェック模様を簡略化 */
    :root[data-theme="light"] .job-card,
    :root[data-theme="light"] .team-card {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
        border: 1px solid rgba(14, 165, 233, 0.2);
    }

    :root[data-theme="light"] .job-card::after,
    :root[data-theme="light"] .team-card::after {
        display: none;
    }

    /* セクションの装飾を簡略化 */
    :root[data-theme="light"] .section::before {
        display: none;
    }

    :root[data-theme="light"] .section {
        background-color: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(14, 165, 233, 0.2);
    }
}

@media (max-width: 500px) {
    /* さらに小さい画面での最適化 */
    :root[data-theme="light"] .tweet-submit {
        padding: 10px 20px;
        font-size: 15px;
        min-height: 42px;
    }

    :root[data-theme="light"] .send-btn {
        min-width: 42px;
        min-height: 42px;
        padding: 10px;
        font-size: 16px;
    }

    :root[data-theme="light"] .create-meeting-btn {
        padding: 12px 20px;
        font-size: 15px;
        min-height: 44px;
        white-space: normal;
    }

    /* フォントサイズを読みやすく調整 */
    :root[data-theme="light"] .main-header h1 {
        font-size: 18px;
    }

    :root[data-theme="light"] .tweet-text {
        font-size: 15px;
        line-height: 1.5;
    }

    :root[data-theme="light"] .message-text {
        font-size: 15px;
        line-height: 1.5;
    }

    /* ビジネステーマのモバイル対応 - シックなパネル */
    :root[data-theme="business"] .mobile-header {
        background-color: var(--bg-sidebar);
        border-bottom: 1px solid var(--border-sidebar);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

    :root[data-theme="business"] .mobile-header-title {
        color: var(--text-sidebar);
    }

    :root[data-theme="business"] .mobile-header-btn {
        color: var(--text-sidebar-secondary);
    }

    :root[data-theme="business"] .mobile-left-panel,
    :root[data-theme="business"] .mobile-right-panel {
        background-color: var(--bg-sidebar);
    }

    :root[data-theme="business"] .mobile-panel-header {
        background-color: var(--bg-sidebar-secondary);
        border-bottom: 1px solid var(--border-sidebar);
    }

    :root[data-theme="business"] .mobile-panel-header h3 {
        color: var(--text-sidebar);
    }

    :root[data-theme="business"] .mobile-panel-close {
        color: var(--text-sidebar-secondary);
    }

    :root[data-theme="business"] .mobile-nav {
        background-color: var(--bg-sidebar);
        border-top: 1px solid var(--border-sidebar);
        box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2);
    }

    :root[data-theme="business"] .mobile-nav-item {
        color: var(--text-sidebar-secondary);
    }

    :root[data-theme="business"] .mobile-nav-item.active {
        background-color: var(--accent-gold-subtle);
        color: var(--bg-sidebar);
    }

    :root[data-theme="business"] .mobile-menu {
        background-color: var(--bg-sidebar);
    }

    :root[data-theme="business"] .mobile-menu-header {
        border-bottom: 1px solid var(--border-sidebar);
    }

    :root[data-theme="business"] .mobile-menu-item {
        color: var(--text-sidebar);
    }

    :root[data-theme="business"] .mobile-menu-item:active {
        background-color: var(--bg-sidebar-hover);
    }

    :root[data-theme="business"] .main-content {
        padding-bottom: 80px;
    }

    :root[data-theme="business"] .main-header {
        background-color: var(--bg-secondary);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    }

    :root[data-theme="business"] .message-input-container {
        background-color: var(--bg-secondary);
        border-top: 1px solid var(--border-color);
    }

    :root[data-theme="business"] .main-content {
        padding-bottom: 160px;
    }

    :root[data-theme="business"] .tweet-compose {
        background-color: var(--bg-secondary);
        border: 1px solid var(--border-color);
    }

    :root[data-theme="business"] .tweet-category-tabs {
        background-color: var(--bg-secondary);
        border-bottom: 1px solid var(--border-color);
    }

    :root[data-theme="business"] .tweet-submit {
        padding: 12px 28px;
        font-size: 16px;
        min-height: 44px;
    }

    :root[data-theme="business"] .send-btn {
        min-width: 44px;
        min-height: 44px;
        padding: 12px;
        font-size: 18px;
    }

    :root[data-theme="business"] .create-meeting-btn {
        padding: 14px 24px;
        font-size: 16px;
        min-height: 48px;
    }

    :root[data-theme="business"] .main-header h1 {
        font-size: 18px;
        color: var(--text-primary);
    }

    :root[data-theme="business"] .tweet-text {
        font-size: 15px;
        line-height: 1.5;
    }

    :root[data-theme="business"] .message-text {
        font-size: 15px;
        line-height: 1.5;
    }

    :root[data-theme="business"] .tweet {
        background-color: var(--bg-secondary);
        border: 1px solid var(--border-color);
    }

    :root[data-theme="business"] .tweet:hover {
        background-color: var(--bg-hover);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    }

    :root[data-theme="business"] .message {
        background-color: var(--bg-secondary);
    }

    :root[data-theme="business"] .job-card,
    :root[data-theme="business"] .team-card {
        background-color: var(--bg-secondary);
        border: 1px solid var(--border-color);
    }

    :root[data-theme="business"] .job-card::after,
    :root[data-theme="business"] .team-card::after {
        background-color: var(--accent-gray);
    }

    :root[data-theme="business"] .section::before {
        background-color: var(--border-color);
    }

    :root[data-theme="business"] .section {
        background-color: var(--bg-hover);
        border: 1px solid var(--border-color);
    }
}

