/* J-WORKS-AI 最小限の共通スタイル。フレームワークは使わず素のCSSのみ。 */
:root {
  --color-text: #1c1e21;
  --color-muted: #5b6270;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f6f8;
  --color-border: #e1e3e8;
  --color-accent: #2454ff;
  --color-accent-2: #7c3aed;
  --max-width: 760px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 8px 12px;
  z-index: 10;
}
.skip-link:focus { left: 8px; top: 8px; }

a { color: var(--color-accent); }

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}
.site-header .brand {
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--color-text);
}
.site-header nav { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.92rem; }

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 20px 56px;
}

h1 { font-size: 1.6rem; line-height: 1.45; margin: 0 0 0.6em; }
h2 { font-size: 1.25rem; margin: 1.8em 0 0.6em; }
h3 { font-size: 1.05rem; margin: 1.4em 0 0.5em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: 0.4em; }

code {
  background: var(--color-bg-alt);
  border-radius: 4px;
  padding: 0.1em 0.4em;
  font-size: 0.92em;
}
pre {
  background: #1c1e26;
  color: #e8e9ee;
  padding: 14px 16px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.86rem;
}
pre code { background: none; padding: 0; color: inherit; }

table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: 0.92rem; }
th, td { border: 1px solid var(--color-border); padding: 8px 10px; text-align: left; }
th { background: var(--color-bg-alt); }

.article-meta {
  color: var(--color-muted);
  font-size: 0.88rem;
  margin-bottom: 1.6em;
}

/* 記事詳細: 既存のカテゴリ色を使い、本文と記事情報の階層を分ける。 */
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0 0 14px;
  color: var(--color-muted);
  font-size: 0.8rem;
}
.article-breadcrumb a { flex: 0 0 auto; white-space: nowrap; }
.article-breadcrumb span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.article-detail-header {
  position: relative;
  overflow: hidden;
  padding: 32px 34px 26px;
  margin-bottom: 38px;
  border: 1px solid var(--color-border);
  border-top: 5px solid var(--category-color, var(--color-accent));
  border-radius: 16px;
  background: linear-gradient(140deg, var(--category-bg, #f5f6f8), #fff 75%);
}
.article-detail-header::after {
  content: '';
  position: absolute;
  width: 210px;
  height: 210px;
  top: -115px;
  right: -85px;
  border: 24px solid var(--category-color, var(--color-accent));
  border-radius: 50%;
  opacity: 0.06;
  pointer-events: none;
}
.article-detail-header > * { position: relative; z-index: 1; }
.article-detail-header .category-badge { margin-bottom: 16px; }
.article-detail-header h1 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  line-height: 1.48;
  overflow-wrap: anywhere;
}
.article-lead {
  max-width: 60ch;
  margin-bottom: 20px;
  color: #3d4655;
  font-size: 1rem;
  line-height: 1.9;
}
.article-detail-header .article-meta {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(28, 30, 33, 0.1);
  font-size: 0.8rem;
}
.article-body { overflow-wrap: break-word; }
.article-body > :first-child { margin-top: 0; }
.article-body p,
.article-body li { line-height: 2; }
.article-body h2 {
  margin: 2.5em 0 1em;
  padding: 0.35em 0 0.35em 16px;
  border-left: 4px solid var(--category-color, var(--color-accent));
  background: linear-gradient(90deg, var(--category-bg, #f5f6f8), transparent 85%);
  font-size: 1.3rem;
  line-height: 1.55;
}
.article-body h3 {
  margin: 2em 0 0.7em;
  padding-bottom: 0.4em;
  border-bottom: 1px solid var(--color-border);
  font-size: 1.08rem;
  line-height: 1.6;
}
.article-body pre { margin: 1.4em 0; }
.article-body :is(.editorial-example, .editorial-worked-example, .editorial-practice) pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.article-body table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  margin: 1.5em 0;
}
.article-body .editorial-view {
  margin: 1.6em 0;
  padding: 16px 20px;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 10px 10px 0;
  background: #f3f6ff;
}
.article-body .editorial-view-title {
  margin: 0 0 0.35em;
  color: #2441a6;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.article-body .editorial-view p:last-child { margin-bottom: 0; }
/* 記事内の画像(早見表など)。本文幅を超えず、縦横比を保って縮小する。 */
.article-body .article-figure { margin: 2em 0; }
.article-body .article-figure img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
}
.article-body .article-figure figcaption {
  margin-top: 0.6em;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
}
/* ChatGPTプロジェクト記事の構造図。意味のある文字をHTMLに残し、狭幅では縦に積む。 */
.article-body .project-structure {
  margin: 2em 0;
  padding: 18px;
  border: 1px solid #cbd7ff;
  border-radius: 14px;
  background: #f8faff;
}
.article-body .project-structure figcaption {
  margin-bottom: 14px;
  color: #2441a6;
  font-weight: 700;
}
.project-structure-frame {
  padding: 18px;
  border: 2px solid #9cb1ff;
  border-radius: 12px;
  background: #fff;
}
.article-body .project-structure-heading,
.article-body .project-structure-connector,
.article-body .project-structure-note { margin: 0; line-height: 1.6; }
.project-structure-heading { font-weight: 700; text-align: center; }
.project-structure-shared,
.project-structure-chats { display: grid; gap: 10px; }
.project-structure-shared { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
.project-structure-chats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-structure-shared > div,
.project-structure-chats > div {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 9px;
  text-align: center;
}
.project-structure-shared > div { background: #eaf0ff; }
.project-structure-chats > div { border: 1px solid #cbd7ff; background: #fff; }
.project-structure-shared strong,
.project-structure-chats strong,
.project-structure-shared span,
.project-structure-chats span { display: block; }
.project-structure-shared span,
.project-structure-chats span { font-size: 0.84rem; }
.article-body .project-structure-connector {
  padding: 10px 0;
  color: #3d4655;
  font-size: 0.85rem;
  text-align: center;
}
.project-structure-connector span { display: block; font-size: 1.25rem; line-height: 1; }
.article-body .project-structure-note { margin-top: 12px; color: var(--color-muted); font-size: 0.84rem; }
@media (max-width: 520px) {
  .article-body .project-structure { padding: 12px; }
  .project-structure-frame { padding: 12px; }
  .project-structure-shared,
  .project-structure-chats { grid-template-columns: 1fr; }
}
.article-detail .sources {
  margin-top: 3em;
  padding: 22px 24px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-bg-alt);
}
.article-detail .sources h2 { margin: 0 0 0.6em; font-size: 1rem; }
.article-detail .sources ul { margin: 0; }
.article-detail .sources li { overflow-wrap: anywhere; }
.article-back-link { margin: 28px 0 0; text-align: right; font-size: 0.9rem; }
.article-back-link a { font-weight: 700; text-decoration: none; }
.article-back-link a:hover { text-decoration: underline; }

.article-card-list {
  list-style: none;
  padding: 0;
  margin: 1.4em 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.article-card {
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--category-color, var(--color-border));
  border-radius: 10px;
  padding: 16px 18px;
}
.article-card[hidden] { display: none; }
.article-card h3 { margin-top: 0; }
.article-card h3 a { text-decoration: none; color: var(--color-text); }
.article-card p { color: var(--color-muted); font-size: 0.92rem; margin-bottom: 0.4em; }
.article-card .article-card-date { font-size: 0.82rem; color: var(--color-muted); }

/* カテゴリバッジ: 色・アイコン・テキストの3つで示す(色だけに情報を
   依存させない)。アイコンは純装飾(aria-hidden、build.js参照)。 */
.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--category-color, var(--color-muted));
  background: var(--category-bg, var(--color-bg-alt));
  border-radius: 999px;
  padding: 3px 10px 3px 7px;
  margin-bottom: 9px;
  text-decoration: none;
}
.category-badge:hover { text-decoration: underline; }
.category-badge:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.category-badge-icon {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 記事一覧専用: 上部の見出し帯+カテゴリ目次。TOPのhero(色付きグラデー
   ションパネル)とは別の、淡い色面による一覧専用の見た目にする。 */
.article-index-header {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 4px 0 30px;
}
.article-index-header h1 { margin: 0 0 0.7em; }
.article-search { margin: 0 0 20px; }
.article-search label { display: block; font-weight: 700; margin-bottom: 5px; }
.article-search input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg);
  color: var(--color-text);
  font: inherit;
}
.article-search input:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.article-search-hint { margin: 5px 0 0; color: var(--color-muted); font-size: 0.82rem; }
#article-search-status { margin: 5px 0 0; font-size: 0.9rem; }
.article-index-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.article-index-toc a {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--category-color, var(--color-border));
  background: var(--category-bg, var(--color-bg));
  color: var(--category-color, var(--color-text));
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}
.article-index-toc a:hover { text-decoration: underline; }
.article-index-toc a:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* カテゴリごとのセクション見出し。色付きの左罫線+件数バッジで、
   記事一覧を開いたときに分類が一目で分かるようにする。 */
