/*
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;
}

/* ==========================================================================
   フッター（ヘッダーと同じデザイン）
   ========================================================================== */

.site-footer {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-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;
}

.footer-tagline {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

.footer-navigation {
    display: flex;
    gap: 2rem;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    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;
}

/* ==========================================================================
   記事ページの可読性向上（明るいデザイン）
   ========================================================================== */

/* 記事ページ全体のレイアウト（テーマに合わせたデザイン） */
.single-article-layout {
    display: flex;
    gap: 2rem;
    background: rgba(15, 15, 25, 0.8);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.single-article {
    flex: 1;
    min-width: 0;
}

/* 記事ヘッダー */
.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 0, 80, 0.3);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 1.5rem;
}

.article-title {
    color: var(--text-light) !important;
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.article-date {
    color: var(--primary-blue);
    font-weight: 500;
    background: rgba(0, 123, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 123, 255, 0.3);
}

.article-category {
    color: var(--primary-pink);
    font-weight: 500;
    background: rgba(255, 0, 80, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 80, 0.3);
}

/* 記事本文 */
.article-content {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.article-content h2 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    padding: 1rem 0 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-bottom: 2px solid rgba(255, 0, 80, 0.3);
    position: relative;
}

.article-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 50px;
    height: 2px;
    background: var(--gradient-primary);
}

.article-content h3 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-blue);
    background: rgba(0, 123, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 0 8px 8px 0;
}

