
:root {
  --bg: #f4f6fb; --card: #fff; --text: #1a1a2e; --text-sub: #6b7280;
  --primary: #2563eb; --primary-light: #dbeafe;
  --accent: #10b981; --accent-light: #d1fae5;
  --warn: #f59e0b; --warn-light: #fef3c7;
  --danger: #ef4444; --danger-light: #fee2e2;
  --border: #e5e7eb; --radius: 12px; --shadow: 0 2px 12px rgba(0,0,0,.07);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f172a; --card: #1e293b; --text: #f1f5f9; --text-sub: #94a3b8;
    --primary-light: #1e3a8a; --accent-light: #064e3b;
    --warn-light: #78350f; --danger-light: #7f1d1d;
    --border: #334155; --shadow: 0 2px 12px rgba(0,0,0,.4);
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, 'Hiragino Sans', 'Yu Gothic UI', sans-serif;
       background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ── */
header {
  background: var(--card); border-bottom: 1px solid var(--border);
  padding: .65rem 1.5rem; display: flex; align-items: center;
  gap: 1.5rem; flex-wrap: wrap; position: sticky; top: 0; z-index: 10;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.logo { font-size: 1.1rem; font-weight: 900; color: var(--primary); letter-spacing: -.02em; }
nav { display: flex; gap: .25rem; font-size: .85rem; flex-wrap: wrap; margin-left: auto; }
nav a {
  color: var(--text-sub); padding: .3rem .7rem; border-radius: 6px;
  transition: background .12s, color .12s;
}
nav a:hover { background: var(--primary-light); color: var(--primary); text-decoration: none; }
nav a.active { background: var(--primary-light); color: var(--primary); font-weight: 700; }

/* ── Layout ── */
main { max-width: 980px; margin: 0 auto; padding: 1.5rem 1rem 4rem; }
h1 { font-size: 1.45rem; font-weight: 900; margin-bottom: .35rem; letter-spacing: -.02em; }
h2 {
  font-size: 1.05rem; font-weight: 800; margin: 2rem 0 .9rem;
  display: flex; align-items: center; gap: .5rem;
}
h2::before {
  content: ''; display: inline-block; width: 4px; height: 1.1em;
  background: var(--primary); border-radius: 2px;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 60%, #1e40af 100%);
  border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem;
  color: #fff;
}
.hero-title { font-size: 1.3rem; font-weight: 900; margin-bottom: .35rem; }
.hero-sub { font-size: .85rem; opacity: .85; margin-bottom: 1rem; }
.hero-stats { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.hero-stat { }
.hero-stat-val { font-size: 1.5rem; font-weight: 900; line-height: 1.1; }
.hero-stat-lbl { font-size: .72rem; opacity: .75; }

/* ── Market indices ── */
.indices { display: flex; gap: .65rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.idx-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: .6rem 1rem; min-width: 128px; transition: box-shadow .12s;
}
.idx-card:hover { box-shadow: var(--shadow); }
.idx-name  { font-size: .7rem; color: var(--text-sub); font-weight: 600;
             text-transform: uppercase; letter-spacing: .04em; }
.idx-price { font-size: 1rem; font-weight: 800; margin: .1rem 0; }
.idx-chg   { font-size: .78rem; font-weight: 700; }
.up { color: var(--accent); } .dn { color: var(--danger); }

/* ── Pick cards ── */
.picks-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 1rem;
}
.pick-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.1rem 1.1rem .9rem; transition: transform .15s, box-shadow .15s;
  display: flex; flex-direction: column; gap: .45rem;
}
.pick-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.1); }

.pick-top { display: flex; align-items: flex-start; justify-content: space-between; }
.pick-id { display: flex; align-items: center; gap: .45rem; }
.pick-flag { font-size: 1.2rem; line-height: 1; }
.pick-ticker { font-size: .92rem; font-weight: 900; letter-spacing: .01em; }
.pick-name   { font-size: .75rem; color: var(--text-sub); }
.pick-rank   { font-size: .65rem; font-weight: 800; color: var(--text-sub);
               background: var(--bg); border: 1px solid var(--border);
               padding: .1em .55em; border-radius: 4px; white-space: nowrap; }

