:root{
  --bg:#fffaf1;--art:#faf6ed;--card:#fff;--ink:#3a2e28;--muted:#7a6a60;--line:#f0e4d3;
  --accent:#e8590c;--accent-d:#c2410c;--accent-dd:#9a3412;--leaf-d:#3f7a24;--accent-l:#fff0e0;--leaf:#5f9a3c;--leaf-l:#eaf5e0;--link:#b4470d;
  --p:#d9480f;--f:#e8a317;--c:#4f8a3a;--a:#8e3b6b;--radius:16px;--shadow:0 2px 10px rgba(120,80,40,.08)
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font:17px/1.85 "Hiragino Maru Gothic ProN","Hiragino Sans","Yu Gothic",system-ui,sans-serif;color:var(--ink);background:var(--bg)}
a{color:var(--link)}
.wrap{max-width:960px;margin:auto;padding:0 18px}
.narrow{max-width:760px;margin:auto}

/* ヘッダー */
header.site{background:var(--card);border-bottom:3px solid var(--accent);position:sticky;top:0;z-index:10}
header.site .bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;padding:10px 18px}
.brand{display:flex;align-items:center;gap:8px;font-weight:800;font-size:20px;color:var(--ink);text-decoration:none}
.brand .logo{font-size:26px}
.gnav{display:flex;gap:6px;white-space:nowrap}
.gnav a{color:var(--ink);text-decoration:none;font-size:14px;font-weight:700;padding:6px 12px;border-radius:999px;background:var(--accent-l)}
.gnav a:hover{background:var(--accent-d);color:#fff}

/* パンくず・見出し */
.crumb{font-size:14px;color:var(--muted);margin:18px 0 6px}.crumb a{color:var(--muted)}
h1{font-size:26px;line-height:1.45;margin:8px 0 12px;font-weight:800}
h2{font-size:20px;margin:40px 0 14px;font-weight:800;display:flex;align-items:center;gap:10px}
h2::before{content:"";width:6px;height:1.2em;background:var(--accent);border-radius:3px;flex:none}
.lead{font-size:17px;background:var(--card);border-radius:var(--radius);padding:16px 18px;box-shadow:var(--shadow)}
.note{font-size:14px;color:var(--muted);line-height:1.7}

/* トップ */
.hero{position:relative;overflow:hidden;background:var(--art);border-radius:24px;margin:20px 0 8px;box-shadow:var(--shadow)}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center}
.hero-body{position:relative;max-width:48%;padding:34px 22px 28px 28px;text-align:left;background:linear-gradient(90deg,rgba(250,246,237,.94) 0,rgba(250,246,237,.88) 78%,rgba(250,246,237,0) 100%)}
.hero h1{font-size:28px;margin:0 0 8px}.hero p{margin:0 0 18px;color:var(--muted);font-size:15px}
.results{list-style:none;padding:0;margin:10px 0 0;text-align:left;background:#fff;border-radius:14px;overflow:hidden;box-shadow:var(--shadow)}
.results:empty{display:none}
.results a{display:flex;justify-content:space-between;gap:10px;padding:11px 16px;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink)}
.results a:hover{background:var(--accent-l)}.results small{color:var(--muted);white-space:nowrap}
.chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-start;margin-top:16px}
.chips a{background:#fff;border:1px solid var(--line);border-radius:999px;padding:5px 14px;font-size:14px;text-decoration:none;color:var(--ink)}
.chips a:hover{border-color:var(--accent);color:var(--accent-d)}
.cards{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.cards a{display:flex;flex-direction:column;align-items:center;gap:2px;background:var(--art);border-radius:var(--radius);padding:16px 8px;text-decoration:none;color:var(--ink);box-shadow:var(--shadow);border:2px solid transparent;text-align:center;line-height:1.5}
.cards a:hover{border-color:var(--accent)}
.cards .ico{font-size:32px;line-height:1.2}.cards .gimg{height:78px;width:auto}.cards b{font-size:15px}.cards small{font-size:13px;color:var(--muted)}
.rows{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}
.rows a{display:block;background:var(--card);border-radius:12px;padding:12px 16px;text-decoration:none;color:var(--ink);box-shadow:var(--shadow);font-size:15px;line-height:1.5}
.rows a:hover{background:var(--accent-l)}.rows small{display:block;color:var(--muted);font-size:13px}

/* 食品ページ：ヒーローと主要成分のタイル */
.food-head{display:flex;align-items:center;gap:14px;margin:6px 0 14px}
.food-head .ico{line-height:0;background:var(--art);border-radius:20px;padding:6px;box-shadow:var(--shadow)}.food-head .gimg{height:68px;width:auto;border-radius:14px}
.food-head h1{margin:0}.food-head .grp{font-size:14px;color:var(--muted)}
.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:14px 0}
.tile{background:var(--card);border-radius:var(--radius);padding:14px 8px;text-align:center;box-shadow:var(--shadow);border-top:5px solid var(--line)}
.tile .n{font-size:14px;color:var(--muted)}.tile .v{font-size:28px;font-weight:800;line-height:1.3}.tile .v small{font-size:13px;font-weight:600;margin-left:2px}
.tile .s{font-size:13px;color:var(--muted)}
.tile.e{border-color:var(--accent)}.tile.p{border-color:var(--p)}.tile.f{border-color:var(--f)}.tile.c{border-color:var(--c)}
.pfc{background:var(--card);border-radius:var(--radius);padding:14px 16px;box-shadow:var(--shadow);margin:10px 0}
.pfc .bar2{display:flex;height:18px;border-radius:9px;overflow:hidden;margin:8px 0}
.pfc .bar2 i{display:block}.pfc .leg{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:14px}.pfc .leg b{margin-right:4px}
.dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:4px}
dl.meta{font-size:14px;background:var(--card);border-radius:12px;padding:10px 16px;margin:12px 0;box-shadow:var(--shadow)}
dl.meta dt{float:left;clear:left;width:5em;color:var(--muted)}dl.meta dd{margin:0 0 4px 5em}

