:root {
  color-scheme: light;
  --ink: #141414;
  --muted: #5f5f5f;
  --line: #e4e4e4;
  --surface: #fff;
  --paper: #fff;
  --soft: #f5f5f5;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--surface);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #141414; outline-offset: 4px; }
.site-footer :focus-visible { outline-color: var(--paper); }
section[id] { scroll-margin-top: 1.5rem; }

.shell { width: min(100% - 7rem, 78rem); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}
.skip-link:focus {
  position: fixed;
  z-index: 5;
  top: 1rem;
  left: 1rem;
  padding: .75rem 1rem;
  background: var(--paper);
}

.site-header { position: relative; z-index: 2; border-top: .2rem solid var(--ink); background: var(--paper); }
.header-inner {
  display: flex;
  align-items: center;
  min-height: 4.6rem;
  gap: 1.4rem;
}
.wordmark {
  display: inline-block;
  width: fit-content;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.44rem;
  font-weight: 900;
  letter-spacing: -.085em;
  line-height: 1;
}
.wordmark span { margin-left: .06em; }
.navigation-bar { border-block: 1px solid var(--line); }
.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.15rem, 3vw, 2.75rem);
}
.primary-nav a {
  position: relative;
  display: block;
  padding-block: .85rem .8rem;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 700;
  white-space: nowrap;
}
.primary-nav a[aria-current="page"], .primary-nav a:hover { color: var(--ink); }
.primary-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: .19rem;
  background: var(--ink);
}
.footer-top nav a { color: #e6e6e6; font-size: .875rem; font-weight: 600; white-space: nowrap; }
.footer-top nav a:hover { color: var(--paper); }
.header-actions { display: flex; align-items: center; gap: 1.05rem; margin-left: auto; }
.button, .icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: .15rem;
  font-weight: 700;
}
.button {
  min-height: 2.75rem;
  padding: .6rem 1.25rem;
  font-size: .875rem;
  line-height: 1.55;
  white-space: nowrap;
}
.button-outline { border-color: #a3a3a3; background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--soft); border-color: var(--ink); }
.button-dark { color: var(--paper); background: var(--ink); }
.button-dark:hover { background: #373737; }
.icon-button { flex: none; width: 2.75rem; height: 2.75rem; padding: 0; background: transparent; color: inherit; }
.site-header .icon-button:hover { background: var(--soft); }
.header-latest { font-size: .875rem; font-weight: 700; white-space: nowrap; }
.header-latest:hover { text-decoration: underline; text-underline-offset: .2em; }
.search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 2.75rem;
  padding: .55rem .75rem;
  border: 1px solid var(--line);
  border-radius: .14rem;
  background: var(--paper);
  color: var(--ink);
  font-size: .875rem;
  font-weight: 700;
}
.search-button:hover { background: var(--soft); }
.search-icon {
  position: relative;
  flex: none;
  width: .9rem;
  height: .9rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  margin: 0 .2rem .18rem 0;
}
.search-icon::after {
  content: "";
  position: absolute;
  width: .47rem;
  height: 1.5px;
  background: currentColor;
  right: -.38rem;
  bottom: -.13rem;
  transform: rotate(45deg);
}
.menu-button, .primary-nav .mobile-subscribe { display: none; }

.front-page { margin-top: clamp(1.4rem, 2.55vw, 2.2rem); }
.front-page-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .7rem;
  padding-bottom: .75rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--ink);
}
.edition-date {
  color: var(--muted);
  font-size: .8125rem;
  font-variant-numeric: tabular-nums;
}
.front-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.12fr) minmax(16rem, 1fr);
  column-gap: clamp(1.35rem, 3vw, 2.6rem);
}
.lead-link { display: block; }
.lead-link:hover h2, .editor-picks a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.lead-image, .feature-image, .card-image, .pick-image { position: relative; overflow: hidden; background: #eeeeee; }
.lead-image img, .feature-image img, .card-image img, .pick-image img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.lead-image { aspect-ratio: 2.25; }
.lead-image img { object-position: 50% 52%; }
.lead-copy { padding: 1rem 0 0; }
.lead-meta { font-size: .875rem; font-weight: 750; }
.lead-copy h2 {
  margin-block: .4rem .65rem;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  font-weight: 850;
  line-height: 1.36;
  letter-spacing: .005em;
  text-wrap: pretty;
}
.lead-copy p { max-width: 43rem; font-size: 1rem; line-height: 1.85; color: var(--muted); text-wrap: pretty; }
.editor-picks { border-left: 1px solid var(--line); padding-left: clamp(1.25rem, 2.65vw, 2rem); }
.editor-picks h2 { font-size: 1.125rem; font-weight: 800; padding: .05rem 0 .7rem; border-bottom: 1px solid var(--line); }
.editor-picks ul { margin: 0; padding: 0; list-style: none; }
.editor-picks li + li { border-top: 1px solid var(--line); }
.editor-picks a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(3.65rem, 7vw, 5.1rem);
  align-items: center;
  column-gap: .7rem;
  min-height: 5.65rem;
  padding-block: .8rem;
}
.editor-picks .topic { display: block; font-size: .8125rem; font-weight: 650; margin-bottom: .27rem; }
.editor-picks h3 { font-size: 1.025rem; font-weight: 800; line-height: 1.48; }
.pick-image { aspect-ratio: 1.18; }

