/* =========================================================================
   Zawa Japon — direction « Journal »
   書体は自前配信（/fonts.css）。第三者へのリクエストは既定でゼロ。
   ========================================================================= */

:root {
  /* 素材 */
  --paper:  oklch(0.975 0.008 85);
  --paper2: oklch(0.955 0.010 82);
  --ink:    oklch(0.22 0.012 60);
  --ink2:   oklch(0.38 0.012 60);
  --muted:  oklch(0.55 0.012 60);
  --line:   oklch(0.84 0.015 70);
  --accent: oklch(0.50 0.16 27);
  --art-bg:     oklch(0.945 0.012 80);
  --art-line:   oklch(0.74 0.02 70);
  --art-accent: oklch(0.50 0.16 27);

  /* 構造 */
  --wide: 74rem;
  --measure: 41rem;
  --serif: Newsreader, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: Archivo, ui-sans-serif, system-ui, "Helvetica Neue", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17.5px/1.72 var(--serif);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }

.rule { width: 100%; }
.rule--hair { height: 1px; background: var(--line); }
.rule--heavy { height: 3px; background: var(--ink); }

/* ---- 題字 --------------------------------------------------------------- */
.masthead {
  max-width: var(--wide); margin: 0 auto;
  padding: 26px 1.5rem 0;
  display: flex; flex-direction: column; align-items: center;
}
.masthead-line {
  display: flex; justify-content: space-between; width: 100%;
  font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); padding-bottom: 9px;
}
.wordmark {
  color: inherit; font: 600 clamp(2.4rem, 6vw, 3.4rem)/1 var(--serif);
  letter-spacing: -0.022em; padding: 16px 0 7px;
}
.wordmark:hover { text-decoration: none; }
.wordmark-mark { color: var(--accent); }
.masthead-tag {
  margin: 0 0 14px; font: 500 11.5px/1 var(--sans);
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.nav {
  display: flex; gap: clamp(1rem, 3vw, 2rem); justify-content: center; flex-wrap: wrap;
  width: 100%; padding: 11px 0 10px;
  font: 600 12.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
}
.nav a { color: var(--ink); }
.nav a:hover { color: var(--accent); text-decoration: none; }

/* ---- 版面 --------------------------------------------------------------- */
.page {
  max-width: var(--wide); margin: 0 auto; padding: 28px 1.5rem 0;
  display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 2.75rem;
  align-items: start;
}
.col-main { display: flex; flex-direction: column; gap: 1.9rem; min-width: 0; }
.col-side { display: flex; flex-direction: column; gap: 1.9rem; }

/* 共通の見出し語 */
.kicker {
  margin: 0; font: 700 11.5px/1 var(--sans);
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.dek { margin: 0; color: var(--ink2); line-height: 1.55; }
.dek--lead { font-size: 1.15rem; }
.meta { margin: 0; font: 400 11.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* 図版 */
.art { overflow: hidden; background: var(--art-bg); border: 1px solid var(--line); }
.art svg, .art img { width: 100%; height: 100%; object-fit: cover; }
.art--photo { margin: 0; }
.art--bleed { border: 0; }

/* 一面 */
.lead { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: 1.8rem; align-items: start; }
.lead-text { display: flex; flex-direction: column; gap: .8rem; }
.lead h1 { margin: 0; font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.1; font-weight: 600; letter-spacing: -0.015em; text-wrap: pretty; }
.lead h1 a { color: var(--ink); }
.lead h1 a:hover { color: var(--accent); text-decoration: none; }

/* 3本組 */
.row3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.6rem; }
.card a { color: inherit; display: flex; flex-direction: column; gap: .6rem; }
.card a:hover { text-decoration: none; }
.card-body { display: flex; flex-direction: column; gap: .35rem; }
.card h2 { margin: 0; font-size: 1.2rem; line-height: 1.28; font-weight: 600; text-wrap: pretty; }
.card a:hover h2 { color: var(--accent); }
.card .dek { font-size: .92rem; }

/* 短信 */
.briefs { display: flex; flex-direction: column; }
.briefs .card { border-bottom: 1px solid var(--line); }
.briefs .card:first-child { border-top: 1px solid var(--line); }
.briefs .card a { padding: .85rem 0; gap: .25rem; }
.briefs .card h2 { font-size: 1.08rem; }
.briefs .card .dek { font-size: .89rem; }

/* 側柱 */
.side-head {
  margin: 0 0 .55rem; padding-bottom: .5rem; border-bottom: 2px solid var(--ink);
  font: 700 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
}
.side-block { display: flex; flex-direction: column; }
.ranked { list-style: none; margin: 0; padding: 0; }
.ranked li {
  display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .7rem;
  padding: .55rem 0; border-bottom: 1px solid var(--line);
}
.ranked .num { font-size: 1.5rem; line-height: 1.1; font-weight: 300; color: var(--accent); }
.ranked a { color: var(--ink); font-size: .97rem; line-height: 1.35; }
.side-text { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--ink2); }

/* 広告 */
.ad {
  border: 1px dashed var(--line); background: var(--paper2);
  padding: 1.4rem 1rem; display: flex; flex-direction: column; align-items: center; gap: .3rem;
}
.ad::before {
  content: "Publicité";
  font: 400 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}

/* ---- 記事 --------------------------------------------------------------- */
.post { max-width: var(--measure); margin: 2rem auto 0; padding: 0 1.5rem; }
.post-head { display: flex; flex-direction: column; gap: .75rem; }
.post-head h1 { margin: 0; font-size: clamp(1.9rem, 4.4vw, 2.6rem); line-height: 1.13; font-weight: 600; letter-spacing: -0.015em; text-wrap: pretty; }
.post > .art { margin: 1.6rem 0 1.9rem; }

.prose p { margin: 1.1rem 0; line-height: 1.85; }
.prose > p:first-of-type::first-letter {
  float: left; font-size: 3.3em; line-height: .84; font-weight: 600;
  padding: .06em .09em 0 0; color: var(--accent);
}
.prose h2 {
  margin: 2.4rem 0 .7rem; padding-top: 1.1rem; border-top: 1px solid var(--line);
  font-size: 1.45rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em;
}
.prose strong { font-weight: 600; }
.prose blockquote { margin: 0; }

/* 引用 */
.quote { margin: 1.6rem 0; padding-left: 1.1rem; border-left: 3px solid var(--accent); }
.quote blockquote { margin: 0; font-size: 1.12rem; line-height: 1.62; font-style: italic; }
.quote figcaption {
  margin-top: .45rem; font: 400 11.5px/1.5 var(--sans);
  letter-spacing: .04em; color: var(--muted);
  display: flex; gap: .6rem; flex-wrap: wrap; align-items: baseline;
}
.quote .who { font-weight: 600; color: var(--ink2); }
details.original { margin-top: .5rem; font: 400 12px/1.5 var(--sans); color: var(--muted); }
details.original summary { cursor: pointer; list-style: none; opacity: .7; }
details.original summary::-webkit-details-marker { display: none; }
details.original summary::before { content: "▸ "; }
details.original[open] summary { opacity: 1; }
details.original[open] summary::before { content: "▾ "; }
details.original p { margin: .4rem 0 0; font-family: var(--serif); font-size: .95rem; line-height: 1.85; }

/* 共有 */
.share {
  display: flex; align-items: baseline; gap: 1.1rem; flex-wrap: wrap;
  margin-top: 2.4rem; padding: .8rem 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font: 500 12.5px/1 var(--sans);
}
.share-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* 出典 */
.sources { margin-top: 1.8rem; }
.sources h2 { margin: 0 0 .5rem; font: 700 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sources ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .35rem; }
.sources li { font-size: .95rem; }
.src-kind { font: 400 10.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-left: .5rem; }

.related { margin-top: 2.6rem; }
.related .row3 { margin-top: 1rem; }
.post .ad { margin-top: 2rem; }

.page-title { max-width: var(--wide); margin: 1.8rem auto .4rem; padding: 0 1.5rem; font-size: 1.9rem; font-weight: 600; }
.notice { color: var(--muted); }

/* ---- フッター ----------------------------------------------------------- */
.site-footer {
  max-width: var(--wide); margin: 4rem auto 2.5rem; padding: 1.2rem 1.5rem 0;
  border-top: 1px solid var(--line);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.1rem; font: 400 12px/1 var(--sans); }
.site-footer nav a { color: var(--muted); }
.fine { margin-top: .9rem; font: 400 11px/1 var(--sans); color: var(--muted); }

/* ---- 狭い画面 ----------------------------------------------------------- */
@media (max-width: 62rem) {
  .page { grid-template-columns: minmax(0, 1fr); }
  .lead { grid-template-columns: minmax(0, 1fr); }
  .lead-art { order: -1; }
  .col-side { border-top: 1px solid var(--line); padding-top: 1.5rem; }
}
@media (max-width: 34rem) {
  body { font-size: 16.5px; }
  .masthead-line { font-size: 10px; }
}
