/* ==========================================================================
   WEBMARKS AIO JOURNAL — style.css
   白基調・クリーンなエディトリアルデザイン。外部CDN依存なし・単一ファイル完結。

   タイポグラフィ方針:
     本文/UI  = 游ゴシック系(--font-sans)  … 依頼仕様どおり本文の基本書体
     見出し・引用等の要所のみ = 游明朝系(--font-serif) … 記者媒体としての格・可読性の抑揚
     メタ情報・カテゴリ表示・コード = 等幅(--font-mono) … 「引用・構造化」を視覚的に体現

   シグネチャ: 角カッコ([ ])モチーフ。カテゴリバッジ・pull quote(引用されやすい定義文)・
   ヒーローのタグラインで一貫使用。「AIに引用される」というメディアの核心コンセプトを
   タイポグラフィで表現する(装飾ではなく差別化軸4=メディア自体がAIOショーケードの可視化)。
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, li, figure, figcaption, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }
table { border-collapse: collapse; }

/* ---------- Tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-subtle: #f6f7f9;
  --bg-inverse: #12161d;
  --ink: #14181f;
  --ink-soft: #4c5561;
  --ink-faint: #8892a0;
  --rule: #e4e7ec;
  --rule-strong: #ccd2db;
  --brand-cyan: #2FB7C9;
  --brand-orange: #E07A3F;
  --brand: #17213c;
  --brand-strong: #0b1120;
  --focus-ring: #1b6de0;

  --cat-news: #b34a28;
  --cat-basics: #2f6b4f;
  --cat-technical: #1f5fa8;
  --cat-measurement: #6b4fa0;
  --cat-research: #14304f;
  --cat-case-study: #9c7a1f;
  --cat-global: #1b7a6e;
  --cat-strategy: #7a2e3d;

  --font-sans: "YuGothic", "Yu Gothic Medium", "Yu Gothic", "Hiragino Kaku Gothic ProN",
               "Hiragino Sans", "Noto Sans JP", -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, sans-serif;
  --font-serif: "YuMincho", "Yu Mincho", "Hiragino Mincho ProN", "HiraMinProN-W3",
                "Noto Serif JP", serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --content-max: 720px;
  --page-max: 1180px;
  --radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 640px) {
  body { font-size: 16.5px; }
}

:focus-visible {
  outline: 2.5px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
  font-size: 0.9rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap { max-width: var(--page-max); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 960px) { .wrap { padding: 0 2.5rem; } }

/* ---------- Bracket motif(シグネチャ部品) ---------- */
.bracket-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.08em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent, var(--brand));
  white-space: nowrap;
}
.bracket-tag .bracket { opacity: 0.5; }
a.bracket-tag { transition: opacity 0.15s ease; }
a.bracket-tag:hover { opacity: 0.7; }

.dot { display: inline-block; width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--accent, var(--brand)); flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: relative; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 1rem;
}
.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-serif); font-weight: 700;
  font-size: 1.18rem; letter-spacing: 0.01em; color: var(--ink);
}
.brand-sub {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.09em;
  color: var(--ink-faint); text-transform: uppercase; margin-top: 0.15rem;
}

.desk-nav { display: none; }
/* 2026-07-25 ヘッダーナビ折返し崩れ修正: CJKテキストはflexアイテムの既定min-width:auto
   により、単語区切り(スペース)が無いため任意の文字位置で改行され得る
   (「基礎・入」「門」のような崩れの原因)。960px以上ではまず横スクロール容器として
   flex-shrinkを許容しない構造にし、各リンクをwhite-space:nowrap+flex:noneで
   「項目単位」に固定する(文字単位の折返しを構造的に禁止)。 */
@media (min-width: 960px) {
  .desk-nav {
    display: flex; align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none; -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
  }
  .desk-nav::-webkit-scrollbar { display: none; height: 0; }
  .desk-nav a {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-size: 0.86rem; font-weight: 600; color: var(--ink-soft);
    padding: 0.4rem 0; border-bottom: 2px solid transparent;
    white-space: nowrap; flex: none;
    transition: color 0.15s ease, border-color 0.15s ease;
  }
  .desk-nav a:hover, .desk-nav a.is-active { color: var(--ink); border-color: var(--accent, var(--brand)); }
}
/* 1280px以上(真のデスクトップ幅)は横スクロールをやめ、行単位で整った折返しに切り替える。
   項目が増えて1行に収まらなくなっても、各<a>がflex:none+white-space:nowrapのため
   折返し単位は常に「項目まるごと」で、文字の途中では絶対に折り返さない。 */
@media (min-width: 1280px) {
  .desk-nav {
    flex-wrap: wrap;
    row-gap: 0.6rem;
    overflow-x: visible;
    -webkit-mask-image: none;
            mask-image: none;
  }
}

.nav-toggle-input { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
  width: 34px; height: 34px; cursor: pointer;
}
@media (min-width: 960px) { .nav-toggle-label { display: none; } }
.nav-toggle-label span { display: block; height: 2px; background: var(--ink); border-radius: 1px; }

