:root {
  --bg: #f5f8f4;
  --card: #fff;
  --ink: #18392f;
  --sub: #415b50;
  --line: #c8d9cf;
  --main: #175c49;
  --main-weak: #e2f1e8;
  --warn: #804224;
  --warn-weak: #fff0df;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Sans", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
a { color: var(--main); text-underline-offset: .23em; }
:focus-visible { outline: 3px solid #287461; outline-offset: 3px; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.35; text-wrap: pretty; }
h1 { font-size: clamp(28px, 4.3vw, 48px); letter-spacing: -.035em; margin: 0 0 16px; font-weight: 850; }
h2 { font-size: clamp(22px, 2.6vw, 32px); margin: 0 0 16px; }
h3 { font-size: 19px; margin: 20px 0 6px; }
p { margin: 0 0 12px; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }
ul, ol { padding-inline-start: 1.5em; }
li + li { margin-top: 5px; }
.wrap, .site-inner { max-width: 1120px; width: calc(100% - 2 * clamp(16px, 4vw, 44px)); margin-inline: auto; }
.wrap { padding: 34px 0 58px; }
.reading { max-width: 900px; }
.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.site-header .site-inner, .site-footer .site-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 22px;
  padding-block: 10px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; color: inherit; font-weight: 850; text-decoration: none; }
.brand img { flex: 0 0 auto; }
.site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.site-header nav a, .site-footer nav a { color: inherit; font-weight: 650; }
.site-header nav .nav-consult { color: #fff; min-height: 44px; padding: 8px 12px; }
.site-footer { color: #f1f8f1; background: #153e32; }
.site-footer .site-inner { flex-wrap: wrap; padding-block: 26px; }
.site-footer .brand { color: #fff; }
.site-footer p { width: 100%; color: #e0eee6; }
.breadcrumbs { margin: 0 0 18px; color: var(--sub); }
.card { margin: 24px 0; padding: clamp(16px, 3.5vw, 36px); background: var(--card); border: 1px solid var(--line); border-radius: 18px; min-width: 0; }
.note { color: var(--sub); }
.scroll { max-width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
caption { padding: 0 0 10px; text-align: left; font-weight: 750; }
td, th { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
thead th { background: var(--main-weak); }
tbody th { font-weight: 650; }
tbody tr:nth-child(even) { background: #f5f9f5; }
.wide th, .wide td { white-space: nowrap; }
.numbers td, .r { text-align: right; white-space: nowrap; }
.d { white-space: nowrap; }
.neg { color: var(--warn); font-weight: 750; }
.btn, button {
  display: inline-block; padding: 12px 18px; border-radius: 10px; border: 1px solid transparent;
  background: var(--main); color: #fff; font: inherit; font-weight: 750; text-align: center;
  text-decoration: none; cursor: pointer;
}
.btn:hover, button:hover { background: #124b3b; }
.btn-sub { color: var(--ink); background: var(--main-weak); border-color: var(--line); }
.btn-sub:hover { background: #d5eade; }
.page-intro {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 22px; align-items: center;
  padding: clamp(16px, 4vw, 36px); background: var(--main-weak); border-radius: 24px; border: 1px solid var(--line);
}
.page-intro h1 { font-size: clamp(27px, 4vw, 41px); }
.page-intro p { max-width: 60ch; }
.page-intro img { width: clamp(65px, 13vw, 116px); height: auto; grid-area: 1 / 2; }
.page-intro > div { grid-area: 1 / 1; }
.guide-list { list-style: none; padding: 0; }
.guide-list li + li { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
.guide-list a { font-weight: 750; }
.guide-list p { margin-top: 4px; }
.article-toc { padding: 18px 0 18px clamp(14px, 3vw, 26px); margin-top: 28px; border-left: 4px solid var(--main); }
.article-toc h2 { font-size: 21px; }
.article-cta { background: var(--main-weak); }
@media (max-width: 600px) {
  .wrap { padding-top: 20px; }
  .site-header .site-inner { flex-wrap: wrap; }
  .site-header nav, .site-footer nav { column-gap: 12px; }
  .page-intro { display: block; }
  .page-intro img { float: right; margin: 0 0 6px 10px; }
  .page-intro::after { content: ""; display: block; clear: both; }
}
@media print {
  body { background: #fff; }
  .no-print, .site-header, .site-footer { display: none !important; }
  .card { border-color: #ccc; }
  .scroll { overflow: visible; }
}

.article-answer { margin-top: .75rem; padding: .85rem 1rem; background: #f4f8f4; border-left: 3px solid #54745a; border-radius: 6px; }
.article-answer p { margin: 0; }
