/* ================================
   リセットCSS
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================================
   基本スタイル
   ================================ */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f7fa;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* コンテナ */
.cms-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ================================
   ヘッダー
   ================================ */
.cms-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    background-blend-mode: overlay;
}

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

.app-title {
    font-size: 16px;
    font-weight: bold;
}

.app-title a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.app-title a:hover {
    opacity: 0.8;
}

.app-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.app-subtitle {
    color: white;
    font-size: 11px;
    font-weight: 400;
    margin: 0;
    white-space: nowrap;
    line-height: 1;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.icon-btn {
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    backdrop-filter: blur(10px);
    color: white;
}

.icon-btn:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.2) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.icon-btn.active {
    background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.3) 100%);
    border-color: rgba(255,255,255,0.4);
}

.icon-btn .icon {
    font-size: 20px;
    line-height: 1;
}

/* ロックされたアイコンボタン（非ログイン時） */
.icon-btn.locked {
    position: relative;
    opacity: 0.8;
}

.icon-btn.locked:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.15) 100%);
}

/* プロフィールボタンを非表示（スペースは維持） */
.header-profile-btn {
    visibility: hidden;
}

/* ================================
   メインコンテンツ
   ================================ */
.cms-main {
    flex: 1;
    padding: 3rem 0;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* ================================
   記事一覧
   ================================ */
.articles-section h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #2d3748;
    position: relative;
}

.articles-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 1rem auto;
    border-radius: 2px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    position: relative;
}

a.article-card {
    text-decoration: none;
    color: inherit;
    display: block;
}


.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 記事カードの選択カード表示 */
.article-featured-cards {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f687b3 100%);
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.article-featured-cards::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.article-card-thumb {
    width: auto;
    height: 120px;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    position: relative;
    z-index: 1;
}


.article-content {
    padding: 0.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.article-meta {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 1rem;
}

.article-excerpt {
    color: #4a5568;
    line-height: 1.6;
    flex: 1;
}

/* ================================
   記事詳細ページ
   ================================ */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    transform: translateX(-5px);
}

article {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.article-header {
    margin-bottom: 2rem;
}

.article-header .article-title {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f687b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}


.article-meta {
    color: #718096;
    font-size: 0.95rem;
}

.article-featured-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ================================
   記事コンテンツのスタイリング
   ================================ */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3748;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a202c;
    font-weight: bold;
    line-height: 1.3;
}

.article-content h1 {
    font-size: 1.5rem;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}


.article-content h2 {
    font-size: 1.5rem;
    padding: 0.6rem 0;
    color: #667eea;
    position: relative;
    padding-left: 1.5rem;
}

.article-content h2::before {
    content: '🎯';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

.article-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, transparent 100%);
    border-radius: 2px;
}

.article-content h3 {
    font-size: 1.0rem;
    color: #764ba2;
    padding: 0.5rem 0;
    position: relative;
}

.article-content h4 {
    font-size: 1.25rem;
    color: #667eea;
    padding: 0.4rem 0;
    padding-left: 1rem;
    position: relative;
}

.article-content h4::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: #f687b3;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content strong {
    color: #1a202c;
    font-weight: 600;
}