.article-content p {
    color: #c8c8c8;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.article-content ul,
.article-content ol {
    color: #c8c8c8;
    margin: 1rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.article-content blockquote {
    background: rgba(255, 0, 80, 0.08);
    border-left: 4px solid var(--primary-pink);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
    color: #d0d0d0;
    font-style: italic;
    position: relative;
    border: 1px solid rgba(255, 0, 80, 0.2);
}

.article-content blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 3rem;
    color: var(--primary-pink);
    opacity: 0.3;
}

.article-content code {
    background: rgba(0, 123, 255, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    color: var(--primary-blue);
    font-family: 'Courier New', monospace;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.article-content pre {
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.article-content pre::before {
    content: 'CODE';
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 0.7rem;
    color: var(--text-gray);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

.article-content pre code {
    background: none;
    padding: 0;
    color: #e8e8e8;
    border: none;
}

/* 記事画像 */
.article-featured-image {
    margin: 2rem 0;
    text-align: center;
}

.article-featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* 記事フッター */
.article-footer {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.article-tags {
    margin-bottom: 1.5rem;
}

.article-tags span {
    color: var(--text-light);
    font-weight: 500;
    margin-right: 0.5rem;
}

.article-share h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
}

.share-buttons a {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

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

/* 関連記事 */
.related-articles {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.related-articles h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.related-article-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.related-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(255, 0, 80, 0.2);
}

.related-article-content h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.related-article-content h4 a {
    color: var(--text-light);
    text-decoration: none;
}

.related-article-content h4 a:hover {
    color: var(--primary-pink);
}

.related-article-date {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ナビゲーション */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    gap: 2rem;
}

.nav-previous,
.nav-next {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-previous a,
.nav-next a {
    color: var(--text-light);
    text-decoration: none;
    display: block;
}

.nav-label {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.nav-title {
    color: var(--text-light);
    font-weight: 500;
    display: block;
}

.nav-previous:hover,
.nav-next:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* サイドバー */
.single-sidebar {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-left: 2rem;
    min-width: 250px;
    max-width: 280px;
    height: fit-content;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.widget-title {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-pink);
}

.popular-post-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.popular-post-item:last-child {
    border-bottom: none;
}

.popular-post-title {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
    display: block;
    margin-bottom: 0.5rem;
}

.popular-post-title:hover {
    color: var(--primary-pink);
}

.popular-post-date {
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* ==========================================================================
   記事一覧ページのスタイル
   ========================================================================== */

/* 記事一覧のメインコンテンツ（TikTok風カード型デザイン） */
.blog-posts,
.post-list,
.archive-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding: 1rem 0;
}

.blog-posts .post-card,
.post-list .post-item,
.archive-posts .post-item {
    background: #ffffff;
    border-radius: 15px;
    padding: 0;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.blog-posts .post-card:hover,
.post-list .post-item:hover,
.archive-posts .post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #2196f3;
}

.blog-posts .post-card::before,
.post-list .post-item::before,
.archive-posts .post-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-posts .post-card:hover::before,
.post-list .post-item:hover::before,
.archive-posts .post-item:hover::before {
    opacity: 1;
}

.post-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    position: relative;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-thumbnail:hover img {
    transform: scale(1.1);
}

.post-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    pointer-events: none;
}

.post-content-wrapper {
    padding: 1.5rem;
    background: #ffffff;
}

.blog-posts .post-title,
.post-list .post-title,
.archive-posts .post-title {
    color: #2c3e50 !important;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 600;
}

.blog-posts .post-title a,
.post-list .post-title a,
.archive-posts .post-title a {
    color: #2c3e50 !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-posts .post-title a:hover,
.post-list .post-title a:hover,
.archive-posts .post-title a:hover {
    color: #2196f3 !important;
}

.blog-posts .post-meta,
.post-list .post-meta,
.archive-posts .post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.blog-posts .post-date,
.post-list .post-date,
.archive-posts .post-date {
    color: #2196f3;
    background: rgba(33, 150, 243, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(33, 150, 243, 0.2);
    font-weight: 500;
}

.blog-posts .post-category,
.post-list .post-category,
.archive-posts .post-category {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    font-weight: 500;
}

.blog-posts .post-excerpt,
.post-list .post-excerpt,
.archive-posts .post-excerpt {
    color: #666666 !important;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-posts .read-more,
.post-list .read-more,
.archive-posts .read-more {
    color: #2196f3;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    background: rgba(33, 150, 243, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    border: 1px solid rgba(33, 150, 243, 0.2);
    font-size: 0.9rem;
}

.blog-posts .read-more:hover,
.post-list .read-more:hover,
.archive-posts .read-more:hover {
    color: white;
    background: #2196f3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

.blog-posts .read-more::after,
.post-list .read-more::after,
.archive-posts .read-more::after {
    content: '→';
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.blog-posts .read-more:hover::after,
.post-list .read-more:hover::after,
.archive-posts .read-more:hover::after {
    transform: translateX(4px);
}

/* 記事一覧のヘッダー */
.archive-header,
.blog-header {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.archive-title,
.blog-title {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.archive-description,
.blog-description {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* 記事一覧のサイドバー */
.archive-sidebar,
.blog-sidebar {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-left: 2rem;
    min-width: 250px;
    max-width: 280px;
    height: fit-content;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
}

.pagination a,
.pagination span {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.pagination .current {
    background: var(--gradient-primary);
    color: white;
}

/* 検索結果ページ */
.search-results .search-title {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.search-results .no-results {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    margin: 3rem 0;
}

/* レスポンシブデザイン（チャットボット） */
@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;
    }
    
    /* 記事ページのレスポンシブ */
    .single-article-layout {
        flex-direction: column;
        padding: 1rem;
    }
    
    .single-sidebar {
        margin-left: 0;
        margin-top: 2rem;
        min-width: auto;
        max-width: none;
    }
    
    .archive-sidebar,
    .blog-sidebar {
        margin-left: 0;
        margin-top: 2rem;
        min-width: auto;
        max-width: none;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .related-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .blog-posts .post-title {
        font-size: 1.5rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    /* 記事一覧のモバイル対応 */
    .blog-posts,
    .post-list,
    .archive-posts {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .post-thumbnail {
        height: 180px;
    }
    
    .post-content-wrapper {
        padding: 1rem;
    }
    
    .blog-posts .post-title,
    .post-list .post-title,
    .archive-posts .post-title {
        font-size: 1.2rem;
    }
    
    .archive-title,
    .blog-title {
        font-size: 2rem;
    }
} 

/* ==========================================================================
   SWELLのデフォルトスタイルを上書き（記事一覧ページ対応）
   ========================================================================== */

/* 記事一覧の投稿タイトルと本文 */
.archive .post-item .post-title,
.blog .post-item .post-title,
.search-results .post-item .post-title,
.category .post-item .post-title,
.tag .post-item .post-title,
.archive .post-item .post-title a,
.blog .post-item .post-title a,
.search-results .post-item .post-title a,
.category .post-item .post-title a,
.tag .post-item .post-title a,
.post-list .post-item .post-title,
.post-list .post-item .post-title a {
    color: var(--text-light) !important;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.archive .post-item .post-excerpt,
.blog .post-item .post-excerpt,
.search-results .post-item .post-excerpt,
.category .post-item .post-excerpt,
.tag .post-item .post-excerpt,
.archive .post-item p,
.blog .post-item p,
.search-results .post-item p,
.category .post-item p,
.tag .post-item p,
.post-list .post-item .post-excerpt,
.post-list .post-item p {
    color: #c8c8c8 !important;
}

/* 一般的なテキスト要素 */
.site-main .post-item,
.site-main .post-card,
.site-main .entry-content,
.site-main .post-content,
.site-main .page-content {
    color: var(--text-light) !important;
}

/* 見出し要素 */
.site-main h1,
.site-main h2,
.site-main h3,
.site-main h4,
.site-main h5,
.site-main h6 {
    color: var(--text-light) !important;
}

/* リンク要素 */
.site-main a {
    color: var(--primary-blue) !important;
}

.site-main a:hover {
    color: var(--primary-pink) !important;
}

/* ウィジェット要素 */
.widget,
.widget-area {
    color: var(--text-light) !important;
}

.widget h1,
.widget h2,
.widget h3,
.widget h4,
.widget h5,
.widget h6 {
    color: var(--text-light) !important;
}

.widget a {
    color: var(--primary-blue) !important;
}

.widget a:hover {
    color: var(--primary-pink) !important;
} 