/*
Theme Name: SWELL Child - L!VE配信研究所 (完全版)
Description: L!VE配信研究所のためのSWELL子テーマ。元のlivecom-wordpress-theme-v24.zipと完全に同じ機能・UIを実現します。
Template: swell
Version: 1.0
Author: L!VE配信研究所
Text Domain: livecom-swell-child
*/

/* 親テーマのスタイルを読み込み */
@import url("../swell/style.css");

/* ==========================================================================
   L!VE配信研究所 カスタムスタイル - 元テーマ完全再現
   ========================================================================== */

/* ==========================================================================
   リセット & ベーススタイル
   ========================================================================== */

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

body {
    font-family: 'Hiragino Sans', 'ヒラギノ角ゴシック', 'Yu Gothic', 'メイリオ', sans-serif !important;
    line-height: 1.6;
    color: #333;
    background: #0a0a0a !important;
    overflow-x: hidden;
}

/* ==========================================================================
   カラーパレット（TikTokインスパイア）
   ========================================================================== */

:root {
    --primary-pink: #ff0050;
    --primary-blue: #25f4ee;
    --dark-bg: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-light: #ffffff;
    --text-gray: #cccccc;
    --gradient-primary: linear-gradient(135deg, var(--primary-pink), var(--primary-blue));
    --shadow-glow: 0 0 20px rgba(255, 0, 80, 0.3);
}

/* ==========================================================================
   SWELLテーマの要素を非表示/上書き
   ========================================================================== */

/* SWELLヘッダーを非表示 */
.l-header,
.swell-header,
#header {
    display: none !important;
}

/* SWELLフッターを非表示 */
.l-footer,
.swell-footer,
#footer {
    display: none !important;
}

/* SWELLメインコンテンツエリアを調整 */
.l-content,
.l-main {
    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */

.site-header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

/* ナビゲーション */
.main-navigation {
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.main-navigation a:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   メインコンテンツ
   ========================================================================== */

.site-main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* ヒーローセクション */
.hero-section {
    background: var(--dark-bg);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 0, 80, 0.1) 0%, transparent 70%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-blue);
    display: block;
}

.stat-label {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ==========================================================================
   コンテンツセクション
   ========================================================================== */

.content-section {
    padding: 4rem 0;
    background: var(--dark-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
}

/* ==========================================================================
   レスポンシブデザイン
   ========================================================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .main-navigation {
        display: none;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* ==========================================================================
   ユーティリティクラス
   ========================================================================== */

.text-center { text-align: center; }
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    background: var(--gradient-primary);
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-pink);
    color: var(--primary-pink);
}

.btn-outline:hover {
    background: var(--gradient-primary);
    color: white;
}

/* ==========================================================================
   AIチャットボット
   ========================================================================== */

/* チャットボットフローティングボタン */
.chatbot-float-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
    z-index: 1000;
}

.chatbot-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 0, 80, 0.5);
}

/* AIチャットボット */
.ai-chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: rgba(22, 24, 35, 0.95);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    transform: translateY(100%) scale(0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.ai-chatbot.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

/* チャットボットヘッダー */
.chatbot-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ai-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.chatbot-title {
    flex: 1;
}

.chatbot-title h3 {
    margin: 0;
    color: var(--text-light);
    font-size: 1rem;
}

.status-indicator {
    color: var(--primary-blue);
    font-size: 0.8rem;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 20px;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

/* チャットメッセージエリア */
.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.ai-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.ai-message .message-content {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.user-message .message-content {
    background: var(--gradient-primary);
    color: white;
}

/* チャットボット入力エリア */
.chatbot-input {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 0.5rem;
}

.chatbot-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.chatbot-input input::placeholder {
    color: var(--text-gray);
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 2px rgba(255, 0, 80, 0.2);
}

.chatbot-input button {
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chatbot-input button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* チャットボットトグルボタン（ヘッダー内） */
.chatbot-toggle {
    background: var(--gradient-primary);
    border: none;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chatbot-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ツールモーダル */
.tool-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tool-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(22, 24, 35, 0.95);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.tool-modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    margin: 0;
    color: var(--text-light);
    font-size: 1.2rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

.modal-body {
    padding: 1.5rem;
    color: var(--text-light);
    overflow-y: auto;
    max-height: 60vh;
}

/* レスポンシブデザイン（チャットボット） */
@media (max-width: 768px) {
    .ai-chatbot {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
        transform: translateY(100%);
    }
    
    .ai-chatbot.active {
        transform: translateY(0);
    }
    
    .chatbot-float-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .modal-content {
        width: 95%;
        max-height: 90vh;
    }
} 