:root {
  --page-bg: #f1f1f1;
  --paper: #ffffff;
  --text: #282828;
  --muted: #626262;
  --blue: #0066ff;
  --link: #0051ba;
  --orange: #a95410;
  --red: #c63524;
  --red-hover: #a52b1d;
  --line: #dddddd;
  --highlight: #ffe566;
  --soft: #f8f8f8;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: anywhere;
  -webkit-text-size-adjust: 100%;
}
::selection { color: var(--text); background: var(--highlight); }
a { color: var(--link); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--link); outline-offset: 4px; }
.site-paper { max-width: 900px; margin: 0 auto; background: var(--paper); }
.site-header { padding: 28px 50px 0; border-top: 4px solid var(--blue); }
.site-title { color: var(--orange); font-size: 23px; font-weight: 700; text-decoration: none; }
.site-description { margin: 2px 0 20px; color: var(--muted); font-size: 13px; }
.site-header nav { display: flex; gap: 26px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.site-header nav a { display: inline-flex; align-items: center; min-height: 32px; font-size: 14px; text-decoration: none; }
main { padding: 34px 50px 0; }
h1 { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.55; text-wrap: balance; }
.article-date { margin: 12px 0 24px; color: var(--muted); font-size: 12px; text-align: right; }
p { margin: 0 0 20px; }
mark { padding: 1px 2px; color: inherit; background: var(--highlight); font-weight: 700; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.action-block { margin: 28px 0 30px; text-align: center; }
.primary-link {
  display: inline-block;
  width: min(100%, 420px);
  padding: 13px 20px;
  border-radius: 4px;
  background: var(--red);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
}
.primary-link:hover { background: var(--red-hover); text-decoration: none; }
.primary-link:focus-visible { outline-color: var(--link); }
.action-note { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.contents { padding: 18px 24px; background: var(--soft); border: 1px solid var(--line); }
.contents-title { margin: 0 0 6px; font-size: 14px; font-weight: 700; }
.contents ol { margin: 0; padding-left: 1.6em; font-size: 14px; }
.contents a { display: inline-block; padding: 3px 0; }
h2 { margin: 42px 0 23px; padding: 12px 18px; background: var(--blue); color: #ffffff; font-size: 20px; font-weight: 700; line-height: 1.65; text-wrap: balance; }
h3 { margin: 30px 0 10px; font-size: 18px; font-weight: 700; line-height: 1.65; }
.offer-list { border-top: 1px solid var(--line); }
.offer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.offer-copy { min-width: 0; }
.offer h3 { margin: 0 0 6px; font-size: 18px; }
.offer p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.official-link { flex-shrink: 0; display: inline-block; padding: 9px 13px; border: 1px solid var(--link); border-radius: 3px; font-size: 13px; font-weight: 700; text-decoration: none; }
.official-link:hover { background: #eff5ff; text-decoration: none; }
.source-note { margin: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 1.85; }
.article-directory { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.article-directory li { padding: 17px 0; border-bottom: 1px solid var(--line); }
.article-directory a { display: inline-block; font-size: 16px; font-weight: 700; line-height: 1.8; }
.article-directory p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.offer-article-link { display: inline-block; margin-top: 8px; font-size: 13px; }
.breadcrumb { margin: 0 0 22px; color: var(--muted); font-size: 12px; }
.breadcrumb span { padding-left: 5px; }
.article-lead { margin-bottom: 26px; }
.forest-guides { margin: 24px 0 32px; }
.forest-image { display: block; width: 100%; max-width: 570px; height: auto; margin: 0 auto; }
.forest-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 570px; margin: 12px auto 0; gap: 12px; text-align: center; font-size: 13px; }
.forest-roles strong { display: block; color: var(--text); font-size: 16px; }
.cost-explainer { margin: 28px 0; padding: 24px; background: var(--soft); }
.chat-message { display: flex; align-items: flex-start; gap: 14px; margin: 22px 0; }
.chat-message:first-of-type { margin-top: 0; }
.chat-message:last-of-type { margin-bottom: 0; }
.chat-avatar { flex: 0 0 64px; width: 64px; text-align: center; font-size: 12px; line-height: 1.5; }
.chat-avatar img { display: block; width: 64px; height: 64px; margin-bottom: 6px; padding: 4px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); object-fit: contain; }
.chat-bubble { position: relative; max-width: calc(100% - 78px); min-width: 0; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); font-size: 15px; }
.chat-bubble::before, .chat-bubble::after { position: absolute; top: 18px; width: 0; height: 0; content: ""; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-right: 8px solid var(--line); left: -8px; }
.chat-bubble::after { left: -6px; border-right-color: var(--paper); }
.chat-bubble p { margin-bottom: 12px; }
.chat-bubble p:last-child { margin-bottom: 0; }
.chat-question { flex-direction: row-reverse; }
.chat-question .chat-bubble::before, .chat-question .chat-bubble::after { left: auto; right: -8px; border-right: 0; border-left: 8px solid var(--line); }
.chat-question .chat-bubble::after { right: -6px; border-left-color: var(--paper); }
.cost-sum { margin: 16px 0; }
.cost-sum > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cost-sum dt, .cost-sum dd { margin: 0; }
.cost-sum dd { flex-shrink: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.cost-sum .cost-total { font-weight: 700; }
.cost-total dd { font-size: 20px; }
.article-list { margin: 12px 0 24px; padding-left: 1.6em; }
.article-list li { margin-bottom: 12px; padding-left: 3px; }
.comparison-wrap { margin: 0 0 22px; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.8; table-layout: fixed; }
.comparison-table caption { margin-bottom: 10px; color: var(--muted); font-size: 13px; text-align: left; }
.comparison-table th, .comparison-table td { padding: 12px; border: 1px solid var(--line); vertical-align: top; text-align: left; }
.comparison-table th { background: var(--soft); font-weight: 700; }
.sources { margin-top: 30px; padding: 18px 20px; background: var(--soft); color: var(--muted); font-size: 12px; line-height: 1.9; }
.sources p { margin: 0 0 8px; }
.sources p:last-child { margin: 12px 0 0; }
.sources ul { margin: 0; padding-left: 1.5em; }
.sources a { display: inline-block; padding: 3px 0; }
.related-articles ul { padding-left: 1.3em; }
.related-articles li { margin-bottom: 12px; }
.back-to-list { display: inline-block; margin-top: 8px; }
details { border-bottom: 1px solid var(--line); }
summary { padding: 17px 4px; cursor: pointer; font-size: 15px; font-weight: 700; }
summary::marker { color: var(--link); }
details p { margin: 0; padding: 0 20px 20px; font-size: 14px; }
.closing { margin-top: 42px; padding: 28px 20px; background: var(--soft); text-align: center; }
.closing p { margin-bottom: 18px; font-size: 15px; }
.site-footer { margin-top: 40px; padding: 22px 30px; border-top: 1px solid var(--line); text-align: center; font-size: 12px; }
.site-footer p { margin: 10px 0 0; color: var(--muted); }
.footer-separator { padding: 0 6px; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 2; top: 8px; left: 8px; padding: 8px 16px; background: var(--paper); }

@media (max-width: 640px) {
  html { scroll-padding-top: 16px; }
  body { font-size: 15px; line-height: 1.95; }
  .site-header { padding: 21px 20px 0; }
  .site-title { font-size: 21px; }
  .site-description { margin-bottom: 16px; font-size: 12px; }
  .site-header nav { justify-content: space-between; gap: 8px; }
  .site-header nav a { font-size: 12px; }
  main { padding: 25px 20px 0; }
  h1 { font-size: 23px; line-height: 1.65; }
  .article-date { margin-bottom: 22px; font-size: 11px; }
  .desktop-break { display: none; }
  .primary-link { padding: 13px 12px; font-size: 16px; }
  .action-note { font-size: 11px; }
  .contents { padding: 16px; }
  .contents ol { font-size: 13px; }
  h2 { margin-top: 34px; padding: 12px 14px; font-size: 18px; }
  h3 { margin-top: 25px; font-size: 17px; }
  .offer { display: block; padding: 20px 0; }
  .offer p { font-size: 13px; }
  .article-directory a { font-size: 15px; }
  .article-directory p { font-size: 12px; }
  .forest-roles { gap: 6px; font-size: 12px; }
  .forest-roles strong { font-size: 15px; }
  .cost-explainer { padding: 16px 12px; }
  .chat-message { gap: 10px; }
  .chat-avatar { flex-basis: 48px; width: 48px; font-size: 11px; }
  .chat-avatar img { width: 48px; height: 48px; padding: 3px; }
  .chat-bubble { max-width: calc(100% - 58px); padding: 12px; font-size: 14px; }
  .chat-bubble .cost-sum > div { display: block; padding: 9px 0; }
  .chat-bubble .cost-sum dd { margin-top: 3px; text-align: right; }
  .comparison-table { font-size: 13px; }
  .comparison-table th, .comparison-table td { padding: 10px 9px; }
  .official-link { margin-top: 12px; }
  summary { font-size: 14px; }
  .closing { margin-top: 34px; padding: 24px 16px; }
  .closing p { font-size: 14px; }
  .site-footer { padding-inline: 20px; }
}

/* 記事、一覧、確認ページで同じサムネイルとカードを使う。 */
.site-avatar { vertical-align: middle; margin-right: .45em; border-radius: 50%; }
.site-title { display: inline-flex; align-items: center; }
.article-directory, .related-articles ul, .brand-side ul { list-style: none; padding: 0; margin: 0; }
.article-directory li, .related-articles li, .brand-side li { padding: 0; margin: 0; border-bottom: 1px solid var(--line); }
.article-directory .article-card, .related-articles .article-card, .brand-side .article-card {
  display: flex; align-items: center; gap: 16px; width: 100%; padding: 14px 0; color: var(--link); text-decoration: none;
}
.article-card:hover strong, .article-card:focus-visible strong { text-decoration: underline; text-underline-offset: 3px; }
.editorial-art { display: block; max-width: 100%; height: auto; border-radius: 5px; }
.article-card .editorial-art { width: 76px; flex: 0 0 76px; align-self: flex-start; }
.card-copy { min-width: 0; line-height: 1.57; }
.card-summary, .card-copy small { display: block; font-weight: normal; }
.card-summary { margin-top: .3em; color: var(--text); font-size: .88rem; }
.card-copy small { color: var(--muted); margin-bottom: 4px; font-size: .72rem; }
.article-toc { padding: 0 16px; margin: 14px 0; }
.article-toc summary, .sources summary { padding: 9px 0; }
.article-toc ol { padding-bottom: 12px; }
.overview { display: grid; grid-template-columns: minmax(108px, 30%) minmax(0,1fr); align-items: center; gap: 19px; margin: 20px 0 32px; }
.overview .editorial-art { width: 100%; }
.breadcrumb:has(.ad-disclosure) { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
.ad-disclosure { margin-left: auto; text-align: right; font-size: .76rem; }
.overview-offer .offer-illustration { max-width: 240px; }
.product-offer .overview-offer { margin-bottom: 0; }
@media (max-width: 640px) {
  .overview.overview-offer { grid-template-columns: 1fr; gap: 10px; }
  .overview-offer .offer-illustration { width: min(58%, 205px); margin-inline: auto; }
}
.overview p { margin: 0 0 6px; line-height: 1.65; }
.overview .primary-link, .product-offer .primary-link, .official-next .primary-link { width: auto; max-width: 100%; padding: 9px 16px; margin-top: 7px; font-size: .95rem; }
.overview .action-note, .action-note, .source-note { text-align: right; color: var(--muted); font-size: .76rem; line-height: 1.6; margin-top: 6px; }
.marker { background: var(--highlight); color: var(--text); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.arrow, .product-offer big { color: var(--red); }
.reading-column { min-width: 0; }
.article-main .chat-message { margin: 17px 0; }
.article-main .chat-question .chat-bubble { background: var(--soft); }
.article-main .chat-question .chat-bubble::after { border-left-color: var(--soft); }
.comparison-table { width: auto; max-width: 100%; table-layout: auto; font-variant-numeric: tabular-nums; }
.comparison-table [scope="col"] { background: #dcEaff; }
.comparison-table [scope="row"] { background: var(--soft); }
.section-jump { text-align: right; margin: 18px 0 0; }
.section-jump a { display: inline-block; border: 1px solid var(--line); border-radius: 4px; font-size: .85rem; padding: 6px 12px; }
.summary-box li { margin: .55em 0; }
.summary-box li:first-child { font-weight: bold; }
.sources { margin: 24px 0; }
.sources a { color: var(--muted); }
.product-offer h2 { background: #a32d24; }
.product-offer .offer-art { display: block; width: 156px; margin: 16px 0 4px; }
.product-offer .action-note, .official-next .action-note { margin-top: 9px; }
.backnav { margin-top: 30px; font-size: .88rem; }
.brand-side { border: 1px solid var(--line); padding: 14px; align-self: start; margin-top: 32px; }
.brand-side h2 { font-size: 1rem; line-height: 1.5; padding: 0 0 12px; margin: 0; background: transparent; color: var(--text); border-bottom: 2px solid var(--blue); }
.brand-side .article-card { gap: 8px; font-size: .85rem; }
.brand-side .editorial-art { flex-basis: 46px; width: 46px; }
.review-main > h1 + p { margin: 12px 0 22px; }
@media (min-width: 1000px) {
  .site-paper:has(.with-sidebar) { max-width: 1140px; }
  .with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 40px; }
  .brand-side { margin-top: 0; }
}
@media (max-width: 640px) {
  .article-directory .article-card { gap: 10px; }
  .article-card .editorial-art { width: 60px; flex-basis: 60px; }
  .overview { grid-template-columns: 88px minmax(0,1fr); gap: 12px; align-items: start; }
  .overview .primary-link { font-size: .82rem; }
  .overview p { font-size: .9rem; }
  .overview .action-note { font-size: .7rem; }
  .comparison-table th, .comparison-table td { padding: 8px 7px; }
}