.score-row { display: flex; align-items: baseline; gap: .4rem; }
.score-num { font-size: 2rem; font-weight: 900; line-height: 1; }
.score-denom { font-size: .75rem; color: var(--text-sub); }
.score-high { color: var(--accent); }
.score-mid  { color: var(--primary); }
.score-low  { color: var(--warn); }
.score-very-low { color: var(--danger); }


.badge {
  display: inline-block; font-size: .65rem; font-weight: 800; letter-spacing: .04em;
  padding: .2em .65em; border-radius: 4px;
}
.badge-buy    { background: var(--accent-light); color: var(--accent); }
.badge-watch  { background: var(--primary-light); color: var(--primary); }
.badge-caution{ background: var(--warn-light); color: var(--warn); }

.pick-meta { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .75rem; }
.meta-chip {
  background: var(--bg); color: var(--text-sub); border: 1px solid var(--border);
  padding: .1em .55em; border-radius: 4px; font-weight: 600;
}
.meta-chip.up { color: var(--accent); border-color: var(--accent-light); background: var(--accent-light); }
.meta-chip.dn { color: var(--danger); border-color: var(--danger-light); background: var(--danger-light); }

/* ── Price section ── */
.price-section {
  display: flex; gap: .5rem; flex-wrap: wrap; align-items: stretch;
  background: var(--bg); border-radius: 8px; padding: .55rem .7rem;
}
.price-block { display: flex; flex-direction: column; gap: .1rem; min-width: 70px; flex: 1; }
.price-block + .price-block { border-left: 1px solid var(--border); padding-left: .5rem; }
.price-label { font-size: .62rem; font-weight: 700; color: var(--text-sub); letter-spacing: .03em; text-transform: uppercase; }
.price-value { font-size: .95rem; font-weight: 900; }
.price-upside { font-size: .72rem; font-weight: 700; }
.rec-chip {
  display: inline-block; font-size: .62rem; font-weight: 800; letter-spacing: .04em;
  padding: .15em .55em; border-radius: 4px; margin-top: .1rem;
}
.rec-strong-buy { background: var(--accent-light); color: var(--accent); }
.rec-buy        { background: #d1fae5; color: #065f46; }
.rec-hold       { background: var(--warn-light); color: var(--warn); }
.rec-sell       { background: var(--danger-light); color: var(--danger); }

.pick-sector { font-size: .67rem; color: var(--text-sub); margin-top: .05rem; }
.sector-chip {
  display: inline-block; font-size: .63rem; font-weight: 700; letter-spacing: .02em;
  background: var(--bg); color: var(--text-sub); border: 1px solid var(--border);
  padding: .1em .5em; border-radius: 4px;
}
.pick-description {
  font-size: .75rem; color: var(--text-sub); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.pick-reasons { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .1rem; }
.reason-tag {
  font-size: .65rem; background: var(--bg); color: var(--text-sub);
  border: 1px solid var(--border); padding: .15em .5em; border-radius: .3em;
}

/* ── 52週高値・安値バー ── */
.week52-wrap { font-size: .65rem; color: var(--text-sub); }
.week52-label { display: flex; justify-content: space-between; margin-bottom: .2rem; }
.week52-track { background: var(--border); border-radius: 4px; height: 5px; position: relative; }
.week52-fill  { height: 5px; border-radius: 4px; background: linear-gradient(90deg, var(--danger), var(--warn), var(--accent)); position: absolute; }
.week52-pin   { position: absolute; top: -3px; width: 10px; height: 10px; border-radius: 50%;
                background: var(--primary); border: 2px solid var(--card); transform: translateX(-50%); }

/* ── スコア前日比 ── */
.score-delta { font-size: .72rem; font-weight: 800; }
.score-delta.up { color: var(--accent); }
.score-delta.dn { color: var(--danger); }

/* ── アフィリエイトCTA ── */
.affiliate-cta {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
  border-radius: var(--radius); padding: 1.4rem 1.5rem; margin-top: 2rem; color: #fff;
}
.affiliate-cta-title { font-size: 1rem; font-weight: 900; margin-bottom: .3rem; }
.affiliate-cta-sub   { font-size: .82rem; opacity: .85; margin-bottom: 1rem; }
.affiliate-btns { display: flex; gap: .75rem; flex-wrap: wrap; }
.affiliate-btn {
  display: inline-block; font-size: .85rem; font-weight: 800;
  padding: .55rem 1.2rem; border-radius: 8px; cursor: pointer;
  transition: opacity .15s; text-decoration: none;
}
.affiliate-btn:hover { opacity: .88; text-decoration: none; }
.affiliate-btn-sbi     { background: #ff6600; color: #fff; }
.affiliate-btn-rakuten { background: #bf0000; color: #fff; }
.affiliate-note { font-size: .65rem; opacity: .65; margin-top: .65rem; }

/* ── 全銘柄ページ ── */
.all-search-bar {
  display: flex; gap: .6rem; flex-wrap: wrap; align-items: center;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: .8rem 1rem; margin-bottom: 1rem;
}
.all-search-bar input {
  flex: 1; min-width: 160px; border: 1px solid var(--border); border-radius: 6px;
  padding: .4rem .7rem; font-size: .88rem; background: var(--bg); color: var(--text);
}
.all-filter-btn {
  font-size: .78rem; font-weight: 700; padding: .35rem .8rem; border-radius: 6px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text-sub);
  cursor: pointer; transition: background .12s, color .12s;
}
.all-filter-btn.active { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.all-stats { display: flex; gap: 1rem; font-size: .78rem; color: var(--text-sub); flex-wrap: wrap; }
.all-count { font-weight: 800; color: var(--text); }
.all-table-wrap { overflow-x: auto; }
.all-table {
  width: 100%; border-collapse: collapse; font-size: .80rem;
  background: var(--card); border-radius: var(--radius); overflow: hidden;
}
.all-table th {
  background: var(--primary-light); color: var(--primary); font-weight: 800;
  padding: .55rem .7rem; text-align: left; white-space: nowrap; cursor: pointer;
  user-select: none; border-bottom: 2px solid var(--border);
}
.all-table th:hover { background: #bfdbfe; }
.all-table th.sort-asc::after  { content: " ▲"; font-size: .65rem; }
.all-table th.sort-desc::after { content: " ▼"; font-size: .65rem; }
.all-table td { padding: .45rem .7rem; border-bottom: 1px solid var(--border); vertical-align: middle; white-space: nowrap; }
.all-table tr:last-child td { border: none; }
.all-table tr:hover td { background: var(--bg); }
.all-pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 1rem; flex-wrap: wrap; }
.all-page-btn {
  font-size: .78rem; font-weight: 700; padding: .3rem .75rem; border-radius: 6px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text-sub);
  cursor: pointer;
}
.all-page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── コンパクトピックリスト（トップページ 4位以下）── */
.compact-picks { display: flex; flex-direction: column; gap: .3rem; margin-top: .7rem; }
.compact-pick {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  padding: .5rem .85rem; transition: box-shadow .12s;
}
.compact-pick:hover { box-shadow: var(--shadow); }
.compact-rank  { font-size: .68rem; font-weight: 800; color: var(--text-sub); min-width: 2rem; }
.compact-flag  { font-size: .95rem; }
.compact-ticker { font-size: .88rem; font-weight: 900; }
.compact-name  { font-size: .82rem; color: var(--text-sub); flex: 1; min-width: 80px;
                 white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.compact-score { font-size: 1.05rem; font-weight: 900; }
.compact-chips { display: flex; gap: .3rem; flex-wrap: wrap; margin-left: auto; }

/* ── 部門ページ テーブル ── */
.dept-table-wrap { overflow-x: auto; border-radius: var(--radius); }
.dept-table {
  width: 100%; border-collapse: collapse; font-size: .82rem;
  background: var(--card);
}
.dept-table th {
  background: var(--primary-light); color: var(--primary); font-weight: 800;
  padding: .6rem .8rem; text-align: left; white-space: nowrap;
  border-bottom: 2px solid var(--border); position: sticky; top: 0;
}
.dept-table td { padding: .5rem .8rem; border-bottom: 1px solid var(--border);
  vertical-align: middle; white-space: nowrap; }
.dept-table tr:last-child td { border: none; }
.dept-table tr:hover td { background: var(--bg); }
.dept-score-num { font-size: 1rem; font-weight: 900; }

/* ── 記事内スクリーニングCTA ── */
.article-cta {
  background: var(--primary-light); border: 1px solid var(--primary);
  border-radius: var(--radius); padding: 1.1rem 1.3rem; margin: 2.2rem 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .8rem;
}
.article-cta-left { }
.article-cta-label { font-size: .92rem; font-weight: 800; color: var(--primary); }
.article-cta-sub   { font-size: .75rem; color: var(--text-sub); margin-top: .15rem; }
.article-cta-btn {
  display: inline-block; background: var(--primary); color: #fff;
  font-size: .85rem; font-weight: 800; padding: .5rem 1.1rem;
  border-radius: 8px; white-space: nowrap; transition: opacity .15s;
}
.article-cta-btn:hover { opacity: .85; text-decoration: none; }

/* ── Department cards ── */
.dept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 1rem; }
.dept-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.dept-head {
  padding: .7rem 1rem; font-size: .82rem; font-weight: 900; letter-spacing: .05em;
  display: flex; align-items: center; gap: .5rem;
}
.dept-val { background: var(--primary-light); color: var(--primary); }
.dept-gro { background: var(--accent-light); color: #059669; }
.dept-div { background: var(--warn-light); color: #b45309; }
.dept-body { padding: .85rem 1rem; }
.dept-desc { font-size: .77rem; color: var(--text-sub); margin-bottom: .6rem; line-height: 1.4; }
.dept-picks-list { list-style: none; font-size: .82rem; }
.dept-picks-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: .3rem 0; border-bottom: 1px solid var(--border);
}
.dept-picks-list li:last-child { border: none; }
.dept-score-badge {
  font-size: .7rem; font-weight: 800; color: var(--primary);
  background: var(--primary-light); padding: .15em .55em; border-radius: .3em;
  white-space: nowrap;
}
.dept-footer { display: flex; justify-content: space-between; align-items: center; margin-top: .6rem; }
.dept-buy-count { font-size: .72rem; color: var(--text-sub); }
.dept-link { font-size: .78rem; font-weight: 700; }

/* ── Article cards (index) ── */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1rem; }
.article-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.1rem; display: flex; flex-direction: column; gap: .5rem;
  transition: transform .15s, box-shadow .15s;
}
.article-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.1); text-decoration: none; }
.article-card-tag { font-size: .65rem; font-weight: 800; letter-spacing: .04em; color: var(--primary);
  background: var(--primary-light); padding: .2em .6em; border-radius: 4px; display: inline-block; }
