/* ブログ専用スタイル — 読みやすさ最優先 (記事が SEO·Moat の中心) */
.blog-body {
    background: #fdfcfb;
    color: #1e293b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "ヒラギノ角ゴ ProN", sans-serif;
    line-height: 1.75;
    margin: 0;
}

/* ヘッダー */
.blog-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 24px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky; top: 0; z-index: 10;
}
.blog-logo {
    font-size: 16px; font-weight: 700;
    color: #1e293b; text-decoration: none;
}
.blog-nav { display: flex; gap: 16px; }
.blog-nav a {
    font-size: 14px; color: #64748b; text-decoration: none;
    padding: 6px 12px; border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}
.blog-nav a:hover, .blog-nav a.active {
    color: #e8547a; background: rgba(232,84,122,0.06);
}

/* コンテナ */
.blog-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}
.blog-article-wrap { max-width: 680px; }

/* インデックス */
.blog-page-title {
    font-size: 32px; font-weight: 800;
    margin: 0 0 12px; color: #0f172a;
    letter-spacing: -0.01em;
}
.blog-page-sub {
    font-size: 15px; color: #64748b;
    margin: 0 0 32px; line-height: 1.7;
}
.blog-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 16px;
}
.blog-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.blog-card:hover {
    border-color: #e8547a;
    box-shadow: 0 4px 16px rgba(232,84,122,0.08);
}
.blog-card-link {
    display: block; padding: 20px 22px;
    color: inherit; text-decoration: none;
}
.blog-card-cat {
    display: inline-block;
    font-size: 11px; font-weight: 700;
    color: #e8547a;
    background: rgba(232,84,122,0.08);
    padding: 3px 8px; border-radius: 4px;
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}
.blog-card-title {
    font-size: 19px; font-weight: 700;
    margin: 0 0 8px; color: #0f172a;
    line-height: 1.45;
}
.blog-card-desc {
    font-size: 14px; color: #475569;
    margin: 0 0 12px; line-height: 1.65;
}
.blog-card-meta {
    display: flex; align-items: center; gap: 12px;
    font-size: 12px; color: #94a3b8;
    flex-wrap: wrap;
}
.blog-tags { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.blog-tag {
    font-size: 11px; color: #64748b;
    background: #f1f5f9;
    padding: 2px 7px; border-radius: 10px;
}

.blog-empty {
    text-align: center; padding: 60px 0;
    color: #94a3b8; font-size: 14px;
}

/* Breadcrumb */
.blog-breadcrumb {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; color: #94a3b8;
    margin-bottom: 20px;
}
.blog-breadcrumb a { color: #64748b; text-decoration: none; }
.blog-breadcrumb a:hover { color: #e8547a; text-decoration: underline; }

/* 기사 */
.blog-article-cat {
    display: inline-block;
    font-size: 11px; font-weight: 700;
    color: #e8547a;
    background: rgba(232,84,122,0.08);
    padding: 4px 10px; border-radius: 4px;
    margin-bottom: 12px;
    letter-spacing: 0.04em;
}
.blog-article-title {
    font-size: 34px; font-weight: 800;
    margin: 0 0 16px;
    color: #0f172a; line-height: 1.3;
    letter-spacing: -0.01em;
}
.blog-article-meta {
    display: flex; align-items: center; gap: 12px;
    font-size: 13px; color: #94a3b8;
    margin-bottom: 32px; flex-wrap: wrap;
}
.blog-article-body {
    font-size: 16px; line-height: 1.85;
    color: #1e293b;
}
.blog-article-body h2 {
    font-size: 24px; font-weight: 700;
    margin: 40px 0 16px; color: #0f172a;
    padding-top: 12px;
    border-top: 2px solid #fce7f3;
}
.blog-article-body h3 {
    font-size: 19px; font-weight: 700;
    margin: 28px 0 12px; color: #1e293b;
}
.blog-article-body p { margin: 0 0 18px; }
.blog-article-body ul, .blog-article-body ol { margin: 0 0 18px; padding-left: 24px; }
.blog-article-body li { margin-bottom: 6px; }
.blog-article-body a {
    color: #e8547a; text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.blog-article-body strong { color: #0f172a; font-weight: 700; }
.blog-article-body blockquote {
    margin: 24px 0; padding: 14px 20px;
    background: #fef3f2;
    border-left: 4px solid #e8547a;
    border-radius: 0 6px 6px 0;
    color: #475569; font-style: italic;
}
.blog-article-body table {
    width: 100%; border-collapse: collapse;
    margin: 20px 0; font-size: 14px;
}
.blog-article-body th, .blog-article-body td {
    padding: 10px 12px; border: 1px solid #e5e7eb;
    text-align: left;
}
.blog-article-body th {
    background: #f8fafc; font-weight: 700; color: #0f172a;
}
.blog-article-body code {
    font-size: 13px;
    background: #f1f5f9; padding: 2px 6px;
    border-radius: 3px; color: #be185d;
}

/* FAQ ブロック (FAQPage JSON-LD と一致する可視コンテンツ) */
.blog-article-faq {
    margin: 36px 0;
    padding: 22px 24px;
    background: #FFFFFF;
    border: 1px solid #E8E2D8;
    border-radius: 12px;
}
.blog-article-faq h2 {
    font-size: 18px; font-weight: 800; margin: 0 0 14px; color: #1A2332;
    border-bottom: 2px solid #E8547A; padding-bottom: 8px;
}
.blog-faq-item {
    border-bottom: 1px solid #E8E2D8;
    padding: 12px 0;
}
.blog-faq-item:last-child { border-bottom: none; }
.blog-faq-item > summary {
    font-size: 15px; font-weight: 700; color: #1A2332;
    cursor: pointer; list-style: none;
    padding: 6px 0 6px 28px; position: relative;
    line-height: 1.55;
}
.blog-faq-item > summary::before {
    content: "Q";
    position: absolute; left: 0; top: 6px;
    color: #E8547A; font-weight: 800; font-size: 15px;
}
.blog-faq-item > summary::-webkit-details-marker { display: none; }
.blog-faq-item[open] > summary { color: #E8547A; }
.blog-faq-item p {
    margin: 10px 0 4px; padding-left: 28px; position: relative;
    font-size: 14px; line-height: 1.85; color: #334155;
}
.blog-faq-item p::before {
    content: "A";
    position: absolute; left: 0; top: 0;
    color: #2D8659; font-weight: 800; font-size: 15px;
}

/* データ出典 ブロック (E-E-A-T) */
.blog-article-sources {
    margin: 32px 0;
    padding: 18px 20px;
    background: #F0EAE0;
    border: 1px solid #E8E2D8;
    border-radius: 10px;
    font-size: 13px;
    color: #5D6875;
}
.blog-article-sources h3 {
    font-size: 13px; font-weight: 700; margin-bottom: 10px; color: #1A2332;
}
.blog-article-sources ul { list-style: disc; padding-left: 18px; line-height: 1.9; }
.blog-article-sources a { color: #E8547A; text-decoration: none; }
.blog-article-sources a:hover { text-decoration: underline; }

/* CTA 박스 */
.blog-article-cta, .blog-cta {
    margin: 40px 0;
    padding: 28px 24px;
    background: #FDF2F6;
    border: 1px solid #fecdd3;
    border-radius: 12px;
    text-align: center;
}
.blog-article-cta h3, .blog-cta h3 {
    font-size: 20px; font-weight: 800;
    margin: 0 0 10px; color: #0f172a;
}
.blog-article-cta p, .blog-cta p {
    font-size: 14px; color: #475569;
    margin: 0 0 18px; line-height: 1.65;
}
.blog-cta-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #e8547a;
    color: #fff; text-decoration: none;
    border-radius: 8px;
    font-weight: 700; font-size: 15px;
    transition: background 0.15s;
}
.blog-cta-btn:hover { background: #be185d; }

.blog-article-tags {
    margin: 32px 0 0;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    display: flex; flex-wrap: wrap; gap: 6px;
}

/* 関連記事 */
.blog-related {
    margin: 48px 0 0;
    padding: 24px;
    background: #f8fafc;
    border-radius: 10px;
}
.blog-related h2 {
    font-size: 15px; font-weight: 700;
    color: #0f172a;
    margin: 0 0 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.blog-related-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.blog-related-list a {
    color: #1e293b; text-decoration: none;
    font-size: 14px; font-weight: 500;
    line-height: 1.5;
}
.blog-related-list a:hover { color: #e8547a; }
.blog-related-cat {
    display: inline-block;
    font-size: 10px; font-weight: 700;
    color: #e8547a;
    margin-right: 6px;
}

/* フッター */
.blog-footer {
    text-align: center;
    padding: 32px 24px 48px;
    border-top: 1px solid #e5e7eb;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.7;
}
.blog-footer a { color: #64748b; text-decoration: none; }
.blog-footer a:hover { color: #e8547a; text-decoration: underline; }

/* クッキー同意バナー */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9990;
    background: #fff; border-top: 1px solid #e5e7eb;
    padding: 12px 24px; display: flex; align-items: center;
    gap: 16px; flex-wrap: wrap;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.cookie-banner.hidden { display: none; }
.cookie-text { flex: 1; font-size: 13px; color: #475569; min-width: 200px; line-height: 1.5; }
.cookie-text a { color: #e8547a; text-decoration: none; }
.cookie-text a:hover { text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn-decline {
    min-height: 40px; padding: 8px 18px; border-radius: 6px;
    border: 1px solid #e5e7eb; background: transparent;
    color: #64748b; font-size: 13px; cursor: pointer;
    transition: background 0.15s;
}
.cookie-btn-decline:hover { background: #f1f5f9; }
.cookie-btn-accept {
    min-height: 40px; padding: 8px 18px; border-radius: 6px;
    border: none; background: #e8547a; color: #fff;
    font-size: 13px; font-weight: 600; cursor: pointer;
    transition: opacity 0.15s;
}
.cookie-btn-accept:hover { opacity: 0.85; }

/* E-E-A-T: 編集方針トラストバッジ (meta 行直下) */
.blog-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    list-style: none;
    padding: 10px 0 0;
    margin: 0 0 18px;
    border-top: 1px dashed #e5e7eb;
}
.blog-trust-badge {
    font-size: 11.5px;
    color: #1A6644;
    background: #E8F3EC;
    padding: 3px 9px;
    border-radius: 999px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}
.blog-trust-badge span { margin-right: 2px; font-weight: 700; }
.blog-trust-badge-link {
    background: transparent;
    padding: 3px 0;
    color: #5D6875;
    font-weight: 500;
}
.blog-trust-badge-link a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted #8B95A3;
}
.blog-trust-badge-link a:hover { color: #E8547A; border-bottom-color: #E8547A; }

/* E-E-A-T: データ最終確認日 (出典ブロック内) */
.blog-source-verified {
    font-size: 12px;
    color: #5D6875;
    margin: 4px 0 10px;
    padding: 6px 10px;
    background: #F4F0E8;
    border-left: 3px solid #1A6644;
    border-radius: 0 4px 4px 0;
}
.blog-source-verified time { font-weight: 700; color: #1A2332; }
.blog-source-verified-note { color: #8B95A3; }

/* 모바일 */
@media (max-width: 640px) {
    .blog-header { padding: 12px 16px; }
    .blog-container { padding: 24px 16px 60px; }
    .blog-page-title { font-size: 26px; }
    .blog-article-title { font-size: 26px; }
    .blog-article-body { font-size: 15px; }
    .blog-article-body h2 { font-size: 20px; }
    .blog-article-body h3 { font-size: 17px; }
    .blog-card-link { padding: 16px 18px; }
    .blog-card-title { font-size: 17px; }
    .blog-article-cta, .blog-cta { padding: 20px 16px; }
    .blog-trust-badges { gap: 5px 8px; }
    .blog-trust-badge { font-size: 11px; padding: 2.5px 8px; }
}

/* ── 著者プロフィールボックス (E-E-A-T) ── */
.blog-author-box {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #f8f4ef;
    border: 1px solid #e2d9d0;
    border-radius: 10px;
    padding: 18px 20px;
    margin: 32px 0 16px;
}
.blog-author-avatar {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}
.blog-author-detail { flex: 1; }
.blog-author-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1A2332;
    margin: 0 0 6px;
}
.blog-author-desc {
    font-size: 0.84rem;
    color: #4a5568;
    margin: 0;
    line-height: 1.6;
}
.blog-author-desc a {
    color: #E8547A;
    text-decoration: none;
    font-weight: 600;
}
.blog-author-desc a:hover { text-decoration: underline; }

/* ── 免責事項 ── */
.blog-disclaimer {
    background: #fefce8;
    border-left: 3px solid #d97706;
    border-radius: 0 6px 6px 0;
    padding: 12px 16px;
    margin: 0 0 28px;
    font-size: 0.82rem;
    color: #78350f;
    line-height: 1.6;
}
.blog-disclaimer strong { font-weight: 700; }

/* ── /about 著者プロフィール ── */
.author-profile {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #f8f4ef;
    border: 1px solid #e2d9d0;
    border-radius: 10px;
    padding: 20px 24px;
    margin-top: 16px;
}
.author-avatar {
    font-size: 2.5rem;
    flex-shrink: 0;
    line-height: 1;
}
.author-info { flex: 1; }
.author-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1A2332;
    margin: 0 0 8px;
}
.author-bio {
    font-size: 0.88rem;
    color: #4a5568;
    line-height: 1.7;
    margin: 0 0 12px;
}
.author-credentials {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.author-credentials li {
    font-size: 0.83rem;
    color: #2d5a3d;
    background: #f0fdf4;
    border-radius: 4px;
    padding: 3px 8px;
}

@media (max-width: 640px) {
    .blog-author-box { flex-direction: column; gap: 10px; }
    .author-profile { flex-direction: column; gap: 10px; }
}
