/* ============================================================
   海外投資協会 — Blog (single article + archive), NEW design
   All article components re-skinned onto the new tokens.
   Scope: .post-body  (single.php wraps the_content in it)
   ============================================================ */

/* ---- Cluster accent (set on .post-body.cN) ---- */
.post-body { --accent: var(--navy-600); }
.post-body.c1 { --accent: var(--navy-600); }
.post-body.c2 { --accent: var(--teal-600); }
.post-body.c3 { --accent: var(--teal-700); }
.post-body.c4 { --accent: var(--navy-500); }
.post-body.c5 { --accent: var(--gold-600); }

/* ============================================================
   Layout & typography
   ============================================================ */
.post-body { max-width: 860px; margin: 0 auto; padding: 0 22px 72px; font-family: var(--font-sans); color: var(--ink-700); line-height: 1.9; font-size: 16px; }
.post-body .aw { max-width: none; margin: 0; padding: 0; }
.post-body p { margin: 0 0 16px; }
.post-body a { color: var(--navy-600); text-decoration: none; border-bottom: 1px solid var(--navy-200); transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.post-body a:hover { color: var(--navy-800); border-color: var(--navy-500); }
.post-body strong { color: var(--ink-900); font-weight: 700; }
.post-body img { border-radius: var(--radius-md); margin: 8px 0; }
.post-body ul, .post-body ol { margin: 0 0 18px; padding-left: 22px; }
.post-body li { margin-bottom: 7px; }
.post-body hr { border: none; border-top: 1px solid var(--line-200); margin: 32px 0; }

.post-body h2 { font-family: var(--font-serif); font-weight: 700; font-size: 25px; line-height: 1.5; color: var(--ink-900); margin: 46px 0 18px; padding: 4px 0 4px 16px; border-left: 4px solid var(--accent); letter-spacing: 0.01em; }
.post-body h3 { font-family: var(--font-serif); font-weight: 700; font-size: 19px; line-height: 1.55; color: var(--navy-700); margin: 30px 0 12px; }
.post-body h4 { font-family: var(--font-sans); font-weight: 700; font-size: 15.5px; color: var(--navy-700); margin: 22px 0 8px; }

/* ============================================================
   Hero (article header band)
   ============================================================ */
.post-body .hero { position: relative; overflow: hidden; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); border-radius: 0; padding: 0; margin-bottom: 36px; color: #fff; background: linear-gradient(100deg, rgba(14,34,54,0.93) 0%, rgba(20,49,77,0.62) 46%, rgba(20,49,77,0.22) 100%), url(../img/hero.webp?v=3) center right / cover; box-shadow: none; }
.post-body .hero__inner { max-width: 904px; margin: 0 auto; padding: 62px 22px 54px; }
.post-body .hero h1 { font-family: var(--font-serif); font-weight: 700; font-size: 34px; line-height: 1.5; letter-spacing: 0.03em; color: #fff; margin: 0 0 16px; text-shadow: 0 2px 18px rgba(0,0,0,0.3); }
.post-body .hero-tag { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; color: #fff; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.3); padding: 4px 14px; border-radius: var(--radius-pill); margin-bottom: 14px; }
.post-body .hero-lead { font-size: 14.5px; color: rgba(255,255,255,0.85); line-height: 1.85; margin: 0 0 18px; }
.post-body .hero-meta { display: flex; gap: 20px; flex-wrap: wrap; }
.post-body .hero-meta span { font-size: 14px; color: rgba(255,255,255,0.6); }
.post-body .hero-meta strong { color: #fff; font-weight: 700; }

/* ---- Hero CTA (service / pillar first-view conversion) ---- */
.post-body .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.post-body .hero-cta a { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; line-height: 1.3; padding: 13px 26px; border-radius: var(--radius-md); text-decoration: none; border: 1px solid transparent; box-shadow: var(--shadow-sm); transition: filter var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.post-body .hero-cta a:hover { filter: brightness(0.95); transform: translateY(-1px); }
.post-body .hero-cta .primary { background: linear-gradient(180deg, var(--gold-400), var(--gold-600)); color: var(--navy-900); border-color: var(--gold-700); }
.post-body .hero-cta .ghost { background: rgba(255,255,255,0.10); color: #fff; border-color: rgba(255,255,255,0.55); }
@media (max-width: 560px) { .post-body .hero-cta a { flex: 1 1 100%; } }

/* ---- Per-page themed hero backgrounds (固定ページ) ----
   Each SVG carries its own gradient + text-shading, so the modifier
   fully replaces the default hero background. */
.post-body .hero--offshore    { background: #0d2138 url(../img/hero/offshore.svg) center / cover; }
.post-body .hero--insurance   { background: #0c282d url(../img/hero/insurance.svg) center / cover; }
.post-body .hero--personal    { background: #0e2e2b url(../img/hero/personal.svg) center / cover; }
.post-body .hero--corporate   { background: #101d30 url(../img/hero/corporate.svg) center / cover; }
.post-body .hero--expat       { background: #0c2340 url(../img/hero/expat.svg) center / cover; }
.post-body .hero--ifa         { background: #112038 url(../img/hero/ifa.svg) center / cover; }
.post-body .hero--ifa-erabi   { background: #13233c url(../img/hero/ifa-erabi.svg) center / cover; }
.post-body .hero--ifa-shokai  { background: #122039 url(../img/hero/ifa-shokai.svg) center / cover; }
.post-body .hero--ifa-change  { background: #13213a url(../img/hero/ifa-change.svg) center / cover; }
.post-body .hero--funding     { background: #0c282d url(../img/hero/funding.svg) center / cover; }
.post-body .hero--association { background: #0f2238 url(../img/hero/association.svg) center / cover; }
.post-body .hero--recruit     { background: #0e2c2a url(../img/hero/recruit.svg) center / cover; }
.post-body .hero--privacy     { background: #121d30 url(../img/hero/privacy.svg) center / cover; }
.post-body .hero--sitemap     { background: #0f2238 url(../img/hero/sitemap.svg) center / cover; }
.post-body .hero--form        { background: #0f2238 url(../img/hero/form.svg) center / cover; }

/* ---- Inline "詳しく見る" link (section → detail page) ---- */
.post-body .more-link { margin: 20px 0 4px; }
.post-body .more-link a { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14.5px; line-height: 1.5; color: var(--navy-700); background: var(--navy-050); border: 1px solid var(--navy-200); border-radius: var(--radius-pill); padding: 11px 22px; transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.post-body .more-link a:hover { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.post-body .more-link a .ico { width: 1.05em; height: 1.05em; flex: 0 0 auto; transition: transform var(--dur) var(--ease-out); }
.post-body .more-link a:hover .ico { transform: translateX(3px); }

/* ============================================================
   Table of contents
   ============================================================ */
.post-body .toc { background: var(--surface-cool); border: 1px solid var(--line-200); border-radius: var(--radius-lg); padding: 22px 26px; margin: 30px 0; }
.post-body .toc-t { font-family: var(--font-serif); font-size: 15px; font-weight: 700; color: var(--navy-700); margin-bottom: 12px; }
.post-body .toc ol { padding-left: 20px; margin: 0; }
.post-body .toc li { margin-bottom: 6px; font-size: 14px; }
.post-body .toc li a { color: var(--navy-700); font-weight: 500; border: none; }
.post-body .toc li a:hover { color: var(--gold-700); text-decoration: underline; }

/* ============================================================
   Callout boxes
   ============================================================ */
.post-body .box { background: var(--surface-cool); border: 1px solid var(--line-200); border-left: 4px solid var(--navy-400); border-radius: var(--radius-md); padding: 16px 18px; margin: 20px 0; }
.post-body .box-t { font-family: var(--font-sans); font-weight: 700; font-size: 14.5px; color: var(--navy-700); margin-bottom: 8px; }
.post-body .box p, .post-body .box li { font-size: 14px; line-height: 1.8; }
.post-body .box ul, .post-body .box ol { margin: 0; padding-left: 18px; }
.post-body .box li { margin-bottom: 4px; }
.post-body .box.gold { border-left-color: var(--gold-500); background: var(--gold-100); }
.post-body .box.gold .box-t { color: var(--gold-700); }
.post-body .box.green, .post-body .box.teal { border-left-color: var(--teal-500); background: var(--teal-050); }
.post-body .box.green .box-t, .post-body .box.teal .box-t { color: var(--teal-700); }
.post-body .box.red { border-left-color: var(--danger); background: #fbeceb; }
.post-body .box.red .box-t { color: var(--danger); }
.post-body .box.purple { border-left-color: var(--navy-500); background: var(--navy-050); }
.post-body .box.purple .box-t { color: var(--navy-600); }
.post-body .box.orange { border-left-color: var(--gold-600); background: var(--gold-050); }
.post-body .box.orange .box-t { color: var(--gold-700); }

/* ============================================================
   Tables
   ============================================================ */
.post-body .tbl { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; border: 1px solid var(--line-200); border-radius: var(--radius-md); overflow: hidden; }
.post-body .tbl th { background: var(--navy-700); color: #fff; padding: 11px 13px; text-align: center; font-size: 14px; font-weight: 700; }
.post-body .tbl th.gold { background: var(--gold-600); }
.post-body .tbl th.green, .post-body .tbl th.teal { background: var(--teal-600); }
.post-body .tbl th.red { background: var(--danger); }
.post-body .tbl th.purple { background: var(--navy-500); }
.post-body .tbl td { padding: 10px 13px; border-bottom: 1px solid var(--line-200); vertical-align: middle; }
.post-body .tbl tr:nth-child(even) td { background: var(--surface-cool); }
.post-body .tbl tr:last-child td { border-bottom: none; }
.post-body .tbl .lb { font-weight: 700; color: var(--navy-700); }
.post-body .tbl .os { text-align: center; font-weight: 700; color: var(--teal-600); }
.post-body .tbl .bad { text-align: center; font-weight: 700; color: var(--danger); }
.post-body .tbl .c { text-align: center; }

/* ============================================================
   Case boxes & cards
   ============================================================ */
.post-body .case-box, .post-body .case-item { border: 1px solid var(--line-200); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 14px; box-shadow: var(--shadow-xs); }
.post-body .case-hd { background: var(--surface-cool); padding: 12px 16px; display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; color: var(--navy-700); border-bottom: 1px solid var(--line-200); }
.post-body .case-lb { background: var(--danger); color: #fff; font-size: 14px; font-weight: 700; padding: 3px 10px; border-radius: var(--radius-pill); }
.post-body .case-tag { background: var(--navy-500); color: #fff; font-size: 14px; font-weight: 700; padding: 3px 10px; border-radius: var(--radius-pill); }
.post-body .case-bd { padding: 14px 16px; font-size: 14px; line-height: 1.8; }
.post-body .case-sol { margin-top: 10px; padding: 10px 14px; background: var(--teal-050); border-radius: var(--radius-sm); border-left: 3px solid var(--teal-500); font-size: 14px; color: var(--teal-700); font-weight: 600; }
.post-body .case-point { margin-top: 10px; padding: 10px 14px; background: var(--navy-050); border-radius: var(--radius-sm); border-left: 3px solid var(--navy-500); font-size: 14px; color: var(--navy-700); font-weight: 600; }

/* case-card / case-num (numeric highlight cards) */
.post-body .case-card { border: 1px solid var(--line-200); border-radius: var(--radius-lg); padding: 18px; background: var(--white); box-shadow: var(--shadow-sm); margin: 16px 0; }
.post-body .case-icon { font-size: 26px; }
.post-body .case-name { font-family: var(--font-serif); font-weight: 700; font-size: 15px; color: var(--ink-900); }
.post-body .case-attr { font-size: 14px; color: var(--ink-500); }
.post-body .case-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-top: 12px; }
.post-body .case-num-card { text-align: center; background: var(--surface-cool); border: 1px solid var(--line-200); border-radius: var(--radius-md); padding: 14px 10px; }
.post-body .case-num-lbl { font-size: 14px; color: var(--ink-500); margin-bottom: 4px; }
.post-body .case-num-val { font-family: var(--font-serif); font-weight: 900; font-size: 22px; color: var(--gold-600); }

/* ============================================================
   Check lists
   ============================================================ */
.post-body .check-list, .post-body .checklist { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.post-body .check-item, .post-body .ci { display: flex; gap: 13px; align-items: flex-start; padding: 13px 16px; border-radius: var(--radius-md); border: 1px solid var(--line-200); background: var(--white); transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.post-body .ci:hover { border-color: var(--gold-400); box-shadow: var(--shadow-sm); }
.post-body .check-n, .post-body .ci-badge { width: 30px; height: 30px; border-radius: var(--radius-sm); background: var(--navy-700); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.post-body .ci-badge.red { background: var(--danger); }
.post-body .ci-badge.green { background: var(--teal-600); }
.post-body .ci-badge.orange { background: var(--gold-600); }
.post-body .check-t, .post-body .ci-title { font-size: 14px; font-weight: 700; color: var(--navy-700); margin-bottom: 3px; }
.post-body .check-d, .post-body .ci-desc { font-size: 14px; color: var(--ink-500); line-height: 1.65; }
.post-body .ci-verify { margin-top: 5px; font-size: 14px; color: var(--navy-600); font-weight: 600; }

/* ============================================================
   NG list (warnings)
   ============================================================ */
.post-body .ng-list { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.post-body .ng-item { display: flex; gap: 11px; align-items: flex-start; padding: 13px 15px; border-radius: var(--radius-md); background: #fbeceb; border: 1px solid rgba(192,71,62,0.2); }
.post-body .ng-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.post-body .ng-text { font-size: 14px; line-height: 1.75; }
.post-body .ng-text strong { color: var(--danger); }
.post-body .warn { background: #fbeceb; border-left: 4px solid var(--danger); border-radius: var(--radius-md); padding: 14px 16px; margin: 18px 0; font-size: 14px; }

/* ============================================================
   FAQ
   ============================================================ */
.post-body .faq { margin: 22px 0; border: 1px solid var(--line-200); border-radius: var(--radius-lg); padding: 6px 20px; }
.post-body .fqi { border-bottom: 1px solid var(--line-200); }
.post-body .fqi:last-child { border-bottom: none; }
.post-body .fqq { padding: 15px 0; font-weight: 700; font-size: 14.5px; color: var(--navy-700); display: flex; gap: 10px; align-items: flex-start; }
.post-body .fqq::before { content: "Q"; background: var(--navy-700); color: #fff; font-size: 14px; font-weight: 700; width: 20px; height: 20px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.post-body .fqa { padding: 0 0 15px 30px; font-size: 14px; line-height: 1.85; display: flex; gap: 10px; color: var(--ink-700); }
.post-body .fqa::before { content: "A"; background: var(--gold-600); color: #fff; font-size: 14px; font-weight: 700; width: 20px; height: 20px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   Step flow / timeline
   ============================================================ */
.post-body .step-flow { display: flex; flex-direction: column; margin: 22px 0; }
.post-body .sf { display: flex; gap: 15px; align-items: flex-start; position: relative; padding-bottom: 22px; }
.post-body .sf:last-child { padding-bottom: 0; }
.post-body .sf::before { content: ""; position: absolute; left: 17px; top: 38px; width: 2px; bottom: 0; background: var(--line-200); }
.post-body .sf:last-child::before { display: none; }
.post-body .sn, .post-body .s-num { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; background: var(--navy-600); color: #fff; font-family: var(--font-serif); font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.post-body .sc { padding-top: 4px; }
.post-body .st, .post-body .s-title { font-size: 14.5px; font-weight: 700; color: var(--navy-700); margin-bottom: 4px; }
.post-body .sd, .post-body .s-desc { font-size: 14px; color: var(--ink-500); line-height: 1.7; }

.post-body .timeline { display: flex; flex-direction: column; margin: 22px 0; }
.post-body .tl-item { display: flex; gap: 15px; align-items: flex-start; position: relative; padding-bottom: 22px; }
.post-body .tl-item:last-child { padding-bottom: 0; }
.post-body .tl-dot { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; background: var(--gold-500); border: 3px solid var(--gold-100); margin-top: 3px; position: relative; z-index: 1; }
.post-body .tl-item::before { content: ""; position: absolute; left: 7px; top: 18px; width: 2px; bottom: 0; background: var(--line-200); }
.post-body .tl-item:last-child::before { display: none; }
.post-body .tl-title { font-size: 14.5px; font-weight: 700; color: var(--navy-700); margin-bottom: 3px; }
.post-body .tl-desc { font-size: 14px; color: var(--ink-700); line-height: 1.7; }

/* ============================================================
   Simulation / comparison cards
   ============================================================ */
.post-body .grid2, .post-body .sim-grid, .post-body .strategy-grid, .post-body .persona-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.post-body .card, .post-body .sim-card, .post-body .strategy-card { border: 1px solid var(--line-200); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow-xs); }
.post-body .card-hd, .post-body .sim-hd { padding: 12px 16px; color: #fff; font-weight: 700; font-size: 14px; }
.post-body .card-hd.navy { background: linear-gradient(135deg, var(--navy-700), var(--navy-500)); }
.post-body .card-hd.green, .post-body .sim-hd.f { background: linear-gradient(135deg, var(--teal-600), var(--teal-500)); }
.post-body .card-hd.red { background: linear-gradient(135deg, #7a2620, var(--danger)); }
.post-body .sim-hd.v { background: linear-gradient(135deg, var(--navy-600), var(--navy-400)); }
.post-body .card-bd, .post-body .sim-bd { padding: 14px 16px; background: var(--white); font-size: 14px; line-height: 1.7; }
.post-body .card-row, .post-body .sim-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line-200); font-size: 14px; }
.post-body .card-row:last-child, .post-body .sim-row:last-child { border-bottom: none; }
.post-body .card-lbl, .post-body .sim-lbl { color: var(--ink-500); }
.post-body .card-val, .post-body .sim-val { font-weight: 700; color: var(--navy-700); }
.post-body .card-val.big, .post-body .sim-val.big { font-size: 1.15rem; color: var(--gold-600); }

/* ============================================================
   Merit cards / persona / strategy
   ============================================================ */
.post-body .merit-card { border: 1px solid var(--line-200); border-top: 3px solid var(--accent); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); margin: 16px 0; overflow: hidden; }
.post-body .merit-card-hd { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--surface-cool); }
.post-body .merit-num { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font-serif); font-weight: 900; font-size: 17px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.post-body .merit-title-wrap { flex: 1; }
.post-body .merit-title { font-family: var(--font-serif); font-weight: 700; font-size: 16px; color: var(--navy-700); }
.post-body .merit-big { font-family: var(--font-serif); font-weight: 900; font-size: 22px; color: var(--gold-600); }
.post-body .merit-badge { display: inline-block; font-size: 14px; font-weight: 700; color: var(--gold-700); background: var(--gold-100); border: 1px solid var(--gold-300); padding: 3px 10px; border-radius: var(--radius-pill); }
.post-body .merit-card-body { padding: 16px 18px; font-size: 14px; line-height: 1.8; }

.post-body .persona { border: 1px solid var(--line-200); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); }
.post-body .persona-hd { background: var(--navy-050); border-bottom: 2px solid var(--navy-600); padding: 13px 16px; display: flex; align-items: center; gap: 10px; }
.post-body .persona-num { width: 30px; height: 30px; border-radius: 50%; background: var(--navy-600); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.post-body .persona-label { font-family: var(--font-serif); font-weight: 700; font-size: 15px; color: var(--navy-700); }
.post-body .persona-bd { padding: 14px 16px; font-size: 14px; line-height: 1.75; }
.post-body .strategy-card { padding: 18px; }

/* compare panel */
.post-body .cpanel, .post-body .compare-panel { border: 1px solid var(--line-200); border-radius: var(--radius-lg); overflow: hidden; margin: 18px 0; }
.post-body .cpanel-hd { padding: 13px 16px; background: var(--navy-700); color: #fff; font-weight: 700; font-size: 14px; }
.post-body .cpanel-body { padding: 16px; font-size: 14px; line-height: 1.8; }

/* ============================================================
   CTA block
   ============================================================ */
.post-body .cta { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 30px 28px; margin: 40px 0 24px; text-align: center; color: #fff; background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); box-shadow: var(--shadow-md); }
.post-body .cta-t { font-family: var(--font-serif); font-weight: 700; font-size: 20px; color: #fff; margin-bottom: 8px; }
.post-body .cta-d { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.8; margin-bottom: 18px; }
.post-body .cta-b { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.post-body .bg { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: #3a2c08; background: linear-gradient(180deg, var(--gold-400), var(--gold-600)); border: 1px solid var(--gold-700); border-radius: var(--radius-md); padding: 13px 26px; text-decoration: none; box-shadow: var(--shadow-sm); transition: filter var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.post-body .bg:hover { filter: brightness(0.95); transform: translateY(-1px); text-decoration: none; border-color: var(--gold-700); }
.post-body .bo { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: #fff; background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.5); border-radius: var(--radius-md); padding: 13px 26px; text-decoration: none; transition: background var(--dur) var(--ease-out); }
.post-body .bo:hover { background: rgba(255,255,255,0.18); text-decoration: none; }
.post-body .cta-n { font-size: 14px; color: rgba(255,255,255,0.55); margin-top: 14px; }

/* ============================================================
   Author box
   ============================================================ */
.post-body .au { display: flex; gap: 16px; align-items: flex-start; margin-top: 34px; padding: 20px 22px; background: var(--surface-cool); border: 1px solid var(--line-200); border-radius: var(--radius-lg); }
.post-body .ai { width: 56px; height: 56px; border-radius: 50%; background: var(--navy-100); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; overflow: hidden; }
.post-body .ai img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }

/* Eyecatch (featured image) → article hero background (image stays visible on the right) */
.post-body .hero.has-eyecatch { background-image: linear-gradient(105deg, rgba(14,34,54,0.92) 0%, rgba(16,40,62,0.78) 30%, rgba(16,40,62,0.42) 62%, rgba(16,40,62,0.14) 100%), var(--eyecatch); background-position: center; background-size: cover; }
.post-body .hero.has-eyecatch .hero__inner { min-height: 200px; }

/* Per-category blog hero art (記事カテゴリに合わせた既定ヒーロー）。
   アイキャッチ（注目画像）が設定された記事は :not(.has-eyecatch) で除外され、
   そちらが優先される。クラスター c1–c5 は .post-body に付与される。 */
.post-body.c1 .hero:not(.has-eyecatch) { background: #0d2138 url(../img/hero/blog-c1.svg) center / cover; }
.post-body.c2 .hero:not(.has-eyecatch) { background: #0e2e2b url(../img/hero/blog-c2.svg) center / cover; }
.post-body.c3 .hero:not(.has-eyecatch) { background: #101d30 url(../img/hero/blog-c3.svg) center / cover; }
.post-body.c4 .hero:not(.has-eyecatch) { background: #0c2340 url(../img/hero/blog-c4.svg) center / cover; }
.post-body.c5 .hero:not(.has-eyecatch) { background: #112038 url(../img/hero/blog-c5.svg) center / cover; }

.post-body .an { font-size: 14.5px; font-weight: 700; color: var(--navy-700); margin-bottom: 5px; }
.post-body .ab { font-size: 14px; color: var(--ink-500); line-height: 1.75; }

/* ---- 監修者 (E-E-A-T) box ---- */
.post-body .oi-sv { display: flex; gap: 20px; align-items: flex-start; background: var(--surface-cool); border: 1px solid var(--line-200); border-left: 4px solid var(--gold-500); border-radius: var(--radius-lg); padding: 22px 24px; margin: 44px 0 8px; }
.post-body .oi-sv__photo { flex: 0 0 96px; width: 96px; height: 112px; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.post-body .oi-sv__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; margin: 0; border-radius: 0; }
.post-body .oi-sv__role { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--gold-700); margin-bottom: 4px; }
.post-body .oi-sv__name { font-family: var(--font-serif); font-weight: 700; font-size: 18px; color: var(--navy-800); margin-bottom: 10px; }
.post-body .oi-sv__bio { font-size: 14px; line-height: 1.85; color: var(--ink-700); margin: 0 0 12px; }
.post-body .oi-sv__cred { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 14px; padding: 0; }
.post-body .oi-sv__cred li { font-size: 12.5px; font-weight: 700; color: var(--navy-700); background: var(--navy-050); border: 1px solid var(--navy-100); border-radius: var(--radius-pill); padding: 5px 12px; margin: 0; }
.post-body .oi-sv__link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; color: var(--navy-700); border: none; }
.post-body .oi-sv__link .ico { width: 1.05em; height: 1.05em; transition: transform var(--dur) var(--ease-out); }
.post-body .oi-sv__link:hover { color: var(--gold-700); }
.post-body .oi-sv__link:hover .ico { transform: translateX(3px); }
@media (max-width: 560px) { .post-body .oi-sv { flex-direction: column; gap: 14px; } }

/* ============================================================
   Related posts
   ============================================================ */
.post-body .rel { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.post-body .rc { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line-200); border-radius: var(--radius-md); background: var(--white); text-decoration: none; transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.post-body .rc:hover { border-color: var(--navy-300); box-shadow: var(--shadow-sm); text-decoration: none; }
.post-body .ri { font-size: 22px; flex-shrink: 0; }
.post-body .rt { font-size: 14px; font-weight: 700; color: var(--navy-700); margin-bottom: 2px; }
.post-body .rs { font-size: 14px; color: var(--ink-500); }

/* ============================================================
   Color / utility helpers used inline by some articles
   ============================================================ */
.post-body .navy { color: var(--navy-700); }
.post-body .gold { color: var(--gold-700); }
.post-body .green { color: var(--teal-600); }
.post-body .red { color: var(--danger); }
.post-body .purple { color: var(--navy-600); }
.post-body .orange { color: var(--gold-700); }
.post-body .big { font-size: 1.15rem; font-weight: 700; }
.post-body .jp { font-family: var(--font-serif); }

/* ============================================================
   Archive / blog listing (new-design cards)
   ============================================================ */
.blog-wrap { max-width: var(--container-max); margin: 0 auto; padding: 56px 22px 72px; }
.blog-head { text-align: center; margin-bottom: 36px; }
.blog-head .serial { font-family: var(--font-serif); font-weight: 700; font-size: 14px; letter-spacing: 0.16em; color: var(--gold-600); text-transform: uppercase; }
.blog-head h1 { font-family: var(--font-serif); font-weight: 700; font-size: 32px; color: var(--ink-900); margin: 8px 0 0; }
.blog-head p { font-size: 14px; color: var(--ink-500); margin: 12px 0 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line-200); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card__thumb { display: block; aspect-ratio: 16 / 9; background: var(--surface-cool); overflow: hidden; position: relative; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__thumb-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy-700), var(--navy-500)); color: rgba(255,255,255,0.85); font-family: var(--font-serif); font-weight: 700; font-size: 18px; letter-spacing: 0.1em; }
.post-card__body { display: flex; flex-direction: column; gap: 9px; padding: 18px 18px 20px; flex: 1; }
.post-card__cat { align-self: flex-start; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; color: var(--gold-700); background: var(--gold-100); border: 1px solid var(--gold-200); padding: 3px 11px; border-radius: var(--radius-pill); }
.post-card__title { font-family: var(--font-serif); font-weight: 700; font-size: 16px; line-height: 1.55; color: var(--ink-900); margin: 0; }
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a:hover { color: var(--navy-700); }
.post-card__excerpt { font-size: 14px; color: var(--ink-500); line-height: 1.75; margin: 0; }
.post-card__meta { display: flex; gap: 14px; margin-top: auto; padding-top: 10px; font-size: 14px; color: var(--ink-300); border-top: 1px solid var(--line-100); }

.oi-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.oi-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line-200); border-radius: var(--radius-md); background: var(--white); color: var(--navy-700); font-weight: 700; font-size: 14px; text-decoration: none; transition: background var(--dur) var(--ease-out); }
.oi-pagination .page-numbers:hover { background: var(--navy-050); }
.oi-pagination .page-numbers.current { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }

/* ---- single-post chrome: breadcrumb + share + nav ---- */
.post-breadcrumb { max-width: 860px; margin: 0 auto; padding: 22px 22px 0; font-size: 14px; color: var(--ink-500); }
.post-breadcrumb a { color: var(--navy-600); text-decoration: none; }
.post-breadcrumb a:hover { text-decoration: underline; }
.post-nav { max-width: 860px; margin: 0 auto; padding: 0 22px 64px; display: flex; justify-content: space-between; gap: 16px; }
.post-nav a { flex: 1; padding: 16px 18px; border: 1px solid var(--line-200); border-radius: var(--radius-lg); background: var(--white); text-decoration: none; transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.post-nav a:hover { border-color: var(--navy-300); box-shadow: var(--shadow-sm); }
.post-nav .dir { font-size: 14px; color: var(--ink-300); font-weight: 700; }
.post-nav .ttl { font-size: 14px; color: var(--navy-700); font-weight: 700; line-height: 1.5; margin-top: 4px; }
.post-nav .next { text-align: right; }

/* 記事フッターのバナー（LINEオンライン面談 / AI資産運用診断） */
.post-body .oi-post-banners { display: flex; flex-direction: column; align-items: center; gap: 18px; margin: 44px 0 8px; }
.post-body .oi-post-banner { display: inline-block; line-height: 0; border: none; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.post-body .oi-post-banner:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.post-body .oi-post-banner img { max-width: 100%; height: auto; display: block; margin: 0; border-radius: var(--radius-md); }

/* ============================================================
   Pillar-page extra components (.map / .type / .merit-g / .flow)
   ============================================================ */
.post-body .map-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
.post-body .map-card { border: 1px solid var(--line-200); border-radius: var(--radius-md); padding: 15px; background: var(--white); box-shadow: var(--shadow-xs); }
.post-body .map-flag { font-size: 24px; line-height: 1; }
.post-body .map-name { font-family: var(--font-serif); font-weight: 700; font-size: 14.5px; color: var(--navy-700); margin: 6px 0 6px; }
.post-body .map-feat { font-size: 14px; color: var(--ink-500); line-height: 1.65; }

.post-body .type-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.post-body .type-card { border: 1px solid var(--line-200); border-top: 3px solid var(--navy-600); border-radius: var(--radius-md); padding: 18px 14px; text-align: center; background: var(--white); box-shadow: var(--shadow-xs); }
.post-body .type-icon { font-size: 28px; line-height: 1; }
.post-body .type-name { font-family: var(--font-serif); font-weight: 700; font-size: 14px; color: var(--navy-700); margin: 10px 0 7px; line-height: 1.45; }
.post-body .type-desc { font-size: 14px; color: var(--ink-500); line-height: 1.65; }

.post-body .merit-g { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0; }
.post-body .merit-c { border: 1px solid var(--line-200); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); }
.post-body .merit-ch { padding: 13px 16px; font-weight: 700; font-size: 14.5px; color: #fff; }
.post-body .merit-ch.good { background: linear-gradient(135deg, var(--teal-600), var(--teal-500)); }
.post-body .merit-ch.bad { background: linear-gradient(135deg, #7a2620, var(--danger)); }
.post-body .merit-cb { padding: 15px 16px; display: flex; flex-direction: column; gap: 13px; }
.post-body .mi { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; line-height: 1.7; color: var(--ink-700); }
.post-body .mi > span { font-size: 18px; flex: none; line-height: 1.5; }
.post-body .mi strong { color: var(--navy-700); }

.post-body .flow { display: flex; flex-direction: column; margin: 20px 0; }
.post-body .fl { display: flex; gap: 15px; align-items: flex-start; position: relative; padding-bottom: 20px; }
.post-body .fl:last-child { padding-bottom: 0; }
.post-body .fl::before { content: ""; position: absolute; left: 18px; top: 40px; width: 2px; bottom: 0; background: var(--line-200); }
.post-body .fl:last-child::before { display: none; }
.post-body .fn { width: 38px; height: 38px; border-radius: 50%; flex: none; background: var(--navy-600); color: #fff; font-family: var(--font-serif); font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.post-body .fc { padding-top: 4px; }
.post-body .ft { font-size: 14.5px; font-weight: 700; color: var(--navy-700); margin-bottom: 4px; }
.post-body .fd { font-size: 14px; color: var(--ink-500); line-height: 1.7; }

/* ============================================================
   Monochrome line icons (replace emoji — trustworthy look)
   ============================================================ */
.post-body .ico { display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--navy-600); width: 1.1em; height: 1.1em; vertical-align: -0.16em; }
.post-body .ico svg { width: 100%; height: 100%; display: block; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.post-body .ico.danger { color: var(--danger); }

.post-body .hero-tag { display: inline-flex; align-items: center; gap: 7px; }
.post-body .hero-tag .ico { width: 14px; height: 14px; color: #fff; }
.post-body .hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-body .hero-meta .ico { width: 14px; height: 14px; color: rgba(255,255,255,0.8); }
.post-body .toc-t { display: flex; align-items: center; gap: 8px; }
.post-body .toc-t .ico { width: 16px; height: 16px; color: var(--navy-700); }
.post-body .box-t { display: flex; align-items: center; gap: 8px; }
.post-body .box-t .ico { width: 18px; height: 18px; }
.post-body .cta-t { display: flex; align-items: center; justify-content: center; gap: 9px; }
.post-body .cta-t .ico { width: 20px; height: 20px; color: #fff; }
.post-body .map-flag { line-height: 0; }
.post-body .map-flag .ico { width: 26px; height: 26px; color: var(--navy-600); }
.post-body .type-icon { line-height: 0; }
.post-body .type-icon .ico { width: 32px; height: 32px; color: var(--navy-600); }
.post-body .mi .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--navy-600); }
.post-body .merit-ch { display: flex; align-items: center; gap: 8px; }
.post-body .merit-ch .ico { width: 18px; height: 18px; color: #fff; }
.post-body .ai .ico { width: 26px; height: 26px; color: var(--navy-600); }
.post-body .ri .ico { width: 22px; height: 22px; color: var(--navy-600); }
.post-body .ci-badge .ico { width: 16px; height: 16px; color: #fff; }
.post-body .ci-badge.warn { background: var(--danger); }
.post-body .tbl .good { text-align: center; font-weight: 700; color: var(--teal-600); }
.post-body .ng-icon .ico { width: 18px; height: 18px; color: var(--danger); }
.post-body .check-tip { font-size: 14px; color: var(--navy-600); font-weight: 600; margin-top: 5px; }

/* KPI stat row (pages) */
.post-body .kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0; }
.post-body .kpi-card { text-align: center; padding: 20px 14px; border-radius: var(--radius-lg); background: linear-gradient(165deg, var(--navy-600), var(--navy-800)); color: #fff; box-shadow: var(--shadow-md); }
.post-body .kpi-card:nth-child(2) { background: linear-gradient(165deg, var(--gold-500), var(--gold-700)); }
.post-body .kpi-card:nth-child(3) { background: linear-gradient(165deg, var(--teal-500), var(--teal-700)); }
.post-body .kpi-num { font-family: var(--font-serif); font-weight: 900; font-size: 34px; line-height: 1; display: block; }
.post-body .kpi-unit { font-size: 16px; font-weight: 700; }
.post-body .kpi-label { font-size: 14px; color: rgba(255,255,255,0.85); margin-top: 6px; display: block; }

/* Voice cards (pages) */
.post-body .voice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.post-body .voice-card { background: var(--surface-cool); border: 1px solid var(--line-200); border-radius: var(--radius-lg); padding: 18px; }
.post-body .voice-text { font-size: 14px; line-height: 1.8; color: var(--ink-700); margin: 0 0 10px; }
.post-body .voice-from { font-size: 14px; color: var(--ink-500); font-weight: 700; }

/* Form slot (法人向けフォーム — body designed in-theme, form itself from a WP plugin) */
.post-body .form-slot { background: var(--white); border: 1px solid var(--line-200); border-top: 3px solid var(--gold-500); border-radius: var(--radius-lg); padding: 26px 24px; margin: 18px 0; box-shadow: var(--shadow-sm); }
.post-body .form-slot__note { display: flex; gap: 12px; align-items: flex-start; background: var(--surface-cool); border: 1px dashed var(--navy-200); border-radius: var(--radius-md); padding: 14px 16px; margin-bottom: 18px; }
.post-body .form-slot__note .ico { color: var(--navy-600); flex: none; margin-top: 2px; }
.post-body .form-slot__note b { display: block; font-size: 14px; font-weight: 700; color: var(--navy-700); margin-bottom: 4px; }
.post-body .form-slot__note span { display: block; font-size: 14px; color: var(--ink-500); line-height: 1.7; }
.post-body .form-slot__note code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; background: var(--navy-050); color: var(--navy-700); padding: 1px 6px; border-radius: var(--radius-sm); }
.post-body .form-slot input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]), .post-body .form-slot select, .post-body .form-slot textarea { width: 100%; font-size: 15px; padding: 11px 13px; border: 1px solid var(--line-300); border-radius: var(--radius-md); background: var(--white); color: var(--ink-900); box-sizing: border-box; }
.post-body .form-slot label { display: block; font-size: 14px; font-weight: 700; color: var(--navy-700); margin: 14px 0 5px; }
.post-body .form-slot input[type=submit], .post-body .form-slot button[type=submit], .post-body .form-slot .wpcf7-submit { display: inline-flex; align-items: center; justify-content: center; width: 100%; margin-top: 20px; padding: 15px 20px; font-size: 16px; font-weight: 700; color: var(--navy-900); background: linear-gradient(180deg, var(--gold-300), var(--gold-500)); border: 1px solid var(--gold-600); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); cursor: pointer; transition: filter var(--dur) var(--ease-out); }
.post-body .form-slot input[type=submit]:hover, .post-body .form-slot button[type=submit]:hover, .post-body .form-slot .wpcf7-submit:hover { filter: brightness(0.96); }
.post-body .form-privacy { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--ink-500); line-height: 1.7; margin: 14px 0 0; }
.post-body .form-privacy .ico { color: var(--navy-500); flex: none; margin-top: 2px; }
.post-body .form-privacy a { color: var(--navy-600); }

/* Sitemap (HTML) */
.post-body .sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 8px 0 0; }
.post-body .sitemap-col h2 { font-family: var(--font-serif); font-weight: 700; font-size: 17px; color: var(--navy-700); border-left: 4px solid var(--gold-500); padding: 2px 0 2px 12px; margin: 0 0 10px; line-height: 1.4; }
.post-body .sitemap-col h2:not(:first-child) { margin-top: 30px; }
.post-body .sitemap-col ul { list-style: none; margin: 0; padding: 0; }
.post-body .sitemap-col li { border-bottom: 1px solid var(--line-100); }
.post-body .sitemap-col li a { display: block; position: relative; padding: 11px 6px 11px 18px; font-size: 14px; color: var(--ink-700); text-decoration: none; transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out); }
.post-body .sitemap-col li a::before { content: ""; position: absolute; left: 4px; top: 50%; width: 5px; height: 5px; border-right: 1.6px solid var(--gold-500); border-bottom: 1.6px solid var(--gold-500); transform: translateY(-50%) rotate(-45deg); }
.post-body .sitemap-col li a:hover { background: var(--navy-050); color: var(--navy-700); }
@media (max-width: 720px) { .post-body .sitemap-grid { grid-template-columns: 1fr; gap: 6px; } .post-body .sitemap-col h2:not(:first-child) { margin-top: 22px; } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .post-body .type-row { grid-template-columns: 1fr 1fr; }
  .post-body .map-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .post-body { padding: 8px 16px 56px; font-size: 15px; }
  .post-body .hero { padding: 28px 20px 24px; }
  .post-body .hero h1 { font-size: 23px; }
  .post-body h2 { font-size: 21px; }
  .blog-grid { grid-template-columns: 1fr; }
  .post-body .grid2, .post-body .sim-grid, .post-body .strategy-grid, .post-body .persona-grid, .post-body .rel, .post-body .merit-g, .post-body .map-grid, .post-body .type-row { grid-template-columns: 1fr; }
  .post-nav { flex-direction: column; }
}