/* 表 */
.tbl{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);overflow-x:auto}  /* 狭い画面で、列が欠けないよう、この表だけ横にスクロールさせる */
table{border-collapse:collapse;width:100%;font-size:15px}
th,td{padding:10px 12px;text-align:right;border-bottom:1px solid var(--line)}
tr:last-child th,tr:last-child td{border-bottom:0}
th:first-child,td:first-child{text-align:left}
table.nut th{font-weight:500;text-align:left}
table.nut thead th,table.list tr:first-child th,table.cmp tr:first-child th{background:var(--accent-l);font-weight:700;font-size:13px;text-align:right}
table.nut thead th:first-child,table.list tr:first-child th:first-child,table.cmp tr:first-child th:first-child{text-align:left}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}
.kv{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:6px 18px}
.kv{column-count:2;column-gap:40px}.kv div{break-inside:avoid;display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px dashed var(--line);font-size:15px}
.kv div:last-child{border-bottom:0}.kv span:first-child{color:var(--muted)}.kv b{font-weight:700;white-space:nowrap}
table.rank td:nth-child(2),table.rank th:nth-child(2){text-align:left}
table.list td:first-child,table.list th:first-child{width:3.5em;text-align:center}
table.groupl td:first-child,table.groupl th:first-child{text-align:left;width:auto}
table.cmp td.win{background:#fff3cf;font-weight:800}table.cmp th:not(:first-child){font-size:13px}table.cmp td{width:28%}

/* 位置の表示 */
.pos{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:6px 18px}
.pos .row{display:grid;grid-template-columns:130px 1fr 120px;gap:14px;align-items:center;padding:12px 0;border-bottom:1px dashed var(--line)}
.pos .row:last-child{border-bottom:0}
.pos .lab{font-weight:700;font-size:15px}.pos .lab b{display:inline-block;margin-left:6px;font-size:13px;background:var(--leaf-l);color:var(--leaf-d);border-radius:999px;padding:1px 10px}
.pos .val{text-align:right;font-weight:800}.pos .val small{display:block;font-weight:400;color:var(--muted);font-size:12px}
.track{position:relative;height:12px;background:linear-gradient(90deg,#fde9d3,#f9c58d);border-radius:6px}
.track .mid{position:absolute;left:50%;top:-4px;bottom:-4px;width:2px;margin-left:-1px;background:#8c7a6b}
.track i{position:absolute;top:-6px;width:24px;height:24px;margin-left:-12px;background:var(--accent);border:3px solid #fff;border-radius:50%;box-shadow:0 1px 4px rgba(0,0,0,.25)}

.btn{display:inline-block;background:var(--accent-d);color:#fff;padding:12px 24px;border-radius:999px;text-decoration:none;font-weight:700}
.ad{margin:26px 0;min-height:90px;text-align:center}
footer.site{margin-top:60px;padding:26px 0;font-size:13px;color:var(--muted);background:var(--card);border-top:3px solid var(--line)}
footer.site a{color:var(--muted)}

@media(max-width:640px){
  body{font-size:16px}
  h1{font-size:22px}.hero{padding:26px 14px 20px;border-radius:18px}.hero h1{font-size:23px}
  .tiles{grid-template-columns:repeat(2,1fr)}.tile .v{font-size:25px}
  .grid2{grid-template-columns:1fr}.kv{column-count:1}
  .food-head .ico{font-size:34px;padding:9px;border-radius:16px}
  .pos .row{grid-template-columns:1fr auto;gap:6px 10px}.pos .track{grid-column:1/3;order:3;margin:6px 0 8px}
  th,td{padding:9px 7px}table{font-size:14px}
  .gnav a{padding:5px 10px}
  .brand{font-size:18px}
}

.cards.wide{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}
h3{font-size:16px;margin:22px 0 8px;color:var(--muted)}
.chips.left{justify-content:flex-start;margin:12px 0 4px}.chips-label{font-size:13px;color:var(--muted);align-self:center}
.chips b.on{background:var(--accent-d);color:#fff;border-radius:999px;padding:5px 14px;font-size:14px}

.recipe{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;margin:18px 0}
.recipe-btn{background:var(--leaf-d);padding:11px 22px;box-shadow:var(--shadow)}.recipe-btn:hover{background:#346a1d}

h1 .h1img{display:inline-block;height:46px;width:auto;vertical-align:middle;border-radius:12px;margin-right:6px;padding:3px;background:var(--art);box-shadow:var(--shadow)}
@media(max-width:700px){
  /* スマホでは、検索を先に見せ、画像は、その下に置く */
  .hero{display:flex;flex-direction:column}
  .hero-body{order:1;max-width:none;padding:16px 16px 20px;background:none}
  .hero-img{order:2;position:static;height:110px;object-position:right 30%}
  .entries{grid-template-columns:repeat(3,1fr);gap:8px}
  .entries a{padding:12px 6px;text-align:center}.entries b{font-size:13px}.entries small{display:none}
  .food-head .gimg{height:52px}
}
/* Cookie 同意バナー */
.consent-banner{position:fixed;left:0;right:0;bottom:0;z-index:9999;background:var(--card);border-top:3px solid var(--accent);box-shadow:0 -4px 24px rgba(80,50,20,.18);transform:translateY(100%);opacity:0;transition:transform .35s cubic-bezier(.4,0,.2,1),opacity .35s}
.consent-banner--visible{transform:translateY(0);opacity:1}
.consent-banner-body{max-width:960px;margin:0 auto;padding:14px 18px;display:flex;align-items:center;gap:14px 20px;flex-wrap:wrap}
.consent-banner-text{flex:1;min-width:240px;margin:0;font-size:14px;line-height:1.65;color:var(--muted)}
.consent-banner-link{color:var(--link)}
.consent-banner-actions{display:flex;gap:10px;flex-shrink:0}
.consent-btn{font:inherit;font-size:14px;padding:9px 20px;border-radius:999px;cursor:pointer;white-space:nowrap}
.consent-btn--deny{background:var(--card);border:1px solid var(--line);color:var(--ink)}.consent-btn--deny:hover{border-color:var(--muted)}
.consent-btn--accept{background:var(--accent-d);border:1px solid var(--accent-d);color:#fff;font-weight:700}.consent-btn--accept:hover{background:var(--accent-dd)}
@media(max-width:640px){.consent-banner-actions{width:100%}.consent-btn{flex:1}}
@media(prefers-reduced-motion:reduce){.consent-banner{transition:none}}

/* 条件の表示（ランキング・比較の、表の直前） */
dl.cond{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;font-size:14px;background:var(--card);border-left:5px solid var(--accent);border-radius:10px;padding:10px 16px;margin:16px 0;box-shadow:var(--shadow)}
dl.cond dt{color:var(--muted);font-weight:700}dl.cond dd{margin:0}
table.nut thead tr.grp-head th{background:var(--card);font-size:13px;color:var(--muted);font-weight:700;border-bottom:1px solid var(--line)}
table.nut tr.grp-head th:nth-child(3){text-align:center;border-left:1px solid var(--line)}
.more{display:inline-block;font-size:12px;font-weight:700;color:#8a5a00;background:#ffe8a3;border-radius:999px;padding:0 7px;margin-left:4px;vertical-align:middle}
.entries{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0 6px}
.entries a{display:flex;flex-direction:column;gap:2px;background:var(--card);border-radius:var(--radius);padding:14px 16px;text-decoration:none;color:var(--ink);box-shadow:var(--shadow);border:2px solid transparent}
.entries a:hover{border-color:var(--accent)}.entries b{font-size:16px}.entries small{font-size:13px;color:var(--muted)}
.results-note{padding:12px 16px;font-size:14px;color:var(--muted)}.results-note button{margin-left:10px;font:inherit;font-size:13px;padding:3px 12px;border:1px solid var(--accent);background:#fff;color:var(--accent-d);border-radius:999px;cursor:pointer}
table.rank tr:first-child th:nth-child(2){text-align:left}  /* ランキング表の、見出し「食品名」を、左寄せの食品名の列に合わせる */

/* 検索（ヘッダーと、トップで共通） */
[hidden]{display:none !important}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hsearch{position:relative;margin-left:auto}
.hsearch summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:6px;font-size:14px;font-weight:700;padding:6px 12px;border-radius:999px;background:var(--accent-l)}
.hsearch summary::-webkit-details-marker{display:none}
.hsearch summary:hover,.hsearch[open] summary{background:var(--accent-d);color:#fff}
.hsearch-panel{position:absolute;right:0;top:calc(100% + 8px);width:min(440px,92vw);background:var(--card);border-radius:var(--radius);box-shadow:0 8px 28px rgba(80,50,20,.22);padding:12px;z-index:20}
.hsearch .search-input{font-size:16px;padding:10px 16px}
.hsearch .results{max-height:60vh;overflow:auto}
.search-input{width:100%;padding:15px 18px;font-size:17px;border:2px solid var(--accent);border-radius:999px;background:#fff;outline:none;box-shadow:var(--shadow)}
.search-input:focus{box-shadow:0 0 0 4px rgba(232,89,12,.18)}
.results a:focus-visible,.results button:focus-visible,.search-input:focus-visible,.toc a:focus-visible,.chips a:focus-visible{outline:3px solid var(--accent-d);outline-offset:2px}
.results .results-note button{min-height:32px}
@media(max-width:700px){
  .hsearch-label{display:none}.hsearch summary{padding:8px 12px}
  header.site .bar{padding:8px 12px;gap:6px 8px}
  .brand{font-size:16px}.brand .logo{font-size:22px}
  .gnav{gap:4px}.gnav a{font-size:13px;padding:6px 10px}
  .hsearch{position:static}  /* 狭い画面では、パネルを、ヘッダー（sticky）の幅いっぱいに広げる。開閉ボタンの位置に、パネルの右端を合わせると、左にはみ出す */
  .hsearch-panel{left:10px;right:10px;width:auto}
}

/* 食品ページ: 基準の表示、ページ内の目次 */
.basis{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;margin:18px 0 8px;font-size:14px;color:var(--muted)}.basis b{background:var(--accent-d);color:#fff;font-size:16px;border-radius:999px;padding:3px 14px}
.toc{display:flex;flex-wrap:wrap;gap:6px 8px;margin:10px 0}
.toc a{font-size:13px;text-decoration:none;color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:999px;padding:5px 12px;min-height:32px;display:inline-flex;align-items:center}
.toc a:hover{border-color:var(--accent);color:var(--accent-d)}
h2{scroll-margin-top:84px}  /* ページ内リンクで移動したとき、固定のヘッダーに、見出しが隠れないようにする */

/* 一覧の絞り込み */
.filter{margin:10px 0}.filter input{width:100%;max-width:420px;padding:10px 16px;font-size:16px;border:2px solid var(--line);border-radius:999px;background:#fff}
.filter input:focus{outline:none;border-color:var(--accent)}
.filter-status{margin:6px 4px;font-size:13px;color:var(--muted);min-height:1.4em}
.filter-status button{margin-left:8px;font:inherit;font-size:13px;padding:3px 12px;border:1px solid var(--accent);background:#fff;color:var(--accent-d);border-radius:999px;cursor:pointer}
.jump{display:flex;gap:14px;margin:10px 0;font-size:14px}

@media(max-width:340px){header.site{position:static}}  /* ロゴ・検索・メニューが1行に収まらない幅では、折り返して高くなる。固定にせず、画面を、本文に使う */

.pfc-more{margin-top:4px}.pfc-more summary{cursor:pointer;font-size:14px;color:var(--link);min-height:32px;display:flex;align-items:center}.pfc-more summary:focus-visible{outline:3px solid var(--accent-d);outline-offset:2px}
.pos .scale{display:grid;grid-template-columns:130px 1fr 120px;gap:14px;padding:10px 0 0;font-size:12px;color:var(--muted)}
.pos .scale div{display:flex;justify-content:space-between}
@media(max-width:640px){.pos .scale{grid-template-columns:1fr}.pos .scale>span{display:none}}
/* トップの食品群カード（18個）: 6・3・2 列にして、最終行が欠けないようにする */
.cards.groups{grid-template-columns:repeat(6,1fr)}
@media(max-width:860px){.cards.groups{grid-template-columns:repeat(3,1fr)}}
@media(max-width:480px){.cards.groups{grid-template-columns:repeat(2,1fr)}}
.cards.groups{gap:10px}.cards.groups a{padding:16px 4px}.cards.groups b{font-size:14px}
/* トップの見出しの強弱: 食品群を主にし、ランキングと比較は一段下げる */
h2.main{font-size:22px;margin-top:44px}
h2.sub{font-size:18px;margin-top:48px}h2.sub::before{background:#d9c3a5}
/* キーボード操作の枠: 個別に指定していないリンク・ボタン・開閉にも出す */
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--accent-d);outline-offset:2px}

/* 記事（articles/ から生成するページ） */
.article h1{font-size:28px;margin:6px 0 14px}
.art-meta{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:14px;color:var(--muted);margin:16px 0 0}
.art-theme{background:var(--leaf-l);color:var(--leaf-d);font-weight:700;border-radius:999px;padding:1px 10px}
a.art-theme{position:relative;text-decoration:none}a.art-theme:hover{background:var(--leaf-d);color:#fff}
a.art-theme::after{content:"";position:absolute;inset:-9px -4px}  /* 見た目は小さいラベルのまま、押せる範囲を高さ44px以上に広げる */
.art-hero{margin:0 0 18px}.art-credit{font-size:12px;line-height:1.6;color:var(--muted);margin:6px 2px 0;overflow-wrap:anywhere}.art-credit a{color:var(--muted)}.art-hero img,.art-fig img{width:100%;height:auto;border-radius:var(--radius);display:block;box-shadow:var(--shadow)}
.art-fig{margin:20px 0}
.art-toc{background:var(--card);border-radius:var(--radius);padding:14px 18px;box-shadow:var(--shadow);margin:0 0 18px;font-size:15px}
.art-toc ol{margin:6px 0 0;padding-left:1.4em}.art-toc li{margin:2px 0}
.art-body p{margin:0 0 1.1em}
.art-body h3{font-size:18px;margin:28px 0 10px;padding-left:10px;border-left:4px solid var(--leaf)}
.art-body ul,.art-body ol{padding-left:1.4em;margin:0 0 1.1em}.art-body li{margin:4px 0}
.art-body blockquote{margin:0 0 1.1em;padding:10px 16px;background:var(--card);border-left:4px solid var(--line);border-radius:8px}
.art-body strong{background:linear-gradient(transparent 62%,var(--accent-l) 62%)}
sup.fn{font-size:12px;line-height:0;margin-left:1px}sup.fn a{text-decoration:none;padding:0 2px}
.art-sources{list-style:none;padding:0;margin:0 0 12px;font-size:14px;line-height:1.7}
.art-sources li{margin:6px 0;overflow-wrap:anywhere}.art-sources .fn-n{color:var(--muted);margin-right:4px}
@media(max-width:640px){.article h1{font-size:23px}}

/* 記事の一覧・カード（_article_card.html） */
.art-index-head p{margin:0 0 6px;color:var(--muted);font-size:15px}
.art-themes ul{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:14px 0 4px}
.art-themes a,.art-themes span[aria-current]{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px;border-radius:999px;font-size:14px;font-weight:700;text-decoration:none;color:var(--ink);background:var(--card);border:1px solid var(--line)}
.art-themes a:hover{border-color:var(--accent);color:var(--accent-dd)}
.art-themes span[aria-current]{background:var(--accent-dd);border-color:var(--accent-dd);color:#fff}
.art-themes small{font-size:12px;font-weight:700;min-width:1.7em;padding:0 6px;border-radius:999px;background:var(--accent-l);color:var(--accent-dd);text-align:center;line-height:1.6}
.art-themes span[aria-current] small{background:#fff}
.art-list{list-style:none;padding:0;margin:18px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.art-card{position:relative;display:flex;flex-direction:column;background:var(--card);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);border:2px solid transparent}
.art-card:hover{border-color:var(--accent)}
.art-card:focus-within{outline:3px solid var(--accent-d);outline-offset:2px}
.art-card img{width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;display:block;background:var(--art)}
.art-card-body{display:flex;flex-direction:column;gap:6px;padding:12px 16px 16px}
.art-card-meta{display:flex;flex-wrap:wrap;align-items:center;gap:2px 10px;margin:0;font-size:13px;line-height:1.5;color:var(--muted)}
.art-tag{color:var(--leaf-d);font-weight:700}
h2.art-card-title,h3.art-card-title{display:block;margin:0;font-size:16px;line-height:1.55;font-weight:800;color:var(--ink)}
h2.art-card-title::before{content:none}
.art-card-title a{color:inherit;text-decoration:none}
.art-card-title a:focus-visible{outline:none}
.art-card-title a::after{content:"";position:absolute;inset:0}  /* カード全体を押せるようにする */
.art-card:hover .art-card-title a{color:var(--accent-dd)}
.art-card-desc{margin:0;font-size:14px;line-height:1.7;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
/* 小さいカード（トップの新着・記事ページの同じテーマの記事）: 画像を左に置き、2列にする */
.art-list.compact{grid-template-columns:repeat(2,1fr);gap:12px;margin:0 0 10px}
.art-list.compact .art-card{padding-left:132px;min-height:96px}
.art-list.compact img{position:absolute;left:0;top:0;width:132px;height:100%;aspect-ratio:auto}  /* 画像の高さを、文字の量で決まるカードの高さに合わせる */
.art-list.compact .art-card-body{flex:1;padding:10px 14px;justify-content:center}
.art-list.compact .art-card-title{font-size:15px}
.article .art-list.compact{grid-template-columns:1fr}
.art-more{display:flex;flex-wrap:wrap;gap:4px 20px}
.art-more a{display:inline-flex;align-items:center;min-height:44px}
.art-next{margin-top:8px}
@media(max-width:860px){.art-list{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){
  /* スマホ: 30本並んでも縦に長くなりすぎないよう、画像を左に小さく置く */
  .art-list,.art-list.compact{grid-template-columns:1fr;gap:10px}
  .art-card,.art-list.compact .art-card{padding-left:112px;min-height:92px}
  .art-card img,.art-list.compact img{position:absolute;left:0;top:0;width:112px;height:100%;aspect-ratio:auto}
  .art-card-body{flex:1;padding:10px 12px;gap:4px;justify-content:center}
  .art-card-title,.art-list.compact .art-card-title{font-size:15px}
  .art-card-desc{display:none}
}
