/* ----------------------------------------------------------------
   ポイ活最適化タイパ研 共通スタイルシート v1.0 (2026)
---------------------------------------------------------------- */
CSS
.toc-container {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
}
.toc-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    text-align: center;
}
.toc-container ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.toc-container li {
    margin-bottom: 0.5rem;
}
.toc-container a {
    text-decoration: none;
    color: #0066cc;
}
.toc-container a:hover {
    text-decoration: underline;
}
        :root {
            --primary: #0f172a;
            --secondary: #3b82f6;
            --accent: #22d3ee;
            --bg-color: #f8fafc;
        }

        body {
            background-color: var(--bg-color);
            font-family: 'Inter', 'Noto Sans JP', sans-serif;
            margin: 0;
            padding: 0;
            color: #334155;
        }

        
        
:root {
    --primary: #1e293b;
    --accent: #2563eb;
    --sub: #64748b;
    --bg: #f8fafc;
    --border: #e2e8f0;
    --highlight: #fef9c3;
    --audit-bg: #ffffff;
    --taipa-green: #059669;
    --danger-red: #dc2626;
    --warning-amber: #d97706;
    --info-sky: #0284c7;
}

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

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    line-height: 1.65;
    color: var(--primary);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 40px rgba(0,0,0,0.02);
    min-height: 100vh;
}

/* Sticky Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1rem;
}

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

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary);
}

/* Article Area */
.article-main {
    padding: 2rem 1.5rem 4rem;
}

.category-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--primary);
    color: #fff;
    padding: 2px 8px;
    margin-bottom: 12px;
}

h1 { font-size: 1.75rem; line-height: 1.3; margin-bottom: 1rem; }
h2 { font-size: 1.45rem; margin: 1rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--primary); }
h3 { font-size: 1.25rem; margin: 1rem 0 1rem; color: var(--primary); font-weight: 700; }

p { margin-bottom: 1.2rem; font-size: 1.05rem; }
strong { font-weight: 700; background: linear-gradient(transparent 70%, var(--highlight) 70%); }
.breadcrumb { font-size: 11px; color: var(--sub); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--sub); text-decoration: none; }
.meta-info { font-size: 13px; color: var(--sub); display: flex; gap: 1.5rem; margin-bottom: 2rem; }

/* Analysis Card */
.analysis-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.25rem;
    margin: 1.5rem 0;
    position: relative;
}
.analysis-label {
    position: absolute;
    top: -10px;
    left: 15px;
    background: var(--taipa-green);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 2px;
}
.analysis-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; display: block; }

.taipa-metric {
    display: inline-flex;
    align-items: center;
    background: #ecfdf5;
    color: var(--taipa-green);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

/* Tables */
.table-wrapper { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { background: #f1f5f9; text-align: left; padding: 12px; font-weight: 700; border-bottom: 2px solid var(--border); }
td { padding: 12px; border-bottom: 1px solid var(--border); }

/* Checklist */
.check-list { list-style: none; background: #fafafa; padding: 1.5rem; border-radius: 4px; margin: 2rem 0; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 1.05rem; }
.check-list li::before { content: "✔"; position: absolute; left: 0; color: var(--taipa-green); font-weight: 700; }

/* ----------------------------------------------------------------
   将来用：拡張パーツ・ユーティリティ
---------------------------------------------------------------- */

/* アラートボックス (Alerts) */
.alert { padding: 1rem; border-radius: 4px; margin: 1.5rem 0; font-size: 0.95rem; border-left: 5px solid; }
.alert-danger { background: #fef2f2; border-color: var(--danger-red); color: #991b1b; }
.alert-warning { background: #fffbeb; border-color: var(--warning-amber); color: #92400e; }
.alert-info { background: #f0f9ff; border-color: var(--info-sky); color: #075985; }

/* ステップ表示 (Steps) */
.step-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.step-num { 
    background: var(--primary); color: #fff; width: 28px; height: 28px; 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; 
    font-size: 14px; font-weight: 700; flex-shrink: 0; margin-top: 4px;
}

/* 引用・口コミ (Quotes) */
.quote-block {
    background: #f8fafc; border-left: 1px solid var(--accent);
    padding: 1.5rem; margin: 2rem 0; font-style: italic; position: relative;
}
.quote-author { display: block; margin-top: 0.5rem; font-size: 13px; color: var(--sub); font-style: normal; text-align: right; }

/* ボタン (Buttons) */
.btn { 
    display: inline-block; padding: 10px 24px; border-radius: 4px; 
    text-decoration: none; font-weight: 700; transition: 0.2s; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

/* ----------------------------------------------------------------
   Common
---------------------------------------------------------------- */
.ad-slot {
    width: 100%; background: #f8fafc; color: #94a3b8; text-align: center;
    padding: 15px; font-size: 10px; border: 1px dashed var(--border); margin: 2rem 0;
}

.related-section { padding: 2rem 1.5rem; background: #fff; border-top: 1px solid var(--border); }
.related-title { font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; border-left: 3px solid var(--accent); padding-left: 10px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.related-item { font-size: 13px; padding: 1rem; border: 1px solid var(--border); border-radius: 4px; text-decoration: none; color: var(--primary); transition: 0.2s; }
.related-item:hover { border-color: var(--accent); background: #f8fafc; }

footer {
    background: var(--primary); color: #fff; padding: 2rem 1.5rem; text-align: center; font-size: 10px;
}
footer a { color: #94a3b8; text-decoration: none; margin: 0 10px; }

@media (max-width: 600px) {
    .container { width: 100%; }
    .article-main { padding: 1.5rem 1rem 3rem; }
    h1 { font-size: 1.5rem; }
    .related-grid { grid-template-columns: 1fr; }
}



/* FAQ Section */
.faq-section { padding: 1rem 0; }
.faq-item {
    background: #f8fafc;
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}
.faq-item h3 {
    font-size: 1.1rem;
    color: var(--accent);
    margin-top: 0;
    margin-bottom: 0.75rem;
}
.faq-item p { margin-bottom: 0; }
:
        @media (max-width: 768px) {
            .hero { padding: 80px 20px 100px; }
            .hero h1 { font-size: 2.2rem; }
            .category-grid { grid-template-columns: 1fr; }
            .spotlight-card { flex-direction: column; text-align: center; gap: 30px; padding: 30px; }
            .spotlight-content p { margin: 0 auto; }
        }


.hero-figure,.wp-block-image,
.figure-box {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.hero-figure img,
.figure-box img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    margin-bottom: 0;
    /* Removed for flush caption */
}

.hero-caption,.wp-block-image figcaption,
.hero-figure figcaption,
.figure-box figcaption {
    padding: 0.5rem 1rem;
    background: #ffffff;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
    margin: 0;
    border-top: 1px solid var(--border);
}

.article-img {
    margin: 2rem 0;
}