.mobile-nav {
  /* 注意: .wrapクラスをここで併用しない。.site-header .wrap{display:flex}(詳細度0,2,0)が
     このルール(詳細度0,1,0)より強く勝ってしまい、非表示のはずのモバイルメニューが常時
     展開表示されてしまう不具合を過去に踏んだ(CSS詳細度の衝突)。paddingは独自に持つ。 */
  display: none; border-top: 1px solid var(--rule); background: var(--bg);
  padding: 0.5rem 1.25rem 1rem;
}
.mobile-nav a {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.65rem 0; font-size: 0.95rem; font-weight: 600; color: var(--ink-soft);
  border-bottom: 1px solid var(--rule);
}
.mobile-nav a:last-child { border-bottom: none; }
@media (min-width: 960px) { .mobile-nav { display: none !important; } }
.nav-toggle-input:checked ~ .mobile-nav { display: block; }

/* ---------- Hero slider(トップのみ・2026-07-24全面リッチ化) ----------
   CSS scroll-snap + 軽量vanilla JS(assets/js/hero-slider.js)。外部ライブラリ不使用。
   背景はassets/img/hero/slide-N-bg.svgを参照する構造にし、Image2.0復旧後は同名ファイルを
   差し替えるだけで写真背景へ移行できる設計にしてある。 */
