/* IRウォッチ 共通スタイル
   配色：墨 #26292E（帯・見出し・罫線）／瑠璃 #1D5299（リンク・ボタン）／鼠 #9AA0A8（補助）／薄鼠 #EDEEF0（面）／紙 #FBFBFB（背景）／朱 #C0432A（株価の上昇）
   書体：見出し Shippori Mincho／本文 Zen Kaku Gothic New 中太／数字 IBM Plex Mono */
:root {
  --bg: #FBFBFB;
  --ink: #202327;
  --sumi: #26292E;
  --sub: #565D66;
  --muted: #8D949C;
  --line: #DCDFE3;
  --line-strong: #26292E;
  --accent: #1D5299;
  --accent-sky: #8FB3DE;
  --gray: #9AA0A8;
  --accent-soft: #E6EDF6;
  --chip: #EDEEF0;
  --tint: #EDEEF0;
  --card: #fff;
  --up: #C0432A;
  --display: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --body: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Yu Gothic', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--body); font-weight: 500; background: var(--bg); color: var(--ink); line-height: 1.85; letter-spacing: .03em; }
a { color: inherit; text-decoration: none; }
a:focus-visible, input:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button { font-family: inherit; cursor: pointer; }
.mono { font-family: var(--mono); letter-spacing: 0; font-variant-numeric: tabular-nums; }
h1, h2, .page-title, .section-title { font-family: var(--display); color: var(--sumi); font-feature-settings: "palt"; letter-spacing: .03em; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: 1180px; margin-left: auto; margin-right: auto; padding-left: 40px; padding-right: 40px; }

/* 上の帯・題字・メニュー */
.topbar { background: var(--sumi); color: #E3E5E8; font-size: 12px; }
.topbar-inner { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: var(--accent-sky); font-weight: 700; }
.site-header { padding-top: 22px; }
.masthead { padding-bottom: 16px; }
.brand { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 36px; line-height: 1; letter-spacing: .02em; color: var(--sumi); }
.brand em { font-style: normal; color: var(--accent); }
.brand small { display: block; font-family: var(--body); font-weight: 500; font-size: 12px; letter-spacing: .08em; color: var(--sub); margin-top: 10px; }
.site-nav { display: flex; align-items: center; gap: 4px 28px; flex-wrap: wrap; border-top: 3px double var(--sumi); border-bottom: 1px solid var(--sumi); padding-top: 10px; padding-bottom: 10px; }
.site-nav a { font-size: 14px; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav a[aria-current="page"] { font-weight: 700; }
.site-nav .nav-cta { margin-left: auto; color: var(--accent); font-weight: 700; }
.site-nav .nav-cta::after { content: " →"; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 0; border: none; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.btn-dark { background: var(--sumi); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-outline { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn:hover { opacity: .88; }

/* 見出し・本文 */
.eyebrow { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .1em; }
.page-title { font-size: 34px; font-weight: 700; margin: 10px 0 12px; line-height: 1.45; }
.lead { font-size: 15px; line-height: 1.95; color: var(--sub); max-width: 760px; margin: 0; }
.section { padding-top: 40px; padding-bottom: 40px; }
.section-title { font-size: 20px; font-weight: 700; margin: 0 0 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section-title a { font-family: var(--body); font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .03em; }
.note { font-size: 12px; color: var(--muted); line-height: 1.7; }

/* 区切り：カードではなく罫線と余白で分ける */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: transparent; border: 0; border-top: 2px solid var(--sumi); border-radius: 0; padding: 16px 0 4px; }
a.card:hover h3 { color: var(--accent); }
.card h3 { font-size: 16.5px; font-weight: 700; margin: 8px 0; line-height: 1.6; }
.card p { font-size: 13.5px; line-height: 1.85; color: var(--sub); margin: 0; }
.layout-rail .card { background: var(--tint); border-top: 3px solid var(--accent); padding: 20px 22px; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 0; border: 1px solid var(--line); background: var(--card); color: var(--sub); letter-spacing: .04em; }
.tag-accent { border-color: var(--accent); color: var(--accent); background: var(--card); }
.tag-sample { border-color: #D9B98A; background: #FFF8EC; color: #7A5200; }

/* 2カラム */
.layout { display: flex; gap: 32px; align-items: flex-start; }
.layout-main { flex: 1; min-width: 0; }
.layout-rail { width: 340px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }

/* 表 */
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.data th, table.data td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
table.data th { font-size: 12px; color: var(--sub); font-weight: 700; background: #FAFAF8; }
table.data td.num { font-family: 'JetBrains Mono', monospace; text-align: right; white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* フォーム */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 12px; font-weight: 700; color: var(--sub); }
.field input, .field select, .field textarea { height: 42px; padding: 0 12px; border-radius: 0; border: 1px solid var(--line-strong); font-family: inherit; font-size: 14px; background: #fff; }
.field textarea { height: 96px; padding: 10px 12px; resize: vertical; }

/* 無料診断への導線（各ページ末尾） */
.cta-band { margin-top: 8px; background: var(--tint); border-top: 3px solid var(--accent); padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: 22px; font-weight: 700; margin: 0 0 6px; }
.cta-band p { font-size: 13.5px; line-height: 1.85; margin: 0; color: var(--sub); max-width: 640px; }
.cta-band .btn { background: var(--accent); color: #fff; }

/* 関連リンク（回遊用） */
.related { display: flex; flex-direction: column; }
.related a { font-size: 13.5px; font-weight: 700; padding: 10px 0; border-top: 1px solid var(--line); }
.related a:first-child { border-top: 0; }
.related a:hover { color: var(--accent); }

/* フッター */
.site-footer { margin-top: auto; background: var(--sumi); color: #B8BDC4; }
.site-footer-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 32px; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { font-size: 13px; }
.site-footer a:hover { color: #fff; }
.site-footer .copy { font-size: 12px; }
.site-footer .brand-footer { font-size: 20px; color: #fff; }
.site-footer .brand-footer em { color: var(--accent-sky); }

@media (max-width: 960px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .brand { font-size: 30px; }
  .site-nav .nav-cta { margin-left: 0; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout { flex-direction: column; }
  .layout-rail { width: 100%; }
  .page-title { font-size: 27px; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .site-nav { gap: 14px; }
  .cta-band { padding: 22px 20px; }
}

/* アクティビスト動向（activists.html / activist-fund.html / activist-company.html） */
.act-meta { font-size: 12.5px; color: var(--sub); letter-spacing: .06em; }
.act-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--sumi); border-bottom: 1px solid var(--line); margin-top: 28px; }
.act-stats > div { padding: 16px 0 16px 20px; border-left: 1px solid var(--line); min-width: 0; }
.act-stats > div:first-child { padding-left: 0; border-left: 0; }
.act-stats .k { font-size: 12.5px; color: var(--sub); }
.act-stats .v { font-family: var(--mono); font-size: 34px; line-height: 1.3; font-weight: 500; letter-spacing: 0; }
.act-stats .v small { font-family: var(--body); font-size: 14px; margin-left: 4px; }
.act-stats .v.blue { color: var(--accent); }
.act-lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; padding-top: 36px; }
.act-lead h2 { font-size: 26px; line-height: 1.5; margin: 6px 0 10px; }
.act-lead p { margin: 0 0 10px; font-size: 14.5px; color: var(--sub); }
.act-find { border-left: 1px solid var(--line); padding-left: 32px; min-width: 0; }
.act-find label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.act-find input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--sumi); border-radius: 0; font-family: inherit; font-size: 15px; background: #fff; }
.act-hits { display: flex; flex-direction: column; margin-top: 6px; }
.act-hits a { font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; }
.act-hits a:hover { color: var(--accent); }
.act-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip-btn { min-height: 36px; padding: 0 12px; font-size: 13px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 0; }
.chip-btn[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.act-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 2px solid var(--sumi); padding-bottom: 10px; margin-top: 44px; }
.act-head h2 { font-size: 22px; margin: 0; }
.seg { display: flex; gap: 4px; }
.seg button { min-height: 44px; padding: 0 16px; font-size: 13.5px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 0; }
.seg button[aria-pressed="true"] { background: var(--sumi); border-color: var(--sumi); color: #fff; }
.mv { display: grid; grid-template-columns: 84px 190px minmax(0, 230px) minmax(0, 1fr) 130px 84px; column-gap: 18px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mv.hd { font-size: 12px; color: var(--sub); padding: 8px 0; }
.mv .d { font-family: var(--mono); font-size: 13px; color: var(--sub); letter-spacing: 0; }
.mv .fund { font-size: 14px; font-weight: 700; color: var(--accent); }
.mv .co a { font-size: 15px; font-weight: 700; }
.mv .co a:hover, .mv .fund:hover { text-decoration: underline; }
.mv .co small { display: block; font-family: var(--mono); font-size: 12px; color: var(--sub); letter-spacing: 0; }
.mv .nums, .mv .amt { font-family: var(--mono); font-size: 13px; text-align: right; white-space: nowrap; letter-spacing: 0; }
.mv .nums .b { color: var(--sub); }
.mv .nums .a.up { color: var(--accent); font-weight: 700; }
.bell { position: relative; height: 20px; }
.bell .axis { position: absolute; left: 0; right: 0; top: 9px; height: 1px; background: var(--line); }
.bell .five { position: absolute; left: 16.667%; top: 4px; width: 1px; height: 12px; background: var(--gray); }
.bell .seg-line { position: absolute; top: 8px; height: 3px; background: var(--gray); }
.bell .seg-line.up { background: var(--accent); }
.bell .dot { position: absolute; top: 4px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--gray); }
.bell .dot.hollow { background: var(--bg); border: 2px solid var(--gray); }
.bell .dot.now { background: var(--sumi); }
.bell .dot.now.up { background: var(--accent); }
.act-more { margin-top: 14px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--sub); }
.temp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.temp a { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr) 72px; column-gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.temp a:hover .n { color: var(--accent); }
.temp .n { font-size: 14px; font-weight: 700; }
.temp .bars { display: flex; align-items: center; height: 14px; }
.temp .bars > span { flex: 1 1 0; display: flex; height: 14px; }
.temp .bars > span:first-child { justify-content: flex-end; }
.temp .bars i { display: block; height: 14px; }
.temp .bars .s { background: var(--gray); }
.temp .bars .p { background: var(--accent); }
.temp .bars b { width: 1px; height: 14px; background: var(--sumi); }
.temp .c { font-family: var(--mono); font-size: 13px; text-align: right; letter-spacing: 0; }
.hold { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.hold > div { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr) 64px 70px; column-gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hold a { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hold a:hover { color: var(--accent); }
.hold .bar { height: 10px; background: var(--tint); display: flex; }
.hold .bar i { display: block; height: 10px; background: var(--accent); }
.hold .r, .hold .df { font-family: var(--mono); font-size: 13px; text-align: right; letter-spacing: 0; }
.hold .df.up { color: var(--accent); }
.hold .df.flat { color: var(--muted); }
.stack { display: flex; height: 36px; margin-top: 20px; background: var(--tint); }
.stack i { display: block; height: 36px; border-right: 1px solid var(--bg); }
.stack-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--sub); margin-top: 4px; }
.holders > div { display: grid; grid-template-columns: 16px minmax(0, 220px) minmax(0, 200px) minmax(0, 1fr) 90px; column-gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.holders .sw { width: 14px; height: 14px; }
.holders .nm { font-weight: 700; }
.holders .g { color: var(--accent); }
.holders .nt { font-size: 13px; color: var(--sub); }
.holders .r { font-family: var(--mono); text-align: right; letter-spacing: 0; }
.events > div { display: grid; grid-template-columns: 110px minmax(0, 200px) minmax(0, 1fr) 150px; column-gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; align-items: baseline; }
.events .d, .events .r { font-family: var(--mono); letter-spacing: 0; }
.events .r { text-align: right; color: var(--accent); }
.events .k { color: var(--sub); }
.act-empty { padding: 24px 0; color: var(--sub); font-size: 14px; }
@media (max-width: 960px) {
  .act-lead { grid-template-columns: 1fr; gap: 28px; }
  .act-find { border-left: 0; padding-left: 0; }
  .temp, .hold { grid-template-columns: 1fr; }
  .mv { grid-template-columns: 70px 150px minmax(0, 1fr) minmax(0, 1fr) 120px; }
  .mv .amt, .mv.hd .amt { display: none; }
}
@media (max-width: 640px) {
  .act-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .act-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .act-stats > div { border-top: 1px solid var(--line); }
  .act-stats .v { font-size: 28px; }
  .mv { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  .mv.hd { display: none; }
  .mv .co { grid-column: 1; grid-row: 1; }
  .mv .d { grid-column: 2; grid-row: 1; text-align: right; }
  .mv .fund { grid-column: 1; grid-row: 2; }
  .mv .amt { display: block; grid-column: 2; grid-row: 2; }
  .mv .bell { grid-column: 1 / -1; grid-row: 3; }
  .mv .nums { grid-column: 1 / -1; grid-row: 4; text-align: left; }
  .seg { width: 100%; }
  .seg button { flex: 1 1 0; padding: 0 8px; }
  .holders > div { grid-template-columns: 16px minmax(0, 1fr) 80px; row-gap: 2px; }
  .holders .sw { grid-row: 1; grid-column: 1; }
  .holders .nm { grid-row: 1; grid-column: 2; }
  .holders .r { grid-row: 1; grid-column: 3; }
  .holders .g { grid-row: 2; grid-column: 2 / -1; }
  .holders .nt { grid-row: 3; grid-column: 2 / -1; }
  .events > div { grid-template-columns: 96px minmax(0, 1fr); row-gap: 2px; }
  .events .k { grid-column: 1 / -1; }
  .events .r { grid-column: 1 / -1; text-align: left; }
}
.events .k a { color: var(--accent); }
