@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Zen+Maru+Gothic:wght@500;700&display=swap');

:root {
  --ivory: #FBFAF7;
  --cream: #FFFFFF;
  --warm-bg: #F1F6F2;
  --warm-deep: #E4EFE7;
  --ink: #2F3033;
  --ink-soft: #7A8085;
  --green: #5BA890;
  --green-deep: #3E8C74;
  --dog: #E0974A;
  --dog-deep: #C97E2E;
  --cat: #6E7C99;
  --cat-deep: #525E78;
  --amazon: #E0974A;
  --amazon-deep: #C97E2E;
  --a8: #4A7CCE;
  --a8-deep: #2E5DA8;
  --line: #E7EBE7;
  --shadow: 0 18px 48px rgba(62, 140, 116, 0.10);
  --shadow-sm: 0 8px 24px rgba(62, 140, 116, 0.07);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1120px;
  --round: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  --sans: 'Noto Sans JP', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.95;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand, .round {
  font-family: var(--round);
  line-height: 1.55;
  letter-spacing: 0.02em;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- PR / promotion banner ---------- */
.pr-banner { background: var(--warm-deep); color: var(--ink-soft); font-size: 12px; text-align: center; padding: 7px 16px; letter-spacing: 0.04em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { font-size: 22px; font-weight: 700; color: var(--ink); display: flex; align-items: baseline; gap: 8px; letter-spacing: 0.04em; }
.brand .mark { color: var(--green-deep); }
.brand .paw { font-size: 20px; }
.brand small { font-size: 10.5px; font-weight: 400; color: var(--ink-soft); font-family: var(--sans); letter-spacing: 0.1em; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { position: relative; font-size: 14px; font-weight: 500; color: var(--ink-soft); transition: color .25s; padding: 6px 0; letter-spacing: 0.03em; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--green); border-radius: 2px; transition: width .3s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--green-deep); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { background: var(--green); color: #fff !important; padding: 10px 20px !important; border-radius: 999px; box-shadow: var(--shadow-sm); transition: transform .2s, background .25s; }
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--green-deep); transform: translateY(-1px); color: #fff !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 26px; color: var(--ink); line-height: 1; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: 14.5px; letter-spacing: 0.04em; cursor: pointer; border: none; transition: transform .2s, box-shadow .25s, background .25s, border-color .25s; font-family: var(--sans); }
.btn-primary { background: var(--green); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--green); }
.btn-ghost:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.btn-dog { background: var(--dog); color:#fff; box-shadow: var(--shadow-sm);} .btn-dog:hover{background:var(--dog-deep);transform:translateY(-2px);color:#fff;}
.btn-cat { background: var(--cat); color:#fff; box-shadow: var(--shadow-sm);} .btn-cat:hover{background:var(--cat-deep);transform:translateY(-2px);color:#fff;}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -10%, #E4EFE7 0%, transparent 62%),
    radial-gradient(720px 400px at 0% 116%, #F4EFE4 0%, transparent 60%),
    var(--ivory);
  padding: 96px 0 100px;
}
.hero-inner { max-width: 800px; position: relative; z-index: 2; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 500; color: var(--green-deep); letter-spacing: 0.18em; padding: 0 0 16px; }
.eyebrow::before { content: ""; display: inline-block; width: 24px; height: 2px; border-radius:2px; background: var(--green); vertical-align: middle; margin-right: 12px; }
.hero h1 { font-size: clamp(30px, 5vw, 50px); font-weight: 700; letter-spacing: 0.02em; line-height: 1.45; }
.hero h1 .hl { color: var(--green-deep); }
.hero p.lead { margin-top: 26px; font-size: 16.5px; color: var(--ink-soft); max-width: 640px; line-height: 2.1; }
.hero-actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section.tint { background: var(--warm-bg); }
.section.soft { background: var(--cream); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-head .kicker { font-size: 12px; font-weight: 700; color: var(--green); letter-spacing: 0.18em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(24px, 3.6vw, 35px); margin-top: 14px; font-weight: 700; }
.section-head p { margin-top: 18px; color: var(--ink-soft); }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Category split ---------- */
.cat-split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.cat-tile { border-radius: var(--radius); padding: 48px 40px; color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.cat-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat-tile.dog { background: linear-gradient(135deg, #E8A85C, #E0974A); }
.cat-tile.cat { background: linear-gradient(135deg, #7E8CAA, #6E7C99); }
.cat-tile .emoji { font-size: 48px; }
.cat-tile h3 { font-size: 24px; margin: 12px 0 8px; color:#fff; }
.cat-tile p { font-size: 14px; opacity: .95; margin-bottom: 18px; }
.cat-tile .go { font-weight: 700; font-size: 14px; }
.cat-tile .tags { display:flex; gap:8px; flex-wrap:wrap; margin-top:14px; }
.cat-tile .tags span { background: rgba(255,255,255,.22); border-radius:999px; padding:4px 12px; font-size:12px; }

/* ---------- Pain points ---------- */
.pain-list { list-style: none; display: grid; gap: 14px; max-width: 740px; margin: 0 auto; }
.pain-list li { background: var(--cream); border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: var(--radius-sm); padding: 18px 24px; font-weight: 500; }
.pain-list li::before { content: "Q. "; color: var(--green-deep); font-weight: 700; }

/* ---------- Compare table ---------- */
.table-scroll { overflow-x: auto; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--cream); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); min-width: 560px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: middle; font-size: 14px; }
.compare thead th { background: var(--warm-bg); font-family: var(--round); font-weight:700; }
.compare thead th.best { color: var(--green-deep); }
.compare tbody tr + tr td { border-top: 1px solid var(--line); }
.compare td:first-child { color: var(--ink-soft); font-weight:500; }
.compare .star { color: var(--dog); font-weight:700; }
.compare .pick { background: var(--warm-bg); }

/* ---------- Callout ---------- */
.callout { background: var(--warm-bg); border-radius: var(--radius); padding: 40px; text-align: center; margin-top: 44px; line-height: 2.1; }
.callout strong { color: var(--green-deep); }
.callout .big { font-family: var(--round); font-size: 22px; font-weight: 700; display: block; margin-bottom: 10px; }

/* result box at top of article */
.result-box { background: var(--warm-bg); border: 1px solid var(--warm-deep); border-radius: var(--radius); padding: 26px 28px; margin: 28px 0; }
.result-box h4 { color: var(--green-deep); font-size: 15px; letter-spacing: 0.08em; margin-bottom: 10px; }
.result-box p { margin: 6px 0; font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(125deg, var(--green) 0%, #7BB6A0 100%); color: #fff; text-align: center; padding: 84px 24px; }
.cta-band h2 { font-size: clamp(24px, 3.6vw, 33px); font-weight: 700; color:#fff; }
.cta-band p { margin-top: 16px; opacity: .96; }
.cta-band .btn-primary { background: #fff; color: var(--green-deep); margin-top: 30px; }
.cta-band .btn-primary:hover { background: var(--ivory); }

/* ---------- Newsletter ---------- */
.subscribe { max-width: 620px; margin: 0 auto; display: flex; gap: 12px; }
.subscribe input { flex:1; padding: 14px 18px; border: 1px solid var(--line); border-radius: 999px; font-family: inherit; font-size: 15px; background: var(--ivory); }
.subscribe input:focus { outline:none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(91,168,144,.15); }

/* ---------- Page hero ---------- */
.page-hero { background: radial-gradient(720px 300px at 88% -22%, #E4EFE7 0%, transparent 62%), var(--warm-bg); padding: 70px 0; text-align: center; }
.page-hero h1 { font-size: clamp(26px, 4.2vw, 40px); font-weight: 700; }
.page-hero p { margin-top: 16px; color: var(--ink-soft); }
.breadcrumb { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 16px; letter-spacing: 0.04em; }
.breadcrumb a:hover { color: var(--green-deep); }

/* ---------- Form ---------- */
.form-wrap { max-width: 660px; margin: 0 auto; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 44px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 8px; }
.field label .req { color: var(--dog-deep); font-size: 12px; margin-left: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: inherit; font-size: 15px; color: var(--ink); background: var(--ivory); transition: border-color .25s, box-shadow .25s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(91,168,144,.15); }
.field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: 18px; text-align: center; }

/* ---------- Blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 16 / 10; display: grid; place-items: center; font-size: 50px; color: #fff; }
.post-thumb.dog { background: linear-gradient(135deg, #E8A85C, #E0974A); }
.post-thumb.cat { background: linear-gradient(135deg, #7E8CAA, #6E7C99); }
.post-thumb.green { background: linear-gradient(135deg, #6FBBA3, #5BA890); }
.post-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-size: 11.5px; font-weight: 700; color: var(--green-deep); letter-spacing: 0.08em; }
.post-cat.dog { color: var(--dog-deep); }
.post-cat.cat { color: var(--cat-deep); }
.post-title { font-size: 17.5px; margin: 9px 0 11px; line-height: 1.65; }
.post-excerpt { color: var(--ink-soft); font-size: 14px; flex: 1; }
.post-meta { margin-top: 16px; font-size: 12.5px; color: var(--ink-soft); display: flex; gap: 12px; align-items: center; }
.post-readmore { margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--green-deep); }
.tag-hot { background: #FBE6D6; color: var(--dog-deep); font-size:11px; font-weight:700; padding:2px 9px; border-radius:999px; }

/* ---------- Article ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 60px 0 80px; }
.article-cat { font-size: 12px; font-weight: 700; color: var(--green-deep); letter-spacing: 0.1em; }
.article h1 { font-size: clamp(25px, 4vw, 36px); margin: 14px 0 16px; line-height: 1.5; }
.article-meta { font-size: 13px; color: var(--ink-soft); display: flex; gap: 16px; flex-wrap:wrap; padding-bottom: 24px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.article-lead { font-size: 16.5px; color: var(--ink); line-height: 2.1; margin: 26px 0 10px; }

.toc { background: var(--warm-bg); border-radius: var(--radius); padding: 24px 28px; margin: 32px 0; }
.toc h4 { font-size: 14px; letter-spacing: 0.08em; margin-bottom: 10px; color: var(--green-deep); }
.toc ol { margin-left: 20px; }
.toc li { font-size: 14px; line-height: 1.9; }
.toc a:hover { color: var(--green-deep); text-decoration: underline; }

.prose h2 { font-size: clamp(20px, 3vw, 26px); margin: 50px 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--warm-deep); font-weight: 700; scroll-margin-top: 90px; }
.prose h3 { font-size: 18px; margin: 32px 0 10px; color: var(--green-deep); scroll-margin-top: 90px; }
.prose p { margin: 15px 0; line-height: 2.15; }
.prose ul, .prose ol { margin: 16px 0 16px 24px; }
.prose li { margin: 8px 0; line-height: 2; }
.prose strong { color: var(--green-deep); font-weight: 700; }
.prose blockquote { border-left: 3px solid var(--green); background: var(--warm-bg); padding: 16px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 24px 0; color: var(--ink); }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 44px 0; }
.prose .lead-img { aspect-ratio: 16/8; border-radius: var(--radius); background: linear-gradient(135deg,#E4EFE7,#F1F6F2); display: grid; place-items: center; font-size: 46px; color: var(--green-deep); margin: 26px 0; }

/* FAQ */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 22px; margin: 12px 0; background: var(--cream); }
.faq-item .q { font-weight: 700; color: var(--ink); }
.faq-item .q::before { content: "Q. "; color: var(--green-deep); }
.faq-item .a { color: var(--ink-soft); font-size: 14.5px; margin-top: 8px; }
.faq-item .a::before { content: "A. "; color: var(--dog-deep); font-weight:700; }

/* related */
.related { background: var(--warm-bg); border-radius: var(--radius); padding: 28px 30px; margin: 44px 0; }
.related h4 { color: var(--green-deep); font-size: 15px; margin-bottom: 12px; }
.related ul { list-style: none; }
.related li { padding: 9px 0; border-bottom: 1px dashed var(--warm-deep); }
.related li:last-child { border-bottom: none; }
.related a { font-weight: 500; }
.related a:hover { color: var(--green-deep); }
.related a::before { content: "▸ "; color: var(--green); }

/* ---------- Affiliate / Products ---------- */
.aff-note { font-size: 12.5px; color: var(--ink-soft); background: var(--ivory); border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 12px 18px; margin: 24px 0; line-height: 1.8; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 28px 0; }
.product { display: flex; flex-direction: column; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; position: relative; }
.product.rank1 { border: 1.5px solid var(--green); }
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product .pr-tag { position: absolute; top: 12px; left: 12px; background: rgba(47,48,51,.72); color: #fff; font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 6px; letter-spacing: 0.06em; z-index: 2; }
.product .rank-badge { position: absolute; top: 12px; right: 12px; background: var(--green); color:#fff; font-size: 11px; font-weight:700; padding: 4px 11px; border-radius: 999px; z-index:2; }
.product .p-body { padding: 42px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product .p-name { font-family: var(--round); font-size: 16px; font-weight: 700; line-height: 1.55; margin-bottom: 6px; }
.product .p-rating { font-size: 13px; color: var(--dog); font-weight:700; margin-bottom:8px; }
.product .p-rating small { color: var(--ink-soft); font-weight:400; }
.product .p-desc { font-size: 13px; color: var(--ink-soft); flex: 1; line-height: 1.85; }
.product .p-price { font-size: 13px; color: var(--ink-soft); margin: 12px 0; }
.product .p-price b { font-family: var(--round); font-size: 19px; color: var(--ink); }
.aff-buttons { display:flex; flex-direction:column; gap:8px; }
.btn-amazon { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px 18px; border-radius: 999px; background: var(--amazon); color: #fff; font-weight: 700; font-size: 14px; transition: background .25s, transform .2s; }
.btn-amazon:hover { background: var(--amazon-deep); transform: translateY(-1px); color: #fff; }
.btn-a8 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px 18px; border-radius: 999px; background: var(--a8); color: #fff; font-weight: 700; font-size: 14px; transition: background .25s, transform .2s; }
.btn-a8:hover { background: var(--a8-deep); transform: translateY(-1px); color:#fff; }

/* A8 PR block (サービス案件用) */
.pr-block { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center; background: linear-gradient(135deg,#EEF3FB,#E3ECF9); border: 1px solid #D5E0F1; border-radius: var(--radius); padding: 24px 26px; margin: 30px 0; }
.pr-block .pr-label { position: absolute; top: 12px; right: 14px; background: var(--a8); color:#fff; font-size: 10.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; letter-spacing: 0.08em; }
.pr-block .pr-ico { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-size: 32px; background: #fff; box-shadow: var(--shadow-sm); }
.pr-block h4 { font-size: 17px; margin-bottom: 6px; color: var(--ink); }
.pr-block p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.85; margin-bottom: 12px; }
.pr-block .btn-a8 { width: auto; padding: 11px 26px; }
@media (max-width: 600px) { .pr-block { grid-template-columns: 1fr; text-align: center; } .pr-block .pr-ico { margin: 0 auto; } .pr-block .btn-a8 { width: 100%; } }

/* A8 画像バナー（広告主の正規コードをそのまま使用） */
.a8-banner { text-align: center; margin: 32px 0; }
.a8-banner .ad-label { display: block; font-size: 11px; color: var(--ink-soft); letter-spacing: 0.12em; margin-bottom: 8px; }
.a8-banner a img { display: inline-block; margin: 0 auto; border-radius: 10px; box-shadow: var(--shadow-sm); max-width: 100%; height: auto; transition: transform .2s; }
.a8-banner a:hover img { transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer { background: #2C3330; color: #CFD6D1; padding: 60px 0 28px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #A9B2AC; }
.site-footer p { font-size: 14px; color: #A9B2AC; margin-top: 14px; max-width: 380px; line-height: 2; }
.footer-nav { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-nav ul { list-style: none; }
.footer-nav h4 { font-size: 13px; color: #fff; margin-bottom: 14px; letter-spacing: 0.08em; }
.footer-nav a { font-size: 13.5px; color: #A9B2AC; line-height: 2.3; transition: color .25s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #45504A; margin-top: 40px; padding-top: 20px; font-size: 12.5px; color: #8C958E; text-align: center; }
.footer-bottom .disc { max-width: 760px; margin: 0 auto 12px; line-height: 1.8; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .grid-3, .grid-2, .blog-grid, .product-grid, .cat-split { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .hero { padding: 72px 0 76px; }
  .subscribe { flex-direction: column; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--ivory); flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 28px 22px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: none; padding-top: 14px; }
  .nav-links a { padding: 15px 0; }
  .nav-links a::after { display: none; }
  .nav-cta { text-align: center; }
  .nav-toggle { display: block; }
  .form-wrap, .callout { padding: 28px 22px; }
}
