/* =============================================================
   Mr.ガジェット — useful-blocks 互換レイヤ（独自実装 CSS）
   =============================================================
   対象: 本番で使用実績のある ponhiro-blocks の静的ブロック
   （iconbox / list / compare-box / bar-graph / rating-graph）。
   保存済み記事の pb-* クラス契約に合わせた最小スタイル。
   色は :root の --pb_colset_* 変数を参照し、値は管理側で
   カスタム設定（useful_blocks_settings）から上書きされる。

   25.x fidelity pass: useful-blocks 本体 CSS（src/blocks/*/scss）と
   突き合わせ、本番実データで使われている colset（iconbox 1/g、
   bar-graph b、compare/rating 1 等）とレスポンシブ挙動を原版に
   合わせた（ブレークポイントも原版どおり per-block で分離）。
   ============================================================= */

:root {
	--pb_colset_yellow: #fdc44f;
	--pb_colset_yellow_thin: #fef9ed;
	--pb_colset_pink: #fd9392;
	--pb_colset_pink_thin: #ffefef;
	--pb_colset_green: #91c13e;
	--pb_colset_green_thin: #f2f8e8;
	--pb_colset_blue: #6fc7e1;
	--pb_colset_blue_thin: #f0f9fc;
	--pb_colset_iconbox_01: #6e828a;
	--pb_colset_iconbox_01_bg: #fff;
	--pb_colset_iconbox_01_icon: #ee8f81;
	--pb_colset_compare_01_l: #6fc7e1;
	--pb_colset_compare_01_l_bg: #f0f9fc;
	--pb_colset_compare_01_r: #ffa883;
	--pb_colset_compare_01_r_bg: #fff6f2;
	--pb_colset_bargraph_01: #9dd9dd;
	--pb_colset_bargraph_01_bg: #fafafa;
	--pb_colset_bar_01: #f8db92;
	--pb_colset_bar_02: #fda9a8;
	--pb_colset_bar_03: #bdda8b;
	--pb_colset_bar_04: #a1c6f1;
	--pb_colset_rating_01_bg: #fafafa;
	--pb_colset_rating_01_text: #71828a;
	--pb_colset_rating_01_label: #71828a;
	--pb_colset_rating_01_point: #ee8f81;
}

/* ── 共通 ── */
.pb-iconbox,
.pb-compare-box,
.pb-bar-graph,
.pb-rating-graph {
	box-sizing: border-box;
	margin: 2em auto;
}

/* ── iconbox ── */
.pb-iconbox {
	max-width: 600px;
	padding: 0;
}

.pb-iconbox__inner {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 0;
	border-radius: 4px;
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.07);
}

.pb-iconbox__head {
	padding: 1em 2em;
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: 0.05em;
	text-align: center;
	border-radius: 4px 4px 0 0;
}

.pb-iconbox__body {
	display: flex;
	padding: 2em;
}

/* 左右アイコン位置（原版契約: data-icon="right" が既定・"left" で反転） */
.pb-iconbox[data-icon="left"] .pb-iconbox__body {
	flex-direction: row-reverse;
}

.pb-iconbox__content {
	flex: 1 1 auto;
	width: 70%;
	font-size: 16px;
}

.pb-iconbox__content > p {
	margin-top: 1em;
	margin-bottom: 1em;
}

