/* ブロック下余白コントロール（フロント・エディター共通） */
.my-mb-0   { margin-bottom: 0 !important; }
.my-mb-0-5 { margin-bottom: .5rem !important; }
.my-mb-1   { margin-bottom: 1rem !important; }
.my-mb-1-5 { margin-bottom: 1.5rem !important; }
.my-mb-2   { margin-bottom: 2rem !important; }
.my-mb-3   { margin-bottom: 3rem !important; }
.my-mb-4   { margin-bottom: 4rem !important; }
.my-mb-6   { margin-bottom: 6rem !important; }
.my-mb-8   { margin-bottom: 8rem !important; }

/*
 * 次のブロックの上マージン（テーマやWPのブロック間隔）を打ち消す。
 * これが無いと、上下のマージンが相殺されて大きい方だけが効くため、
 * 「0」や小さい値を選んでも見た目が変わらない。
 */
.my-mb-0 + *,
.my-mb-0-5 + *,
.my-mb-1 + *,
.my-mb-1-5 + *,
.my-mb-2 + *,
.my-mb-3 + *,
.my-mb-4 + *,
.my-mb-6 + *,
.my-mb-8 + * {
	margin-top: 0 !important;
	margin-block-start: 0 !important;
}
