/**
 * 見出し4 ブロックスタイル
 */

:root {
	--swell-child-h4-mix-5: color-mix(in srgb, var(--color_htag) 5%, transparent);
	--swell-child-h4-mix-10: color-mix(in srgb, var(--color_htag) 10%, transparent);
}

.post_content h4[class*="is-style-h4-"],
.editor-styles-wrapper h4[class*="is-style-h4-"] {
	position: relative;
	border: none;
	background: transparent;
	border-radius: 0;
	padding: 0;
	color: inherit;
}

.post_content h4[class*="is-style-h4-"]::before,
.post_content h4[class*="is-style-h4-"]::after,
.editor-styles-wrapper h4[class*="is-style-h4-"]::before,
.editor-styles-wrapper h4[class*="is-style-h4-"]::after {
	content: none;
	border: none;
	background: none;
	box-shadow: none;
	width: auto;
	height: auto;
	top: auto;
	left: auto;
	right: auto;
	bottom: auto;
	display: block;
	position: absolute;
	pointer-events: none;
}

/* 左に縦線 */
.post_content h4.is-style-h4-left-line,
.editor-styles-wrapper h4.is-style-h4-left-line {
	padding: 0 0 0 16px;
	border-left: solid 2px var(--color_htag);
}

/* チェックアイコン */
.post_content h4.is-style-h4-check::before,
.editor-styles-wrapper h4.is-style-h4-check::before {
	content: "\e923";
	display: inline-block;
	position: static;
	width: auto;
	height: auto;
	margin-right: 0.5em;
	font-family: "icomoon";
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	color: var(--color_htag);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* 下線（細） */
.post_content h4.is-style-h4-underline,
.editor-styles-wrapper h4.is-style-h4-underline {
	padding: 0 0 0.35em;
}

.post_content h4.is-style-h4-underline::after,
.editor-styles-wrapper h4.is-style-h4-underline::after {
	content: "";
	left: 0;
	bottom: 0;
	width: 3em;
	height: 2px;
	background: var(--color_htag);
}

/* ドット左 */
.post_content h4.is-style-h4-dot,
.editor-styles-wrapper h4.is-style-h4-dot {
	padding-left: 1.1em;
}

.post_content h4.is-style-h4-dot::before,
.editor-styles-wrapper h4.is-style-h4-dot::before {
	content: "";
	left: 0;
	top: 0.55em;
	width: 0.45em;
	height: 0.45em;
	border-radius: 50%;
	background: var(--color_htag);
}

/* 薄い背景 */
.post_content h4.is-style-h4-bg-thin,
.editor-styles-wrapper h4.is-style-h4-bg-thin {
	padding: 0.4em 0.75em;
	background: var(--swell-child-h4-mix-5);
	border-left: solid 3px var(--color_htag);
}
