/* 土台は Tesla Japan Watch（Codex 版）のデザインと同じ値です：紙の色・墨の色・赤の差し色・角丸 3px */
:root {
  --paper: #f7f6f2;
  --ink: #202523;
  --muted: #67716b;
  --line: #dcded5;
  --accent: #c63b32;
  --dark: #202d29;
  --card: #fcfbf8;
  --soft: #eaece5;
  --green: #315c48;
  --pale: #dae0d5;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 15px; line-height: 1.8; overflow-wrap: anywhere;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, figure { margin-top: 0; }

/* 上の帯とヘッダー */
.topline { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 10px 4%; font-size: 10px; letter-spacing: 2px; color: var(--muted); }
header.site { margin: 0 4%; padding: 27px 0; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--ink); gap: 24px; }
.brand { font-weight: 850; font-size: 30px; line-height: 1.05; letter-spacing: 4px; }
.brand > span { display: block; font-size: 11px; letter-spacing: 2px; margin-top: 8px; }
.brand:hover { color: var(--ink); }
.brand-dot { color: var(--accent); margin-left: 6px; }
nav.main { display: flex; gap: 29px; font-size: 12px; font-weight: 650; align-items: center; }
.rss { padding: 6px 14px; border: 1px solid var(--line); border-radius: 20px; }
main { max-width: 1440px; margin: auto; padding: 0 4%; }
section { margin-bottom: 80px; }
.eyebrow, .kicker { font-size: 10px; font-weight: 750; letter-spacing: 2px; color: var(--accent); }

