:root {
  color-scheme: light;
  --paper: #faf9f6;
  --ink: #171d2b;
  --muted: #4d5666;
  --accent: #2448a1;
  --soft: #efeeea;
  --measure: min(1280px, calc(100% - 112px));
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 Inter, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box }
body { margin: 0; min-width: 0 }
a { color: inherit; text-decoration: none }
button, input { font: inherit; color: inherit }
button { border: 0; cursor: pointer }
img { display: block; width: 100%; height: 100%; object-fit: cover }
[hidden] { display: none !important }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px }
.news-skip { position: absolute; top: 8px; left: 8px; transform: translateY(-200%); z-index: 4; background: #fff; padding: 8px 14px }
.news-skip:focus { transform: none }
.news-header { border-bottom: 1px solid #e5e3df }
.news-top, main, .news-footer { width: var(--measure); margin: auto }
.news-top { min-height: 78px; display: flex; align-items: center; gap: clamp(18px,4vw,55px) }
.news-brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; flex: none; font-size: 23px; letter-spacing: -.06em; font-weight: 690 }
.news-brand b { color: var(--accent); font-weight: inherit }
.news-brand img { width: 26px; height: 26px; border-radius: 7px }
.news-top nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 36px) }
.news-top nav a, .feed-link, .search-link { font-size: .875rem; font-weight: 620; white-space: nowrap }
.news-top nav a:hover, .news-top nav a[aria-current=true], .article-back:hover { color: var(--accent) }
.news-top-actions { flex: 1; min-width: 0; display: flex; justify-content: flex-end; align-items: center; gap: 12px }
.feed-link, .search-link { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 7px; background: var(--soft) }
.feed-link:hover, .search-link:hover, .news-command button:hover { background: #e6e5e0 }
.news-command { width: 134px; max-width: 100%; height: 42px; flex: 0 1 134px; flex-basis: auto; border-radius: 7px; overflow: hidden; background: var(--soft) }
.news-command:focus-within { box-shadow: inset 0 0 0 2px var(--accent) }
.news-command button, .news-command form { display: flex; align-items: center; gap: 6px; width: 100%; height: 100%; padding: 0 11px; background: transparent; white-space: nowrap; font-size: .875rem }
.news-command input { border: 0; outline: none; min-width: 0; width: 100%; background: transparent }
.news-command kbd { font: 11px/1.2 system-ui; padding: 4px; color: var(--muted); background: #fff; border-radius: 4px }
.news-command button kbd:first-of-type { margin-left: auto }
.search-icon { display: block; flex: none; position: relative; width: 13px; height: 13px; margin: 0 4px 3px 0; border: 1.7px solid currentColor; border-radius: 50% }
.search-icon::after { position: absolute; content: ""; background: currentColor; width: 6px; height: 1.6px; rotate: 45deg; right: -4.6px; bottom: -2.1px }

.news-feature { margin-top: clamp(22px, 3vw, 42px) }
#news-title { margin: 0 0 14px; font-size: .94rem; font-weight: 650; color: var(--muted); letter-spacing: .045em }
.news-window { overflow: hidden; border-radius: 20px }
.news-strip { display: flex }
.news-slide { flex: 0 0 100%; min-width: 0; min-height: clamp(390px, 40vw, 520px); display: grid; grid-template-columns: 1.6fr 1fr; background: #e2e9fa }
.news-slide[data-story=patchwork] { background: #f6e8cb }
.news-slide[data-story=press-news] { background: #e9e8ef }
.feature-cover { min-width: 0; display: block; position: relative; background: #dfe5f1 }
.feature-cover img { position: absolute; inset: 0 }
.feature-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: clamp(22px, 4.1vw, 62px) }
.kicker { display: block; font-size: .855rem; font-weight: 690; color: var(--accent) }
.feature-copy h2 { margin: 17px 0 0; font-size: clamp(27px, 3.2vw, 46px); line-height: 1.28; letter-spacing: -.055em; font-weight: 730; text-wrap: balance }
.feature-copy p { margin: 18px 0 24px; color: #36435c; text-wrap: pretty }
.feature-link, .news-magnet { display: inline-flex; align-items: center; min-height: 44px; border-radius: 8px; padding: 8px 18px; background: #fff8; color: #143378; font-size: .875rem; font-weight: 680 }
.feature-link:hover { background: #fff }
.feature-controls { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 14px 0 0 }
.feature-controls > button { width: 36px; height: 36px; display: grid; place-items: center; background: var(--soft); border-radius: 50% }
.feature-controls > button:hover:not(:disabled) { background: #e3e6ee }
.feature-controls > button:disabled { opacity: .45; cursor: default }
.feature-controls > button > i { display: block; width: 7px; height: 7px; border-top: 1.5px solid; border-right: 1.5px solid; transform: rotate(45deg); margin-right: 3px }
.feature-controls > button[data-slide-step="-1"] > i { transform: rotate(225deg); margin-right: 0; margin-left: 3px }
.news-dots { position: relative; display: flex; align-items: center; gap: 2px; height: 36px }
.news-dots button { width: 29px; height: 34px; padding: 0; background: transparent; display: grid; place-items: center }
.news-dots button::after, .news-dots i { content: ""; width: 7px; height: 7px; border-radius: 999px; background: #c2c5cc }
.news-dots i { position: absolute; left: 0; top: 14.5px; background: var(--accent); pointer-events: none }

.news-list { margin-top: clamp(44px, 5.6vw, 84px); padding-bottom: 76px; scroll-margin-top: 24px }
.news-list-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 13px; margin-bottom: 22px }
.news-list-header h2 { margin: 0; font-size: clamp(24px, 2.65vw, 37px); letter-spacing: -.055em; line-height: 1.3 }
.news-list-header nav { display: flex; flex-wrap: wrap; gap: 5px }
.news-list-header nav a { border-radius: 7px; padding: 6px 11px; font-size: .875rem; font-weight: 630; color: #404656 }
.news-list-header nav a:hover { background: var(--soft) }
.news-list-header nav a[aria-current=true] { background: #e3e9fa; color: #1d3e8d }
.news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 34px 23px }
.news-card { min-width: 0 }
.news-card a { display: block; border-radius: 14px }
.news-card-cover { aspect-ratio: 2/1; background: #e8e9e9; overflow: hidden; border-radius: 15px }
.news-card img { transition: transform .32s ease }
.news-card a:hover img { transform: scale(1.035) }
.news-card a:hover h3, .feature-copy h2 a:hover { color: var(--accent) }
.news-card-copy { padding: 13px 3px 0 }
.news-card-copy h3 { margin: 3px 0 6px; font-size: clamp(19px,1.85vw,26px); line-height: 1.23; letter-spacing: -.035em }
.news-card-copy p { margin: 0; font-size: .94rem; line-height: 1.55; color: var(--muted) }

.news-article { max-width: 1020px; padding: clamp(34px,5vw,66px) 0 75px }
.article-heading { max-width: 790px; margin: 0 auto 26px }
.article-back { display: inline-flex; color: var(--muted); font-size: .875rem; font-weight: 610; margin-bottom: 22px; text-decoration: underline; text-underline-offset: .27em }
.article-heading h1 { margin: 7px 0 8px; font-size: clamp(34px,5.4vw,67px); letter-spacing: -.06em; font-weight: 740; line-height: 1.18; text-wrap: balance }
.article-date { margin:12px 0 0;color:var(--ink);font-size:.9rem;font-variant-numeric:tabular-nums }
.article-lead { font-size:clamp(16px,1.75vw,21px);color:var(--ink);text-wrap:pretty }
.news-article-cover { aspect-ratio: 2/1; overflow: hidden; border-radius: 20px; background: #e7e9ee }
.article-body { max-width: 790px; margin: 22px auto 0 }
.article-body p,.article-body li { max-width:44em;line-height:1.9 }
.article-body p { margin:14px 0 }
.article-body section { margin-block:32px }
.article-body h2 { font-size:clamp(20px,2.4vw,25px);line-height:1.4;margin:0 0 10px }
.article-body ul { margin:0;padding-inline-start:1.35em }
.article-body li+li { margin-block-start:8px }
.article-body .feature-link { background: var(--soft); margin-top: 10px }
.magnetic-field { width: 204px; max-width: 100%; min-height: 70px; display: grid; place-items: center start; padding: 0 14px 0 0; margin-top: 15px }
.news-magnet { background: var(--accent); color: #fff; padding: 10px 23px; min-height: 46px }
.news-magnet:hover { background: #1c3984 }
.news-magnet span { display: block; pointer-events: none }
.news-magnet[aria-busy=true] { cursor: progress }
.open-status { display: block; color: var(--muted); font-size: .875rem }
.news-footer { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid #e5e3df }
.news-footer > div { display: flex; flex-wrap: wrap; gap: 18px; font-size: .875rem; color: var(--muted) }
.news-footer .news-brand { font-size: 19px }

@media (max-width: 1050px) {
  :root { --measure: calc(100% - 64px) }
  .news-top { gap: 20px }
  .news-top nav { gap: 16px }
}
@media (max-width: 780px) {
  :root { --measure: calc(100% - 36px) }
  .news-top { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 6px 12px; min-height: 0; padding: 12px 0 10px }
  .news-top nav { grid-column: 1/-1; grid-row: 2; padding: 2px 0; flex-wrap: wrap }
  .news-top-actions { grid-column: 2; grid-row: 1; gap: 7px }
  .news-slide { grid-template-columns: 1fr; grid-template-rows: auto 1fr }
  .feature-cover { aspect-ratio: 1.77; }
  .feature-copy { padding: 23px 23px 26px }
  .feature-copy h2 { margin-top: 7px }
  .feature-copy p { margin: 9px 0 15px }
  .news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px 13px }
}
@media (max-width: 435px) {
  .news-top-actions { gap: 4px }
  .news-command { max-width: 140px }
  .news-command button { justify-content: center }
  .news-command kbd { display: none }
  .feed-link, .search-link { padding-inline: 8px }
  .news-brand { font-size: 20px; gap: 6px }
  .news-brand img { width: 23px; height: 23px }
  .news-card-copy p { font-size: .875rem }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { transition: none !important } }