.pb-iconbox__content > :first-child {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.pb-iconbox__content > :last-child {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

.pb-iconbox__innerIcon {
	flex-basis: 30%;
	align-self: flex-end;
	max-width: 140px;
}

.pb-iconbox[data-icon="right"] .pb-iconbox__innerIcon {
	margin-left: 24px;
}

.pb-iconbox[data-icon="left"] .pb-iconbox__innerIcon {
	margin-right: 24px;
}

.pb-iconbox__body[data-align="center"] > .pb-iconbox__innerIcon,
.pb-iconbox[data-align="center"] .pb-iconbox__innerIcon {
	align-self: center;
}

.pb-iconbox__innerIcon .pb-iconbox__figure {
	margin: 0 10px;
}

.pb-iconbox__innerIcon img {
	display: block;
	margin: 0 auto;
}

.pb-iconbox__topIcon {
	display: flex;
	align-items: flex-end;
	padding: 0 1em;
}

.pb-iconbox[data-icon="top-left"] .pb-iconbox__topIcon {
	text-align: left;
}

.pb-iconbox[data-icon="top-right"] .pb-iconbox__topIcon {
	justify-content: flex-end;
	text-align: right;
}

.pb-iconbox__topIcon .pb-iconbox__figure {
	width: 48px;
	max-width: 48px;
	margin: 0 8px;
}

.pb-iconbox__topIcon img {
	display: block;
}

.pb-iconbox__icon {
	display: block;
	width: 100%;
}

.pb-iconbox__figure {
	margin: 0;
	text-align: center;
}

/* アイコンセット（正方形プレースホルダの上に背景画像） */
.pb-iconbox__figure[data-iconset] {
	margin: 0 !important;
	padding: 0 !important;
	background-repeat: no-repeat;
	background-size: contain;
}

.pb-iconbox__figure[data-iconset]::before {
	display: block;
	padding-top: 100%;
	content: "";
}

.pb-iconbox__comment {
	position: relative;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

.pb-iconbox__innerIcon .pb-iconbox__comment {
	text-align: center;
}

.pb-iconbox__topIcon .pb-iconbox__comment {
	padding: 14px;
}

.pb-iconbox__comment.-normal {
	position: relative;
	margin-bottom: 12px;
	padding: 10px;
	color: #333;
	background: #fff;
	border: 1px solid #555;
	border-radius: 10px;
}

.pb-iconbox__innerIcon .pb-iconbox__comment.-normal::before,
.pb-iconbox__innerIcon .pb-iconbox__comment.-normal::after {
	position: absolute;
	top: 100%;
	left: 50%;
	width: 0;
	height: 0;
	border: solid transparent;
	content: "";
	transform: translateX(-50%);
}

.pb-iconbox__innerIcon .pb-iconbox__comment.-normal::before {
	margin-top: 1px;
	border-width: 11px;
	border-top-color: #555;
}

.pb-iconbox__innerIcon .pb-iconbox__comment.-normal::after {
	border-width: 10px;
	border-top-color: #fff;
}

.pb-iconbox__topIcon .pb-iconbox__comment.-normal {
	padding: 8px 10px;
	border-radius: 8px;
}

.pb-iconbox__topIcon .pb-iconbox__comment.-normal::before,
.pb-iconbox__topIcon .pb-iconbox__comment.-normal::after {
	position: absolute;
	top: 50%;
	width: 0;
	height: 0;
	border: solid transparent;
	content: "";
	transform: translateY(-50%);
}

.pb-iconbox__topIcon .pb-iconbox__comment.-normal::before {
	border-width: 7px;
}

.pb-iconbox__topIcon .pb-iconbox__comment.-normal::after {
	border-width: 6px;
}

.pb-iconbox[data-icon="top-left"] .pb-iconbox__comment.-normal::before {
	right: 100%;
	margin-right: 1px;
	border-right-color: #555;
}

.pb-iconbox[data-icon="top-left"] .pb-iconbox__comment.-normal::after {
	right: 100%;
	border-right-color: #fff;
}

.pb-iconbox[data-icon="top-right"] .pb-iconbox__comment.-normal::before {
	left: 100%;
	margin-left: 1px;
	border-left-color: #555;
}

.pb-iconbox[data-icon="top-right"] .pb-iconbox__comment.-normal::after {
	left: 100%;
	border-left-color: #fff;
}

/* 下線スタイルのコメント（-simple） */
.pb-iconbox__comment.-simple::before,
.pb-iconbox__comment.-simple::after {
	position: absolute;
	height: 1px;
	background: currentcolor;
	opacity: 0.8;
	content: "";
}

.pb-iconbox__innerIcon .pb-iconbox__comment.-simple {
	margin-bottom: 10px;
	padding: 0 16px;
}

.pb-iconbox__innerIcon .pb-iconbox__comment.-simple::before {
	bottom: 8px;
	left: 0;
	width: 16px;
	transform: rotate(45deg);
}

.pb-iconbox__innerIcon .pb-iconbox__comment.-simple::after {
	right: 0;
	bottom: 8px;
	width: 16px;
	transform: rotate(-45deg);
}

.pb-iconbox__topIcon .pb-iconbox__comment.-simple {
	padding: 1em;
}

.pb-iconbox__topIcon .pb-iconbox__comment.-simple::before {
	top: 0.75em;
	width: 12px;
}

.pb-iconbox__topIcon .pb-iconbox__comment.-simple::after {
	bottom: 0.75em;
	width: 12px;
}

/* カラーセット（旧プラグインの変数契約を維持） */
.pb-iconbox[data-colset="y"] .pb-iconbox__head { background-color: var(--pb_colset_yellow); }
.pb-iconbox[data-colset="y"] .pb-iconbox__body { background-color: var(--pb_colset_yellow_thin); }
.pb-iconbox[data-colset="y"] .pb-list li::before { color: var(--pb_colset_yellow); background-color: var(--pb_colset_yellow); }
.pb-iconbox[data-colset="p"] .pb-iconbox__head { background-color: var(--pb_colset_pink); }
.pb-iconbox[data-colset="p"] .pb-iconbox__body { background-color: var(--pb_colset_pink_thin); }
.pb-iconbox[data-colset="p"] .pb-list li::before { color: var(--pb_colset_pink); background-color: var(--pb_colset_pink); }
.pb-iconbox[data-colset="g"] .pb-iconbox__head { background-color: var(--pb_colset_green); }
.pb-iconbox[data-colset="g"] .pb-iconbox__body { background-color: var(--pb_colset_green_thin); }
.pb-iconbox[data-colset="g"] .pb-list li::before { color: var(--pb_colset_green); background-color: var(--pb_colset_green); }
.pb-iconbox[data-colset="b"] .pb-iconbox__head { background-color: var(--pb_colset_blue); }
.pb-iconbox[data-colset="b"] .pb-iconbox__body { background-color: var(--pb_colset_blue_thin); }
.pb-iconbox[data-colset="b"] .pb-list li::before { color: var(--pb_colset_blue); background-color: var(--pb_colset_blue); }
.pb-iconbox[data-colset="1"] .pb-iconbox__head { background-color: var(--pb_colset_iconbox_01); }
.pb-iconbox[data-colset="1"] .pb-iconbox__body { background-color: var(--pb_colset_iconbox_01_bg); }
.pb-iconbox[data-colset="1"] .pb-list li::before { color: var(--pb_colset_iconbox_01_icon); background-color: var(--pb_colset_iconbox_01_icon); }

/* ── list（アイコン付きリスト）── */
.pb-list {
	box-sizing: border-box;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	counter-reset: pbList !important;
}

.pb-list li {
	position: relative;
	box-sizing: border-box;
	margin: 0.7em 0 !important;
	padding: 0 !important;
	line-height: 1.5 !important;
	list-style: none !important;
}

.pb-list li::after {
	content: none !important;
}

.pb-list.-border-on li:not(:last-child) {
	padding-bottom: 0.7em !important;
	border-bottom: 1px dashed #cdcdcd;
}

ul.pb-list li {
	padding-left: 1.4em !important;
}

ul.pb-list li::before {
	position: absolute !important;
	top: 0.1em;
	left: 0;
	display: block;
	box-sizing: content-box !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	font-weight: 700;
	line-height: 1;
	border: none !important;
	box-shadow: none !important;
	content: "";
}

ul.pb-list.-icon-check li::before { content: "✓"; }
ul.pb-list.-icon-dot li::before { content: "●"; font-size: 0.6em; top: 0.25em; }

/* ふきだしアイコン（原版 glyph e90a = 3 点リーダーの吹き出しを CSS で再現） */
ul.pb-list.-icon-comment li::before {
	top: 0.1em;
	width: 0.9em !important;
	height: 0.7em !important;
	border: 2px solid currentColor;
	border-radius: 3px;
	background-image:
		radial-gradient(circle, currentColor 58%, transparent 62%),
		radial-gradient(circle, currentColor 58%, transparent 62%),
		radial-gradient(circle, currentColor 58%, transparent 62%);
	background-size: 0.11em 0.11em;
	background-repeat: no-repeat;
	background-position: 0.17em 50%, 0.34em 50%, 0.51em 50%;
}

ul.pb-list.-icon-comment li::after {
	position: absolute;
	top: 0.72em;
	left: 0.15em;
	display: block;
	width: 0.3em;
	height: 0.3em;
	border-bottom: 2px solid currentColor;
	border-left: 2px solid currentColor;
	content: "";
	transform: rotate(-45deg);
}

/* 右矢印（原版 glyph e904 の CSS 再現） */
ul.pb-list.-icon-chevron-right li::before {
	top: 0.2em;
	width: 0.5em !important;
	height: 0.5em !important;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
}

/* 番号つきリスト（原版: counter で丸/角丸バッジ） */
ol.pb-list li {
	padding-left: 2em !important;
}

ol.pb-list li::before {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	display: block;
	box-sizing: content-box !important;
	width: 2em !important;
	height: 2em !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #fff !important;
	font-weight: 700 !important;
	font-size: 1em !important;
	line-height: 2 !important;
	text-align: center;
	content: counter(pbList) !important;
	counter-increment: pbList !important;
	transform: scale(0.75) !important;
	transform-origin: 0 0 !important;
	border-radius: 50%;
}

ol.pb-list.-icon-square li::before {
	border-radius: 0;
}

ol.pb-list.-icon-circle li::before {
	border-radius: 50%;
}

/* ── compare-box（比較表）── */
.pb-compare-box {
	z-index: 0;
	max-width: 600px;
	overflow: hidden;
	border-radius: 4px;
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.07);
}

.pb-compare-box__head {
	display: flex;
	align-items: stretch;
	margin: 0 !important;
	padding: 0 !important;
}

.pb-compare-box__head__l,
.pb-compare-box__head__r {
	display: flex;
	flex-basis: 50%;
	align-items: center;
	justify-content: center;
	min-height: 3.5em;
	margin: 0 !important;
	padding: 0.75em 1em !important;
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.5;
	text-align: center;
	vertical-align: middle;
}

.pb-compare-box__body {
	display: flex;
	align-items: stretch;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 0.9em;
}

.pb-compare-box__body__l,
.pb-compare-box__body__r {
	display: flex;
	flex-basis: 50%;
	flex-direction: column;
	margin: 0 !important;
	padding: 1.25em 1.5em !important;
	font-size: 1em;
	text-align: justify;
	text-justify: inter-ideograph;
}

.pb-compare-box__body__l > * + *,
.pb-compare-box__body__r > * + * {
	margin-top: 0.75em;
}

.pb-compare-box[data-colset="y"] .pb-compare-box__head { background-color: var(--pb_colset_yellow); }
.pb-compare-box[data-colset="y"] .pb-compare-box__body { background-color: var(--pb_colset_yellow_thin); }
.pb-compare-box[data-colset="y"] .pb-list li::before { color: var(--pb_colset_yellow); background-color: var(--pb_colset_yellow); }
.pb-compare-box[data-colset="p"] .pb-compare-box__head { background-color: var(--pb_colset_pink); }
.pb-compare-box[data-colset="p"] .pb-compare-box__body { background-color: var(--pb_colset_pink_thin); }
.pb-compare-box[data-colset="p"] .pb-list li::before { color: var(--pb_colset_pink); background-color: var(--pb_colset_pink); }
.pb-compare-box[data-colset="g"] .pb-compare-box__head { background-color: var(--pb_colset_green); }
.pb-compare-box[data-colset="g"] .pb-compare-box__body { background-color: var(--pb_colset_green_thin); }
.pb-compare-box[data-colset="g"] .pb-list li::before { color: var(--pb_colset_green); background-color: var(--pb_colset_green); }
.pb-compare-box[data-colset="b"] .pb-compare-box__head { background-color: var(--pb_colset_blue); }
.pb-compare-box[data-colset="b"] .pb-compare-box__body { background-color: var(--pb_colset_blue_thin); }
.pb-compare-box[data-colset="b"] .pb-list li::before { color: var(--pb_colset_blue); background-color: var(--pb_colset_blue); }
.pb-compare-box[data-colset="1"] .pb-compare-box__head { background-color: var(--pb_colset_compare_01_l); }
.pb-compare-box[data-colset="1"] .pb-compare-box__head__r { background-color: var(--pb_colset_compare_01_r); }
.pb-compare-box[data-colset="1"] .pb-compare-box__body { background-color: var(--pb_colset_compare_01_l_bg); }
.pb-compare-box[data-colset="1"] .pb-compare-box__body__r { background-color: var(--pb_colset_compare_01_r_bg); }
.pb-compare-box[data-colset="1"] .pb-compare-box__body__l .pb-list li::before { color: var(--pb_colset_compare_01_l); background-color: var(--pb_colset_compare_01_l); }
.pb-compare-box[data-colset="1"] .pb-compare-box__body__r .pb-list li::before { color: var(--pb_colset_compare_01_r); background-color: var(--pb_colset_compare_01_r); }

/* ── bar-graph（比較棒グラフ）── */
.pb-bar-graph {
	max-width: 700px;
	padding: 2em !important;
	color: #333;
	background: #fafafa;
}

.pb-bar-graph[data-bg] {
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.07);
}

.pb-bar-graph:not([data-bg]) {
	background: none !important;
}

.pb-bar-graph__title {
	margin: 0 auto 2em !important;
	padding: 5px 0 !important;
	font-weight: 600 !important;
	font-size: 16px;
	line-height: 1.8 !important;
	letter-spacing: 1.5px !important;
	text-align: center;
}

.pb-bar-graph__title.-none { display: none; }

.pb-bar-graph__title.-border {
	margin-bottom: 3em !important;
	border-bottom: 1px dashed #aaa;
}

.pb-bar-graph__dl {
	margin: 0 !important;
	padding: 0 !important;
}

.pb-bar-graph__dl[data-label="top"] {
	margin-top: 1.5em !important;
}

.pb-bar-graph__item {
	position: relative;
	display: flex !important;
	height: 30px;
	margin: 0 auto !important;
	padding: 0 !important;
}

.pb-bar-graph__item + .pb-bar-graph__item {
	margin-top: 2.5em !important;
}

.pb-bar-graph__fill {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	background: #fbd366; /* 原版の既定 fill（item 個別色は inline style で上書きされる） */
}

/* 薄色表示（Pro の isThin 契約） */
.pb-bar-graph__item[data-thin] .pb-bar-graph__fill {
	opacity: 0.4;
}

.pb-bar-graph__dt {
	position: relative;
	width: 50%;
	margin: 0 !important;
	padding: 0 !important;
}

.pb-bar-graph__dd {
	position: relative;
	flex: 1;
	justify-content: flex-start;
	margin: 0 !important;
	padding: 0 !important;
}

.pb-bar-graph__dl[data-bg] .pb-bar-graph__item {
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.03);
}