.article-index-group {
  margin: 0 0 34px;
  scroll-margin-top: 12px;
}
.article-index-group h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 0.7em;
  padding-left: 12px;
  border-left: 4px solid var(--category-color, var(--color-border));
}
.article-index-count {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--category-color, var(--color-muted));
  background: var(--category-bg, var(--color-bg-alt));
  border-radius: 999px;
  padding: 2px 10px;
}

.sources {
  margin-top: 2.4em;
  padding-top: 1.2em;
  border-top: 1px solid var(--color-border);
  font-size: 0.88rem;
  color: var(--color-muted);
}
.sources h2 { font-size: 1rem; margin-top: 0; }

/* TOPの看板ビジュアル。既存main幅(760px)は変えず、この内側だけを
   グラデーションパネル+軽量なCSS円形装飾で奥行きを出す。SITE_NAME・
   SITE_DESCRIPTIONのテキスト自体は変更しない(色・タイポグラフィ・
   余白のみの視覚強化)。円形装飾はoverflow:hiddenでどの画面幅でも
   はみ出さず、横スクロールを起こさない。 */
.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-2) 100%);
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  pointer-events: none;
}
.hero::before { width: 220px; height: 220px; top: -100px; right: -60px; }
.hero::after { width: 130px; height: 130px; bottom: -70px; right: 100px; background: rgba(255, 255, 255, 0.1); }
.hero h1,
.hero p {
  position: relative;
  z-index: 1;
}
.hero h1 { color: #fff; }
.hero p { color: rgba(255, 255, 255, 0.94); max-width: 37em; }
/* サイト名と内容をGoogleと読者に伝える固定の説明文(TOPのみ)。 */
.hero .hero-site-desc { margin-top: 14px; }
/* 2段落を1つの枠にまとめ、PC幅のgridで同じ位置に重ならないようにする。 */
@media(min-width:901px){.hero .hero-copy{grid-column:2;grid-row:1/3;align-self:center}.hero .hero-copy p{grid-column:auto;grid-row:auto;align-self:auto}}

/* NECOAI(黒猫・白猫)。原画を残して作った新しい覗きポーズを使用する。
   狭い幅ではheroの下に小さく並べ、広い画面では左右の外側から覗かせる。 */
.hero-wrap {
  position: relative;
  margin: 4px 0 28px;
}
.hero-cats {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
  margin-top: 12px;
}
.hero-cat {
  width: auto;
  height: 96px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

@media (min-width: 1100px) {
  .hero-cats { display: contents; }
  .hero-cat {
    position: absolute;
    width: 170px;
    height: auto;
    top: 50%;
    z-index: 2;
  }
  .hero-cat--black { left: -145px; transform: translateY(-50%) rotate(-4deg); }
  .hero-cat--white { width: 190px; right: -147px; transform: translateY(-50%) rotate(4deg); }
}

/* 障害情報(サービスインシデント)のTOP状態行。hero直後・新着記事の直前に
   配置する(build.jsのbuildHome参照)。吹き出し・点滅・NEWバッジは使わず、
   状態はテキスト(.incident-status)+控えめなアクセント色の二重で示す
   (色だけに依存しない)。0件のときはbuild.js側で空文字を返すため、この
   ブロック自体が出力されずレイアウトへ影響しない。 */
.incident-rows { margin: 0 0 28px; }
.incident-rows ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.incident-row {
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--status-color, var(--color-border));
  border-radius: 10px;
}
.incident-row-link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding: 11px 14px;
  text-decoration: none;
  color: var(--color-text);
}
.incident-row-link:hover { text-decoration: underline; }
.incident-status {
  display: inline-block;
  flex: 0 0 auto;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--status-color, var(--color-muted));
  background: var(--status-bg, var(--color-bg-alt));
  border-radius: 999px;
  padding: 2px 10px;
}
.incident-row-body {
  flex: 1 1 260px;
  min-width: 0;
  font-size: 0.92rem;
}
/* 解消していない障害の題名は赤字(2026-09-30、OWNER指示) */
.incident-row--active .incident-row-body { color: #c62828; font-weight: 700; }
.incident-row-time {
  flex: 0 0 auto;
  font-size: 0.78rem;
  color: var(--color-muted);
}

/* 障害の詳細履歴ページ。updatesは古い順(build.js参照)にそのまま並べ、
   過去の更新を消さない。 */
.incident-detail-meta {
  overflow-wrap: anywhere;
  font-size: 0.9rem;
  color: var(--color-muted);
}
.incident-update-list {
  list-style: none;
  margin: 0.6em 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.incident-update {
  border-left: 3px solid var(--status-color, var(--color-border));
  padding: 2px 0 2px 14px;
}
.incident-update-time {
  display: block;
  font-size: 0.8rem;
  color: var(--color-muted);
  margin: 2px 0 4px;
}
.incident-update-summary { margin: 0; }
.incident-update-original { margin: 4px 0 0; font-size: 0.85em; color: #6b7682; }

/* LOCAL改良案: heroとPICK UP/EXPLOREの間に置く短い状態欄。 */
.incident-rows {
  margin: -8px 0 36px;
  padding: 11px 15px 13px;
  background: #f0f6fc;
  border: 1px solid #d6e3f0;
  border-radius: 11px;
}
.incident-rows-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
  color: #153455;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
}
.incident-rows-heading::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #41cce7;
}
.incident-rows-heading span {
  color: #647b8f;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
}
.incident-rows--empty p {
  margin: 0 0 0 14px;
  color: #527086;
  font-size: 12px;
  line-height: 1.5;
}
.incident-rows .incident-row { background: #fff; }
.incident-rows .incident-row-link { padding: 9px 12px; }

@media (max-width: 480px) {
  .incident-row-link { padding: 9px 12px; }
  .incident-row-body { font-size: 0.88rem; }
}

.notice-box {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.92rem;
  margin: 1.2em 0;
}

.related-books {
  margin-top: 2.2em;
  padding-top: 1.6em;
  border-top: 1px solid var(--color-border);
}
/* 楽天ウェブサービス公式クレジット(build.jsのRAKUTEN_API_CREDIT_HTML)。
   広告ラベル・footerのアフィリエイト表記とは別の、API提供元
   自身への表示であることが分かるよう、独立した段落として少し離す。 */
.rakuten-api-credit {
  margin-top: 1em;
  font-size: 0.78rem;
  color: var(--color-muted);
}
.ad-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
}
.book-card-list {
  list-style: none;
  padding: 0;
  margin: 1em 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.book-card {
  display: flex;
  gap: 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 14px;
  align-items: flex-start;
}
.book-card-image-link { flex: 0 0 auto; }
.book-card-image {
  display: block;
  width: 128px;
  height: 128px;
  object-fit: contain;
  background: var(--color-bg-alt);
  border-radius: 6px;
}
.book-card-body { min-width: 0; }
.book-card-body h3 { margin: 0.2em 0 0.3em; font-size: 1rem; }
.book-card-body p { color: var(--color-muted); font-size: 0.88rem; margin-bottom: 0.3em; }
.book-card-shop { font-size: 0.78rem; }

/* 128px書影と本文を横並びにすると狭幅で本文が圧迫されるため、縦積みへ切り替える。 */
@media (max-width: 480px) {
  .book-card { flex-direction: column; align-items: center; text-align: center; }
  .book-card-image { width: 128px; height: 128px; }
}

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 24px 20px 40px;
  font-size: 0.85rem;
  color: var(--color-muted);
}
.site-footer .disclosure { max-width: var(--max-width); margin: 0 auto 14px; }
.site-footer nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}
.site-footer nav.sister-sites { margin-top: 12px; }
.site-footer p:last-child { max-width: var(--max-width); margin: 14px auto 0; }

