/* ============================================================
   坂道タイムズ スタイル
   - 外部リクエストゼロ（フォント/画像/JSの読み込みなし）＝ LCP が速く SEO に有利
   - アイコンはインラインSVGのマスクで描画（色はCSS変数で可変）
   - ライト/ダーク両対応
   ============================================================ */

:root {
  --nogi:   #8b5cf6;
  --sakura: #ec4899;
  --hinata: #38bdf8;

  --bg: #faf8ff;
  --bg-mesh-1: rgba(139, 92, 246, .16);
  --bg-mesh-2: rgba(236, 72, 153, .13);
  --bg-mesh-3: rgba(56, 189, 248, .13);
  --bg-card: #ffffff;
  --bg-soft: #f3f0fb;
  --bg-tint: rgba(139, 92, 246, .06);

  --fg: #191627;
  --fg-mute: #5d5875;
  /* 日時・注記など小さい文字に使うため WCAG AA(4.5:1) を満たす濃さにする */
  --fg-faint: #6d6889;
  --line: #e8e3f5;
  --line-strong: #d6cfee;

  --accent: #7c3aed;
  --accent-ink: #ffffff;
  --accent-soft: #f1eaff;
  --gc: var(--accent);

  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1120px;
  --shadow-sm: 0 1px 2px rgba(30, 20, 60, .05);
  --shadow: 0 2px 6px rgba(30, 20, 60, .06), 0 12px 28px rgba(30, 20, 60, .07);
  --shadow-lift: 0 6px 14px rgba(30, 20, 60, .10), 0 20px 44px rgba(30, 20, 60, .12);
  --ease: cubic-bezier(.2, .7, .3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0b16;
    --bg-mesh-1: rgba(139, 92, 246, .20);
    --bg-mesh-2: rgba(236, 72, 153, .14);
    --bg-mesh-3: rgba(56, 189, 248, .14);
    --bg-card: #171425;
    --bg-soft: #211d33;
    --bg-tint: rgba(167, 139, 250, .09);

    --fg: #ece9f7;
    --fg-mute: #a9a3c4;
    /* 注記・メタ情報に使うためカード背景に対して WCAG AA(4.5:1) を満たす明度にする */
    --fg-faint: #918cb0;
    --line: #2b2740;
    --line-strong: #3b3557;

    --accent: #a78bfa;
    --accent-ink: #1a1428;
    --accent-soft: #241d3c;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 2px 6px rgba(0, 0, 0, .4), 0 12px 28px rgba(0, 0, 0, .45);
    --shadow-lift: 0 6px 14px rgba(0, 0, 0, .5), 0 20px 44px rgba(0, 0, 0, .55);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  background-image:
    radial-gradient(60rem 40rem at 12% -8%, var(--bg-mesh-1), transparent 60%),
    radial-gradient(50rem 34rem at 92% 2%, var(--bg-mesh-2), transparent 62%),
    radial-gradient(46rem 30rem at 50% 22%, var(--bg-mesh-3), transparent 65%);
  background-attachment: fixed;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN",
               "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  word-break: break-word;
  overflow-wrap: anywhere;
}

a { color: var(--accent); text-decoration: none; transition: color .15s var(--ease); }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 8px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink);
  padding: 8px 14px; border-radius: 8px; font-weight: 700;
}

/* ---------- カテゴリアイコン（SVGマスク） ---------- */

.cat-chip::before,
.cat-block > h2::before {
  content: "";
  display: inline-block;
  flex: none;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center;  mask-position: center;
  -webkit-mask-size: contain;     mask-size: contain;
}
.cat-chip::before { width: 13px; height: 13px; margin-right: 4px; vertical-align: -2px; }
.cat-block > h2::before { width: 22px; height: 22px; margin-right: 10px; vertical-align: -4px; }

#cat-live .cat-chip::before, #cat-live > h2::before {
  -webkit-mask-image: var(--i-live); mask-image: var(--i-live);
}
#cat-release .cat-chip::before, #cat-release > h2::before {
  -webkit-mask-image: var(--i-release); mask-image: var(--i-release);
}
#cat-media .cat-chip::before, #cat-media > h2::before {
  -webkit-mask-image: var(--i-media); mask-image: var(--i-media);
}
#cat-member .cat-chip::before, #cat-member > h2::before {
  -webkit-mask-image: var(--i-member); mask-image: var(--i-member);
}
#cat-event .cat-chip::before, #cat-event > h2::before {
  -webkit-mask-image: var(--i-event); mask-image: var(--i-event);
}
#cat-goods .cat-chip::before, #cat-goods > h2::before {
  -webkit-mask-image: var(--i-goods); mask-image: var(--i-goods);
}
#cat-digital .cat-chip::before, #cat-digital > h2::before {
  -webkit-mask-image: var(--i-digital); mask-image: var(--i-digital);
}
#cat-other .cat-chip::before, #cat-other > h2::before {
  -webkit-mask-image: var(--i-other); mask-image: var(--i-other);
}

