/* =====================================================================
   絵本調デザイン（2026-11-02）— style.css の後に読む。全ページ共通
   決まり：/opt/tenants/sales/_work/design-pb/SPEC.md、見本：preview/inu-design-trial/
   紙の地・波の色面・手描き風の見出し（Kiwi Maru）・丸いリンク・point の吹き出し・
   角丸の大きなカード（縦書き・丸バッジ）・紺の丸いボタン・スクロールで出る・歩く猫（pb.js）
   猫は今の緑の系統：波は淡い緑と生成り、見出しは深い緑、ヒーローの見出しはくすんだピンク
   ===================================================================== */
:root {
  --paper: #F4EFE4;
  --bg: #F4EFE4; --surface: #FFFDF8; --surface-2: #F2ECE0; --ink: #34302A; --muted: #6A6358; --line: #E6DDCD; --line-strong: #D3C7B2;
  --primary-soft: #E2ECDF;
  --note: #FBF2DC; --note-line: #EAD6A6;
  --sil: rgba(44, 106, 86, .06);
  --shadow: 0 1px 0 rgba(90, 70, 40, .04), 0 6px 18px rgba(90, 70, 40, .08);
  --shadow-s: 0 1px 0 rgba(90, 70, 40, .04), 0 3px 10px rgba(90, 70, 40, .07);
  --pb-mint: #C6DDCB;   /* 淡い緑（波の色面） */
  --pb-mint2: #DDEBDA;  /* もっと淡い緑 */
  --pb-cream: #ECE5D4;  /* 生成り */
  --pb-head: #2C6A56;   /* 見出し（深い緑） */
  --pb-rose: #B65E6B;   /* ヒーローの見出し（くすんだピンク） */
  --pb-pink: #C0506A;   /* スタンプ・丸バッジ（白い字が読める濃さ） */
  --pb-navy: #3B3A6E; --pb-navy-press: #2D2C57; --pb-navy-ink: #3B3A6E;
  --pb-bar: #367B63;    /* 下のタブのバー */
  --pb-yellow: #F5DD4B;
  --pb-ring: #FFFFFF;
  --pb-blob1: #DBE9D6; --pb-blob2: #F3DEDC;
  --pb-c1: #F3DCC0; --pb-c2: #D9E8D2; --pb-c3: #F3DDE2; --pb-c4: #D9E5EE; --pb-c5: #EFE4C4; --pb-c6: #E3DCEF;
  --pb-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.38 0 0 0 0 0.3 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --pb-font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
  --pb-hand: "Kiwi Maru", "Zen Maru Gothic", "Hiragino Maru Gothic ProN", serif;
  font-family: var(--pb-font);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #211C17;
    --bg: #211C17; --surface: #2B251F; --surface-2: #332C25; --ink: #EFE7DA; --muted: #B7AC9B; --line: #3E362D; --line-strong: #51473B;
    --primary-soft: #23342C;
    --note: #2E2717; --note-line: #4A3F22;
    --sil: rgba(143, 208, 179, .05);
    --shadow: 0 1px 0 rgba(0, 0, 0, .25), 0 6px 18px rgba(0, 0, 0, .28);
    --shadow-s: 0 1px 0 rgba(0, 0, 0, .25), 0 3px 10px rgba(0, 0, 0, .22);
    --pb-mint: #24322A; --pb-mint2: #1E2A23; --pb-cream: #2A241D;
    --pb-head: #9FD6BE; --pb-rose: #E9A1AC; --pb-pink: #B0475F;
    --pb-navy: #4B4A91; --pb-navy-press: #5A59A3; --pb-navy-ink: #C5C4F2;
    --pb-bar: #22463A; --pb-ring: #4A4137;
    --pb-blob1: #26342B; --pb-blob2: #392A2A;
    --pb-c1: #3A3024; --pb-c2: #26342B; --pb-c3: #3A2A2E; --pb-c4: #25303A; --pb-c5: #363020; --pb-c6: #2F2A3A;
    --pb-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 0.95 0 0 0 0 0.85 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
}

/* ---- 紙の地・文字 ---- */
body { background-color: var(--paper); background-image: var(--pb-noise); font-family: var(--pb-font); }
button, input, select, textarea { font-family: inherit; }
.bg-cats { display: none; } /* 前の猫のシルエットの模様は、紙の地にしたので出さない */
::selection { background: color-mix(in srgb, var(--pb-yellow) 60%, transparent); }

/* 手描き風の見出し（Kiwi Maru は 500 だけ読む。太字のまねはさせない） */
.pb-h1, .sec-title, .page-title, .block-title, .pp-title, .ox-h2, .ox-hero h1, .art-hero h1, .gd-h1, .art h2, .match-title, .recs-title, .logo, .ox-point h3, .ox-story h4, .ox-fname {
  font-family: var(--pb-hand); font-weight: 500; font-synthesis: none; letter-spacing: .04em;
}
.sec-title, .page-title, .ox-h2, .gd-h1, .art-hero h1 { color: var(--pb-head); }
.pb-en { display: block; font-family: var(--pb-font); font-size: 11.5px; font-weight: 500; letter-spacing: .18em; color: var(--muted); line-height: 1.6; margin: 0 0 2px; }

/* ---- 上の帯・ヘッダー ---- */
.logo { font-size: 19px; color: var(--pb-head); letter-spacing: .06em; }
.logo-mark { border-radius: 50%; background: var(--pb-head); color: var(--paper); }
.nav a[aria-current="page"] { background: color-mix(in srgb, var(--pb-head) 14%, transparent); color: var(--pb-head); }
.crumbs, .crumbs a { color: var(--muted); }

/* ---- ボタン：紺の丸いボタン（購入・公式・行動の入口）。PR の印と rel="sponsored" はそのまま ---- */
.btn { border-radius: 999px; }
.btn-primary { background: var(--pb-navy); color: #fff; letter-spacing: .04em; }
.btn-primary:active { background: var(--pb-navy-press); }
.btn-ghost { background: var(--surface); color: var(--pb-navy-ink); border-color: color-mix(in srgb, var(--pb-navy-ink) 45%, transparent); }
a.btn-primary::after, .ox-btn:not(.ox-tbtn)::after { content: "›"; font-size: 1.3em; line-height: 1; margin-left: 4px; font-weight: 500; }
.btn-small { padding: 8px 16px; }
.chip { border-color: var(--line-strong); }
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--pb-head); border-color: var(--pb-head); color: var(--paper); }

/* ---- カード類は角を丸く、ふちを消して影で浮かせる ---- */
.block, .search-card, .way, .hm-lrow, .hm-nw, .breed-card, .pr-slot, .concern, .guide-card, .hm-trust, .ox-point, .ox-def, .ox-editor, .ox-faq, .ox-feature { border-radius: 22px; }
.block, .search-card, .way, .hm-lrow, .hm-nw, .breed-card, .hm-trust, .ox-point, .ox-def, .ox-editor, .ox-faq, .concern { border-color: transparent; box-shadow: var(--shadow-s); }
.guide-card { box-shadow: var(--shadow-s); }
.block-title { font-size: 17.5px; color: var(--pb-head); }
.note-box, .callout { border-radius: 18px; }
.art h2 { border-left-color: var(--pb-rose); border-left-width: 5px; border-radius: 2px; }
.art h2.gd-h2 { border-bottom-color: color-mix(in srgb, var(--pb-head) 30%, transparent); }
.art-hero { border-radius: 28px; }
.hm-makers .hm-mk { border-color: transparent; box-shadow: var(--shadow-s); }
.ox-tw { border-radius: 18px; border-color: transparent; box-shadow: var(--shadow-s); }
.ox-fig { border-radius: 18px; background: var(--surface-2); }
.ox-toc { border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-s); }