.news-stream {
  display: grid;
  grid-template-columns: minmax(0, 2.12fr) minmax(16rem, 1fr);
  gap: clamp(1.35rem, 3vw, 2.6rem);
  margin-block: clamp(2.5rem, 4vw, 3.8rem);
  padding-top: 1.15rem;
  border-top: 2px solid var(--ink);
}
.news-sidebar { min-width: 0; padding-left: clamp(1.25rem, 2.65vw, 2rem); border-left: 1px solid var(--line); }
.latest { min-width: 0; }
.latest-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .95rem 2rem;
  padding-bottom: 1rem;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}
.section-title {
  display: flex;
  align-items: center;
  font-size: clamp(1.45rem, 2.45vw, 1.95rem);
  font-weight: 800;
  line-height: 1.35;
}
.filters { display: flex; flex-wrap: wrap; gap: .32rem; }
.filters button {
  min-height: 2.5rem;
  padding: .35rem .63rem;
  border: 1px solid var(--line);
  border-radius: .15rem;
  color: var(--muted);
  background: transparent;
  font-size: .875rem;
  font-weight: 600;
}
.filters button:hover { background: var(--soft); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.story-grid { display: grid; gap: 2rem 1.55rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-card { min-width: 0; border-bottom: 1px solid var(--line); }
.story-card a { display: block; height: 100%; padding-bottom: 1.35rem; }
.card-image { aspect-ratio: 1.74; }
.card-image img { transition: transform .25s ease; }
.story-card a:hover .card-image img { transform: scale(1.035); }
.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem .85rem;
  margin-block: 1rem .5rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--muted);
}
.topic { color: var(--ink); }
.card-meta time { font-variant-numeric: tabular-nums; }
.story-card h3 { font-size: clamp(1.07rem, 1.6vw, 1.38rem); line-height: 1.55; font-weight: 800; }
.story-card a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.story-card p, .feature-copy p { color: var(--muted); font-size: 1rem; line-height: 1.8; margin-top: .5rem; }
.latest .story-grid { display: block; }
.latest .story-card a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(6.6rem, 12vw, 10rem);
  grid-template-rows: auto auto auto;
  column-gap: clamp(.85rem, 2vw, 1.45rem);
  padding-block: 1.1rem;
}
.latest .card-image { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
.latest .card-meta { grid-column: 1; grid-row: 1; margin-block: 0 .35rem; }
.latest .story-card h3 { grid-column: 1; grid-row: 2; }
.latest .story-card p { grid-column: 1; grid-row: 3; font-size: .94rem; line-height: 1.65; }
.more-actions { display: flex; justify-content: center; margin-top: 1.75rem; }

.feature > h2 { padding-bottom: .75rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.feature-image { aspect-ratio: 1.75; }
.feature-copy { padding: .9rem 0 0; }
.feature-copy .card-meta { margin-top: 0; }
.feature-copy h3 { font-size: 1.2rem; line-height: 1.5; font-weight: 800; }
.feature-copy .button { margin-top: .85rem; }

.about {
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) 2fr;
  gap: .75rem 2rem;
  align-items: baseline;
  padding: 1.6rem 0;
  border-block: 1px solid var(--line);
}
.about h2 { font-size: 1.25rem; }
.about p { color: var(--muted); font-size: 1rem; line-height: 1.95; max-width: 49rem; }
.newsletter {
  border: 1px solid var(--line);
  background: var(--paper);
  margin-top: 2rem;
  padding: 1.15rem;
}
.newsletter h2 { font-size: 1.12rem; font-weight: 800; }
.newsletter p { margin-top: .5rem; line-height: 1.65; font-size: .93rem; }
.newsletter-form { margin-top: 1rem; }
.newsletter label { display: block; font-size: .875rem; font-weight: 700; margin-bottom: .4rem; }
.newsletter-input { display: grid; gap: .5rem; }
.newsletter-input input, .search-dialog input {
  min-width: 0;
  width: 100%;
  border: 1px solid #a3a3a3;
  background: var(--paper);
  color: var(--ink);
  padding: .68rem .8rem;
  border-radius: .15rem;
}
.newsletter .form-status { font-size: .875rem; }
.site-footer { margin-top: 3rem; background: var(--ink); color: var(--paper); }
.footer-inner { padding-block: 2.35rem 1.55rem; }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-top nav { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; }
.footer-bottom {
  border-top: 1px solid #4a4a4a;
  padding-top: 1rem;
  margin-top: 1.6rem;
  color: #d6d6d6;
  font-size: .8125rem;
}

.search-dialog {
  border: 1px solid var(--line);
  border-radius: .25rem;
  padding: clamp(1rem, 4vw, 2rem);
  width: min(100% - 2rem, 37rem);
  max-height: min(85dvh, 40rem);
  color: var(--ink);
  background: var(--surface);
}
.search-dialog::backdrop { background: rgb(0 0 0 / 62%); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.dialog-heading h2 { font-size: 1.5rem; }
.close-button { font-size: 1.65rem; line-height: 1; }
.close-button:hover { background: var(--soft); }
.search-status { color: var(--muted); font-size: .875rem; padding-top: .8rem; }
.search-results { margin: .35rem 0 0; padding: 0; list-style: none; }
.search-results li { border-bottom: 1px solid var(--line); }
.search-results a { display: block; padding: .75rem 0; }
.search-results a:hover strong { text-decoration: underline; }
.search-results .topic { display: block; font-size: .8125rem; margin-bottom: .25rem; }

.article-page { padding-top: 1.8rem; padding-bottom: 4rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .6rem; font-size: .875rem; color: var(--muted); }
.breadcrumb a:hover { text-decoration: underline; }
.article-header { max-width: 51rem; margin: clamp(2rem, 5vw, 4rem) auto 2rem; }
.article-header .card-meta { margin-top: 0; }
.article-header h1 {
  font-size: clamp(2rem, 4.4vw, 3.55rem);
  line-height: 1.35;
  letter-spacing: .02em;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.article-header p { margin-top: 1rem; font-size: 1.075rem; color: var(--muted); line-height: 1.85; }
.article-cover { max-width: 61rem; margin-inline: auto; }
.article-cover img { aspect-ratio: 2.05; object-fit: cover; object-position: center 56%; }
.article-cover figcaption { color: var(--muted); font-size: .8125rem; margin-top: .5rem; text-align: right; }
.article-text { max-width: 46rem; margin: 2.7rem auto 4rem; }
.article-contents { border-block: 1px solid var(--line); padding: 1.1rem 0; margin-bottom: 2.1rem; }
.article-contents h2 { font-size: 1rem; }
.article-contents ul { margin-block: .6rem 0; padding-inline-start: 1.3rem; }
.article-contents li { margin-block: .35rem; line-height: 1.55; }
.article-contents a { text-decoration: underline; text-decoration-color: #999; text-underline-offset: .2em; }
.article-contents a:hover { text-decoration-color: var(--ink); }
.article-text section + section { margin-top: 2.25rem; }
.article-text section h2 {
  border-left: .18rem solid var(--ink);
  padding-left: .8rem;
  margin-bottom: .85rem;
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.55;
}
.article-text p { font-size: 1.05rem; line-height: 2.1; }
.related .section-title { padding-bottom: 1rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); }

@media (max-width: 62rem) {
  .shell { width: calc(100% - 3rem); }
  .primary-nav { gap: clamp(.85rem, 2vw, 1.7rem); }
}
@media (max-width: 48rem) {
  .shell { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 4.15rem; }
  .wordmark { font-size: 2rem; }
  .header-latest, .header-subscribe, .search-label { display: none; }
  .search-button { width: 2.75rem; padding: 0; border-color: transparent; }
  .header-actions { gap: .28rem; }
  .navigation-bar { border-top: 0; }
  .primary-nav {
    display: flex;
    gap: 1.15rem;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .primary-nav a { padding-block: .68rem; }
  .primary-nav.is-open { flex-wrap: wrap; overflow: visible; padding-bottom: .3rem; }
  .primary-nav.is-open .mobile-subscribe { display: block; }
  .menu-button { display: inline-flex; }
  .menu-button span, .menu-button span::before, .menu-button span::after {
    width: 1.12rem;
    height: 1.5px;
    background: currentColor;
  }
  .menu-button span { position: relative; }
  .menu-button span::before, .menu-button span::after { content: ""; position: absolute; left: 0; }
  .menu-button span::before { top: -.34rem; }
  .menu-button span::after { top: .34rem; }
  .lead-image { aspect-ratio: 1.85; }
  .front-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .editor-picks { border-left: 0; border-top: 1px solid var(--line); padding: 1rem 0 0; }
  .editor-picks ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }
  .editor-picks li:nth-child(2) { border-top: none; }
  .editor-picks a { min-height: 4.95rem; }
  .editor-picks h3 { font-size: .95rem; }
  .news-stream { grid-template-columns: 1fr; gap: 1.7rem; }
  .news-sidebar { border-left: 0; border-top: 1px solid var(--line); padding: 1.1rem 0 0; }
  .latest-header { padding-bottom: .75rem; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; }
  .about { grid-template-columns: 1fr; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 30rem) {
  .shell { width: calc(100% - 2rem); }
  .lead-copy h2 { font-size: 1.7rem; }
  .editor-picks ul { grid-template-columns: 1fr; }
  .editor-picks li:nth-child(2) { border-top: 1px solid var(--line); }
  .filters button { padding: .4rem .55rem; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card h3 { font-size: 1.2rem; }
  .latest .story-card a { grid-template-columns: minmax(0, 1fr) 5.6rem; grid-template-rows: auto auto; }
  .latest .card-image { grid-row: 1 / span 2; }
  .latest .story-card p { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