:root {
  --i-live: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h16a1 1 0 011 1v3a2.5 2.5 0 000 5v3a1 1 0 01-1 1H4a1 1 0 01-1-1v-3a2.5 2.5 0 000-5V7a1 1 0 011-1zm5 2v8h2V8H9zm4 0v8h2V8h-2z'/%3E%3C/svg%3E");
  --i-release: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm0 7.5a2.5 2.5 0 110 5 2.5 2.5 0 010-5z'/%3E%3C/svg%3E");
  --i-media: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 3H3a1 1 0 00-1 1v12a1 1 0 001 1h7v2H8v2h8v-2h-2v-2h7a1 1 0 001-1V4a1 1 0 00-1-1zm-1 12H4V5h16v10z'/%3E%3C/svg%3E");
  --i-member: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 100-10 5 5 0 000 10zm0 2c-5.3 0-9 2.7-9 5.8V22h18v-2.2c0-3.1-3.7-5.8-9-5.8z'/%3E%3C/svg%3E");
  --i-event: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2v2H4a1 1 0 00-1 1v16a1 1 0 001 1h16a1 1 0 001-1V5a1 1 0 00-1-1h-3V2h-2v2H9V2H7zm12 8v10H5V10h14z'/%3E%3C/svg%3E");
  --i-goods: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 7V6a6 6 0 1112 0v1h3v14a1 1 0 01-1 1H4a1 1 0 01-1-1V7h3zm2 0h8V6a4 4 0 10-8 0v1z'/%3E%3C/svg%3E");
  --i-digital: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zM10 7.2l7 4.8-7 4.8V7.2z'/%3E%3C/svg%3E");
  --i-other: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm0 4a1.6 1.6 0 110 3.2A1.6 1.6 0 0112 6zm-1.5 5h3v7h-3v-7z'/%3E%3C/svg%3E");
}

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg-card) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: ""; display: block; height: 4px;
  background: linear-gradient(90deg, var(--nogi), var(--sakura) 50%, var(--hinata));
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 12px; padding-bottom: 12px;
}

