/* =======================================================================
   Astburn INSIGHTS — 共通スタイル（astburn.co.jp デザイン準拠）
   ※ このファイルは原則 触らないでください。
     色・フォント・ヘッダー/フッターのデザインは本体サイトと共通です。
   ======================================================================= */

:root {
  --ast-black: #0a0a0f;
  --ast-cyan:  #00f2ff;
  --ast-magenta: #ff3d9a;
  --ast-yellow:  #ffd23f;
  --ast-white: #f0f0f0;
  --ast-gray:  #888;
  --ast-dark:  #141418;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Noto Sans JP', 'Zen Kaku Gothic New', sans-serif;
  background: var(--ast-black);
  color: var(--ast-white);
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-montserrat { font-family: 'Zen Kaku Gothic New', sans-serif; }
.text-cyan { color: var(--ast-cyan); }

/* ===== Header（co.jp 準拠 / 触らない） ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 242, 255, 0.1);
}
.site-header .logo img { height: 32px; display: block; }
.site-header nav { display: flex; align-items: center; gap: 0; }
.site-header nav a {
  color: var(--ast-white); text-decoration: none;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 0.72rem; font-weight: 300;
  margin-left: 2.2rem; letter-spacing: 0.2em;
  text-transform: uppercase; transition: color 0.3s;
}
.site-header nav a:hover,
.site-header nav a.current { color: var(--ast-cyan); }
.site-header .nav-lang {
  margin-left: 2.2rem; padding-left: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 0.72rem; font-weight: 300; letter-spacing: 0.15em;
  color: var(--ast-white); text-decoration: none; transition: color 0.3s;
}
.site-header .nav-lang:hover { color: var(--ast-cyan); }
.nav-toggle {
  display: none; background: none; border: none;
  color: var(--ast-white); font-size: 1.5rem; cursor: pointer;
}

@media (max-width: 768px) {
  .site-header { padding: 1rem 1.2rem; }
  .site-header nav { display: none; }
  .nav-toggle { display: block; }
  .site-header.nav-open nav {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10, 10, 15, 0.98); padding: 2rem; gap: 1.5rem;
  }
  .site-header.nav-open nav a { margin-left: 0; font-size: 1rem; }
  .site-header.nav-open nav .nav-lang {
    margin-left: 0; padding-left: 0; border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem; margin-top: 0.5rem;
  }
}

/* ===== 共通レイアウト ===== */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }
.section-label {
  font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 0.75rem;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--ast-cyan); margin-bottom: 1rem;
}

/* ===== INSIGHTS トップ（記事一覧） ===== */
.insights-hero {
  padding: 10rem 0 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.insights-hero h1 {
  font-family: 'Zen Kaku Gothic New', sans-serif; font-weight: 900;
  font-size: clamp(2.2rem, 6vw, 4rem); letter-spacing: 0.02em; line-height: 1.2;
}
.insights-hero p { color: var(--ast-gray); margin-top: 1.2rem; max-width: 640px; }

.article-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem; padding: 4rem 0 6rem;
}
.article-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--ast-dark); border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px; overflow: hidden; transition: transform .3s, border-color .3s;
}
.article-card:hover { transform: translateY(-4px); border-color: rgba(0, 242, 255, 0.4); }
.article-card .thumb { aspect-ratio: 16 / 9; background: #1c1c22 center / cover no-repeat; }
.article-card .card-body { padding: 1.6rem; }
.article-card .card-meta {
  font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 0.68rem;
  letter-spacing: 0.15em; color: var(--ast-cyan); text-transform: uppercase;
}
.article-card h2 { font-size: 1.15rem; font-weight: 500; margin: 0.7rem 0 0.5rem; line-height: 1.5; }
.article-card .excerpt { color: var(--ast-gray); font-size: 0.9rem; }

@media (max-width: 768px) {
  .article-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .insights-hero { padding: 8rem 0 3rem; }
}

/* ===== 記事ページ ===== */
.article-main { padding: 9rem 0 5rem; }
.article-head { max-width: 760px; margin: 0 auto 3rem; }
.article-head .card-meta {
  font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 0.7rem;
  letter-spacing: 0.15em; color: var(--ast-cyan); text-transform: uppercase;
}
.article-head h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem); font-weight: 700;
  line-height: 1.4; margin: 1rem 0 1.2rem;
}
.article-head .lead { color: var(--ast-gray); font-size: 1.05rem; }

