:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --body: #424245;
  --muted: #68686d;
  --line: #d2d2d7;
  --wash: #f5f5f7;
  --blue: #0066cc;
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; background: white; color: var(--ink); }
a { color: inherit; text-underline-offset: .24em; text-decoration-thickness: 1px; }
:where(a,summary):focus-visible { outline: 3px solid #0071e3; outline-offset: 3px; }
.skip { position: absolute; top: -100px; left: 12px; z-index: 20; background: white; padding: 8px; }
.skip:focus { top: 4px; }
.frame { width: min(1200px,calc(100% - clamp(40px,10vw,160px))); margin-inline: auto; }
.headbar { position: sticky; z-index: 5; top: 0; background: rgba(250,250,252,.94); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid #e7e7eb; }
.head { height: 47px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.head > a,.head nav a { display: inline-flex; align-items: center; min-height: 44px; }
.head img { width: 98px; height: auto; display: block; }
.head nav { display: flex; align-items: center; gap: clamp(18px,3vw,42px); }
.head nav a { font-size: 13px; text-decoration: none; color: var(--body); }
.head nav a:hover,.end a:hover { color: var(--blue); }
.head nav [aria-current] { color: var(--ink); font-weight: 620; }
.head .consult-link { font-size: 13px; text-decoration: none; padding: 0 14px; }
.head .consult-link span { padding: 6px 14px; border-radius: 99px; background: #ededf0; }
.hero { isolation: isolate; position: relative; overflow: hidden; background: var(--wash); }
.hero-art { position: absolute; z-index: -1; inset: 0 0 0 48%; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 57% 50%; display: block; }
.hero-art::after { position: absolute; content: ""; inset: 0; background: linear-gradient(90deg,var(--wash),rgba(245,245,247,.5) 13%,transparent 36%); }
.hero-copy { min-height: clamp(264px,22.2vw,368px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 28px; }
.category { color: var(--muted); font-size: 13px; font-weight: 570; }
h1 { font-size: clamp(30px,2.65vw,42px); line-height: 1.2; letter-spacing: -.05em; font-weight: 670; margin: 10px 0 14px; max-width: 56%; }
h1 span { display: block; }
.byline { font-size: 13px; color: var(--muted); }
.read-grid { display: grid; grid-template-columns: minmax(180px,228px) minmax(0,706px); justify-content: center; gap: clamp(42px,6vw,90px); padding-block: clamp(38px,5vw,75px); align-items: start; }
.contents { position: sticky; top: 74px; padding-top: 14px; border-top: 1px solid var(--line); }
.contents strong { font-size: 14px; }
.contents ul { list-style: none; padding: 0; margin: 10px 0 0; }
.contents a { display: inline-block; padding: 6px 0; line-height: 1.5; color: var(--muted); font-size: 14px; text-decoration: none; }
.contents a:hover { color: var(--blue); text-decoration: underline; }
article { max-width: 706px; font-size: 16px; line-height: 1.76; }
article p { color: var(--body); margin: 9px 0; }
.lead { margin: -5px 0 25px; font-size: clamp(16px,1.25vw,18px); line-height: 1.72; color: var(--ink); }
article h2 { font-size: clamp(19px,1.55vw,23px); line-height: 1.4; margin: 30px 0 8px; letter-spacing: -.03em; font-weight: 650; }
article a { color: var(--blue); }
.note { background: var(--wash); border: 1px solid #e2e2e7; border-radius: 16px; margin: 26px 0 18px; padding: 17px 21px; }
.note b { font-size: 14px; }
.note p { margin: 5px 0 0; }
.end { background: var(--wash); border-top: 1px solid #e8e8eb; padding-block: 26px; }
.end .frame,.end nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.end .frame { justify-content: space-between; }
.end span,.end a { color: var(--muted); font-size: 13px; line-height: 1.8; }
.end a { color: var(--body); }
@media(max-width:800px) {
  .read-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 30px 38px; }
  .contents { position: static; border-top: 0; border-bottom: 1px solid var(--line); padding: 0 0 12px; }
  .contents ul { display: flex; flex-wrap: wrap; gap: 2px 16px; margin-top: 4px; }
  .contents a { padding-block: 4px; }
  .head nav a:not([aria-current]) { display: none; }
}
@media(max-width:600px) {
  .head { gap: 6px; }
  .head .consult-link { padding-right: 0; padding-left: 2px; }
  .head nav { margin-left: auto; margin-right: 13px; }
  .head img { width: 86px; }
  .hero { display: flex; flex-direction: column; }
  .hero-copy { min-height: 0; padding-block: 24px 8px; }
  h1 { max-width: none; font-size: clamp(25px,6.3vw,30px); margin: 8px 0 10px; }
  h1 span { display: inline; }
  .hero-art { position: relative; z-index: auto; inset: auto; height: clamp(115px,36vw,190px); order: 1; }
  .hero-art img { object-position: center 52%; }
  .hero-art::after { background: linear-gradient(var(--wash),rgba(245,245,247,.12) 38%,transparent 75%); }
  .category,.byline { font-size: 12px; }
  article { font-size: 16px; }
}
@media(prefers-reduced-motion:reduce) { :root { scroll-behavior: auto; } }
