/* 会社設立の社会保険早わかり（S-26）
   配色トークン：オーキッドは面・飾り専用（文字は載せない：白4.08／墨3.80で4.5未満）。
   文字を載せる濃い面は --shh-deep（白文字 7.06）、文字色のオーキッドは --shh-orchid-ink（白地 5.75／淡灰 4.99）。 */
:root {
	--shh-orchid: #c05a96;
	--shh-orchid-ink: #a3437c;
	--shh-deep: #8e3a6d;
	--shh-plum: #6d2a55;
	--shh-mauve: #5e4a58;
	--shh-white: #ffffff;
	--shh-gray: #f1eef0;
	--shh-pale: #f8edf3;
	--shh-soft: #efd3e3;
	--shh-ink: #2b2129;
	--shh-sub: #5e4a58;
	--shh-seg-pen: #6d2a55;
	--shh-seg-hea: #c05a96;
	--shh-seg-kai: #e3a6c9;
	--shh-seg-shi: #9a8794;
	--shh-seg-kyo: #d8c9d3;
	--shh-r: 18px;
	--shh-pill: 999px;
	--shh-head: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
	--shh-text: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
	--shh-wide: 1180px;
	--shh-gut: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--shh-white); color: var(--shh-ink); font-family: var(--shh-text); font-weight: 400; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--shh-orchid-ink); text-underline-offset: 3px; }
a:hover { color: var(--shh-deep); }
h1, h2, h3, h4, h5 { font-family: var(--shh-head); font-weight: 900; line-height: 1.35; letter-spacing: .01em; }
.shh-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shh-skip { position: absolute; left: -999px; top: 8px; background: var(--shh-deep); color: #fff; padding: 8px 14px; border-radius: var(--shh-pill); z-index: 99; }
.shh-skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--shh-deep); outline-offset: 2px; }