.article-body { max-width: 760px; margin: 0 auto; }
.article-body > * + * { margin-top: 1.6rem; }
.article-body h2 {
  font-size: 1.5rem; font-weight: 700; margin-top: 3rem;
  padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.article-body h3 { font-size: 1.2rem; font-weight: 500; color: var(--ast-cyan); }
.article-body p { color: #d8d8d8; }
.article-body a { color: var(--ast-cyan); text-decoration: underline; }
.article-body img { width: 100%; border-radius: 4px; }
.article-body ul, .article-body ol { padding-left: 1.4rem; color: #d8d8d8; }
.article-body li + li { margin-top: 0.5rem; }
.article-body blockquote {
  border-left: 3px solid var(--ast-cyan); padding-left: 1.4rem;
  color: var(--ast-white); font-size: 1.15rem; font-style: italic;
}
.article-back {
  display: inline-block; margin-top: 3.5rem;
  font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 0.75rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ast-cyan); text-decoration: none;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 2rem; text-align: center;
}
.site-footer .logo img { height: 26px; opacity: 0.85; margin-bottom: 1rem; }
.site-footer .f-links {
  display: flex; justify-content: center; gap: 1.8rem;
  flex-wrap: wrap; margin-bottom: 1.2rem;
}
.site-footer .f-links a {
  font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 0.7rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ast-gray); text-decoration: none; transition: color .3s;
}
.site-footer .f-links a:hover { color: var(--ast-cyan); }
.site-footer .copy {
  font-size: 0.72rem; color: #555;
  font-family: 'Zen Kaku Gothic New', sans-serif; letter-spacing: 0.1em;
}

/* =======================================================================
   記事内リッチパーツ（INSIGHTS コラム用 / co.jp 準拠・シアン基調）
   実験データ・数値バー・出典・要点・応用カード・シェア・相談CTA。
   ======================================================================= */

/* STEP ラベル / 強調 */
.article-body .step {
  display: inline-block; font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ast-cyan); margin-top: 2.4rem;
}
.article-body .q {
  font-size: 1.2rem; font-weight: 700; color: var(--ast-white);
  line-height: 1.7; border-left: 3px solid var(--ast-cyan);
  padding-left: 1.2rem;
}
.article-body .big { font-size: 1.15rem; font-weight: 700; color: var(--ast-white); }