.article-card-title { font-size: .95rem; font-weight: 800; line-height: 1.4; color: var(--text); }
.article-card-desc { font-size: .78rem; color: var(--text-sub); line-height: 1.5; flex: 1; }
.article-card-meta { font-size: .7rem; color: var(--text-sub); }

/* ── Article page ── */
.article-hero { background: linear-gradient(135deg,#1e3a8a,#1d4ed8); border-radius: var(--radius);
  padding: 1.8rem; margin-bottom: 2rem; color: #fff; }
.article-hero-tag { font-size: .7rem; font-weight: 800; letter-spacing: .06em;
  background: rgba(255,255,255,.2); padding: .25em .75em; border-radius: 4px; display: inline-block; margin-bottom: .7rem; }
.article-hero-title { font-size: 1.55rem; font-weight: 900; line-height: 1.3; margin-bottom: .5rem; }
.article-hero-meta { font-size: .78rem; opacity: .8; }
.article-toc { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem 1.2rem; margin-bottom: 2rem; }
.article-toc-title { font-size: .8rem; font-weight: 800; color: var(--text-sub); margin-bottom: .5rem; letter-spacing: .04em; }
.article-toc ol { padding-left: 1.3rem; font-size: .85rem; line-height: 2; }
.article-toc ol a { color: var(--primary); }
.article-body { font-size: .92rem; line-height: 1.85; }
.article-body h2 { font-size: 1.15rem; font-weight: 900; margin: 2.2rem 0 .8rem; padding-bottom: .4rem;
  border-bottom: 2px solid var(--primary); color: var(--text); }
.article-body h2::before { display: none; }
.article-body h3 { font-size: 1rem; font-weight: 800; margin: 1.5rem 0 .5rem; color: var(--primary); }
.article-body p { margin-bottom: 1rem; }
.article-body ul, .article-body ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.article-body li { margin-bottom: .3rem; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .85rem; }
.article-body th { background: var(--primary-light); color: var(--primary); font-weight: 800;
  padding: .6rem .8rem; text-align: left; border: 1px solid var(--border); }
.article-body td { padding: .55rem .8rem; border: 1px solid var(--border); }
.article-body tr:nth-child(even) td { background: var(--bg); }
.article-body .highlight-box { background: var(--primary-light); border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0; padding: .9rem 1.1rem; margin: 1.2rem 0; }
.article-body .warn-box { background: var(--warn-light); border-left: 4px solid var(--warn);
  border-radius: 0 var(--radius) var(--radius) 0; padding: .9rem 1.1rem; margin: 1.2rem 0; }
.article-related { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* ── Performance tracking ── */
.pt-wrap {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.2rem 1.4rem; margin-bottom: 1.5rem; box-shadow: var(--shadow);
}
.pt-header { margin-bottom: .9rem; }
.pt-title { font-size: .95rem; font-weight: 900; }
.pt-period { font-size: .75rem; color: var(--text-sub); margin-left: .7rem; }
.pt-stats {
  display: flex; gap: 1.2rem; flex-wrap: wrap;
  background: var(--bg); border-radius: 8px; padding: .8rem 1rem;
  margin-bottom: 1rem;
}
.pt-stat { text-align: center; }
.pt-stat-val { font-size: 1.3rem; font-weight: 900; }
.pt-stat-lbl { font-size: .72rem; color: var(--text-sub); margin-top: .1rem; }
.pt-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 500px) { .pt-lists { grid-template-columns: 1fr; } }
.pt-list-title { font-size: .75rem; font-weight: 800; margin-bottom: .4rem; letter-spacing: .03em; }
.pt-row {
  display: flex; align-items: center; gap: .5rem; font-size: .82rem;
  padding: .3rem 0; border-bottom: 1px solid var(--border);
}
.pt-row:last-child { border: none; }
.pt-name { flex: 1; color: var(--text-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-perf { font-weight: 800; font-size: .88rem; white-space: nowrap; }
.pt-note { font-size: .68rem; color: var(--text-sub); margin-top: .8rem; }

/* ── Hero update note ── */
.hero-update-note {
  font-size: .73rem; opacity: .75; margin-top: .35rem; letter-spacing: .01em;
}

/* ── Score guide bar ── */
.score-guide {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .7rem 1.1rem; margin-bottom: 1.2rem;
}
.score-guide-inner {
  display: flex; align-items: center; gap: .9rem; flex-wrap: wrap;
  font-size: .8rem;
}
.score-guide-label {
  font-weight: 800; font-size: .78rem; color: var(--text-sub); margin-right: .1rem;
}
.score-guide-detail {
  font-size: .75rem; color: var(--text-sub);
  border-left: 1px solid var(--border); padding-left: .9rem;
}
.score-guide-link {
  font-size: .76rem; font-weight: 700; margin-left: auto; white-space: nowrap;
}

/* ── Dept filter bar ── */
.dept-filter-bar {
  display: flex; gap: .4rem; margin-bottom: 1rem; flex-wrap: wrap;
}
.dept-filter-btn {
  font-size: .78rem; font-weight: 700; padding: .3rem .8rem; border-radius: 6px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text-sub);
  cursor: pointer; transition: background .12s, color .12s;
}
.dept-filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.dept-filter-btn:hover:not(.active) { background: var(--primary-light); color: var(--primary); }

/* ── About page ── */
.about-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.3rem 1.5rem; margin-bottom: 1.5rem; box-shadow: var(--shadow);
}
.about-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 1rem; }
.about-item { background: var(--bg); border-radius: 8px; padding: .9rem 1rem; }
.about-item-label { font-size: .78rem; font-weight: 800; color: var(--primary); margin-bottom: .2rem; }
.about-item-val { font-size: .95rem; font-weight: 700; margin-bottom: .2rem; }
.about-item-desc { font-size: .78rem; color: var(--text-sub); line-height: 1.5; }
.about-score-bar {
  display: flex; border-radius: 8px; overflow: hidden; margin-bottom: 1.3rem; height: 2.6rem;
}
.about-score-half {
  flex: 1; display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 800; gap: .5rem;
}
.about-score-half span { font-size: .72rem; font-weight: 600; opacity: .8; }
.about-tech { background: var(--primary-light); color: var(--primary); }
.about-fund { background: var(--accent-light); color: #047857; }
.about-section-title { font-size: .88rem; font-weight: 800; margin-bottom: .6rem; color: var(--text); }
.about-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.about-table th { background: var(--bg); font-weight: 800; padding: .5rem .7rem;
  text-align: left; border-bottom: 2px solid var(--border); }
.about-table td { padding: .5rem .7rem; border-bottom: 1px solid var(--border); line-height: 1.5; }
.about-table tr:last-child td { border: none; }
.about-formula {
  font-family: monospace; font-size: 1rem; background: var(--bg);
  border-radius: 8px; padding: .75rem 1.1rem; margin: .8rem 0;
  color: var(--primary); font-weight: 700; text-align: center;
}
.about-badges-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.about-badge-item { display: flex; align-items: flex-start; gap: .7rem; flex: 1; min-width: 180px; }
.about-badge-desc { font-size: .82rem; line-height: 1.6; color: var(--text-sub); }
.about-badge-desc strong { color: var(--text); }
.about-dept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 1rem; }
.about-dept-item p { font-size: .82rem; color: var(--text-sub); line-height: 1.6; margin-top: .5rem; }
.about-dept-head {
  font-size: .85rem; font-weight: 800; padding: .5rem .75rem; border-radius: 6px;
}
.about-disclaimer {
  background: var(--warn-light); border: 1px solid var(--warn); border-radius: var(--radius);
  padding: 1rem 1.3rem; font-size: .82rem; line-height: 1.7; margin-top: 2rem; color: var(--text);
}

/* ── ベンチマーク比較 ── */
.pt-bench {
  display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: .6rem;
  font-size: .82rem; border-top: 1px solid var(--border); padding-top: .6rem;
}
.pt-bench-item { display: flex; align-items: center; gap: .4rem; }
.pt-bench-label { color: var(--text-sub); font-size: .75rem; }

/* ── 52週位置テキスト ── */
.week52-pos { font-size: .65rem; color: var(--text-sub); margin-top: .3rem; text-align: right; }

/* ── 警告チップ ── */
.meta-chip.warn { color: var(--warn); border-color: var(--warn-light); background: var(--warn-light); }

/* ── Footer ── */
footer {
  text-align: center; font-size: .73rem; color: var(--text-sub);
  padding: 2rem 1rem; border-top: 1px solid var(--border); margin-top: 3rem;
  line-height: 1.8;
}