.brand { display: flex; align-items: center; gap: 11px; color: inherit; }
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 42px; height: 42px; flex: none; border-radius: 13px;
  background: linear-gradient(135deg, var(--nogi), var(--sakura) 55%, var(--hinata));
  color: #fff; font-weight: 800; font-size: 21px;
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(139, 92, 246, .35);
  transition: transform .25s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.06); }

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name {
  font-weight: 800; font-size: 19px; letter-spacing: .01em;
  background: linear-gradient(90deg, var(--nogi), var(--sakura) 60%, var(--hinata));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-tag { font-size: 10.5px; color: var(--fg-faint); letter-spacing: .02em; }

.sns { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.sns a {
  display: grid; place-items: center; width: 34px; height: 34px;
  border: 1px solid var(--line-strong); border-radius: 11px;
  font-size: 12px; font-weight: 800; color: var(--fg-mute);
  transition: all .18s var(--ease);
}
.sns a:hover {
  background: linear-gradient(135deg, var(--nogi), var(--sakura));
  border-color: transparent; color: #fff; text-decoration: none;
  transform: translateY(-2px);
}

.site-nav { border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav ul {
  display: flex; gap: 6px; list-style: none; margin: 0; padding: 8px 0;
  white-space: nowrap;
}
.site-nav a {
  display: block; padding: 7px 15px; border-radius: 999px;
  font-size: 14px; font-weight: 700; color: var(--fg-mute);
  border: 1px solid transparent;
  transition: all .18s var(--ease);
}
.site-nav a:hover {
  color: var(--gc, var(--accent)); background: var(--bg-soft);
  border-color: var(--line-strong); text-decoration: none;
}
.site-nav a.active {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, var(--gc, var(--accent)),
              color-mix(in srgb, var(--gc, var(--accent)) 62%, #fff));
  box-shadow: 0 3px 10px color-mix(in srgb, var(--gc, var(--accent)) 40%, transparent);
}

/* ---------- レイアウト ---------- */

.layout { display: grid; gap: 30px; padding-top: 26px; padding-bottom: 44px; }
@media (min-width: 920px) {
  .layout { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .col-side { position: sticky; top: 118px; }
}
.col-main { min-width: 0; }

.breadcrumb { font-size: 12.5px; color: var(--fg-faint); margin-bottom: 16px; }
.breadcrumb a { color: var(--fg-mute); }

/* ---------- ヒーロー ---------- */

.hero {
  position: relative; overflow: hidden;
  border-radius: 22px; padding: 30px 24px; margin-bottom: 30px;
  color: #fff;
  background:
    radial-gradient(28rem 18rem at 88% 4%, rgba(255, 255, 255, .22), transparent 60%),
    linear-gradient(125deg, #6d28d9, #db2777 52%, #0ea5e9);
  box-shadow: var(--shadow);
}
.hero::after {
  content: ""; position: absolute; inset: auto -14% -62% auto;
  width: 26rem; height: 26rem; border-radius: 50%;
  background: rgba(255, 255, 255, .1);
}
.hero > * { position: relative; }
.hero h1 { margin: 0 0 10px; font-size: 30px; line-height: 1.3; letter-spacing: .01em; }
@media (min-width: 700px) { .hero h1 { font-size: 38px; } }
.hero-lead { margin: 0 0 8px; font-size: 15.5px; font-weight: 700; }
.hero-sub { margin: 0 0 20px; font-size: 13.5px; color: rgba(255, 255, 255, .85); max-width: 62ch; }

.hero-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  list-style: none; margin: 0; padding: 0;
}
@media (min-width: 620px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stats li {
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px; padding: 12px 10px; text-align: center;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-stats strong { display: block; font-size: 23px; line-height: 1.25; font-weight: 800; }
.hero-stats span { font-size: 10.5px; color: rgba(255, 255, 255, .8); letter-spacing: .04em; }

/* ---------- 見出し ---------- */

h1 { font-size: 25px; line-height: 1.4; }
h2 { font-size: 21px; line-height: 1.45; margin: 34px 0 16px; letter-spacing: .01em; }
h3 { font-size: 17px; line-height: 1.55; margin: 0 0 8px; }

.today > h2, .group-block > h2, .member-news > h2,
.related-block > h2, .member-group > h2, .about-site > h2 {
  display: flex; align-items: center; gap: 11px;
  padding-left: 0; border: 0;
}
.today > h2::before, .group-block > h2::before, .member-news > h2::before,
.related-block > h2::before, .member-group > h2::before, .about-site > h2::before {
  content: ""; flex: none; width: 6px; height: 1.15em; border-radius: 999px;
  background: linear-gradient(180deg, var(--gc, var(--accent)),
              color-mix(in srgb, var(--gc, var(--accent)) 55%, #fff));
}
.group-block > h2 a { color: inherit; }
.group-block > h2 a:hover { color: var(--gc); }

/* ---------- ヘッドライン ---------- */

.headline-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 9px; }
.headline-list li {
  position: relative; overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.headline-list li::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, var(--gc), color-mix(in srgb, var(--gc) 50%, #fff));
}
.headline-list li:hover { transform: translateX(3px); box-shadow: var(--shadow); }
.headline-list a { display: block; padding: 13px 16px 13px 20px; color: inherit; }
.headline-list a:hover { text-decoration: none; }
.hl-group {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .04em;
  color: var(--gc); background: color-mix(in srgb, var(--gc) 12%, transparent);
  border-radius: 999px; padding: 1px 9px; margin-bottom: 5px;
}
.hl-title { display: block; font-size: 15px; font-weight: 700; line-height: 1.6; }
.hl-meta { display: block; font-size: 11px; color: var(--fg-faint); margin-top: 5px; }

/* ---------- カード ---------- */

.card-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .card-list { grid-template-columns: repeat(2, 1fr); } }
.card-list.wide { grid-template-columns: 1fr; }

.card {
  position: relative; overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--gc), color-mix(in srgb, var(--gc) 45%, #fff));
}
.card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lift);
  border-color: color-mix(in srgb, var(--gc) 35%, var(--line));
}
.card a { display: block; padding: 17px 18px 15px; color: inherit; height: 100%; }
.card a:hover { text-decoration: none; }
.card-date {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .03em;
  color: var(--gc); background: color-mix(in srgb, var(--gc) 11%, transparent);
  border-radius: 999px; padding: 2px 10px;
}
.card-title { display: block; font-size: 15.5px; font-weight: 800; line-height: 1.6; margin: 9px 0 7px; }
.card-desc {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 12.5px; color: var(--fg-mute); line-height: 1.75;
}
.card-count {
  display: inline-block; margin-top: 10px; font-size: 10.5px; font-weight: 700;
  color: var(--fg-mute); background: var(--bg-soft); border-radius: 999px; padding: 2px 10px;
}

.more { margin: 0 0 34px; font-size: 14px; font-weight: 700; }
.more a::after { content: ""; }

/* ---------- 記事 ---------- */

.post {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 20px; padding: 24px 19px; box-shadow: var(--shadow);
}
@media (min-width: 700px) { .post { padding: 34px 38px; } }

.post-head {
  position: relative;
  border-bottom: 2px solid var(--line); padding-bottom: 18px; margin-bottom: 24px;
}
.post-head::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 88px; height: 2px;
  background: linear-gradient(90deg, var(--gc), transparent);
}
.post-kicker {
  display: inline-block; margin: 0 0 9px; font-size: 11px; font-weight: 800; letter-spacing: .05em;
  color: #fff; border-radius: 999px; padding: 3px 12px;
  background: linear-gradient(135deg, var(--gc), color-mix(in srgb, var(--gc) 58%, #fff));
}
.post-head h1 { margin: 0 0 12px; font-size: 23px; letter-spacing: .005em; }
@media (min-width: 700px) { .post-head h1 { font-size: 28px; } }
.post-meta { margin: 0; font-size: 12px; color: var(--fg-faint); display: flex; flex-wrap: wrap; gap: 14px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 14px 0 0; padding: 0; }
.tag-list a {
  font-size: 11.5px; font-weight: 700; background: var(--accent-soft); color: var(--accent);
  border-radius: 999px; padding: 4px 12px; transition: all .16s var(--ease);
}
.tag-list a:hover { background: var(--accent); color: var(--accent-ink); text-decoration: none; }

.post-body > p:first-child { font-size: 15.5px; }

/* 目次 */
.toc {
  position: relative; overflow: hidden;
  background: var(--bg-tint); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 22px; margin: 24px 0 30px;
}
.toc::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: linear-gradient(180deg, var(--nogi), var(--sakura), var(--hinata));
}
.toc h2 { margin: 0 0 10px; font-size: 15px; border: 0; padding: 0; }
.toc h2::before { display: none; }
.toc ol, .toc ul { margin: 0; padding-left: 1.35em; }
.toc ol { font-size: 14px; }
.toc ul { list-style: none; padding-left: .35em; margin: 5px 0 12px; }
.toc ul li { font-size: 13px; }
.toc ul li::before { content: "└ "; color: var(--fg-faint); }
.toc a { color: var(--fg-mute); }
.toc > ol > li > a { color: var(--fg); font-weight: 700; }

/* トピック */
.cat-block { margin: 38px 0; }
.cat-block > h2 {
  display: flex; align-items: center;
  color: var(--accent);
  border-bottom: 2px solid var(--line); padding-bottom: 10px;
  scroll-margin-top: 130px;
}
#cat-live > h2    { color: var(--sakura); }
#cat-release > h2 { color: var(--nogi); }
#cat-media > h2   { color: var(--hinata); }
#cat-member > h2  { color: #f59e0b; }
#cat-event > h2   { color: #10b981; }
#cat-goods > h2   { color: #f43f5e; }
#cat-digital > h2 { color: #6366f1; }
#cat-other > h2   { color: var(--fg-mute); }

.topic {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 19px; margin: 0 0 15px; background: var(--bg);
  scroll-margin-top: 130px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.topic:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.topic h3 { font-size: 16.5px; font-weight: 800; }

.topic-meta {
  margin: 0 0 11px; font-size: 11.5px; color: var(--fg-faint);
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.cat-chip {
  display: inline-flex; align-items: center;
  background: var(--bg-soft); border-radius: 999px; padding: 2px 10px; font-weight: 700;
}
#cat-live .cat-chip    { color: var(--sakura); background: rgba(236, 72, 153, .1); }
#cat-release .cat-chip { color: var(--nogi);   background: rgba(139, 92, 246, .1); }
#cat-media .cat-chip   { color: var(--hinata); background: rgba(56, 189, 248, .12); }
#cat-member .cat-chip  { color: #f59e0b;       background: rgba(245, 158, 11, .12); }
#cat-event .cat-chip   { color: #10b981;       background: rgba(16, 185, 129, .12); }
#cat-goods .cat-chip   { color: #f43f5e;       background: rgba(244, 63, 94, .12); }
#cat-digital .cat-chip { color: #6366f1;       background: rgba(99, 102, 241, .12); }

.quote {
  margin: 13px 0; padding: 12px 16px; background: var(--bg-soft);
  border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0;
}
.quote p { margin: 0; font-size: 13.5px; color: var(--fg-mute); }
.quote cite { display: block; margin-top: 7px; font-size: 11px; font-style: normal; color: var(--fg-faint); }

.topic-members {
  margin: 11px 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  font-size: 12px; color: var(--fg-faint);
}

.comment {
  position: relative; margin: 13px 0 11px; padding: 13px 16px;
  font-size: 14px; background: var(--accent-soft); border-radius: 12px;
}
.comment-label {
  display: inline-block; margin-right: 9px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #fff));
  color: #fff; border-radius: 6px; padding: 2px 9px; vertical-align: 1px;
}

.source-link { margin: 0; font-size: 13px; font-weight: 700; }

.also-reported {
  margin: 12px 0 0; padding-top: 11px; border-top: 1px dashed var(--line-strong);
  font-size: 12px; color: var(--fg-faint); line-height: 2;
}
.also-label {
  display: inline-block; margin-right: 8px; font-size: 10.5px; font-weight: 800;
  background: var(--bg-soft); border-radius: 6px; padding: 2px 9px; color: var(--fg-mute);
}
.also-reported a { color: var(--fg-mute); }
.also-reported a:hover { color: var(--accent); }

/* 週間まとめ */
.stat-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: 14px; margin: 14px 0 10px;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.stat-table th, .stat-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.stat-table tr:last-child td { border-bottom: 0; }
.stat-table th { background: var(--bg-soft); font-size: 13px; font-weight: 800; }

.rank-list { margin: 14px 0; padding: 0; list-style: none; counter-reset: rank; }
.rank-list li {
  counter-increment: rank;
  display: flex; align-items: center; gap: 12px;
  padding: 9px 14px; margin-bottom: 7px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px;
}
.rank-list li::before {
  content: counter(rank);
  flex: none; width: 26px; height: 26px; border-radius: 9px;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #fff));
}
.rank-list li:nth-child(1)::before { background: linear-gradient(135deg, #f59e0b, #fcd34d); }
.rank-list li:nth-child(2)::before { background: linear-gradient(135deg, #94a3b8, #cbd5e1); }
.rank-list li:nth-child(3)::before { background: linear-gradient(135deg, #b45309, #d97706); }
.rank-name { font-weight: 700; }
.rank-count { color: var(--fg-faint); font-size: 13px; margin-left: auto; }

.wrapup {
  border-top: 2px solid var(--line); margin-top: 38px; padding-top: 10px;
}

/* ---------- チップ ---------- */

.chip-grid { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 12px 0 0; padding: 0; }

.member-chip, .tag-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; padding: 5px 13px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--bg-card); color: var(--fg-mute);
  transition: all .16s var(--ease);
}
.member-chip:hover, .tag-chip:hover {
  border-color: transparent; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, var(--gc, var(--accent)),
              color-mix(in srgb, var(--gc, var(--accent)) 58%, #fff));
  transform: translateY(-2px);
}
.member-chip.has-news { border-color: var(--gc); color: var(--fg); font-weight: 700; }
.member-chip span, .tag-chip span {
  font-size: 10.5px; font-weight: 800;
  background: var(--bg-soft); border-radius: 999px; padding: 0 7px;
}
.member-chip:hover span, .tag-chip:hover span { background: rgba(255, 255, 255, .28); color: #fff; }

/* ---------- 一覧 / メンバー ---------- */

.list-head {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 18px; padding: 22px 22px 20px; margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
  border-top: 5px solid var(--gc, var(--accent));
}
.list-head h1 { margin: 0 0 10px; }
.list-lead { margin: 0; font-size: 14px; color: var(--fg-mute); }

.member-group { margin-bottom: 34px; }
.mg-count { font-size: 12px; font-weight: 500; color: var(--fg-faint); }

.empty {
  color: var(--fg-mute); background: var(--bg-card);
  border: 2px dashed var(--line-strong); border-radius: var(--radius);
  padding: 30px; text-align: center;
}

/* ---------- メンバーページの集計 ---------- */

.member-stats {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 18px; padding: 22px; margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}
.member-stats > h2 {
  display: flex; align-items: center; gap: 11px; margin-top: 0;
}
.member-stats > h2::before {
  content: ""; flex: none; width: 6px; height: 1.15em; border-radius: 999px;
  background: linear-gradient(180deg, var(--gc), color-mix(in srgb, var(--gc) 55%, #fff));
}
.member-stats h3 {
  font-size: 14px; font-weight: 800; margin: 24px 0 10px; color: var(--fg-mute);
  letter-spacing: .02em;
}

.stat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 4px;
}
@media (min-width: 620px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  background: linear-gradient(160deg,
    color-mix(in srgb, var(--gc) 13%, transparent), transparent);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 13px 12px; text-align: center;
}
.stat-num {
  display: block; font-size: 25px; font-weight: 800; line-height: 1.25; color: var(--gc);
}
.stat-num.small { font-size: 15px; padding: 5px 0; }
.stat-cap { font-size: 10.5px; color: var(--fg-faint); letter-spacing: .03em; }

.bar-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bar-list li { display: grid; grid-template-columns: 7.5em 1fr 4em; align-items: center; gap: 10px; }
.bar-label { font-size: 12.5px; font-weight: 700; color: var(--fg-mute); }
.bar-track {
  height: 10px; border-radius: 999px; background: var(--bg-soft); overflow: hidden;
}
.bar-fill {
  display: block; height: 100%; border-radius: 999px; min-width: 4px;
  background: linear-gradient(90deg, var(--gc), color-mix(in srgb, var(--gc) 50%, #fff));
}
.bar-val { font-size: 12px; font-weight: 700; color: var(--fg-faint); text-align: right; }

.stat-note { margin: 11px 0 0; font-size: 11.5px; color: var(--fg-faint); }

@media (max-width: 480px) {
  .bar-list li { grid-template-columns: 6.5em 1fr 3.4em; gap: 7px; }
  .bar-label { font-size: 11.5px; }
}

/* ---------- 予定カレンダー ---------- */

.cal-subscribe, .cal-deadline, .cal-filter {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 18px; padding: 20px 22px; margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.cal-subscribe > h2, .cal-deadline > h2, .cal-filter > h2, .cal-month > h2, .cal-list > h2 {
  display: flex; align-items: center; gap: 11px; margin-top: 0;
}
.cal-subscribe > h2::before, .cal-deadline > h2::before, .cal-filter > h2::before,
.cal-month > h2::before, .cal-list > h2::before {
  content: ""; flex: none; width: 6px; height: 1.15em; border-radius: 999px;
  background: linear-gradient(180deg, var(--nogi), var(--sakura), var(--hinata));
}
.cal-filter h2 { font-size: 15px; margin: 18px 0 10px; }
.cal-filter h2:first-of-type { margin-top: 0; }

.sub-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
@media (min-width: 620px) { .sub-list { grid-template-columns: repeat(2, 1fr); } }
.sub-btn {
  display: block; padding: 13px 16px; border-radius: 14px; color: inherit;
  border: 1px solid var(--line-strong); background: var(--bg);
  transition: all .18s var(--ease);
}
.sub-btn:hover {
  text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow);
  border-color: var(--gc, var(--accent));
}
.sub-btn.all {
  background: linear-gradient(120deg, var(--nogi), var(--sakura) 55%, var(--hinata));
  border-color: transparent; color: #fff;
}
.sub-name { display: block; font-weight: 800; font-size: 14.5px; }
.sub-hint { display: block; font-size: 11.5px; color: var(--fg-faint); margin-top: 2px; }
.sub-btn.all .sub-hint { color: rgba(255,255,255,.85); }
.sub-note { margin: 12px 0 0; font-size: 11.5px; color: var(--fg-faint); line-height: 1.9; }
.sub-note code {
  background: var(--bg-soft); border-radius: 6px; padding: 2px 7px;
  font-size: 11px; word-break: break-all;
}

.deadline-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.deadline-list li {
  border: 1px solid var(--line); border-left: 5px solid var(--gc);
  border-radius: 12px; padding: 12px 15px; background: var(--bg);
}
.dl-group {
  display: inline-block; font-size: 10.5px; font-weight: 800; color: var(--gc);
  background: color-mix(in srgb, var(--gc) 12%, transparent);
  border-radius: 999px; padding: 1px 9px;
}
.dl-head { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dl-kind {
  font-size: 10.5px; font-weight: 800; color: #fff; background: #f43f5e;
  border-radius: 999px; padding: 1px 9px;
}
.dl-open {
  font-size: 10.5px; font-weight: 800; color: #fff; background: #10b981;
  border-radius: 999px; padding: 1px 9px;
}
.dl-title { display: block; font-weight: 800; font-size: 14.5px; margin: 6px 0 6px; }
.dl-deadline {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px;
  background: color-mix(in srgb, #f43f5e 10%, transparent);
  border-radius: 10px; padding: 7px 12px; margin-bottom: 6px;
}
.dl-cap {
  font-size: 10.5px; font-weight: 800; color: #fff; background: #f43f5e;
  border-radius: 5px; padding: 1px 8px;
}
.dl-deadline strong { font-size: 16px; color: #e11d48; }
@media (prefers-color-scheme: dark) { .dl-deadline strong { color: #fb7185; } }
.dl-left { font-size: 12px; font-weight: 800; color: var(--fg-mute); }
.dl-left.urgent { color: #fff; background: #e11d48; border-radius: 999px; padding: 1px 10px; }
.dl-span { display: block; font-size: 12.5px; color: var(--fg-mute); font-weight: 600; }
.dl-link { display: inline-block; margin-top: 7px; font-size: 12.5px; font-weight: 700; }

.ev-round {
  font-size: 10.5px; font-weight: 800; color: var(--kc);
  border: 1px solid var(--kc); border-radius: 999px; padding: 1px 9px;
}
.ev-deadline {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px;
  margin: 0 0 6px; background: var(--bg-soft); border-radius: 10px; padding: 6px 11px;
}
.ev-cap {
  font-size: 10px; font-weight: 800; color: #fff; background: var(--kc);
  border-radius: 5px; padding: 1px 8px;
}
.ev-deadline strong { font-size: 14.5px; }
.ev-left { font-size: 11.5px; font-weight: 800; color: var(--fg-faint); }
.ev-left.urgent { color: #fff; background: #e11d48; border-radius: 999px; padding: 1px 9px; }

.ev-venue {
  margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--fg-mute);
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.ev-cap-venue {
  font-size: 10px; font-weight: 800; color: var(--fg-mute);
  background: var(--bg-soft); border-radius: 5px; padding: 1px 8px;
}

.ev-add {
  display: inline-block; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--kc), color-mix(in srgb, var(--kc) 58%, #fff));
  border-radius: 999px; padding: 6px 15px;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.ev-add:hover {
  text-decoration: none; transform: translateY(-2px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--kc) 45%, transparent);
}
.ev-actions { align-items: center; }

.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chk {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--bg); cursor: pointer;
  user-select: none;
}
.chk:has(input:checked) {
  border-color: var(--gc, var(--accent));
  background: color-mix(in srgb, var(--gc, var(--accent)) 10%, transparent);
}
.chk input { accent-color: var(--gc, var(--accent)); margin: 0; }
.kind-ticket   { --gc: #f43f5e; }
.kind-live     { --gc: #ec4899; }
.kind-broadcast{ --gc: #38bdf8; }
.kind-release  { --gc: #8b5cf6; }
.kind-event    { --gc: #10b981; }

.cal-month { margin-bottom: 26px; }
.cal-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cal-grid {
  width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; table-layout: fixed;
}
.cal-grid th {
  font-size: 11.5px; font-weight: 800; padding: 8px 4px;
  background: var(--bg-soft); color: var(--fg-mute);
  border-bottom: 1px solid var(--line);
}
.cal-grid th.sat, .cal-cell.sat .cal-day { color: #3b82f6; }
.cal-grid th.sun, .cal-cell.sun .cal-day { color: #ef4444; }
.cal-cell {
  vertical-align: top; height: 92px; padding: 5px 5px 7px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cal-grid tr td:last-child { border-right: 0; }
.cal-grid tr:last-child td { border-bottom: 0; }
.cal-cell.empty { background: var(--bg-soft); }
.cal-cell.today { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.cal-day { display: block; font-size: 11.5px; font-weight: 800; color: var(--fg-mute); margin-bottom: 3px; }
.cal-cell.today .cal-day {
  color: #fff; background: var(--accent); border-radius: 6px;
  width: 22px; text-align: center;
}
.cal-ev {
  display: block; font-size: 10.5px; line-height: 1.45; color: var(--fg);
  background: color-mix(in srgb, var(--kc) 14%, transparent);
  border-left: 3px solid var(--kc); border-radius: 0 5px 5px 0;
  padding: 2px 4px; margin-bottom: 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cal-ev:hover { text-decoration: none; background: color-mix(in srgb, var(--kc) 26%, transparent); }
.cal-ev[hidden] { display: none; }
.ev-dot { display: none; }
.ev-time { font-weight: 800; margin-right: 3px; color: var(--kc); }

.ev-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.ev-list li {
  border: 1px solid var(--line); border-left: 5px solid var(--kc);
  border-radius: 14px; padding: 14px 16px; background: var(--bg-card);
  scroll-margin-top: 130px;
}
.ev-list li[hidden] { display: none; }
.ev-head { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-bottom: 6px; }
.ev-kind {
  font-size: 10.5px; font-weight: 800; color: #fff; background: var(--kc);
  border-radius: 999px; padding: 2px 10px;
}
.ev-group {
  font-size: 10.5px; font-weight: 800; color: var(--gc);
  background: color-mix(in srgb, var(--gc) 12%, transparent);
  border-radius: 999px; padding: 2px 10px;
}
.ev-soon, .ev-now {
  font-size: 10.5px; font-weight: 800; color: #fff;
  border-radius: 999px; padding: 2px 10px;
}
.ev-soon { background: #f59e0b; }
.ev-now { background: #10b981; }
.ev-title { margin: 0 0 4px; font-size: 15px; font-weight: 800; line-height: 1.5; }
.ev-span { margin: 0 0 8px; font-size: 13.5px; font-weight: 700; color: var(--fg-mute); }
.ev-actions { margin: 0; display: flex; flex-wrap: wrap; gap: 12px; font-size: 12.5px; }
.ev-gcal { font-weight: 700; }
.ev-note { color: var(--fg-faint); font-size: 11.5px; }

@media (max-width: 560px) {
  .cal-cell { height: 78px; }
  .cal-ev { font-size: 9.5px; }
}

/* ---------- ページ送り ---------- */

.pager { display: grid; gap: 11px; margin: 28px 0; }
@media (min-width: 640px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager a {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 18px; font-size: 13.5px; font-weight: 700; color: inherit;
  transition: all .18s var(--ease);
}
.pager a:hover {
  text-decoration: none; transform: translateY(-2px);
  box-shadow: var(--shadow); border-color: var(--line-strong);
}
.pager span { display: block; font-size: 10.5px; color: var(--fg-faint); font-weight: 700; letter-spacing: .04em; }
.pager-next { text-align: right; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 30px 0; font-size: 14px; }
.pg {
  background: var(--bg-card); border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 8px 20px; color: inherit; font-weight: 700; transition: all .16s var(--ease);
}
.pg:hover {
  text-decoration: none; color: #fff; border-color: transparent;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 58%, #fff));
}
.pg-current { color: var(--fg-faint); font-size: 13px; font-weight: 700; }

.related-block { margin: 38px 0; }

/* ---------- サイドバー ---------- */

.side-block {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 17px 19px; margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.side-block h2 {
  display: flex; align-items: center; gap: 9px;
  margin: 0 0 12px; font-size: 14px; font-weight: 800;
}
.side-block h2::before {
  content: ""; flex: none; width: 5px; height: 1.1em; border-radius: 999px;
  background: linear-gradient(180deg, var(--nogi), var(--sakura), var(--hinata));
}

.side-links { list-style: none; margin: 0; padding: 0; }
.side-links li { border-bottom: 1px solid var(--line); }
.side-links li:last-child { border-bottom: 0; }
.side-links a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 2px; font-size: 14px; font-weight: 700; color: var(--fg);
}
.side-links a:hover { color: var(--gc, var(--accent)); text-decoration: none; }
.side-links span {
  font-size: 10.5px; font-weight: 800; color: var(--gc, var(--fg-faint));
  background: color-mix(in srgb, var(--gc, var(--accent)) 12%, transparent);
  border-radius: 999px; padding: 1px 9px;
}

.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { border-bottom: 1px solid var(--line); }
.side-list li:last-child { border-bottom: 0; }
.side-list a { display: block; padding: 10px 2px; font-size: 12.5px; line-height: 1.65; color: var(--fg); }
.side-list a:hover { color: var(--accent); text-decoration: none; }
.s-date { display: block; font-size: 10px; font-weight: 800; color: var(--fg-faint); letter-spacing: .03em; }

.side-note { margin: 11px 0 0; font-size: 11.5px; color: var(--fg-faint); }

/* ---------- 広告枠 ---------- */

.ad-slot { margin: 24px 0; text-align: center; }
.ad-slot:empty { display: none; }
.ad-header { padding-top: 16px; }
.ad-in-article { margin: 30px 0; }
.ad-side { margin-bottom: 16px; }
.ad-label {
  display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .14em;
  color: var(--fg-faint); margin-bottom: 5px;
}
.ad-placeholder {
  border: 2px dashed var(--line-strong); border-radius: var(--radius); padding: 24px 12px;
  color: var(--fg-faint); font-size: 12px; background: var(--bg-card);
}

/* ---------- フッター ---------- */

.site-footer {
  position: relative;
  background: var(--bg-card); border-top: 1px solid var(--line);
  padding: 30px 0 38px; margin-top: 26px;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--nogi), var(--sakura) 50%, var(--hinata));
}
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.disclaimer { font-size: 11.5px; color: var(--fg-faint); line-height: 1.85; margin: 0 0 12px; }
.copyright { font-size: 11.5px; color: var(--fg-faint); margin: 0; }

/* ---------- 固定ページ ---------- */

.static-page .post-body h2 {
  display: flex; align-items: center; gap: 11px;
}
.static-page .post-body h2::before {
  content: ""; flex: none; width: 6px; height: 1.15em; border-radius: 999px;
  background: linear-gradient(180deg, var(--nogi), var(--sakura), var(--hinata));
}
.static-page .post-body h3 { margin-top: 24px; color: var(--accent); }
.static-page .post-body ul { padding-left: 1.4em; }
.static-page .post-body li { margin-bottom: 7px; }

.about-site {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 18px; padding: 24px; margin-top: 38px; box-shadow: var(--shadow-sm);
}
.about-site h2 { margin-top: 0; }
.about-site p { font-size: 14px; color: var(--fg-mute); }