.pb-bar-graph__dl[data-bg] .pb-bar-graph__dt {
	border-right: 2px solid #fff;
}

.pb-bar-graph__dl[data-bg] .pb-bar-graph__dd {
	background: #dfe6e8;
}

.pb-bar-graph__label,
.pb-bar-graph__value {
	position: absolute;
	z-index: 1;
	margin: 0;
	color: #333;
	font-weight: 600 !important;
	font-size: 14px !important;
	line-height: 1.5;
	white-space: nowrap !important;
	text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
}

.pb-bar-graph__value {
	top: 50%;
	transform: translateY(-50%);
}

.pb-bar-graph__dl[data-label="top"] .pb-bar-graph__label { top: -22px; left: 0; }
.pb-bar-graph__dl[data-label="inner"] .pb-bar-graph__label { top: 50%; left: 6px; margin: 0 6px; transform: translateY(-50%); }
.pb-bar-graph__dl[data-value="right"] .pb-bar-graph__value { right: 6px; text-align: right; }
.pb-bar-graph__dl[data-value="left"] .pb-bar-graph__value { left: 6px; }

/* カラーセット（原版と同じ y/p/g/b/1 全対応・本番は b を使用中） */
.pb-bar-graph[data-colset="y"] { background-color: var(--pb_colset_yellow_thin); }
.pb-bar-graph[data-colset="y"] .pb-bar-graph__fill { background-color: var(--pb_colset_yellow); }
.pb-bar-graph[data-colset="p"] { background-color: var(--pb_colset_pink_thin); }
.pb-bar-graph[data-colset="p"] .pb-bar-graph__fill { background-color: var(--pb_colset_pink); }
.pb-bar-graph[data-colset="g"] { background-color: var(--pb_colset_green_thin); }
.pb-bar-graph[data-colset="g"] .pb-bar-graph__fill { background-color: var(--pb_colset_green); }
.pb-bar-graph[data-colset="b"] { background-color: var(--pb_colset_blue_thin); }
.pb-bar-graph[data-colset="b"] .pb-bar-graph__fill { background-color: var(--pb_colset_blue); }
.pb-bar-graph[data-colset="1"] { background-color: var(--pb_colset_bargraph_01_bg); }
.pb-bar-graph[data-colset="1"] .pb-bar-graph__fill { background-color: var(--pb_colset_bargraph_01); }