/* ---------------- ヘッダー（スクロールで流れる細い行） */
.shh-top { background: var(--shh-white); }
.shh-top__in { max-width: var(--shh-wide); margin: 0 auto; padding: 10px var(--shh-gut); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.shh-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--shh-ink); font-family: var(--shh-head); font-weight: 900; font-size: 18px; }
.shh-brand b { color: var(--shh-orchid-ink); font-weight: 900; }
.shh-top__sub { margin: 0; font-size: 12px; color: var(--shh-sub); flex: 1 1 260px; }
.shh-find { display: flex; gap: 6px; flex: 0 1 280px; min-width: 0; }
.shh-find input { flex: 1; min-width: 0; border: 0; background: var(--shh-gray); border-radius: var(--shh-pill); padding: 7px 14px; font: inherit; font-size: 14px; color: var(--shh-ink); }
.shh-find button { border: 0; background: var(--shh-deep); color: #fff; border-radius: var(--shh-pill); padding: 6px 16px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.shh-find--wide { max-width: 520px; margin: 18px 0; }

/* ---------------- 条件バー（上部に追従：ナビを兼ねる） */
.shh-condbar { position: sticky; top: 0; z-index: 40; background: var(--shh-white); box-shadow: 0 1px 0 var(--shh-soft); }
.shh-condbar.is-stuck { box-shadow: 0 6px 18px rgba(43, 33, 41, .1); }
.shh-condbar__in { max-width: var(--shh-wide); margin: 0 auto; padding: 8px var(--shh-gut); display: flex; align-items: center; gap: 10px; overflow-x: auto; scrollbar-width: thin; }
.shh-condbar__lead { flex: none; font-size: 12px; font-weight: 800; color: var(--shh-plum); writing-mode: horizontal-tb; }
.shh-condbar__list { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; flex: none; }
.shh-cb > a, .shh-cb--split { display: inline-flex; align-items: center; gap: 7px; background: var(--shh-gray); border-radius: var(--shh-pill); padding: 4px 6px 4px 5px; text-decoration: none; color: var(--shh-ink); font-size: 13px; font-weight: 700; white-space: nowrap; }
.shh-cb img { width: 28px; height: 28px; border-radius: 9px; flex: none; }
.shh-cb__knob { width: 30px; height: 18px; border-radius: 9px; background: #d9cfd5; position: relative; flex: none; }
.shh-cb__knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform .15s; }
.shh-cb > a[aria-checked="true"] { background: var(--shh-deep); color: #fff; }
.shh-cb > a[aria-checked="true"] .shh-cb__knob { background: var(--shh-orchid); }
.shh-cb > a[aria-checked="true"] .shh-cb__knob::after { transform: translateX(12px); }
.shh-cb > a:hover .shh-cb__knob::after { transform: translateX(6px); }
.shh-cb__seg { display: inline-flex; background: #fff; border-radius: var(--shh-pill); padding: 2px; }
.shh-cb__seg a { padding: 1px 10px; border-radius: var(--shh-pill); text-decoration: none; color: var(--shh-plum); }
.shh-cb__seg a[aria-checked="true"] { background: var(--shh-deep); color: #fff; }
.shh-condbar__all { flex: none; font-size: 12px; font-weight: 700; margin-left: auto; white-space: nowrap; }

.shh-main { max-width: var(--shh-wide); margin: 0 auto; padding: 0 var(--shh-gut) 140px; }

/* ---------------- パンくず */
.shh-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 16px 0 0; padding: 0; font-size: 12px; color: var(--shh-sub); }
.shh-crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--shh-orchid-ink); }
.shh-crumbs span[aria-current] { color: var(--shh-sub); }

/* ---------------- 見出し（セクション） */
.shh-sec-h { font-size: clamp(24px, 4vw, 34px); margin: 64px 0 22px; display: flex; flex-direction: column; gap: 2px; }
.shh-sec-h span { font-size: 13px; font-weight: 800; color: var(--shh-orchid-ink); letter-spacing: .08em; }

/* ---------------- ヒーロー：2本の導線（最上部）＋傘の画像 */
.shh-hero { padding-top: 14px; }
.shh-doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.shh-door { display: flex; align-items: center; gap: 14px; text-decoration: none; border-radius: var(--shh-pill); padding: 8px 26px 8px 10px; color: #fff; background: var(--shh-deep); }
.shh-door--hire { background: var(--shh-plum); }
.shh-door img { width: 52px; height: 60px; background: #fff; border-radius: 50%; padding: 4px; flex: none; }
.shh-door span { display: flex; flex-direction: column; line-height: 1.3; }
.shh-door small { font-size: 14px; font-weight: 700; }
.shh-door b { font-family: var(--shh-head); font-weight: 900; font-size: 24px; }
.shh-door b::after { content: " →"; }
.shh-door:hover { color: #fff; filter: brightness(1.1); }
.shh-hero__body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 12px 40px; align-items: center; margin-top: 18px; }
.shh-hero__text h1 { font-size: clamp(32px, 6vw, 58px); margin: 8px 0 18px; color: var(--shh-ink); }
.shh-hero__text p { margin: 0 0 12px; }
.shh-hero__note { font-size: 13px; color: var(--shh-sub); background: var(--shh-gray); border-radius: var(--shh-r); padding: 10px 14px; }
.shh-hero__fig { margin: 0; }
.shh-hero__fig img { display: block; width: 100%; height: auto; }

/* ---------------- 主役：標準報酬月額の階段 */
.shh-stage { margin-top: 48px; background: var(--shh-gray); border-radius: 32px; padding: 26px clamp(14px, 3vw, 34px) 22px; }
.shh-stage__kicker { margin: 0; font-size: 13px; font-weight: 800; color: var(--shh-orchid-ink); }
.shh-stage h2 { font-size: clamp(22px, 3.4vw, 32px); margin: 4px 0 12px; }
.shh-stage__cond { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.shh-stage__cond span { background: #fff; border-radius: var(--shh-pill); padding: 2px 12px; font-size: 13px; font-weight: 700; color: var(--shh-plum); }
.shh-stage__age { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 700; cursor: pointer; }
.shh-stage__age input { width: 18px; height: 18px; accent-color: var(--shh-deep); }
.shh-stage__body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; margin-top: 14px; }
.shh-stairs { grid-column: span 2; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; align-items: end; min-height: 440px; }
.shh-step { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.shh-bars { display: flex; gap: 3px; align-items: flex-end; height: 300px; width: 100%; justify-content: center; }
.shh-bar { width: min(44%, 30px); display: flex; flex-direction: column-reverse; border-radius: 10px 10px 4px 4px; overflow: hidden; height: 100%; justify-content: flex-start; }
.shh-seg { display: block; height: calc(var(--v) * 1%); }
.shh-seg--pen { background: var(--shh-seg-pen); }
.shh-seg--hea { background: var(--shh-seg-hea); }
.shh-seg--kai { background: var(--shh-seg-kai); }
.shh-seg--shi { background: var(--shh-seg-shi); }
.shh-seg--kyo { background: var(--shh-seg-kyo); }
.shh-stage.no-kai .shh-seg--kai, .shh-stage.no-kai .js-kai { display: none; }
.shh-step__base { margin: 0; text-align: center; line-height: 1.3; background: #fff; border-radius: 12px; padding: 6px 4px; width: 100%; }
.shh-step__man { display: block; font-family: var(--shh-head); font-weight: 900; font-size: 15px; }
.shh-step__base small { font-size: 10px; color: var(--shh-sub); }
/* 段ごとに形の違うラベル */
.shh-lab { margin: 0; font-size: 12px; line-height: 1.3; text-align: center; color: var(--shh-ink); }
.shh-lab b { white-space: nowrap; font-family: var(--shh-head); font-weight: 900; font-size: 14px; color: var(--shh-plum); }
.shh-lab--pill { background: #fff; border-radius: var(--shh-pill); padding: 4px 10px; }
.shh-lab--bubble { position: relative; background: var(--shh-deep); border-radius: 14px; padding: 4px 8px; }
.shh-lab--bubble p { margin: 0; color: #fff; }
.shh-lab--bubble b { color: #fff; }
.shh-lab--bubble::after { content: ""; position: absolute; left: 50%; bottom: -7px; margin-left: -7px; border: 7px solid transparent; border-bottom: 0; border-top-color: var(--shh-deep); }
.shh-lab--tag { background: #fff; padding: 4px 10px 4px 16px; clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%); }
.shh-lab--tag i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--shh-orchid); margin-right: 4px; vertical-align: middle; }
.shh-lab--disc { width: 76px; height: 76px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; justify-content: center; }
.shh-lab--disc small { font-size: 10px; }
.shh-lab--flag { display: flex; flex-direction: column; background: var(--shh-plum); color: #fff; padding: 5px 10px 10px; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); }
.shh-lab--flag b, .shh-lab--flag strong { color: #fff; }
.shh-lab--card { background: #fff; border-radius: 14px; padding: 6px 8px; display: grid; grid-template-columns: auto auto; gap: 0 6px; text-align: left; }
.shh-lab--card dt { font-size: 10px; color: var(--shh-sub); align-self: center; }
.shh-lab--card dd { margin: 0; white-space: nowrap; }
.shh-lab--card b { font-size: 12px; }
.shh-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 0; margin: 16px 0 6px; font-size: 13px; }
.shh-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; }
.shh-legend__lr { color: var(--shh-sub); }
.shh-stage__foot p { font-size: 12px; color: var(--shh-sub); margin: 6px 0; }
/* 人物ピクト（5人、構造を1人ずつ変える） */
.shh-pictos { background: #fff; border-radius: 24px; padding: 14px; }
.shh-pictos__h { margin: 0 0 8px; font-size: 16px; }
.shh-pictos__list { display: flex; flex-direction: column; gap: 10px; }
.shh-pc { margin: 0; font-size: 13px; line-height: 1.55; }
.shh-pc img { width: 56px; height: 66px; flex: none; }
.shh-pc a { font-weight: 800; }
.shh-pc0 { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--shh-ink); background: var(--shh-pale); border-radius: 16px; padding: 6px 10px; }
.shh-pc0 b { display: block; color: var(--shh-orchid-ink); }
.shh-pc0 small { font-size: 12px; }
.shh-pc1 { display: flex; gap: 10px; align-items: center; }
.shh-pc1 p { margin: 0; }
.shh-pc1 a { display: block; }
.shh-pc2 { display: grid; grid-template-columns: 56px 1fr; gap: 0 10px; align-items: center; border-top: 2px dotted var(--shh-soft); padding-top: 8px; }
.shh-pc2 img { grid-row: span 2; }
.shh-pc2 p { margin: 0; }
.shh-pc3 { display: grid; grid-template-columns: 1fr 56px; gap: 0 10px; background: var(--shh-gray); border-radius: 16px; padding: 6px 10px; }
.shh-pc3 > div { grid-column: 2; grid-row: span 2; }
.shh-pc3 h4 { margin: 0; font-size: 14px; grid-row: 1; grid-column: 1; }
.shh-pc3 p { margin: 0; grid-column: 1; }
.shh-pc4 { display: grid; grid-template-columns: 56px 1fr; gap: 0 10px; }
.shh-pc4 dt { grid-row: span 2; }
.shh-pc4 dd { margin: 0; }

/* ---------------- 一覧：カテゴリータイル（12変種＋語の列） */
.shh-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; align-items: start; }
.shh-t { margin: 0; border-radius: 22px; overflow: hidden; position: relative; }
.shh-t h3 { font-size: 17px; margin: 0; }
.shh-t h3 a, .shh-t strong, .shh-t dt a { color: var(--shh-ink); text-decoration: none; }
.shh-t h3 a:hover { color: var(--shh-orchid-ink); }
.shh-t p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--shh-sub); }
.shh-t img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.shh-t0 { background: var(--shh-gray); }
.shh-t0 h3, .shh-t0 p { padding: 0 16px; }
.shh-t0 h3 { padding-top: 12px; font-size: 19px; }
.shh-t0 p { padding-bottom: 16px; }
.shh-t1 { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--shh-pale); border-radius: var(--shh-pill); }
.shh-t1 span { margin-left: auto; font-size: 12px; font-weight: 800; color: var(--shh-plum); }
.shh-t2 { background: #fff; box-shadow: 0 0 0 2px var(--shh-gray) inset; }
.shh-t2__f { position: relative; }
.shh-t2__f span { position: absolute; right: 10px; top: 10px; background: var(--shh-deep); color: #fff; border-radius: var(--shh-pill); padding: 0 10px; font-size: 12px; font-weight: 800; }
.shh-t2 h3 { padding: 10px 14px 14px; }
.shh-t3 { display: flex; gap: 12px; align-items: center; background: var(--shh-deep); color: #fff; padding: 16px; text-decoration: none; border-radius: 22px 22px 22px 4px; }
.shh-t3 > div:first-child { background: #fff; border-radius: 14px; padding: 6px; display: flex; }
.shh-t3 strong { color: #fff !important; display: block; font-family: var(--shh-head); font-weight: 900; }
.shh-t3 small { color: #fff; font-size: 12px; }
.shh-t3:hover { color: #fff; filter: brightness(1.12); }
.shh-t4 { background: var(--shh-gray); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.shh-t4 header { display: flex; gap: 10px; align-items: center; }
.shh-t4 footer span { font-size: 12px; font-weight: 800; color: var(--shh-orchid-ink); }
.shh-t5 { background: #fff; border: 0; display: grid; grid-template-columns: 1fr; gap: 10px; box-shadow: 0 8px 22px rgba(43, 33, 41, .08); }
.shh-t5 img { aspect-ratio: 16/9; }
.shh-t5 figcaption { padding: 0 14px 14px; }
.shh-t5 figcaption a { font-family: var(--shh-head); font-weight: 900; color: var(--shh-ink); text-decoration: none; display: block; margin-bottom: 4px; }
.shh-t6 { background: var(--shh-pale); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.shh-t6 > div { border-radius: 14px; overflow: hidden; }
.shh-t6 ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; font-size: 12px; font-weight: 700; }
.shh-t6 li { background: #fff; border-radius: var(--shh-pill); padding: 0 10px; color: var(--shh-plum); }
.shh-t7 { background: #fff; padding: 16px 16px 16px 70px; box-shadow: 0 0 0 2px var(--shh-soft) inset; }
.shh-t7 > span { position: absolute; left: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%; background: var(--shh-deep); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 18px; }
.shh-t7__go { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 800; }
.shh-t8 a { display: block; position: relative; color: #fff; text-decoration: none; }
.shh-t8 a > div { padding: 14px; background: var(--shh-ink); }
.shh-t8 h3 { color: #fff; }
.shh-t8 p { color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shh-t9 { background: var(--shh-gray); padding: 14px 16px; border-radius: 4px 22px 22px 22px; }
.shh-t9 > div { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.shh-t9 > div span { font-size: 12px; font-weight: 800; color: var(--shh-plum); }
.shh-t10 { background: var(--shh-pale); display: grid; grid-template-columns: 1fr; }
.shh-t10 > div { padding: 10px 14px 0; }
.shh-t10 small { padding: 4px 14px 12px; font-size: 12px; color: var(--shh-sub); }
.shh-t11 { background: #fff; box-shadow: 0 0 0 2px var(--shh-gray) inset; padding: 14px; display: grid; grid-template-columns: 1fr; gap: 8px; }
.shh-t11 dt { grid-column: 1 / -1; font-family: var(--shh-head); font-weight: 900; }
.shh-t11 dd { margin: 0; }
.shh-t11 dd img { border-radius: 12px; }
.shh-words { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; padding: 14px 0; }
.shh-words__h { font-size: 13px; font-weight: 800; color: var(--shh-plum); margin-right: 6px; }
.shh-words a { background: var(--shh-gray); border-radius: var(--shh-pill); padding: 3px 12px; font-size: 13px; text-decoration: none; color: var(--shh-ink); }
.shh-words a small { margin-left: 6px; color: var(--shh-orchid-ink); font-weight: 800; }
.shh-words a:hover { background: var(--shh-soft); }

/* ---------------- 一覧：記事カード（22変種） */
.shh-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin: 18px 0; }
.shh-c { margin: 0; border-radius: 20px; overflow: hidden; position: relative; font-size: 14px; }
.shh-c h3, .shh-c h4 { margin: 0; font-size: 16px; line-height: 1.5; }
.shh-c h3 a, .shh-c h4 a, .shh-c dt a { color: var(--shh-ink); text-decoration: none; }
.shh-c h3 a:hover, .shh-c h4 a:hover { color: var(--shh-orchid-ink); }
.shh-c p { margin: 0; color: var(--shh-sub); font-size: 13px; line-height: 1.7; }
.shh-c img { display: block; width: 100%; height: auto; aspect-ratio: 40/21; object-fit: cover; }
.shh-c figure { margin: 0; }
.shh-c time, .shh-c small { font-size: 12px; color: var(--shh-sub); }
.shh-pill, .shh-chip { display: inline-block; background: var(--shh-pale); color: var(--shh-plum); border-radius: var(--shh-pill); padding: 0 10px; font-size: 12px; font-weight: 800; }
.shh-c0 { background: var(--shh-gray); grid-column: span 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.shh-c0__b { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.shh-c0 h3 { font-size: 21px; }
.shh-c1 { background: #fff; box-shadow: 0 8px 24px rgba(43, 33, 41, .08); }
.shh-c1__b { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.shh-c2 { background: var(--shh-deep); }
.shh-c2 a { display: flex; flex-direction: column; gap: 8px; padding: 18px; text-decoration: none; height: 100%; }
.shh-c2 h3, .shh-c2 p, .shh-c2 span { color: #fff; }
.shh-c2 span { font-size: 12px; font-weight: 800; margin-top: auto; }
.shh-c3 figcaption { padding: 10px 2px; display: flex; flex-direction: column; gap: 2px; }
.shh-c3 figcaption a { font-weight: 800; color: var(--shh-ink); text-decoration: none; }
.shh-c3 img { border-radius: 20px; }
.shh-c4 { background: var(--shh-pale); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; border-radius: 4px 20px 20px 20px; }
.shh-c4 header { display: flex; justify-content: space-between; gap: 8px; }
.shh-c4 footer span { font-size: 12px; color: var(--shh-sub); }
.shh-c5 { background: #fff; box-shadow: 0 0 0 2px var(--shh-gray) inset; }
.shh-c5 h3 { padding: 10px 14px 4px; }
.shh-c5 dl { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; margin: 0; padding: 0 14px 14px; font-size: 12px; }
.shh-c5 dt { color: var(--shh-sub); }
.shh-c5 dd { margin: 0; font-weight: 700; }
.shh-c6 { background: var(--shh-gray); }
.shh-c6 h3 { padding: 10px 14px 4px; }
.shh-c6 ol { margin: 0; padding: 0 14px 14px 32px; font-size: 12px; color: var(--shh-plum); font-weight: 700; }
.shh-c7 { display: flex; gap: 14px; align-items: flex-start; padding: 14px; background: #fff; box-shadow: 0 0 0 2px var(--shh-soft) inset; }
.shh-c7__n span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--shh-soft); font-weight: 900; color: var(--shh-plum); font-size: 13px; }
.shh-c7 > div:last-child { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.shh-c8__bg { position: relative; }
.shh-c8__bg img { aspect-ratio: 40/21; }
.shh-c8__cap { padding: 14px; background: var(--shh-ink); }
.shh-c8__cap h3 a, .shh-c8__cap span { color: #fff; }
.shh-c8__cap span { font-size: 12px; }
.shh-c9 { background: var(--shh-gray); padding: 16px; border-left: 6px solid var(--shh-orchid); border-radius: 6px 20px 20px 6px; display: flex; flex-direction: column; gap: 6px; }
.shh-c10 { background: #fff; box-shadow: 0 6px 20px rgba(43, 33, 41, .08); padding: 16px; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.shh-c10 dt { font-weight: 900; font-family: var(--shh-head); }
.shh-c10 dd { margin: 0; font-size: 13px; color: var(--shh-sub); }
.shh-c11 a { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--shh-pale); text-decoration: none; height: 100%; border-radius: 20px; }
.shh-c11 a > span:nth-child(2) { font-size: 12px; color: var(--shh-sub); }
.shh-c11 strong { color: var(--shh-ink); font-size: 16px; line-height: 1.5; }
.shh-c12 figure { position: relative; }
.shh-c12 figcaption { position: absolute; left: 10px; top: 10px; }
.shh-c12 figcaption span { background: var(--shh-deep); color: #fff; border-radius: var(--shh-pill); padding: 0 10px; font-size: 12px; font-weight: 800; }
.shh-c12 h3 { padding: 10px 2px; }
.shh-c13 { background: var(--shh-gray); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.shh-c13__f img { border-radius: 14px; }
.shh-c14 { background: #fff; box-shadow: 0 0 0 2px var(--shh-gray) inset; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.shh-c14__k { font-size: 12px !important; font-weight: 800; color: var(--shh-orchid-ink) !important; }
.shh-c14__m { display: flex; gap: 6px; flex-wrap: wrap; }
.shh-c14__m span { background: var(--shh-gray); border-radius: var(--shh-pill); padding: 0 10px; font-size: 12px; }
.shh-c15 { background: var(--shh-pale); }
.shh-c15 > div { padding: 10px 14px 2px; }
.shh-c15 ul { list-style: none; margin: 0; padding: 0 14px 12px; }
.shh-c16 { background: var(--shh-deep); padding: 16px; border-radius: 20px 20px 20px 4px; }
.shh-c16 h3 a, .shh-c16 p { color: #fff; }
.shh-c16 header { margin-bottom: 8px; }
.shh-c17__in { display: grid; grid-template-columns: 1fr; gap: 10px; background: var(--shh-gray); padding: 10px; border-radius: 20px; }
.shh-c17__f img { border-radius: 14px; }
.shh-c17 span { font-size: 12px; color: var(--shh-orchid-ink); font-weight: 800; }
.shh-c18 { display: flex; flex-direction: column; gap: 6px; }
.shh-c18 img { border-radius: 20px 20px 4px 20px; }
.shh-c19 { background: #fff; box-shadow: 0 6px 20px rgba(43, 33, 41, .08); padding: 14px 14px 0; display: flex; flex-direction: column; gap: 8px; }
.shh-c19 p { display: flex; justify-content: space-between; }
.shh-c19 strong { color: var(--shh-plum); font-size: 12px; }
.shh-c19 img { margin: 0 -14px; width: calc(100% + 28px); max-width: none; }
.shh-c20 { background: var(--shh-gray); }
.shh-c20__f { position: relative; }
.shh-c20__f span { position: absolute; left: 0; bottom: 0; background: var(--shh-plum); color: #fff; padding: 2px 12px; font-size: 12px; font-weight: 800; border-radius: 0 14px 0 0; }
.shh-c20 h3 { padding: 10px 14px 6px; }
.shh-c20 ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0 14px 14px; font-size: 12px; }
.shh-c20 li { background: #fff; border-radius: var(--shh-pill); padding: 0 8px; }
.shh-c21 { background: var(--shh-pale); }
.shh-c21 figcaption { padding: 12px 14px 14px; }
.shh-c21 figcaption h3 { margin-bottom: 6px; }

/* ---------------- 紹介サイト（12変種＋説明つきの語の列） */
.shh-sites { margin: 56px 0 0; padding: 22px clamp(14px, 3vw, 28px); background: var(--shh-gray); border-radius: 28px; }
.shh-sites__h { font-size: clamp(19px, 2.6vw, 24px); margin: 0 0 6px; }
.shh-sites__note { font-size: 12px; color: var(--shh-sub); margin: 0 0 14px; }
.shh-sitegrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.shh-s { margin: 0; background: #fff; border-radius: 16px; padding: 12px 14px; font-size: 13px; line-height: 1.65; }
.shh-s p { margin: 0; color: var(--shh-sub); }
.shh-s a { font-weight: 800; }
.shh-s cite, .shh-s small { font-style: normal; font-size: 11px; color: var(--shh-sub); }
.shh-s0 a { display: flex; flex-direction: column; text-decoration: none; margin-bottom: 4px; }
.shh-s0 a span { font-weight: 400; font-size: 11px; color: var(--shh-sub); }
.shh-s1 h4 { margin: 0 0 4px; font-size: 14px; }
.shh-s2 { display: flex; gap: 10px; }
.shh-s2__no { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--shh-soft); color: var(--shh-plum); display: grid; place-items: center; font-weight: 900; }
.shh-s3 { background: var(--shh-pale); }
.shh-s4 { border-radius: 4px 16px 16px 16px; }
.shh-s4 small { display: block; }
.shh-s5 dl { margin: 0; }
.shh-s5 dd { margin: 4px 0 0; color: var(--shh-sub); }
.shh-s6 { display: flex; flex-direction: column; gap: 6px; border-top: 4px solid var(--shh-orchid); }
.shh-s7 { border-left: 5px solid var(--shh-soft); border-radius: 4px 16px 16px 4px; }
.shh-s7 footer { margin-top: 6px; }
.shh-s8 h5 { margin: 0 0 4px; font-size: 14px; }
.shh-s8 div span { font-size: 11px; color: var(--shh-sub); }
.shh-s9 a { display: flex; gap: 8px; align-items: baseline; text-decoration: none; margin-bottom: 4px; }
.shh-s9 a span { color: var(--shh-orchid-ink); font-weight: 900; }
.shh-s10 { background: var(--shh-pale); }
.shh-s10 figcaption { margin-bottom: 4px; }
.shh-s11__in { display: flex; flex-direction: column; gap: 4px; border-radius: 12px; }
.shh-sitewords { grid-column: 1 / -1; margin: 8px 0 0; padding: 12px 16px 12px 28px; background: #fff; border-radius: 16px; font-size: 13px; columns: 2 280px; column-gap: 28px; }
.shh-sitewords li { margin-bottom: 6px; break-inside: avoid; color: var(--shh-sub); }

/* ---------------- 記事ページ（条件チップ → 折りたたみ目次 → 本文中の吹き出しの出典） */
.shh-art { max-width: 860px; margin: 0 auto; }
.shh-art__head { padding-top: 18px; }
.shh-art__cat { display: inline-block; font-size: 12px; font-weight: 800; text-decoration: none; background: var(--shh-pale); border-radius: var(--shh-pill); padding: 2px 12px; }
.shh-art__head h1 { font-size: clamp(26px, 4.4vw, 38px); margin: 10px 0 10px; }
.shh-art__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; color: var(--shh-sub); margin: 0 0 14px; }
.shh-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: var(--shh-gray); border-radius: 24px; padding: 10px 14px; margin-bottom: 16px; }
.shh-chips__h { font-size: 13px; font-weight: 800; color: var(--shh-plum); }
.shh-chips__c { background: var(--shh-deep); color: #fff; border-radius: var(--shh-pill); padding: 2px 14px 2px 10px; font-size: 13px; font-weight: 700; }
.shh-chips__c::before { content: "●"; margin-right: 6px; color: var(--shh-soft); font-size: 10px; vertical-align: 1px; }
.shh-art__eye { display: block; width: 100%; height: auto; border-radius: 22px; }
.shh-toc { margin: 18px 0 26px; background: var(--shh-pale); border-radius: 22px; padding: 0 18px; }
.shh-toc summary { cursor: pointer; padding: 12px 0; font-weight: 800; color: var(--shh-plum); list-style: none; }
.shh-toc summary::-webkit-details-marker { display: none; }
.shh-toc summary::before { content: "＋"; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--shh-deep); color: #fff; margin-right: 10px; font-size: 14px; }
.shh-toc[open] summary::before { content: "−"; }
.shh-toc ol { margin: 0; padding: 0 0 14px 22px; font-size: 14px; }
.shh-body { font-size: 16.5px; }
.shh-body > p, .shh-body section > p { margin: 0 0 1.2em; }
.shh-body h2 { font-size: clamp(22px, 3.4vw, 28px); margin: 2.4em 0 .8em; }
.shh-body h3 { font-size: clamp(18px, 2.6vw, 21px); margin: 1.8em 0 .6em; }
.shh-body img { display: block; height: auto; border-radius: 18px; margin: 1.2em auto; }
.shh-body figure { margin: 1.4em 0; }
.shh-body figcaption { font-size: 12px; color: var(--shh-sub); text-align: center; }
.shh-tbl { overflow-x: auto; margin: 1.2em 0; border-radius: 16px; -webkit-overflow-scrolling: touch; }
.shh-tbl table { border-collapse: separate; border-spacing: 0; min-width: 100%; font-size: 14px; line-height: 1.6; }
.shh-tbl th, .shh-tbl td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--shh-soft); }
.shh-tbl thead th { background: var(--shh-deep); color: #fff; white-space: nowrap; }
.shh-tbl tbody th { background: var(--shh-pale); color: var(--shh-ink); }
.shh-tbl tbody td { background: #fff; }
/* 出典は本文中の吹き出し（ルール4・20） */
.shh-bubble-src { position: relative; margin: 1.4em 0 .4em; padding: 10px 16px 10px 44px; background: var(--shh-gray); border-radius: 18px 18px 18px 4px; font-size: 13px; line-height: 1.6; }
.shh-bubble-src::before { content: "出典"; position: absolute; left: 10px; top: 10px; font-size: 10px; font-weight: 800; color: #fff; background: var(--shh-deep); border-radius: 6px; padding: 1px 4px; }
.shh-bubble-src::after { content: ""; position: absolute; left: 0; bottom: -8px; border: 8px solid transparent; border-left-color: var(--shh-gray); border-top-color: var(--shh-gray); }
.shh-bubble-src small { display: block; color: var(--shh-sub); }
.shh-art__tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 28px 0; font-size: 13px; }
.shh-art__tags span { font-weight: 800; color: var(--shh-plum); margin-right: 4px; }
.shh-art__tags a { background: var(--shh-gray); border-radius: var(--shh-pill); padding: 2px 12px; text-decoration: none; }
.shh-related, .shh-hubposts { max-width: var(--shh-wide); }
.shh-hubposts { margin-top: 2.4rem; }

/* ---------------- アーカイブ */
.shh-arch { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; align-items: center; margin: 18px 0 8px; padding: 18px; background: var(--shh-gray); border-radius: 28px; }
.shh-arch--tag { background: var(--shh-pale); border-radius: 6px 28px 28px 28px; }
.shh-arch__img { width: 100%; height: auto; border-radius: 20px; }
.shh-arch__k { margin: 0; font-size: 13px; font-weight: 800; color: var(--shh-orchid-ink); }
.shh-arch h1 { font-size: clamp(22px, 3.6vw, 32px); margin: 6px 0 8px; }
.shh-arch__d { margin: 0; font-size: 14px; }
.shh-empty { background: var(--shh-gray); border-radius: 18px; padding: 16px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.nav-links .page-numbers { padding: 4px 12px; border-radius: var(--shh-pill); background: var(--shh-gray); text-decoration: none; }
.nav-links .current { background: var(--shh-deep); color: #fff; }

/* ---------------- 固定ページ・404 */
.shh-page { max-width: 820px; margin: 0 auto; }
.shh-page__h { font-size: clamp(26px, 4vw, 36px); margin: 18px 0 18px; }
.shh-404 { max-width: 720px; margin: 40px auto; }

/* ---------------- フッター（言葉の定義の帯 → 3列 → 運営表記） */
.shh-foot { background: var(--shh-ink); color: #fff; padding: 0 var(--shh-gut) 170px; margin-top: 40px; }
.shh-foot a { color: #fff; }
.shh-foot__defs { max-width: var(--shh-wide); margin: 0 auto; padding: 26px 0 18px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.shh-foot__defs-h { margin: 0 0 10px; font-weight: 800; font-size: 13px; color: var(--shh-soft); }
.shh-foot__defs dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.shh-foot__defs dl > div { background: rgba(255, 255, 255, .08); border-radius: 16px; padding: 10px 14px; }
.shh-foot__defs dt { font-family: var(--shh-head); font-weight: 900; }
.shh-foot__defs dd { margin: 0; font-size: 13px; }
.shh-foot__grid { max-width: var(--shh-wide); margin: 0 auto; padding: 20px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.shh-foot__h { margin: 0 0 6px; font-weight: 800; color: var(--shh-soft); font-size: 13px; }
.shh-foot__grid ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.shh-foot__op, .shh-foot__c { max-width: var(--shh-wide); margin: 0 auto 6px; font-size: 12px; color: #e9dfe6; }

/* ---------------- 固定CTA：画面下中央のピル型ボタン（横長の帯にしない） */
.shh-cta { position: fixed; z-index: 50; left: 50%; bottom: 12px; transform: translateX(-50%); width: min(560px, calc(100% - 24px)); display: flex; flex-direction: column; align-items: center; gap: 4px; pointer-events: none; }
.shh-cta__pill { pointer-events: auto; display: inline-flex; align-items: center; gap: 12px; background: var(--shh-deep); color: #fff; text-decoration: none; border-radius: var(--shh-pill); padding: 6px 6px 6px 20px; box-shadow: 0 10px 28px rgba(43, 33, 41, .3); max-width: 100%; }
.shh-cta__label { font-size: 13px; font-weight: 700; line-height: 1.35; }
.shh-cta__btn { flex: none; background: #fff; color: var(--shh-plum); border-radius: var(--shh-pill); padding: 8px 18px; font-weight: 900; font-size: 15px; }
.shh-cta__pill:hover { color: #fff; }
.shh-cta__pill:hover .shh-cta__btn { background: var(--shh-soft); }
.shh-cta__note { pointer-events: auto; margin: 0; font-size: 10px; line-height: 1.5; color: var(--shh-ink); background: rgba(255, 255, 255, .96); border-radius: 12px; padding: 4px 10px; max-height: 3.2em; overflow-y: auto; box-shadow: 0 2px 10px rgba(43, 33, 41, .12); }

/* ---------------- 役に立った（フェーズ7） */
.shh-helpful { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: var(--shh-gray); border-radius: var(--shh-pill); padding: 8px 8px 8px 18px; margin: 24px 0; width: fit-content; max-width: 100%; }
.shh-helpful p { margin: 0; font-size: 14px; font-weight: 700; }
.shh-helpful button { border: 0; background: var(--shh-deep); color: #fff; border-radius: var(--shh-pill); padding: 6px 16px; font: inherit; font-weight: 800; cursor: pointer; }
.shh-helpful button[disabled] { background: var(--shh-mauve); cursor: default; }


/* ---------------- トップの統計（8変種） */
.shh-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; align-items: start; }
.shh-st { margin: 0; border-radius: 22px; padding: 16px; font-size: 13px; line-height: 1.6; background: var(--shh-gray); }
.shh-st h3 { margin: 0 0 4px; font-size: 15px; }
.shh-st p { margin: 0; }
.shh-st small, .shh-st cite, .shh-st footer { display: block; font-style: normal; font-size: 11px; color: var(--shh-sub); margin-top: 6px; }
.shh-st b, .shh-st strong, .shh-st__n { font-family: var(--shh-head); font-weight: 900; color: var(--shh-plum); }
.shh-st__n { font-size: 36px; line-height: 1.1; margin: 0 0 4px !important; }
.shh-st0 { background: #fff; box-shadow: 0 0 0 2px var(--shh-soft) inset; }
.shh-st0 b { font-size: 40px; }
.shh-st1 { background: var(--shh-deep); color: #fff; }
.shh-st1 strong { display: block; color: #fff; font-size: 40px; line-height: 1.1; }
.shh-st1 strong span { font-size: 16px; margin-left: 4px; }
.shh-st1 figcaption { font-weight: 800; }
.shh-st1 cite, .shh-st1 a { color: #fff; }
.shh-st2 { background: var(--shh-pale); }
.shh-st2 dt { font-weight: 800; }
.shh-st2 dd { margin: 0; }
.shh-st2 dd small { display: inline; font-size: 16px; margin-left: 4px; }
.shh-st3 { border-radius: 4px 22px 22px 22px; }
.shh-st3 div b { font-size: 40px; }
.shh-st3 div i { font-style: normal; font-weight: 800; margin-left: 4px; }
.shh-st4 { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; background: #fff; box-shadow: 0 6px 20px rgba(43, 33, 41, .08); }
.shh-st4 > span { grid-row: span 3; font-family: var(--shh-head); font-weight: 900; font-size: 44px; color: var(--shh-plum); line-height: 1; }
.shh-st4 p b { margin-right: 4px; }
.shh-st5 { background: var(--shh-pale); border-radius: 22px 22px 4px 22px; }
.shh-st5 ul { margin: 4px 0 0; padding-left: 18px; }
.shh-st6 { display: flex; gap: 12px; align-items: center; background: #fff; box-shadow: 0 0 0 2px var(--shh-gray) inset; }
.shh-st6__ring { flex: none; width: 86px; height: 86px; border-radius: 50%; background: var(--shh-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.shh-st6__ring b { font-size: 30px; line-height: 1; }
.shh-st6__ring small { margin: 0; color: var(--shh-plum); font-weight: 800; }
.shh-st7 { border-left: 6px solid var(--shh-orchid); border-radius: 6px 22px 22px 6px; }
.shh-st7 p:first-child b { font-size: 40px; margin-right: 4px; }

/* ---------------- カテゴリーページのSNS枠（4変種） */
.shh-snssec__note { font-size: 12px; color: var(--shh-sub); }
.shh-sns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.shh-sn { margin: 0; border-radius: 18px; padding: 14px 16px; font-size: 14px; background: var(--shh-gray); }
.shh-sn0 { display: flex; flex-direction: column; text-decoration: none; background: var(--shh-deep); color: #fff; }
.shh-sn0:hover { color: #fff; filter: brightness(1.1); }
.shh-sn1 p { margin: 0 0 4px; font-weight: 800; }
.shh-sn2 figcaption { font-weight: 800; }
.shh-sn2 small { display: block; font-size: 11px; color: var(--shh-sub); }
.shh-sn3 dt { font-weight: 800; }
.shh-sn3 dd { margin: 4px 0 0; }

/* ---------------- スマホ幅 */
@media (max-width: 760px) {
	.shh-top__sub { display: none; }
	.shh-find { flex: 1 1 100%; }
	.shh-t0, .shh-c0 { grid-column: auto; }
		/* 階段は横棒に倒す：段を縦に積み、棒は左から右へ伸ばす */
	.shh-stairs { grid-column: auto; grid-template-columns: 1fr; min-height: 0; gap: 10px; }
	.shh-step { display: grid; grid-template-columns: 88px 1fr; grid-template-areas: "base bars" "base lab"; align-items: center; gap: 4px 10px; }
	.shh-step__base { grid-area: base; }
	.shh-bars { grid-area: bars; height: auto; flex-direction: column; align-items: stretch; gap: 3px; }
	.shh-bar { width: 100%; height: 14px; flex-direction: row; border-radius: 4px 10px 10px 4px; }
	.shh-seg { height: 100%; width: calc(var(--v) * 1%); }
	.shh-lab { grid-area: lab; justify-self: start; }
	.shh-lab--disc { width: auto; height: auto; flex-direction: row; gap: 4px; border-radius: var(--shh-pill); padding: 2px 10px; }
	.shh-lab--bubble::after { display: none; }
	.shh-cta__label { font-size: 11px; }
	.shh-cta__btn { font-size: 13px; padding: 7px 12px; }
	.shh-cta__note { max-height: 2.9em; }
	.shh-door b { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
