/* ===== 自動生成CSS（テーマ: monochrome） ===== */
:root {
  --color: #818cf8;
  --color-light: #818cf822;
}
/* ===== 共通リッチブロック（全テーマ記事ページで使用） ===== */
.box-point { background: #f0f7ff; border-left: 4px solid #3b82f6; border-radius: 0 8px 8px 0; padding: 20px 24px; margin: 28px 0; }
.box-point-title { font-weight: 700; color: #1d4ed8; margin-bottom: 10px; font-size: 14px; }
.box-warning { background: #fffbeb; border-left: 4px solid #f59e0b; border-radius: 0 8px 8px 0; padding: 20px 24px; margin: 28px 0; }
.box-warning-title { font-weight: 700; color: #92400e; margin-bottom: 10px; font-size: 14px; }
.box-summary { background: #f0fdf4; border: 2px solid #22c55e; border-radius: 10px; padding: 24px; margin: 32px 0; }
.box-summary-title { font-weight: 700; color: #15803d; font-size: 16px; margin-bottom: 14px; }
.merit-box { background: #f0fdf4; border-left: 4px solid #22c55e; border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 20px 0; }
.merit-title { font-weight: 700; color: #15803d; margin-bottom: 10px; font-size: 14px; }
.merit-box ul { padding-left: 20px; }
.merit-box ul li { margin: 6px 0; }
.demerit-box { background: #fff1f2; border-left: 4px solid #f43f5e; border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 20px 0; }
.demerit-title { font-weight: 700; color: #be123c; margin-bottom: 10px; font-size: 14px; }
.demerit-box ul { padding-left: 20px; }
.demerit-box ul li { margin: 6px 0; }
.ranking-item { display: flex; align-items: center; gap: 16px; border: 1px solid #e5e7eb; border-radius: 10px; padding: 16px 20px; margin: 10px 0; }
.rank-num { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; flex-shrink: 0; }
.rank-1 { background: #fef3c7; color: #92400e; }
.rank-2 { background: #f3f4f6; color: #374151; }
.rank-3 { background: #fef3c7; color: #78350f; opacity: 0.7; }
.rank-other { background: #f3f4f6; color: #6b7280; }
.rank-title { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.rank-desc { font-size: 13px; color: #6b7280; }
.check-list { list-style: none; padding: 0; margin: 16px 0; }
.check-item { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; font-size: 15px; }
.check-icon { color: #22c55e; font-weight: 700; flex-shrink: 0; }
.step-item { display: flex; align-items: flex-start; gap: 16px; padding: 16px; border: 1px solid #e5e7eb; border-radius: 8px; margin: 10px 0; }
.step-num { background: var(--color, #4f46e5); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 4px; white-space: nowrap; flex-shrink: 0; }
.step-text { font-size: 15px; line-height: 1.7; }
.step-text p { margin: 0 0 6px; }
.step-ol { margin: 4px 0 4px 18px; padding: 0; }
.step-ul { margin: 4px 0 4px 18px; padding: 0; }
.step-ol li, .step-ul li { margin-bottom: 4px; }
.step-sub-list { margin: 4px 0 2px 16px; padding: 0; list-style: disc; }
.step-sub-list li { font-size: 13px; color: #555; }
.faq-item { border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; margin: 12px 0; }
.faq-q { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; background: #f8fafc; font-weight: 700; }
.faq-a { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; }
.faq-icon { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0; background: var(--color, #4f46e5); color: #fff; }
.faq-icon-a { background: #f59e0b; }
.balloon { background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px 20px; margin: 16px 0; }
.balloon-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.balloon-icon { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.balloon-icon-placeholder { width: 40px; height: 40px; border-radius: 50%; background: var(--color, #4f46e5); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.balloon-name { font-size: 12px; font-weight: 700; color: var(--color, #4f46e5); }
.balloon-text { font-size: 15px; line-height: 1.7; }
.cta-box { text-align: center; margin: 32px 0; }
.cta-box-free { text-align: left; background: linear-gradient(135deg, var(--color-light, #f0f4ff) 0%, #fff 100%); border: 1px solid var(--color, #4f46e5); border-radius: 10px; padding: 20px 24px; margin: 32px 0; }
.cta-box-free p { margin-bottom: 10px; color: #333; font-size: 15px; }
.cta-box-free p:last-child { margin-bottom: 0; }
.cta-box-free a { color: var(--color, #4f46e5); font-weight: 600; text-decoration: underline; }
.cta-btn { display: inline-block; background: var(--color, #4f46e5); color: #fff !important; padding: 14px 40px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 16px; transition: opacity 0.15s; }
.cta-btn:hover { opacity: 0.85; }
.profile-box { border: 1px solid #e5e7eb; border-radius: 10px; padding: 20px 24px; margin: 24px 0; background: #f8fafc; }
.profile-content { font-size: 14px; line-height: 1.8; color: #444; }
.related-box { border-left: 3px solid var(--color, #4f46e5); padding: 10px 16px; margin: 16px 0; background: #f8fafc; border-radius: 0 6px 6px 0; }
.related-link { text-decoration: none; color: var(--color, #4f46e5); font-size: 14px; font-weight: 500; }
.related-link:hover { text-decoration: underline; }
.table-wrap { overflow-x: auto; margin: 20px 0; }
.content-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.content-table th { background: var(--color, #4f46e5); color: #fff; padding: 10px 14px; text-align: left; font-weight: 600; }
.content-table td { padding: 10px 14px; border-bottom: 1px solid #e5e7eb; }
.content-table tr:nth-child(even) td { background: #f8fafc; }
.code-block { margin: 24px 0; border-radius: 8px; overflow: hidden; background: #1e1e2e; }
.code-block pre { margin: 0; padding: 20px; overflow-x: auto; }
.code-block code { font-family: 'Fira Code', 'Consolas', 'Monaco', monospace; font-size: 14px; line-height: 1.7; color: #cdd6f4; background: none; }
.img-figure { margin: 28px 0; text-align: center; }
.img-figure img { max-width: 100%; height: auto; border-radius: 8px; }
.img-figure figcaption { font-size: 12px; color: #9ca3af; margin-top: 8px; }
.img-figure.img-size-small img { max-width: 300px; }
.img-figure.img-size-medium img { max-width: 500px; }
.img-figure.img-size-large img { max-width: 800px; }
.img-figure.img-size-full img { max-width: 100%; width: 100%; }
hr.divider { border: none; border-top: 1px solid #e5e7eb; margin: 36px 0; }
blockquote { border-left: 3px solid #d1d5db; padding: 12px 20px; margin: 24px 0; color: #6b7280; font-style: italic; }
.article-tags { margin-top: 32px; padding-top: 20px; border-top: 1px solid #f0f0f0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-link { display: inline-block; font-size: 12px; padding: 4px 12px; border-radius: 20px; background: var(--color-light, #f0f0f0); color: var(--color, #333); text-decoration: none; border: 1px solid var(--color, #ddd); }
.tag-link:hover { opacity: 0.8; }
/* [MOSAIC] モザイク画像 */
.mosaic-wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 20px 0; }
.mosaic-image { position: relative; cursor: pointer; overflow: hidden; border-radius: 8px; display: inline-block; }
.mosaic-image img { filter: blur(20px); transition: filter 0.4s ease; display: block; }
.mosaic-image.revealed img { filter: none; }
.mosaic-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.4); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 1px; pointer-events: none; transition: opacity 0.4s ease; }
.mosaic-image.revealed .mosaic-overlay { opacity: 0; }
/* [VIDEO] 動画埋め込み（YouTube・Vimeo） */
.video-embed { position: relative; width: 100%; max-width: 720px; margin: 24px auto; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 8px; background: #000; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-caption { text-align: center; font-size: 13px; color: #6b7280; margin: -16px auto 24px; max-width: 720px; }
.video-embed-fallback { margin: 24px 0; padding: 16px; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; text-align: center; }
.video-embed-fallback a { color: #2563eb; text-decoration: none; font-weight: 600; }
.video-embed-fallback a:hover { text-decoration: underline; }
/* 投稿日・更新日 (WordPress風) */
.article-meta .meta-published,
.article-meta .meta-updated { display: inline-block; }
.article-meta .meta-updated { margin-left: 16px; opacity: 0.75; }
@media (max-width: 600px) {
    .article-meta .meta-updated { margin-left: 0; margin-top: 4px; display: block; }
}
/* ===== 自動関連記事 ===== */
.auto-related-box {
    margin: 48px 0 32px;
    padding: 24px 0;
    border-top: 1px solid #e5e7eb;
}
.auto-related-heading {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #111;
    letter-spacing: 0.02em;
}
.auto-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.auto-related-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.auto-related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.auto-related-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: #e5e7eb;
}
.auto-related-thumb-placeholder {
    background: linear-gradient(135deg, #e5e7eb, #f3f4f6);
}
.auto-related-title {
    font-size: 13px;
    line-height: 1.5;
    padding: 10px 12px 12px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 600px) {
    .auto-related-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .auto-related-card {
        display: grid;
        grid-template-columns: 120px 1fr;
    }
    .auto-related-thumb {
        aspect-ratio: 4 / 3;
    }
    .auto-related-title {
        align-self: center;
        padding: 12px;
        -webkit-line-clamp: 3;
    }
}
.theme-minimal .auto-related-card,
.theme-cards .auto-related-card {
    background: #f5f5f5;
}
/* 装飾ボックス内の長文・URL折り返し */
.box-point, .box-warning, .box-summary, .merit-box, .demerit-box,
.cta-box, .cta-box-free, .profile-box, .balloon-text, .faq-a, .faq-q,
.related-box, .step-text, .mosaic-wrap { word-break: break-word; overflow-wrap: break-word; }
.box-point a, .box-warning a, .box-summary a, .merit-box a, .demerit-box a,
.cta-box a, .cta-box-free a, .profile-box a, .balloon-text a, .faq-a a,
.related-box a, .step-text a { word-break: break-all; overflow-wrap: break-word; }
/* ===== Monochrome テーマ — 記事ページ ===== */

body.theme-monochrome {
  background: #050505;
  color: #d4d4d4;
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* ===== 記事ページ用ヘッダー ===== */
.theme-monochrome .mono-article-header {
  padding: 18px 40px;
  background: #050505;
  border-bottom: 0.5px solid rgba(184,184,184,0.13);
}

.theme-monochrome .mono-article-header .mono-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.theme-monochrome .mono-article-header .site-name {
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: 18px;
  color: #fff;
  letter-spacing: 4px;
  font-style: italic;
  text-decoration: none;
}

.theme-monochrome .mono-article-header nav a {
  color: #b8b8b8;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 2px;
  transition: color 0.2s;
}

.theme-monochrome .mono-article-header nav a:hover { color: #fff; }

/* ===== 記事ヒーロー ===== */
.theme-monochrome .mono-article-hero {
  padding: 60px 40px 40px;
  text-align: center;
  border-bottom: 0.5px solid rgba(184,184,184,0.13);
}

.theme-monochrome .mono-article-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.theme-monochrome .mono-breadcrumb {
  font-size: 9px;
  color: #888;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.theme-monochrome .mono-category-label {
  display: inline-block;
  font-size: 10px;
  color: #d4d4d4;
  letter-spacing: 5px;
  margin-bottom: 18px;
  padding: 0;
  background: transparent;
  border: none;
}

.theme-monochrome .mono-article-title {
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin: 0 0 22px;
}

.theme-monochrome .article-meta {
  font-size: 10px;
  color: #888;
  letter-spacing: 2px;
}

/* ===== 装飾区切り ===== */
.theme-monochrome .mono-divider-diamond {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin: 24px 0 18px;
}

.theme-monochrome .mono-divider-line {
  height: 0.5px;
  width: 50px;
  background: #b8b8b8;
  display: inline-block;
}

.theme-monochrome .mono-diamond {
  color: #d4d4d4;
  font-size: 10px;
}

/* ===== アイキャッチ ===== */
.theme-monochrome .mono-eyecatch-wrap {
  background: #050505;
  padding: 0;
}

.theme-monochrome .mono-eyecatch-wrap .eyecatch {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

/* ===== 記事本文コンテナ ===== */
.theme-monochrome .mono-article-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 50px 40px 64px;
}

/* ===== 記事本文 ===== */
.theme-monochrome .article-body {
  color: #d4d4d4;
  line-height: 2;
  font-size: 15px;
}

.theme-monochrome .article-body p { margin: 0 0 18px; }

.theme-monochrome .article-body h2 {
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
  letter-spacing: 0.05em;
  margin: 40px 0 4px;
}

.theme-monochrome .article-body h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 0.5px;
  background: #d4d4d4;
  margin-top: 12px;
}

.theme-monochrome .article-body h3 {
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: 17px;
  font-weight: 400;
  color: #d4d4d4;
  line-height: 1.5;
  letter-spacing: 0.03em;
  margin: 32px 0 14px;
}

.theme-monochrome .article-body h3::before {
  content: "— ";
  color: #d4d4d4;
}

.theme-monochrome .article-body h4 {
  font-size: 15px;
  color: #fff;
  font-weight: 500;
  margin: 24px 0 10px;
}

.theme-monochrome .article-body hr,
.theme-monochrome .article-body hr.divider {
  border: 0;
  height: 0.5px;
  background: rgba(184,184,184,0.4);
  margin: 36px 0;
}

.theme-monochrome .article-body blockquote {
  border-left: 2px solid #d4d4d4;
  padding: 4px 26px;
  margin: 28px 0;
  font-family: 'Noto Serif JP', Georgia, serif;
  font-style: italic;
  color: #fff;
  line-height: 2;
  background: transparent;
}

.theme-monochrome .article-body a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.4);
}

.theme-monochrome .article-body a:hover {
  text-decoration-color: #fff;
}

.theme-monochrome .article-body ul,
.theme-monochrome .article-body ol {
  padding-left: 24px;
  margin: 0 0 18px;
}

.theme-monochrome .article-body li { margin-bottom: 8px; line-height: 1.8; }
.theme-monochrome .article-body strong { color: #fff; font-weight: 500; }

.theme-monochrome .article-body code {
  background: #1a1a1a;
  border: 0.5px solid rgba(184,184,184,0.33);
  padding: 2px 6px;
  border-radius: 0;
  font-size: 13px;
  color: #d4d4d4;
}

/* ===== 装飾タグ上書き ===== */

/* [POINT] */
.theme-monochrome .box-point {
  background: #0d0d0d;
  border-left: 2px solid #d4d4d4;
  border-radius: 0;
  color: #d4d4d4;
  padding: 22px 26px;
}
.theme-monochrome .box-point-title {
  color: #fff;
  letter-spacing: 3px;
}
.theme-monochrome .box-point ul,
.theme-monochrome .box-point li,
.theme-monochrome .box-point p,
.theme-monochrome .box-point div { color: #d4d4d4; }

/* [WARNING] */
.theme-monochrome .box-warning {
  background: #0d0d0d;
  border-left: 2px solid #fff;
  border-radius: 0;
  color: #d4d4d4;
}
.theme-monochrome .box-warning-title { color: #fff; letter-spacing: 3px; }
.theme-monochrome .box-warning ul,
.theme-monochrome .box-warning li,
.theme-monochrome .box-warning p,
.theme-monochrome .box-warning div { color: #d4d4d4; }

/* [SUMMARY] */
.theme-monochrome .box-summary {
  background: #0d0d0d;
  border: 0.5px solid rgba(184,184,184,0.4);
  border-radius: 0;
  color: #d4d4d4;
}
.theme-monochrome .box-summary-title { color: #fff; letter-spacing: 3px; }
.theme-monochrome .box-summary ul,
.theme-monochrome .box-summary li,
.theme-monochrome .box-summary p,
.theme-monochrome .box-summary div { color: #d4d4d4; }

/* [MERIT] / [DEMERIT] */
.theme-monochrome .merit-box {
  background: #0d0d0d;
  border-left: 2px solid #d4d4d4;
  border-radius: 0;
  color: #d4d4d4;
}
.theme-monochrome .merit-title { color: #fff; letter-spacing: 3px; }
.theme-monochrome .merit-box ul,
.theme-monochrome .merit-box li { color: #d4d4d4; }

.theme-monochrome .demerit-box {
  background: #0d0d0d;
  border-left: 2px solid #b8b8b8;
  border-radius: 0;
  color: #d4d4d4;
}
.theme-monochrome .demerit-title { color: #fff; letter-spacing: 3px; }
.theme-monochrome .demerit-box ul,
.theme-monochrome .demerit-box li { color: #d4d4d4; }

/* [STEP] */
.theme-monochrome .step-item {
  background: #0d0d0d;
  border: 0.5px solid rgba(184,184,184,0.33);
  border-radius: 0;
}
.theme-monochrome .step-num {
  background: #fff;
  color: #050505;
}
.theme-monochrome .step-text { color: #d4d4d4; }
.theme-monochrome .step-sub-list li { color: #b8b8b8; }

/* [FAQ] */
.theme-monochrome .faq-item {
  background: #0d0d0d;
  border: 0.5px solid rgba(184,184,184,0.33);
  border-radius: 0;
}
.theme-monochrome .faq-q { background: #1a1a1a; color: #fff; }
.theme-monochrome .faq-a { color: #d4d4d4; }
.theme-monochrome .faq-icon { background: #fff; color: #050505; }
.theme-monochrome .faq-icon-a { background: #d4d4d4; color: #050505; }

/* [BALLOON] */
.theme-monochrome .balloon {
  background: #0d0d0d;
  border: 0.5px solid rgba(184,184,184,0.33);
  color: #d4d4d4;
}
.theme-monochrome .balloon-name { color: #fff; }
.theme-monochrome .balloon-icon-placeholder {
  background: #fff;
  color: #050505;
}
.theme-monochrome .balloon-text { color: #d4d4d4; }

/* [CTA] */
.theme-monochrome .cta-box-free {
  background: #0d0d0d;
  border: 0.5px solid rgba(184,184,184,0.4);
  border-radius: 0;
  color: #d4d4d4;
}
.theme-monochrome .cta-box-free p { color: #d4d4d4; }
.theme-monochrome .cta-box-free a { color: #fff; }
.theme-monochrome .cta-btn,
.theme-monochrome .cta-box a.cta-btn {
  background: #fff;
  color: #050505;
  border: none;
  border-radius: 0;
  letter-spacing: 3px;
  font-weight: 400;
}

/* [RANK] */
.theme-monochrome .ranking-item {
  background: #0d0d0d;
  border: 0.5px solid rgba(184,184,184,0.33);
  border-radius: 0;
}
.theme-monochrome .rank-1 { background: #fff; color: #050505; }
.theme-monochrome .rank-2 { background: #d4d4d4; color: #050505; }
.theme-monochrome .rank-3 { background: #888; color: #fff; }
.theme-monochrome .rank-other { background: #2a2a2a; color: #d4d4d4; }
.theme-monochrome .rank-title { color: #fff; }
.theme-monochrome .rank-desc { color: #b8b8b8; }

/* [TABLE] */
.theme-monochrome .content-table,
.theme-monochrome .article-body table {
  background: #0d0d0d;
  border: 0.5px solid rgba(184,184,184,0.33);
  width: 100%;
  border-collapse: collapse;
}
.theme-monochrome .content-table th,
.theme-monochrome .article-body th {
  background: #1a1a1a;
  color: #fff;
  border-bottom: 0.5px solid rgba(184,184,184,0.4);
  padding: 12px 16px;
  text-align: left;
  letter-spacing: 1px;
  font-weight: 500;
}
.theme-monochrome .content-table td,
.theme-monochrome .article-body td {
  color: #d4d4d4;
  border-bottom: 0.5px solid rgba(184,184,184,0.13);
  padding: 12px 16px;
}
.theme-monochrome .article-body .content-table tr:last-child td {
  border-bottom: none;
}

/* [CHECK] */
.theme-monochrome .check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.theme-monochrome .check-icon { color: #fff; margin-right: 8px; }
.theme-monochrome .check-item { color: #d4d4d4; }

/* [PROFILE] */
.theme-monochrome .profile-box {
  background: #0d0d0d;
  border: 0.5px solid rgba(184,184,184,0.33);
  border-radius: 0;
  color: #d4d4d4;
}
.theme-monochrome .profile-content { color: #d4d4d4; }

/* [RELATED] */
.theme-monochrome .related-box {
  background: #0d0d0d;
  border-left: 2px solid #d4d4d4;
  border-radius: 0;
  padding: 14px 18px;
  margin: 14px 0;
}
.theme-monochrome .related-link {
  color: #fff;
  text-decoration: none;
}

/* ===== _article_blocks.css の白背景・薄文字対策 ===== */

.theme-monochrome .table-wrap {
  background: transparent !important;
  border: none !important;
  overflow-x: auto;
  margin: 24px 0;
}

.theme-monochrome .article-body .content-table,
.theme-monochrome .article-body table.content-table {
  background: #0d0d0d;
  border: 0.5px solid rgba(184,184,184,0.33);
  width: 100%;
  border-collapse: collapse;
}
.theme-monochrome .article-body .content-table th,
.theme-monochrome .article-body table.content-table th {
  background: #1a1a1a;
  color: #fff;
  border-bottom: 0.5px solid rgba(184,184,184,0.4);
  padding: 12px 16px;
  text-align: left;
  letter-spacing: 1px;
  font-weight: 500;
}
.theme-monochrome .article-body .content-table td,
.theme-monochrome .article-body table.content-table td {
  background: transparent;
  color: #d4d4d4;
  border-bottom: 0.5px solid rgba(184,184,184,0.13);
  padding: 12px 16px;
}
.theme-monochrome .article-body .content-table tr:last-child td {
  border-bottom: none;
}

.theme-monochrome .cta-box-free a,
.theme-monochrome .cta-box-free p a,
.theme-monochrome .cta-box.cta-box-free a {
  color: #fff !important;
  text-decoration: underline;
  word-break: break-all;
}

.theme-monochrome .related-box a,
.theme-monochrome .related-link {
  color: #fff !important;
  text-decoration: none;
  font-weight: 400;
  display: inline-block;
}
.theme-monochrome .related-box a:hover { color: #d4d4d4 !important; }

.theme-monochrome .article-body .img-figure,
.theme-monochrome .article-body figure {
  margin: 28px auto;
  text-align: center;
  background: transparent;
}
.theme-monochrome .article-body .img-figure img,
.theme-monochrome .article-body figure img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
  border: 0.5px solid rgba(184,184,184,0.13);
}
.theme-monochrome .article-body figcaption {
  font-size: 11px;
  color: #888;
  margin-top: 8px;
  letter-spacing: 1px;
}

/* ===== article-tags ===== */
.theme-monochrome .article-tags {
  margin-top: 32px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  border-top: 0.5px solid rgba(184,184,184,0.13);
}
.theme-monochrome .article-tags .tag-link {
  display: inline-block;
  font-size: 11px;
  padding: 5px 14px;
  border: 0.5px solid rgba(184,184,184,0.4);
  color: #d4d4d4;
  text-decoration: none;
  letter-spacing: 1px;
}
.theme-monochrome .article-tags .tag-link:hover {
  border-color: #fff;
  color: #fff;
}

/* ===== 関連記事ボックス ===== */
.theme-monochrome .auto-related-box {
  background: #0a0a0a;
  border-top: 0.5px solid rgba(184,184,184,0.13);
  border-bottom: 0.5px solid rgba(184,184,184,0.13);
  padding: 40px 0;
  margin: 40px 0 0;
}
.theme-monochrome .auto-related-heading {
  text-align: center;
  font-family: 'Noto Serif JP', Georgia, serif;
  color: #fff;
  margin-bottom: 24px;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.05em;
}
.theme-monochrome .auto-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}
.theme-monochrome .auto-related-card {
  background: transparent;
  border: none;
  border-radius: 0;
  text-decoration: none;
  display: block;
  transition: opacity 0.2s;
}
.theme-monochrome .auto-related-card:hover { opacity: 0.85; }

.theme-monochrome .auto-related-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  margin-bottom: 10px;
}
.theme-monochrome .auto-related-thumb-placeholder {
  background: linear-gradient(135deg, #2a2a2a, #0a0a0a);
}
.theme-monochrome .auto-related-title {
  padding: 0 4px;
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: 12px;
  color: #fff;
  line-height: 1.5;
  font-weight: 400;
}

/* ===== フッター ===== */
.theme-monochrome .mono-footer {
  background: #050505;
  padding: 32px 40px;
  text-align: center;
  border-top: 0.5px solid rgba(184,184,184,0.13);
}
.theme-monochrome .mono-footer-name {
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: 14px;
  color: #fff;
  letter-spacing: 4px;
  font-style: italic;
  margin-bottom: 8px;
}
.theme-monochrome .mono-footer p {
  font-size: 9px;
  color: #888;
  letter-spacing: 2px;
  margin: 0;
}

/* ===== レスポンシブ ===== */
@media (max-width: 720px) {
  .theme-monochrome .mono-article-title { font-size: 24px; }
  .theme-monochrome .mono-article-hero { padding: 40px 20px 32px; }
  .theme-monochrome .mono-article-container { padding: 32px 20px 48px; }
  .theme-monochrome .article-body h2 { font-size: 20px; }
  .theme-monochrome .mono-article-header { padding: 14px 16px; }
}

/* ===== カスタムCSS（ここに追記） ===== */
