/**
 * SWELL の見出し装飾を無効化（ブログ post_content のみ）
 * 仮想ページの見出しは clinic-sub.css のスタイルを適用
 */
.clinic-site .post_content :where(h1, h2, h3, h4, h5, h6),
.clinic-site .post_content .wp-block-heading,
.editor-styles-wrapper.post-type-clinic_blog :where(h1, h2, h3, h4, h5, h6),
.editor-styles-wrapper.post-type-clinic_blog .wp-block-heading {
	font-family: inherit;
	font-size: unset;
	font-weight: 400;
	color: unset;
	line-height: unset;
	letter-spacing: normal;
	text-align: inherit;
	margin: unset;
	padding: unset;
	border: 0;
	background: none;
	box-shadow: none;
	text-shadow: none;
}

/* ブロックエディタの配置・SWELL セクション見出しは inherit より優先 */
.clinic-site .post_content :where(h1, h2, h3, h4, h5, h6).has-text-align-center,
.clinic-site .post_content .wp-block-heading.has-text-align-center,
.clinic-site .post_content .is-style-section_ttl:not(.has-text-align-left):not(.has-text-align-right),
.clinic-site .post_content .clinic-section__head--center :where(h1, h2, h3, h4, h5, h6),
.clinic-site .post_content .clinic-section__head--center .wp-block-heading,
.clinic-site .post_content .clinic-section__head--center .clinic-section-label,
.clinic-site .post_content .clinic-section__head--center .clinic-section-title {
	text-align: center;
}

.clinic-site .post_content :where(h1, h2, h3, h4, h5, h6).has-text-align-left,
.clinic-site .post_content .wp-block-heading.has-text-align-left,
.clinic-site .post_content .is-style-section_ttl.has-text-align-left {
	text-align: left;
}

.clinic-site .post_content :where(h1, h2, h3, h4, h5, h6).has-text-align-right,
.clinic-site .post_content .wp-block-heading.has-text-align-right,
.clinic-site .post_content .is-style-section_ttl.has-text-align-right {
	text-align: right;
}

.clinic-site .clinic-section-title,
.clinic-site .clinic-feature__title,
.clinic-site .clinic-hero__tagline {
	font-weight: 400;
}

.clinic-site :where(h1, h2, h3, h4, h5, h6) :where(strong, b),
.editor-styles-wrapper :where(h1, h2, h3, h4, h5, h6) :where(strong, b) {
	font-weight: 700;
}

.clinic-site .post_content :where(h2, h3, h4, h5, h6)::before,
.clinic-site .post_content :where(h2, h3, h4, h5, h6)::after,
.editor-styles-wrapper.post-type-clinic_blog :where(h2, h3, h4, h5, h6)::before,
.editor-styles-wrapper.post-type-clinic_blog :where(h2, h3, h4, h5, h6)::after {
	content: none !important;
	display: none !important;
}

.clinic-site .post_content :where(h2, h3, h4, h5, h6) :where(span, strong, em)::before,
.clinic-site .post_content :where(h2, h3, h4, h5, h6) :where(span, strong, em)::after {
	content: none !important;
	display: none !important;
}

/* SWELL 見出しブロックスタイル（ブログのみ） */
.clinic-site .post_content [class*="is-style-"] {
	border: 0;
	background: none;
	box-shadow: none;
}

.clinic-site .post_content p {
	font-size: inherit;
	color: inherit;
}

.clinic-site .post_content a:not([class]) {
	color: inherit;
}