/* ---- 波の色面（トップの区画ごとに地の色を変え、間を波でつなぐ） ---- */
.pb-band { position: relative; padding: 2px 0 30px; }
.pb-band.mint { background-color: var(--pb-mint); background-image: var(--pb-noise); }
.pb-band.mint2 { background-color: var(--pb-mint2); background-image: var(--pb-noise); }
.pb-band.cream { background-color: var(--pb-cream); background-image: var(--pb-noise); }
.pb-wave { position: relative; height: 46px; margin-bottom: -1px; }
.pb-wave::after { content: ""; position: absolute; inset: 0; background-color: var(--to, var(--paper)); background-image: var(--pb-noise);
  -webkit-mask: var(--wm) 0 0 / 100% 100% no-repeat; mask: var(--wm) 0 0 / 100% 100% no-repeat; }
.pb-wave.w0 { --wm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 56' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C80,0 160,56 260,26 C340,4 410,40 480,18 L480,56 L0,56 Z'/%3E%3C/svg%3E"); }
.pb-wave.w1 { --wm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 56' preserveAspectRatio='none'%3E%3Cpath d='M0,22 C90,52 190,0 290,30 C370,52 430,10 480,30 L480,56 L0,56 Z'/%3E%3C/svg%3E"); }
.pb-wave.w2 { --wm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 56' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C100,4 200,50 300,24 C380,4 440,36 480,20 L480,56 L0,56 Z'/%3E%3C/svg%3E"); }
.pb-wave.from-mint { background-color: var(--pb-mint); background-image: var(--pb-noise); }
.pb-wave.from-mint2 { background-color: var(--pb-mint2); background-image: var(--pb-noise); }
.pb-wave.from-cream { background-color: var(--pb-cream); background-image: var(--pb-noise); }
.pb-wave.to-mint { --to: var(--pb-mint); } .pb-wave.to-mint2 { --to: var(--pb-mint2); } .pb-wave.to-cream { --to: var(--pb-cream); } .pb-wave.to-paper { --to: var(--paper); }
@media (min-width: 760px) { .pb-wave { height: 64px; } }

/* 区画の見出し（まん中・小さな英字つき）。「すべて見る」は見出しの下に */
.pb-h2.sec-title { text-align: center; font-size: 22px; line-height: 1.5; margin: 8px 0 16px; letter-spacing: .06em; }
.pb-band .sec-head { display: block; text-align: center; }
.pb-band .sec-head > a { display: inline-flex; margin: -8px 0 14px; font-size: 13px; color: var(--pb-head); background: var(--surface); border-radius: 999px; padding: 4px 12px; box-shadow: var(--shadow-s); }
.pb-band .wrap + .wrap { margin-top: 18px; }

/* ---- トップのヒーロー ---- */
.pb-hero { position: relative; overflow: hidden; padding: 4px 0 6px; }
.pb-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); text-align: center; }
.pb-blob { position: absolute; z-index: 0; pointer-events: none; }
.pb-blob.b1 { left: -90px; top: -50px; width: 300px; fill: var(--pb-blob1); }
.pb-blob.b2 { right: -96px; top: 170px; width: 280px; fill: var(--pb-blob2); }
.pb-leaf { position: absolute; z-index: 0; height: auto; pointer-events: none; opacity: .9; }
.pb-leaf.l1 { left: -12px; top: 232px; width: 44px; transform: rotate(-14deg); }
.pb-leaf.l2 { right: -8px; top: 18px; width: 50px; transform: rotate(16deg); }
.pb-hero-text, .pb-hero-art, .pb-search { position: relative; z-index: 1; }
.pb-h1.hero-title { margin: 18px 0 10px; font-size: clamp(29px, 8.6vw, 42px); line-height: 1.5; letter-spacing: .08em; color: var(--pb-rose); }
.pb-h1 .kl:first-child { transform: rotate(-2.5deg); }
.pb-h1 .kl:last-child { transform: rotate(1deg); }
.pb-h1 .hl::after { background: color-mix(in srgb, var(--pb-yellow) 75%, transparent); height: .3em; bottom: .12em; }
.pb-hero-sub { margin: 0 auto; max-width: 340px; font-weight: 700; font-size: 14.5px; line-height: 1.9; }
.pb-hero-art { width: 86%; max-width: 360px; margin: 8px auto 0; }
.pb-hero-img { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 10px rgba(80, 60, 30, .12)); }
.pb-stamp { position: absolute; right: -6%; top: 50%; width: 94px; height: 94px; margin: 0; border-radius: 50%; background: var(--pb-pink); color: #fff; display: grid; place-items: center; text-align: center; font-size: 12px; line-height: 1.35; font-weight: 700; transform: rotate(8deg); box-shadow: 0 4px 0 rgba(0, 0, 0, .08); }
.pb-stamp b { display: block; font-family: var(--pb-hand); font-weight: 500; font-size: 20px; letter-spacing: .02em; }
.pb-bubble { position: absolute; left: -5%; top: 56%; margin: 0; background: #FFFDF8; color: #3A2F27; border: 1.5px solid #3A2F27; border-radius: 50%; padding: 8px 12px; font-family: var(--pb-hand); font-size: 13px; line-height: 1.4; transform: rotate(-6deg); }
.pb-search { margin: 12px 0 0; text-align: left; background: var(--surface); border-radius: 22px; padding: 14px 14px 12px; box-shadow: var(--shadow); }
.pb-search .hm-search { margin: 0; }
.pb-search .hm-search .search-field input { border-width: 2px; border-color: var(--pb-head); box-shadow: none; border-radius: 999px; background: var(--surface); }
.pb-search .results .quick { margin: 0 -14px; padding-left: 14px; padding-right: 14px; scroll-padding-inline: 14px; }
@media (min-width: 760px) {
  .pb-hero { padding-top: 18px; }
  .pb-hero-in { grid-template-columns: minmax(0, 1fr) 330px; grid-template-areas: "text art" "search art"; column-gap: 28px; text-align: left; align-items: center; }
  .pb-hero-text { grid-area: text; align-self: end; } .pb-hero-art { grid-area: art; width: 100%; margin: 0; } .pb-search { grid-area: search; align-self: start; }
  .pb-hero-sub { margin: 0; max-width: none; }
  .pb-blob.b1 { left: -120px; } .pb-blob.b2 { right: -60px; top: 60px; }
  .pb-leaf.l1 { left: -20px; top: 160px; }
}

/* ---- 目的から選ぶ（白い角丸のカード＋絵） ---- */
.pb-purpose .hm-pc, .pb-purpose .hm-pc.t2, .pb-purpose .hm-pc.t3, .pb-purpose .hm-pc.t4 { background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-s); min-height: 184px; padding: 14px 12px 42px; }
.pb-purpose .hm-pc b { font-family: var(--pb-hand); font-weight: 500; font-size: 16.5px; color: var(--pb-head); letter-spacing: .03em; }
.pb-purpose .hm-pc span { font-size: 12.5px; max-width: 100%; }
.pb-pcimg { position: absolute; right: -4px; bottom: -2px; width: 54%; max-width: 130px; height: auto; z-index: 0; pointer-events: none; }
.pb-purpose .hm-pc em, .pb-purpose .hm-pc.t1 em, .pb-purpose .hm-pc.t2 em, .pb-purpose .hm-pc.t3 em, .pb-purpose .hm-pc.t4 em { color: #fff; background: var(--pb-navy); border-radius: 999px; padding: 3px 8px 3px 11px; font-size: 12px; letter-spacing: .03em; }
@media (min-width: 760px) { .pb-purpose { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pb-band .hm-trust { background: var(--surface); }
.hm-trust b { color: var(--pb-head); font-family: var(--pb-hand); font-weight: 500; }
.hm-trust p .ic { color: var(--pb-head); }

/* ---- 丸いリンク（絵を丸く切り抜き、白いふち・影・右下に↗。横にスクロール） ---- */
.pb-rowlabel { text-align: center; font-weight: 700; font-size: 14px; margin: 4px 0 10px; color: var(--ink); }
.pb-rowlabel::before { content: "＼"; margin-right: 8px; color: var(--muted); font-weight: 500; }
.pb-rowlabel::after { content: "／"; margin-left: 8px; color: var(--muted); font-weight: 500; }
.pb-circles { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; padding: 4px 16px 12px; margin: 0 -16px 10px; scroll-snap-type: x proximity; scroll-padding-inline: 16px; scrollbar-width: none; }
.pb-circles::-webkit-scrollbar { display: none; }
button.pb-circ { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.pb-circ { flex: none; width: 90px; padding: 0; border: 0; background: none; font: inherit; color: var(--ink); text-align: center; text-decoration: none; cursor: pointer; scroll-snap-align: start; -webkit-tap-highlight-color: transparent; }
.pb-ci { position: relative; display: grid; place-items: center; width: 90px; height: 90px; border-radius: 50%; border: 4px solid var(--pb-ring); box-shadow: 0 3px 10px rgba(60, 40, 20, .14); overflow: hidden; transition: transform .2s cubic-bezier(.2, .7, .3, 1); }
.pb-ci img { width: 94%; height: 94%; max-width: none; object-fit: contain; }
.pb-ci::after { content: "↗"; position: absolute; right: 5px; bottom: 5px; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 253, 248, .92); color: #3A2F27; font-size: 12px; line-height: 22px; text-align: center; font-style: normal; }
.pb-ci.pb-sil .sil { width: 66%; height: 66%; color: var(--pb-head); }
.pb-ci.c1 { background: var(--pb-c1); } .pb-ci.c2 { background: var(--pb-c2); } .pb-ci.c3 { background: var(--pb-c3); } .pb-ci.c4 { background: var(--pb-c4); } .pb-ci.c5 { background: var(--pb-c5); } .pb-ci.c6 { background: var(--pb-c6); }
.pb-circ b { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.35; font-weight: 700; }
.pb-circ small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.pb-circ:active .pb-ci { transform: scale(.95); }
@media (hover: hover) { .pb-circ:hover .pb-ci { transform: translateY(-3px); } }
@media (min-width: 640px) { .pb-circles { flex-wrap: wrap; justify-content: center; overflow: visible; margin: 0 0 10px; padding: 4px 0 12px; } }

/* ---- point の吹き出し（白い箱・右上に紺の「point」・左上に三角のしっぽ） ---- */
.pb-point, .ox.v2 .ox-story { position: relative; background: var(--surface); border-radius: 6px; box-shadow: 0 2px 0 rgba(90, 70, 40, .05); }
.pb-point { padding: 22px 18px 16px; margin: 30px 2px 8px; font-size: 15px; line-height: 1.9; }
.pb-point::before, .ox.v2 .ox-story::before { content: "point"; position: absolute; right: 14px; top: -14px; background: var(--pb-navy); color: #fff; font-family: var(--pb-font); font-weight: 700; font-size: 13px; line-height: 1.7; padding: 2px 12px; letter-spacing: .04em; }
.pb-point[data-tab]::before { content: attr(data-tab); }
.pb-point::after, .ox.v2 .ox-story::after { content: ""; position: absolute; left: 44px; top: -12px; border: 12px solid transparent; border-bottom-color: var(--surface); border-top: 0; }
.pb-point.note { margin-top: 36px; font-size: 14px; }
.pb-foods { display: flex; justify-content: center; align-items: flex-end; gap: 8px; margin: 18px 0 -14px; pointer-events: none; }
.pb-foods img { width: 70px; height: auto; }

/* ---- 一言のつぶやき ---- */
.pb-talk { display: flex; align-items: flex-end; gap: 6px; margin: 16px 0 0 4px; pointer-events: none; }
.pb-talk img { width: 56px; height: auto; }
.pb-talk span { position: relative; top: -24px; font-family: var(--pb-hand); font-size: 14px; padding: 0 4px; border-bottom: 1.5px solid currentColor; transform: rotate(-4deg); }
.pb-talk.right { justify-content: flex-end; margin: 16px 4px 0 0; }
.pb-talk.right img { order: 2; transform: scaleX(-1); }
.ox .pb-talk { margin-top: 26px; }

/* ---- トップの一覧・メーカー・ガイド・種類 ---- */
.pb-band .hm-lrow { background: var(--surface); }
.hm-collage { border-radius: 14px; border-color: transparent; }
.hm-lmeta i { background: color-mix(in srgb, var(--pb-head) 14%, transparent); color: var(--pb-head); }
.pb-band .way { background: var(--surface); }
.way > .ic { color: var(--pb-head); }
.breed-card { background: var(--surface); }
.breed-card .sil { color: var(--pb-head); }

/* ---- おすすめ記事 v2 ---- */
.ox.v2 .ox-hero { background-color: var(--pb-mint); background-image: var(--pb-noise); border: 0; border-radius: 28px; }
.ox.v2 .ox-cat { background: var(--pb-pink); color: #fff; border-radius: 999px; }
.ox.v2 .ox-hero h1 { color: var(--pb-head); line-height: 1.5; }
.ox-hpic { border-radius: 24px; }
.ox.v2 .ox-h2 { display: block; text-align: center; border-bottom: 0; padding-bottom: 0; margin: 44px 0 18px; color: var(--pb-head); font-size: clamp(21px, 3.2vw, 25px); line-height: 1.5; letter-spacing: .05em; }
.ox.v2 .ox-h2 .pb-en { margin-bottom: 4px; }
.ox-point h3 { color: var(--pb-head); }
.ox-point h3 i, .ox-axeslist i { background: var(--pb-head); color: var(--paper); font-family: var(--pb-font); }
.ox-guide { border-radius: 18px; }
.ox-tabs button { border-radius: 999px 999px 0 0; }
.ox-tabs button[aria-selected="true"] { background: var(--pb-head); border-color: var(--pb-head); color: var(--paper); }
.ox-tabs { border-bottom-color: var(--pb-head); }
.ox-feature { background: var(--surface); border: 0; box-shadow: var(--shadow-s); }
.ox-tbtn { border-radius: 999px; background: var(--pb-navy) !important; color: #fff !important; }

/* 各順位：大きな角丸の写真の枠＋丸い順位＋縦書き2つ＋ピンクのギザギザの丸バッジ＋紺のボタン */
.ox.v2 .ox-list { gap: 0; }
.ox.v2 .ox-item.pb-item { background: none; border: 0; box-shadow: none; padding: 0; border-radius: 0; }
.ox.v2 .pb-item + .pb-item { margin-top: 30px; padding-top: 34px; border-top: 2px dashed var(--line-strong); }
.pb-ihead { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.pb-card { position: relative; margin: 12px 4px 0; }
.pb-card .ox-iphoto { aspect-ratio: 1 / 1; max-height: none; border: 0; border-radius: 26px; box-shadow: var(--shadow); background: #fff; }
.pb-card .ox-iphoto.has-img img { inset: 11% auto auto 8%; width: 66%; height: 66%; } /* 右上の縦書き・右下の丸バッジとなるべく重ならない位置 */
.pb-card .ox-iphoto .thumb-credit { left: 14px; right: auto; bottom: 8px; background: none; font-size: 9px; }
.pb-rank { position: absolute; left: -6px; top: -12px; z-index: 2; display: grid; place-content: center; width: 62px; height: 62px; border-radius: 50%; border: 4px solid var(--pb-ring); background: var(--pb-head); color: #fff; font-family: var(--pb-hand); font-size: 26px; line-height: 1; text-align: center; box-shadow: 0 3px 8px rgba(60, 40, 20, .16); }
.pb-rank small { font-family: var(--pb-font); font-size: 10.5px; font-weight: 700; margin-top: 1px; }
.top1 .pb-rank { background: #E6B544; color: #46330A; } .top2 .pb-rank { background: #C4CBD2; color: #2C333B; } .top3 .pb-rank { background: #D49A68; color: #3D230E; }
.pb-vt { position: absolute; right: 14px; top: 16px; z-index: 2; display: flex; flex-direction: row-reverse; gap: 7px; margin: 0; max-height: 62%; }
.pb-vt span { writing-mode: vertical-rl; text-orientation: mixed; background: #FFFDF8; color: #3A2F27; padding: 10px 5px; font-weight: 700; font-size: 14px; line-height: 1.25; letter-spacing: .1em; box-shadow: 0 2px 6px rgba(0, 0, 0, .09); overflow: hidden; }
.pb-badges { position: absolute; right: 10px; bottom: 10px; z-index: 2; display: flex; gap: 6px; margin: 0; }
.pb-badges i { display: grid; place-items: center; width: 68px; height: 68px; background: var(--pb-pink); color: #fff; font-style: normal; text-align: center; font-size: 12px; line-height: 1.3; font-weight: 700; letter-spacing: 0;
  clip-path: polygon(50% 0, 61% 9%, 75% 5%, 81% 18%, 95% 22%, 93% 37%, 100% 50%, 93% 63%, 95% 78%, 81% 82%, 75% 95%, 61% 91%, 50% 100%, 39% 91%, 25% 95%, 19% 82%, 5% 78%, 7% 63%, 0 50%, 7% 37%, 5% 22%, 19% 18%, 25% 5%, 39% 9%); }
.pb-badges i.sm { font-size: 10.5px; }
.pb-badges i:nth-child(2) { transform: rotate(-8deg); }
.pb-iinfo { min-width: 0; text-align: center; }
.pb-iinfo .ox-ih { justify-content: center; }
.pb-iinfo .ox-badges { justify-content: center; }
.ox.v2 .pb-iinfo .ox-brand { margin: 6px 0 0; color: var(--muted); }
.ox.v2 .pb-iinfo .ox-iname { margin: 2px 0 10px; font-size: 18px; line-height: 1.5; }
.pb-iinfo .ox-ibuy { justify-items: center; }
.pb-iinfo .ox-price { justify-items: center; }
.pb-iinfo .ox-price b { color: var(--ink); font-family: var(--pb-hand); font-weight: 500; }
.pb-iinfo .ox-buy.big { width: 100%; max-width: 340px; }
@media (min-width: 640px) {
  .pb-ihead { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
  .pb-iinfo, .pb-iinfo .ox-ih, .pb-iinfo .ox-badges { text-align: left; justify-content: flex-start; }
  .pb-iinfo .ox-ibuy, .pb-iinfo .ox-price { justify-items: start; }
}
.ox-btn { border-radius: 999px; letter-spacing: .03em; }
.ox-rk, .ox-off, .ox-fbtn, .ox-yh.solid { background: var(--pb-navy); color: #fff; }
.ox-am, .ox-yh { background: var(--surface); color: var(--pb-navy-ink); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--pb-navy-ink) 50%, transparent); }
.ox-rk:active, .ox-off:active, .ox-fbtn:active { background: var(--pb-navy-press); }
.ox.v2 .ox-buy.big .ox-btn { flex-direction: row; gap: 8px; min-height: 50px; }
.ox.v2 .ox-buy.big .ox-btn em { font-size: 14px; }
.ox-scorebar { border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-s); margin-top: 18px; }
.ox-scorebar .ox-total b, .ox-scorebar li b { color: var(--pb-pink); }
.ox-feat { border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.ox-feat th, .ox-feat td { border: 0; border-top: 1px solid var(--line); }
.ox-feat tr:first-child > * { border-top: 0; }
.ox-feat td { border-left: 1px solid var(--line); }
.ox-feat th { background: color-mix(in srgb, var(--pb-head) 9%, var(--surface)); color: var(--pb-head); }
.ox.v2 .ox-story { padding: 22px 16px 4px; margin: 30px 2px 14px; }
.ox.v2 .ox-story h4 { margin: 0 0 8px; color: var(--pb-head); font-size: 17px; line-height: 1.6; }
.ox.v2 .ox-story p { font-size: 15px; }
.ox.v2 .ox-good, .ox.v2 .ox-bad { border-radius: 18px; }
.ox-spec { border-radius: 16px; background: var(--surface); border-color: transparent; box-shadow: var(--shadow-s); overflow: hidden; }
.ox-related a, .ox-all summary { border-radius: 16px; border-color: transparent; box-shadow: var(--shadow-s); }
.ox-scorebar .ox-total span, .ox-scorebar ul { font-size: 12.5px; }
.ox-intro mark, .ox-story mark { background: linear-gradient(transparent 60%, color-mix(in srgb, var(--pb-yellow) 70%, transparent) 60%); }
@media (prefers-color-scheme: dark) { .ox-intro mark, .ox-story mark { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--pb-yellow) 38%, transparent) 62%); } }

/* ---- 商品ページの頭：角丸の写真の枠＋丸バッジ ---- */
.pb-ppwrap { position: relative; max-width: 460px; margin: 8px 0 14px; }
.pb-ppwrap .pp-photo { width: 100%; max-width: none; aspect-ratio: 4 / 3; margin: 0; border-radius: 26px; box-shadow: var(--shadow); }
.pb-ppwrap .pp-photo.has-img img { inset: 7% auto auto 8%; width: 68%; height: 82%; }
.pb-ppwrap .pp-photo .thumb-credit { left: 14px; right: auto; bottom: 8px; background: none; text-align: left; }
.pb-ppwrap .pb-badges { right: 4px; bottom: -8px; flex-direction: column; }
.pb-ppwrap .pb-badges i:nth-child(2) { transform: rotate(6deg); }
.pp-title { line-height: 1.5; }
.pp-brand { color: var(--pb-head); }
.badge { border-radius: 999px; }
.pp-claims span { border-radius: 999px; }
.pp-rankchip { border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-s); }
.pp-rankchip b { color: var(--pb-pink); }
.pp-osu-card { border-radius: 20px; }
/* リンの比較の行の購入ボタンも紺の丸いボタンに */
.rin-buy a { border-radius: 999px; color: var(--pb-navy-ink); border-color: color-mix(in srgb, var(--pb-navy-ink) 45%, transparent); }
.rin-buy a:first-child { background: var(--pb-navy); border-color: var(--pb-navy); color: #fff; }

/* ---- 下のタブのバー（緑）と、その上の縁を歩く猫（pb.js が足す） ---- */
.tabbar { background: var(--pb-bar); border-top: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.tabbar a { color: rgba(255, 250, 238, .86); }
.tabbar a[aria-current="page"] { color: #FFFAEE; }
.tabbar a[aria-current="page"] .tab-ic { background: var(--pb-yellow); color: #22463A; }
.tab-badge { box-shadow: 0 0 0 2px var(--pb-bar); }
.pb-walk { position: fixed; left: 0; right: 0; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom)); height: 0; z-index: 31; pointer-events: none; }
body:has(.dock) .pb-walk { bottom: calc(var(--tab-h) + var(--dock-h) + env(safe-area-inset-bottom)); }
.pb-road { position: absolute; left: 20px; right: 30px; top: 5px; height: 0; border-top: 2px dotted rgba(255, 250, 238, .7); }
.pb-done { position: absolute; left: 20px; top: 4px; width: 0; height: 4px; border-radius: 2px; background: var(--pb-yellow); }
.pb-dot { position: absolute; left: 12px; top: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--pb-yellow); }
.pb-goal { position: absolute; right: 12px; bottom: -8px; width: 20px; height: 26px; color: #FFFAEE; }
.pb-goal svg { display: block; width: 100%; height: 100%; }
.pb-wk { position: absolute; left: 0; bottom: -4px; width: 46px; height: 41px; will-change: transform; }
.pb-wk img { display: block; width: 100%; height: auto; transform-origin: 50% 100%; }
.pb-walk.back .pb-wk img { transform: scaleX(-1); }
.pb-walk.goal .pb-goal { animation: pb-flag .6s ease-in-out 2; }
body:has(.dock) .pb-road { border-top-color: color-mix(in srgb, var(--pb-bar) 55%, transparent); }
body:has(.dock) .pb-goal { color: var(--pb-bar); }
.gd-fab { bottom: calc(var(--tab-h) + 28px + env(safe-area-inset-bottom)); }
@media (prefers-reduced-motion: no-preference) {
  .pb-walk.moving .pb-wk img { animation: pb-step .36s ease-in-out infinite; }
  .pb-walk.back.moving .pb-wk img { animation-name: pb-step-back; }
}
@keyframes pb-step { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(-2deg); } }
@keyframes pb-step-back { 0%, 100% { transform: scaleX(-1) translateY(0) rotate(0); } 50% { transform: scaleX(-1) translateY(-3px) rotate(-2deg); } }
@keyframes pb-flag { 50% { transform: rotate(-10deg); } }
@media (min-width: 860px) {
  /* PC はタブのバーが無いので、画面の下に細いバーを出す */
  .pb-walk { bottom: 0; height: 9px; background: var(--pb-bar); }
  body:has(.dock) .pb-walk { bottom: var(--dock-h); }
  .pb-road { top: 3px; } .pb-done { top: 2px; height: 4px; } .pb-dot { top: -2px; } .pb-goal { bottom: 8px; }
  body:has(.dock) .pb-road { border-top-color: rgba(255, 250, 238, .7); }
  body:has(.dock) .pb-goal { color: var(--pb-bar); }
  .pb-goal { color: var(--pb-bar); }
  body { padding-bottom: 9px; }
  body:has(.dock) { padding-bottom: calc(var(--dock-h) + 9px); }
}

/* ---- フッター（上を波にした生成りの色面） ---- */
.site-footer { position: relative; margin-top: 70px; border-top: 0; background-color: var(--pb-cream); background-image: var(--pb-noise); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -45px; height: 46px; background-color: var(--pb-cream); background-image: var(--pb-noise);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 56' preserveAspectRatio='none'%3E%3Cpath d='M0,22 C90,52 190,0 290,30 C370,52 430,10 480,30 L480,56 L0,56 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 56' preserveAspectRatio='none'%3E%3Cpath d='M0,22 C90,52 190,0 290,30 C370,52 430,10 480,30 L480,56 L0,56 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }


/* ---- スクロールで出る（pb.js が見えていない要素にだけ付ける。動きを減らす設定なら付けない） ---- */
@media (prefers-reduced-motion: no-preference) {
  .pb-fade { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); }
  .pb-fade.pb-in { opacity: 1; transform: none; }
}
@media print { .pb-fade { opacity: 1 !important; transform: none !important; } .pb-walk { display: none; } }

/* =====================================================================
   記事・一覧のページも絵本調に（2026-11-02 運営者「各記事もこのデザインを踏襲して」）
   ssg.mjs の pbHead（頭）・pbBands（波でつないだ区画）・pbPoint・pbCard
   ===================================================================== */
.pb-art .pb-band { padding-bottom: 26px; }
.pb-headband { overflow: hidden; }
.pb-tail { height: 0; }
.pb-ahead { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); text-align: center; padding: 2px 0 6px; }
.pb-ahead .pb-blob.b1 { left: -120px; top: -50px; width: 270px; }
.pb-ahead .pb-blob.b2 { right: -120px; top: 110px; width: 250px; }
.pb-ahead-text, .pb-ahead-art { position: relative; z-index: 1; min-width: 0; }
.pb-ahead .gd-meta { justify-content: center; flex-wrap: wrap; gap: 6px 12px; margin: 4px 0 10px; }
.pb-ahead h1 { margin: 2px 0 6px; }
.pb-ahead h1.gd-h1, .pb-ahead h1.page-title { font-size: clamp(25px, 7vw, 34px); line-height: 1.5; letter-spacing: .06em; text-wrap: balance; }
.pb-alead { margin: 8px auto 0; max-width: 580px; font-size: 15px; line-height: 1.95; font-weight: 500; }
.pb-ahead-art { margin: 10px auto 0; }
.pb-aimg { display: block; width: min(50vw, 200px); height: auto; margin: 0 auto; filter: drop-shadow(0 6px 10px rgba(80, 60, 30, .12)); }
.pb-ahead-art .gd-hero { width: min(80vw, 320px); margin: 0 auto; }
.pb-ahead.compact { grid-template-columns: minmax(0, 1fr) 108px; text-align: left; align-items: center; column-gap: 10px; }
.pb-ahead.compact .pb-ahead-art { margin: 0; }
.pb-ahead.compact .pb-aimg { width: 108px; }
.pb-ahead.compact h1.page-title, .pb-ahead.compact h1.gd-h1 { font-size: clamp(22px, 6vw, 30px); }
.pb-ahead.compact .pb-alead, .pb-ahead.compact .gd-meta { margin-left: 0; justify-content: flex-start; }
@media (min-width: 760px) {
  .pb-ahead:not(.noart) { grid-template-columns: minmax(0, 1fr) 260px; text-align: left; column-gap: 30px; align-items: center; padding-top: 8px; }
  .pb-ahead:not(.noart) .gd-meta { justify-content: flex-start; }
  .pb-ahead:not(.noart) .pb-alead { margin-left: 0; }
  .pb-ahead:not(.noart) .pb-ahead-art { margin: 0; }
  .pb-aimg { width: 100%; max-width: 260px; }
  .pb-ahead.compact { grid-template-columns: minmax(0, 1fr) 150px; }
  .pb-ahead.compact .pb-aimg { width: 150px; }
  .pb-ahead .pb-blob.b1 { left: -150px; } .pb-ahead .pb-blob.b2 { right: -40px; top: 0; }
}
/* 区画の最初の見出し・本文の箱 */
.pb-art .pb-band > .wrap > h2:first-child { margin-top: 12px; }
.pb-art .pb-band > .wrap > .pb-point:first-child { margin-top: 22px; }
.art .pb-point { font-size: 15px; }
.pb-point p { margin: 0; }
.pb-point > :last-child { margin-bottom: 0; }
.pb-ptitle { margin: 0 0 8px; font-family: var(--pb-hand); font-weight: 500; color: var(--pb-head); font-size: 17px; letter-spacing: .04em; }
.pb-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.art .pb-checks li, .pb-checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; font-size: 15px; line-height: 1.75; }
.pb-checks .ic { color: var(--pb-head); margin-top: 6px; }
.pb-point.urgent { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--bad) 50%, transparent); }
.pb-point.urgent::before { background: var(--bad); color: #fff; }
.pb-urgent { display: flex; align-items: center; gap: 6px; color: var(--bad); margin: 0 0 4px; font-size: 15.5px; }
.pb-band .gd-trust, .pb-band .gd-toc, .pb-band .gd-cta, .pb-band .gd-pt, .pb-band .cond, .pb-band .maker-list a, .pb-band .free-list a, .pb-band .gd-strip { background: var(--surface); border-color: transparent; box-shadow: var(--shadow-s); border-radius: 20px; }
.gd-trust-ic, .gd-pt summary i { background: color-mix(in srgb, var(--pb-head) 12%, var(--surface)); color: var(--pb-head); }
.gd-toc-title { font-family: var(--pb-hand); font-weight: 500; color: var(--pb-head); }
.gd-toc a::before { background: var(--pb-head); color: var(--paper); }
.gd-cat { border-radius: 999px; color: var(--pb-head); }
.art h2.gd-h2 { border-bottom: 2px dashed color-mix(in srgb, var(--pb-head) 30%, transparent); color: var(--pb-head); }
.gd-h2 i { border-radius: 50%; background: var(--surface); color: var(--pb-head); box-shadow: var(--shadow-s); font-family: var(--pb-hand); font-weight: 500; }
.art h2:not(.gd-h2):not(.pb-h2) { color: var(--pb-head); }
.pb-band .refs { border-top-color: var(--line-strong); }
/* 絵つきの角丸カード */
.guide-card.pb-gc { background: var(--surface); box-shadow: var(--shadow-s); min-height: 172px; padding: 14px 12px 12px; }
.pb-gc b { font-family: var(--pb-hand); font-weight: 500; color: var(--pb-head); font-size: 15.5px; line-height: 1.5; z-index: 1; letter-spacing: .03em; }
.pb-gc span { font-size: 12.5px; max-width: 64%; z-index: 1; line-height: 1.6; }
.pb-gcimg { position: absolute; right: -2px; bottom: -2px; width: 50%; max-width: 128px; height: auto; pointer-events: none; }
.pb-gc .sil { color: var(--pb-head); }
@media (hover: hover) { .guide-card.pb-gc { transition: transform .2s cubic-bezier(.2, .7, .3, 1); } .guide-card.pb-gc:hover { transform: translateY(-3px); } }
@media (min-width: 760px) { .pb-art .guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* 一覧の行は白い角丸の箱に */
.pb-art .rows { background: var(--surface); border-radius: 22px; padding: 4px 12px; box-shadow: var(--shadow-s); }
.pb-art .rows + .rows { margin-top: 10px; }
.pb-art .page-lead { color: var(--ink); font-size: 15px; line-height: 1.9; }
.pb-art .pager a { border-radius: 999px; border-color: transparent; box-shadow: var(--shadow-s); }
.pb-art .pager a[aria-current="page"] { background: var(--pb-head); color: var(--paper); }
.pb-art .sub-title { font-family: var(--pb-hand); font-weight: 500; color: var(--pb-head); letter-spacing: .04em; }
.pb-prose .pb-ahead { overflow: hidden; margin: 0 -4px; padding: 0 4px 6px; }
.pb-count { display: inline-block; margin-right: 8px; padding: 0 10px; border-radius: 999px; background: var(--pb-pink); color: #fff; font-size: 13px; line-height: 1.9; }
.pb-silart { width: min(50vw, 200px); height: 150px; margin: 0 auto; color: var(--pb-head); }
.pb-silart .sil { display: block; width: 100%; height: 100%; }
.pb-ahead.compact .pb-silart { width: 108px; height: 96px; }
.pb-foodart { display: flex; justify-content: center; align-items: flex-end; gap: 6px; }
.pb-foodart img { width: min(26vw, 100px); height: auto; filter: drop-shadow(0 4px 6px rgba(80, 60, 30, .1)); }
@media (min-width: 760px) { .pb-foodart { flex-wrap: wrap; } .pb-foodart img { width: 110px; } }
/* 〇〇なし・リンの入口：小さな絵つきの行 */
.free-list.pb-free a { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; }
.pb-ficon { width: 52px; height: 44px; object-fit: contain; }
.pb-ficon.none { display: grid; place-items: center; font-size: 26px; color: var(--pb-head); background: color-mix(in srgb, var(--pb-head) 10%, var(--surface)); border-radius: 50%; width: 44px; height: 44px; margin: 0 4px; }
.free-list.pb-free b { font-size: 15px; }
/* 猫種の絵のカード */
.breed-card.pb-bc { padding: 10px 8px 12px; }
.pb-bcimg { width: 100%; max-width: 120px; height: 96px; object-fit: contain; }
.breed-grid .breed-card { border-radius: 20px; box-shadow: var(--shadow-s); border-color: transparent; }
@media (min-width: 760px) { .pb-art .breed-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rin-tab { border-radius: 999px 999px 0 0; }
.rin-tab[aria-pressed="true"] { background: var(--pb-head); border-color: var(--pb-head); color: var(--paper); }
.rin-row { border-color: transparent; box-shadow: var(--shadow-s); border-radius: 20px; }
.pb-art .os-pr { margin-top: 0; }
/* 新しい絵（2026-11-02）を、シルエットの代わりに使う場所 */
.hm-ill.pb-ill { background: color-mix(in srgb, var(--pb-head) 8%, var(--surface)); display: grid; place-items: center; }
.hm-ill.pb-ill img { width: 100%; height: 100%; object-fit: contain; padding: 2px; }
.pb-oximg { width: 58px; height: 52px; object-fit: contain; flex: none; }
.pp-osu-card .pb-osuimg { object-fit: contain; }
.breed-scroll .breed-card.pb-bc { padding: 10px 8px 12px; }
.breed-scroll .pb-bcimg { width: 92px; height: 84px; object-fit: contain; }
.pb-prose .pb-blob { display: none; }
.prose h2 { font-family: var(--pb-hand); font-weight: 500; color: var(--pb-head); letter-spacing: .04em; }

/* =====================================================================
   絵の大きさをそろえる（2026-11-03 運営者の指摘：縦長の絵がカードいっぱいに広がり文字に重なる）
   絵の入るカードは、絵を決まった大きさの箱（object-fit: contain・右下）に入れ、文字は箱の分だけ右をあける
   ===================================================================== */
:root { --pb-box-w: 96px; --pb-box-h: 88px; }
@media (min-width: 640px) { :root { --pb-box-w: 132px; --pb-box-h: 116px; } }
.guide-card.pb-gc, .pb-purpose .hm-pc, .pb-purpose .hm-pc.t2, .pb-purpose .hm-pc.t3, .pb-purpose .hm-pc.t4 {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--pb-box-w); grid-template-rows: auto 1fr auto; column-gap: 12px; align-items: start;
  min-height: calc(var(--pb-box-h) + 28px); padding: 14px 12px 12px 16px; }
.pb-gc > b, .pb-purpose .hm-pc > b { grid-column: 1; grid-row: 1; max-width: none; }
.pb-gc > span, .pb-purpose .hm-pc > span { grid-column: 1; grid-row: 2; max-width: none; margin-top: 4px; }
.pb-gcimg, .pb-pcimg { position: static; grid-column: 2; grid-row: 1 / -1; align-self: end; justify-self: end; width: var(--pb-box-w); height: var(--pb-box-h); max-width: none; object-fit: contain; object-position: right bottom; }
.pb-gc > .sil { position: static; grid-column: 2; grid-row: 1 / -1; align-self: end; width: var(--pb-box-w); height: var(--pb-box-h); }
.pb-purpose .hm-pc > em { position: static; grid-column: 1; grid-row: 3; justify-self: start; align-self: end; margin-top: 10px; }
.pb-art .guide-grid, .pb-purpose { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .pb-art .guide-grid, .pb-purpose { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 760px) { .pb-art .guide-grid, .pb-purpose { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 記事の頭の絵も箱に（縦長でも高くなりすぎない） */
.pb-aimg { height: 170px; object-fit: contain; }
.pb-ahead.compact .pb-aimg { height: 96px; }
@media (min-width: 760px) { .pb-aimg { height: 220px; } .pb-ahead.compact .pb-aimg { height: 130px; } }
/* ロゴ（マーク＋名前の字。2026-11-03 運営者が案4を選んだ） */
.logo.logo-img { gap: 8px; letter-spacing: 0; }
.logo.logo-img .logo-mk { width: 44px; height: 44px; flex: none; }
.logo.logo-img .logo-wd { height: 26px; width: auto; display: block; }
@media (max-width: 560px) { .logo.logo-img .logo-mk { width: 38px; height: 38px; } .logo.logo-img .logo-wd { height: 23px; } }
/* ロゴが横長になったので、PC のメニューを1行に保つ */
.site-header .nav a { white-space: nowrap; padding-left: 10px; padding-right: 10px; }
@media (min-width: 761px) and (max-width: 1180px) { .logo.logo-img .logo-wd { height: 22px; } .logo.logo-img .logo-mk { width: 40px; height: 40px; } .site-header .nav a { padding-left: 8px; padding-right: 8px; font-size: 14px; } }

/* =====================================================================
   検索で来た人の疑問に答える記事（2026-11-11）— 洗剤ずかんの「成分ガイド」と同じ流れを、絵本調の色で
   ssg.mjs の sgArticle。答え・結論・疑問のカード・ざっくり比べ・まとめの囲み・目的別のおすすめ・もっとくわしく
   ===================================================================== */
.sg .sg-catch { font-size: 14.5px; font-weight: 700; color: var(--pb-rose); margin: -2px 0 8px; line-height: 1.7; }
.sg .ox-hero h1 { font-size: clamp(23px, 5.6vw, 32px); }
.sg-hpics .sg-hart { display: grid; place-items: center; background: #FFFDF8; }
.sg-hpics .sg-hart img, .sg-hpics .sg-hart svg { width: 92%; height: 92%; object-fit: contain; }
.sg-hpics .sg-hart .sil { color: var(--pb-head); }
/* 答え：検索の疑問にすぐ答える */
.sg-answer { background: var(--surface); border-radius: 22px; box-shadow: var(--shadow); padding: 16px 16px 14px; margin: 4px 0 18px; border: 2px solid color-mix(in srgb, var(--pb-head) 35%, transparent); }
.sg-aq, .sg-aa { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; }
.sg-aq { font-weight: 700; font-size: 15px; line-height: 1.6; }
.sg-aq i, .sg-aa i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-style: normal; font-family: var(--pb-hand); font-size: 15px; color: #fff; background: var(--pb-navy); }
.sg-aa i { background: var(--pb-pink); margin-top: 6px; }
.sg-aa b { font-family: var(--pb-hand); font-weight: 500; font-size: clamp(30px, 9vw, 40px); line-height: 1.25; color: var(--pb-pink); letter-spacing: .04em; }
.sg-choices { list-style: none; display: flex; gap: 8px; margin: 2px 0 10px 38px; padding: 0; flex-wrap: wrap; }
.sg-choices li { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; padding: 5px 12px; border-radius: 999px; background: var(--surface-2); color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 60%, transparent); }
.sg-choices li svg { width: 15px; height: 15px; }
.sg-choices li.ok { background: color-mix(in srgb, var(--pb-pink) 14%, var(--surface)); color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--pb-pink); }
.sg-choices li.ok svg { color: var(--pb-pink); }
.sg-choices li small { font-size: 10.5px; color: #fff; background: var(--pb-pink); border-radius: 999px; padding: 0 6px; margin-left: 2px; }
.sg-alist { list-style: none; counter-reset: sga; margin: 4px 0 10px; padding: 0; display: grid; gap: 8px; }
.sg-alist li { counter-increment: sga; position: relative; padding: 10px 12px 10px 44px; background: var(--surface-2); border-radius: 14px; }
.sg-alist li::before { content: counter(sga); position: absolute; left: 10px; top: 10px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--pb-pink); color: #fff; font-family: var(--pb-hand); font-size: 13px; }
.sg-alist b { display: block; font-size: 15px; line-height: 1.5; color: var(--pb-head); }
.sg-alist span { display: block; font-size: 13.5px; line-height: 1.8; margin-top: 2px; }
.sg-asub { font-size: 13.5px; line-height: 1.85; color: var(--muted); margin: 0 0 6px; }
.sg-atext { font-size: 15px; line-height: 1.95; margin: 0; }
/* 本文 */
.sg .sg-intro p, .sg #types > p, .sg .sg-final > p { font-size: 15.5px; line-height: 1.95; }
.sg .sg-em { font-weight: 700; color: var(--ink); background: linear-gradient(transparent 58%, color-mix(in srgb, var(--pb-yellow) 62%, transparent) 58%); padding: 0 1px; }
/* 忙しい人のための結論 */
.sg-sum { background: var(--surface); border: 2px solid var(--pb-head); border-radius: 22px; padding: 16px 16px 14px; margin: 18px 0 14px; box-shadow: var(--shadow-s); }
.sg-sum-h { display: flex; align-items: center; gap: 8px; font-family: var(--pb-hand); font-weight: 500; font-size: 17px; color: var(--pb-head); margin-bottom: 6px; }
.sg-sum-h svg { width: 20px; height: 20px; flex: none; }
.sg-sum ul { margin: 0; padding-left: 1.2em; } .sg-sum li { margin: 8px 0; line-height: 1.85; font-size: 15.5px; }
.sg-sum-go { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; min-height: 48px; border-radius: 999px; background: var(--pb-navy); color: #fff; font-weight: 700; text-decoration: none; letter-spacing: .03em; }
.sg-sum-go:active { background: var(--pb-navy-press); }
.sg-sum-go svg { width: 16px; height: 16px; }
/* こんな悩み、ありませんか？（絵つきの疑問カード） */
.sg-why { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .sg-why { grid-template-columns: 1fr 1fr; } }
.sg-q { display: flex; flex-direction: column; background: var(--surface); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-s); }
.sg-qimg { display: grid; place-items: center; height: 150px; background-color: var(--pb-cream); background-image: var(--pb-noise); }
.sg-qimg img { width: auto; height: 132px; max-width: 80%; object-fit: contain; border-radius: 12px; }
.sg-q > div { padding: 12px 15px 15px; }
.sg-q b { display: block; font-size: 16px; line-height: 1.55; margin-bottom: 6px; color: var(--pb-head); }
.sg-q p { margin: 0; font-size: 14px; line-height: 1.85; }
.sg-more { display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--pb-navy-ink); } .sg-more svg { width: 14px; height: 14px; }
/* ざっくり比べ */
.sg-groups { display: grid; gap: 10px; grid-template-columns: 1fr; margin: 12px 0; } @media (min-width: 640px) { .sg-groups { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.sg-g { background: var(--surface); border-radius: 20px; padding: 12px; display: grid; grid-template-columns: 84px 1fr; gap: 4px 12px; align-items: start; box-shadow: var(--shadow-s); }
.sg-gph { grid-row: span 2; width: 84px; height: 84px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; position: relative; margin-bottom: 14px; }
.sg-gph.has-img img { inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }
.sg-gph svg { width: 40px; height: 40px; color: var(--pb-head); opacity: .5; }
.sg-gh { font-size: 16px; color: var(--pb-head); font-family: var(--pb-hand); font-weight: 500; }
.sg-g dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; font-size: 13px; } .sg-g dt { color: var(--muted); } .sg-g dd { margin: 0; font-weight: 700; }
.sg-for { grid-column: 1 / -1; display: flex; gap: 6px; align-items: center; margin: 6px 0 0; font-size: 13px; font-weight: 700; color: var(--pb-head); background: color-mix(in srgb, var(--pb-mint) 55%, var(--surface)); border-radius: 12px; padding: 7px 10px; line-height: 1.5; }
.sg-for svg { width: 16px; height: 16px; flex: none; }
.sg-fig { background: var(--surface); box-shadow: var(--shadow-s); border-radius: 20px; padding: 14px; margin: 14px 0 0; }
.sg-fig figcaption { margin: 0 0 10px; }
.sg-bars { display: grid; gap: 12px; }
.sg-bar { display: grid; grid-template-columns: 7.2em 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.sg-bar span { font-weight: 700; line-height: 1.35; }
.sg-track { position: relative; height: 14px; border-radius: 99px; background: var(--surface-2); }
.sg-track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; min-width: 8px; background: var(--pb-head); }
.sg-bar:first-child .sg-track i { background: var(--pb-pink); }
.sg-bar b { white-space: nowrap; font-size: 13px; }
.sg-stack { display: flex; height: 22px; border-radius: 99px; overflow: hidden; background: var(--surface-2); }
.sg-stack i { display: block; height: 100%; } .sg-stack i.a, .sg-legend i.a { background: var(--pb-head); } .sg-stack i.b, .sg-legend i.b { background: var(--pb-pink); }
.sg-legend { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.sg-legend li { display: flex; align-items: center; gap: 6px; } .sg-legend li i { width: 12px; height: 12px; border-radius: 4px; flex: none; } .sg-legend b { margin-left: auto; }
.sg-fignote { margin: 10px 0 0; font-size: 13px; line-height: 1.8; color: var(--muted); }
.sg-conds { display: grid; gap: 10px; margin: 12px 0; }
.sg-cond { background: var(--surface); border-radius: 20px; padding: 14px; box-shadow: var(--shadow-s); }
.sg-cond b { display: flex; gap: 8px; align-items: flex-start; font-size: 15.5px; line-height: 1.55; color: var(--pb-head); }
.sg-cond b i { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--pb-head); color: var(--paper); font-style: normal; font-size: 12.5px; }
.sg-cond p { margin: 6px 0 4px; font-size: 14px; line-height: 1.85; }
.sg-cond small { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.sg-cond small svg { width: 14px; height: 14px; flex: none; margin-top: 3px; }
/* 章のまとめ：大きい文字の囲み */
.sg-callout { display: grid; gap: 6px; text-align: center; background: var(--note); border: 2px solid var(--note-line); border-radius: 22px; padding: 16px 14px; margin: 16px 0 8px; font-family: var(--pb-hand); font-weight: 500; font-size: clamp(17px, 4.6vw, 20px); line-height: 1.8; color: var(--ink); }
.sg-callout-h { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--pb-font); font-size: 13px; font-weight: 700; color: color-mix(in srgb, var(--pb-head) 85%, var(--ink)); letter-spacing: .1em; }
.sg-callout-h svg { width: 16px; height: 16px; }
.sg-callout .sg-em { background: none; }
/* あなたに合う〇〇はこれ */
.sg .sg-need h3 { font-size: 18px; line-height: 1.5; align-items: flex-start; } .sg .sg-need h3 i { margin-top: 1px; }
.sg .sg-need > p { font-size: 15px; }
.sg-pick { border-radius: 20px; padding: 12px; margin: 10px 0 4px; background: var(--paper); }
.sg-pick.big { background: var(--surface); box-shadow: 0 0 0 2px var(--pb-head), var(--shadow-s); }
.sg-pick-top { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 8px; }
.sg-ph { width: 96px; height: 96px; flex: none; border-radius: 14px; background: #fff; display: grid; place-items: center; border: 1px solid var(--line); position: relative; margin-bottom: 14px; }
.sg-ph.has-img img { inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }
.sg-ph svg { width: 44px; height: 44px; color: var(--pb-head); opacity: .5; }
.sg .sg-ph .thumb-credit, .sg .sg-gph .thumb-credit { left: 0; right: 0; bottom: -15px; text-align: center; font-size: 9px; line-height: 1.2; white-space: nowrap; background: none; color: var(--muted); }
.sg-pick-tx { min-width: 0; }
.sg-tag { display: inline-block; font-size: 11.5px; font-weight: 700; color: #fff; background: var(--pb-pink); border-radius: 99px; padding: 2px 10px; margin-right: 4px; }
.sg-brand { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.sg-pname { display: block; font-size: 15px; line-height: 1.5; margin: 0 0 6px; } .sg-pname a { color: var(--ink); }
.sg-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.sg-chips li { font-size: 12px; background: var(--surface-2); border-radius: 8px; padding: 2px 8px; color: var(--muted); } .sg-chips b { color: var(--ink); font-weight: 700; }
.sg-rank { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--pb-navy-ink); }
.sg-rank svg { width: 14px; height: 14px; color: var(--pb-pink); }
.sg-price { margin: 4px 2px 10px; font-size: 13px; line-height: 1.6; }
.sg-price b { font-family: var(--pb-hand); font-weight: 500; font-size: 22px; color: var(--pb-pink); }
.sg-price small { display: block; font-size: 11.5px; color: var(--muted); }
.sg-pick .ox-buy.big { max-width: none; }
.sg-alt, .sg-none { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
/* 迷ったら、まずはこれ */
.sg-final { background-color: var(--pb-mint2); background-image: var(--pb-noise); border-radius: 26px; padding: 2px 14px 16px; }
.sg-final .ox-h2 { margin-top: 26px; }
/* もっとくわしく（たたむ） */
.sg-data { background: var(--surface); border-radius: 18px; margin: 0 0 8px; box-shadow: var(--shadow-s); }
.sg-data > summary { display: flex; align-items: center; gap: 8px; padding: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.sg-data > summary::-webkit-details-marker { display: none; }
.sg-data > summary::after { content: "＋"; margin-left: auto; color: var(--pb-head); } .sg-data[open] > summary::after { content: "－"; }
.sg-data > summary svg { width: 18px; height: 18px; flex: none; color: var(--pb-head); }
.sg-data[open] { padding: 0 14px 14px; } .sg-data[open] > summary { padding: 14px 0; }
.sg-data p, .sg-data li { font-size: 14px; line-height: 1.9; }
.sg-table th, .sg-table td { white-space: nowrap; font-size: 13px; }
.sg .refs { margin-top: 14px; }
.sg .ox-editor { margin: 26px 0 8px; }
.sg #all .rows { margin-top: 12px; }
.ox.v2.sg .sg-pick .ox-buy.big { grid-template-columns: 1fr 1fr; }
.sg-pick .ox-buy.big .ox-rk, .sg-pick .ox-buy.big .ox-off { grid-column: 1 / -1; }
.sg-pick .ox-buy.big .ox-am, .sg-pick .ox-buy.big .ox-yh { min-height: 46px; font-size: 13.5px; }
.sg-pick .ox-buy.big .ox-am:only-of-type { grid-column: 1 / -1; }
.sg-aa b.long { font-size: clamp(24px, 7vw, 34px); }
.sg-g dl { grid-template-columns: 1fr auto; } .sg-g dd { white-space: nowrap; text-align: right; }
.sg-bar { grid-template-columns: 1fr auto; gap: 4px 10px; } .sg-bar span { grid-column: 1 / -1; font-size: 12.5px; }

/* ---- 楽天の値段を2段で（1袋・まとめ買い）2026-11-11 ---- ssg.mjs の rkOffers。犬のサイト（inufood/site/pb.css の .rk-offer*）と同じ形。色だけ猫の絵本調の変数 */
.rk-offers { display: grid; gap: 8px; margin: 6px 0 8px; }
.rk-offer { position: relative; display: grid; gap: 2px; padding: 12px 14px 12px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--pb-navy) 55%, transparent); color: var(--ink); text-decoration: none; text-align: left; }
.rk-offer:active { background: var(--surface-2); }
.rk-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rk-k { font-weight: 700; font-size: 14px; line-height: 1.5; }
.rk-good { font-style: normal; font-size: 11px; font-weight: 700; line-height: 1.7; color: #5a3d00; background: #ffe08a; border-radius: 99px; padding: 0 9px; white-space: nowrap; }
.rk-mid { display: flex; align-items: baseline; gap: 2px 6px; flex-wrap: wrap; }
.rk-y { font-family: var(--pb-hand); font-weight: 500; font-size: 22px; line-height: 1.35; color: var(--pb-pink); }
.rk-each, .rk-sub { font-size: 12px; color: var(--muted); line-height: 1.5; }
.rk-go { position: relative; display: flex; align-items: center; justify-content: center; margin-top: 8px; min-height: 44px; padding: 0 34px; border-radius: 999px; background: var(--pb-navy); color: #fff; font-size: 13.5px; font-weight: 700; letter-spacing: .04em; }
.rk-go::before { content: ""; position: absolute; left: 16px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #e04040; box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
.rk-go::after { content: "›"; position: absolute; right: 16px; top: 50%; transform: translateY(-54%); font-size: 20px; font-weight: 500; line-height: 1; }
.rk-offer.rk-bulk .rk-go { background: var(--surface); color: var(--pb-navy-ink); box-shadow: inset 0 0 0 1.5px currentColor; }
.rk-note { margin: 0 0 8px; }
.ox-buy-rest { margin-top: 2px; }
@media (min-width: 640px) { .rk-offers { grid-template-columns: 1fr 1fr; } }
/* 上の列（小さく） */
.rk-offers.compact { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.rk-offer.compact { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--pb-navy); box-shadow: none; color: #fff; }
.rk-offer.compact.rk-bulk { background: var(--surface); color: var(--pb-navy-ink); box-shadow: inset 0 0 0 1.5px currentColor; }
.rk-offer.compact .rk-k { font-size: 12.5px; }
.rk-offer.compact .rk-y { font-family: var(--pb-font); font-weight: 700; font-size: 13.5px; color: inherit; }
.rk-offer.compact .rk-good { font-size: 10px; }
.pp-buy-top.has-offers { flex-wrap: wrap; }
.pb-iinfo .rk-offers { max-width: 340px; margin-left: auto; margin-right: auto; }
@media (min-width: 640px) { .pb-iinfo .rk-offers { margin-left: 0; grid-template-columns: 1fr; } }
.ox-table td small { display: block; font-size: 10px; color: var(--muted); }