/* ヒーロー */
.hero { display: grid; grid-template-columns: 44% 56%; margin: 40px 0 0; min-height: 540px; }
.hero-copy { padding: 30px 25px 24px 0; }
.hero h1 { font-size: clamp(40px, 4.7vw, 72px); line-height: 1.27; letter-spacing: -3px; margin: 26px 0 24px; font-weight: 760; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-copy p { font-size: 15px; color: var(--muted); }
.button { display: inline-flex; background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 3px; gap: 30px; font-size: 12px; }
.button:hover { background: var(--accent); color: #fff; }
.hero-meta { font-size: 10px; letter-spacing: 1px; margin-top: 20px; color: var(--muted); }
.hero-photo { margin: 0; align-self: stretch; display: flex; flex-direction: column; }
.hero-photo img { width: 100%; height: 465px; object-fit: cover; object-position: center 88%; background: #deded8; border-radius: 3px; }
.hero-photo figcaption, .article-photo figcaption { padding-top: 8px; font-size: 9px; color: var(--muted); line-height: 1.6; }
figcaption a, .card-credit a { text-decoration: underline; }

.status-strip { display: flex; gap: 18px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; font-size: 11px; margin: 25px 0 0; }
.status-strip strong { font-size: 10px; letter-spacing: 1px; }
.status-strip a { margin-left: auto; }
.status-count { padding: 2px 9px; background: #e7ece4; border-radius: 20px; }
.pulse { display: block; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; flex: none; }

/* 今日の要点（トップ） */
.brief { display: grid; grid-template-columns: repeat(4, 1fr); padding: 35px 0 0; margin-bottom: 26px; }
.brief > div { padding: 0 28px; border-left: 1px solid var(--line); min-width: 0; }
.brief > div:first-child { padding-left: 0; border-left: 0; }
.brief h2 { font-size: 22px; line-height: 1.5; margin: 12px 0 8px; }
.brief p { font-size: 12px; color: var(--muted); margin: 0; }
.brief-more { font-size: 13px; margin: 0 0 60px; }
.brief-more a { text-decoration: underline; }

.section-head { display: flex; justify-content: space-between; align-items: end; border-bottom: 1px solid var(--ink); padding-bottom: 18px; gap: 20px; margin-bottom: 24px; }
.section-head h2 { font-size: 28px; letter-spacing: -1px; margin: 6px 0 0; line-height: 1.5; }
.section-head > span { font-size: 10px; letter-spacing: 2px; color: var(--muted); white-space: nowrap; }

/* 記事カード */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: var(--card); }
.card img { aspect-ratio: 16/10; object-fit: cover; object-position: center 88%; width: 100%; height: auto; }
.card .card-credit { font-size: 9px; color: var(--muted); padding: 7px 12px 0; margin: 0; line-height: 1.6; }
.card-body { padding: 22px; }
.card .eyebrow { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: 1px; gap: 12px; }
.card .eyebrow span { color: var(--muted); }
.card h3 { font-size: 20px; line-height: 1.55; margin: 12px 0; letter-spacing: -.5px; }
.card p { font-size: 12px; color: var(--muted); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tags span, .tags a { font-size: 9px; padding: 3px 6px; border: 1px solid var(--line); color: var(--muted); line-height: 1.6; }
.tags a:hover { color: var(--accent); border-color: var(--accent); }
.tags.inline { display: inline-flex; vertical-align: middle; margin-left: 6px; }
.cards.few { grid-template-columns: 1fr; }
.card.wide { display: grid; grid-template-columns: 42% 1fr; }
.card.wide img { aspect-ratio: auto; height: 100%; min-height: 260px; }
.card.wide .card-body { padding: 30px 34px; display: flex; flex-direction: column; justify-content: center; }
.card.wide h3 { font-size: 26px; line-height: 1.5; letter-spacing: -1px; }
.card.wide p { font-size: 13px; }
.card.wide .card-credit { padding: 16px 0 0; }
.archive-link { font-size: 13px; margin-top: 22px; }
.archive-link a { text-decoration: underline; }

/* 濃い緑の帯（世界の状況） */
.guide-band { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; background: var(--dark); color: #fff; padding: 40px; border-radius: 3px; }
.guide-band .kicker { color: #e6aa94; }
.guide-band h2 { font-size: 32px; line-height: 1.5; margin: 15px 0; }
.guide-band p { color: #c1cbc4; font-size: 13px; }
.guide-band a.more { font-size: 13px; text-decoration: underline; color: #fff; }
.guide-links { display: flex; flex-direction: column; justify-content: center; }
.guide-links > div { border-bottom: 1px solid #52615a; padding: 15px 0; font-size: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.guide-links > div:last-child { border-bottom: 0; }
.guide-links .st { color: #c1cbc4; font-size: 12px; text-align: right; }
.guide-links .st b { display: inline-block; font-weight: 650; font-size: 10px; letter-spacing: 1px; padding: 1px 8px; border-radius: 20px; margin-left: 8px; border: 1px solid #52615a; color: #c1cbc4; white-space: nowrap; }
.guide-links .st b.up { background: #dae0d5; border-color: #dae0d5; color: #24382d; }
.guide-links .st b.down { background: #e6aa94; border-color: #e6aa94; color: #4a1a14; }

/* 記事ページ */
.article-top { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin: 25px 0 45px; gap: 16px; }
.reading { max-width: 820px; margin: 60px auto 100px; }
.reading h1 { font-size: clamp(30px, 4vw, 49px); line-height: 1.45; letter-spacing: -1.5px; margin: 17px 0 22px; }
.reading .standfirst { font-size: 18px; color: var(--muted); line-height: 1.9; }
.reading h2 { font-size: 25px; margin: 50px 0 20px; line-height: 1.6; }
.reading h3 { font-size: 18px; margin: 30px 0 15px; }
.reading p { line-height: 2.1; }
.reading p a, .reading li a { text-decoration: underline; }
.reading .article-meta { font-size: 11px; color: var(--muted); line-height: 1.8; }
.reading p.kicker { line-height: 1.8; margin: -10px 0 16px; }
.reading ul.list { padding-left: 22px; margin: 0 0 20px; }
.reading ul.list li { margin: 8px 0; line-height: 2; }
.article-photo { margin: 30px 0; }
.article-photo img { width: 100%; height: auto; object-position: center 88%; max-height: 460px; object-fit: cover; border-radius: 3px; }
.reading .note { font-size: 11px; color: var(--muted); line-height: 1.8; margin: 10px 0 0; }
.reading .src { font-size: 12px; color: var(--muted); line-height: 1.8; margin: 0 0 12px; }
.reading .src a { text-decoration: underline; }
.notice { background: #f0e9db; border-left: 3px solid #b98a50; padding: 20px; font-size: 15px; font-weight: 650; line-height: 1.9; margin: 40px 0 30px; }
.notice .kicker { display: block; color: #8a6431; margin-bottom: 6px; }
.sources { padding: 22px 30px; background: #eeeee7; margin: 40px 0; }
.sources h2 { margin: 0 0 15px; font-size: 18px; }
.sources ul { margin: 0; padding-left: 18px; }
.sources li { font-size: 12px; margin: 8px 0; line-height: 1.8; }
.sources li a { text-decoration: underline; }
.sources p { font-size: 11px; color: var(--muted); margin: 14px 0 0; line-height: 1.8; }

/* 30秒でわかる：数字のカード */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 12px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 3px; padding: 18px 20px; min-width: 0; }
.tile .label { font-size: 10px; font-weight: 750; letter-spacing: 1px; color: var(--muted); line-height: 1.6; }
.tile .value { font-size: 22px; line-height: 1.5; font-weight: 760; letter-spacing: -.5px; margin: 6px 0 4px; }
.tile .sub { font-size: 12px; color: var(--muted); line-height: 1.7; }
.tone-warn { color: var(--accent); }
.tone-good { color: var(--green); }

/* 枠つきの箱 */
.panel { border: 1px solid var(--line); border-radius: 3px; background: var(--card); padding: 24px 26px; margin: 26px 0; }
.panel .ptitle { font-size: 18px; font-weight: 700; margin: 0 0 6px; line-height: 1.6; }
.panel .plabel, .plain-stat .plabel { font-size: 10px; font-weight: 750; letter-spacing: 1px; color: var(--muted); margin: 0; line-height: 1.6; }
.big { font-size: 34px; line-height: 1.3; font-weight: 760; letter-spacing: -1px; margin: 6px 0 14px; }
.feat { display: grid; grid-template-columns: 22px 1fr; column-gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.feat:first-of-type { border-top: 0; }
.feat:last-child { padding-bottom: 0; }
.feat svg { width: 20px; height: 20px; margin-top: 4px; color: var(--muted); }
.feat.accent svg { color: var(--green); }
.feat .ft { font-weight: 700; font-size: 15px; line-height: 1.8; }
.feat .fv { font-size: 28px; line-height: 1.4; font-weight: 760; letter-spacing: -1px; color: var(--green); }
.feat .fn { font-size: 12px; color: var(--muted); line-height: 1.8; }

/* 横棒 */
.bar { display: flex; height: 22px; border-radius: 3px; overflow: hidden; background: var(--soft); }
.bar > span { display: block; height: 100%; }
.bar > span + span { border-left: 2px solid var(--card); }
.c-warn { background: var(--accent); }
.c-other { background: #b9c2b4; }
.c-good { background: var(--green); }
.meter { height: 12px; border-radius: 3px; background: var(--soft); overflow: hidden; }
.meter > span { display: block; height: 100%; background: var(--green); }
.legend { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 11px; color: var(--muted); margin: 10px 0 0; line-height: 1.6; }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.plain-stat { margin: 26px 0; }

/* 表 */
.table-wrap { border: 1px solid var(--line); margin: 24px 0; max-width: 100%; background: var(--card); }
table { border-collapse: collapse; font-size: 12px; width: 100%; text-align: left; table-layout: fixed; }
th, td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.7; }
th { background: var(--soft); font-size: 11px; }
tbody tr:last-child td { border: 0; }
table.cols-2 th:first-child { width: 30%; }
table.cols-3 th:first-child { width: 28%; }
.reading .table-note { margin: -14px 0 24px; }

/* 状況の一覧 */
.kv-head { font-size: 20px; font-weight: 700; margin: 8px 0 4px; line-height: 1.6; }
.kv-sub { font-size: 12px; color: var(--muted); margin: 0 0 16px; }
.kv .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.7; }
.kv .row:last-child { padding-bottom: 0; }
.kv .row .v { font-weight: 700; text-align: right; color: var(--muted); }
.kv .row .v.tone-good { color: var(--green); }
.kv .row .v.tone-warn { color: var(--accent); }

/* 広告 */
.ad { margin: 40px 0; }
.ad .adlabel { font-size: 9px; letter-spacing: 2px; color: var(--muted); text-align: center; margin: 0 0 8px; line-height: 1.6; }
.ad .adpreview { display: flex; align-items: center; justify-content: center; min-height: 120px; border: 1px dashed #c3c6ba; border-radius: 3px; color: var(--muted); font-size: 12px; }
.pr { border: 1px solid var(--line); border-radius: 3px; background: var(--card); padding: 22px 26px; margin: 40px 0; }
.pr .prhead { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.pr .prtag { font-size: 9px; letter-spacing: 1px; padding: 2px 7px; border: 1px solid var(--line); color: var(--muted); font-weight: 650; }
.pr a.pritem { display: block; padding: 14px 0; border-top: 1px solid var(--line); }
.pr a.pritem b { display: block; font-size: 14px; }
.pr a.pritem span { display: block; font-size: 12px; color: var(--muted); }

/* 前後の記事 */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 40px 0 0; }
.pager.single { grid-template-columns: 1fr; }
.pager a { display: block; border: 1px solid var(--line); border-radius: 3px; background: var(--card); padding: 18px 20px; }
.pager small { display: block; font-size: 10px; letter-spacing: 1px; color: var(--muted); }
.pager b { display: block; font-size: 14px; line-height: 1.7; margin-top: 4px; }
.pager .next { text-align: right; }

.month { font-size: 18px; margin: 40px 0 18px; }
.page-plain h2 { font-size: 20px; margin: 40px 0 14px; }

footer.site { border-top: 1px solid var(--line); padding: 40px 4%; font-size: 12px; color: var(--muted); margin-top: 60px; }
footer.site strong { letter-spacing: 2px; color: var(--ink); }
footer.site a { margin-right: 20px; text-decoration: underline; }
footer.site small { font-size: 10px; display: block; line-height: 1.8; }

@media (min-width: 1600px) {
  header.site, .topline, footer.site { padding-left: max(4%, calc((100% - 1325px) / 2)); padding-right: max(4%, calc((100% - 1325px) / 2)); }
  header.site { margin: 0; }
}
@media (max-width: 950px) {
  nav.main { gap: 15px; font-size: 11px; }
  .hero { grid-template-columns: 45% 55%; min-height: 450px; }
  .hero-photo img { height: 400px; }
  .hero h1 { font-size: 46px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brief { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .brief > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .brief h2 { font-size: 19px; }
  .section-head h2 { font-size: 24px; }
  .guide-band { gap: 30px; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .topline { font-size: 8px; letter-spacing: 1px; }
  header.site { padding: 20px 0; align-items: start; flex-wrap: wrap; gap: 16px; margin: 0 5%; }
  .brand { font-size: 27px; }
  nav.main { width: 100%; justify-content: flex-start; gap: 18px; font-size: 11px; }
  .rss { padding: 3px 10px; margin-left: auto; }
  main { padding: 0 5%; }
  .hero { grid-template-columns: 1fr; margin-top: 15px; min-height: 0; }
  .hero-copy { padding: 20px 0 28px; }
  .hero h1 { font-size: 44px; letter-spacing: -2px; line-height: 1.22; margin: 20px 0; }
  .hero-copy p { font-size: 13px; }
  .hero-photo img { height: 270px; }
  .hero-meta { font-size: 9px; }
  .status-strip { gap: 8px 12px; flex-wrap: wrap; font-size: 10px; margin-top: 20px; padding: 14px 0; }
  .status-strip a { margin-left: 0; width: 100%; }
  .brief { grid-template-columns: 1fr; row-gap: 0; padding-top: 10px; }
  .brief > div { padding: 18px 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--line); }
  .brief h2 { font-size: 20px; margin: 6px 0; }
  .brief-more { margin: 18px 0 45px; }
  .section-head h2 { font-size: 23px; }
  .section-head > span { display: none; }
  .cards { grid-template-columns: 1fr; gap: 20px; }
  .card h3, .card.wide h3 { font-size: 20px; letter-spacing: -.5px; }
  .card img { aspect-ratio: 16/9; }
  .card.wide { display: block; }
  .card.wide img { aspect-ratio: 16/9; height: auto; min-height: 0; }
  .card.wide .card-body { padding: 20px; }
  .card-body { padding: 20px; }
  .guide-band { grid-template-columns: 1fr; gap: 8px; padding: 28px 23px; }
  .guide-band h2 { font-size: 27px; }
  .guide-links > div { font-size: 13px; padding: 14px 0; flex-wrap: wrap; gap: 4px 12px; }
  section { margin-bottom: 55px; }
  .reading { margin: 35px auto 65px; }
  .reading h1 { font-size: 29px; letter-spacing: -1px; }
  .reading .standfirst { font-size: 16px; }
  .reading h2 { font-size: 21px; margin-top: 38px; }
  .reading p { font-size: 14px; }
  .reading .note, .reading .article-meta { font-size: 11px; }
  .reading p.kicker { font-size: 10px; }
  .article-photo img { max-height: 290px; }
  .article-top { margin: 20px 0; font-size: 10px; }
  .tiles { gap: 8px; }
  .tile { padding: 14px; }
  .tile .value { font-size: 18px; }
  .panel { padding: 20px 18px; }
  .big { font-size: 30px; }
  table { font-size: 11px; }
  th, td { padding: 11px 10px; }
  .sources { padding: 20px; }
  .notice { font-size: 14px; }
  footer.site { padding: 30px 5%; }
  footer.site a { display: inline-block; margin-bottom: 4px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
