:root {
  --ink: #1f2a37;
  --ink-soft: #4b5867;
  --muted: #7a8694;
  --line: #e4e8ee;
  --bg: #f6f7f9;
  --card: #ffffff;
  --brand: #1f6f5c;
  --brand-deep: #155445;
  --brand-tint: #e8f3ef;
  --accent: #f0a430;
  --amazon: #ff9900;
  --amazon-deep: #e88a00;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 30, 45, .06), 0 6px 18px rgba(20, 30, 45, .06);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: .02em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.sp { display: none; }

/* ヘッダー */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 18px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text b { font-size: 19px; font-weight: 900; letter-spacing: .06em; }
.logo-text small { font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.gnav { display: flex; gap: 4px; }
.gnav a { text-decoration: none; color: var(--ink-soft); font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.gnav a:hover { background: var(--brand-tint); color: var(--brand-deep); }

/* ヒーロー */
.hero { background: linear-gradient(135deg, #1f6f5c 0%, #2c8a72 55%, #3d9e84 100%); color: #fff; }
.hero-inner { padding: 56px 20px 60px; }
.hero-kicker { margin: 0 0 8px; font-size: 13px; letter-spacing: .2em; opacity: .85; }
.hero h1 { margin: 0 0 14px; font-size: 40px; font-weight: 900; line-height: 1.3; letter-spacing: .04em; }
.hero-lead { margin: 0 0 24px; font-size: 15px; opacity: .92; }
.hero-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-cats a {
  color: #fff; text-decoration: none; font-size: 14px; font-weight: 500;
  border: 1px solid rgba(255,255,255,.55); border-radius: 999px; padding: 7px 16px;
}
.hero-cats a:hover { background: #fff; color: var(--brand-deep); }

/* 記事カード */
.cat-section { margin: 44px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.section-title { font-size: 22px; font-weight: 900; margin: 0; padding-left: 12px; border-left: 5px solid var(--brand); line-height: 1.3; }
.more { font-size: 14px; text-decoration: none; font-weight: 500; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  text-decoration: none; color: var(--ink); display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(20,30,45,.08), 0 12px 28px rgba(20,30,45,.12); }
.card-img { position: relative; aspect-ratio: 1200 / 630; overflow: hidden; background: #dde3ea; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-cat {
  position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.94); color: var(--brand-deep);
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.55; font-weight: 700; }
.card-body p { margin: 0 0 12px; font-size: 13px; color: var(--muted); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { margin-top: auto; font-size: 12px; font-weight: 700; color: var(--brand); }

/* パンくず・カテゴリ */
.crumbs { font-size: 13px; color: var(--muted); margin: 20px 0 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.cat-hero { background: #fff; border-radius: var(--radius); padding: 28px; margin-bottom: 24px; box-shadow: var(--shadow); }
.cat-hero h1 { margin: 0 0 6px; font-size: 28px; }
.cat-hero p { margin: 0; color: var(--ink-soft); }

/* 記事 */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; padding-top: 4px; }
.article { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 40px 40px; margin-bottom: 40px; }
.article .crumbs { margin-top: 20px; }
.article-cat { display: inline-block; margin: 6px 0 0; font-size: 13px; font-weight: 700; color: var(--brand-deep); background: var(--brand-tint); padding: 2px 12px; border-radius: 999px; }
.article h1 { font-size: 30px; line-height: 1.45; margin: 12px 0 8px; font-weight: 900; }
.article-date { margin: 0; font-size: 13px; color: var(--muted); }
.disclosure { font-size: 12px; color: var(--muted); background: var(--bg); border-radius: 8px; padding: 8px 12px; margin: 14px 0; }
.eyecatch { margin: 18px 0 24px; border-radius: 12px; overflow: hidden; }

.summary-box { border: 2px solid var(--brand); border-radius: 12px; padding: 16px 20px; margin: 0 0 20px; background: #fbfdfc; }
.summary-title { margin: 0 0 8px; font-weight: 900; color: var(--brand-deep); }
.summary-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.summary-list a { text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 500; display: flex; gap: 8px; align-items: baseline; }
.summary-list span { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; display: grid; place-items: center; }
.summary-list a:hover { color: var(--brand); }

.criteria { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.conclusion { background: #fff8ec; border: 2px solid var(--accent); border-radius: 12px; padding: 16px 20px 6px; margin: 0 0 20px; scroll-margin-top: 80px; }
.conclusion-title { margin: 0 0 8px; font-weight: 900; color: #a4620a; }
.conclusion p { font-size: 15px; margin: 0 0 10px; }
.conclusion .text-amazon { color: #b35c00; }
.scene { margin: 8px 0 28px; border-radius: 12px; overflow: hidden; }
.btn-table { display: inline-block; background: var(--amazon); color: #fff; font-weight: 700; font-size: 13px; text-decoration: none; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.btn-table:hover { background: var(--amazon-deep); }
.sticky-cta { display: none; }
.toc { background: var(--bg); border-radius: 12px; padding: 14px 20px; margin: 0 0 28px; }
.toc summary { font-weight: 900; cursor: pointer; }
.toc ol { margin: 10px 0 0; padding-left: 1.4em; font-size: 14px; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--brand); }

.content h2 {
  font-size: 22px; line-height: 1.5; margin: 48px 0 18px; padding: 12px 16px;
  background: var(--brand-tint); border-left: 6px solid var(--brand); border-radius: 6px; scroll-margin-top: 80px;
}
.content h3 { font-size: 18px; }
.content p { margin: 0 0 1.2em; }
.content strong { background: linear-gradient(transparent 62%, #fde7b8 62%); }
.content ul, .content ol { padding-left: 1.4em; }
.content li { margin-bottom: .4em; }
.note { font-size: 13px; color: var(--muted); }

.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border-radius: 10px; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 14px; line-height: 1.6; }
.table-wrap th { background: var(--brand); color: #fff; font-weight: 700; text-align: left; padding: 10px 12px; white-space: nowrap; }
.table-wrap td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.table-wrap tr:nth-child(even) td { background: #f8faf9; }
.table-wrap td:first-child { font-weight: 700; }

.product { border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px 22px; margin: 0 0 22px; box-shadow: var(--shadow); scroll-margin-top: 80px; }
.product-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.product-no { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 900; display: grid; place-items: center; }
.product h3 { margin: 0; font-size: 18px; line-height: 1.45; }
.product p { font-size: 15px; }
.product strong { background: none; }
.btn-amazon {
  display: block; text-align: center; text-decoration: none; font-weight: 700; color: #fff;
  background: var(--amazon); border-radius: 999px; padding: 13px 20px; margin-top: 6px;
  box-shadow: 0 3px 0 var(--amazon-deep);
}
.btn-amazon:hover { background: var(--amazon-deep); }
.btns { display: grid; gap: 10px; margin-top: 6px; }
.text-amazon { font-weight: 700; }

/* サイドバー */
.sidebar { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 16px; }
.side-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; }
.side-title { margin: 0 0 8px; font-weight: 900; font-size: 15px; }
.side-toc { margin: 0; padding-left: 1.3em; font-size: 13px; line-height: 1.7; }
.side-toc a, .side-cats a { color: var(--ink-soft); text-decoration: none; }
.side-toc a:hover, .side-cats a:hover { color: var(--brand); }
.side-cats { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.side-cats li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.side-cats li:last-child { border-bottom: 0; }

.related { margin-bottom: 48px; }
.related .section-title { margin-bottom: 16px; }
.page { margin-top: 28px; }
.page h1 { margin-top: 24px; }

/* フッター */
.site-footer { background: #1f2a37; color: #c7ced8; padding: 36px 0 28px; font-size: 13px; }
.footer-cats, .footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
.site-footer a { color: #e7ecf2; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-disclosure { margin: 16px 0 4px; color: #9aa6b4; }
.copy { margin: 0; color: #9aa6b4; }

/* スマホ */
@media (max-width: 900px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .sp { display: inline; }
  .pc { display: none; }
  .wrap { padding: 0 14px; }
  .header-inner { flex-wrap: wrap; gap: 0; min-height: 0; padding-top: 10px; }
  .gnav { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding: 6px 0 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .gnav::-webkit-scrollbar { display: none; }
  .gnav a { white-space: nowrap; background: var(--bg); font-size: 13px; padding: 5px 12px; }
  .sticky-cta {
    display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; text-align: center;
    background: var(--amazon); color: #fff; font-weight: 700; text-decoration: none; padding: 12px; border-radius: 999px;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
    opacity: 0; pointer-events: none; transform: translateY(20px); transition: opacity .2s, transform .2s;
  }
  .sticky-cta.show { opacity: 1; pointer-events: auto; transform: none; }
  .cta-space { padding-bottom: 84px; }
  .hero-inner { padding: 36px 14px 40px; }
  .hero h1 { font-size: 30px; }
  .hero-lead { font-size: 14px; }
  .grid { grid-template-columns: 1fr; }
  .card { flex-direction: row; }
  .card-img { flex: none; width: 42%; aspect-ratio: auto; min-height: 110px; }
  .card-cat { font-size: 10px; left: 6px; top: 6px; padding: 2px 7px; }
  .card-body { padding: 10px 12px; }
  .card-body h3 { font-size: 14px; margin-bottom: 4px; }
  .card-body p { display: none; }
  .article { padding: 4px 16px 28px; border-radius: 0; margin: 0 -14px 28px; box-shadow: none; }
  .article h1 { font-size: 23px; }
  .summary-list { grid-template-columns: 1fr; }
  .content h2 { font-size: 19px; margin-top: 36px; }
  .product { padding: 16px; }
  .product h3 { font-size: 16px; }
}