/* 実験データブロック */
.exp {
  background: var(--ast-dark); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px; overflow: hidden;
}
.exp .exp-head {
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.12), rgba(0, 242, 255, 0.02));
  padding: 1.2rem 1.5rem; border-bottom: 1px solid rgba(0, 242, 255, 0.15);
}
.exp .exp-head .t {
  font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 0.64rem;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--ast-cyan);
}
.exp .exp-head h3 {
  font-size: 1.05rem; font-weight: 700; line-height: 1.55;
  margin: 0.4rem 0 0; padding: 0; border: none; color: var(--ast-white);
}
.exp .exp-body { padding: 1.2rem 1.5rem; }
.erow { display: flex; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.erow:last-child { border-bottom: none; }
.erow .k { flex: 0 0 64px; font-weight: 700; color: var(--ast-cyan); font-size: 0.8rem; }
.erow .v { font-size: 0.88rem; color: #d8d8d8; }

/* 数値バー */
.viz { margin: 1.4rem 0 0.3rem; }
.viz .vt { font-weight: 700; color: var(--ast-white); font-size: 0.9rem; margin-bottom: 0.7rem; }
.bar { display: flex; align-items: center; gap: 0.8rem; margin: 0.5rem 0; }
.bar .lab { flex: 0 0 88px; font-size: 0.78rem; color: var(--ast-gray); }
.bar .track { flex: 1; background: #0a0a0f; border-radius: 5px; height: 26px; overflow: hidden; }
.bar .fill {
  height: 100%; border-radius: 5px; display: flex; align-items: center;
  justify-content: flex-end; padding-right: 0.6rem; font-size: 0.78rem; font-weight: 700;
}
.bar .fill.lo { background: rgba(0, 242, 255, 0.3); color: var(--ast-white); }
.bar .fill.hi { background: var(--ast-cyan); color: var(--ast-black); }

/* 出典 */
.cite {
  font-size: 0.78rem; color: var(--ast-gray); background: #0a0a0f;
  border-radius: 4px; padding: 0.8rem 1rem; line-height: 1.65;
}
.cite em { color: #aaa; font-style: italic; }

/* 要点 / 自己診断 */
.takeaway {
  background: var(--ast-dark); border-left: 3px solid var(--ast-cyan);
  border-radius: 0 6px 6px 0; padding: 1.4rem 1.6rem;
}
.takeaway .hl { color: var(--ast-cyan); font-weight: 700; }
.takeaway p { margin: 0.5rem 0; font-size: 0.95rem; color: #d8d8d8; }
.selfcheck {
  background: rgba(0, 242, 255, 0.06); border: 1px solid rgba(0, 242, 255, 0.22);
  border-radius: 6px; padding: 1.2rem 1.5rem;
}
.selfcheck p { font-size: 0.95rem; color: #cdeef1; margin: 0; }
.selfcheck b { color: var(--ast-white); }

/* 応用カード（3列） */
.applycards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.ac {
  background: var(--ast-dark); border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 2px solid var(--ast-cyan); border-radius: 4px; padding: 1.2rem;
}
.ac .t {
  font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ast-cyan);
}
.ac h4 { color: var(--ast-white); font-size: 0.95rem; margin: 0.4rem 0 0.5rem; }
.ac p { font-size: 0.82rem; margin: 0; color: var(--ast-gray); }

/* タグ＋シェア */
.tagshare {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; padding: 1.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.tags a {
  display: inline-block; background: var(--ast-dark); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px; padding: 0.3rem 0.8rem; font-size: 0.78rem; color: var(--ast-gray);
  margin: 0 0.4rem 0.4rem 0; text-decoration: none;
}
.share { display: flex; align-items: center; gap: 0.6rem; }
.share .l {
  font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.15em; color: var(--ast-gray);
}
.share a {
  width: 34px; height: 34px; border-radius: 50%; background: var(--ast-dark);
  border: 1px solid rgba(255, 255, 255, 0.12); display: inline-flex;
  align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700;
  color: var(--ast-white); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.share a:hover { background: var(--ast-cyan); border-color: var(--ast-cyan); color: var(--ast-black); }

/* 相談CTA（収益動線） */
.cta-box {
  background: linear-gradient(150deg, rgba(0, 242, 255, 0.1), rgba(0, 242, 255, 0.02));
  border: 1px solid rgba(0, 242, 255, 0.25); border-radius: 8px;
  padding: 2rem; text-align: center; position: relative;
}
.cta-box .pr {
  position: absolute; top: 0.7rem; right: 0.9rem; font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 0.58rem; letter-spacing: 0.12em; color: var(--ast-gray);
}
.cta-box h3 {
  color: var(--ast-white); font-size: 1.2rem; font-weight: 700; line-height: 1.5;
  margin: 0 0 0.6rem; padding: 0; border: none;
}
.cta-box p { color: #cdeef1; font-size: 0.9rem; margin: 0 0 1.2rem; }
.cta-box a {
  display: inline-block; background: var(--ast-cyan); color: var(--ast-black);
  font-family: 'Zen Kaku Gothic New', sans-serif; font-weight: 700; letter-spacing: 0.04em;
  padding: 0.8rem 2rem; border-radius: 30px; font-size: 0.85rem; text-decoration: none;
  transition: opacity .2s;
}
.cta-box a:hover { opacity: 0.85; }

@media (max-width: 768px) {
  .applycards { grid-template-columns: 1fr; }
  .exp .exp-body { padding: 1rem 1.1rem; }
  .cta-box { padding: 1.6rem 1.2rem; }
}

/* =======================================================================
   2カラムレイアウト＋右サイドバー（一覧・記事ページ共通）
   ======================================================================= */
.insights-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem;
  max-width: 1180px; margin: 0 auto; padding: 3rem 2rem 6rem; align-items: start;
}
.insights-layout.article-layout { padding-top: 8rem; }
.insights-main { min-width: 0; }
.insights-main .article-head,
.insights-main .article-body { max-width: none; margin-left: 0; margin-right: 0; }
.insights-main .article-head { margin-bottom: 2.4rem; }
.insights-main .article-grid {
  padding: 0; gap: 1.8rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* フィルタ中見出し（一覧） */
.filter-label {
  font-size: 0.9rem; color: var(--ast-cyan); margin-bottom: 1.2rem;
  padding-bottom: 0.8rem; border-bottom: 1px solid rgba(0, 242, 255, 0.2);
}
.article-grid .empty { color: var(--ast-gray); padding: 2rem 0; }

/* === サイドバー === */
.insights-sidebar {
  position: sticky; top: 90px; align-self: start;
  display: flex; flex-direction: column; gap: 1.3rem;
}
.s-box {
  background: var(--ast-dark); border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px; padding: 1.3rem 1.4rem;
}
.s-box > h3 {
  font-size: 0.82rem; font-weight: 700; color: var(--ast-white);
  letter-spacing: 0.04em; margin: 0 0 1rem; padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--ast-cyan); display: inline-block;
}
/* 検索 */
.s-search { display: flex; background: #0a0a0f; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 5px; overflow: hidden; }
.s-search input { flex: 1; min-width: 0; background: transparent; border: none; color: var(--ast-white); padding: 0.6rem 0.8rem; font-size: 0.85rem; font-family: inherit; outline: none; }
.s-search button { background: var(--ast-cyan); border: none; color: var(--ast-black); padding: 0 0.9rem; font-size: 0.85rem; cursor: pointer; }
/* カテゴリ */
.s-cats { display: flex; flex-direction: column; }
.s-cats a { display: block; padding: 0.5rem 0; font-size: 0.85rem; color: #cfd3d8; border-bottom: 1px solid rgba(255, 255, 255, 0.05); transition: color .2s; }
.s-cats a:last-child { border-bottom: none; }
.s-cats a:hover, .s-cats a.on { color: var(--ast-cyan); }
.s-cats a.on::before { content: "▸ "; }
/* タグ（関連ワード） */
.s-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.s-tags a { background: #0a0a0f; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 20px; padding: 0.3rem 0.75rem; font-size: 0.76rem; color: var(--ast-gray); transition: color .2s, border-color .2s; }
.s-tags a:hover { color: var(--ast-cyan); border-color: var(--ast-cyan); }
/* 関連記事 */
.s-related { display: flex; flex-direction: column; gap: 0.9rem; }
.rel-item { display: flex; gap: 0.8rem; align-items: center; }
.rel-thumb { flex: 0 0 52px; height: 52px; border-radius: 4px; background: #1c1c22 center / cover no-repeat; }
.rel-tx { font-size: 0.82rem; font-weight: 500; color: var(--ast-white); line-height: 1.45; }
.rel-cat { display: block; font-size: 0.68rem; color: var(--ast-cyan); margin-top: 0.25rem; }
.s-related .muted { color: var(--ast-gray); font-size: 0.82rem; }
/* サイドバーCTA */
.s-cta { background: linear-gradient(150deg, rgba(0, 242, 255, 0.1), rgba(0, 242, 255, 0.02)); border-color: rgba(0, 242, 255, 0.25); position: relative; text-align: center; }
.s-cta .pr { position: absolute; top: 0.6rem; right: 0.8rem; font-size: 0.58rem; letter-spacing: 0.12em; color: var(--ast-gray); }
.s-cta-h { color: var(--ast-white); font-weight: 700; font-size: 1rem; line-height: 1.5; margin-bottom: 0.5rem; }
.s-cta-p { color: #cdeef1; font-size: 0.8rem; margin-bottom: 1rem; }
.s-cta a { display: inline-block; background: var(--ast-cyan); color: var(--ast-black); font-weight: 700; padding: 0.65rem 1.4rem; border-radius: 30px; font-size: 0.82rem; transition: opacity .2s; }
.s-cta a:hover { opacity: 0.85; }

@media (max-width: 900px) {
  .insights-layout { grid-template-columns: 1fr; gap: 2.2rem; padding: 2rem 1.5rem 4rem; }
  .insights-layout.article-layout { padding-top: 7rem; }
  .insights-sidebar { position: static; }
}

/* =======================================================================
   v2 タイポ＆密度調整：本文を主役に、しっかりした太ゴシック、読みやすく
   （白背景マガジンの密度・階層感を参考／ダーク基調は維持）
   ======================================================================= */
/* レイアウト：本文を広く、サイドバーは少しスリムに */
.insights-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 3.6rem; }

/* 記事ヘッダー */
.insights-main .article-head { border-bottom: 1px solid rgba(255, 255, 255, 0.09); padding-bottom: 1.6rem; }
.article-head h1 {
  font-weight: 900; line-height: 1.4; letter-spacing: 0.01em;
  font-size: clamp(2rem, 4.6vw, 2.9rem); margin: 0.9rem 0 1.1rem;
}
.article-head .card-meta { font-size: 0.72rem; letter-spacing: 0.16em; }
.article-head .lead { color: #c4cad4; font-size: 1.16rem; line-height: 1.95; }

/* ヒーロー画像（任意・記事冒頭の大ビジュアル） */
.article-hero {
  display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 8px; margin: 2rem 0 0;
  border: 1px solid rgba(0, 242, 255, 0.14);
}

/* 本文：大きめ・行間広め・コントラスト上げ・快適な行長 */
.insights-main .article-body { max-width: 720px; }
.article-body { font-size: 1.06rem; line-height: 1.95; }
.article-body > * + * { margin-top: 1.7rem; }
.article-body p { color: #dfe3e9; font-size: 1.06rem; line-height: 1.95; }
.article-body strong { color: #fff; font-weight: 700; }
.article-body .lead { color: #c4cad4; }

/* 見出し：太ゴシックでメリハリ */
.article-body h2 {
  font-size: 1.6rem; font-weight: 900; line-height: 1.45;
  margin-top: 3.2rem; padding-top: 1.6rem;
}
.article-body h3 { font-size: 1.22rem; font-weight: 700; color: var(--ast-cyan); margin-top: 2rem; }
.article-body .step { font-size: 0.72rem; letter-spacing: 0.24em; margin-top: 2.6rem; }
.article-body .q { font-size: 1.28rem; font-weight: 700; line-height: 1.72; }
.article-body .big { font-size: 1.22rem; }

/* サイドバー：密度を上げて整える */
.insights-sidebar { gap: 1.1rem; }
.s-box { padding: 1.2rem 1.3rem; }
.s-box > h3 { font-size: 0.8rem; letter-spacing: 0.05em; margin-bottom: 0.9rem; }
.s-cats a { font-size: 0.88rem; }
.rel-tx { font-size: 0.84rem; }

@media (max-width: 900px) {
  .insights-layout { grid-template-columns: 1fr; }
  .article-body { font-size: 1.02rem; }
}

/* =======================================================================
   テーマ切替（dark 既定 / light）。切替ボタンは site.js がヘッダーに注入。
   ======================================================================= */
.theme-toggle {
  background: none; border: 1px solid rgba(255, 255, 255, 0.22); color: var(--ast-white);
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer; line-height: 1;
  font-size: 0.9rem; display: inline-flex; align-items: center; justify-content: center;
  margin-left: 1.8rem; transition: color .2s, border-color .2s; flex: 0 0 auto;
}
.theme-toggle:hover { color: var(--ast-cyan); border-color: var(--ast-cyan); }

html[data-theme="light"] {
  --ast-black: #f5f7f9;
  --ast-dark: #ffffff;
  --ast-white: #15191f;
  --ast-gray: #5c646e;
  --ast-cyan: #00899c;
}
/* ヘッダー・ナビ・フッター */
html[data-theme="light"] .site-header { background: rgba(255, 255, 255, 0.9); border-bottom-color: rgba(0, 0, 0, 0.08); }
html[data-theme="light"] .theme-toggle { border-color: rgba(0, 0, 0, 0.25); }
html[data-theme="light"] .nav a,
html[data-theme="light"] .site-header .nav-lang,
html[data-theme="light"] .nav-toggle { color: #15191f; }
html[data-theme="light"] .site-footer { border-top-color: rgba(0, 0, 0, 0.1); }
html[data-theme="light"] .site-footer .copy { color: #98a0aa; }
html[data-theme="light"] .insights-hero { border-bottom-color: rgba(0, 0, 0, 0.08); }
/* 本文テキスト */
html[data-theme="light"] .article-body,
html[data-theme="light"] .article-body p,
html[data-theme="light"] .erow .v,
html[data-theme="light"] .takeaway p { color: #2b323c; }
html[data-theme="light"] .article-head .lead,
html[data-theme="light"] .article-body .lead { color: #4b535d; }
html[data-theme="light"] .article-body strong,
html[data-theme="light"] strong { color: #000; }
html[data-theme="light"] .selfcheck p,
html[data-theme="light"] .cta-box p,
html[data-theme="light"] .s-cta-p { color: #145863; }
html[data-theme="light"] .s-cats a { color: #39414b; }
/* ボーダー（白系→黒系） */
html[data-theme="light"] .article-card,
html[data-theme="light"] .s-box,
html[data-theme="light"] .exp,
html[data-theme="light"] .ac,
html[data-theme="light"] .article-hero,
html[data-theme="light"] .tags a,
html[data-theme="light"] .share a,
html[data-theme="light"] .s-tags a,
html[data-theme="light"] .s-search { border-color: rgba(0, 0, 0, 0.12); }
html[data-theme="light"] .article-body h2 { border-top-color: rgba(0, 0, 0, 0.1); }
html[data-theme="light"] .insights-main .article-head { border-bottom-color: rgba(0, 0, 0, 0.1); }
html[data-theme="light"] .tagshare { border-top-color: rgba(0, 0, 0, 0.1); border-bottom-color: rgba(0, 0, 0, 0.1); }
html[data-theme="light"] .erow,
html[data-theme="light"] .s-cats a { border-bottom-color: rgba(0, 0, 0, 0.07); }
/* 暗いリテラル背景 → 明色 */
html[data-theme="light"] .bar .track,
html[data-theme="light"] .cite,
html[data-theme="light"] .s-search,
html[data-theme="light"] .s-tags a,
html[data-theme="light"] .tags a { background: #eef1f4; }
html[data-theme="light"] .takeaway,
html[data-theme="light"] .ac,
html[data-theme="light"] .exp,
html[data-theme="light"] .share a { background: #f4f7f9; }
html[data-theme="light"] .s-search input { color: #15191f; }
html[data-theme="light"] .article-card .thumb,
html[data-theme="light"] .rel-thumb { background-color: #e3e7ec; }
/* シアン上の文字は白で固定（var(--ast-black)反転対策） */
html[data-theme="light"] .cta-box a,
html[data-theme="light"] .s-cta a,
html[data-theme="light"] .s-search button,
html[data-theme="light"] .bar .fill.hi { color: #ffffff; }
html[data-theme="light"] .bar .fill.lo { background: rgba(0, 137, 156, 0.22); color: #15191f; }

/* =======================================================================
   トップ：フィーチャー記事（マガジン風・最上部）＋セクション見出し
   ======================================================================= */
.grid-head {
  font-size: 1.05rem; font-weight: 900; color: var(--ast-white);
  margin: 0 0 1.2rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--ast-cyan); display: inline-block;
}
.featured-wrap:empty { display: none; }
.featured-card {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; margin-bottom: 2.6rem;
  background: var(--ast-dark); border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px; overflow: hidden; text-decoration: none; color: inherit;
  transition: border-color .3s, transform .3s;
}
.featured-card:hover { border-color: rgba(0, 242, 255, 0.4); transform: translateY(-3px); }
.featured-card .fc-img { background: #1c1c22 center / cover no-repeat; min-height: 290px; }
.featured-card .fc-body { padding: 2rem 2.2rem; display: flex; flex-direction: column; justify-content: center; }
.featured-card .fc-tag {
  font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ast-cyan); font-weight: 700;
}
.featured-card h2 {
  font-size: clamp(1.4rem, 2.3vw, 1.95rem); font-weight: 900; line-height: 1.45;
  margin: 0.7rem 0 0.8rem; color: var(--ast-white);
}
.featured-card .fc-ex { color: var(--ast-gray); font-size: 0.95rem; line-height: 1.8; }
.featured-card .fc-more {
  margin-top: 1.3rem; font-size: 0.72rem; letter-spacing: 0.15em;
  color: var(--ast-cyan); font-weight: 700;
}
@media (max-width: 680px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-card .fc-img { min-height: 190px; }
  .featured-card .fc-body { padding: 1.6rem; }
}
html[data-theme="light"] .featured-card { border-color: rgba(0, 0, 0, 0.1); }
html[data-theme="light"] .featured-card .fc-img { background-color: #e3e7ec; }

/* =======================================================================
   実験セクション（C案：署名フレーム＋主役スタッツ）
   全 .exp に "EXPERIMENT" リボン。記事ごとに .exp-stat（巨大数値）を主役に。
   ======================================================================= */
.exp { position: relative; border-color: rgba(0, 242, 255, 0.18); }
.exp::before {
  content: "EXPERIMENT"; position: absolute; top: 0; left: 0; z-index: 2;
  background: var(--ast-cyan); color: #04222a; font-weight: 900;
  font-size: 0.62rem; letter-spacing: 0.16em; padding: 0.32rem 0.95rem; border-radius: 0 0 8px 0;
}
.exp .exp-head { padding-top: 2.6rem; }
.exp.exp--result::before { display: none; }
.exp.exp--result { border-color: rgba(255, 255, 255, 0.08); }
.exp.exp--result .exp-head { padding-top: 1.2rem; }
html[data-theme="light"] .exp.exp--result { border-color: rgba(0, 0, 0, 0.1); }
.exp-stat {
  display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap;
  padding: 0.2rem 0 1.3rem; margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.exp-statnum {
  font-weight: 900; font-size: clamp(2.8rem, 7vw, 4.2rem); line-height: 1;
  color: var(--ast-cyan); letter-spacing: -0.02em;
}
.exp-statnum span { font-size: 0.42em; }
.exp-statcap { font-size: 0.98rem; line-height: 1.65; color: var(--ast-white); max-width: 360px; }
.exp-statcap small { display: block; color: var(--ast-gray); font-size: 0.85rem; margin-top: 0.25rem; }
.exp-statcap b { color: var(--ast-cyan); }
html[data-theme="light"] .exp::before { color: #ffffff; }
html[data-theme="light"] .exp { border-color: rgba(0, 137, 156, 0.3); }
html[data-theme="light"] .exp-stat { border-bottom-color: rgba(0, 0, 0, 0.1); }

/* トップ：テーマ別セクション見出し */
.section-head {
  font-size: 1.15rem; font-weight: 900; color: var(--ast-white);
  margin: 2.8rem 0 1.3rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--ast-cyan); display: inline-block;
}
[data-home-sections] > .section-head:first-child { margin-top: 0.4rem; }
[data-home-sections] .article-grid { margin-bottom: 0.4rem; }

/* =======================================================================
   retnews型ホーム（全幅・ダーク＋シアン）
   ======================================================================= */
.rn-home { max-width: 1240px; margin: 0 auto; padding: 6.5rem 2rem 5rem; }
.rn-sec-head { font-size: 1.05rem; font-weight: 900; color: var(--ast-white); border-bottom: 2px solid var(--ast-cyan); padding-bottom: 0.5rem; margin: 0 0 1.3rem; }

/* バッジ（タグを流用） */
.rn-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--ast-cyan); color: #04222a; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.04em; padding: 3px 10px; border-radius: 3px; }
html[data-theme="light"] .rn-badge { color: #fff; }

/* 画像オーバーレイ型カード */
.rn-ov { position: relative; display: block; border-radius: 6px; overflow: hidden; text-decoration: none; background: #16181f; }
.rn-ov .rn-img { position: absolute; inset: 0; background: #16181f center / cover no-repeat; transition: transform .4s; }
.rn-ov:hover .rn-img { transform: scale(1.05); }
.rn-ov::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,0) 75%); }
.rn-ov .rn-cap { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.3rem 1.4rem; }
.rn-ov h3 { color: #fff; font-weight: 900; line-height: 1.45; }
.rn-ov .rn-meta { color: rgba(255,255,255,.75); font-size: 0.72rem; margin-top: 0.5rem; }

/* ヒーロー */
.rn-hero { display: grid; grid-template-columns: 1.55fr 1fr; gap: 14px; margin-bottom: 1.8rem; }
.rn-hero .rn-big { min-height: 460px; }
.rn-hero .rn-big h3 { font-size: 1.85rem; }
.rn-hero .rn-rcol { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.rn-hero .rn-med { min-height: 223px; }
.rn-hero .rn-med h3 { font-size: 1.05rem; }

/* ティッカー（速報帯） */
.rn-ticker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; padding: 1rem 0 1.6rem; margin-bottom: 1.6rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
html[data-theme="light"] .rn-ticker { border-bottom-color: rgba(0,0,0,0.08); }
.rn-tk { display: flex; gap: 0.9rem; align-items: center; text-decoration: none; }
.rn-tk .rn-tkimg { flex: 0 0 96px; height: 70px; border-radius: 4px; background: #16181f center / cover no-repeat; }
.rn-tk .rn-tkbadge { font-size: 0.62rem; color: var(--ast-cyan); font-weight: 700; display: block; margin-bottom: 3px; }
.rn-tk .rn-tktitle { font-size: 0.88rem; font-weight: 700; color: var(--ast-white); line-height: 1.45; }

/* 4枚カード（タイトル下・既存article-card流用） */
.rn-home .article-grid { padding: 0; }
.rn-quad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; margin-bottom: 1.4rem; }
.rn-home .article-grid:not(.rn-quad) { grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 1.3rem; }
.rn-home [data-home-sections] .section-head { margin-top: 2.6rem; }

/* 新着＋人気 2カラム（左＝新着＋テーマ別を連続、右＝サイドバー） */
.rn-rp { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.6rem; margin-bottom: 2.6rem; align-items: start; }
.rn-recent { min-width: 0; }
.rn-recent [data-home-sections] { margin-top: 0.4rem; }
.rn-recent [data-home-sections] .section-head { margin-top: 1.8rem; margin-bottom: 1rem; }
.rn-recent [data-home-sections] .article-grid { margin-bottom: 0.2rem; }
.rn-recent .rn-list { margin-bottom: 0.6rem; }
.rn-side { position: sticky; top: 86px; align-self: start; }

/* サイドバー文字を大きく（特にタグ） */
.s-tags a { font-size: 0.86rem; padding: 0.42rem 0.95rem; }
.s-cats a { font-size: 0.96rem; }
.rn-side .rn-sec-head { font-size: 1.4rem; }
.rn-side .s-tags a { font-size: 0.95rem; padding: 0.48rem 1.05rem; }
.rn-side .s-cats a { font-size: 1.04rem; padding: 0.6rem 0; }
.rn-side .s-search input { font-size: 0.98rem; padding: 0.75rem 0.95rem; }
.rn-side .s-search button { font-size: 1.05rem; }
.rn-side .rn-poptx { font-size: 1.12rem; }
.rn-side .rn-popnum { flex: 0 0 38px; height: 38px; font-size: 1rem; }
.rn-side .rn-popitem .rn-libadge { font-size: 0.76rem !important; }
.rn-side .s-cta-h { font-size: 1.2rem; }
.rn-side .s-cta-p { font-size: 0.94rem; }
.rn-side .s-cta a { font-size: 1rem; padding: 0.78rem 1.7rem; }
.rn-recent-top { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 1.4rem; }
.rn-recent-top .rn-ov { min-height: 240px; }
.rn-recent-top h3 { font-size: 1.1rem; }
.rn-list { display: flex; flex-direction: column; gap: 1.1rem; }
.rn-li { display: flex; gap: 0.9rem; align-items: center; text-decoration: none; }
.rn-li .rn-lithumb { flex: 0 0 92px; height: 64px; border-radius: 4px; background: #16181f center / cover no-repeat; }
.rn-li .rn-libadge { font-size: 0.62rem; color: var(--ast-cyan); font-weight: 700; display: block; margin-bottom: 3px; }
.rn-li .rn-litx { font-size: 0.9rem; font-weight: 700; color: var(--ast-white); line-height: 1.45; }
/* 人気（番号付き） */
.rn-side > * + * { margin-top: 1.6rem; }
.rn-pop { display: flex; flex-direction: column; gap: 1.1rem; }
.rn-popitem { display: flex; gap: 0.9rem; align-items: flex-start; text-decoration: none; }
.rn-popnum { flex: 0 0 32px; height: 32px; border-radius: 50%; border: 1px solid var(--ast-cyan); color: var(--ast-cyan); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 0.85rem; }
.rn-poptx { font-size: 0.88rem; font-weight: 700; color: var(--ast-white); line-height: 1.45; }
.rn-popitem .rn-libadge { font-size: 0.62rem; color: var(--ast-cyan); display: block; margin-bottom: 2px; }

@media (max-width: 900px) {
  .rn-hero, .rn-rp { grid-template-columns: 1fr; }
  .rn-quad { grid-template-columns: repeat(2, 1fr); }
  .rn-ticker { grid-template-columns: 1fr; gap: 1rem; }
  .rn-hero .rn-big { min-height: 320px; }
}
@media (max-width: 560px) { .rn-quad, .rn-recent-top { grid-template-columns: 1fr; } }

/* === ニュースホーム refine（フォント・サイズ・色アクセント） === */
.rn-home { font-family: 'Noto Sans JP', 'Zen Kaku Gothic New', sans-serif; }
.rn-home .rn-sec-head { font-size: 1.3rem; font-weight: 900; letter-spacing: 0.01em; }
.rn-home .rn-big h3 { font-size: 2.2rem; font-weight: 900; }
.rn-home .rn-med h3 { font-size: 1.18rem; font-weight: 900; }
.rn-home .rn-ov h3 { font-weight: 900; }
.rn-home .article-card h2 { font-size: 1.12rem; font-weight: 700; }
/* 4枚カード：抜粋2行・タイトル2行・縦短く */
.rn-quad .article-card h2,
.rn-quad .article-card .excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rn-quad .article-card .card-body { padding: 1.1rem 1.2rem; }
.rn-quad .article-card .thumb { aspect-ratio: 16 / 10; }
/* よく読まれている・新着リスト：大きく目立つ */
.rn-pop { gap: 1.3rem; }
.rn-poptx { font-size: 1.02rem; }
.rn-popnum { flex: 0 0 36px; height: 36px; font-size: 0.95rem; }
.rn-li .rn-litx { font-size: 0.98rem; }
.rn-tk .rn-tktitle { font-size: 0.94rem; }
.rn-libadge, .rn-tkbadge, .rn-popitem .rn-libadge { font-size: 0.66rem !important; letter-spacing: 0.04em; }

/* テーマ別セクション 色分け（シアン / マゼンタ / イエロー） */
.rn-theme { --accent: var(--ast-cyan); }
.rn-theme[data-accent="magenta"] { --accent: var(--ast-magenta); }
.rn-theme[data-accent="yellow"] { --accent: var(--ast-yellow); }
.rn-theme .section-head { border-bottom-color: var(--accent); }
.rn-theme .article-card .card-meta { color: var(--accent); }
.rn-theme .article-card:hover { border-color: var(--accent); }
/* 人気番号は巡回色 */
.rn-popitem:nth-child(2) .rn-popnum { border-color: var(--ast-magenta); color: var(--ast-magenta); }
.rn-popitem:nth-child(3) .rn-popnum { border-color: var(--ast-yellow); color: var(--ast-yellow); }
