/*
 * ブロック版トップ（手順書 P4-R・2026-09-28）＝style.css の後に読む。
 * 標準ブロックにしたことで形が変わる所だけを、パターン版と同じ見た目に戻す。色・大きさは style.css と同じ値（変える時は両方）。
 * ⚠ レイアウトの余白（blockGap）の打ち消しは inc/blocks.php の SUNRISE_TOP_RESET_CSS（style.css より前に出す）。
 */

/* ---------- ボタン（標準のボタンブロック → inc/blocks.php で <a class="sr-btn …"> に） ---------- */
/* テーマのボタン既定（theme.json の影）が ghost・電話にも付くのを外す */
.wp-block-button__link.sr-btn:not(.sr-btn--primary) {
	box-shadow: none;
}

/* ---------- 4 ご紹介＝対象・送迎（パターン版の dl → 段落2つ） ---------- */
.sr-intro__fact > p {
	margin: 0;
}
.sr-intro__fact-name {
	flex: 0 0 auto;
	padding: 2px 12px;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--sub-deep);
	color: var(--wp--preset--color--base);
	font-family: var(--wp--preset--font-family--round);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 700;
	line-height: 1.6;
}
.sr-intro__fact-value {
	font-weight: 700;
}

/* ---------- 5 3つの特徴＝番号バッジは自動（〈旧〉パターン版の番号バッジと同じ見た目・パターン版は 2026-10-02 に削除） ---------- */
.sr-features__list {
	counter-reset: sr-feature;
}
.sr-feature {
	counter-increment: sr-feature;
}
.sr-feature__media::after {
	content: counter(sr-feature, decimal-leading-zero);
	position: absolute;
	top: 12px;
	left: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--base);
	font-family: var(--wp--preset--font-family--round);
	font-size: var(--wp--preset--font-size--md);
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 6px 14px rgba(58, 51, 48, 0.18);
}

/* ---------- 6 1日の流れ ---------- */
/* 2026-10-11 作り直し＝工程はテーマが出す（inc/top-day.php）＝ここでの戻しは不要になった。〈旧〉点と縦線のスペーサー・時刻の段落＝_archive/2026-10-11_1日の流れ前/top-blocks.css */

/* ---------- 8 2つの教室＝先方が複製・編集するカード（パターン版の dl・span → 段落。2026-09-28） ---------- */
.sr-store__head > .sr-store__badge,
.sr-store__row > p {
	margin: 0;
}
/* 項目名＝パターン版の .sr-store__row dt と同じ */
.sr-store__label {
	color: var(--wp--preset--color--sub-deep);
	font-family: var(--wp--preset--font-family--round);
	font-weight: 700;
}
/* 先方が書いた住所も語の途中で折り返さない（「改行しないまとまり」を付け忘れても） */
.sr-store__value {
	word-break: auto-phrase;
}
