@charset "utf-8";
/* ==========================================================================
   RINGO CLINIC ブログ共通パーツ（ブロックエディタ専用）
   - フロント：ブロックエディタで作成した記事（body.rc-block-post）の .post_content 内のみ
   - 編集画面：ブロックエディタの .editor-styles-wrapper 内のみ
   クラシックエディタで作成した記事には適用されません。
   ========================================================================== */

:is(.rc-block-post .post_content, .editor-styles-wrapper) {
	--rc-red: #b31323;
	--rc-brown: #8f6858;
	--rc-pill: #c49782;
	--rc-pink: #fff6f2;
	--rc-gray: #f7f7f8;
	--rc-line: #dddddd;
	--rc-border: #dde1e7;
	--rc-link: #5e6877;
	--rc-text: #000;
	--rc-mincho: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
	--rc-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;
	--rc-en: "Times New Roman", "Tinos", serif;
}

/* 本文（段落・リスト）：Noto Sans JP、行間は SWELL 標準程度 ------------------
   テーマの .post_content p { line-height:2.4; margin:0 0 2em } を上書き。
   パーツ内の p / li は各パーツ側の指定（詳細度が高い）が優先されます。 */
:is(.rc-block-post .post_content, .editor-styles-wrapper) :is(p, li) {
	font-family: var(--rc-sans);
	line-height: 1.8;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) p {
	margin-top: 0;
	margin-bottom: 2em;
}

/* コラム記事：記事エリアの背景をグレー → 白（テーマ設定のインラインstyleを上書き） */
body.rc-block-post #single_column {
	background: #fff !important;
}

/* コラム記事：サイドバー（#side_col）が空のときは記事カラムを中央に配置
   サイドバーにウィジェット等の中身があるときは従来どおり2カラムのまま。 */
body.rc-block-post #main_contents:not(:has(#side_col > *)) #main_col {
	float: none;
	margin-left: auto;
	margin-right: auto;
}
body.rc-block-post #side_col:not(:has(> *)) {
	display: none;
}

