:root {
  color-scheme: light;
  --paper: #fafaf6;
  --white: #fff;
  --ink: #182820;
  --muted: #46534b;
  --accent: #285c42;
  --line: #d3dbd2;
  --tint: #eaf2ea;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.65;
  background: var(--paper);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: .23em; }
a:hover { text-decoration-thickness: .13em; }
:focus-visible { outline: 3px solid #3f7653; outline-offset: 4px; }
h1, h2, h3, p, ol, dl, dd, figure { margin: 0; }
img { display: block; max-width: 100%; }
.wrap { width: min(calc(100% - 64px), 1088px); margin-inline: auto; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 1; background: var(--white); padding: 8px 12px; transform: translateY(-180%); }
.skip:focus { transform: none; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; gap: 9px; align-items: center; color: var(--ink); font-size: 17px; font-weight: 780; text-decoration: none; }
.brand img { flex: none; }
.header-inner nav { display: flex; gap: 26px; flex-wrap: wrap; }
.header-inner nav a { font-weight: 650; font-size: 15px; text-decoration: none; }
.header-inner nav a:hover { text-decoration: underline; }
.article-header { padding: 45px 0 28px; }
.eyebrow { color: var(--accent); font-size: 15px; font-weight: 750; margin-bottom: 8px; }
h1, .article-body h2 { font-family: Georgia, "Times New Roman", serif; line-height: 1.12; font-weight: 700; }
h1 { font-size: 62px; text-wrap: balance; }
h1 span { white-space: nowrap; }
.lede { margin-top: 15px; max-width: 60ch; color: var(--muted); font-size: 21px; line-height: 1.52; }
.classroom { overflow: hidden; border-radius: 8px; border: 1px solid var(--line); background: var(--tint); }
.classroom img { width: 100%; height: auto; aspect-ratio: 2.7; object-fit: cover; object-position: center 37%; }
.guide-layout { display: grid; grid-template-columns: minmax(190px, 230px) minmax(0, 668px); gap: 58px; padding-block: 30px 65px; }
.contents { padding-top: 10px; }
.contents nav { display: grid; gap: 8px; border-left: 2px solid #b3c8b8; padding-inline-start: 16px; }
.contents h2 { font-size: 15px; margin-bottom: 2px; }
.contents a { width: fit-content; font-size: 15px; }
.article-body { min-width: 0; font-size: 17px; }
.article-body section { scroll-margin-top: 20px; }
.article-body section + section { margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--line); }
.article-body h2 { font-size: 35px; margin-bottom: 12px; }
.article-body h3 { line-height: 1.35; font-size: 19px; margin-bottom: 4px; }
.article-body p, .article-body dd { color: var(--muted); }
.steps { list-style: none; counter-reset: steps; display: grid; gap: 17px; margin-top: 22px; padding: 0; }
.steps li { counter-increment: steps; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
.steps li::before { content: counter(steps); display: grid; place-items: center; width: 36px; height: 36px; color: var(--accent); background: var(--tint); border-radius: 50%; font-weight: 750; }
.prompt-list, .setting-list { display: grid; gap: 10px; }
.prompt-list > div, .setting-list > div { display: grid; grid-template-columns: 106px minmax(0, 1fr); gap: 14px; }
.prompt-list dt, .setting-list dt, .faq dt { color: var(--ink); font-weight: 750; }
.teaching-note { border-left: 3px solid var(--accent); background: var(--tint); padding: 16px 19px; margin-top: 22px; }
.faq dt { margin-top: 14px; }
.faq dd { margin-top: 3px; }
.site-footer { border-top: 1px solid var(--line); background: var(--white); }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; padding-block: 18px; font-size: 15px; font-weight: 650; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 64px; }
  .header-inner nav { gap: 12px; }
  .brand img { width: 30px; height: 30px; }
  .article-header { padding-block: 28px 20px; }
  h1 { font-size: 45px; }
  .lede { font-size: 19px; margin-top: 11px; }
  .classroom img { aspect-ratio: 1.65; object-position: center; }
  .guide-layout { grid-template-columns: 1fr; gap: 23px; padding-block: 18px 45px; }
  .contents { padding-top: 0; }
  .contents nav { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 15px; row-gap: 4px; }
  .contents h2 { width: 100%; }
  .article-body h2 { font-size: 30px; }
}
@media (max-width: 420px) {
  .header-inner { display: grid; align-content: center; min-height: 78px; gap: 2px; padding-block: 6px; }
  .header-inner nav { margin-inline-start: 39px; }
  h1 { font-size: 39px; }
  .prompt-list > div, .setting-list > div { grid-template-columns: 1fr; gap: 0; }
}
@media print {
  :root, .site-header, .site-footer { background: white; color: black; }
  .wrap { width: 100%; }
  .header-inner nav, .contents, .classroom, .skip, .site-footer { display: none; }
  .header-inner { min-height: auto; padding-block: .3cm; }
  .article-header { padding: .4cm 0; }
  h1 { font-size: 28pt; }
  .lede { font-size: 12pt; }
  .guide-layout { display: block; padding: 0; }
  .article-body { font-size: 11pt; }
  .article-body h2 { font-size: 19pt; }
  .article-body h2, .article-body h3, .faq dt { break-after: avoid-page; }
  .steps li, .teaching-note { break-inside: avoid; }
  .article-body section + section { margin-top: 20px; padding-top: 14px; }
}
