:root {
  color-scheme: light;
  --ink: #14233d;
  --muted: #536178;
  --blue: #2365b5;
  --blue-dark: #164b8d;
  --line: #d9e3ef;
  --paper: #fff;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
}

a { color: var(--blue-dark); }
a:hover { color: var(--blue); }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

.site-frame { min-height: 100vh; display: flex; flex-direction: column; }
.container { width: min(calc(100% - 40px), 1080px); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--line); }
.site-header .container { min-height: 72px; display: flex; align-items: center; }
.brand { color: var(--ink); font-size: 1.2rem; font-weight: 700; letter-spacing: .025em; text-decoration: none; }

.home-main { flex: 1; padding-block: clamp(72px, 12vw, 144px) 96px; }
.home-intro { max-width: 760px; }
.home-intro h1 { margin: 0 0 34px; font-size: clamp(2.8rem, 7vw, 5rem); line-height: 1.15; letter-spacing: -.04em; }
.home-statement { margin: 0; font-size: clamp(1.3rem, 2.7vw, 1.9rem); font-weight: 700; line-height: 1.7; letter-spacing: -.02em; }
.home-description { margin: 28px 0 0; color: var(--muted); font-size: 1rem; }
.article-entry { max-width: 760px; margin-top: clamp(88px, 12vw, 140px); padding-top: 26px; border-top: 1px solid var(--line); }
.article-entry h2 { margin: 0 0 14px; color: var(--muted); font-size: .82rem; font-weight: 700; letter-spacing: .08em; }
.article-link { display: inline-flex; flex-direction: column; gap: 2px; color: var(--blue-dark); font-size: clamp(1.1rem, 2.3vw, 1.4rem); font-weight: 700; line-height: 1.6; text-decoration-thickness: 1px; text-underline-offset: .25em; }

.article-main { flex: 1; padding-block: 48px 112px; }
.back-link { display: inline-block; margin-bottom: 44px; font-size: .92rem; text-underline-offset: .25em; }
.article-body { max-width: 740px; margin-inline: auto; overflow-wrap: anywhere; }
.article-body h1, .article-body h2, .article-body h3 { color: var(--ink); line-height: 1.5; letter-spacing: -.02em; }
.article-body h1 { margin: 0 0 48px; font-size: clamp(1.85rem, 4vw, 2.7rem); }
.article-body h2 { margin: 72px 0 24px; padding-top: 26px; border-top: 1px solid var(--line); font-size: clamp(1.4rem, 2.7vw, 1.8rem); }
.article-body h3 { margin: 48px 0 18px; font-size: clamp(1.12rem, 2.2vw, 1.35rem); }
.article-body p { margin: 0 0 1.5em; font-size: 1rem; line-height: 2; }
.article-body a { text-underline-offset: .2em; }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.footer-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

@media (max-width: 600px) {
  .container { width: min(calc(100% - 32px), 1080px); }
  .site-header .container { min-height: 64px; }
  .home-main { padding-block: 76px 88px; }
  .home-intro h1 { margin-bottom: 30px; }
  .home-statement br { display: none; }
  .article-entry { margin-top: 96px; }
  .article-main { padding-block: 32px 80px; }
  .back-link { margin-bottom: 32px; }
  .article-body h1 { margin-bottom: 38px; }
  .article-body h2 { margin-top: 56px; }
  .footer-inner { min-height: 72px; }
}
