:root {
  color-scheme: light;
  --ink: #17332e;
  --muted: #4e625b;
  --paper: #fafbf9;
  --line: #cedbd4;
  --green: #185849;
  --pale: #e8f1ed;
  font-family: system-ui, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; line-height: 1.85; overflow-wrap: anywhere; }
a { color: var(--green); text-underline-offset: 0.23em; }
a:hover { text-decoration-thickness: 0.13em; }
:focus-visible { outline: 3px solid #a6491d; outline-offset: 4px; }
p, dl { margin: 0 0 1.15rem; }
h1, h2, h3 { margin: 0 0 0.9rem; line-height: 1.45; }
h1 { font-size: clamp(1.8rem, 4.5vw, 3.15rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h3 { font-size: 1.14rem; }
.wrap { width: min(69rem, calc(100% - 2.5rem)); margin-inline: auto; }
.header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner, .footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.45rem 1.5rem; flex-wrap: wrap; padding-block: 1rem;
}
.brand { color: var(--ink); font-weight: 750; text-decoration: none; }
.header nav { display: flex; flex-wrap: wrap; column-gap: 1rem; font-size: 0.92rem; }
.header nav a { display: inline-block; padding-block: 0.25rem; }
.skip { position: absolute; top: -5rem; left: 1rem; background: #fff; padding: 0.5rem; }
.skip:focus { top: 0.25rem; z-index: 1; }
.home-intro { max-width: 43rem; padding-block: clamp(2.5rem, 8vw, 6rem) 1.8rem; }
.home-intro p { font-size: 1.08rem; color: var(--muted); }
.feature {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 1.1rem;
}
.feature-image { padding: 0.75rem; }
.feature-text { padding: clamp(1rem, 3vw, 2.3rem); }
.feature-text h2 a { color: var(--ink); }
.hero-image { display: block; width: 100%; height: auto; border-radius: 0.75rem; }
.article, .info { max-width: 48rem; margin-inline: auto; padding-top: clamp(2rem, 6vw, 4.5rem); }
.article-header .hero-image { margin: 0.9rem 0 1.2rem; }
.meta { font-size: 0.9rem; color: var(--muted); }
.disclosure {
  background: var(--pale); border-left: 0.2rem solid var(--green);
  padding: 0.55rem 0.8rem; font-size: 0.94rem;
}
.lead { font-size: 1.09rem; }

.article section { margin-top: 3.4rem; scroll-margin-top: 1rem; }
.article section > h3 { margin-top: 1.6rem; }
.table-box { overflow-x: auto; margin-block: 1.2rem; border: 1px solid var(--line); border-radius: 0.6rem; background: #fff; }
table { width: 100%; border-collapse: collapse; }
caption { padding: 0.65rem 0.8rem; text-align: left; color: var(--muted); font-size: 0.92rem; }
th, td { text-align: left; padding: 0.55rem 0.75rem; border-top: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--pale); }
tbody th { font-weight: 600; }
.purchase { padding: 1.2rem; border: 1px solid var(--line); background: var(--pale); border-radius: 0.75rem; }

dt { font-weight: 700; }
dd { margin: 0 0 0.9rem; }
.sources { padding-inline-start: 1.5rem; }
.footer { margin-top: 4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }

@media (max-width: 42rem) {
  .feature { grid-template-columns: 1fr; }
  .feature-text { padding-top: 0.25rem; }
  th, td { padding: 0.42rem; font-size: 0.9rem; }
}

.article { padding-top: clamp(1rem, 4vw, 3rem); }
.article p { margin-bottom: 0.9rem; }
.article-header .meta, .article-header .disclosure { margin-bottom: 0.65rem; }
.article-header h1 { font-size: clamp(1.5rem, 4vw, 2.9rem); }
.article h2 { border-inline-start: 0.3rem solid var(--green); padding-inline-start: 0.75rem; }
.article mark { color: inherit; background: #f6ebbc; padding: 0.04em 0.14em; }
.box-title { font-weight: 750; }
.quick-answer, .reader-note, .notice, .process-figure {
  padding: 0.95rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
}
.quick-answer { background: var(--pale); border-inline-start: 0.3rem solid var(--green); }
.quick-answer ul, .reader-note ul { margin-block: 0; padding-inline-start: 1.35rem; }
.quick-answer .box-title, .reader-note .box-title, .notice .box-title { margin-bottom: 0.35rem; }
.reader-note { background: #fff; margin-block: 1.6rem; }
.reader-note > :last-child, .notice > :last-child { margin-bottom: 0; }
.checklist li + li, .choice-list li + li, .buy-steps li + li { margin-top: 0.35rem; }
.checklist + p { margin-top: 0.85rem; }
.notice { background: #fff8e9; border-color: #e1cfa9; }
.notice a { white-space: nowrap; }
.refund { font-size: 0.94rem; }
.purchase-block { margin-block: 1rem 1.55rem; }
.purchase-plan { color: var(--muted); font-size: 0.92rem; }
.article .ad-label { margin: 0 0 0.2rem; font-weight: 700; color: var(--green); }
.actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
.actions > div { display: grid; align-content: end; gap: 0.45rem; }
.article .actions p { margin: 0; font-size: 0.9rem; }
.actions strong { white-space: nowrap; }
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0.55rem;
  border: 2px solid var(--green);
  border-radius: 0.45rem;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.4;
}
.button:hover { text-decoration: underline; }
.button-blog { background: #fff; color: var(--green); }
.button-media { background: var(--green); color: #fff; }
.toc { padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: 0.65rem; background: #fff; }
.toc ol { margin: 0; padding-inline-start: 1.6rem; }
.toc li + li { border-top: 1px solid var(--line); }
.toc a { display: flex; align-items: center; min-height: 44px; padding-block: 0.4rem; }
.wide-table { margin-block-start: 0.35rem; scroll-margin-top: 1rem; }
.wide-table table { min-width: 28rem; }
.wide-table td { white-space: nowrap; }
.wide-table small { display: block; font-weight: 400; }
.article .table-hint { margin-bottom: 0.25rem; }
.article-figure, .process-figure { margin: 1.4rem 0; }
.article-figure img { display: block; width: min(100%, 33rem); height: auto; margin-inline: auto; border-radius: 0.7rem; }
.article-figure figcaption { text-align: center; margin-top: 0.45rem; font-size: 0.9rem; color: var(--muted); }
.process-figure { background: #fff; }
.process-figure figcaption { font-weight: 700; margin-bottom: 0.6rem; }
.process-cards, .process-steps { display: grid; gap: 0.5rem; }
.process-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.article .process-cards p, .process-steps li { margin: 0; background: var(--pale); padding: 0.55rem 0.65rem; border-radius: 0.4rem; }
.process-cards strong, .process-cards span { display: block; }
.process-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style-position: inside; }
.faq-list dt { padding-top: 0.8rem; border-top: 1px solid var(--line); }
.faq-list dd { margin-top: 0.35rem; }

@media (max-width: 42rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { padding-block: 0.6rem; }
  .actions, .process-steps { grid-template-columns: 1fr; }
  .purchase { padding: 0.9rem; }
  .actions { gap: 1rem; }
}