@media (max-width: 480px) {
  .site-header { padding: 12px 16px; }
  main { padding: 20px 16px 44px; }
  h1 { font-size: 1.35rem; }
  .article-detail-header { padding: 24px 20px 20px; margin-bottom: 28px; }
  .article-detail-header h1 { font-size: 1.45rem; }
  .article-body h2 { font-size: 1.16rem; padding-left: 12px; }
  .article-detail .sources { padding: 18px 16px; }
  .hero { padding: 28px 20px; border-radius: 14px; }
  .hero::before { width: 140px; height: 140px; top: -60px; right: -40px; }
  .hero::after { width: 90px; height: 90px; bottom: -40px; right: 60px; }
}
/* Local editorial design exploration. Existing article content and contracts are retained. */
:root{--color-text:#172b43;--color-muted:#607187;--color-accent:#006a8e;--color-accent-2:#4de4ff;--color-bg:#ffffff;--color-bg-alt:#f1f5fa;--color-border:#dce4ee;--max-width:1160px}
html{scroll-behavior:smooth;scroll-padding-top:30px}body{background:#ffffff;letter-spacing:.025em}a{text-underline-offset:4px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #00478d;outline-offset:5px}button,input{font:inherit}button{cursor:pointer}main{padding:28px 28px 72px;max-width:1216px}h1,h2,h3{letter-spacing:-.025em}a:hover{color:#004385}.site-header{max-width:1160px;margin:auto;padding:24px 0;border-bottom:1px solid #ced4da;gap:32px}.site-header .brand{display:flex;align-items:center;gap:12px;font-size:1.13rem;letter-spacing:.01em}.brand-symbol{display:grid;place-content:center;width:43px;height:43px;background:#102d4b;border-radius:13px;color:#fff;font-size:26px;position:relative;line-height:1}.brand-symbol>span{color:#4de4ff;position:absolute;right:5px;top:2px}.brand small{display:block;font-size:10px;font-weight:500;color:#616971;letter-spacing:.16em}.site-header nav{margin-left:auto;gap:28px;font-weight:700}.site-header nav a{text-decoration:none;color:#23313e}.header-search{background:#eaedf0;padding:9px 16px;border-radius:6px;text-decoration:none;font-size:12px;font-weight:700}.header-search span{margin-left:22px}.home-kicker{display:flex;justify-content:space-between;font-size:10px;font-weight:700;letter-spacing:.17em;color:#5a646d;margin:0 0 23px}.home-kicker span:last-child{font-size:9px}
.hero-wrap{margin:0 132px 46px}.hero{padding:35px 40px 31px;text-align:center;border-radius:20px;background:#102d4b;box-shadow:0 15px 36px #20303f10}.hero::before{width:280px;height:280px;border:1px solid #77c7ff22;background:transparent;top:-128px;right:-125px}.hero::after{width:220px;height:220px;border:1px solid #77c7ff22;background:transparent;bottom:-147px;right:auto;left:-80px}.hero-eyebrow{font-size:9px;font-weight:600;letter-spacing:.25em;color:#7deaff;margin-bottom:13px}.hero h1{font-size:clamp(25px,3.6vw,44px);font-weight:800;line-height:1.38;margin-bottom:16px;letter-spacing:.015em}.hero h1 em{color:#4de4ff;font-style:normal}.hero p{font-size:12px;line-height:1.9;margin:0 auto 22px;max-width:none;color:#e2eaf4}.hero-action{display:inline-flex;gap:36px;align-items:center;padding:10px 19px;border-radius:6px;background:#4de4ff;color:#15283b;text-decoration:none;font-size:12px;font-weight:700;position:relative;z-index:1}.hero-action:hover{background:#a0f1ff;color:#12273c}.hero-cats{display:contents}.hero-cat{position:absolute;width:150px;height:auto;top:50%;z-index:2}.hero-cat--black{left:-128px;transform:translateY(-50%) rotate(-4deg)}.hero-cat--white{width:168px;right:-130px;transform:translateY(-50%) rotate(4deg)}
.section-eyebrow{display:block;font-size:10px;line-height:1.7;font-weight:800;letter-spacing:.15em;color:#254769}.section-eyebrow>span{font-size:10px;letter-spacing:.04em;color:#67717a;font-weight:500;margin-left:13px}.feature-grid{display:grid;grid-template-columns:minmax(280px,1fr) minmax(0,1.9fr);gap:36px;margin-bottom:56px}.feature-story>.section-eyebrow{margin-bottom:15px}.feature-link{display:block;overflow:hidden;text-decoration:none;color:var(--color-text);background:white;border:1px solid var(--color-border);border-radius:12px;transition:box-shadow .2s}.feature-link:hover{color:var(--color-text);box-shadow:0 10px 30px #25364712}.feature-art{height:224px;background:#eaf3fc;position:relative;padding:26px 32px;overflow:hidden}.art-small{font-size:9px;font-weight:700;letter-spacing:.2em;color:#344d65;position:relative;z-index:1}.art-large{display:block;font-size:35px;line-height:1.3;font-weight:800;letter-spacing:.025em;color:#23384c;margin-top:13px;position:relative;z-index:1}.art-folders{position:absolute;right:32px;top:62px;width:180px;transform:rotate(-9deg);z-index:1}.art-folders span{display:block;margin-top:-1px;margin-left:14px;padding:9px 23px;background:#fff9;border:1px solid #53677b1f;border-radius:7px;color:#3e5367;font-size:11px;box-shadow:0 7px 20px #56637008}.art-folders span:nth-child(2){margin-left:2px;background:#72e1f5}.art-folders span:nth-child(3){margin-left:-10px;background:#1e456d;color:#fff}.art-orbit{width:310px;height:310px;border:1px solid #899caf50;border-radius:50%;position:absolute;right:-53px;top:5px}.feature-text{padding:23px 28px 24px}.feature-category{font-size:10px;font-weight:700;color:#003b76}.feature-text h2{font-size:23px;line-height:1.5;margin:8px 0 12px}.feature-text p{font-size:12px;color:#687077;line-height:1.9}.feature-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:21px;font-size:10px;color:#747b82}.feature-bottom strong{color:#284a6b;font-size:11px}.topic-panel{padding:24px;background:#f0f6fc;border:1px solid #d6e3f0;border-radius:12px}.topic-panel h2{font-size:20px;line-height:1.5;margin:16px 0 21px}.topic-panel nav a{display:flex;align-items:center;gap:12px;padding:20px 0;border-top:1px solid #d7dce0;text-decoration:none;color:#1b2c3c}.topic-panel nav a:last-child{border-bottom:1px solid #d7dce0}.topic-number{font-size:10px;color:#667481}.topic-panel nav strong{display:block;font-size:16px}.topic-panel nav small{display:block;font-size:10px;color:#6c747b;margin-bottom:2px}.topic-count{margin-left:auto;font-size:10px;white-space:nowrap;color:#606e7c}.quick-search{margin-top:26px;padding:21px;background:#eaeef1;border-radius:9px}.quick-search label{display:block;font-size:12px;font-weight:700;margin-bottom:10px}.quick-search>div{display:flex;background:#fff;border:1px solid #ccd2d7;border-radius:5px;overflow:hidden}.quick-search input{min-width:0;width:100%;font-size:11px;padding:10px;border:none;background:transparent}.quick-search button{width:44px;border:none;background:transparent;font-size:21px;color:#284057}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;border-bottom:1px solid #d9dee3;padding-bottom:17px;margin-bottom:0}.section-heading h2{margin:4px 0 0;font-size:26px}.section-heading>a{font-size:12px;text-decoration:none;color:#344759;font-weight:700}.article-card-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:25px}.article-card{display:flex;flex-direction:column;background:#fff;padding:25px 27px 21px;border:1px solid #dce4ee;border-radius:10px;border-top:3px solid var(--category-color);margin:0;transition:box-shadow .2s,transform .2s}.article-card:hover{box-shadow:0 7px 24px #25313d10;transform:translateY(-2px)}.article-card[hidden]{display:none}.card-top{display:flex;align-items:center;justify-content:space-between}.card-arrow{color:#87929d;font-size:20px}.category-badge{font-size:10px;border-radius:4px;padding:3px 7px;margin-bottom:11px;gap:6px}.article-card h3{font-size:18px;line-height:1.65;margin:5px -5px 15px;padding:13px 16px;background:var(--category-bg,#eef5fc);border-radius:7px}.article-card p{font-size:12px;line-height:1.95;margin-bottom:17px}.article-card .article-card-date{font-size:10px;margin-top:auto;margin-bottom:0;color:#7b838b}.editorial-strip{margin:48px 0 45px;padding:29px 32px;border-radius:10px;background:#eaf2fb;display:flex;align-items:center;justify-content:space-between;gap:24px}.editorial-strip h2{font-size:20px;margin:6px 0 0}.editorial-strip p{font-size:11px;margin:0;color:#596570;line-height:1.95}.editorial-strip>a{font-size:10px;font-weight:700;white-space:nowrap;text-decoration:none}.related-books{padding-top:0;border-top:0}.related-books h2{font-size:22px}.book-card-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.book-card{padding:20px 15px;flex-direction:column;align-items:center;background:white;text-align:left;margin:0}.book-card-body{width:100%}.book-card-body h3{font-size:12px;line-height:1.8;margin-top:10px}.book-card-body h3 a{color:#344453;text-decoration:none}.book-card .ad-label{font-size:9px;margin-left:0}.book-card-body p{font-size:10px}.book-card-image{background:white}.rakuten-api-credit{font-size:10px}.site-footer{padding:38px 28px;background:#ebeff2}.site-footer .disclosure{font-size:11px;max-width:1104px}.site-footer nav,.site-footer p:last-child{max-width:1104px;font-size:10px}
.article-index-header{background:#e9eef3;border:0;padding:35px 38px}.article-index-header h1{font-size:30px;margin:10px 0}.article-index-header>p{font-size:13px}.article-search{max-width:680px;margin-top:25px}.article-search label{font-size:13px}.article-search input{font-size:14px;border-color:#c5cdd5;padding:14px 16px}.article-index-toc a{font-size:12px;border:0;border-radius:5px;padding:8px 12px}.article-index-toc li{margin:0}.page-library main>h2{font-size:19px}.page-library main>h1,.page-library main>p,.page-library main>section:not(.article-index-group){max-width:800px}.article-detail-header{padding:34px 0 30px;border:0;border-bottom:1px solid #cdd4db;border-radius:0;background:transparent;margin-bottom:34px}.article-detail-header::after{display:none}.article-detail-header h1{max-width:890px;font-size:34px;line-height:1.55}.article-lead{font-size:14px;max-width:840px}.article-detail-header .article-meta{border:0;padding:0;font-size:11px}.article-reading-layout{display:grid;grid-template-columns:minmax(0,750px) minmax(220px,1fr);gap:54px;align-items:start}.reading-column{min-width:0}.article-body{font-size:15px}.article-body h2{font-size:22px;border:0;border-bottom:2px solid #48637e;padding:0 0 12px;background:none;margin-top:2.8em;scroll-margin-top:30px}.article-body h3{font-size:17px}.article-body .editorial-view{background:#e6ecf1;border-left:3px solid #50667b;padding:24px 27px;border-radius:0 10px 10px 0}.article-body .editorial-view-title{color:#29435c;font-size:13px}.article-body .notice-box{font-size:12px;background:#eef1f3}.article-body table{font-size:13px}.article-body .project-structure{background:#e8eef4;border-color:#b5c5d4}.article-body .project-structure figcaption{color:#2b4966}.project-structure-frame{border-color:#8da2b6}.project-structure-shared>div{background:#dce6ef}.project-structure-chats>div{border-color:#c0cdd9}.article-toc{position:sticky;top:24px;background:#eef1f4;border:1px solid #d5dbe1;border-radius:9px;padding:23px;font-size:12px}.article-toc summary{font-size:13px;font-weight:800;cursor:pointer}.article-toc ol{padding-left:19px;margin:16px 0 0}.article-toc li{padding:6px 0;line-height:1.7}.article-toc a{color:#445464;text-decoration:none}.article-toc a:hover{text-decoration:underline}.toc-all{display:block;margin-top:23px;border-top:1px solid #ced6dd;padding-top:15px;font-size:11px}.related-articles{margin-top:50px}.article-detail .sources{background:#f0f2f4;font-size:12px;padding:25px}.article-breadcrumb{font-size:11px}.article-back-link{font-size:12px}.incident-row{background:#fff}
@media(min-width:1500px){main{padding-top:32px}.hero h1{font-size:46px}}
@media(max-width:1190px){.site-header{margin:0 28px}.feature-grid{gap:26px}.art-large{font-size:30px}.art-folders{right:22px;width:135px}.hero-wrap{margin-left:115px;margin-right:115px}.hero-cat--black{width:136px;left:-114px}.hero-cat--white{width:150px;right:-115px}.hero h1{font-size:36px}.hero p{font-size:11px}.article-reading-layout{gap:30px}}
@media(max-width:900px){.hero-wrap{margin-left:87px;margin-right:87px}.hero{padding:28px 18px}.hero h1{font-size:29px}.hero-cat--black{width:108px;left:-91px}.hero-cat--white{width:120px;right:-91px}.feature-grid{grid-template-columns:minmax(230px,1fr) minmax(0,1.5fr);gap:20px}.art-folders{width:104px;right:10px;top:103px}.feature-art{height:205px;padding:24px}.art-large{font-size:27px}.art-folders span{font-size:9px;padding:7px 13px}.feature-text{padding:21px}.feature-text h2{font-size:20px}.topic-panel h2{font-size:17px}.topic-panel nav strong{font-size:14px}.topic-panel nav a{gap:8px}.topic-count{font-size:9px}.editorial-strip{flex-wrap:wrap}.book-card-list{grid-template-columns:repeat(2,minmax(0,1fr))}.article-reading-layout{grid-template-columns:1fr}.article-toc{position:static;grid-row:1;padding:20px}.article-toc ol{columns:2;column-gap:30px}.article-toc li{break-inside:avoid}.toc-all{display:none}.article-detail-header h1{font-size:29px}.article-body{max-width:750px;margin:auto}}
@media(max-width:640px){main{padding:18px 18px 45px}.site-header{margin:0 18px;padding:17px 0;gap:15px}.site-header .brand{font-size:15px;gap:8px}.brand-symbol{width:34px;height:34px;font-size:22px;border-radius:10px}.brand small{font-size:8px}.site-header nav{gap:13px;font-size:11px}.home-kicker{font-size:8px;margin-bottom:21px}.home-kicker span:last-child{display:none}.hero-wrap{margin:0 31px 33px}.hero{padding:27px 19px 30px;border-radius:13px;overflow:hidden}.hero-eyebrow{font-size:7px;letter-spacing:.13em;margin-bottom:11px}.hero h1{font-size:clamp(22px,5.8vw,32px);line-height:1.5}.hero p{font-size:10px;line-height:1.8;max-width:245px}.hero p br{display:none}.hero-action{font-size:10px;gap:14px;padding:9px 12px}.hero-cat{top:50%;}.hero-cat--black{width:62px;left:-52px}.hero-cat--white{width:69px;right:-52px}.feature-grid{grid-template-columns:1fr;gap:30px;margin-bottom:35px}.feature-art{height:210px;padding:23px}.art-large{font-size:31px}.art-folders{right:24px;top:82px;width:128px}.feature-text h2{font-size:21px}.feature-text p{font-size:12px}.topic-panel{padding:22px;background:#f0f6fc;border-radius:12px}.topic-panel h2{font-size:20px;margin:12px 0 18px}.topic-panel nav a{padding:14px 0}.topic-panel nav strong{font-size:16px}.topic-count{font-size:10px}.quick-search{padding:0;margin-top:23px}.quick-search input{font-size:13px}.section-heading h2{font-size:23px}.section-heading>a{font-size:10px}.article-card-list{grid-template-columns:1fr;gap:14px;margin-top:20px}.article-card{padding:21px 23px}.article-card h3{font-size:18px}.article-card p{font-size:12px}.section-eyebrow{font-size:9px}.editorial-strip{padding:24px;margin:32px 0;gap:15px}.editorial-strip h2{font-size:19px}.editorial-strip p{font-size:12px}.book-card-list{gap:10px}.book-card{padding:16px 12px;text-align:left}.book-card-image{width:110px;height:128px}.book-card-body h3{font-size:11px}.related-books h2{font-size:21px}.article-index-header{padding:24px 20px}.article-index-header h1{font-size:24px;line-height:1.5}.article-index-header>p{font-size:12px}.article-index-toc ul{gap:7px}.article-index-toc a{font-size:11px}.article-detail-header{padding:20px 0 25px;margin-bottom:23px}.article-detail-header h1{font-size:25px}.article-lead{font-size:13px}.article-toc ol{columns:1}.article-body{font-size:14px}.article-body h2{font-size:20px}.article-body .editorial-view{padding:20px}.article-body .project-structure{margin-left:0;margin-right:0}.article-detail .sources{padding:20px}.site-footer{padding:28px 18px}.feature-bottom{font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* 目次と小さなPRを一組にする。狭い画面では追従させない。 */
.article-side-rail{min-width:0;align-self:start;position:sticky;top:24px}
.article-side-rail .article-toc{position:static}
.article-sidebar-offer{position:relative;z-index:0;margin-top:16px;padding:18px 19px;background:#fff;border:1px solid #dce4ee;border-radius:9px;font-size:12px;line-height:1.7}
.article-sidebar-offer .ad-label{display:inline-block;margin:0 0 10px;font-size:10px}
.article-sidebar-offer-heading{margin:0 0 7px;color:#51697b;font-size:11px;font-weight:700}
.article-sidebar-offer>a{display:block;color:#17324f;font-size:13px;font-weight:700;text-decoration:none;line-height:1.7}
.article-sidebar-offer>a:hover{text-decoration:underline}
.article-sidebar-offer-shop{margin:10px 0 0;color:#6c7a86;font-size:10px}
@media(max-height:720px) and (min-width:901px){.article-side-rail{position:static}}
@media(max-width:900px){.article-side-rail{display:contents;position:static}.article-sidebar-offer{grid-row:3;max-width:750px;width:100%;margin:20px auto 0}.article-side-rail .article-toc{grid-row:1}}

/* OWNER update: decide NECOAI placement after reviewing the overall design. */
.hero-wrap{margin:0 0 44px}.hero{padding:42px 45px}.hero h1{font-size:46px}.hero p{font-size:13px}.hero-eyebrow{font-size:10px}.hero::before{width:450px;height:450px;right:-100px;top:-260px}.hero::after{width:330px;height:330px;left:-80px;bottom:-240px}
@media(max-width:640px){.hero-wrap{margin:0 0 30px}.hero{padding:31px 20px}.hero h1{font-size:29px}.hero p{font-size:11px;max-width:285px}.hero-eyebrow{font-size:8px}}
/* A compact editorial introduction keeps real articles near the first screen. */
@media(min-width:901px){.hero{display:grid;grid-template-columns:1.1fr 1fr;grid-template-rows:auto auto auto;column-gap:55px;text-align:left;padding:31px 42px}.hero-eyebrow{grid-column:1;grid-row:1;font-size:9px;margin:0 0 10px}.hero h1{grid-column:1;grid-row:2/4;font-size:39px;margin:0;line-height:1.38}.hero p{grid-column:2;grid-row:1/3;margin:0;align-self:center;font-size:12px;max-width:none}.hero-action{grid-column:2;grid-row:3;justify-self:start;align-self:end;margin-top:12px}}
@media(max-width:640px){.feature-art .art-large{font-size:28px}.feature-art .art-folders{display:flex;gap:5px;left:23px;right:23px;top:auto;bottom:18px;width:auto;transform:none}.feature-art .art-folders span{flex:1;margin:0;padding:7px 9px;text-align:center;font-size:9px}}
/* Maintain readable contrast for small publication dates and topic descriptions. */
.article-card .article-card-date,.feature-bottom,.topic-panel nav small{color:#586b81}
/* Small full-body NECOAI pair: original transparent assets, no cropping. */
.hero-neco-pair{position:absolute;right:26px;bottom:14px;z-index:1;display:flex;gap:0;align-items:flex-end;pointer-events:none;user-select:none}
.hero-neco-pair img{display:block;width:72px;height:72px;object-fit:contain}
@media(min-width:901px) and (max-width:1050px){.hero-neco-pair{right:15px}.hero-neco-pair img{width:56px;height:56px}}
@media(max-width:640px){.hero-neco-pair{position:relative;right:auto;bottom:auto;justify-content:flex-end;margin:15px -5px -15px}.hero-neco-pair img{width:56px;height:56px}}
/* Character scale: black NECOAI is larger; keep the overall pair discreet. */
.hero-neco-pair img:last-child{width:58px;height:58px}
@media(min-width:901px) and (max-width:1050px){.hero-neco-pair img:last-child{width:45px;height:45px}}
@media(max-width:640px){.hero-neco-pair img:last-child{width:45px;height:45px}}
/* PICK UP balance: the PICK UP card stretches to the EXPLORE panel height (grid stretch),
   and the extra height goes to the illustration area so no blank space is left under the card. */
@media(min-width:641px){.feature-story{display:flex;flex-direction:column}.feature-link{flex:none;display:flex;flex-direction:column}.feature-art{flex:none;min-height:224px;display:flex;flex-direction:column;justify-content:center}.feature-art .art-folders{top:50%;transform:translateY(-50%) rotate(-9deg)}.feature-art .art-orbit{top:50%;transform:translateY(-50%)}}
@media(min-width:641px) and (max-width:900px){.feature-art{min-height:205px}}

/* まとめ図の上部(タイトル部分)をカード・記事先頭に出す。縦長画像の上から横長に切り抜く */
.card-thumb{display:block;margin:0 -5px 12px;border-radius:7px;overflow:hidden;background:var(--category-bg,#eef5fc)}
.card-thumb img{display:block;width:100%;height:auto;aspect-ratio:20/9;object-fit:cover;object-position:top}
.article-hero-image{margin:0 0 24px;border-radius:10px;overflow:hidden;background:var(--category-bg,#eef5fc)}
.article-hero-image img{display:block;width:100%;height:auto;aspect-ratio:20/9;object-fit:cover;object-position:top}

/* 画像つきカード: 画像が見出しの代わりなので、タイトルの色つき帯は付けず文字だけにする */
.article-card.has-thumb h3{position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.article-card.has-thumb .card-thumb{margin:0 0 14px}
.feature-art--image{padding:0;background:#eaf3fc;flex:none;height:auto;min-height:0;aspect-ratio:1000/450}.feature-art--image img{display:block;width:100%;height:100%;object-fit:cover}
.feature-art--plain{background:var(--category-bg,#eaf3fc)}.feature-art--plain .art-large{color:var(--category-color,#23384c)}

/* PICK UPの下の記事リスト: テーマ欄との高さの差をちょうど埋める。
   枠(.feature-more)は残りの高さを取り、中身は枠いっぱいに重ねて置く(中身の量で行の高さが変わらない)。
   縦並びを折り返す設定にして、入りきらない行は右の見えない列へ送り、半端に切れた行を出さない。 */
.feature-more{display:none}
@media(min-width:641px){
.feature-more{display:block;position:relative;flex:1 1 0;min-height:0;margin-top:14px}
.feature-more-inner{position:absolute;inset:0;display:flex;flex-direction:column;overflow:hidden}
.feature-more-inner>.section-eyebrow{flex:none;margin-bottom:4px}
.feature-more ul{flex:1 1 0;min-height:0;display:flex;flex-direction:column;flex-wrap:wrap;overflow:hidden;list-style:none;margin:0;padding:0}
.feature-more li{width:100%;flex:none;border-top:1px solid var(--color-border)}
.feature-more a{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:2px;padding:11px 2px;text-decoration:none;color:var(--color-text)}
.feature-more a:hover .feature-more-title{color:#003b76;text-decoration:underline}
.feature-more-cat{grid-column:1;font-size:10px;font-weight:700;color:#003b76}
.feature-more-title{grid-column:1;font-size:13px;line-height:1.5;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.feature-more time{grid-column:2;grid-row:1 / span 2;align-self:center;font-size:10px;color:#586b81;white-space:nowrap}
}
.ad-slot{margin:28px 0;text-align:center;min-height:90px;clear:both}
.ad-slot .ad-label{display:block;margin:0 0 6px;font-size:10px;color:#7b838b}

/* 初めての読者が、目的から一つの仕事を始められる入口 */
.hero-wrap{margin-bottom:28px}.hero-copy p{font-size:15px!important;line-height:1.85!important}.hero h1{font-size:clamp(28px,3.4vw,40px)}.hero-site-desc{font-size:12px!important}.hero-neco-pair{opacity:.85}.reader-entry{margin:24px 0 44px}.reader-entry-heading h2{font-size:30px;margin:8px 0}.reader-entry-heading>p{font-size:15px;color:#526176;margin:8px 0 20px}.reader-first{display:flex;align-items:center;gap:20px;padding:22px 26px;margin-bottom:18px;background:#102f49;border-radius:12px;color:#fff;text-decoration:none}.reader-first:hover{background:#184461}.reader-first-no{font-size:12px;background:#66e4f4;color:#0d3448;padding:5px 10px;border-radius:4px;white-space:nowrap}.reader-first strong{display:block;font-size:21px}.reader-first small{display:block;margin-top:6px;color:#d0e0eb;font-size:14px}.reader-first>span:last-child{margin-left:auto;font-size:25px}.reader-path-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.reader-path-grid article{display:flex;flex-direction:column;padding:22px;border:1px solid #c8d8e4;border-radius:12px;background:#f5f9fc}.reader-path-no{font-size:12px;color:#24718c;font-weight:700;letter-spacing:.1em}.reader-path-grid h3{font-size:18px;line-height:1.55;margin:12px 0 8px}.reader-path-grid p{color:#506274;font-size:14px;line-height:1.85;margin:0 0 18px}.reader-path-grid a{font-size:14px;font-weight:700;margin-top:auto}.feature-grid{padding-top:26px;border-top:1px solid #d5dfe8}.feature-text h2{font-size:25px;line-height:1.55}.article-detail-header{margin-bottom:16px}.article-hero-image{max-width:850px;margin:0 0 28px}.article-detail-header h1{max-width:1050px}.article-card h3{line-height:1.6}.start-toc{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.start-toc a{padding:10px 16px;border:1px solid #bed1df;border-radius:7px;text-decoration:none;background:#f2f7fb;font-size:15px}.start-method{padding:16px 20px;background:#f3f5f7;border-left:3px solid #a3b5c4;font-size:14px;line-height:1.9}.start-chapter{margin:46px 0;padding-top:24px;border-top:1px solid #d5dfe8;scroll-margin-top:24px}.start-chapter h2{font-size:26px}.start-chapter p,.start-chapter li{line-height:1.95}.start-steps li{margin:12px 0}.start-example,.start-check{margin:24px 0;padding:24px;border:1px solid #c7d7e4;border-radius:12px;background:#f7fafc}.start-check{border-left:4px solid #1985a0;background:#eef8fa}.start-example h3,.start-check h3{margin-top:0;font-size:18px}.start-example pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:18px;background:#fff;border:1px solid #d5dfe8;border-radius:8px;font:14px/1.9 ui-monospace,monospace}.example-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}.example-head button{padding:10px 15px;border:0;border-radius:7px;background:#123f5c;color:#fff;font:inherit;cursor:pointer}.start-next{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.start-next a{padding:20px;background:#f2f7fb;border:1px solid #c7d7e4;border-radius:10px;text-decoration:none}.start-next strong,.start-next span{display:block}.start-next span{font-size:14px;color:#526176;margin-top:8px}.article-reading-layout{align-items:start}
@media(max-width:900px){.reader-path-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero p{font-size:15px!important;max-width:none}.hero-copy{margin:16px 0}.hero-action{font-size:14px}.hero-neco-pair{bottom:14px;right:16px}.hero{padding-bottom:38px}.reader-entry-heading h2{font-size:27px}.article-body{font-size:16px;line-height:1.95}}
@media(max-width:640px){.hero h1{font-size:30px}.reader-first{padding:20px;gap:12px;align-items:flex-start;flex-wrap:wrap}.reader-first-no{font-size:11px}.reader-first strong{font-size:20px}.reader-first small{font-size:14px}.reader-path-grid{gap:10px}.reader-path-grid article{padding:17px 14px}.reader-path-grid h3{font-size:17px}.reader-path-grid p{font-size:14px}.reader-path-grid a{font-size:13px}.start-next{grid-template-columns:1fr}.start-example,.start-check{padding:18px}.start-example pre{font-size:14px}.article-lead{font-size:16px;line-height:1.9}.article-detail-header h1{font-size:27px;line-height:1.55}.site-header nav{font-size:12px;gap:12px}.reader-first>span:last-child{display:none}.feature-text p,.article-card p{font-size:14px}.article-card h3{font-size:19px}.article-index-header>p{font-size:15px}.incident-title{font-size:13px}}

@media(max-width:640px){.hero{text-align:left;padding:24px 22px 30px}.hero h1{font-size:28px}.hero-copy{margin:12px 0}.hero-copy p{font-size:14px!important;line-height:1.8!important}.hero .hero-site-desc{font-size:12px!important}.hero-neco-pair img{width:46px;height:46px}}

/* Keep the existing search link visible in the mobile navigation. */
@media (max-width: 640px) {
  .site-header nav {
    width: 100%;
    margin-left: 0;
    gap: 6px 8px;
    align-items: center;
  }

  .site-header nav .header-search {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-left: auto;
    padding: 6px 10px;
    white-space: nowrap;
  }

  .site-header .header-search span {
    display: none;
  }
}