.hero-slider { position: relative; background: var(--bg-inverse); }
.hero-slider-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
}
.hero-slider-track::-webkit-scrollbar { display: none; height: 0; }
.hero-slide {
  flex: 0 0 100%; scroll-snap-align: start; min-height: 440px;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  background-color: var(--bg-inverse);
  display: flex; align-items: center;
}
@media (min-width: 720px) { .hero-slide { min-height: 520px; } }
.hero-slide-inner { padding: 3.5rem 1.25rem; max-width: 640px; margin: 0 auto; width: 100%; }
@media (min-width: 960px) { .hero-slide-inner { padding: 3.5rem 2.5rem; } }
.hero-logo {
  height: 34px; width: auto; margin-bottom: 2rem;
  filter: brightness(0) invert(1); opacity: 0.96; /* 紺背景に馴染ませる表示側フィルタ。原本SVGは無加工 */
}
.hero-slide .hero-tagline {
  font-family: var(--font-serif); font-weight: 700; color: #fff;
  font-size: clamp(1.7rem, 5.4vw, 2.7rem); line-height: 1.42; max-width: 16ch;
}
.hero-slide .hero-tagline .bracket { color: #8FE0EC; opacity: 0.85; font-weight: 400; }
.hero-slide .hero-subcopy {
  margin-top: 1.35rem; max-width: 38ch; font-size: 1rem; line-height: 1.9;
  color: rgba(255,255,255,0.82); word-break: keep-all; overflow-wrap: anywhere;
}
.hero-slide .hero-meta {
  margin-top: 2rem; display: flex; gap: 1.5rem; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.72rem; color: rgba(255,255,255,0.55); letter-spacing: 0.04em;
}
/* 注目記事スライドの2カラム化(デスクトップのみサムネイルを見せる) */
.hero-slide-inner--split { display: grid; gap: 2.5rem; align-items: center; }
.hero-feature-thumb { display: none; }
@media (min-width: 960px) {
  .hero-slide-inner--split { grid-template-columns: 1.15fr 1fr; max-width: 1080px; }
  .hero-feature-thumb {
    display: block; border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 28px 56px -26px rgba(0,0,0,0.65);
    transition: transform 0.2s ease;
  }
  .hero-feature-thumb:hover { transform: translateY(-3px); }
  .hero-feature-thumb img { display: block; width: 100%; height: auto; }
}

.hero-eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: 0.78rem;
  letter-spacing: 0.1em; color: #8FE0EC; margin-bottom: 1.1rem;
}
.hero-feature-title {
  font-family: var(--font-serif); font-weight: 700; color: #fff;
  font-size: clamp(1.4rem, 3.6vw, 2rem); line-height: 1.5; max-width: 20ch;
}
.hero-feature-title a { color: #fff; }
.hero-feature-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-feature-lead { margin-top: 1.1rem; max-width: 50ch; font-size: 0.98rem; line-height: 1.85; color: rgba(255,255,255,0.82); }
.hero-cta {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.75rem;
  padding: 0.85rem 1.6rem; background: var(--brand-orange, #E07A3F); color: #fff;
  font-weight: 700; font-size: 0.92rem; border-radius: 2px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.hero-cta:hover { background: #c96428; transform: translateY(-1px); }
.hero-stats {
  margin-top: 1.75rem; display: inline-flex; font-family: var(--font-mono);
  font-size: 0.82rem; color: rgba(255,255,255,0.7); letter-spacing: 0.03em;
  border: 1px dashed rgba(255,255,255,0.3); padding: 0.5rem 0.9rem; border-radius: 2px;
}
.hero-dots {
  position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  display: flex; gap: 0.6rem; z-index: 2;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35);
  border: none; padding: 0; cursor: pointer; transition: background 0.2s ease, transform 0.2s ease;
}
.hero-dot:hover { background: rgba(255,255,255,0.6); }
.hero-dot.is-active { background: #fff; transform: scale(1.35); }
/* JS未実行時のフォールバック: スクロールスナップだけで手動スワイプ/横スクロールは機能する */
.hero-slider-track:focus-within { outline: none; }

/* ---------- Section shell ---------- */
.section { padding: 3.25rem 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section:nth-of-type(even) { background: var(--bg-subtle); }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.75rem; flex-wrap: wrap;
}
.section-title { display: flex; align-items: baseline; gap: 0.7rem; }
.section-title h2 {
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--ink);
}
.section-desc { color: var(--ink-soft); font-size: 0.92rem; max-width: 56ch; margin-top: 0.35rem; }
.section-more {
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; color: var(--accent, var(--brand));
  white-space: nowrap;
}
.section-more:hover { text-decoration: underline; }

/* ---------- Card grid ---------- */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex; flex-direction: column; gap: 0.85rem;
  border: 1px solid var(--rule); border-top: 3px solid var(--accent, var(--brand));
  border-radius: var(--radius); padding: 1.5rem;
  background: var(--bg);
  box-shadow: 0 1px 2px rgba(20,24,31,0.04);
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.18s ease;
}
.card:hover { box-shadow: 0 16px 36px -20px rgba(20,24,31,0.4); transform: translateY(-3px); }
.card-thumb {
  margin: -1.5rem -1.5rem 0.3rem; border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden; aspect-ratio: 1200 / 630; background: var(--bg-subtle);
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.card:hover .card-thumb img { transform: scale(1.035); }
.card-badges { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.card-provider { font-size: 0.72rem; color: var(--ink-faint); font-family: var(--font-mono); }
.card h3 { font-size: 1.05rem; line-height: 1.55; font-weight: 700; color: var(--ink); }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card h3 a { position: static; }
.card { position: relative; }
.card-excerpt {
  font-size: 0.87rem; color: var(--ink-soft); line-height: 1.75; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta {
  display: flex; align-items: center; gap: 0.9rem; font-size: 0.74rem; color: var(--ink-faint);
  font-family: var(--font-mono); padding-top: 0.6rem; border-top: 1px solid var(--rule);
}
.status-flag {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.05em;
  color: var(--ink-faint); border: 1px solid var(--rule-strong); border-radius: 2px; padding: 0.1em 0.45em;
}

/* ---------- Desk list rows(トップのカテゴリ別セクション) ---------- */
.row-list { display: flex; flex-direction: column; }
.row-item {
  display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0.75rem;
  margin: 0 -0.75rem; border-bottom: 1px solid var(--rule); border-radius: 2px;
  transition: background 0.15s ease, padding-left 0.15s ease;
}
.row-item:first-child { }
.row-item:hover { background: var(--bg-subtle); }
.row-item .dot { margin-top: 0.55em; }
.row-item-body { flex: 1; min-width: 0; }
.row-item h3 { font-size: 0.98rem; font-weight: 700; line-height: 1.6; }
.row-item h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.row-item-meta { margin-top: 0.3rem; font-size: 0.76rem; color: var(--ink-faint); font-family: var(--font-mono); display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ---------- Category hub header ---------- */
.category-band { padding: 3rem 0 2.5rem; border-bottom: 1px solid var(--rule); background: var(--bg-subtle); }
.category-band .eyebrow { color: var(--accent, var(--brand)); }
.category-band h1 { font-family: var(--font-serif); font-size: clamp(1.7rem, 4vw, 2.3rem); margin-top: 0.6rem; }
.category-band p { margin-top: 0.85rem; color: var(--ink-soft); max-width: 62ch; line-height: 1.9; }
.eyebrow { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; font-weight: 700; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center;
  font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-faint);
  max-width: var(--content-max); margin: 0 auto; padding: 1.5rem 1.25rem 0;
}
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb .sep { opacity: 0.5; }

/* ---------- Article header ---------- */
.article-header { max-width: var(--content-max); margin: 0 auto; padding: 1.25rem 1.25rem 0; }
.article-title {
  font-family: var(--font-serif); font-weight: 700; color: var(--ink);
  font-size: clamp(1.55rem, 4.4vw, 2.15rem); line-height: 1.55; margin-top: 1rem;
}
.article-lead { margin-top: 1.1rem; font-size: 1.02rem; color: var(--ink-soft); line-height: 1.9; }
.article-meta {
  margin-top: 1.5rem; padding: 1rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; align-items: center;
  font-size: 0.8rem; color: var(--ink-soft);
}
.article-meta .meta-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.article-meta .meta-label { font-family: var(--font-mono); color: var(--ink-faint); font-size: 0.7rem; }

/* ---------- TOC ---------- */
.toc {
  max-width: var(--content-max); margin: 1.75rem auto 0; padding: 1.25rem 1.5rem;
  border: 1px solid var(--rule); border-radius: var(--radius); background: var(--bg-subtle);
}
.toc summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.08em; font-weight: 700; color: var(--ink-soft);
  text-transform: uppercase;
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "\2212"; font-family: var(--font-mono); }
.toc:not([open]) summary::after { content: "+"; }
.toc-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.55rem; }
.toc-list a {
  display: flex; gap: 0.75rem; font-size: 0.9rem; color: var(--ink);
}
.toc-list a:hover { color: var(--brand); }
.toc-num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-faint); flex: none; }

/* ---------- 記事メディア資産(スライド/音声/動画の自動埋め込み・2026-07-25追加) ----------
   assets/media/<記事id小文字>/ にファイルが1本でもあれば目次直後に表示するカード。
   モバイル既定→min-width:640pxで拡張する、サイト全体のブレークポイント方針に合わせる。 */
.article-media {
  max-width: var(--content-max); margin: 1.75rem auto 0; padding: 1.35rem 1.25rem 1.5rem;
  border: 1px solid var(--rule); border-radius: var(--radius); background: var(--bg-subtle);
  display: flex; flex-direction: column; gap: 1.5rem;
}
@media (min-width: 640px) {
  .article-media { padding: 1.6rem 1.75rem 1.85rem; gap: 1.75rem; }
}
.article-media-head { display: flex; flex-direction: column; gap: 0.3rem; }
.article-media-head .eyebrow {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; font-weight: 700;
  color: var(--brand); text-transform: uppercase;
}
.article-media-head h2 { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; color: var(--ink); margin: 0; }
.article-media-note { font-size: 0.76rem; color: var(--ink-faint); margin: 0; line-height: 1.6; }
.article-media-item { display: flex; flex-direction: column; gap: 0.6rem; }
.article-media-label {
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.04em; font-weight: 700;
  color: var(--ink-soft); margin: 0;
}
.article-media-frame {
  width: 100%; height: 280px; border: 1px solid var(--rule); border-radius: var(--radius);
  overflow: hidden; background: #ffffff;
}
@media (min-width: 640px) {
  .article-media-frame { height: 480px; }
}
.article-media-frame object { width: 100%; height: 100%; border: 0; display: block; }
.article-media-frame-video { background: var(--bg-inverse); }
.article-media-video { width: 100%; height: 100%; display: block; object-fit: contain; background: var(--bg-inverse); }
.article-media-fallback { padding: 1.5rem; font-size: 0.85rem; color: var(--ink-soft); line-height: 1.8; }
.article-media-fallback a { color: var(--brand); font-weight: 600; }
.article-media-audio { width: 100%; display: block; }
.article-media-download {
  align-self: flex-start; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700;
  color: var(--brand); border: 1px solid var(--rule-strong); border-radius: var(--radius);
  padding: 0.5rem 0.9rem; background: var(--bg); transition: background 0.15s ease;
}
.article-media-download:hover { background: #ffffff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Article body ---------- */
.article-body { max-width: var(--content-max); margin: 0 auto; padding: 2.25rem 1.25rem 1rem; }
.article-body > *:first-child { margin-top: 0; }
.article-body p { font-size: 1rem; line-height: 1.95; color: var(--ink); margin: 1.35rem 0; }
.article-body strong { font-weight: 700; }
.article-body ul, .article-body ol { margin: 1.4rem 0; padding-left: 1.4rem; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin: 0.55rem 0; line-height: 1.85; }
.article-body li::marker { color: var(--ink-faint); }

h2.section-heading {
  display: flex; align-items: baseline; gap: 0.7rem;
  font-family: var(--font-serif); font-weight: 700; color: var(--ink);
  font-size: clamp(1.28rem, 3vw, 1.55rem); margin: 3.25rem 0 1.25rem; scroll-margin-top: 84px;
}
.article-body h2.section-heading:first-of-type { margin-top: 0.5rem; }
.section-no { font-family: var(--font-mono); font-size: 0.82rem; font-weight: 600; color: var(--brand); opacity: 0.5; }
.article-body h3 { font-size: 1.08rem; font-weight: 700; margin: 1.75rem 0 0.75rem; scroll-margin-top: 84px; }

/* pull quote(引用されやすい定義文) */
blockquote.pullquote {
  position: relative; margin: 3rem 0; padding: 0.4rem 2.6rem;
}
.pullquote-label {
  display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.09em;
  color: var(--ink-faint); text-transform: uppercase; margin-bottom: 0.7rem;
}
.pullquote p {
  font-family: var(--font-serif); font-weight: 700; color: var(--ink);
  font-size: clamp(1.15rem, 2.6vw, 1.45rem); line-height: 1.85; margin: 0;
}
.pullquote::before, .pullquote::after {
  position: absolute; font-family: var(--font-serif); font-size: 2.6rem; color: var(--brand); opacity: 0.24; line-height: 1;
}
.pullquote::before { content: "\FF3B"; left: -0.15rem; top: 1.5rem; }
.pullquote::after { content: "\FF3D"; right: -0.15rem; top: 1.5rem; }

/* 図解プレースホルダ */
figure.diagram-placeholder {
  position: relative; margin: 2.75rem 0; padding: 2.75rem 1.5rem;
  border: 1.5px dashed var(--rule-strong); border-radius: var(--radius);
  background: var(--bg-subtle); text-align: center;
}
figure.diagram-placeholder .corner { position: absolute; width: 14px; height: 14px; }
.corner-tl { top: -1px; left: -1px; border-top: 2px solid var(--ink-faint); border-left: 2px solid var(--ink-faint); }
.corner-tr { top: -1px; right: -1px; border-top: 2px solid var(--ink-faint); border-right: 2px solid var(--ink-faint); }
.corner-bl { bottom: -1px; left: -1px; border-bottom: 2px solid var(--ink-faint); border-left: 2px solid var(--ink-faint); }
.corner-br { bottom: -1px; right: -1px; border-bottom: 2px solid var(--ink-faint); border-right: 2px solid var(--ink-faint); }
.diagram-label {
  display: block; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.05em;
  color: var(--ink-soft); margin-bottom: 0.75rem;
}
figure.diagram-placeholder figcaption {
  font-family: var(--font-serif); font-style: italic; color: var(--ink-soft);
  font-size: 0.95rem; max-width: 480px; margin: 0 auto; line-height: 1.8;
}

/* 図解SVG埋め込み(2026-07-24 TASK-164で追加。diagram-placeholderの後継=SVGが
   用意された図解はこちらでレンダリングする。破線枠・📊ラベルは使わない=もう
   「制作中」ではなく完成した図解であることを見た目でも示す) */
figure.diagram-embed { margin: 2.75rem 0; }
figure.diagram-embed svg {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--rule); border-radius: var(--radius);
  background: #ffffff;
}
figure.diagram-embed figcaption {
  margin-top: 0.85rem; font-family: var(--font-serif); font-style: italic;
  color: var(--ink-soft); font-size: 0.92rem; text-align: center; line-height: 1.8;
}

/* 表 */
.table-scroll { overflow-x: auto; margin: 2.25rem 0; border: 1px solid var(--rule); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.table-scroll table { width: 100%; min-width: 480px; font-size: 0.9rem; }
.table-scroll th, .table-scroll td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; line-height: 1.65; }
.table-scroll thead th { background: var(--bg-subtle); font-weight: 700; white-space: nowrap; }
.table-scroll tbody tr:last-child td { border-bottom: none; }

/* チェックリスト */
.checklist { padding-left: 0; margin: 1.5rem 0; }
.checklist-item { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.4rem 0; }
.check-box { flex: none; width: 1.05em; height: 1.05em; margin-top: 0.28em; border: 1.5px solid var(--rule-strong); border-radius: 3px; }
.checklist-item.is-checked .check-box { background: var(--brand); border-color: var(--brand); }

/* コード */
code { font-family: var(--font-mono); font-size: 0.88em; background: var(--bg-subtle); padding: 0.15em 0.4em; border-radius: 3px; }
pre.code-block {
  background: var(--brand-strong); color: #e7ebf2; padding: 1.35rem 1.5rem; border-radius: 6px;
  overflow-x: auto; margin: 2.25rem 0; font-size: 0.84rem; line-height: 1.75; -webkit-overflow-scrolling: touch;
}
pre.code-block code { background: none; padding: 0; color: inherit; }

/* ※要確認 インライン注記 */
.note-flag { border-bottom: 1px dotted #a9762a; color: #7c500f; background: #fbf1de; padding: 0.03em 0.32em; border-radius: 2px; font-size: 0.95em; white-space: nowrap; }

/* FAQ アコーディオン(details/summary・JSなし) */
.faq-list { margin-top: 0.5rem; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  cursor: pointer; list-style: none; position: relative; padding: 1.15rem 2.1rem 1.15rem 0;
  font-weight: 700; color: var(--ink); line-height: 1.6; font-size: 0.98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0.15rem; top: 1.0rem;
  font-family: var(--font-mono); font-size: 1.1rem; color: var(--brand);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding: 0 0.25rem 1.4rem; color: var(--ink-soft); }
.faq-answer p { margin: 0.5rem 0; font-size: 0.96rem; line-height: 1.85; }

/* 結論サマリー ボックス化(2026-07-25 読者体験監査 構造改善①)
   markdown_engine.render_blocks()が「結論サマリー」h2+直後の本文段落群を
   .summary-boxでラップする。既存の.course-cta(背景--bg-subtle・左ボーダー--brand)と
   同じ意匠言語で統一し、白基調エディトリアルと調和させる(過剰装飾はしない)。 */
.summary-box {
  max-width: var(--content-max); margin: 2.75rem auto; padding: 1.75rem 2rem;
  border: 1px solid var(--rule); border-left: 4px solid var(--brand);
  background: var(--bg-subtle); border-radius: var(--radius);
}
.summary-box h2.section-heading { margin-top: 0 !important; margin-bottom: 1rem; }
.summary-box p { margin: 0.9rem 0; }
.summary-box p:first-of-type { margin-top: 0; }
.summary-box > :last-child { margin-bottom: 0; }

/* 講座導線CTA */
.course-cta {
  max-width: var(--content-max); margin: 3.5rem auto 0; padding: 1.75rem 2rem;
  border: 1px solid var(--rule); border-left: 4px solid var(--brand);
  background: var(--bg-subtle); border-radius: var(--radius);
}
.course-cta .eyebrow { color: var(--ink-faint); }
.course-cta p { margin-top: 0.65rem; font-size: 0.95rem; line-height: 1.85; color: var(--ink); }
.course-cta .course-link-pending {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.85rem;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-faint);
  border: 1px dashed var(--rule-strong); padding: 0.4rem 0.75rem; border-radius: 2px;
}
/* 講座導線CTA 実リンクbox(2026-07-24 TASK-167 WP-J4: course_link実リンク化) */
.course-cta-link-box {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.1rem;
  margin-top: 1.1rem;
}
.course-cta-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 1.35rem; background: var(--brand-orange, #E07A3F); color: #fff;
  font-weight: 700; font-size: 0.88rem; border-radius: 2px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.course-cta-btn:hover { background: #c96428; transform: translateY(-1px); }
.course-cta-btn-secondary {
  font-size: 0.82rem; font-weight: 700; color: var(--brand);
}
.course-cta-btn-secondary:hover { text-decoration: underline; text-underline-offset: 3px; }
.course-cta-preview-note {
  flex-basis: 100%; margin-top: 0 !important; font-size: 0.76rem !important;
  color: var(--ink-faint) !important; font-family: var(--font-mono);
}

/* トップ「このメディアについて」バンド(E-E-A-T 4本柱+監修者。2026-07-24ウルトラコード改修) */
.home-about { background: var(--bg-inverse); color: #fff; padding: 4rem 0; }
.home-about .eyebrow { color: var(--brand-cyan); }
.home-about-grid { display: grid; gap: 2.75rem; grid-template-columns: 1fr; }
@media (min-width: 960px) { .home-about-grid { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.home-about h2 { font-family: var(--font-serif); font-size: 1.55rem; line-height: 1.5; margin-top: 0.5rem; }
.home-about-lead { margin-top: 0.9rem; font-size: 0.92rem; line-height: 1.9; color: rgba(255,255,255,0.78); }
.home-about-lead a { color: var(--brand-cyan); text-decoration: underline; text-underline-offset: 3px; }
.pillar-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.75rem; }
@media (min-width: 640px) { .pillar-grid { grid-template-columns: 1fr 1fr; } }
.pillar { border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.pillar h3 { font-size: 0.95rem; font-weight: 700; }
.pillar h3 .bracket { color: var(--brand-cyan); font-weight: 400; margin: 0 0.15em; }
.pillar p { margin-top: 0.5rem; font-size: 0.82rem; line-height: 1.8; color: rgba(255,255,255,0.72); }
.home-about-supervisor {
  border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius);
  padding: 1.75rem 1.5rem; text-align: center; background: rgba(255,255,255,0.04);
}
.home-about-supervisor img {
  /* 2026-07-25 監修者写真位置ずれ修正: 全体リセット(img,svg{display:block})によりimgが
     ブロック要素化されているため、親.home-about-supervisorのtext-align:centerは効かず
     (text-alignはインライン内容にのみ作用)、写真が左端に寄っていた。margin:0 autoで
     ブロック要素として明示的に中央寄せする。 */
  width: 96px; height: 96px; margin: 0 auto; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 3px var(--bg-inverse), 0 0 0 4px rgba(255,255,255,0.35);
}
.home-about-supervisor .credit-eyebrow { margin-top: 1rem; color: rgba(255,255,255,0.55); }
.home-about-supervisor h3 { font-size: 1.1rem; font-weight: 700; }
.home-about-supervisor p { margin-top: 0.3rem; font-size: 0.82rem; color: rgba(255,255,255,0.7); }
.home-about-link { display: inline-block; margin-top: 1rem; font-size: 0.85rem; font-weight: 700; color: var(--brand-cyan); }
.home-about-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* 監修者・編集部リッチカード(2026-07-24追加。旧.author-blockを刷新) */
.credit-cards {
  max-width: var(--content-max); margin: 3rem auto 0; padding: 2rem 1.25rem 0;
  border-top: 1px solid var(--rule); display: grid; gap: 1.5rem; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .credit-cards { grid-template-columns: 1fr 1fr; } }
.credit-card {
  display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.5rem;
  border: 1px solid var(--rule); border-radius: var(--radius); background: var(--bg-subtle);
}
.credit-avatar-photo {
  flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--rule);
}
.credit-avatar-mark {
  flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700;
}
.credit-eyebrow {
  display: block; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em;
  color: var(--ink-faint); text-transform: uppercase; margin-bottom: 0.35rem;
}
.credit-card h3 { font-size: 1.02rem; font-weight: 700; }
.credit-title { margin-top: 0.15rem; font-size: 0.82rem; color: var(--ink-soft); }
.credit-bio { margin-top: 0.6rem; font-size: 0.85rem; color: var(--ink-soft); line-height: 1.8; }
.credit-link { display: inline-block; margin-top: 0.75rem; font-size: 0.82rem; font-weight: 700; color: var(--brand); }
.credit-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 記事ページ2カラムレイアウト+サイドバー(2026-07-24追加) ----------
   モバイル(既定): display:blockでDOM順どおり(本文→サイドバー)にスタックする。
   デスクトップ(1180px〜): グリッドで本文の右にサイドバーを配置する。 */
.article-layout-grid { display: block; }
@media (min-width: 1180px) {
  .article-layout-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 3rem;
    align-items: start; max-width: 1180px; margin: 0 auto; padding: 0 2.5rem;
  }
  .article-main-col { min-width: 0; }
}
.article-sidebar { margin: 3rem 1.25rem 0; }
@media (min-width: 1180px) {
  .article-sidebar { margin: 6.5rem 0 0; position: sticky; top: 24px; }
}
.sidebar-banner {
  border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden;
  margin-bottom: 1.5rem; background: var(--bg);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.sidebar-banner:last-child { margin-bottom: 0; }
.sidebar-banner:hover { box-shadow: 0 12px 28px -18px rgba(20,24,31,0.35); transform: translateY(-2px); }
.sidebar-banner-art {
  aspect-ratio: 3 / 2; background: var(--bg-inverse); display: flex; align-items: center;
  justify-content: center; position: relative; overflow: hidden;
}
.sidebar-banner-art svg { width: 56%; height: 56%; opacity: 0.9; }
.sidebar-banner-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sidebar-banner-body { padding: 1.1rem 1.25rem 1.35rem; }
.sidebar-banner .eyebrow { color: var(--ink-faint); display: block; margin-bottom: 0.35rem; }
.sidebar-banner h3 { font-size: 0.95rem; font-weight: 700; line-height: 1.5; }
.sidebar-banner p { margin-top: 0.4rem; font-size: 0.8rem; color: var(--ink-soft); line-height: 1.7; }
.sidebar-banner-cta {
  display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.8rem;
  font-size: 0.8rem; font-weight: 700; color: var(--brand);
}
.sidebar-banner-cta:hover { text-decoration: underline; text-underline-offset: 3px; }
.sidebar-banner.is-pending .sidebar-banner-cta { color: var(--ink-faint); }
.sidebar-banner-pending-flag {
  display: inline-block; margin-left: 0.4rem; font-family: var(--font-mono); font-size: 0.62rem;
  color: var(--ink-faint); border: 1px dashed var(--rule-strong); padding: 0.05em 0.4em;
  border-radius: 2px; vertical-align: middle;
}

/* 本文中の別記事参照(『タイトル』の自動内部リンク) */
.article-body a.internal-ref { color: var(--brand); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(15,44,78,0.3); text-underline-offset: 3px; }
.article-body a.internal-ref:hover { text-decoration-color: currentColor; }

/* 世界のAIOシリーズ・ミニナビ(2026-07-25 読者体験監査 構造改善②)
   category=global-*の記事限定・related-blockの直前に表示。ハブ+6地域総覧への
   小さなチップリスト。現在記事は.is-currentで非リンクのラベル表示にする。 */
.global-series-nav { max-width: var(--content-max); margin: 2.5rem auto 0; padding: 1.5rem 1.25rem 0; }
.global-series-nav-label {
  display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em;
  color: var(--ink-faint); text-transform: uppercase; margin-bottom: 0.85rem;
}
.global-series-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.global-series-chip {
  display: inline-flex; align-items: center; font-family: var(--font-mono);
  font-size: 0.78rem; font-weight: 600; line-height: 1;
  padding: 0.5rem 0.9rem; border: 1px solid var(--rule-strong); border-radius: 999px;
  color: var(--ink-soft); transition: border-color 0.15s ease, color 0.15s ease;
}
a.global-series-chip:hover { border-color: var(--cat-global); color: var(--cat-global); }
.global-series-chip.is-current {
  background: var(--cat-global); border-color: var(--cat-global); color: #fff; font-weight: 700;
}

/* 関連記事(記事末尾。frontmatter related_articlesから生成) */
.related-block { max-width: var(--content-max); margin: 3rem auto 0; padding: 2rem 1.25rem 0; border-top: 1px solid var(--rule); }
.related-block .section-head { margin-bottom: 0.5rem; }
.related-block h2 { font-size: 1.15rem; }

/* 一次情報源リスト */
.sources-block { max-width: var(--content-max); margin: 2.5rem auto 0; padding: 0 1.25rem; }
.sources-block h2 { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.08em; color: var(--ink-faint); text-transform: uppercase; margin-bottom: 0.85rem; }
.sources-block ol { padding-left: 1.25rem; list-style: decimal; }
.sources-block li { font-size: 0.85rem; margin: 0.4rem 0; word-break: break-all; }
.sources-block a { color: var(--brand); }
.sources-block a:hover { text-decoration: underline; }

/* ---------- 固定ページ(運営者情報・編集ポリシー) ---------- */
.static-page-body { max-width: var(--content-max); margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }
.static-page-body h2 { font-family: var(--font-serif); font-size: 1.35rem; margin: 2.75rem 0 1rem; }
.static-page-body h2:first-child { margin-top: 0; }
.static-page-body p { margin: 1.1rem 0; line-height: 1.95; color: var(--ink); }
.static-page-body ul { margin: 1.1rem 0; padding-left: 1.4rem; list-style: disc; }
.static-page-body li { margin: 0.5rem 0; line-height: 1.85; }
.info-table { width: 100%; margin: 1.5rem 0; border-top: 1px solid var(--rule); }
.info-table div { display: flex; gap: 1.5rem; padding: 0.9rem 0; border-bottom: 1px solid var(--rule); }
.info-table dt { flex: none; width: 9em; font-weight: 700; font-size: 0.88rem; color: var(--ink-soft); }
.info-table dd { font-size: 0.92rem; line-height: 1.8; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-inverse); color: #c7cbd4; margin-top: 4rem; }
/* 2026-07-25: トップページはabout帯(.home-about)を最下部=フッター直前へ移動したため、
   同一色(--bg-inverse)の暗色ブロック同士が既定のmargin-top:4remで不自然な白い隙間を
   挟んで隣接してしまう(.home-aboutは<main>の子・.site-footerは<main>の兄弟のため
   隣接セレクタでは届かず、body.is-home限定で直接指定する)。隙間を除去し、代わりに
   継ぎ目を示す細いhairlineで区切ることで、背景色の連続性を保ちつつ帯の切れ目はわかる
   ようにする。 */
body.is-home .site-footer {
  margin-top: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.site-footer .wrap { padding: 3.5rem 1.25rem 2.5rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand { font-family: var(--font-serif); color: #fff; font-size: 1.1rem; font-weight: 700; }
.footer-tagline { margin-top: 0.6rem; font-size: 0.85rem; color: #9aa1af; line-height: 1.8; max-width: 32ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; color: #7d8492; text-transform: uppercase; margin-bottom: 0.9rem; }
.footer-col a { display: block; font-size: 0.88rem; color: #d5d8de; padding: 0.35rem 0; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid #262c38; font-size: 0.75rem; color: #7d8492; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }

/* ---------- 404 ---------- */
.error-page { max-width: 560px; margin: 0 auto; padding: 6rem 1.25rem; text-align: center; }
.error-page .bracket-tag { justify-content: center; margin-bottom: 1rem; }
.error-page h1 { font-family: var(--font-serif); font-size: 2rem; margin-bottom: 1rem; }
.error-page p { color: var(--ink-soft); line-height: 1.9; }
.error-page a { display: inline-block; margin-top: 1.75rem; font-weight: 700; color: var(--brand); border-bottom: 2px solid var(--brand); padding-bottom: 0.15rem; }

/* ---------- 運用支援CTA帯(トップページ・カテゴリページ共通。2026-07-25追加) ----------
   config.SIDEBAR_BANNERS(id="aio-support")を表示する横幅いっぱいの控えめな帯。
   既存の.course-cta-btn(ブランドオレンジ地・白文字)の意匠を踏襲しつつ、広告色を
   出しすぎないよう背景は--bg-subtleに留める。左=バナー画像サムネイル/中=タイトル+
   本文/右=CTAボタンの3カラム(狭幅では縦積み)。 */
.ops-support-band { background: var(--bg-subtle); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ops-support-band-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; padding: 1.75rem 0; }
.ops-support-band-art {
  flex: 0 0 auto; width: 84px; aspect-ratio: 3 / 2; border-radius: var(--radius);
  overflow: hidden; background: var(--bg-inverse);
}
.ops-support-band-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ops-support-band-body { flex: 1 1 320px; min-width: 0; }
.ops-support-band-body .eyebrow { color: var(--ink-faint); display: block; margin-bottom: 0.3rem; }
.ops-support-band-body h2 { font-size: 1.02rem; font-weight: 700; line-height: 1.5; }
.ops-support-band-body p { margin-top: 0.35rem; font-size: 0.85rem; color: var(--ink-soft); line-height: 1.75; max-width: 62ch; }
.ops-support-band-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 1.35rem; background: var(--brand-orange, #E07A3F); color: #fff;
  font-weight: 700; font-size: 0.85rem; border-radius: 2px; white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}
.ops-support-band-btn:hover { background: #c96428; transform: translateY(-1px); }
@media (max-width: 640px) {
  .ops-support-band-inner { flex-direction: column; align-items: flex-start; }
  .ops-support-band-art { width: 100%; max-width: 220px; }
  .ops-support-band-btn { width: 100%; justify-content: center; }
}

/* ---------- 編集部ロゴ表示(2026-07-25追加)
   既存の .brand / .footer-brand / .credit-avatar-mark 各ルールは一切変更せず追記のみで対応する。
   webmarks-mark.svg は公式ロゴ(webmarks-logo.svg)の波マークpath+gradient defsをそのまま抽出し、
   viewBoxだけをbbox実測値でクロップした新規アセット(path座標・グラデーションは無改変)。
   .brand自体(flex-direction:column)は変更せず、より詳細度の高い.site-header .brandで
   row方向に上書きする。 */
.site-header .brand {
  display: flex; flex-direction: row; align-items: center; gap: 0.6rem;
}
.brand-mark { flex: none; height: 22px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }

.footer-brand-row { display: flex; align-items: center; gap: 0.55rem; }
.footer-mark { flex: none; height: 18px; width: auto; display: block; opacity: 0.92; }

.credit-avatar-logo {
  flex: none; width: 64px; height: 64px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--rule);
}
.credit-avatar-logo img { width: 64%; height: auto; display: block; }