/* 共通：パーツ内の文字・余白をリセット ---------------------------------- */
:is(.rc-block-post .post_content, .editor-styles-wrapper) :is(.rc-author, .rc-comment, .rc-box-point, .rc-box-line, .rc-toc, .rc-case, .rc-ref, .rc-faq, .rc-cta) {
	box-sizing: border-box;
	margin-top: 40px;
	margin-bottom: 40px;
	color: var(--rc-text);
	text-align: left;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) :is(.rc-author, .rc-comment, .rc-box-point, .rc-box-line, .rc-toc, .rc-case, .rc-ref, .rc-faq, .rc-cta) * {
	box-sizing: border-box;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) :is(.rc-author, .rc-comment, .rc-box-point, .rc-box-line, .rc-case, .rc-ref, .rc-faq) p:where(:not(.rc-title)) {
	margin: 0;
	font-family: var(--rc-sans);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: .06em;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) :is(.rc-author, .rc-comment, .rc-cta) .wp-block-columns {
	margin: 0;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-photo {
	margin: 0;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 50%;
}

/* パーツ見出し（目次 CONTENTS など） */
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-title {
	margin: 0;
	font-family: var(--rc-mincho);
	font-size: 18px;
	font-weight: 500;
	line-height: 30px;
	letter-spacing: 0;
	text-align: center;
	color: var(--rc-text);
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-title em {
	margin-left: 16px;
	font-family: var(--rc-en);
	font-size: 14px;
	font-style: normal;
	letter-spacing: 1px;
	color: var(--rc-brown);
}

/* ③ 見出し（既存の見出しブロック .wp-block-heading のデザイン変更） ------- */
:is(.rc-block-post .post_content, .editor-styles-wrapper) h2.wp-block-heading {
	clear: both;
	box-sizing: border-box;
	margin-top: 64px;
	margin-bottom: 32px;
	padding: 18px 35px;
	border: 0;
	border-left: 3px solid var(--rc-red);
	background: var(--rc-gray);
	font-family: var(--rc-mincho);
	font-size: 24px;
	font-weight: 500;
	line-height: 1.7;
	letter-spacing: 0;
	color: var(--rc-text);
	scroll-margin-top: 100px;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) h3.wp-block-heading {
	clear: both;
	box-sizing: border-box;
	margin-top: 48px;
	margin-bottom: 24px;
	padding: 12px 0;
	border: 0;
	border-bottom: 1px solid var(--rc-text);
	background: none;
	font-family: var(--rc-mincho);
	font-size: 21px;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: 0;
	color: var(--rc-text);
	scroll-margin-top: 100px;
}

/* 公開日・最終更新日 --------------------------------------------------------- */
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-date {
	margin-top: 0;
	margin-bottom: 32px;
	line-height: 20px;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-date p {
	display: inline-block;
	margin: 0;
	padding: 0;
	font-family: var(--rc-en);
	font-size: 15px;
	line-height: 20px;
	letter-spacing: 1px;
	color: var(--rc-text);
	vertical-align: middle;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-date p strong {
	margin-right: 8px;
	font-family: var(--rc-mincho);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--rc-brown);
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-date p + p::before {
	content: "";
	display: inline-block;
	width: 1px;
	height: 12px;
	margin: 0 16px;
	background: var(--rc-line);
	vertical-align: middle;
}

/* ① 執筆者情報 --------------------------------------------------------------- */
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-author {
	padding: 32px;
	background: var(--rc-gray);
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-author .wp-block-columns {
	gap: 32px;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-author p.rc-author__role {
	font-family: var(--rc-mincho);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--rc-brown);
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-author p.rc-author__name {
	margin-top: 4px;
	font-family: var(--rc-mincho);
	font-size: 21px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 1px;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-author p.rc-author__text {
	margin: 12px 0 16px;
}

/* ボタン（共通） */
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-btn .wp-block-button__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	border-radius: 0;
	text-decoration: none;
	transition: opacity .2s;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-btn .wp-block-button__link::after {
	content: "";
	width: 7px;
	height: 7px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: rotate(45deg);
	flex-shrink: 0;
}
.rc-block-post .post_content .rc-btn .wp-block-button__link:hover {
	opacity: .75;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-btn--outline .wp-block-button__link {
	min-height: 48px;
	padding: 0 32px;
	border: 1px solid var(--rc-red);
	background: #fff;
	color: var(--rc-red);
	font-family: var(--rc-sans);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.7;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-btn--primary,
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-btn--primary .wp-block-button__link {
	width: 100%;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-btn--primary .wp-block-button__link {
	min-height: 60px;
	padding: 12px 32px;
	border: 0;
	background: var(--rc-red);
	color: #fff;
	font-family: var(--rc-mincho);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
}

/* ② 吹き出しコメント --------------------------------------------------------- */
:is(.rc-block-post .post_content, .editor-styles-wrapper) .wp-block-columns.rc-comment {
	gap: 16px;
	align-items: flex-start;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-comment__person {
	flex-grow: 0;
	flex-shrink: 0;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-comment p.rc-comment__name {
	margin-top: 6px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0;
	text-align: center;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-comment__bubble {
	--rc-bubble: var(--rc-gray);
	position: relative;
	align-self: flex-start;
	margin-left: 12px;
	padding: 24px;
	background: var(--rc-bubble);
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-comment--pink .rc-comment__bubble {
	--rc-bubble: var(--rc-pink);
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-comment__bubble::before {
	content: "";
	position: absolute;
	top: 34px;
	left: -12px;
	border-style: solid;
	border-width: 10px 12px 10px 0;
	border-color: transparent var(--rc-bubble) transparent transparent;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-comment__bubble p + p {
	margin-top: 1em;
}

/* ④ 見出し付き枠（POINT） ---------------------------------------------------- */
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-box-point {
	padding: 32px;
	background: var(--rc-pink);
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-box-point p.rc-box-point__label {
	display: table;
	margin: 0 0 16px;
	padding: 10px 20px;
	border-radius: 999px;
	background: var(--rc-pill);
	color: #fff;
	font-family: var(--rc-mincho);
	font-size: 18px;
	font-weight: 500;
	line-height: 24px;
	letter-spacing: 1px;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) :is(.rc-box-point, .rc-box-line) p + p {
	margin-top: 1em;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) :is(.rc-box-point, .rc-box-line) :is(ul, ol) {
	margin: 8px 0 0;
	padding-left: 1.4em;
	font-size: 15px;
	line-height: 1.6;
}

/* ④ 枠線 --------------------------------------------------------------------- */
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-box-line {
	padding: 32px;
	border: 2px solid var(--rc-border);
	background: #fff;
}

/* ⑤ ページ下部導線 ------------------------------------------------------------ */
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-cta {
	container-type: inline-size;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-cta .wp-block-columns {
	gap: 0;
	align-items: stretch;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-cta__media .wp-block-image {
	height: 100%;
	margin: 0;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-cta__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 240px;
	object-fit: cover;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-cta__body {
	padding: 48px;
	background: var(--rc-pink);
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-cta p {
	margin: 0;
	color: var(--rc-text);
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-cta p.rc-cta__en {
	font-family: var(--rc-en);
	font-size: 14px;
	line-height: 1.2;
	letter-spacing: 2px;
	color: var(--rc-brown);
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-cta p.rc-cta__title {
	margin-top: 8px;
	font-family: var(--rc-mincho);
	font-size: 26px;
	font-weight: 500;
	line-height: 1.55;
	letter-spacing: 1px;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-cta p.rc-cta__text {
	margin: 12px 0 20px;
	font-family: var(--rc-mincho);
	font-size: 15px;
	line-height: 1.8;
	letter-spacing: 1px;
}

/* 提案① 目次 ------------------------------------------------------------------ */
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-toc {
	padding: 32px 0 24px;
	background: var(--rc-pink);
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-toc .rc-title {
	margin-bottom: 16px;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) ol.rc-toc__list {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: rc-toc;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) ol.rc-toc__list > li {
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 12px 32px;
	border-bottom: 1px solid var(--rc-line);
	font-family: var(--rc-mincho);
	font-size: 15px;
	font-weight: 500;
	line-height: 24px;
	letter-spacing: 1px;
	list-style: none;
	counter-increment: rc-toc;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) ol.rc-toc__list > li:last-child {
	border-bottom: 0;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) ol.rc-toc__list > li::before {
	content: counter(rc-toc, decimal-leading-zero);
	flex-shrink: 0;
	font-family: var(--rc-en);
	font-size: 15px;
	color: var(--rc-brown);
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) ol.rc-toc__list a {
	color: var(--rc-text);
	text-decoration: none;
}
.rc-block-post .post_content ol.rc-toc__list a:hover {
	color: var(--rc-red);
	text-decoration: underline;
}

/* 提案② 症例情報の共通表 ------------------------------------------------------ */
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-case {
	padding: 32px;
	background: var(--rc-gray);
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-case .rc-title {
	margin-bottom: 16px;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-case__table {
	margin: 0;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-case__table table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: none;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-case__table :is(td, th) {
	padding: 8px 16px;
	border: 0;
	border-bottom: 1px solid var(--rc-line);
	background: none;
	font-family: var(--rc-sans);
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
	text-align: left;
	vertical-align: top;
	color: var(--rc-text);
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-case__table tr > :first-child {
	width: 168px;
	font-weight: 500;
}

/* 提案③ 参考文献 -------------------------------------------------------------- */
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-ref {
	padding: 32px;
	border: 2px solid var(--rc-border);
	background: #fff;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-ref .rc-title {
	margin-bottom: 8px;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-ref p.rc-ref__item {
	position: relative;
	padding: 14px 0 14px 32px;
	border-bottom: 1px solid var(--rc-line);
	font-size: 14px;
	line-height: 24px;
	letter-spacing: 0;
	scroll-margin-top: 100px;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-ref p.rc-ref__item strong:first-child {
	position: absolute;
	top: 14px;
	left: 0;
	font-family: var(--rc-en);
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 1px;
	color: var(--rc-brown);
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-ref p.rc-ref__item a {
	display: inline-block;
	margin-top: 2px;
	font-size: 13px;
	line-height: 20px;
	color: var(--rc-link);
	text-decoration: underline;
}
/* 本文の注記 ［1］ */
:is(.rc-block-post .post_content, .editor-styles-wrapper) sup a[href^="#ref-"] {
	margin-left: 2px;
	font-family: var(--rc-en);
	color: var(--rc-red);
	text-decoration: none;
}

/* 提案④ よくある質問（アコーディオン） --------------------------------------- */
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-faq {
	border-top: 1px solid var(--rc-line);
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-faq__item {
	margin: 0;
	border-bottom: 1px solid var(--rc-line);
	background: var(--rc-pink);
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-faq__item > summary {
	position: relative;
	display: block;
	padding: 20px 64px;
	font-family: var(--rc-mincho);
	font-size: 16px;
	font-weight: 500;
	line-height: 26px;
	color: var(--rc-text);
	list-style: none;
	cursor: pointer;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-faq__item > summary::-webkit-details-marker {
	display: none;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-faq__item > summary::before {
	content: "Q";
	position: absolute;
	top: 20px;
	left: 32px;
	font-family: var(--rc-en);
	font-size: 20px;
	line-height: 26px;
	color: var(--rc-brown);
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-faq__item > summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 34px;
	width: 8px;
	height: 8px;
	margin-top: -6px;
	border-right: 1.5px solid var(--rc-brown);
	border-bottom: 1.5px solid var(--rc-brown);
	transform: rotate(45deg);
	transition: transform .2s;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-faq__item[open] > summary::after {
	margin-top: -2px;
	transform: rotate(-135deg);
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-faq__item > :not(summary) {
	margin: 0 32px 0 64px;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-faq__item > summary + * {
	position: relative;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-faq__item > summary + *::before {
	content: "A";
	position: absolute;
	top: 0;
	left: -32px;
	font-family: var(--rc-en);
	font-size: 20px;
	line-height: 24px;
	letter-spacing: 0;
	color: var(--rc-red);
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-faq__item > :not(summary) + :not(summary) {
	margin-top: 1em;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-faq__item > :last-child:not(summary) {
	margin-bottom: 24px;
}
:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-faq__item p {
	line-height: 24px;
}

/* スマートフォン -------------------------------------------------------------- */
@media screen and (max-width: 767px) {
	:is(.rc-block-post .post_content, .editor-styles-wrapper) h2.wp-block-heading {
		margin-top: 48px;
		margin-bottom: 24px;
		padding: 14px 18px;
		font-size: 22px;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) h3.wp-block-heading {
		margin-top: 36px;
		margin-bottom: 18px;
		padding: 10px 0;
		font-size: 18px;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) :is(.rc-author, .rc-box-point, .rc-box-line, .rc-case, .rc-ref) {
		padding: 24px 20px;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) :is(.rc-author, .rc-comment, .rc-box-point, .rc-box-line, .rc-toc, .rc-case, .rc-ref, .rc-faq, .rc-cta) p:where(:not(.rc-title)) {
		font-size: 15px;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-author .wp-block-columns {
		gap: 16px;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-author__media {
		flex-basis: 96px !important;
		max-width: 96px;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-author p.rc-author__name {
		font-size: 20px;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-btn--outline,
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-btn--outline .wp-block-button__link {
		width: 100%;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-comment__person {
		flex-basis: 64px !important;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-comment__bubble {
		padding: 16px 18px;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-comment__bubble::before {
		top: 22px;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-cta__media img {
		height: 200px;
		min-height: 0;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-cta__body {
		padding: 28px 20px;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-cta p.rc-cta__title {
		font-size: 22px;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) ol.rc-toc__list > li {
		padding: 12px 20px;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-case__table tr > :first-child {
		width: 112px;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-case__table :is(td, th) {
		padding: 8px 10px;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-faq__item > summary {
		padding: 16px 48px 16px 48px;
		font-size: 15px;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-faq__item > summary::before {
		top: 16px;
		left: 18px;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-faq__item > summary::after {
		right: 20px;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-faq__item > :not(summary) {
		margin: 0 18px 0 48px;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-faq__item > summary + *::before {
		left: -30px;
	}
}

/* 執筆者情報：781px以下（WordPress がカラムを縦積みにする幅）でも
   写真と肩書き・名前は横並びのまま。紹介文とボタンは下に全幅で配置 ------------- */
@media screen and (max-width: 781px) {
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-author .wp-block-columns.rc-author__cols {
		display: grid;
		grid-template-columns: 96px minmax(0, 1fr);
		gap: 0 16px;
		align-items: center;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-author .rc-author__media {
		grid-column: 1;
		grid-row: 1 / span 2;
		width: 96px;
		max-width: 96px;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-author .rc-author__body {
		display: contents;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-author p.rc-author__role {
		grid-column: 2;
		grid-row: 1;
		align-self: end;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-author p.rc-author__name {
		grid-column: 2;
		grid-row: 2;
		align-self: start;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-author p.rc-author__text,
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-author .wp-block-buttons {
		grid-column: 1 / -1;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-author p.rc-author__text {
		margin: 16px 0;
	}
}

/* ⑤ ページ下部導線：パーツの幅が 640px 以下（タブレット・サイドバーあり等）は縦組み
   画面幅ではなくパーツ自身の幅で判定（コンテナクエリ） ------------------------- */
@container (max-width: 640px) {
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-cta .wp-block-columns {
		flex-direction: column;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-cta .wp-block-columns > .wp-block-column {
		flex-basis: auto !important;
		width: 100%;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-cta__media img {
		height: 240px;
		min-height: 0;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-cta__body {
		padding: 32px 28px;
	}
}
@container (max-width: 400px) {
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-cta__media img {
		height: 200px;
	}
	:is(.rc-block-post .post_content, .editor-styles-wrapper) .rc-cta__body {
		padding: 28px 20px;
	}
}