/* ── rating-graph（評価グラフ）── */
.pb-rating-graph {
	max-width: 700px;
	padding: 2.5em 2em !important;
	color: var(--pb-rating-color_text, #707070);
	background: var(--pb-rating-color_bg, #fafafa);
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.07);
}

.pb-rating-graph__item {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.pb-rating-graph__item::before {
	content: unset !important;
}

.pb-rating-graph__item + .pb-rating-graph__item {
	margin-top: 20px !important;
}

.pb-rating-graph__label {
	display: inline-block;
	min-width: 3em;
	margin-bottom: 20px !important;
	padding: 6px 15px;
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
	text-align: center;
	background: var(--pb-rating-color_label, #71828a);
}

.pb-rating-graph__wrap {
	display: flex;
	justify-content: center;
	margin: 0 !important;
	padding: 0 !important;
}

.pb-rating-graph__axis {
	position: relative;
	display: flex;
	justify-content: space-between;
	width: 70%;
	margin: 0 !important;
	padding: 0 !important;
}

.pb-rating-graph__axis::before {
	position: absolute;
	top: 8px;
	left: 2px;
	display: inline-block;
	width: calc(100% - 4px);
	height: 5px;
	background: var(--pb-rating-color_bar, #e3e6e7);
	filter: brightness(0.95) saturate(0.9);
	content: "";
}

.pb-rating-graph__basis {
	width: 15%;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.5;
}

.pb-rating-graph__basis.-left {
	padding-right: 20px;
	text-align: right;
}

.pb-rating-graph__basis.-right {
	padding-left: 16px;
	text-align: left;
}

.pb-rating-graph__scale {
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 20px;
	margin-top: 0 !important;
}

.pb-rating-graph__scale .__label {
	display: block;
	width: 56px;
	min-width: 20px;
	margin-top: 5px;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

.pb-rating-graph__scale .__shape {
	display: block;
	width: 20px;
	height: 20px;
	margin: 0 !important;
	padding: 0 !important;
}

.pb-rating-graph__scale .__shape.-dot {
	background: var(--pb-rating-color_bar, #e3e6e7);
	border-radius: 50%;
	filter: brightness(0.95) saturate(0.9);
}

.pb-rating-graph__scale[data-check] .__shape.-dot {
	background: var(--pb-rating-color_point, #ee8f81);
}

.pb-rating-graph__scale .__shape.-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	transform: scale(1.25, 1.25);
	fill: var(--pb-rating-color_point, #ee8f81);
}

.pb-rating-graph__scale .__shape.-icon svg path {
	fill: inherit;
}

.pb-rating-graph__scale .__shape.-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.5, 1.5);
}

/* カラーセット（原版と同じ y/p/g/b/1 全対応） */
.pb-rating-graph[data-colset="y"] {
	--pb-rating-color_bg: var(--pb_colset_yellow_thin);
	--pb-rating-color_point: var(--pb_colset_yellow);
	--pb-rating-color_label: var(--pb_colset_yellow);
	--pb-rating-color_bar: var(--pb_colset_yellow_thin);
}

.pb-rating-graph[data-colset="p"] {
	--pb-rating-color_bg: var(--pb_colset_pink_thin);
	--pb-rating-color_point: var(--pb_colset_pink);
	--pb-rating-color_label: var(--pb_colset_pink);
	--pb-rating-color_bar: var(--pb_colset_pink_thin);
}

.pb-rating-graph[data-colset="g"] {
	--pb-rating-color_bg: var(--pb_colset_green_thin);
	--pb-rating-color_point: var(--pb_colset_green);
	--pb-rating-color_label: var(--pb_colset_green);
	--pb-rating-color_bar: var(--pb_colset_green_thin);
}

.pb-rating-graph[data-colset="b"] {
	--pb-rating-color_bg: var(--pb_colset_blue_thin);
	--pb-rating-color_point: var(--pb_colset_blue);
	--pb-rating-color_label: var(--pb_colset_blue);
	--pb-rating-color_bar: var(--pb_colset_blue_thin);
}

.pb-rating-graph[data-colset="1"] {
	--pb-rating-color_bg: var(--pb_colset_rating_01_bg);
	--pb-rating-color_bar: var(--pb_colset_rating_01_bg);
	--pb-rating-color_point: var(--pb_colset_rating_01_point);
	--pb-rating-color_text: var(--pb_colset_rating_01_text);
	--pb-rating-color_label: var(--pb_colset_rating_01_label);
}

/* ── レスポンシブ（原版と同じ per-block ブレークポイント）── */

/* iconbox: sp（959px 以下） */
@media screen and (max-width: 959px) {
	.pb-iconbox__head { font-size: 14px; }
	.pb-iconbox__body { padding: 1em; }
	.pb-iconbox__content { font-size: 14px; }
	.pb-iconbox[data-icon="right"] .pb-iconbox__innerIcon { margin-left: 12px; }
	.pb-iconbox[data-icon="left"] .pb-iconbox__innerIcon { margin-right: 12px; }
	.pb-iconbox__innerIcon { max-width: 100px; }
	.pb-iconbox__comment { font-size: 12px; }
	.pb-iconbox__comment.-normal { padding: 8px; }
}

@media screen and (max-width: 340px) {
	.pb-iconbox__comment { font-size: 11px; }
	.pb-iconbox__innerIcon { max-width: 80px; }
}

/* compare-box: 原版は 480px 専用ブレークポイント */
@media screen and (max-width: 480px) {
	.pb-compare-box__head__l,
	.pb-compare-box__head__r { height: 50px; min-height: 50px; font-size: 12px; }
	.pb-compare-box__body__l,
	.pb-compare-box__body__r { padding: 1.2em !important; font-size: 12px; }
}

/* bar-graph: sp（959px 以下） */
@media screen and (max-width: 959px) {
	.pb-bar-graph { padding: 2em 1em !important; }
	.pb-bar-graph__item + .pb-bar-graph__item { margin-top: 2em !important; }
}

/* rating-graph: mobile（599px 以下） */
@media screen and (max-width: 599px) {
	.pb-rating-graph { padding: 2em 1em !important; }
	.pb-rating-graph__axis { width: 60%; }
	.pb-rating-graph__axis::before { top: 7px; height: 3px; }
	.pb-rating-graph__basis { width: 20%; font-size: 13px; letter-spacing: 0; }
	.pb-rating-graph__basis.-left { padding-right: 10px; }
	.pb-rating-graph__basis.-right { padding-left: 8px; }
	.pb-rating-graph__scale { width: 16px; }
	.pb-rating-graph__scale .__shape { width: 16px; height: 16px; }
	.pb-rating-graph__scale .__label { width: 48px; font-size: 12px; }
	.pb-rating-graph__item[data-max-step="5"] .pb-rating-graph__scale .__label { font-size: 11px; }
}
