/* トゥモローノート。ノートの紙（生成り）・罫線・紺の文字。差し色は朝の橙、柱ごとに空の青（乗り物）と葉の緑（体）。
   文字は 15px 以上、本文 #374151 以上の濃さ、スマホ前提（インシデントレーダーの site.css を元に作り変えた） */
:root {
  --ink: #14253d;
  --text: #374151;
  --muted: #4b5563;
  --line: #e4e0d6;
  --rule: #dbe4ee;
  --paper: #fffdf8;
  --soft: #f6f3ec;
  --accent: #c2410c;
  --accent-ink: #9a3412;
  --sky: #0369a1;
  --sky-bg: #eff8ff;
  --sky-line: #bae0fd;
  --leaf: #047857;
  --leaf-bg: #ecfdf5;
  --leaf-line: #a7f3d0;
  --sun: #b45309;
  --sun-bg: #fffbeb;
  --sun-line: #fde68a;
  --violet: #6d28d9;
  --violet-bg: #f5f3ff;
  --violet-line: #ddd6fe;
  --night: #3730a3;
  --night-bg: #eef2ff;
  --night-line: #c7d2fe;
  --sea: #0f766e;
  --sea-bg: #f0fdfa;
  --sea-line: #99f6e4;
  --berry: #be123c;      /* 食（2026-10-14） */
  --berry-bg: #fff1f2;
  --berry-line: #fecdd3;
  --steel: #475569;      /* ロボット */
  --steel-bg: #f1f5f9;
  --steel-line: #cbd5e1;
  --azure: #1d4ed8;      /* 旅 */
  --azure-bg: #eff6ff;
  --azure-line: #bfdbfe;
  --warn: #92400e;
  --warn-bg: #fffbeb;
  --red: #b91c1c;
  --red-bg: #fef2f2;
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { color: var(--ink); line-height: 1.45; font-weight: 800; letter-spacing: .01em; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 16px; }   /* 2026-10-18 カツ「最大幅もう少し大きく」（前は 1120px） */
.narrow { max-width: 760px; }

/* 頭 */
.site-head { border-bottom: 1px solid var(--line); background: #fff; }
.site-head__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo__mark { flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__en { font-weight: 900; font-size: 19px; letter-spacing: .03em; }
.logo__ja { font-size: 15px; color: var(--accent-ink); font-weight: 700; }
.gnav { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.gnav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.gnav a[aria-current], .gnav a:hover { border-bottom-color: var(--accent); }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 12px auto 0; padding: 0; font-size: 15px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 4px; color: #9ca3af; }
.crumbs a { color: var(--muted); }

.site-main { padding-bottom: 48px; }

/* トップの見出し（ノートの罫線と、左の余白の線） */
.hero { position: relative; padding: 44px 0 40px; border-bottom: 1px solid var(--line);
  background-color: #fff;
  background-image:
    linear-gradient(90deg, transparent 0 46px, rgba(194,65,12,.35) 46px 47px, transparent 47px),
    repeating-linear-gradient(transparent 0 35px, var(--rule) 35px 36px); }
.hero__in { padding-left: 52px; }
.hero__eyebrow { margin: 0 0 6px; color: var(--accent-ink); font-weight: 700; font-size: 15px; letter-spacing: .04em; line-height: 36px; }
.hero__title { font-size: clamp(32px, 5.6vw, 56px); line-height: 1.3; margin: 0 0 18px; font-weight: 900; color: var(--ink); }
.hero__lead { max-width: 640px; margin: 0 0 18px; font-size: 17px; line-height: 36px; color: var(--ink); }
.hero__rules { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; padding: 0; }
.hero__rules li { font-size: 15px; font-weight: 700; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 2px 14px; }
.hero__rules li::before { content: "✓"; color: var(--accent); margin-right: 6px; }

/* 部品 */
.block { margin-top: 44px; }
.block__title { font-size: clamp(22px, 3.4vw, 28px); margin: 0 0 16px; padding: 0 0 8px; border-bottom: 2px solid var(--ink); position: relative; }
.block__title::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: .15em; }
.block__lead { margin: -4px 0 16px; }
.btn { display: inline-block; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; padding: 11px 20px; border-radius: 999px; border: 2px solid var(--ink); font-size: 16px; line-height: 1.4; cursor: pointer; font-family: inherit; min-height: 44px; }
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); }
.btn--ghost:hover { background: var(--soft); color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.note { font-size: 15px; color: var(--muted); }
.more { margin: 16px 0 0; font-weight: 700; }
.empty { padding: 20px; background: var(--soft); border-radius: var(--radius); }
.caution { margin: 24px 0; padding: 14px 18px; border: 1px solid #fde68a; border-left: 5px solid #d97706; background: var(--warn-bg); border-radius: var(--radius); color: #78350f; font-size: 15px; }
.caution strong { display: block; color: var(--warn); margin-bottom: 2px; }

/* 柱の入口（トップ） */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pillar { --c: var(--sky); --bg: var(--sky-bg); --ln: var(--sky-line); border: 1px solid var(--ln); border-top: 6px solid var(--c); border-radius: var(--radius); background: #fff; padding: 18px 20px 20px; }
.pillar--leaf { --c: var(--leaf); --bg: var(--leaf-bg); --ln: var(--leaf-line); }
.pillar__group { margin: 0; font-weight: 700; color: var(--c); font-size: 15px; }
.pillar__title { margin: 2px 0 0; font-size: clamp(22px, 3vw, 26px); }
.pillar__title a { color: var(--ink); text-decoration: none; }
.pillar__title a:hover { text-decoration: underline; }
.pillar__short { margin: 0 0 6px; font-weight: 700; color: var(--ink); }
.pillar__count { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.pillar__num { font-size: 34px; font-weight: 900; color: var(--ink); margin-right: 4px; font-variant-numeric: tabular-nums; }
.pillar__stages { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; counter-reset: st; }
.pillar__stages a { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-decoration: none; padding: 6px 12px; border-radius: 8px; background: var(--bg); color: var(--ink); font-size: 15px; font-weight: 700; }
.pillar__stages a::before { counter-increment: st; content: counter(st); flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--c); color: #fff; font-size: 15px; line-height: 24px; text-align: center; }
.pillar__stage { flex: 1; }
.pillar__sn { font-variant-numeric: tabular-nums; }
.pillar__stages a:hover { outline: 2px solid var(--c); }
.pillar__more { margin: 0; }
.pillar .btn { background: var(--c); border-color: var(--c); }

/* カード */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { --c: var(--sky); border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: var(--radius); padding: 14px 16px; background: #fff; display: flex; flex-direction: column; gap: 6px; }
.card--leaf { --c: var(--leaf); }
.card__meta, .card__org, .card__stage, .card__target { margin: 0; font-size: 15px; }
.card__meta { color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 10px; }
.card__pillar { font-weight: 700; color: var(--c); }
.card__title { margin: 0; font-size: 17px; line-height: 1.55; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--accent-ink); text-decoration: underline; }
.card__org { color: var(--ink); font-weight: 700; }
.card__region { display: inline-block; margin-left: 8px; font-weight: 600; color: var(--muted); }
.card__region::before { content: "📍"; margin-right: 2px; }
.card__stage { color: var(--ink); }
.card__target { color: var(--muted); }

.tag { display: inline-block; font-size: 15px; line-height: 1.5; padding: 1px 10px; border-radius: 6px; font-weight: 600; white-space: nowrap; background: var(--soft); color: var(--ink); border: 1px solid var(--line); text-decoration: none; }
.tag:hover { border-color: var(--ink); color: var(--ink); }
.tag--pillar { font-weight: 800; color: #fff; border-color: transparent; }
.tag--sky { background: var(--sky); }
.tag--leaf { background: var(--leaf); }
.tag--pillar:hover { color: #fff; opacity: .9; }
.stage-tag { display: inline-block; font-size: 15px; line-height: 1.5; padding: 1px 9px; border-radius: 6px; font-weight: 700; }
.stage-tag--sky { background: var(--sky-bg); color: var(--sky); border: 1px solid var(--sky-line); }
.stage-tag--leaf { background: var(--leaf-bg); color: var(--leaf); border: 1px solid var(--leaf-line); }

/* 段階の目盛り（inc/site.php の stageSteps()）。罫線の上に印を付ける形 */
.steps { --c: var(--sky); margin: 8px 0 4px; }
.steps--leaf { --c: var(--leaf); }
.steps__list { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; padding: 0; position: relative; }
.steps__item { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.steps__item::before { content: ""; position: absolute; top: 10px; left: -50%; right: 50%; height: 3px; background: var(--line); }
.steps__item:first-child::before { display: none; }
.steps__item.is-done::before, .steps__item.is-now::before { background: var(--c); }
.steps__dot { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); background: #fff; }
.steps__item.is-done .steps__dot { border-color: var(--c); background: var(--c); }
.steps__item.is-now .steps__dot { border-color: var(--c); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent); }
.steps__item.is-now .steps__dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--c); }
.steps__label { font-size: 15px; line-height: 1.4; color: var(--muted); font-weight: 600; }
.steps__item.is-now .steps__label { color: var(--ink); font-weight: 800; }
.steps--mini { margin: 4px 0 0; }
.steps--mini .steps__item::before { top: 6px; height: 2px; }
.steps--mini .steps__dot { width: 14px; height: 14px; border-width: 2px; }
.steps--mini .steps__item.is-now .steps__dot { box-shadow: none; }
.steps--mini .steps__item.is-now .steps__dot::after { inset: 2px; }

/* これからの年表（トップ） */
.future { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--ink); }
.future__year { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 8px 16px; padding: 0 0 18px 18px; position: relative; }
.future__year::before { content: ""; position: absolute; left: -9px; top: .55em; width: 15px; height: 15px; border-radius: 50%; background: var(--accent); }
.future__y { margin: 0; font-weight: 800; color: var(--ink); }
.future__y span { font-size: 26px; font-variant-numeric: tabular-nums; margin-right: 2px; }
.future__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.future__item { --c: var(--sky); border-left: 3px solid var(--c); padding: 2px 0 2px 12px; }
.future__item--leaf { --c: var(--leaf); }
.future__item a { font-weight: 700; color: var(--ink); }
.future__meta { display: block; font-size: 15px; color: var(--muted); }

/* このノートの書き方（トップ） */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.how__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.how__item p { margin: 0; }
.how__h { font-weight: 800; color: var(--ink); margin-bottom: 4px !important; }

/* ページの頭 */
.page-head { margin: 22px 0 22px; }
.page-head h1 { font-size: clamp(26px, 4.4vw, 36px); margin: 6px 0 10px; }
.page-head__eyebrow { margin: 0; color: var(--accent-ink); font-weight: 700; }
.page-head__lead { font-size: 17px; }
.page-head__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.dates { font-size: 15px; color: var(--muted); margin: 0; }

/* 柱の一覧：段階ごとの件数 */
.stagebar { margin: 0 0 20px; }
.stagebar__h { font-size: 18px; margin: 0 0 8px; }
.stagebar__list { --c: var(--sky); --bg: var(--sky-bg); list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; counter-reset: st; }
.stagebar__list--leaf { --c: var(--leaf); --bg: var(--leaf-bg); }
.stagebar__list a { display: flex; flex-direction: column; justify-content: space-between; height: 100%; gap: 4px; text-decoration: none; padding: 10px 12px; border-radius: 8px; background: var(--bg); color: var(--ink); border-top: 4px solid var(--c); }
.stagebar__list a[aria-current] { outline: 2px solid var(--c); }
.stagebar__list a:hover { outline: 2px solid var(--c); }
.stagebar__label { font-size: 15px; font-weight: 700; line-height: 1.45; }
.stagebar__label::before { counter-increment: st; content: counter(st) ". "; color: var(--c); }
.stagebar__n { font-size: 26px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stagebar__n small { font-size: 15px; margin-left: 2px; }

/* 一覧 */
.filters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; align-items: end; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.filter { display: flex; flex-direction: column; gap: 4px; font-size: 15px; font-weight: 700; color: var(--ink); min-width: 0; }
.filter select, .form select, .form input, .form textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; padding: 8px 10px; width: 100%; min-width: 0; }
.filters__btns { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
.count { font-weight: 700; color: var(--ink); margin: 16px 0 8px; }
.count__num { font-size: 32px; font-weight: 900; margin-right: 2px; font-variant-numeric: tabular-nums; }
.count__of { color: var(--muted); margin-left: 6px; }
.table-wrap { margin-top: 8px; }
.itable { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
.itable th { text-align: left; color: var(--ink); background: var(--soft); border-bottom: 2px solid var(--ink); padding: 8px; white-space: nowrap; font-size: 15px; }
.itable td { border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.itable td.nowrap { white-space: nowrap; }
.itable .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.itable__main a { font-weight: 800; color: var(--ink); }
.sort { font: inherit; font-weight: 800; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; }
.sort::after { content: " ↕"; color: #9ca3af; }
th[aria-sort="descending"] .sort::after { content: " ↓"; color: var(--accent); }
th[aria-sort="ascending"] .sort::after { content: " ↑"; color: var(--accent); }

/* 1件のページ */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start; }
.article h2 { font-size: clamp(21px, 3vw, 25px); margin: 40px 0 12px; padding-bottom: 6px; border-bottom: 2px solid var(--line); }
.article h3 { font-size: 18px; margin: 22px 0 8px; }
.summary { background: #fff; border-top: 3px solid var(--ink); padding: 16px 0;   /* 2026-10-18 カツ「枠線・角丸はダサいのでやめて」＝箱をやめて上の線1本 */
  background-image: repeating-linear-gradient(transparent 0 33px, var(--rule) 33px 34px); background-position: 0 50px; }
.summary h2 { margin: 0 0 10px; border: 0; padding: 0; font-size: 20px; }
.summary__lead { font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.summary__dl { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); gap: 4px 12px; margin: 0; }
.summary__dl dt { font-weight: 800; color: var(--accent-ink); }
.summary__dl dd { margin: 0; color: var(--ink); }
.summary__dl .note { margin-left: 6px; }
.kako-item .summary__dl { grid-template-columns: 7.5em minmax(0, 1fr); }   /* 過去の未来：見出しが長い（描いた未来の年） */
.kako-item .summary__dl > div { display: contents; }
.facts-list { padding-left: 1.2em; }
.facts-list li { margin: 12px 0; line-height: 1.95; color: var(--ink); }   /* 2026-10-17 行間を広く（カツ「行間が読みにくい」） */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--line); }
.timeline li { padding: 0 0 14px 18px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: .5em; width: 13px; height: 13px; border-radius: 50%; background: var(--accent); }
.timeline time { font-weight: 800; color: var(--ink); }
.timeline p { margin: 2px 0 0; }
.srcref { font-size: 15px; white-space: nowrap; }
.sources { padding-left: 1.2em; }
.sources li { margin: 6px 0; }
.sources__id { color: var(--muted); margin-right: 4px; }
.side__box { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; position: sticky; top: 16px; background: #fff; }
.side__h { margin: 0 0 6px; font-weight: 800; color: var(--ink); }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li a { display: block; padding: 5px 0; font-size: 15px; color: var(--text); text-decoration: none; }
.side li a:hover, .side li a[aria-current] { color: var(--accent-ink); font-weight: 700; }

.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; }
.pills a { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; background: #fff; }
.pills a:hover { border-color: var(--ink); }

/* 文章のページ */
.prose h2 { font-size: 22px; margin: 32px 0 8px; }

/* フォーム（問い合わせ） */
.form { display: grid; gap: 18px; }
.field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.req, .opt { font-size: 15px; font-weight: 700; margin-left: 4px; }
.req { color: var(--red); }
.opt { color: var(--muted); }
.field__help { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.field__err { margin: 4px 0 0; color: var(--red); font-weight: 700; font-size: 15px; }
.form [aria-invalid="true"] { border-color: var(--red); background: var(--red-bg); }
.form__privacy { font-size: 15px; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: 8px; background: var(--warn-bg); border: 1px solid #fde68a; color: #78350f; font-weight: 700; }
.alert--info { background: var(--sky-bg); border-color: var(--sky-line); color: var(--ink); }
.alert--error { background: var(--red-bg); border-color: #fecaca; color: #7f1d1d; }

/* 記事のコメント（テンプレートの base.css の .cm を写した・2026-10-12）。1件のページの本文の幅に合わせて余白だけ直した。小さい字は 15px に */
.cm{max-width:760px;margin:48px 0 0;padding:0}
.cm-h{font-size:20px;margin:0 0 14px}
.cm-msg{padding:10px 14px;border-radius:10px;background:#ecfdf5;color:#065f46;font-weight:700;font-size:15px}
.cm-list{list-style:none;margin:0 0 20px;padding:0}
.cm-item{padding:14px 0;border-top:1px solid #e5e7eb}
.cm-meta{display:flex;gap:10px;align-items:baseline;font-size:15px}.cm-meta time{color:#6b7280;font-size:15px}
.cm-body{margin:6px 0 0;font-size:16px;line-height:1.75;overflow-wrap:anywhere}
.cm-none{color:#6b7280;font-size:15px}
.cm-form{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid #e5e7eb;border-radius:14px;background:#fafafa}
.cm-l{display:flex;flex-direction:column;gap:6px;font-size:15px;font-weight:700}
.cm-l input,.cm-l textarea{font:inherit;font-size:16px;font-weight:400;padding:10px 12px;border:1px solid #d1d5db;border-radius:10px;background:#fff;width:100%;box-sizing:border-box}
.cm-note{margin:0;font-size:15px;color:#6b7280}
.cm-btn{align-self:flex-start;border:0;border-radius:999px;padding:12px 28px;font:inherit;font-size:16px;font-weight:700;background:#111827;color:#fff;cursor:pointer;min-height:44px}
.cm-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.article .cm h2 { border: 0; padding: 0; margin: 0 0 14px; }

/* 広告の枠（ADS_ENABLED が true のときだけ出る） */
.ad-slot { margin: 32px auto; min-height: 0; }

/* 足 */
.site-foot { background: var(--ink); color: #cbd5e1; padding: 32px 0 20px; margin-top: 40px; }
.site-foot__disclaimer { margin: 0 0 28px; padding: 14px 18px; border: 1px solid rgba(203,213,225,.35); border-radius: var(--radius); font-size: 15px; color: #e2e8f0; }
.site-foot__disclaimer strong { display: block; color: #fde68a; }
.site-foot__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.site-foot__name, .site-foot__h { color: #fff; font-weight: 800; margin: 0 0 8px; }
.site-foot p { font-size: 15px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li a { color: #e2e8f0; font-size: 15px; text-decoration: none; display: inline-block; padding: 3px 0; }
.site-foot li a:hover { text-decoration: underline; color: #fff; }
.site-foot__copy { font-size: 15px; color: #94a3b8; margin-top: 20px; }
.site-foot__op { font-size: 15px; color: #cbd5e1; margin: 24px auto 0; padding-top: 16px; border-top: 1px solid rgba(203,213,225,.2); }
.site-foot__op a { color: #e2e8f0; }
.site-foot__op a:hover { color: #fff; }

/* タブレット */
@media (max-width: 1000px) {
  .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .side__box { position: static; }
}
/* スマホ */
@media (max-width: 760px) {
  .pillars, .how { grid-template-columns: minmax(0, 1fr); }
  .cards, .cards--2 { grid-template-columns: minmax(0, 1fr); }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stagebar__list { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-foot__in { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 28px 0 30px; background-image:
    linear-gradient(90deg, transparent 0 22px, rgba(194,65,12,.35) 22px 23px, transparent 23px),
    repeating-linear-gradient(transparent 0 35px, var(--rule) 35px 36px); }
  .hero__in { padding-left: 24px; }
  .future__year { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  /* 段階の名前は狭いと重なるので、スマホでは縦に並べる */
  .steps:not(.steps--mini) .steps__list { grid-auto-flow: row; grid-auto-columns: auto; gap: 8px; }
  .steps:not(.steps--mini) .steps__item { flex-direction: row; text-align: left; gap: 10px; }
  .steps:not(.steps--mini) .steps__item::before { top: -10px; bottom: auto; left: 9.5px; right: auto; width: 3px; height: 14px; }
  /* 表はカードの形にする（横にはみ出さないように） */
  .itable thead { display: none; }
  .itable, .itable tbody, .itable tr, .itable td { display: block; width: 100%; }
  .itable tr { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; padding: 6px 14px; }
  .itable td { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 8px; padding: 6px 0; text-align: left !important; white-space: normal !important; }
  .itable td:last-child { border-bottom: 0; }
  .itable td::before { content: attr(data-label); font-weight: 700; color: var(--muted); }
  .itable td.itable__main { display: block; }
  .itable td.itable__main::before { content: none; }
}

/* ---------- 画像（2026-10-13・メディアの見た目） ---------- */
/* トップ：横いっぱいの絵の上に文字。左から暗くして文字を読みやすく */
.hero--photo { background: #0b1b2e; border-bottom: 0; padding: clamp(64px, 12vw, 140px) 0 clamp(48px, 8vw, 96px); overflow: hidden; }
.hero--photo .hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,20,38,.86) 0%, rgba(8,20,38,.62) 45%, rgba(8,20,38,.08) 100%); }
.hero--photo .hero__in { position: relative; z-index: 1; padding-left: 16px; }
.hero--photo .hero__eyebrow { color: #fde68a; }
.hero--photo .hero__title, .hero--photo .hero__lead { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hero--photo .hero__lead { line-height: 1.9; }
.hero--photo .hero__rules li { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); color: #fff; backdrop-filter: blur(4px); }
.hero--photo .hero__rules li::before { color: #fde68a; }
/* 分野の入口・カード：上に絵 */
.pillar__ph, .card__ph { display: block; overflow: hidden; border-radius: 10px; aspect-ratio: 4 / 3;   /* アイキャッチは 4:3（2026-10-13 カツ） */ margin: 0 0 12px; background: #e5edf5; }
.card__ph { margin: -14px -16px 6px; border-radius: 0; }
.card--photo { padding-top: 14px; overflow: hidden; border-left-width: 1px; border-top: 4px solid var(--c); }
.pillar__img, .card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.pillar:hover .pillar__img, .card:hover .card__img { transform: scale(1.04); }
/* 分野のページ・1件のページ：見出しの下に大きく */
.cover { margin: 8px 0 24px; max-width: 480px; }   /* PC で横幅いっぱいの 4:3 は大きすぎて記事が読みにくい（2026-10-14 カツ） */
.cover__img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;   /* 4:3（2026-10-13 カツ）。height:auto が無いと img の高さの属性が勝って縦長になる */ border-radius: var(--radius); display: block; }
.cover figcaption { margin-top: 6px; font-size: 15px; color: #333; }
@media (max-width: 760px) {
  .hero--photo::after { background: linear-gradient(180deg, rgba(8,20,38,.55) 0%, rgba(8,20,38,.82) 100%); }
  .cover__img { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .pillar__img, .card__img { transition: none; } }

/* 2026-10-13 分野を2つ足した（テーマパーク＝sun・未来の建物＝violet） */
.pillar--sun { --c: var(--sun); --bg: var(--sun-bg); --ln: var(--sun-line); }
.pillar--violet { --c: var(--violet); --bg: var(--violet-bg); --ln: var(--violet-line); }
.card--sun { --c: var(--sun); } .card--violet { --c: var(--violet); }
.tag--sun { background: var(--sun); } .tag--violet { background: var(--violet); }
.stage-tag--sun { background: var(--sun-bg); color: var(--sun); border: 1px solid var(--sun-line); }
.stage-tag--violet { background: var(--violet-bg); color: var(--violet); border: 1px solid var(--violet-line); }
.steps--sun { --c: var(--sun); } .steps--violet { --c: var(--violet); }
.future__item--sun { --c: var(--sun); } .future__item--violet { --c: var(--violet); }
.stagebar__list--sun { --c: var(--sun); --bg: var(--sun-bg); } .stagebar__list--violet { --c: var(--violet); --bg: var(--violet-bg); }
.card__country { margin: 0; font-size: 15px; color: #333; } .card__country::before { content: "🌐 "; }

/* 日本と海外（2026-10-13） */
.jw { display: grid; gap: 12px; }
.jw__row { --c: var(--sky); display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr); gap: 12px 16px; align-items: start; border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: var(--radius); background: #fff; padding: 14px 16px; }
.jw__row--leaf { --c: var(--leaf); } .jw__row--sun { --c: var(--sun); } .jw__row--violet { --c: var(--violet); }
.jw__h { margin: 0; font-size: 17px; } .jw__h a { color: var(--c); }
.jw__label { margin: 0 0 4px; font-weight: 700; font-size: 15px; } .jw__label b { font-size: 20px; color: var(--c); }
.jw__item { margin: 0; font-size: 15px; line-height: 1.6; } .jw__item span { display: block; color: #333; font-size: 15px; }
.jw__none { color: #333; }
@media (max-width: 760px) { .jw__row { grid-template-columns: minmax(0, 1fr); } }

/* ================= 2026-10-13 メディア型のデザイン（yR Media の形にそろえた） ================= */
:root { --paper: #ffffff; --soft: #f1f4f7; --navy: #0f1d33; }
body { background: #fff; }
/* 頭 */
.site-head { border-bottom: 0; }
.site-head__in { min-height: 70px; flex-wrap: nowrap; }
.logo__en { font-size: 21px; letter-spacing: .08em; font-weight: 800; }
.logo__ja { letter-spacing: .12em; font-size: 15px; }
.hnav { display: flex; gap: 18px; }
.hnav a { color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hnav a:hover, .hnav a[aria-current] { color: var(--accent-ink); }
.site-bar { background: var(--soft); border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; }
.site-bar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; }
.site-bar__tag { margin: 0; font-size: 15px; color: #333; letter-spacing: .04em; white-space: nowrap; }
.gnav { display: flex; gap: 0; flex-wrap: nowrap; border: 1px solid #d1d5db; background: #fff; border-radius: 4px; overflow: hidden; flex: none; }
.gnav .gnav__a { padding: 7px 16px; border-bottom: 0; border-left: 1px solid #e5e7eb; font-size: 15px; letter-spacing: .04em; white-space: nowrap; }
.gnav .gnav__a:first-child { border-left: 0; }
.gnav .gnav__a::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); margin-right: 8px; vertical-align: .1em; }
.gnav .gnav__a--leaf::before { background: var(--leaf); }
.gnav .gnav__a--sun::before { background: var(--sun); }
.gnav .gnav__a--violet::before { background: var(--violet); }
.gnav .gnav__a:hover, .gnav .gnav__a[aria-current] { background: var(--soft); }
/* 特集の帯 */
.feature { background: var(--navy); padding: 24px 0; }
.feature__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; min-height: 460px; }
.feature__main { grid-row: 1 / 3; position: relative; overflow: hidden; border-radius: 4px; background: #1e2d45; }
.feature__sub { position: relative; overflow: hidden; border-radius: 4px; display: block; color: #fff; text-decoration: none; background: #1e2d45; min-height: 200px; }
.feature__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feature__sub:hover .feature__img { transform: scale(1.05); }
.feature__main::after, .feature__sub::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,18,34,0) 35%, rgba(8,18,34,.85) 100%); }
.feature__text, .feature__subtext { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px 24px; color: #fff; }
.feature__subtext { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.feature__subtext b { font-size: 17px; line-height: 1.4; }
.feature__subtext small { font-size: 15px; opacity: .92; }
.pill { display: inline-block; align-self: flex-start; margin: 0 0 8px; padding: 1px 12px; border: 1px solid rgba(255,255,255,.8); border-radius: 999px; font-size: 15px; font-weight: 700; color: #fff; background: rgba(0,0,0,.25); }
.feature__title { color: #fff; font-size: clamp(30px, 4vw, 46px); line-height: 1.3; margin: 0 0 10px; font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif; font-weight: 700; letter-spacing: .04em; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.feature__lead { margin: 0; max-width: 560px; font-size: 16px; line-height: 1.8; color: #fff; }
/* 本文とサイドバー */
.layout2 { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; margin-top: 8px; }
.layout2__main .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.block__title { font-size: 20px; letter-spacing: .06em; border-bottom: 0; padding-bottom: 0; }
.block__title::before { display: none; }
.layout2__side { position: sticky; top: 12px; margin-top: 44px; display: grid; gap: 20px; }
.sbox { border-top: 2px solid var(--ink); padding-top: 12px; }
.sbox--about { border: 0; background: var(--soft); padding: 22px 20px; text-align: center; border-radius: 4px; }
.sbox--about p { font-size: 15px; line-height: 1.9; color: #333; margin: 10px 0 14px; text-align: left; }
.sbox__mark { display: block; margin: 0 auto; }
.btn--dark { display: block; background: #333; color: #fff; border-color: #333; border-radius: 2px; letter-spacing: .1em; }
.btn--dark:hover { background: var(--ink); color: #fff; }
.sbox__link { display: inline-block; margin-top: 10px; font-size: 15px; }
.sbox__h { margin: 0 0 8px; font-size: 16px; letter-spacing: .06em; }
.sbox__cats { list-style: none; margin: 0; padding: 0; }
.sbox__cats a { display: flex; align-items: center; gap: 8px; padding: 9px 2px; border-bottom: 1px solid #e5e7eb; color: var(--ink); text-decoration: none; font-size: 15px; }
.sbox__n { margin-left: auto; color: #333; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); flex: none; }
.dot--leaf { background: var(--leaf); }
.dot--sun { background: var(--sun); }
.dot--violet { background: var(--violet); }
.sbox__news { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sbox__news a { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.6; }
.sbox__thumb { width: 88px; height: 58px; object-fit: cover; border-radius: 3px; }
.sbox__news small { display: block; color: #333; font-size: 15px; }
@media (max-width: 1000px) {
  .layout2 { grid-template-columns: minmax(0, 1fr); }
  .layout2__side { position: static; margin-top: 24px; }
}
@media (max-width: 860px) {
  .feature__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; min-height: 0; }
  .feature__main { grid-column: 1 / 3; grid-row: auto; min-height: 380px; }
  .feature__sub { min-height: 160px; }
  .site-bar__tag { display: none; }
  .site-bar__in { overflow-x: auto; }
}
@media (max-width: 760px) {
  .layout2__main .cards { grid-template-columns: minmax(0, 1fr); }
  .feature { padding: 12px 0; }
  .feature__text { padding: 16px; }
  .feature__subtext b { font-size: 15px; }
  .gnav .gnav__a { padding: 7px 12px; }
}
.logo__en { white-space: nowrap; }
@media (max-width: 760px) {
  .logo__en { font-size: 18px; letter-spacing: .04em; }
  .logo__mark { width: 38px; height: 38px; }
  .hnav { gap: 12px; }
}

/* ================= 2026-10-13 本文の部分をイマーシブナビの見た目に（角の丸い枠をやめて平らに） ================= */
.layout2__main .block__title { color: #334155; font-size: 19px; letter-spacing: .12em; font-weight: 700; }
.layout2__main .block__lead { color: #333; font-size: 15px; letter-spacing: .04em; }
/* 新しい発表：枠なしのカード（上に絵・札・題名・薄い補足） */
.layout2__main .cards { gap: 28px 20px; }
.layout2__main .card { border: 0; border-radius: 0; padding: 0; background: none; gap: 6px; }
.layout2__main .card--photo { border-top: 0; }
.layout2__main .card__ph { margin: 0 0 8px; border-radius: 0; aspect-ratio: 4 / 3; }
.layout2__main .card__meta { font-size: 15px; letter-spacing: .04em; color: #333; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.layout2__main .card__pillar { display: inline-block; padding: 0 8px; border: 1px solid #cbd5e1; color: #1f2937; font-size: 15px; background: #fff; }
.layout2__main .card__title { font-size: 16px; letter-spacing: .04em; line-height: 1.6; }
.layout2__main .card__title a { color: #111827; text-decoration: none; }
.layout2__main .card__title a:hover { text-decoration: underline; }
.layout2__main .card__org, .layout2__main .card__stage, .layout2__main .card__target, .layout2__main .card__country { color: #333; font-size: 15px; letter-spacing: .03em; margin: 0; }
/* 日本と海外：薄いグレーの面に、分野ごとの行 */
.layout2__main .jw { background: #eef2f5; padding: 20px 24px; gap: 0; }
.layout2__main .jw__row { border: 0; border-radius: 0; background: none; padding: 16px 0; border-top: 1px solid #d8dee6; }
.layout2__main .jw__row:first-child { border-top: 0; padding-top: 4px; }
.layout2__main .jw__h { font-size: 16px; letter-spacing: .06em; }
.layout2__main .jw__h a { text-decoration: none; }
.layout2__main .jw__label a { color: #334155; text-decoration: none; letter-spacing: .06em; }
.layout2__main .jw__item a { color: #111827; text-decoration: none; letter-spacing: .03em; }
.layout2__main .jw__item a:hover { text-decoration: underline; }
/* これからの年表：同じ薄いグレーの面 */
.layout2__main .future { background: #eef2f5; padding: 20px 24px; margin: 0; }
.layout2__main .future__item a { color: #111827; text-decoration: none; }
.layout2__main .future__item a:hover { text-decoration: underline; }
/* 分野から探す：枠のボタンの格子 */
.catgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.catgrid a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid #d1d5db; color: #1f2937; text-decoration: none; font-size: 15px; letter-spacing: .06em; background: #fff; }
.catgrid a:hover { background: #f8fafc; }
.catgrid .dot { background: #94a3b8; }
.catgrid .dot--sky { background: var(--sky); }
/* 最後の紺の帯 */
.cta { margin-top: 48px; background: #1e2433; color: #fff; padding: 56px 60px; }
.cta__title { color: #fff; font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: .08em; margin: 0 0 14px; }
.cta p { max-width: 560px; font-size: 15px; line-height: 1.9; letter-spacing: .04em; color: #fff; margin: 0 0 20px; }
.cta__btn { display: inline-block; border: 1px solid rgba(255,255,255,.7); color: #fff; padding: 10px 24px; text-decoration: none; letter-spacing: .12em; font-size: 15px; }
.cta__btn:hover { background: rgba(255,255,255,.1); color: #fff; }
@media (max-width: 760px) {
  .catgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { padding: 36px 22px; }
  .layout2__main .jw, .layout2__main .future { padding: 16px; }
}
.catgrid .dot--leaf { background: var(--leaf); }
.catgrid .dot--sun { background: var(--sun); }
.catgrid .dot--violet { background: var(--violet); }

/* 公式の画像（2026-10-13）：切り取らず全体を 4:3 の枠に収める（素材の決まりで手を加えない） */
.cover__img--official, .card__img--official { object-fit: contain; background: #0f172a; }

/* 引用する画像（2026-10-13）：本文の中に、枠で区別して置く。切り取らない */
.qfig { margin: 12px 0 8px; padding: 10px; border: 1px solid #e5e7eb; border-radius: 10px; background: #f9fafb; }
.qfig img { display: block; width: 100%; height: auto; border-radius: 6px; }
.qfig figcaption { margin-top: 8px; font-size: 15px; line-height: 1.6; color: #4b5563; }

/* 2026-10-13 分野を2つ足した（宇宙と夢の技術＝night・動物園・水族館の未来＝sea） */
.pillar--night { --c: var(--night); --bg: var(--night-bg); --ln: var(--night-line); } .pillar--sea { --c: var(--sea); --bg: var(--sea-bg); --ln: var(--sea-line); }
.card--night { --c: var(--night); } .card--sea { --c: var(--sea); }
.tag--night { background: var(--night); } .tag--sea { background: var(--sea); }
.stage-tag--night { background: var(--night-bg); color: var(--night); border: 1px solid var(--night-line); }
.stage-tag--sea { background: var(--sea-bg); color: var(--sea); border: 1px solid var(--sea-line); }
.steps--night { --c: var(--night); } .steps--sea { --c: var(--sea); }
.future__item--night { --c: var(--night); } .future__item--sea { --c: var(--sea); }
.stagebar__list--night { --c: var(--night); --bg: var(--night-bg); } .stagebar__list--sea { --c: var(--sea); --bg: var(--sea-bg); }
.jw__row--night { --c: var(--night); } .jw__row--sea { --c: var(--sea); }
.gnav .gnav__a--night::before { background: var(--night); } .gnav .gnav__a--sea::before { background: var(--sea); }
.dot--night { background: var(--night); } .dot--sea { background: var(--sea); }
.catgrid .dot--night { background: var(--night); } .catgrid .dot--sea { background: var(--sea); }
/* 研究者・施設の声（本人の投稿・公式の発表ではない） */
.voice__note { font-size: 15px; color: #4b5563; }
.voices { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.voice { border: 1px dashed #c7d2fe; border-radius: 10px; padding: 10px 14px; background: #fafaff; }
.voice__tag { display: inline-block; font-size: 15px; font-weight: 700; color: var(--night); border: 1px solid var(--night-line); border-radius: 999px; padding: 0 10px; background: #fff; }
.voice__who { margin: 6px 0 2px; font-weight: 700; color: #374151; }
.voice__about { margin: 0 0 4px; color: #374151; }
.voice__links { margin: 0; font-size: 15px; }

/* ===== 分野のページ（2026-10-14 カツ「AI で作った感が凄い。AFP BB News のような感じに」）
   上＝暗い帯に大きい1件＋小さい4件（写真に題名を重ねる）／段階は細い札の列／絞り込みはたたむ／一覧は写真付きの記事の並び ===== */
.band { --c: var(--sky); position: relative; overflow: hidden; background: #0b1324; color: #fff; padding: 26px 0 84px; margin: 0 0 8px; isolation: isolate; }
.band--leaf { --c: #34d399; } .band--sky { --c: #38bdf8; } .band--sun { --c: #fbbf24; } .band--violet { --c: #a78bfa; } .band--night { --c: #a5b4fc; } .band--sea { --c: #5eead4; }
.band__bg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(6px) brightness(.38) saturate(.9); z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,19,36,.55) 0%, rgba(11,19,36,.2) 45%, rgba(11,19,36,.75) 100%); z-index: -1; }
.band::after { content: ""; position: absolute; left: -12%; right: -12%; bottom: -70px; height: 130px; background: var(--paper); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.band__head { max-width: 760px; margin: 0 0 20px; }
.band__eyebrow { margin: 0; color: var(--c); font-weight: 700; font-size: 15px; letter-spacing: .06em; }
.band h1 { color: #fff; font-size: clamp(26px, 4vw, 36px); line-height: 1.35; margin: 4px 0 8px; }
.band__lead { margin: 0; color: #e2e8f0; font-size: 16px; }
.band__note { position: relative; z-index: 1; margin: 10px 0 0; font-size: 15px; color: #cbd5e1; }
.tiles { position: relative; z-index: 1; display: grid; gap: 14px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
/* 件数が少なくても、大きい写真は5件のときと同じ大きさ（2026-10-14 カツ「記事が1つでも他のページと同じサイズに」）。足りない所は空けておく */
.tiles--s2 .tile:not(.tile--big) { grid-column: 2; }
.tile { position: relative; margin: 0; border-radius: 4px; overflow: hidden; background: #1e293b; aspect-ratio: 4 / 3; box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.tile--big { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.tiles--s1 .tile--big, .tiles--s0 .tile--big { grid-row: auto; aspect-ratio: 4 / 3; }   /* 小さい2段ぶんの高さ ≒ 4:3 */
.tile a { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile__img--official { object-fit: contain; background: #0f172a; }
.tile a:hover .tile__img, .tile a:focus-visible .tile__img { transform: scale(1.04); }
.tile__txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 35%, rgba(0,0,0,.85) 100%); }
.tile__meta { margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 15px; line-height: 1.5; color: #e2e8f0; }
.tile__stage { color: #0b1324; background: var(--c); font-weight: 700; padding: 0 8px; border-radius: 3px; }
.tile__title { margin: 0; color: #fff; font-size: 16px; line-height: 1.5; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.tile--big .tile__txt { padding: 80px 22px 18px; }
.tile--big .tile__title { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.45; }
.tile a:focus-visible { outline: 3px solid var(--c); outline-offset: -3px; }
.stages { margin: 6px 0 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.stages__h { margin: 0; font-weight: 700; color: var(--ink); font-size: 15px; }
.stages__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.stages__list a { display: inline-flex; align-items: center; gap: 8px; padding: 4px 6px 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 700; line-height: 1.5; min-height: 36px; }
.stages__list a span { min-width: 26px; text-align: center; padding: 0 6px; border-radius: 999px; background: var(--soft); color: var(--muted); font-variant-numeric: tabular-nums; }
.stages__list a:hover, .stages__list a[aria-current] { border-color: var(--ink); }
.stages__list a[aria-current] { background: var(--ink); color: #fff; }
.stages__list a[aria-current] span { background: rgba(255,255,255,.18); color: #fff; }
.stages__help { flex-basis: 100%; margin: 0; font-size: 15px; color: var(--muted); }
.listhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--ink); margin: 0 0 4px; }
.listhead__h { margin: 0 0 6px; font-size: 22px; color: var(--ink); }
.listhead .count { margin: 0; }
.filterbox { margin: 0 0 6px; }
.filterbox > summary { cursor: pointer; padding: 10px 0; font-weight: 700; color: var(--ink); font-size: 15px; list-style: none; }
.filterbox > summary::-webkit-details-marker { display: none; }
.filterbox > summary::before { content: "＋"; display: inline-block; width: 1.4em; color: var(--accent); }
.filterbox[open] > summary::before { content: "－"; }
.filterbox .filters { margin: 0 0 12px; }
.nlist { list-style: none; margin: 0 0 24px; padding: 0; }
.nlist__row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.nlist__row[hidden] { display: none; }
.nlist__ph { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #e5edf5; }
.nlist__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.nlist__img--official { object-fit: contain; background: #0f172a; }
.nlist__row:hover .nlist__img { transform: scale(1.04); }
.nlist__body { min-width: 0; }
.nlist__meta { margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: 15px; color: var(--muted); }
.nlist__title { margin: 0 0 6px; font-size: 19px; line-height: 1.55; }
.nlist__title a { color: var(--ink); text-decoration: none; }
.nlist__title a:hover { color: var(--accent-ink); text-decoration: underline; }
.nlist__org { margin: 0; font-size: 15px; color: var(--muted); }
.nlist__target { display: block; }
@media (max-width: 760px) {
  .band { padding: 18px 0 64px; }
  .band::after { bottom: -50px; height: 90px; }
  .tiles, .tiles--s2, .tiles--s1 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .tile--big, .tiles--s1 .tile--big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .tiles--s1 .tile:not(.tile--big) { grid-column: 1 / -1; }
  .tiles--s2 .tile:not(.tile--big) { grid-column: auto; }
  .tile__txt { padding: 30px 10px 10px; }
  .tile:not(.tile--big) .tile__meta time { display: none; }
  .tile__title { font-size: 15px; }
  .tile--big .tile__txt { padding: 60px 14px 14px; }
  .tile--big .tile__title { font-size: 19px; }
  .nlist__row { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 14px 0; }
  .nlist__title { font-size: 16px; }
  .nlist__target { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tile__img, .nlist__img { transition: none; } }
/* PC は行の高さを枠の幅から決める（小さい写真 4:3 の高さ）。件数に関係なく大きい写真は2行ぶん＝どの分野でも同じ大きさ（2026-10-14） */
@media (min-width: 761px) {
  .band__in { container-type: inline-size; }
  .tiles { grid-auto-rows: calc((100cqw - 28px) / 4 * 0.75); }
  .tile, .tiles--s1 .tile--big, .tiles--s0 .tile--big { aspect-ratio: auto; }
  .tile--big, .tiles--s1 .tile--big, .tiles--s0 .tile--big { grid-row: span 2; }
}

/* ===== 未来予想図（トップ・/future/。2026-10-14 カツ「見ていてワクワクする・生きていたくなる・未来が楽しみになるページ」）
   暗い背景に、時代ごとの横幅いっぱいの絵と大きな年の数字。中身は発表の予定と国の目標だけ ===== */
.fmap { --fa: #38bdf8; background: #070d1a; color: #e2e8f0; margin: 0 0 8px; }
.fmap a { color: #fff; }
.fmap__intro { padding: 56px 0 28px; background: radial-gradient(1200px 400px at 20% 0%, rgba(56,189,248,.18), transparent 60%), radial-gradient(900px 400px at 90% 30%, rgba(167,139,250,.16), transparent 60%); }
.fmap__eyebrow { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .3em; color: #7dd3fc; }
.fmap__title { margin: 8px 0 14px; color: #fff; font-size: clamp(32px, 6vw, 60px); line-height: 1.2; font-weight: 900; letter-spacing: -.01em; }
.fmap__intro-lead { margin: 0; max-width: 760px; font-size: 17px; color: #cbd5e1; }
.fmap__era--10 { --fa: #38bdf8; } .fmap__era--50 { --fa: #fbbf24; } .fmap__era--100 { --fa: #c4b5fd; }
.fmap__hero { position: relative; overflow: hidden; height: clamp(300px, 52vw, 620px); background: #0b1324; }
.fmap__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fmap__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,13,26,.82) 0%, rgba(7,13,26,.35) 45%, rgba(7,13,26,0) 70%), linear-gradient(180deg, rgba(7,13,26,0) 60%, #070d1a 100%); }
.fmap__over { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.fmap__after { margin: 0; align-self: flex-start; padding: 2px 14px; border: 1px solid var(--fa); border-radius: 999px; color: var(--fa); font-weight: 700; font-size: 16px; letter-spacing: .08em; background: rgba(7,13,26,.5); }
.fmap__year { margin: 4px 0 0; color: #fff; font-size: clamp(76px, 15vw, 190px); line-height: 1; font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; text-shadow: 0 6px 40px rgba(0,0,0,.5); }
.fmap__kicker { margin: 10px 0 0; color: #fff; font-size: clamp(18px, 2.6vw, 28px); font-weight: 700; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.fmap__kicker::before { content: ""; display: inline-block; width: 36px; height: 3px; background: var(--fa); vertical-align: middle; margin-right: 12px; }
.fmap__body { padding: 8px 16px 48px; }
.fmap__h { margin: 0 0 8px; color: #fff; font-size: clamp(22px, 3vw, 30px); }
.fmap__h small { font-size: .6em; color: var(--fa); margin-left: 6px; font-weight: 700; }
.fmap__lead { margin: 0 0 20px; max-width: 820px; color: #cbd5e1; }
.fgoals { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fgoals li { border: 1px solid rgba(251,191,36,.35); border-radius: 10px; padding: 14px 16px; background: rgba(251,191,36,.06); }
.fgoals__y { display: inline-block; font-size: 28px; font-weight: 900; color: var(--fa); line-height: 1.1; font-variant-numeric: tabular-nums; }
.fgoals__t { margin: 6px 0 6px; color: #fff; font-weight: 700; font-size: 16px; line-height: 1.7; }
.fgoals__src { margin: 0; font-size: 15px; }
.fgoals__src a { color: #fde68a; }
.fitems { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fitems__i a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: start; height: 100%; padding: 10px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.fitems__i a:hover, .fitems__i a:focus-visible { background: rgba(255,255,255,.1); border-color: var(--fa); }
.fitems__ph { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: #1e293b; }
.fitems__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fitems__img--official { object-fit: contain; background: #0f172a; }
.fitems__txt { min-width: 0; }
.fitems__meta { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; font-size: 15px; color: #94a3b8; line-height: 1.5; }
.fitems__meta b { color: var(--fa); font-size: 17px; font-variant-numeric: tabular-nums; }
.fitems__title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; color: #fff; font-weight: 700; font-size: 15px; line-height: 1.6; }
.fmap__more { margin: 14px 0 0; font-weight: 700; }
.fmap__more a { color: var(--fa); }
.fmap__cap { margin: 18px 0 0; font-size: 15px; color: #94a3b8; }
.fmap__all { margin: 0; padding: 0 0 48px; text-align: center; }
.fmap__all .btn { background: #fff; color: #070d1a; border-color: #fff; }
.fmap .empty { background: rgba(255,255,255,.06); color: #cbd5e1; }
.fmap__policy { padding-top: 28px; }
@media (max-width: 1000px) { .fitems { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .fmap__intro { padding: 36px 0 20px; }
  .fmap__hero { height: 300px; }
  .fmap__hero::after { background: linear-gradient(180deg, rgba(7,13,26,.25) 0%, rgba(7,13,26,.55) 55%, #070d1a 100%); }
  .fmap__over { justify-content: flex-end; padding-bottom: 18px; }
  .fgoals, .fitems { grid-template-columns: minmax(0, 1fr); }
  .fitems__i a { grid-template-columns: 88px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .fitems__i a { transition: none; } }
/* 絵ごとに見せる位置（10＝空のクルマとロケット・50＝人とロボット・100＝火星と宇宙エレベーター） */
.fmap__era--10 .fmap__img { object-position: 50% 20%; } .fmap__era--50 .fmap__img { object-position: 50% 72%; } .fmap__era--100 .fmap__img { object-position: 50% 25%; }
.hnav a[href="/future/"] { color: var(--accent-ink); }
@media (max-width: 760px) {
  .hnav__sub { display: none; }   /* スマホは「未来予想図」だけ（方針・お問い合わせは下の欄にある）。3つ並べると横にはみ出す（2026-10-14） */
  .fmap__h small { display: block; margin: 2px 0 0; font-size: 15px; }
}
/* 罫線はなし（2026-10-14 カツ「背景の罫線がスマホだとずれているから罫線なしで」）。文字の行の高さと線の間隔が合わない */
.hero, .summary { background-image: none; }
.summary__lead { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
/* トップの表紙（2026-10-14）。カードにしない＝角丸・枠・押せる感じを持たせない。分野の6枚は下の「分野から探す」 */
.cover-top { position: relative; overflow: hidden; background: #081426; color: #fff; isolation: isolate; }
.cover-top__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cover-top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,20,38,.85) 0%, rgba(8,20,38,.55) 45%, rgba(8,20,38,.05) 100%); }
.cover-top__in { min-height: clamp(380px, 46vw, 560px); display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-bottom: 40px; }
.cover-top__title { margin: 0 0 14px; color: #fff; font-size: clamp(36px, 5.6vw, 64px); line-height: 1.25; font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif; font-weight: 700; letter-spacing: .04em; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.cover-top__lead { margin: 0 0 22px; max-width: 600px; font-size: 17px; line-height: 1.85; color: #f1f5f9; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.cover-top__btns { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cover-top__btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; background: #fff; color: #0b1324; font-weight: 700; text-decoration: none; }
.cover-top__btn--ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.8); }
.cover-top__btn:hover { opacity: .9; }
.feature { padding: 28px 0 32px; }
.feature__h { margin: 0 0 14px; color: #fff; font-size: 20px; letter-spacing: .04em; }
.feature__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; min-height: 0; }
.feature__sub { min-height: 210px; }
@media (max-width: 760px) {
  .cover-top::before { background: linear-gradient(180deg, rgba(8,20,38,.45) 0%, rgba(8,20,38,.85) 100%); }
  .cover-top__in { min-height: 440px; justify-content: flex-end; padding-bottom: 28px; }
  .feature__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature__sub { min-height: 150px; }
}
@media (max-width: 760px) { .feature__sub .pill { display: none; } }   /* スマホの小さな枠では札が題名に重なる */
/* 編集長のひとこと（2026-10-14）。記事は白い箱・未来予想図は暗い背景に合わせる */
.enote { margin: 22px 0; padding: 14px 18px; border-left: 4px solid var(--accent); background: #fff8f1; border-radius: 0 10px 10px 0; }
.enote__h { margin: 0 0 6px; display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--accent-ink); font-size: 15px; }
.enote__mark { width: 28px; height: 28px; border-radius: 50%; background: #fff; }
.enote__t { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.9; }
.enote__note { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.enote--dark { background: rgba(255,255,255,.06); border-left-color: var(--fa, #38bdf8); max-width: 820px; margin: 0 0 22px; }
.enote--dark .enote__h { color: var(--fa, #38bdf8); }
.enote--dark .enote__t { color: #fff; }
.enote--dark .enote__note { color: #94a3b8; }
/* ヘッダー固定と上に戻る（2026-10-14 カツ） */
.site-head { position: sticky; top: 0; z-index: 50; transition: box-shadow .2s ease; }
.site-head--scrolled { box-shadow: 0 4px 16px rgba(15, 23, 42, .12); }
html { scroll-padding-top: 140px; }   /* ページ内のリンクで飛んだ先がヘッダーに隠れない */
.side__box, .layout2__side { top: 140px; }
.totop { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--accent-ink); color: #fff; border: 2px solid #fff; box-shadow: 0 6px 18px rgba(15, 23, 42, .35); text-decoration: none; transition: opacity .2s ease, transform .2s ease; }   /* 2026-10-18 紺だとフッターに溶けて見えなかった＝オレンジと白い縁 */
.totop:hover { transform: translateY(-2px); }
.totop:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.totop--hide { opacity: 0; pointer-events: none; transform: translateY(8px); }
@media (max-width: 760px) {
  html { scroll-padding-top: 120px; }
  .totop { right: 12px; bottom: 14px; width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) { .site-head, .totop { transition: none; } }
/* 表紙の動き（2026-10-14）。cover-top__art は絵（3:2）を表紙いっぱいに敷く箱＝中の % が絵の上の位置になる。太陽は絵の左上（17%・29%）、海は 35〜76% の帯 */
.cover-top { container-type: size; }
.cover-top__art { position: absolute; left: 50%; top: 50%; width: max(100cqw, 150cqh); aspect-ratio: 3 / 2; transform: translate(-50%, -50%); z-index: -2; }
.cover-top__art .cover-top__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: auto; }
.cover-top__water { filter: url(#tn-water); clip-path: inset(36% 20% 25% 0); -webkit-mask-image: linear-gradient(180deg, transparent 34%, #000 42%, #000 70%, transparent 77%); mask-image: linear-gradient(180deg, transparent 34%, #000 42%, #000 70%, transparent 77%); }
.cover-top:not(.cover-top--live) .cover-top__water { filter: none; }
.cover-top__glow { position: absolute; left: 17%; top: 29%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; z-index: 2;
  background: radial-gradient(circle, rgba(255, 236, 179, .75) 0%, rgba(255, 196, 120, .35) 22%, rgba(255, 170, 90, 0) 60%); mix-blend-mode: screen; animation: tn-sun 7s ease-in-out infinite; }
.cover-top__rays { position: absolute; left: 17%; top: 29%; width: 90%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 2; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 230, 170, .16) 0deg 4deg, rgba(255, 230, 170, 0) 4deg 18deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,.5) 25%, transparent 62%); mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,.5) 25%, transparent 62%);
  mix-blend-mode: screen; animation: tn-rays 90s linear infinite; }
.cover-top::before { z-index: -1; }
.cover-top__defs { position: absolute; width: 0; height: 0; }
@keyframes tn-sun { 0%, 100% { opacity: .75; transform: translate(-50%, -50%) scale(.94); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } }
@keyframes tn-rays { to { transform: translate(-50%, -50%) rotate(360deg); } }
.cover-top:not(.cover-top--live) .cover-top__glow, .cover-top:not(.cover-top--live) .cover-top__rays { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .cover-top__water { display: none; }
  .cover-top__glow, .cover-top__rays { animation: none; }
}
/* container-type: size は中身から高さを決めない＝高さを決めておく（無いと表紙が潰れる・2026-10-14） */
.cover-top { height: clamp(420px, 46vw, 580px); }
.cover-top__in { min-height: 0; height: 100%; }
@media (max-width: 760px) { .cover-top { height: 520px; } }
/* 文字を読みやすくする暗い幕は、絵の箱の中（太陽の光より下）に置く＝太陽の光が幕の上に出る */
.cover-top::before { display: none; }
.cover-top__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,20,38,.82) 0%, rgba(8,20,38,.5) 45%, rgba(8,20,38,.05) 100%); }
.cover-top__glow { background: radial-gradient(circle, rgba(255, 240, 190, .95) 0%, rgba(255, 200, 120, .5) 18%, rgba(255, 170, 90, 0) 58%); }
.cover-top__rays { background: repeating-conic-gradient(from 0deg, rgba(255, 228, 160, .22) 0deg 4deg, rgba(255, 228, 160, 0) 4deg 16deg); }
@media (max-width: 760px) { .cover-top__shade { background: linear-gradient(180deg, rgba(8,20,38,.35) 0%, rgba(8,20,38,.85) 100%); } }
/* 光の筋は控えめに（強いと漫画の集中線に見え、見出しにかかる） */
.cover-top__rays { width: 46%; background: repeating-conic-gradient(from 0deg, rgba(255, 236, 190, .10) 0deg 2.5deg, rgba(255, 236, 190, 0) 2.5deg 14deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,.35) 30%, transparent 60%); mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,.35) 30%, transparent 60%); }
.cover-top__glow { width: 26%; }
/* 近い作品（アフィリエイト・2026-10-14）。PR の札を見出しに付ける */
.works { margin: 28px 0; }
.pr-tag { display: inline-block; vertical-align: middle; font-size: 15px; font-weight: 700; color: #92400e; border: 1px solid #f59e0b; border-radius: 4px; padding: 0 6px; margin-left: 6px; }
.works__note { font-size: 15px; color: var(--muted); }
.work { padding: 16px 0; margin-top: 0; border-top: 1px solid var(--line); }   /* 2026-10-18 カツ「枠線・角丸はダサいのでやめて」＝枠を外して上の線1本 */
.work__kind { margin: 0; font-size: 15px; font-weight: 700; color: var(--accent-ink); }
.work__title { margin: 2px 0 6px; font-size: 19px; color: var(--ink); }
.work__about { margin: 0 0 10px; }
.work__shops { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.work__btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 700; text-decoration: none; color: #fff; font-size: 15px; }
.work__btn--amazon { background: #232f3e; } .work__btn--rakuten { background: #bf0000; } .work__btn--yahoo { background: #ff0033; }
/* 作品の商品の画像（楽天の API の画像） */
.work--img { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: start; }
.work__img { width: 150px; height: auto; background: #f3f4f6; }
.work__body { min-width: 0; }
.work__item { margin: -2px 0 8px; font-size: 15px; color: var(--muted); }
.works__credit { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
@media (max-width: 760px) { .work--img { grid-template-columns: 110px minmax(0, 1fr); gap: 12px; } .work__img { width: 110px; } }

/* ===== コーポレート調の試作（body.corp・/?design=corp・2026-10-14 カツ「ニューオータニ大阪のような」）===== */
.corp { --serif: "Cormorant Garamond", "Times New Roman", Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif; background: #fff; }
.chead { background: #fff; border-bottom: 1px solid #eceae4; }
.chead__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 78px; gap: 12px; }
.chead__side { display: flex; gap: 22px; }
.chead__side a { display: inline-flex; align-items: center; gap: 6px; color: #1f2937; text-decoration: none; font-size: 15px; }
.chead__side a:hover { color: var(--accent-ink); }
.chead__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; justify-self: center; }
.chead__logo b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: .08em; color: #0b1324; line-height: 1.1; }
.chead__logo small { display: block; font-size: 15px; letter-spacing: .3em; color: #6b7280; text-align: center; }
.chead__right { margin: 0; justify-self: end; }
.chead__cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; background: #0b1324; color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; }
.chead__nav { border-top: 1px solid #f1efe9; }
.chead__navin { display: flex; justify-content: space-between; }
.chead__navin a { flex: 1; text-align: center; padding: 14px 4px; font-weight: 700; font-size: 15px; color: #1f2937; text-decoration: none; letter-spacing: .04em; border-bottom: 2px solid transparent; }
.chead__navin a:hover, .chead__navin a[aria-current] { border-bottom-color: #0b1324; }
.corp .cover-top__title { font-family: var(--serif); }
.ccover__en { margin: 0 0 6px; font-family: var(--serif); font-size: 20px; letter-spacing: .2em; color: #e2e8f0; }
.csec { padding: 64px 0; }
.csec--soft { background: #f7f6f2; }
.csec__head { text-align: center; margin: 0 0 30px; }
.csec__head h2 { margin: 0; display: inline-flex; align-items: baseline; gap: 16px; border: 0; padding: 0; }
.csec__en { font-family: var(--serif); font-size: clamp(38px, 5vw, 52px); font-weight: 500; letter-spacing: .06em; color: #0b1324; line-height: 1; }
.csec__ja { font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 16px; letter-spacing: .12em; color: #374151; }
.cnews { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; border-top: 1px solid #e5e2da; }
.cnews__i { border-bottom: 1px solid #e5e2da; }
.cnews__i a { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 18px 8px; text-decoration: none; color: inherit; }
.cnews__i a:hover .cnews__title { color: var(--accent-ink); }
.cnews__ph { aspect-ratio: 16 / 9; overflow: hidden; background: #eef0f3; }
.cnews__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cnews__img--official { object-fit: contain; background: #0f172a; }
.cnews__txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cnews__new { align-self: flex-start; font-size: 15px; font-weight: 700; color: #fff; background: #dc2626; border-radius: 999px; padding: 0 10px; line-height: 1.6; }
.cnews__title { font-weight: 700; color: #111827; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cnews__meta { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: 15px; color: #4b5563; }
.cnews__sep { color: #d1d5db; }
.cdot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--sky); }
.cdot--leaf { background: var(--leaf); } .cdot--sun { background: var(--sun); } .cdot--violet { background: var(--violet); } .cdot--night { background: var(--night); } .cdot--sea { background: var(--sea); }
.cmore { text-align: center; margin: 26px 0 0; }
.cmore a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 28px; border: 1px solid #0b1324; border-radius: 999px; color: #0b1324; text-decoration: none; font-weight: 700; }
.cfields { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cfield { display: block; text-decoration: none; color: inherit; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(15,23,42,.06); transition: box-shadow .2s ease, transform .2s ease; }
.cfield:hover { box-shadow: 0 8px 24px rgba(15,23,42,.12); transform: translateY(-2px); }
.cfield__ph { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.cfield__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cfield__txt { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 16px; }
.cfield__group { display: flex; align-items: center; gap: 6px; font-size: 15px; color: #6b7280; }
.cfield__txt b { font-size: 18px; color: #111827; }
.cfield__txt small { font-size: 15px; color: #6b7280; }
.cbanner { position: relative; display: flex; align-items: center; justify-content: center; height: 220px; margin: 0 0 18px; border-radius: 14px; overflow: hidden; text-decoration: none; isolation: isolate; }
.cbanner .fmap__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.cbanner::before { content: ""; position: absolute; inset: 0; background: rgba(8,20,38,.45); z-index: -1; }
.cbanner:hover .fmap__img { transform: scale(1.03); }
.cbanner__txt { text-align: center; color: #fff; padding: 16px 24px; background: rgba(8,20,38,.55); border-radius: 10px; }
.cbanner__txt b { display: block; font-size: 24px; letter-spacing: .06em; }
.cbanner__txt small { display: block; font-size: 15px; margin-top: 4px; color: #e5e7eb; }
@media (max-width: 760px) {
  .chead__top { grid-template-columns: 1fr auto; min-height: 64px; }
  .chead__side { display: none; }
  .chead__logo { justify-self: start; }
  .chead__logo b { font-size: 21px; }
  .chead__logo small { text-align: left; letter-spacing: .2em; }
  .chead__cta { min-height: 36px; padding: 0 14px; }
  .chead__navin { overflow-x: auto; scrollbar-width: none; }
  .chead__navin a { flex: 0 0 auto; padding: 12px 14px; }
  .csec { padding: 44px 0; }
  .csec__head h2 { flex-direction: column; align-items: center; gap: 4px; }
  .cnews { grid-template-columns: minmax(0, 1fr); }
  .cnews__i a { grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 14px 0; }
  .cnews__title { font-size: 15px; }
  .cfields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cfield__txt b { font-size: 15px; }
  .cbanner { height: 180px; }
}
.cnews__meta { flex-wrap: wrap; } .cnews__meta time, .cnews__meta { white-space: nowrap; }
.corp .site-foot { margin-top: 0; }
.csec:last-of-type { padding-bottom: 48px; }
/* 動画（YouTube の再生リスト・2026-10-14） */
.side { position: sticky; top: 140px; align-self: start; display: grid; gap: 16px; }
.side .side__box { position: static; }
.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.vcard, .svid { display: block; text-decoration: none; color: inherit; }
.vcard__ph, .svid__ph { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: #0b1324; }
.vcard__ph img, .svid__ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.vcard:hover img, .svid:hover img { transform: scale(1.04); }
.vcard__play, .svid__play { position: absolute; left: 50%; top: 50%; width: 54px; height: 38px; transform: translate(-50%, -50%); border-radius: 10px; background: rgba(220, 38, 38, .92); }
.vcard__play::after, .svid__play::after { content: ""; position: absolute; left: 22px; top: 11px; border-left: 14px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.vcard__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 10px; font-weight: 700; color: #111827; line-height: 1.6; }
.vcard__date, .svid__date { display: block; margin-top: 2px; font-size: 15px; color: #6b7280; }
.svid { margin-top: 10px; }
.svid__play { width: 40px; height: 28px; border-radius: 8px; }
.svid__play::after { left: 16px; top: 7px; border-left-width: 11px; border-top-width: 7px; border-bottom-width: 7px; }
.svid__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; font-size: 15px; font-weight: 700; color: #111827; line-height: 1.5; }
.side__more { margin: 10px 0 0; font-size: 15px; }
@media (max-width: 1000px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .vgrid { grid-template-columns: minmax(0, 1fr); gap: 18px; } .side { position: static; } }
@media (prefers-reduced-motion: reduce) { .vcard__ph img, .svid__ph img { transition: none; } }
/* SF が描いた未来と、いまの現実（/works/・2026-10-14）。スマホは作品 → 下向きの矢印 → 発表の縦積み、PC は左右に並べる */
.wlead { margin: 0 auto 8px; }
.wlead .pr-tag { margin: 0 8px 0 0; }
.wjump .pills { justify-content: center; margin: 18px 0 8px; }
.wgroup { margin: 40px 0 0; scroll-margin-top: 140px; }
.wgroup__h { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; padding: 0 0 8px; font-size: clamp(20px, 3vw, 26px); border-bottom: 2px solid var(--ink); }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); align-items: stretch; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pair__col { display: flex; flex-direction: column; min-width: 0; }
.pair__label { margin: 0 0 6px; font-size: 15px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.pair__col--now .pair__label { color: var(--accent-ink); }
.pair .work { margin-top: 0; flex: 1; }
.pair__arrow { position: relative; margin: 0; }
.pair__arrow::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; border-top: 3px solid var(--ink); border-right: 3px solid var(--ink); transform: translate(-70%, -50%) rotate(45deg); }
.pair__now { flex: 1; border-top: 1px solid var(--line); padding: 14px 0; }   /* 2026-10-18 枠・角丸・色の帯をやめた（カツ） */
.pair__meta, .pair__org, .pair__stage, .pair__target { margin: 0; font-size: 15px; color: var(--muted); }
.pair__title { margin: 4px 0 6px; font-size: 18px; font-weight: 800; line-height: 1.6; }
.pair__title a { color: var(--ink); text-decoration: none; }
.pair__title a:hover { color: var(--accent-ink); text-decoration: underline; }
.pair__org { color: var(--ink); font-weight: 700; }
.pair__more { margin: 10px 0 0; font-size: 15px; font-weight: 700; }
.works-page .works__credit, .works-page .note { text-align: center; margin-top: 18px; }
@media (max-width: 760px) {
  .pair { grid-template-columns: minmax(0, 1fr); padding: 18px 0; }
  .pair__arrow { height: 30px; }
  .pair__arrow::after { transform: translate(-50%, -70%) rotate(135deg); }
  .pair__title { font-size: 16px; }
  .wgroup { margin-top: 30px; scroll-margin-top: 120px; }
}
.works-page .csec__head h1 { margin: 0; display: inline-flex; align-items: baseline; gap: 16px; }
@media (max-width: 760px) { .works-page .csec__head h1 { flex-direction: column; align-items: center; gap: 6px; } }
.cbanner__txt .nb { display: inline-block; }
.wdates { text-align: center; margin: -10px 0 18px; font-size: 15px; color: var(--muted); }

/* ===== 食・ロボット・旅の色（2026-10-14 分野を3つ足した）===== */
.pillar--berry { --c: var(--berry); --bg: var(--berry-bg); --ln: var(--berry-line); }
.card--berry { --c: var(--berry); } .tag--berry { background: var(--berry); }
.stage-tag--berry { background: var(--berry-bg); color: var(--berry); border: 1px solid var(--berry-line); }
.steps--berry { --c: var(--berry); } .future__item--berry { --c: var(--berry); } .jw__row--berry { --c: var(--berry); }
.stagebar__list--berry { --c: var(--berry); --bg: var(--berry-bg); }
.gnav .gnav__a--berry::before { background: var(--berry); } .dot--berry { background: var(--berry); } .catgrid .dot--berry { background: var(--berry); } .cdot--berry { background: var(--berry); }
.band--berry { --c: #fda4af; }
.pillar--steel { --c: var(--steel); --bg: var(--steel-bg); --ln: var(--steel-line); }
.card--steel { --c: var(--steel); } .tag--steel { background: var(--steel); }
.stage-tag--steel { background: var(--steel-bg); color: var(--steel); border: 1px solid var(--steel-line); }
.steps--steel { --c: var(--steel); } .future__item--steel { --c: var(--steel); } .jw__row--steel { --c: var(--steel); }
.stagebar__list--steel { --c: var(--steel); --bg: var(--steel-bg); }
.gnav .gnav__a--steel::before { background: var(--steel); } .dot--steel { background: var(--steel); } .catgrid .dot--steel { background: var(--steel); } .cdot--steel { background: var(--steel); }
.band--steel { --c: #cbd5e1; }
.pillar--azure { --c: var(--azure); --bg: var(--azure-bg); --ln: var(--azure-line); }
.card--azure { --c: var(--azure); } .tag--azure { background: var(--azure); }
.stage-tag--azure { background: var(--azure-bg); color: var(--azure); border: 1px solid var(--azure-line); }
.steps--azure { --c: var(--azure); } .future__item--azure { --c: var(--azure); } .jw__row--azure { --c: var(--azure); }
.stagebar__list--azure { --c: var(--azure); --bg: var(--azure-bg); }
.gnav .gnav__a--azure::before { background: var(--azure); } .dot--azure { background: var(--azure); } .catgrid .dot--azure { background: var(--azure); } .cdot--azure { background: var(--azure); }
.band--azure { --c: #93c5fd; }
/* ヘッダーの分野が9つになった（2026-10-14）。PC は1行に収める・幅が足りない間（タブレット）はスマホと同じ横スクロール */
.chead__navin a { white-space: nowrap; letter-spacing: .02em; }
@media (max-width: 1100px) {
  .chead__navin { overflow-x: auto; scrollbar-width: none; }
  .chead__navin a { flex: 1 0 auto; padding: 14px 12px; }   /* 余れば広げる・足りなければ横スクロール */
}

/* 2026-10-16 企画「この SF、どこまで現実？」の枠（item.php の .sfcheck）。
   2026-10-17 カツ「文字色・行間が読みにくい」→ 本文 #374151・補足 #4b5563・15px 以上・行間を広く。判定は色文字をやめ、淡い下地に濃い文字の札 */
.sfcheck { margin: 30px 0; }
.sfcheck__series { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--accent-ink); }
.sfcheck h2 { margin-top: 0; }
.sfcheck__scene { margin: 0 0 18px; line-height: 1.95; color: #374151; }
.sfcheck__scene span, .sfcheck__answer span { font-weight: 800; color: var(--ink); margin-right: 6px; }
.sfcheck__scene span::after, .sfcheck__answer span::after { content: '：'; }
.sfcheck__parts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sfcheck__parts li { padding: 20px 0 22px; border-bottom: 1px solid var(--line); }
.sfcheck__part { margin: 0; font-size: 17px; font-weight: 800; color: var(--ink); line-height: 1.6; }
.sfcheck__verdict { display: inline-block; margin: 10px 0 10px; padding: 3px 12px; border-radius: 6px; font-size: 15px; font-weight: 800; line-height: 1.6;
  color: #7f1d1d; background: #fef2f2; border: 1px solid #fecaca; }
.sfcheck__parts li.is-mid .sfcheck__verdict { color: #78350f; background: #fffbeb; border-color: #fde68a; }
.sfcheck__parts li.is-ok .sfcheck__verdict { color: #064e3b; background: #ecfdf5; border-color: #a7f3d0; }
.sfcheck__why { margin: 0; font-size: 16px; line-height: 1.95; color: #374151; }
.sfcheck__why .srcref { white-space: nowrap; }
.sfcheck__answer { margin: 22px 0 0; padding: 16px 20px; border-radius: 10px; background: var(--soft); font-size: 16px; line-height: 1.95; font-weight: 700; color: var(--ink); }
.sfcheck__parts li.is-mid .sfcheck__verdict { color: #78350f; }
/* 2026-10-17 編集長の視点の見出しの横の「このコメントについて」（説明は /about/#editor-note） */
.enote__about { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--muted); }
.enote--dark .enote__about { color: #cbd5e1; }
/* 2026-10-17 「公式の発表に書かれていること」＝日本語の事実が主役・下に短い出典（item.php の .frun / .fsrc）。箱はやめて細い区切り線だけ */
.frun { padding: 4px 0 14px; border-bottom: 1px solid var(--line); }
.frun .facts-list { margin: 8px 0 4px; }
.fsrc { margin: 0 0 0 1.2em; font-size: 15px; line-height: 1.7; color: #4b5563; }
.fsrc a { color: #4b5563; }
.fsrc--more { margin: 14px 0 0; }
/* 2026-10-17 あなたの未来予想図（/future/you/・you.php） */
.you { padding: 24px 0 40px; }
.you__kicker { margin: 0; font-size: 15px; font-weight: 700; color: var(--accent-ink); }
.you__h1 { margin: 4px 0 10px; font-size: clamp(26px, 4.6vw, 38px); }
.you__lead { color: #374151; line-height: 1.95; }
.you__form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0 6px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.you__form label { font-weight: 800; color: var(--ink); }
.you__form select { font: inherit; font-size: 17px; padding: 8px 12px; border: 1px solid #cbd5e1; border-radius: 8px; min-height: 44px; background: #fff; color: var(--ink); }
.you__list { margin: 26px 0; }
.you__year { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; margin: 30px 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--ink); font-size: 22px; }
.you__y { color: var(--ink); }
.you__age { font-size: 17px; font-weight: 700; color: #374151; }
.you__age strong { font-size: 26px; color: var(--accent-ink); }
.you__row { padding: 12px 0 14px; border-bottom: 1px solid var(--line); }
.you__field { margin: 0; font-size: 15px; font-weight: 700; color: var(--sky); }
.you__row--goal .you__field { color: var(--leaf); }
.you__title { margin: 2px 0 4px; font-weight: 700; line-height: 1.7; }
.you__title a { color: var(--ink); }
.you__target { margin: 0; font-size: 15px; color: #4b5563; line-height: 1.8; }
.you__dreams { line-height: 1.9; }
.you__share { margin: 30px 0; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.you__share img { display: block; width: 100%; max-width: 420px; height: auto; border-radius: 10px; }
.you__btns { display: flex; flex-wrap: wrap; gap: 10px; }
/* 2026-10-17 未来予想図の帯の中の「あなたの未来予想図」ボタン（暗い帯の上なので明るいボタン） */
.fmap__you { margin: 22px 0 0; }
.fmap .fmap__you-btn { display: inline-block; padding: 12px 22px; border-radius: 999px; background: #fff; color: #14253d; font-weight: 800; font-size: 16px; line-height: 1.4; text-decoration: none; min-height: 44px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.fmap .fmap__you-btn:hover { background: #fde68a; color: var(--ink); }
/* 2026-10-17 編集長の視点が1000字になって読みにくい（カツ「ここも見にくい」）→ 段落を分けて間をあけ、行間を広く。暗い箱は文字を少し落ち着いた白に */
.enote { padding: 18px 22px; }
.enote__t { line-height: 2.0; }
.enote__t p { margin: 0 0 1.1em; }
.enote__t p:last-child { margin-bottom: 0; }
.enote--dark { background: rgba(255,255,255,.08); padding: 22px 26px; }
.enote--dark .enote__t { color: #e2e8f0; font-size: 16px; }
/* 2026-10-17 編集長の視点（2回目）：最初の段落だけ見せ、残りは「続きを読む」。暗いページでも白地に濃い文字（カツ「単純に読みにくい」） */
.enote__t > p:first-child { font-weight: 600; }
.enote__more { margin-top: 10px; }
.enote__more summary { display: inline-block; cursor: pointer; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 15px; list-style: none; }
.enote__more summary::-webkit-details-marker { display: none; }
.enote__more[open] summary { margin-bottom: 12px; }
.enote__more summary::after { content: ' ▾'; }
.enote__more[open] summary::after { content: ' ▴'; }
.enote--dark { background: #fffdf8; border-left-color: var(--fa, #38bdf8); }
.enote--dark .enote__h { color: #0c4a6e; }
.enote--dark .enote__t { color: #374151; }
.enote--dark .enote__about { color: #4b5563; }
.enote--dark .enote__more summary { border-color: #0369a1; color: #0c4a6e; }
/* 2026-10-17 ヘッダーに「あなたの未来予想図」（PC＝右上に枠線のボタン・スマホ＝分野のメニューの先頭） */
.chead__right { display: flex; gap: 10px; align-items: center; }
.chead__cta--you { background: #fff; color: #0b1324; border: 2px solid #0b1324; }
.chead__cta--you:hover { background: #fde68a; color: #0b1324; }
.chead__navin a.chead__navyou { display: none; color: var(--accent-ink); }
@media (max-width: 760px) {
  .chead__cta--you { display: none; }
  .chead__navin a.chead__navyou { display: block; }
}
/* Features の3枚を横3列に（2026-10-18 カツ「ここも3カラムで」） */
.cbanners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cbanners .cbanner { height: 240px; margin: 0; }
.cbanners .cbanner__txt { margin: 0 14px; padding: 14px 16px; }
.cbanners .cbanner__txt b { font-size: 19px; }
.cbanners .cbanner__txt small { font-size: 14px; }
@media (max-width: 1000px) { .cbanners { grid-template-columns: minmax(0, 1fr); } .cbanners .cbanner { height: 200px; } }

/* ── 過去の未来（/yesterdays-tomorrow/・2026-10-18） ── */
.kbadge { display: inline-block; font-size: 13px; font-weight: 800; line-height: 1; padding: 6px 10px; border-radius: 999px; letter-spacing: .02em; white-space: nowrap; }
.kbadge--hit { background: #dcfce7; color: #166534; }
.kbadge--near { background: #dbeafe; color: #1e40af; }
.kbadge--turn { background: #ede9fe; color: #5b21b6; }
.kbadge--notyet { background: #fef3c7; color: #92400e; }
.kbadge--miss { background: #e5e7eb; color: #374151; }
.kkey { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.kkey li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); }
.kkey--small li { font-size: 14px; }
.kkey--row { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }   /* 一覧の上（分野の「いまの段階」と同じ場所） */
.kkey--center { justify-content: center; margin-top: 14px; }
.kako-page .csec__head h1, .rank-page .csec__head h1 { margin: 0; display: inline-flex; align-items: baseline; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
@media (max-width: 760px) {   /* スマホは英語の名前と日本語を2段に（1段だと途中で折れて読みにくい） */
  .kako-page .csec__head h1, .rank-page .csec__head h1 { flex-direction: column; align-items: center; }
  .kako-page .csec__en { font-size: 34px; letter-spacing: .03em; }
}
/* 過去の未来の一覧：1件1行（2026-10-18 カツ「一覧が増えたら見にくい・SP でも」）。枠・角丸なし、区切りは線1本 */
.krows { list-style: none; padding: 0; margin: 0; }
.krow { border-bottom: 1px solid var(--line); }
.krow__a { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 18px; align-items: center; padding: 14px 0; color: var(--ink); text-decoration: none; }
.krow__a:hover .krow__title { text-decoration: underline; }
.krow__img { display: block; width: 160px; height: 107px; object-fit: cover; background: #eef0f3; }
.krow__body { display: grid; gap: 4px; min-width: 0; }
.krow__years { font-size: 15px; color: var(--accent-ink); }
.krow__years b { font-size: 18px; font-weight: 800; }
.krow__kind { margin-left: 10px; font-size: 14px; color: var(--muted); }
.krow__title { font-size: 18px; font-weight: 700; line-height: 1.5; }
.krow__score { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) {
  .krow__a { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px 0; align-items: start; }
  .krow__img { width: 96px; height: 72px; }
  .krow__years b { font-size: 16px; }
  .krow__kind { display: none; }
  .krow__title { font-size: 16px; }
}
.klist { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
.kcard__a { display: block; height: 100%; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.kcard__a:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--ink); }
.kcard__years { margin: 0 0 6px; font-size: 14px; color: var(--accent-ink); font-weight: 700; }
.kcard__years span { font-size: 20px; font-weight: 800; }
.kcard__to { margin-left: 4px; }
.kcard__kind { margin: 0; font-size: 13px; color: #5b6472; }
.kcard__title { margin: 4px 0 8px; font-size: 19px; }
.kcard__sum { margin: 0 0 12px; font-size: 15px; line-height: 1.8; color: #333; }
.kcard__score, .kscore { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.kcard__n { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: var(--ink); }
.klist--small .kcard__a { padding: 14px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.klist--small .kcard__a:hover { transform: none; }
.klist--small .kcard__title { font-size: 16px; margin: 2px 0 0; }
.kmade { margin: 14px 0 4px; font-size: 14px; color: #5b6472; }
.kpreds { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 16px; }
.kpreds { gap: 0; }
.kpred { border-top: 1px solid var(--line); padding: 20px 0; }   /* 枠・角丸・色の帯はやめた（2026-10-18 カツ）。判定は札で見せる */
.kpred:last-child { border-bottom: 1px solid var(--line); }
.kpred__h { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 18px; }
.kpred__label { margin: 12px 0 2px; font-size: 13px; font-weight: 800; color: var(--accent-ink); }
.kpred__body p { margin: 0; line-height: 1.85; }
.ksrc { margin: 10px 0 0; padding-left: 1.2em; font-size: 14px; line-height: 1.7; }
.ksrc li { margin: 2px 0; word-break: break-all; }
@media (min-width: 720px) {
  .klist { grid-template-columns: repeat(2, 1fr); }
  .kkey { grid-template-columns: repeat(2, 1fr); }
  .side .kkey { grid-template-columns: 1fr; }   /* 横の欄は狭いので1列 */
}

/* SF & Now・過去の未来の一覧のカード（2026-10-18 カツ「4カラムずつ・アイキャッチは 16:9」）。枠・角丸なし */
.cgrid { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.ccard__a { display: grid; gap: 6px; color: var(--ink); text-decoration: none; }
.ccard__a:hover .ccard__title { text-decoration: underline; }
.ccard__ph { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #e8eaee; }
.ccard__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ccard__a:hover .ccard__img { transform: scale(1.03); }
.ccard__none { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 15px; color: #6b7280; }
.ccard__kind { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--accent-ink); margin-top: 4px; }
.wjump .pills a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.ccard__title { font-size: 17px; font-weight: 800; line-height: 1.45; }
.ccard__work { font-size: 15px; color: var(--muted); }
.ccard__now { font-size: 15px; line-height: 1.6; color: #374151; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ccard__now b { display: block; font-size: 15px; color: var(--muted); font-weight: 700; }
.ccard__score { display: flex; flex-wrap: wrap; gap: 6px 10px; }
@media (max-width: 1000px) { .cgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .ccard__title { font-size: 16px; }
  .ccard__now { -webkit-line-clamp: 3; }   /* 「いまの現実」の見出しが1行使うので、本文は2行 */
  .wjump .pills { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; scrollbar-width: none; }   /* 札は1行で横に流す（縦に4段並ぶと長い） */
  .wjump .pills::-webkit-scrollbar { display: none; }
  .wjump .pills li { flex: none; }
}

/* トップの右のサイドバー（News〜Videos・2026-10-18 カツ）と、人気記事ランキング。枠・角丸なし */
.hcols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "news side" "fields side" "videos side"; column-gap: 48px; }
.hcols__news { grid-area: news; } .hcols__fields { grid-area: fields; } .hcols__videos { grid-area: videos; } .hcols__side { grid-area: side; padding: 64px 0; }
.hcols .csec--soft { padding-left: 28px; padding-right: 28px; }
.hcols .cnews { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }   /* 2026-10-18 カツ「News は2カラム・Fields と Videos は3カラム」 */
.hcols .cnews__i a { grid-template-columns: 150px minmax(0, 1fr); gap: 14px; }
.hcols .cfields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hcols .vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1180px) { .hcols .cnews { grid-template-columns: minmax(0, 1fr); } .hcols .cnews__i a { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; } }
@media (max-width: 1000px) { .hcols .cfields, .hcols .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rside { position: sticky; top: 140px; }
.rside__h { margin: 0 0 6px; padding: 0 0 10px; border-bottom: 2px solid var(--ink); display: flex; align-items: baseline; gap: 10px; }
.rside__en { font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: .04em; color: #0b1324; line-height: 1; }
.rside__ja { font-size: 15px; font-weight: 700; color: #374151; }
.rside__none { font-size: 15px; color: var(--muted); }
.rside__more { margin: 14px 0 0; text-align: right; font-size: 15px; }
.rks { list-style: none; padding: 0; margin: 0; }
.rk { border-bottom: 1px solid var(--line); }
.rk__a { display: grid; grid-template-columns: 28px 96px minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px 0; color: var(--ink); text-decoration: none; }
.rk__a:hover .rk__title { text-decoration: underline; }
.rk__n { font-family: var(--serif); font-size: 22px; line-height: 1.2; color: #6b7280; text-align: center; }
.rk__n--top { color: var(--accent-ink); font-weight: 700; }
.rk__ph { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #e8eaee; }
.rk__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rk__img--official { object-fit: contain; background: #0f172a; }
.rk__txt { display: grid; gap: 4px; min-width: 0; }
.rk__title { font-size: 15px; font-weight: 700; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rk__meta { display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--muted); }
.rks--page { max-width: 860px; margin: 8px auto 0; }
.rank-note { margin-top: 28px; }
.rk--big .rk__a { grid-template-columns: 48px 200px minmax(0, 1fr); gap: 18px; padding: 16px 0; align-items: center; }
.rk--big .rk__n { font-size: 32px; }
.rk--big .rk__title { font-size: 17px; }
@media (max-width: 1000px) {
  .hcols { grid-template-columns: minmax(0, 1fr); grid-template-areas: "news" "side" "fields" "videos"; }
  .hcols__side { padding: 8px 0 40px; }
  .rside { position: static; }
}
@media (max-width: 760px) {
  .hcols .csec--soft { padding-left: 16px; padding-right: 16px; margin: 0 -16px; }
  .hcols .cfields, .hcols .vgrid { grid-template-columns: minmax(0, 1fr); }
  .rk--big .rk__a { grid-template-columns: 34px 110px minmax(0, 1fr); gap: 10px; padding: 12px 0; }
  .rk--big .rk__n { font-size: 24px; }
  .rk--big .rk__title { font-size: 15px; }
}

/* サイトマップ（/sitemap/・2026-10-18）。枠・角丸なし */
.smap-page .csec__head h1 { margin: 0; display: inline-flex; align-items: baseline; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.smap { margin: 40px 0 0; }
.smap__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; margin-top: 16px; }
.smap__h { margin: 0 0 8px; font-size: 18px; display: flex; align-items: baseline; gap: 6px; }
.smap__h a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.smap__h small { font-size: 15px; font-weight: 400; color: var(--muted); }
.smap__list { margin: 0; padding-left: 1.1em; font-size: 15px; line-height: 1.7; }
.smap__list li { margin: 4px 0; }
.smap__feat { list-style: none; padding: 0; margin: 16px 0 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.smap__feat li { border-bottom: 1px solid var(--line); padding: 12px 0; display: grid; gap: 2px; }
.smap__feat a { font-weight: 700; font-size: 16px; }
.smap__feat span { font-size: 15px; color: var(--muted); }
@media (max-width: 1000px) { .smap__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .smap__cols, .smap__feat { grid-template-columns: minmax(0, 1fr); } }

/* ランキングのページは4列のカード（2026-10-18 カツ「4カラムで40位まで」）。順位は画像の左上 */
.rgrid { margin-top: 24px; }
.ccard__ph { position: relative; }
.rgrid__n { position: absolute; left: 0; top: 0; z-index: 1; min-width: 40px; height: 40px; padding: 0 8px; display: flex; align-items: center; justify-content: center; background: rgba(11, 19, 36, .82); color: #fff; font-family: var(--serif); font-size: 22px; line-height: 1; }
.rgrid__n--top { background: var(--accent-ink); }
.rgrid .ccard__title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* フッターは3列（分野／特集／このサイト） */
.site-foot__in { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .site-foot__in { grid-template-columns: minmax(0, 1fr); } }

.smap__more { margin: 6px 0 0; }
.smap__more summary { cursor: pointer; font-size: 15px; font-weight: 700; color: var(--accent-ink); padding: 6px 0; list-style: none; }
.smap__more summary::-webkit-details-marker { display: none; }
.smap__more summary::before { content: "＋ "; }
.smap__more[open] summary::before { content: "－ "; }

/* ハンバーガーメニュー（幅1000px以下・2026-10-18 カツ）。パソコンでは出さない */
.hmenu { display: none; }
.hmenu__btn { list-style: none; cursor: pointer; width: 48px; height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.hmenu__btn::-webkit-details-marker { display: none; }
.hmenu__btn span { display: block; width: 26px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.hmenu[open] .hmenu__btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hmenu[open] .hmenu__btn span:nth-child(2) { opacity: 0; }
.hmenu[open] .hmenu__btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.hmenu__panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 12px 24px rgba(15, 23, 42, .15); padding: 8px 16px 24px; max-height: calc(100vh - 64px); overflow-y: auto; }
.hmenu__cta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.hmenu__h { margin: 18px 0 4px; font-size: 15px; font-weight: 800; color: var(--accent-ink); }
.hmenu__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.hmenu__list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 700; }
.hmenu__list a[aria-current] { color: var(--accent-ink); }

@media (max-width: 520px) { .hmenu__list { grid-template-columns: minmax(0, 1fr); } }

.hmenu__cta .chead__cta, .hmenu__cta .chead__cta--you { display: inline-flex; }   /* スマホで隠していた「あなたの未来予想図」もメニューの中では出す */

/* ヘッダー1段（2026-10-18 カツ「まとめれるのはまとめて・ロゴを左に」）。枠・角丸なしの開くメニュー */
.chead__bar { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.chead__bar .chead__logo { justify-self: auto; flex: none; }
.chead__bar .chead__logo small { text-align: left; letter-spacing: .2em; }
.gmenu { flex: 1; display: flex; justify-content: center; }
.gmenu__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.gmenu__item { position: relative; }
.gmenu__top { display: inline-flex; align-items: center; gap: 4px; height: 76px; padding: 0 14px; background: none; border: 0; border-bottom: 2px solid transparent; font: inherit; font-size: 15px; font-weight: 700; color: #1f2937; text-decoration: none; cursor: pointer; white-space: nowrap; }
.gmenu__top:hover, .gmenu__top[aria-current], .gmenu__top[data-current], .gmenu__item--drop:focus-within .gmenu__top { border-bottom-color: #0b1324; color: #0b1324; }
.gmenu__drop { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 240px; list-style: none; margin: 0; padding: 8px 0; background: #fff; border-top: 2px solid #0b1324; box-shadow: 0 12px 24px rgba(15, 23, 42, .14); z-index: 70; }
.gmenu__item--drop:hover .gmenu__drop, .gmenu__item--drop:focus-within .gmenu__drop { display: block; }
.gmenu__drop a { display: flex; align-items: center; gap: 8px; padding: 12px 20px; font-size: 15px; font-weight: 700; color: #1f2937; text-decoration: none; white-space: nowrap; }
.gmenu__drop a:hover, .gmenu__drop a[aria-current] { background: #f7f6f2; color: var(--accent-ink); }
.chead__bar .chead__right { flex: none; }
@media (max-width: 1260px) {   /* スマホ・タブレット・狭いパソコンはハンバーガー（1段に収まらない幅） */
  .gmenu, .chead__bar .chead__right { display: none; }
  .chead__bar { justify-content: space-between; min-height: 64px; }
  .hmenu { display: block; }
}
@media (max-width: 760px) { .chead__bar .chead__logo b { font-size: 21px; } }

/* note・Instagram（2026-10-18・色つきのマーク＋英語の名前） */
.sns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.sns__a { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; color: #1f2937; text-decoration: none; font-size: 15px; font-weight: 700; }
.sns__a:hover .sns__t { text-decoration: underline; }
.sns__ic { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; color: #fff; flex: none; }
.sns__ic svg { width: 18px; height: 18px; }
.sns__a--note .sns__ic { background: #41c9b4; border-radius: 50%; }   /* note の緑 */
.sns__a--instagram .sns__ic { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); border-radius: 8px; }   /* Instagram の色 */
.sns--head { flex: none; flex-wrap: nowrap; }
.sns--foot { margin-top: 16px; }
.sns--foot .sns__a { color: #e5e7eb; }
.sns--menu { margin-top: 8px; gap: 8px 20px; }
.sns--menu .sns__a { min-height: 48px; font-size: 16px; }
@media (max-width: 1260px) { .sns--head { display: none; } }
.gmenu__top svg { flex: none; }   /* ▾ がメニューの幅に押されてつぶれない */
.gmenu__top { padding: 0 11px; }
.site-foot li a.sns__a { display: inline-flex; }   /* フッターの li a の inline-block に負けない */

/* ヘッダー2段・階層なし（2026-10-18 カツ「階層はやめたい。どういうメニューがあるかを先に見えた方がワクワク感が募る」） */
.chead__feat { flex: 1; display: flex; justify-content: center; gap: 22px; }
.chead__feat a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; color: #1f2937; text-decoration: none; font-size: 15px; font-weight: 700; white-space: nowrap; border-bottom: 2px solid transparent; }
.chead__feat a:hover, .chead__feat a[aria-current] { color: var(--accent-ink); border-bottom-color: currentColor; }
.chead__fields { border-top: 1px solid #f1efe9; }
.chead__fieldsin { display: flex; justify-content: space-between; }
.chead__fieldsin a { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 13px 8px; font-size: 15px; font-weight: 700; color: #1f2937; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.chead__fieldsin a:hover, .chead__fieldsin a[aria-current] { border-bottom-color: #0b1324; color: #0b1324; }
@media (max-width: 1260px) { .chead__feat, .chead__fields { display: none; } }

/* ヘッダーの note・Instagram は、マークの下に名前（2026-10-18 カツ「ロゴと文字を縦並びにしたいだけ」）。2つは横並び */
.sns--head { flex-direction: row; gap: 14px; }
.sns--head .sns__a { flex-direction: column; gap: 3px; min-height: 0; font-size: 13px; line-height: 1.2; }
.sns--head .sns__ic { width: 22px; height: 22px; }
.sns--head .sns__ic svg { width: 14px; height: 14px; }
.sns--head .sns__a--instagram .sns__ic { border-radius: 6px; }
.sns__a--youtube .sns__ic { background: #ff0000; border-radius: 8px; }   /* YouTube の赤（2026-10-19） */
.sns--head .sns__a--youtube .sns__ic { border-radius: 6px; }

/* 分野の段：まとまりの見出し＋分野（2026-10-18 カツ「色も記号もださい・全部見せつつまとめる」） */
.chead__fieldsin { justify-content: center; gap: 0; }
.chead__fgroup { display: inline-flex; align-items: center; padding: 0 22px; border-left: 1px solid #e5e2da; }
.chead__fgroup:first-child { border-left: 0; }
.chead__fgh { font-family: var(--serif); font-size: 15px; letter-spacing: .12em; color: #8a8478; margin-right: 10px; white-space: nowrap; }
.chead__fieldsin .chead__fgroup a { flex: none; padding: 13px 10px; }
/* まとまりの見出しの色と左の線（2026-10-18 カツ「暮らし・移動の文字色を変えて見やすく、左の枠線に色を」） */
.chead__fgroup { border-left: 3px solid var(--fg); --fg: #c2410c; }
.chead__fgroup:first-child { border-left: 3px solid var(--fg); }
.chead__fgroup:nth-child(2) { --fg: #0369a1; }
.chead__fgroup:nth-child(3) { --fg: #15803d; }
.chead__fgroup:nth-child(4) { --fg: #6d28d9; }
.chead__fgh { color: var(--fg); font-weight: 700; }
.chead__fgroup + .chead__fgroup { margin-left: 8px; }

.rside__top { margin-left: auto; font-size: 15px; font-weight: 700; white-space: nowrap; }   /* ランキングの見出しの右の「もっと見る」 */

/* 記事の道具：文字の大きさ・共有（2026-10-18）。枠・角丸なし */
.atools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin: 14px 0 0; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.atools__h { font-size: 15px; font-weight: 700; color: var(--muted); margin-right: 8px; }
.atools__size { display: flex; align-items: center; }
.atools__size button { min-width: 44px; height: 40px; padding: 0 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; margin-left: -1px; }
.atools__size button[data-fs="s"] { font-size: 14px; } .atools__size button[data-fs="m"] { font-size: 16px; } .atools__size button[data-fs="l"] { font-size: 19px; }
.atools__size button[aria-pressed="true"] { background: #0b1324; color: #fff; border-color: #0b1324; }
.atools__share { display: flex; align-items: center; flex-wrap: wrap; }
.atools__share ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.atools__sns { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; color: #fff; cursor: pointer; text-decoration: none; }
.atools__sns--x { background: #000; } .atools__sns--threads { background: #1f1f1f; } .atools__sns--line { background: #06c755; } .atools__sns--facebook { background: #1877f2; }
.atools__copy, .atools__native { background: #e8eaee; color: #1f2937; }
.atools__sns:hover { opacity: .85; }
.atools__msg { margin-left: 10px; font-size: 15px; color: var(--accent-ink); }
.atools-end { margin: 36px 0 8px; }
.atools-end__h { margin: 0; font-weight: 800; font-size: 17px; }
.atools-end .atools { border-top: 0; margin-top: 6px; }
/* 文字の大きさ：本文の箱ごと拡大・縮小（箱の幅は変わらない） */
html[data-fs="s"] .article { zoom: .9; }
html[data-fs="l"] .article { zoom: 1.18; }

/* 時間帯（2026-10-18 カツ「時間によってメインビジュアルや背景色が変わる」）。背景はごく薄く変える */
html[data-tod="morning"] body { background: #fffdf7; }
html[data-tod="evening"] body { background: #fff8f2; }
html[data-tod="night"] body { background: #f3f5fa; }
html[data-tod="morning"] .csec--soft { background: #f8f4ea; }
html[data-tod="evening"] .csec--soft { background: #f8efe6; }
html[data-tod="night"] .csec--soft { background: #e9edf5; }
/* 太陽の光の重ねは、太陽が絵の中にある朝と夕方だけ（夕方は少し赤く） */
html[data-tod="day"] .cover-top__glow, html[data-tod="day"] .cover-top__rays,
html[data-tod="night"] .cover-top__glow, html[data-tod="night"] .cover-top__rays { display: none; }
html[data-tod="evening"] .cover-top__glow { filter: hue-rotate(-18deg) saturate(1.3); }

/* 文字の大きさ：右下に浮かぶボタン（上に戻るの真上・2026-10-18 カツ「右下に・スマホでもじゃまにならない位置に」） */
.fsz { position: fixed; right: 18px; bottom: 82px; z-index: 61; }
.fsz__btn { list-style: none; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; color: #0b1324; border: 2px solid #0b1324; box-shadow: 0 6px 18px rgba(15, 23, 42, .25); cursor: pointer; font-family: var(--serif); font-size: 19px; font-weight: 700; }
.fsz__btn::-webkit-details-marker { display: none; }
.fsz[open] .fsz__btn { background: #0b1324; color: #fff; }
.fsz__panel { position: absolute; right: 62px; bottom: 4px; display: flex; align-items: center; padding: 6px 8px 6px 12px; background: #fff; box-shadow: 0 8px 22px rgba(15, 23, 42, .22); white-space: nowrap; }
@media (max-width: 760px) {
  .fsz { right: 12px; bottom: 72px; }
  .fsz__btn { width: 44px; height: 44px; font-size: 16px; }
  .fsz__panel { right: 52px; bottom: 0; }
}
@media print { .fsz, .totop { display: none; } }

/* 過去の未来：実際に形になったもの（公式の動画・ページ・2026-10-19）。枠・角丸なし */
.koff { margin: 18px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line); }
.koff__videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.ytembed { margin: 0; }
.ytembed__a { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.ytembed__a img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ytembed__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 44px; transform: translate(-50%, -50%); background: rgba(220, 38, 38, .92); border-radius: 12px; }
.ytembed__play::after { content: ""; position: absolute; left: 26px; top: 13px; border-left: 16px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.ytembed__frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.ytembed figcaption { margin-top: 6px; font-size: 15px; font-weight: 700; line-height: 1.5; }
.ytembed figcaption small { display: block; font-weight: 400; color: var(--muted); }
.koff__note { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.koff__links { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.koff__links a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 700; text-decoration: none; }
.koff__links a > b::after { content: " →"; }
.koff__links small { display: block; }
.koff__links small { font-weight: 400; color: var(--muted); }
@media (max-width: 760px) { .koff__videos { grid-template-columns: minmax(0, 1fr); } }

.page-head__sub { margin: -4px 0 10px; font-size: 16px; font-weight: 700; color: var(--accent-ink); }   /* 過去の未来：見出しの下の作品と年（2026-10-19） */

/* 公式ページのリンクカード（写真つき・2026-10-19 カツ「OGP画像もしくは実際の画像を極力出したい」） */
.koff__links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.koff__links a.koff__card { display: grid; gap: 8px; border-bottom: 0; padding: 0; color: var(--ink); }
.koff__ph { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #e8eaee; }
.koff__ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.koff__card:hover .koff__ph img { transform: scale(1.03); }
.koff__card:hover b { text-decoration: underline; }
.koff__txt { display: grid; gap: 2px; }
@media (max-width: 760px) { .koff__links { grid-template-columns: minmax(0, 1fr); } }

.summary { padding: 18px 22px; }   /* 2026-10-19 カツ「左右の余白を調整」＝白い地の中で文字が端に付いていた */
@media (max-width: 760px) { .summary { padding: 16px; } }

.cover { max-width: none; }   /* 2026-10-19 カツ「改行もならないように」＝写真は 480px のまま、キャプションは記事の幅まで */
.cover__img { max-width: 480px; }

/* 2026-10-19 空飛ぶクルマの AR へのお誘い（assets/js/flycar-promo.js が出す）。PC は左下・スマホは下（右の「上へ戻る」を避ける） */
.flycar { position: fixed; left: 18px; bottom: 18px; z-index: 55; width: min(560px, calc(100vw - 100px)); display: flex; align-items: center; gap: 14px;
  padding: 14px 44px 14px 14px; background: #14253d; color: #fff; border-radius: 6px; box-shadow: 0 14px 40px rgba(8, 20, 38, .35); }
.flycar__car { flex: none; width: 150px; height: auto; margin: -46px 0 -6px -6px; filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .35)); }
.flycar__txt { flex: 1 1 auto; min-width: 0; }
.flycar__h { margin: 0 0 4px; font-size: 17px; line-height: 1.5; font-weight: 800; color: #fff; }
.flycar__p { margin: 0; font-size: 15px; line-height: 1.6; color: #dbe4ef; }
.flycar__qr { flex: none; width: 112px; height: 112px; background: #fff; padding: 5px; }
.flycar__link { display: inline-block; margin-top: 6px; font-size: 15px; font-weight: 700; color: #fff; }
.flycar__link:hover { color: #ffd2b8; }
.flycar__go { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 8px; padding: 8px 22px; border-radius: 999px;
  background: #c2410c; color: #fff; font-size: 16px; font-weight: 800; text-decoration: none; }
.flycar__go:hover { background: #a3360a; color: #fff; }
.flycar__x { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  background: none; border: 0; color: #cbd5e1; cursor: pointer; border-radius: 50%; }
.flycar__x:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.flycar__x:focus-visible, .flycar__go:focus-visible, .flycar__link:focus-visible { outline: 3px solid #7dd3fc; outline-offset: 2px; }
@media (max-width: 640px) {
  .flycar { left: 8px; right: 70px; bottom: 12px; width: auto; gap: 10px; padding: 12px 40px 12px 10px; }
  .flycar__car { width: 104px; margin: -34px 0 -4px -4px; }
  .flycar__h { font-size: 16px; }
}
/* 飛んでくる動き（JS が is-arriving → is-go を付ける。付かなければ、はじめから止まった形で出る） */
.flycar.is-arriving { background: transparent; box-shadow: none; }
.flycar.is-arriving > :not(.flycar__car) { opacity: 0; }
.flycar.is-arriving .flycar__car { transform: translate(calc(100vw - 120px), -46vh) scale(.55) rotate(-8deg); }
.flycar.is-arriving.is-go { background: #14253d; box-shadow: 0 14px 40px rgba(8, 20, 38, .35); transition: background .4s ease 1.5s, box-shadow .4s ease 1.5s; }
.flycar.is-arriving.is-go > :not(.flycar__car) { opacity: 1; transition: opacity .45s ease 1.55s; }
.flycar.is-arriving.is-go .flycar__car { transform: none; transition: transform 1.7s cubic-bezier(.18, .72, .24, 1); }

.ivideos { margin: 0 0 24px; padding-top: 0; border-top: 0; }   /* 記事の公式の動画（表紙の下） */

/* 部品ごとの判定：札を見出しの横に・余白を詰める（2026-10-19 カツ「余白がありすぎて読みにくい・見出しの横並びに」） */
.sfcheck__parts li { padding: 12px 0 13px; }
.sfcheck__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 4px; }
.sfcheck__head .sfcheck__part { font-size: 17px; }
.sfcheck__head .sfcheck__verdict { margin: 0; padding: 1px 10px; font-size: 14px; }
.sfcheck__why { line-height: 1.8; }
@media (max-width: 760px) { .sfcheck__parts li { padding: 10px 0 11px; } .sfcheck__head .sfcheck__part { font-size: 16px; } }

/* 公式の発表に書かれていること：行間を詰めて、4つ目からは折りたたむ（2026-10-19 カツ） */
.frun .facts-list { margin: 4px 0 2px; }
.frun .facts-list li { margin: 4px 0; line-height: 1.75; }
.frun { padding: 8px 0 10px; }
.frun-more { margin: 4px 0 0; }
.frun-more summary { cursor: pointer; list-style: none; padding: 10px 0; font-size: 15px; font-weight: 700; color: var(--accent-ink); }
.frun-more summary::-webkit-details-marker { display: none; }
.frun-more summary::before { content: "＋ "; }
.frun-more[open] summary::before { content: "－ "; }

.fbox { border: 1px solid #dcd8ce; padding: 6px 20px 14px; background: #fff; }   /* 2026-10-19 公式の発表の欄の外枠（角は丸めない） */
.fbox .frun:last-of-type { border-bottom: 0; }
.fbox .fsrc--more { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .fbox { padding: 4px 14px 12px; } }
/* 本文の挿絵（2026-10-19 カツ「読み物に挿絵を2枚ずつ」）。本文の幅いっぱい・最大 640px。枠線と角丸は付けない・上下の余白は詰め気味 */
.inill { margin: 14px 0 16px; max-width: 640px; }
.inill img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 0; border-radius: 0; }
.inill figcaption { margin-top: 4px; font-size: 14px; line-height: 1.6; color: #444; }
.kpred .inill { margin: 14px 0 2px; }

/* この記事について聞く（2026-10-19）。枠は薄く・角は丸めない（吹き出しだけ少し丸い） */
.ask { margin: 36px 0 8px; padding: 16px 20px 18px; border: 1px solid #dcd8ce; background: #fff; }
.ask h2 { margin: 0 0 4px; border: 0; padding: 0; font-size: 20px; }
.ask__lead { margin: 0 0 12px; font-size: 15px; color: var(--muted); }
.ask__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ask:not(.ask--js) .ask__list { display: block; }
.ask__item summary { cursor: pointer; padding: 10px 0; font-weight: 700; border-bottom: 1px solid var(--line); }
.ask__item p { margin: 8px 0 12px; line-height: 1.8; }
.ask__chip { min-height: 40px; padding: 6px 14px; border: 1px solid #c9c3b6; background: #faf9f6; color: var(--ink); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; text-align: left; }
.ask__chip:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
.ask__log { display: grid; gap: 10px; margin: 0 0 12px; }
.ask__log:empty { display: none; }
.ask__msg { max-width: 88%; padding: 10px 14px; border-radius: 12px; line-height: 1.8; font-size: 15px; }
.ask__msg p { margin: 0; }
.ask__msg--me { justify-self: end; background: #0b1324; color: #fff; }
.ask__msg--bot { justify-self: start; background: #f1efe9; color: var(--ink); }
.ask__from, .ask__ext { margin: 8px 0 0 !important; display: flex; flex-wrap: wrap; gap: 8px 14px; font-weight: 700; }
.ask__form { display: flex; gap: 8px; margin-top: 14px; }
.ask__form input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid #c9c3b6; font: inherit; font-size: 16px; }
.ask__form button { min-height: 44px; padding: 0 18px; border: 0; background: #0b1324; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 760px) { .ask { padding: 14px; } .ask__msg { max-width: 100%; } }

/* この記事について聞く：右下の ? から開く窓（2026-10-19 カツ「これも右下に ? アイコンで」）。Aa の真上 */
.askbtn { position: fixed; right: 18px; bottom: 146px; z-index: 62; width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; background: #0b1324; color: #fff;
  font-size: 24px; font-weight: 800; cursor: pointer; box-shadow: 0 6px 18px rgba(15, 23, 42, .3); display: flex; align-items: center; justify-content: center; }
.askbtn[aria-expanded="true"] { background: var(--accent-ink); }
.ask.ask--js { display: none; position: fixed; right: 82px; bottom: 18px; z-index: 63; width: min(400px, calc(100vw - 100px)); max-height: min(620px, calc(100vh - 120px));
  margin: 0; overflow-y: auto; box-shadow: 0 16px 40px rgba(15, 23, 42, .28); }
.ask.ask--js.is-open { display: block; }
.ask__close { position: absolute; right: 8px; top: 8px; width: 40px; height: 40px; border: 0; background: none; font-size: 24px; cursor: pointer; color: var(--ink); }
.ask--js h2 { padding-right: 40px; }
.ask--js .ask__log { max-height: 280px; overflow-y: auto; }
@media (max-width: 760px) {
  .askbtn { right: 12px; bottom: 130px; width: 44px; height: 44px; font-size: 20px; }
  .ask.ask--js { left: 0; right: 0; bottom: 0; width: auto; max-height: 80vh; border-left: 0; border-right: 0; }
}
@media print { .askbtn { display: none; } }
