/* AEO STUDIO Blog v2 — home.css のトークンを継承 */
.bwrap{ max-width:760px; margin:0 auto; padding:0 22px; }
.bprog{ position:fixed; top:0; left:0; right:0; height:4px; z-index:60; background:transparent; }
.bprog i{ display:block; height:100%; width:0; background:var(--grad); transition:width .1s linear; }
.bhead{ position:sticky; top:0; z-index:50; background:rgba(250,252,255,.9); backdrop-filter:blur(12px); border-bottom:1px solid var(--line-soft); }
.bhead-in{ max-width:1160px; margin:0 auto; padding:13px 22px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.bhead-in img{ width:116px; height:auto; display:block; }
.bhead-in .btn{ padding:10px 20px; font-size:13.5px; }
.bcrumb{ margin:22px 0 0; font-size:12px; color:var(--ink-3); display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.bcrumb a{ color:var(--ink-2); text-decoration:none; }
.bcrumb a:hover{ text-decoration:underline; }
.bpost{ padding:10px 0 60px; }
.bmeta{ margin-top:18px; display:flex; flex-wrap:wrap; gap:8px 14px; align-items:center; font-family:var(--font-mono); font-size:11.5px; color:var(--ink-3); }
.bmeta .bcat{ color:var(--blue-deep); background:var(--grad-soft); border-radius:99px; padding:3px 11px; font-weight:600; }
.bmeta .btime{ display:inline-flex; align-items:center; gap:5px; }
.bmeta .btime svg{ width:13px; height:13px; }
.bpost h1{ margin-top:14px; font-size:clamp(24px,4.6vw,34px); font-weight:900; line-height:1.45; letter-spacing:.01em; color:var(--ink); }
.banswer{ margin-top:22px; padding:20px 22px; border-left:4px solid var(--blue); border-radius:0 var(--r-md) var(--r-md) 0; background:linear-gradient(120deg,rgba(20,121,230,.07),rgba(47,180,234,.04)); }
.banswer b{ color:var(--blue-deep); }
.banswer p{ font-size:15px; line-height:1.95; color:var(--ink); font-weight:600; }
.banswer .ba-label{ display:inline-block; margin-bottom:8px; font-family:var(--font-mono); font-size:10.5px; font-weight:700; letter-spacing:.16em; color:var(--blue-deep); }
/* この記事でわかること */
.bsum{ margin-top:18px; padding:16px 20px; border:1px solid var(--line); border-radius:var(--r-md); background:var(--card); box-shadow:var(--sh-1); }
.bsum b{ display:flex; align-items:center; gap:8px; font-size:13.5px; color:var(--ink); }
.bsum b svg{ width:16px; height:16px; color:var(--blue); }
.bsum ul{ margin-top:10px; display:grid; gap:7px; }
.bsum li{ list-style:none; position:relative; padding-left:24px; font-size:13.5px; line-height:1.75; color:var(--ink-2); font-weight:600; }
.bsum li::before{ content:""; position:absolute; left:2px; top:.42em; width:13px; height:13px; border-radius:50%; background:var(--grad-soft); box-shadow:inset 0 0 0 1.5px rgba(20,121,230,.45); }
.bsum li::after{ content:""; position:absolute; left:6px; top:.6em; width:4px; height:6px; border-right:2px solid var(--blue); border-bottom:2px solid var(--blue); transform:rotate(40deg); }
/* 目次 */
.btoc{ margin-top:18px; padding:16px 20px; border-radius:var(--r-md); background:var(--bg-2); border:1px solid var(--line); }
.btoc b{ display:flex; align-items:center; gap:8px; font-size:13px; color:var(--ink); letter-spacing:.04em; }
.btoc b svg{ width:15px; height:15px; color:var(--blue-deep); }
.btoc ol{ margin:10px 0 0; counter-reset:tn; display:grid; gap:6px; }
.btoc li{ list-style:none; counter-increment:tn; position:relative; padding-left:30px; font-size:13.5px; line-height:1.7; }
.btoc li::before{ content:counter(tn,decimal-leading-zero); position:absolute; left:0; top:.14em; font-family:var(--font-en); font-weight:800; font-size:12px; color:var(--blue); }
.btoc a{ color:var(--ink-2); text-decoration:none; font-weight:600; }
.btoc a:hover{ color:var(--blue-deep); text-decoration:underline; }
/* 見出し */
.bpost h2{ margin-top:52px; font-size:clamp(19px,3vw,23px); font-weight:800; line-height:1.5; color:var(--ink); padding:12px 16px 12px 18px; background:linear-gradient(120deg,rgba(20,121,230,.08),rgba(47,180,234,.03)); border-left:4px solid var(--blue); border-radius:0 12px 12px 0; scroll-margin-top:76px; }
.bpost h2 .hn{ font-family:var(--font-en); font-weight:800; color:var(--blue); margin-right:9px; font-size:.92em; }
.bpost h3{ margin-top:26px; font-size:16.5px; font-weight:800; color:var(--ink); display:flex; align-items:center; gap:8px; }
.bpost h3::before{ content:""; width:9px; height:9px; border-radius:3px; background:var(--grad); flex:none; }
.bpost p{ margin-top:16px; font-size:15px; line-height:2.05; color:var(--ink-2); }
.bpost p b, .bpost li b{ color:var(--ink); }
.hlm{ background:linear-gradient(transparent 62%, rgba(47,180,234,.35) 62%); font-weight:700; color:var(--ink); }
.bpost ul{ margin:16px 0 0; display:grid; gap:9px; }
.bpost ul li{ list-style:none; position:relative; padding-left:26px; font-size:14.5px; line-height:1.95; color:var(--ink-2); }
.bpost ul li::before{ content:""; position:absolute; left:2px; top:.5em; width:15px; height:15px; border-radius:50%; background:var(--grad-soft); box-shadow:inset 0 0 0 1.5px rgba(20,121,230,.45); }
.bpost ul li::after{ content:""; position:absolute; left:7px; top:.68em; width:4px; height:7px; border-right:2px solid var(--blue); border-bottom:2px solid var(--blue); transform:rotate(40deg); }
.bpost ol.bsteps{ margin:16px 0 0; counter-reset:bn; display:grid; gap:12px; }
.bpost ol.bsteps li{ list-style:none; position:relative; padding:14px 16px 14px 46px; counter-increment:bn; background:var(--card); border:1px solid var(--line); border-radius:var(--r-md); font-size:14.5px; line-height:1.9; color:var(--ink-2); box-shadow:var(--sh-1); }
.bpost ol.bsteps li::before{ content:counter(bn); position:absolute; left:13px; top:14px; width:24px; height:24px; border-radius:50%; background:var(--grad); color:#fff; font-family:var(--font-en); font-weight:800; font-size:13px; display:flex; align-items:center; justify-content:center; }
/* コールアウト */
.bpoint,.bwarn{ margin-top:18px; display:flex; gap:12px; padding:15px 18px; border-radius:var(--r-md); font-size:13.5px; line-height:1.9; }
.bpoint{ background:rgba(47,195,137,.08); border:1px solid rgba(47,195,137,.35); color:var(--ink-2); }
.bwarn{ background:rgba(220,162,58,.08); border:1px solid rgba(220,162,58,.4); color:var(--ink-2); }
.bpoint .ic,.bwarn .ic{ flex:none; width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:15px; background:#fff; }
.bpoint .ic{ border:1px solid rgba(47,195,137,.4); }
.bwarn .ic{ border:1px solid rgba(220,162,58,.45); }
.bpoint b,.bwarn b{ color:var(--ink); }
/* 図解 */
.bdiag{ margin-top:20px; display:flex; align-items:stretch; gap:8px; }
.bd-step{ flex:1; display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px; padding:16px 10px; background:var(--card); border:1px solid var(--line); border-radius:var(--r-md); box-shadow:var(--sh-1); }
.bd-step .bd-ic{ width:38px; height:38px; border-radius:50%; background:var(--grad-soft); display:flex; align-items:center; justify-content:center; font-size:18px; }
.bd-step b{ font-size:13px; color:var(--ink); line-height:1.5; }
.bd-step span:not(.bd-ic){ font-size:11px; color:var(--ink-3); line-height:1.6; }
.bd-step.bd-hot{ border-color:rgba(20,121,230,.45); background:linear-gradient(140deg,rgba(20,121,230,.07),rgba(47,180,234,.04)); }
.bd-arw{ align-self:center; font-family:var(--font-en); font-weight:800; font-size:18px; color:var(--cyan); flex:none; }
.bcap{ margin-top:8px; font-size:11px; color:var(--ink-3); text-align:center; }
/* SEO vs AEO ビジュアル */
.bvs{ margin-top:20px; display:grid; grid-template-columns:1fr auto 1fr; gap:10px; align-items:stretch; }
.bvs-col{ padding:16px 14px; background:var(--card); border:1px solid var(--line); border-radius:var(--r-md); box-shadow:var(--sh-1); }
.bvs-col > b{ display:block; text-align:center; font-size:14px; color:var(--ink); }
.bvs-col > span{ display:block; text-align:center; font-size:11px; color:var(--ink-3); margin-top:2px; }
.bvs-vs{ align-self:center; font-family:var(--font-en); font-weight:800; color:var(--ink-3); font-size:13px; }
.bvs-mock{ margin-top:12px; display:grid; gap:6px; }
.bvs-mock i{ display:block; height:9px; border-radius:99px; background:var(--line); }
.bvs-mock i.hit{ background:var(--grad); }
.bvs-bubble{ margin-top:12px; padding:11px 12px; border-radius:12px; background:var(--bg-2); border:1px solid var(--line); font-size:11.5px; line-height:1.7; color:var(--ink-2); }
.bvs-bubble b{ color:var(--blue-deep); }
/* 3対策カード */
.b3cards{ margin-top:20px; display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.b3c{ padding:16px 12px; background:var(--card); border:1px solid var(--line); border-radius:var(--r-md); text-align:center; box-shadow:var(--sh-1); }
.b3c .bd-ic{ margin:0 auto; width:38px; height:38px; border-radius:50%; background:var(--grad-soft); display:flex; align-items:center; justify-content:center; font-size:18px; }
.b3c b{ display:block; margin-top:8px; font-size:13px; color:var(--ink); line-height:1.5; }
.b3c span{ display:block; margin-top:5px; font-size:11px; color:var(--ink-3); line-height:1.65; }
/* 表 */
.btable{ margin-top:16px; overflow-x:auto; border-radius:var(--r-md); border:1px solid var(--line); }
.btable table{ width:100%; border-collapse:collapse; font-size:13.5px; line-height:1.75; min-width:520px; }
.btable th{ background:var(--navy); color:#fff; font-weight:800; text-align:left; }
.btable th, .btable td{ padding:11px 14px; color:var(--ink-2); border-bottom:1px solid var(--line); }
.btable tr:nth-child(even) td{ background:var(--bg-2); }
.btable tr:last-child td{ border-bottom:none; }
.btable td:first-child{ font-weight:800; color:var(--ink); white-space:nowrap; }
.bnote{ margin-top:14px; font-size:12px; line-height:1.8; color:var(--ink-3); }
/* FAQ（開閉式） */
.bfaq{ margin-top:16px; display:grid; gap:10px; }
details.bfaq-d{ background:var(--card); border:1px solid var(--line); border-radius:var(--r-md); overflow:hidden; box-shadow:var(--sh-1); }
details.bfaq-d summary{ list-style:none; cursor:pointer; display:flex; align-items:flex-start; gap:10px; padding:15px 44px 15px 18px; font-size:14.5px; font-weight:800; color:var(--ink); line-height:1.7; position:relative; }
details.bfaq-d summary::-webkit-details-marker{ display:none; }
details.bfaq-d summary .qm{ color:var(--blue); font-family:var(--font-en); font-weight:800; flex:none; }
details.bfaq-d summary::after{ content:"+"; position:absolute; right:16px; top:50%; transform:translateY(-50%); width:24px; height:24px; border-radius:50%; background:var(--grad-soft); color:var(--blue-deep); font-family:var(--font-en); font-weight:800; display:flex; align-items:center; justify-content:center; }
details.bfaq-d[open] summary::after{ content:"−"; }
details.bfaq-d .bfa{ padding:0 18px 16px 40px; font-size:13.5px; line-height:1.95; color:var(--ink-2); }
/* CTA・著者・関連 */
.bcta{ margin-top:48px; padding:26px 24px; border-radius:var(--r-lg); border:1px solid rgba(20,121,230,.3); background:linear-gradient(120deg,rgba(20,121,230,.08),rgba(47,180,234,.05)); text-align:center; }
.bcta b{ display:block; font-size:clamp(17px,2.6vw,21px); font-weight:900; color:var(--ink); line-height:1.6; }
.bcta p{ margin-top:8px; font-size:13.5px; line-height:1.8; color:var(--ink-2); }
.bcta-btns{ margin-top:16px; display:flex; flex-direction:column; gap:10px; max-width:420px; margin-left:auto; margin-right:auto; }
.bcta-btns .btn{ width:100%; justify-content:center; }
.bmini{ margin-top:30px; display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 18px; border-radius:var(--r-md); background:var(--bg-2); border:1px dashed rgba(20,121,230,.4); }
.bmini p{ margin:0; font-size:13px; font-weight:700; color:var(--ink); line-height:1.6; }
.bmini a{ flex:none; font-size:13px; font-weight:800; color:var(--blue-deep); white-space:nowrap; }
.bauthor{ margin-top:34px; padding:18px 20px; border-radius:var(--r-md); background:var(--bg-2); border:1px solid var(--line); font-size:12.5px; line-height:1.85; color:var(--ink-2); }
.bauthor b{ color:var(--ink); }
.brelated{ margin-top:40px; }
.brelated > b{ display:block; font-size:16px; font-weight:900; color:var(--ink); }
.brelated .bcards{ margin-top:14px; }
.bfoot{ margin-top:40px; border-top:1px solid var(--line); padding:24px 0 40px; text-align:center; font-size:12px; color:var(--ink-3); }
.bfoot a{ color:var(--ink-2); }
/* 一覧 */
.blist{ padding:20px 0 60px; }
.blist-head h1{ font-size:clamp(24px,4.5vw,32px); font-weight:900; color:var(--ink); }
.blist-head p{ margin-top:10px; font-size:14px; line-height:1.9; color:var(--ink-2); }
.bcards{ margin-top:28px; display:grid; gap:16px; }
.bcard{ display:block; background:var(--card); border:1px solid var(--line); border-radius:var(--r-md); padding:20px 22px; text-decoration:none; box-shadow:var(--sh-1); transition:transform .2s, box-shadow .2s; }
.bcard:hover{ transform:translateY(-2px); box-shadow:var(--sh-2); }
.bcard .bmeta{ margin-top:0; }
.bcard h2, .bcard .bc-t{ display:block; margin-top:8px; font-size:17px; font-weight:800; color:var(--ink); line-height:1.6; }
.bcard p{ margin-top:8px; font-size:13px; line-height:1.8; color:var(--ink-2); }
.bcard span.more{ display:inline-block; margin-top:10px; font-size:13px; font-weight:800; color:var(--blue-deep); }
@media (max-width:640px){
  .bdiag{ flex-direction:column; }
  .bd-arw{ transform:rotate(90deg); }
  .bvs{ grid-template-columns:1fr; }
  .bvs-vs{ justify-self:center; }
  .b3cards{ grid-template-columns:1fr; }
  .bmini{ flex-direction:column; align-items:flex-start; }
}

/* サムネイル */
.bcard-thumb{ width:100%; height:auto; border-radius:12px; display:block; margin-bottom:12px; }
.bhero{ margin-top:18px; }
.bhero img{ width:100%; height:auto; display:block; border-radius:var(--r-md); box-shadow:var(--sh-1); }

/* 本文内画像 */
.bimg{ margin-top:20px; }
.bimg img{ width:100%; height:auto; display:block; border-radius:var(--r-md); box-shadow:var(--sh-1); }
.bimg--sq{ max-width:520px; margin-left:auto; margin-right:auto; }
