@charset "utf-8";

/**
 * ブロックエディタ由来の本文（.entry-content--editor）をサイトデザインに寄せる
 */

.entry-content--editor {
	width: 100%;
	padding: 60px 15px;
	box-sizing: border-box;
}

.entry-content--editor .row {
	max-width: 1280px;
	margin: 0 auto;
}

/* コアブロック: ボタン → 既存 .btn に近い見た目 */
.entry-content--editor .wp-block-button .wp-block-button__link,
.entry-content--editor .wp-block-button .wp-block-button__link:visited {
	background: #bc4242;
	color: #fff;
	border-radius: 50vw;
	padding: 15px 30px;
	font-size: 1.6rem;
	text-decoration: none;
	border: none;
	box-shadow: 0 3px 0 #3b2824;
}

.entry-content--editor .wp-block-button .wp-block-button__link:hover,
.entry-content--editor .wp-block-button .wp-block-button__link:focus {
	background: #bc4242;
	color: #fff;
	box-shadow: none;
	transform: translateY(3px);
}

/* 親テーマ blocks.css の青系ボタンを上書き（従来の本文のみページも対象） */
.entry-content .wp-block-button .wp-block-button__link:not(.has-background),
.entry-content .wp-block-button .wp-block-button__link:visited {
	background-color: #bc4242;
	color: #fff;
}

.entry-content .wp-block-button .wp-block-button__link:hover,
.entry-content .wp-block-button .wp-block-button__link:focus {
	background-color: #bc4242;
	color: #fff;
}

/* カラム・グループの余白 */
.entry-content--editor .wp-block-columns {
	gap: 1.5em;
	margin-bottom: 1.5em;
}

.entry-content--editor .wp-block-group.has-background {
	padding: 1.5em;
	margin-bottom: 1.5em;
}

/* リスト（コア）を example-list 風にしない — デフォルトは読みやすく */
.entry-content--editor ul:not([class]),
.entry-content--editor ol:not([class]) {
	padding-left: 1.5em;
	margin: 0 0 1em;
}

.entry-content--editor p {
	font-size: 16px;
	line-height: 1.6;
}

@media (max-width: 768px) {
	.entry-content--editor {
		padding: 40px 15px;
	}
}