.article-content em {
    font-style: italic;
    color: #4a5568;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

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

.article-content a {
    color: #667eea;
    text-decoration: underline;
}

.article-content a:hover {
    color: #764ba2;
}

.article-content blockquote {
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    background: #f7fafc;
    border-left: 4px solid #667eea;
    font-style: italic;
    color: #4a5568;
}

.article-content code {
    background: #f7fafc;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.9em;
    color: #e53e3e;
}

.article-content pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.article-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.article-content th,
.article-content td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.article-content th {
    background: #f7fafc;
    font-weight: 600;
    color: #2d3748;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

/* ================================
   記事内コメントセクション
   ================================ */
.article-comments {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.article-comment-item {
    background: rgba(102, 126, 234, 0.05);
    border-left: 4px solid #667eea;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.article-comment-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.comment-author {
    color: #667eea;
    font-size: 1.1rem;
}

.comment-date {
    font-size: 0.85rem;
    color: #718096;
}

.comment-text {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.comment-form-wrapper {
    background: rgba(118, 75, 162, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.inline-comment-form .form-group label {
    color: #764ba2;
    font-weight: 600;
}

.inline-comment-form input[type="text"],
.inline-comment-form textarea {
    border: 2px solid rgba(118, 75, 162, 0.2);
}

.inline-comment-form input[type="text"]:focus,
.inline-comment-form textarea:focus {
    border-color: #764ba2;
    box-shadow: 0 0 0 3px rgba(118, 75, 162, 0.1);
}

/* ================================
   フォーム
   ================================ */
.comment-form {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.comment-form h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #2d3748;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

button[type="submit"],
.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button[type="submit"]:hover,
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

/* ================================
   フッター
   ================================ */
.cms-footer {
    background: #2d3748;
    color: #e2e8f0;
    text-align: center;
    padding: 2rem;
    margin-top: auto;
}

.loading {
    text-align: center;
    color: #718096;
    font-size: 1.2rem;
    padding: 3rem;
}

.empty-state {
    text-align: center;
    color: #718096;
    font-size: 1.2rem;
    padding: 3rem;
}

.error {
    text-align: center;
    color: #e53e3e;
    font-size: 1.2rem;
    padding: 3rem;
}

/* ================================
   レスポンシブ対応
   ================================ */
@media (max-width: 768px) {
    /* Header adjustments for mobile */
    .cms-header {
        padding: 10px 15px;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .app-title a {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1px;
    }
    
    .app-logo {
        height: 30px;
        max-width: 100%;
    }
    
    .app-subtitle {
        font-size: 10px;
        margin: 0;
    }
    
    .header-actions {
        gap: 5px;
    }
    
    .icon-btn {
        width: 36px;
        height: 36px;
    }
    
    .icon-btn .icon {
        font-size: 20px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    article {
        padding: 0.5rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
    }
    
    .combo-grid {
        grid-template-columns: 1fr;
    }
    
    .board-comparison {
        grid-template-columns: 1fr;
    }
    
    .do-dont {
        grid-template-columns: 1fr;
    }
    
    .pros-cons-grid {
        grid-template-columns: 1fr;
    }
    
    .statistics-grid {
        grid-template-columns: 1fr;
    }
    
    .deck-composition {
        grid-template-columns: 1fr;
    }
    
    .data-table {
        font-size: 0.9rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 12px;
    }
    
    .relay-table {
        font-size: 0.9rem;
    }
    
    .pokemon-grid, .combo-chain {
        flex-direction: column;
    }
    
    .matchup-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .card-list {
        grid-template-columns: 1fr;
    }
}


.tech-specs {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
}

.info-box {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border: 2px solid #17a2b8;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border-left: 6px solid #17a2b8;
}

.energy-colorless {
    background: #6c757d;
}

.energy-cost {
    display: inline-block;
    background: #6c757d;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    margin: 0 5px;
}

.energy-dark {
    background: #6f42c1;
}

.card-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

tbody {
    display: table-row-group;
    vertical-align: middle;
    unicode-bidi: isolate;
    border-color: inherit;
}

tr {
    display: table-row;
    vertical-align: inherit;
    unicode-bidi: isolate;
    border-color: inherit;
}

.stats-table th {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1em;
}

.stats-table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.3s ease;
}

.stats-table tr:nth-child(even) {
    background: #f8f9fa;
}

.stats-table tr:hover {
    background: #e3f2fd;
}

.highlight-box {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border-left: 6px solid #28a745;
}

.warning-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border-left: 6px solid #ffc107;
}

.danger-box {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 2px solid #dc3545;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border-left: 6px solid #dc3545;
}

.combo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.combo-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid #e9ecef;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.combo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.combo-title {
    color: #2c3e50;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.strategy-list {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.strategy-list h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.strategy-list ul {
    list-style: none;
    padding-left: 0;
}

.strategy-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.strategy-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 25px 0;
}

.pros {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    border-radius: 15px;
    padding: 25px;
}

.cons {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 2px solid #dc3545;
    border-radius: 15px;
    padding: 25px;
}

.pros h4, .cons h4 {
    margin-bottom: 15px;
    font-size: 1.3em;
}

.pros h4 {
    color: #155724;
}

.cons h4 {
    color: #721c24;
}

.damage-chart {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.conclusion {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    border: 2px solid #2196f3;
}

/* ================================
   CSS変数定義
   ================================ */
:root {
    --primary-color: #1e40af;
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --leak-color: #8b5cf6;
    --trade-color: #8b5cf6;
    --community-color: #06b6d4;
    --light-bg: #f1f5f9;
    --dark-bg: #2c3e50;
    --dark-text: #1e293b;
    --text-light: #7f8c8d;
    --border-color: #e2e8f0;
    --warning-bg: #fff3cd;
    --warning-border: #ffeaa7;
    --highlight-bg: #e3f2fd;
    --highlight-border: #2196f3;
    --gradient-primary: linear-gradient(135deg, #1e40af, #3b82f6);
    --gradient-leak: linear-gradient(135deg, #8b5cf6, #a855f7);
    --gradient-warning: linear-gradient(135deg, #f59e0b, #f97316);
    --gradient-trade: linear-gradient(135deg, #8b5cf6, #a855f7);
    --gradient-community: linear-gradient(135deg, #06b6d4, #0891b2);
    --gradient-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ================================
   記事専用コンポーネント
   ================================ */
.leak-box {
    background: var(--gradient-leak);
    color: white;
    padding: 25px;
    margin: 25px 0;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
    position: relative;
}

.leak-box::before {
    content: "";
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>') center/contain no-repeat;
}

.leak-title {
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.leak-title::before {
    content: "🚨";
    margin-right: 8px;
}

.leak-source {
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 10px;
}

.warning-box-title {
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.warning-box-title::before {
    content: "⚠️";
    margin-right: 8px;
}

.highlight-box-title {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.highlight-box-title::before {
    content: "💡";
    margin-right: 8px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: white;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.1);
    border-radius: 15px;
    overflow: hidden;
}

.info-table th {
    background: var(--gradient-primary);
    color: white;
    padding: 18px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.info-table td {
    padding: 18px;
    border-bottom: 1px solid var(--border-color);
}

.info-table tr:nth-child(even) {
    background: var(--light-bg);
}

.info-table tr:hover {
    background: #dbeafe;
    transition: background-color 0.3s ease;
}

.timeline {
    position: relative;
    padding-left: 30px;
    margin: 30px 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}


.timeline-date {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.reliability-meter {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.reliability-label {
    margin-right: 15px;
    font-weight: 600;
    min-width: 80px;
}

.reliability-bar {
    flex: 1;
    height: 20px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.reliability-fill {
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.reliability-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

.prediction-card {
    background: white;
    border: 2px solid var(--leak-color);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
    position: relative;
}

.prediction-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--leak-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.prediction-title::before {
    content: "🔮";
    margin-right: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.stat-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(30, 64, 175, 0.2);
}

.stat-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.generation-prediction {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 3px solid var(--secondary-color);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
}

.generation-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
}

.generation-title::before {
    content: "🌟";
    margin-right: 10px;
}

.disclaimer {
    background: #fee2e2;
    border: 2px solid var(--danger-color);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    color: #991b1b;
}

.disclaimer-title {
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.disclaimer-title::before {
    content: "🚫";
    margin-right: 8px;
}

.confidence-high { --reliability-color: #10b981; }
.confidence-medium { --reliability-color: #f59e0b; }
.confidence-low { --reliability-color: #ef4444; }

/* アニメーション */
@keyframes float {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100px); }
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100px); }
}

@keyframes sweetFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* ================================
   追加の記事コンポーネント
   ================================ */
.trade-box {
    background: var(--gradient-trade);
    color: white;
    padding: 25px;
    margin: 25px 0;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
    position: relative;
}

.trade-box::before {
    content: "";
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M7.5 18.5L16.5 9.5M16.5 18.5L7.5 9.5"/></svg>') center/contain no-repeat;
}

.trade-title {
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.trade-title::before {
    content: "🔄";
    margin-right: 8px;
}

.community-box {
    background: var(--gradient-community);
    color: white;
    padding: 25px;
    margin: 25px 0;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.2);
}

.community-title {
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.community-title::before {
    content: "👥";
    margin-right: 8px;
}

.board-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.board-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.board-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.board-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.2);
}

.board-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.step-guide {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 3px solid var(--secondary-color);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
}

.step-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
}

.step-title::before {
    content: "📋";
    margin-right: 10px;
}

.step-list {
    counter-reset: step-counter;
    list-style: none;
}

.step-list li {
    counter-increment: step-counter;
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
}

.step-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.manners-guide {
    background: white;
    border: 3px solid var(--success-color);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
}

.manners-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--success-color);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
}

.manners-title::before {
    content: "🤝";
    margin-right: 10px;
}

.do-dont {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 25px 0;
}

.do-section, .dont-section {
    padding: 20px;
    border-radius: 12px;
}

.do-section {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 2px solid var(--success-color);
}

.dont-section {
    background: linear-gradient(135deg, #fef2f2, #fecaca);
    border: 2px solid var(--danger-color);
}

.do-title, .dont-title {
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.do-title {
    color: #065f46;
}

.do-title::before {
    content: "✅";
    margin-right: 8px;
}

.dont-title {
    color: #991b1b;
}

.dont-title::before {
    content: "❌";
    margin-right: 8px;
}

.point-list {
    list-style: none;
}

.point-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.do-section .point-list li::before {
    content: "•";
    color: var(--success-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.dont-section .point-list li::before {
    content: "•";
    color: var(--danger-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.trouble-guide {
    background: linear-gradient(135deg, #fef7ff, #fae8ff);
    border: 3px solid var(--trade-color);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
}

.trouble-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--trade-color);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
}

.trouble-title::before {
    content: "🔧";
    margin-right: 10px;
}

.feature-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 8px;
}

.rarity-tag {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin: 2px;
}

.rarity-diamond1 { background: #e5e7eb; color: #374151; }
.rarity-diamond2 { background: #ddd6fe; color: #5b21b6; }
.rarity-diamond3 { background: #fbbf24; color: #92400e; }
.rarity-diamond4 { background: #f87171; color: #991b1b; }
.rarity-star1 { background: #a7f3d0; color: #065f46; }

/* ================================
   追加のレイアウトコンポーネント
   ================================ */
.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 20px 0;
}

.pros-box, .cons-box {
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.pros-box {
    background: linear-gradient(135deg, #00b894, #55efc4);
    color: white;
}

.cons-box {
    background: linear-gradient(135deg, #e17055, #fd79a8);
    color: white;
}

.pros-box h4, .cons-box h4 {
    font-size: 1.4em;
    margin-bottom: 15px;
    text-align: center;
}

.pros-box ul, .cons-box ul {
    list-style: none;
    padding: 0;
}

.pros-box li, .cons-box li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.pros-box li::before {
    content: "✅";
    position: absolute;
    left: 0;
}

.cons-box li::before {
    content: "❌";
    position: absolute;
    left: 0;
}

.chart-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.bar-chart {
    display: flex;
    align-items: end;
    height: 200px;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.bar {
    flex: 1;
    margin: 0 5px;
    background: linear-gradient(to top, #74b9ff, #0984e3);
    display: flex;
    align-items: end;
    justify-content: center;
    color: white;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
    position: relative;
}

.bar span {
    position: absolute;
    bottom: 10px;
    font-size: 0.9em;
}

.bar-label {
    text-align: center;
    margin-top: 10px;
    font-size: 0.9em;
    color: #666;
}

.citation {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
    margin-top: 10px;
}

/* ================================
   カード評価・ティアシステム
   ================================ */
.card-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.rating-stars {
    display: flex;
    gap: 3px;
}

.star {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.tier-badge {
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.tier-s {
    background: linear-gradient(45deg, #ff6b9d, #ff8fab);
    color: white;
}

.tier-a {
    background: linear-gradient(45deg, #ffd93d, #ffb347);
    color: var(--text-dark);
}

.tier-b {
    background: linear-gradient(45deg, #6bcf7e, #51d88a);
    color: white;
}

/* ================================
   デッキ構成
   ================================ */
.deck-composition {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.deck-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 3px solid transparent;
    background-clip: padding-box;
    transition: all 0.3s ease;
}

.deck-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.deck-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* ================================
   データテーブル
   ================================ */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.data-table th {
    background: var(--gradient-bg);
    color: white;
    padding: 20px;
    text-align: left;
    font-weight: 600;
}

.data-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
}

.data-table tr:hover {
    background: #f8f9fa;
    transform: scale(1.02);
    transition: all 0.3s ease;
}

/* ================================
   統計表示
   ================================ */
.stat-item {
    background: linear-gradient(135deg, rgba(255,107,157,0.1), rgba(102,126,234,0.1));
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(255,107,157,0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 5px;
}

/* ================================
   新しい目次スタイル
   ================================ */
.table-of-contents {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
}

.table-of-contents h3 {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.toc-list {
    list-style: none;
}

.toc-list li {
    margin: 10px 0;
}

.toc-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.toc-list a:hover {
    color: var(--accent-color);
    padding-left: 10px;
}

/* ================================
   スイーツ・ポケモン関連コンポーネント
   ================================ */
.success-box {
    background: linear-gradient(135deg, #a8e6cf, #88d8a3);
    color: #2c3e50;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(168, 230, 207, 0.3);
}

.sweets-relay-chain {
    background: linear-gradient(135deg, #ffeef3, #fff0f5);
    border: 2px solid #ff9a9e;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
}

.relay-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.relay-table th {
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    color: #333;
    padding: 15px;
    text-align: left;
    font-weight: bold;
}

.relay-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
    background: white;
}

.relay-table tr:nth-child(even) td {
    background: #f8f9fa;
}

.damage-highlight {
    background: linear-gradient(135deg, #ff6b6b, #ffa726);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.pokemon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.pokemon-card {
    background: linear-gradient(135deg, #ffeef3, #fff0f5);
    border: 2px solid #ff9a9e;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.pokemon-card:hover {
    transform: translateY(-5px);
}

.combo-chain {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 15px;
    background: linear-gradient(90deg, #ffecd2, #fcb69f);
    border-radius: 10px;
}

.combo-step {
    text-align: center;
    flex: 1;
    padding: 10px;
    background: white;
    border-radius: 8px;
    margin: 0 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.combo-arrow {
    font-size: 1.5rem;
    color: #ff9a9e;
    margin: 0 10px;
}

.event-info {
    background: linear-gradient(135deg, #a8e6cf, #88d8a3);
    padding: 25px;
    border-radius: 15px;
    margin: 25px 0;
    color: #2c3e50;
}

.deck-recipe {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.card-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin: 15px 0;
}

.card-item {
    background: white;
    padding: 10px;
    border-radius: 8px;
    border-left: 4px solid #ff9a9e;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.strategy-section {
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    padding: 25px;
    border-radius: 15px;
    margin: 25px 0;
    color: #2c3e50;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.tip-card {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 15px;
    border-left: 4px solid #fdcb6e;
}

.matchup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.matchup-card {
    padding: 15px;
    border-radius: 10px;
    color: white;
    text-align: center;
}

.matchup-favorable {
    background: linear-gradient(135deg, #00b894, #00a085);
}

.matchup-even {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
}

.matchup-unfavorable {
    background: linear-gradient(135deg, #d63031, #e84393);
}

.author-info {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 40px;
    text-align: center;
}

.update-info {
    background: #e8f4f8;
    border: 1px solid #bee5eb;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    color: #31708f;
}

.sweet-animation {
    animation: sweetFloat 2s ease-in-out infinite;
}

/* ================================
   スクロールバー
   ================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ================================
   追加の記事専用コンポーネント
   ================================ */
.prediction-box {
    background: linear-gradient(135deg, #9F7AEA 0%, #805AD5 100%);
    color: white;
    padding: 25px;
    margin: 25px 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(159, 122, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.prediction-box::before {
    content: "🔮";
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 40px;
    opacity: 0.3;
}

.prediction-box h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.evidence-box {
    background: linear-gradient(135deg, #4C1D95 0%, #5B21B6 100%);
    color: white;
    padding: 25px;
    margin: 25px 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(76, 29, 149, 0.3);
}

.evidence-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.evidence-box h3::before {
    content: "📊";
    margin-right: 10px;
}

.concern-box {
    background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
    color: white;
    padding: 25px;
    margin: 25px 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.concern-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.concern-box h3::before {
    content: "⚠️";
    margin-right: 10px;
}

.official-box {
    background: linear-gradient(135deg, rgb(76, 29, 149) 0%, rgb(91, 33, 182) 100%);
    color: white;
    padding: 25px;
    margin: 25px 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.3);
    position: relative;
}

.official-box::after {
    content: "✓ 公式";
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.official-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* タイムライン（アニメーション付き） */
.timeline-animated {
    position: relative;
    padding-left: 40px;
    margin: 40px 0;
}

.timeline-animated::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.timeline-animated .timeline-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.timeline-animated .timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-animated .timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-animated .timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-animated .timeline-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* 確率メーター */
.probability-meter {
    background: #f3f4f6;
    border-radius: 15px;
    padding: 20px;
    margin: 25px 0;
}

.probability-item {
    margin-bottom: 20px;
}

.probability-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
}

.probability-bar {
    height: 30px;
    background: #e5e7eb;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.probability-fill {
    height: 100%;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-weight: bold;
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
}

.probability-fill::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: sparkle 2s linear infinite;
}

@keyframes sparkle {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.probability-high { background: linear-gradient(135deg, #10b981, #059669); }
.probability-medium { background: linear-gradient(135deg, #f59e0b, #d97706); }
.probability-low { background: linear-gradient(135deg, #ef4444, #dc2626); }

/* 特集グリッド */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #667eea, #764ba2, #f687b3);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a202c;
    margin-bottom: 15px;
}

.feature-description {
    color: #4a5568;
    line-height: 1.6;
}

/* インパクト分析 */
.impact-analysis {
    background: linear-gradient(135deg, #fef3c7, #fbbf24);
    border: 3px solid #f59e0b;
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    position: relative;
}

.impact-analysis::before {
    content: "💥";
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    opacity: 0.5;
}

.impact-title {
    font-size: 1.6rem;
    font-weight: bold;
    color: #92400e;
    margin-bottom: 20px;
}

.impact-list {
    list-style: none;
}

.impact-list li {
    background: white;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 10px;
    border-left: 5px solid #f59e0b;
    display: flex;
    align-items: center;
}

.impact-list li::before {
    content: "→";
    color: #f59e0b;
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2rem;
}