/* ------------------------------------------- */
/*	Twenty Twenty Editor Styles — Block Editor
/* ------------------------------------------- */

.editor-styles-wrapper {
	background: #fafafa;
	color: #000;
	letter-spacing: -0.015em;
	-moz-font-smoothing: antialiased;
	-webkit-font-smoothing: antialiased;
}

.block-editor-default-block-appender textarea.block-editor-default-block-appender__content {
	color: inherit;
	font-family: inherit;
	font-size: inherit;
}

.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover):not(:focus),
.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover):not(:focus) {
	color: inherit;
}


/* Fonts ------------------------------------- */

.editor-styles-wrapper > * {
  font-family:
    "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "YuGothic",
    "Noto Sans JP", "MS PGothic",
    system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
}

/* Structure --------------------------------- */

.wp-block {
  max-inline-size: 1000px;
}

.wp-block[data-align="wide"] .wp-block[data-align="wide"],
.wp-block[data-align="full"] .wp-block[data-align="wide"] {
	max-width: 1200px;
}

.wp-block .wp-block[data-type="core/group"]:not([data-align="full"]):not([data-align="wide"]):not([data-align="left"]):not([data-align="right"]),
.wp-block .wp-block[data-type="core/cover"]:not([data-align="full"]):not([data-align="wide"]):not([data-align="left"]):not([data-align="right"]) {
	margin-left: auto;
	margin-right: auto;
	max-width: 610px;
}

.wp-block .wp-block[data-align="full"] {
	margin-left: 0;
	margin-right: 0;
}

*[data-align="right"] .wp-block-edit,
*[data-align="left"] .wp-block-edit {
	max-width: 50%;
}

.wp-block[data-align="wide"] {
	max-width: 1200px;
}

.wp-block[data-align="full"] {
	max-width: none;
}

.editor-styles-wrapper .editor-rich-text__tinymce,
.editor-styles-wrapper .editor-rich-text__tinymce.mce-content-body {
	line-height: 1.5;
}


/* Colors ------------------------------------ */

/* CUSTOM COLORS */

:root .has-accent-color {
	color: #cd2653;
}

:root .has-accent-background-color {
	background-color: #cd2653;
	color: #fff;
}

:root .has-primary-color {
	color: #000;
}

:root .has-primary-background-color {
	background-color: #000;
	color: #f5efe0;
}

:root .has-secondary-color {
	color: #6d6d6d;
}

:root .has-secondary-background-color {
	background-color: #6d6d6d;
	color: #fff;
}

:root .has-subtle-background-color {
	color: #dcd7ca;
}

:root .has-subtle-background-background-color {
	background-color: #dcd7ca;
	color: #000;
}

:root .has-background-color {
	color: #f5efe0;
}

:root .has-background-background-color {
	background-color: #f5efe0;
	color: #000;
}

/* GENERAL COLORS */

.has-black-background-color {
	background-color: #000;
	color: #fff;
}

.has-white-background-color {
	background-color: #fff;
	color: #000;
}

.has-black-color {
	color: #000;
}

.has-white-color {
	color: #fff;
}


/* Typography -------------------------------- */

.editor-styles-wrapper .editor-block-list__layout a {
	color: #cd2653;
	text-decoration: underline;
}

.editor-styles-wrapper a:focus,
.editor-styles-wrapper a:hover {
	text-decoration: none;
}


/* 見出し（本文と同系統のサンセリフで統一） */
.editor-post-title__block .editor-post-title__input,
.editor-styles-wrapper .wp-block h1,
.editor-styles-wrapper .wp-block h2,
.editor-styles-wrapper .wp-block h3,
.editor-styles-wrapper .wp-block h4,
.editor-styles-wrapper .wp-block h5,
.editor-styles-wrapper .wp-block h6 {
  font-family:
    "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "YuGothic",
    "Noto Sans JP", "MS PGothic",
    system-ui, -apple-system, "Segoe UI", sans-serif;
  /* 日本語での過度な詰めを解除 */
  letter-spacing: 0;
  /* 見出し行高もやや広めに */
  line-height: 1.35;
  margin: 2rem 0 1.25rem;
  text-transform: none; /* h6 の全大文字化を解除 */
}

/* 見出しのサイズを clamp で流体化（例） */
.editor-post-title__block .editor-post-title__input,
.editor-styles-wrapper .wp-block h1 { font-size: clamp(1.75rem, 2.5vw + 1rem, 2.6rem); }
.editor-styles-wrapper .wp-block h2 { font-size: clamp(1.5rem, 2vw + 1rem, 2.2rem); }
.editor-styles-wrapper .wp-block h3 { font-size: clamp(1.375rem, 1.7vw + 0.9rem, 1.9rem); }
.editor-styles-wrapper .wp-block h4 { font-size: clamp(1.25rem, 1.4vw + 0.8rem, 1.6rem); }
.editor-styles-wrapper .wp-block h5 { font-size: clamp(1.125rem, 1.1vw + 0.7rem, 1.35rem); }
.editor-styles-wrapper .wp-block h6 { font-size: clamp(1rem, 0.9vw + 0.65rem, 1.2rem); }


/* 本文行間（日本語） */
.editor-styles-wrapper p,
.editor-styles-wrapper li {
  line-height: 1.7;
}

/* POST TITLE */

.wp-block.editor-post-title__block {
	max-width: 1000px;
}

.editor-styles-wrapper .editor-post-title__block .editor-post-title__input {
	margin: 0;
	text-align: center;
}

/* DROP CAP */

.editor-styles-wrapper .has-drop-cap:not(:focus)::first-letter {
	color: #cd2653;
	font-size: 5.1em;
	font-weight: 800;
	margin: 0.05em 0.1em 0 0;
}


/* Monospace --------------------------------- */

.editor-styles-wrapper code,
.editor-styles-wrapper kbd,
.editor-styles-wrapper pre,
.editor-styles-wrapper samp {
	font-family: monospace;
}

.editor-styles-wrapper kbd,
.editor-styles-wrapper pre,
.editor-styles-wrapper samp {
	border-radius: 0;
	font-size: 0.75em;
	padding: 4px 6px;
}

.editor-styles-wrapper pre {
	border-color: #dcd7ca;
	border-radius: 0;
	line-height: 1.5;
	padding: 1em;
}


/* Custom Text Sizes ------------------------- */

.editor-styles-wrapper p.has-large-font-size.editor-rich-text__tinymce,
.editor-styles-wrapper p.has-large-font-size.editor-rich-text__tinymce.mce-content-body,
.editor-styles-wrapper p.has-larger-font-size.editor-rich-text__tinymce,
.editor-styles-wrapper p.has-larger-font-size.editor-rich-text__tinymce.mce-content-body {
	line-height: 1.4;
}

.editor-styles-wrapper p.has-small-font-size {
	font-size: 0.842em;
}

.editor-styles-wrapper p.has-normal-font-size,
.editor-styles-wrapper p.has-regular-font-size {
	font-size: 1em;
}

.editor-styles-wrapper p.has-medium-font-size {
	font-size: 1.1em;
}

.editor-styles-wrapper p.has-large-font-size {
	font-size: 1.25em;
}

.editor-styles-wrapper p.has-larger-font-size {
	font-size: 1.5em;
}


/* Post Media -------------------------------- */

.editor-styles-wrapper figure {
	margin: 0;
}

.editor-styles-wrapper .alignleft,
.editor-styles-wrapper .alignright {
	margin-bottom: 1.2em;
	max-width: 260px;
}

.editor-styles-wrapper .wp-caption .alignleft,
.editor-styles-wrapper .wp-caption .alignright {
	margin-bottom: 0;
}

.editor-styles-wrapper .alignleft {
	margin-right: 1em;
}

.editor-styles-wrapper .alignright {
	margin-left: 1em;
}

.editor-styles-wrapper figcaption {
	color: #6d6d6d;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	margin-top: 5px;
	text-align: inherit;
}


/* Forms ------------------------------------- */

.editor-styles-wrapper fieldset {
	border: 2px solid #dcd7ca;
	padding: 20px;
}

.editor-styles-wrapper legend {
	font-size: 0.85em;
	font-weight: 700;
	padding: 0 10px;
}

.editor-styles-wrapper label {
	font-size: 15px;
	font-weight: 600;
}


/* Block: Base Margins ---------------------- */

/* Block: Shared Widget Styles -------------- */

.editor-styles-wrapper ul.wp-block-archives,
.editor-styles-wrapper ul.wp-block-categories,
.editor-styles-wrapper ul.wp-block-latest-posts,
.editor-styles-wrapper ul.wp-block-categories__list {
	font-family: inherit;
	list-style: none;
	margin: 40px 0;
	padding-left: 0;
}

.editor-styles-wrapper ul.wp-block-categories__list ul {
	margin: 0;
}

.editor-styles-wrapper ul.wp-block-archives li,
.editor-styles-wrapper ul.wp-block-categories li,
.editor-styles-wrapper ul.wp-block-latest-posts li,
.editor-styles-wrapper ul.wp-block-categories__list li {
	color: #6d6d6d;
	line-height: 1.476;
	margin: 5px 0 0 0;
}

.editor-styles-wrapper ul.wp-block-archives li li,
.editor-styles-wrapper ul.wp-block-categories li li,
.editor-styles-wrapper ul.wp-block-categories__list li li,
.editor-styles-wrapper ul.wp-block-latest-posts li li {
	margin-left: 20px;
}

.editor-styles-wrapper .wp-block-archives li > a,
.editor-styles-wrapper .wp-block-categories li > a,
.editor-styles-wrapper .wp-block-latest-posts li > a {
	font-weight: 700;
	text-decoration: none;
}

.editor-styles-wrapper .wp-block-archives li > a:focus,
.editor-styles-wrapper .wp-block-archives li > a:hover,
.editor-styles-wrapper .wp-block-categories li > a:focus,
.editor-styles-wrapper .wp-block-categories li > a:hover,
.editor-styles-wrapper .wp-block-latest-posts li > a:focus,
.editor-styles-wrapper .wp-block-latest-posts li > a:hover {
	font-weight: 700;
	text-decoration: none;
}

.editor-styles-wrapper .wp-block-archives.aligncenter,
.editor-styles-wrapper .wp-block-categories.aligncenter {
	text-align: center;
}

.editor-styles-wrapper .wp-block-latest-comments time,
.editor-styles-wrapper .wp-block-latest-posts time {
	color: #6d6d6d;
	font-size: 0.7em;
	font-weight: 600;
	letter-spacing: normal;
	line-height: 1.476;
	margin-top: 0.15em;
}


/* Block: Table ------------------------------ */

.editor-styles-wrapper .wp-block-table {
	border-collapse: collapse;
	border-spacing: 0;
	empty-cells: show;
	font-size: 16px;
	margin-bottom: 1.1em;
	width: 100%;
}

.editor-styles-wrapper .wp-block-table,
.editor-styles-wrapper .wp-block-table * {
	border-color: #dcd7ca;
}

.editor-styles-wrapper .wp-block-table tr {
	border: none;
}

.editor-styles-wrapper .wp-block-table caption {
	background: #dcd7ca;
	text-align: center;
}

.editor-styles-wrapper .wp-block-table th,
.editor-styles-wrapper .wp-block-table td {
	line-height: 1.4;
	margin: 0;
	overflow: visible;
	padding: 0;
}

.editor-styles-wrapper .wp-block-table .wp-block-table__cell-content {
	padding: 0.5em;
}

.editor-styles-wrapper .wp-block-table thead {
	vertical-align: bottom;
	white-space: nowrap;
	text-align: inherit;
}

.editor-styles-wrapper .wp-block-table th {
	font-weight: 700;
	text-align: inherit; /* Prevents the header from being centered by default*/
}

.editor-styles-wrapper .wp-block-table th.has-text-align-center {
	text-align: center;
}

.editor-styles-wrapper .wp-block-table th.has-text-align-right {
	text-align: right;
}

.editor-styles-wrapper .wp-block-table th.has-text-align-left {
	text-align: left;
}

/* STYLE: STRIPES */

.editor-styles-wrapper .wp-block-table.is-style-stripes {
	border: 1px solid #dcd7ca;
}

.editor-styles-wrapper .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background: #dcd7ca;
}


/* Block: Separator -------------------------- */

hr.wp-block-separator {
	border-top: 1px solid #6d6d6d;
	color: #6d6d6d;
	margin: 30px 0;
}

hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	max-width: 100%;
}

hr.wp-block-separator:not(.is-style-dots) {
	background: linear-gradient(to left, currentColor calc(50% - 16px), transparent calc(50% - 16px), transparent calc(50% + 16px), currentColor calc(50% + 16px));
	background-color: transparent !important;
	border: none;
	height: 1px;
	overflow: visible;
	position: relative;
}

.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots) {
	height: 1px;
}

hr.wp-block-separator:not(.is-style-dots)::before,
hr.wp-block-separator:not(.is-style-dots)::after {
	background: currentColor;
	content: "";
	display: block;
	height: 16px;
	position: absolute;
	top: calc(50% - 8px);
	transform: rotate(22.5deg);
	width: 1px;
}

hr.wp-block-separator::before {
	left: calc(50% - 5px);
}

hr.wp-block-separator::after {
	right: calc(50% - 5px);
}

/* STYLE: DOTS */

hr.wp-block-separator.is-style-dots::before {
	font-size: 32px;
	font-weight: 700;
	letter-spacing: 1em;
	padding-left: 1em;
}


/* Block: Quote ------------------------------ */

.editor-styles-wrapper blockquote {
	margin: 0;
}

.editor-styles-wrapper .wp-block-quote {
	border-color: #cd2653;
	border-style: solid;
	border-width: 0 0 0 2px;
	margin: 20px 0;
	padding: 5px 0 5px 20px;
}

.editor-styles-wrapper .wp-block-quote.has-text-align-center,
.editor-styles-wrapper .wp-block-quote[style*="text-align: center"],
.editor-styles-wrapper .wp-block-quote[style*="text-align: center"] {
	border-width: 0;
	padding: 5px 0;
}

.editor-styles-wrapper .wp-block-quote.has-text-align-right,
.editor-styles-wrapper .wp-block-quote[style*="text-align: right"],
.editor-styles-wrapper .wp-block-quote[style*="text-align: right"] {
	border-width: 0 2px 0 0;
	padding: 5px 20px 5px 0;
}

.editor-styles-wrapper cite,
.editor-styles-wrapper .wp-block-quote__citation,
.editor-styles-wrapper .wp-block-quote cite,
.editor-styles-wrapper .wp-block-quote footer {
	color: #6d6d6d;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
}

.editor-styles-wrapper .wp-block-quote p {
	color: inherit;
	font-weight: 400;
	margin: 0 0 20px 0;
}

.editor-styles-wrapper .wp-block-quote.is-style-large {
	border: none;
	padding: 0;
}

.editor-styles-wrapper .wp-block-quote.is-style-large p {
	font-family: inherit;
	font-size: 24px;
	font-style: normal;
	font-weight: 700;
	line-height: 1.285714286;
}

.editor-styles-wrapper .wp-block-quote.is-style-large .wp-block-quote__citation,
.editor-styles-wrapper .wp-block-quote.is-style-large cite,
.editor-styles-wrapper .wp-block-quote.is-style-large footer {
	font-size: 16px;
}


/* Block: Code, Verse and Preformatted ------- */

.editor-styles-wrapper .wp-block-code {
	color: inherit;
}

.editor-styles-wrapper .wp-block-code,
.editor-styles-wrapper .wp-block-preformatted pre,
.editor-styles-wrapper .wp-block-verse pre {
	border: 1px solid #dcd7ca;
	border-radius: 0;
	padding: 30px;
}

.editor-styles-wrapper .wp-block-freeform.block-library-rich-text__tinymce pre,
.editor-styles-wrapper .wp-block-preformatted pre,
.editor-styles-wrapper .wp-block-code .block-editor-plain-text,
.editor-styles-wrapper .wp-block-verse pre {
	background: transparent;
	color: inherit;
	font-family: monospace;
	font-size: 14px;
}

/* Block: Cover ------------------------------ */

.editor-styles-wrapper .wp-block-cover-image .wp-block-cover__inner-container,
.editor-styles-wrapper .wp-block-cover .wp-block-cover__inner-container {
	margin: 0 auto;
	width: calc(100% - 40px);
}

.editor-styles-wrapper .wp-block[data-type="core/cover"][data-align="right"],
.editor-styles-wrapper .wp-block[data-type="core/cover"][data-align="left"] {
	height: auto;
	max-height: none;
}

.editor-styles-wrapper .wp-block[data-type="core/cover"][data-align="left"] .wp-block-cover {
	text-align: left;
}

.editor-styles-wrapper .wp-block[data-type="core/cover"][data-align="right"] .wp-block-cover {
	text-align: right;
}

.editor-styles-wrapper .wp-block[data-type="core/cover"][data-align="right"] .block-editor-block-list__block-edit,
.editor-styles-wrapper .wp-block[data-type="core/cover"][data-align="left"] .block-editor-block-list__block-edit {
	float: none;
	margin-left: 0;
	margin-right: 0;
	max-width: 100%;
}

.wp-block-cover-image .wp-block-cover-image-text,
.wp-block-cover-image .wp-block-cover-text,
.wp-block-cover-image h2,
.wp-block-cover .wp-block-cover-image-text,
.wp-block-cover .wp-block-cover-text,
.wp-block-cover h2 {
	max-width: 100%;
}

.editor-styles-wrapper .wp-block-cover a {
	color: inherit;
}

/* Block: Shared Media Styles ---------------- */

.wp-block[data-type*="core-embed"][data-align="full"] figcaption,
.wp-block[data-type="core/image"][data-align="full"] figcaption,
.wp-block[data-type="core/gallery"][data-align="full"] .blocks-gallery-caption {
	padding: 0 14px;
}

/* Block: Paragraph -------------------------- */

/* Block: Pullquote -------------------------- */

.editor-styles-wrapper .wp-block-pullquote {
	border: none;
	color: inherit;
	padding: 0;
	position: relative;
	text-align: center;
}

.editor-styles-wrapper .wp-block-pullquote::before {
	background: #fff;
	border-radius: 50%;
	color: #cd2653;
	content: "”";
	display: block;
	font-size: 62px;
	font-weight: 500;
	line-height: 1.2;
	margin: 0 auto 15px auto;
	text-align: center;
	height: 44px;
	width: 44px;
}

.editor-styles-wrapper .wp-block .wp-block-pullquote p {
	font-family: inherit;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.178571429;
	margin-bottom: 20px;
}

.editor-styles-wrapper .wp-block .wp-block-pullquote p:last-child {
	margin-bottom: 0;
}

.editor-styles-wrapper .wp-block .wp-block-pullquote p,
.editor-styles-wrapper .wp-block-pullquote.is-style-solid-color blockquote > .block-editor-rich-text p,
.editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .editor-rich-text p,
.editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .editor-rich-text p {
	font-size: 28px;
}

.editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"],
.editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] {
	height: auto;
	max-height: none;
}

.editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .wp-block-pullquote,
.editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .wp-block-pullquote.is-style-solid-color blockquote {
	text-align: left;
}

.editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .wp-block-pullquote,
.editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .wp-block-pullquote.is-style-solid-color blockquote {
	text-align: right;
}

.editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .block-editor-block-list__block-edit,
.editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .block-editor-block-list__block-edit {
	float: none;
	margin-left: 0;
	margin-right: 0;
	max-width: 100%;
}

.editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .block-editor-block-list__block-edit .wp-block-pullquote::before {
	margin-right: 0;
}

.editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .block-editor-block-list__block-edit .wp-block-pullquote::before {
	margin-left: 0;
}

.editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .is-style-solid-color::before {
	right: 20px;
	transform: translateY(-50%);
}

.editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .is-style-solid-color::before {
	left: 20px;
	transform: translateY(-50%);
}

.editor-styles-wrapper .wp-block-pullquote__citation,
.editor-styles-wrapper .wp-block-pullquote cite,
.editor-styles-wrapper .wp-block-pullquote footer {
	color: #6d6d6d;
	font-weight: 500;
	margin-top: 12px;
	text-transform: none;
}

/* STYLE: SOLID COLOR */

.editor-styles-wrapper .wp-block-pullquote.is-style-solid-color {
	padding: 30px 20px;
	position: relative;
}

.editor-styles-wrapper .wp-block-pullquote.is-style-solid-color::before {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
}

.editor-styles-wrapper .wp-block-pullquote.is-style-solid-color blockquote {
	max-width: 100%;
	text-align: center;
}

.editor-styles-wrapper .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation,
.editor-styles-wrapper .wp-block-pullquote.is-style-solid-color .wp-block-pullquote cite,
.editor-styles-wrapper .wp-block-pullquote.is-style-solid-color .wp-block-pullquote footer {
	color: inherit;
}


/* Block: Verse ------------------------------ */

.editor-styles-wrapper .wp-block-verse pre,
.editor-styles-wrapper pre.wp-block-verse {
	font-size: 0.75em;
}


/* Block: Button ----------------------------- */

.editor-styles-wrapper .wp-block-button__link,
.editor-styles-wrapper .wp-block-file__button {
	background: var(--c-primary, #05a0a0); /* サイトの主色に合わせる */
	border-radius: 0.25rem;
	color: #fff;
	font-size: 1rem !important;       /* common.css @media(max-width:640px) の 1.3rem を打ち消す */
	font-weight: 600;
	line-height: 1.25;
	padding: 0.6em 1.2em !important;  /* 元の 1.1em 1.44em を適切なサイズに変更 */
	text-transform: none;             /* 元の uppercase を解除 */
	width: auto !important;           /* min.css 由来の過大な width を打ち消す */
	display: inline-block !important; /* ブロック扱いによる幅の広がりを防ぐ */
	letter-spacing: 0;
}

.editor-styles-wrapper .wp-block-button .wp-block-button__link.mce-content-body {
	line-height: 1.1;
}

/* BUTTON STYLE: OUTLINE */

.editor-styles-wrapper .is-style-outline .wp-block-button__link {
	background: none;
	border-color: currentColor;
	color: #cd2653;
	padding: calc(1.1em - 2px) calc(1.44em - 2px);
}

/* BUTTON STYLE: SQUARED */

.editor-styles-wrapper .is-style-squared .wp-block-button__link {
	border-radius: 0;
}


/* Block: Latest Comments -------------------- */

.editor-styles-wrapper .wp-block-latest-comments {
	font-family: inherit;
	margin-left: 0;
}

.editor-styles-wrapper .wp-block-latest-comments li.wp-block-latest-comments__comment {
	font-size: inherit;
	margin-bottom: 20px;
}

.editor-styles-wrapper .wp-block-latest-comments li.wp-block-latest-comments__comment:last-child {
	margin-bottom: 0;
}

.editor-styles-wrapper .wp-block-latest-comments__comment-meta,
.editor-styles-wrapper .wp-block-latest-comments__comment-excerpt {
	margin-left: 0 !important;
}

.editor-styles-wrapper .wp-block-latest-comments__comment-meta {
	font-weight: 700;
}

.editor-styles-wrapper .wp-block-latest-comments__comment-meta a {
	text-decoration: none;
}

.editor-styles-wrapper .wp-block-latest-comments__comment-meta a:focus,
.editor-styles-wrapper .wp-block-latest-comments__comment-meta a:hover {
	text-decoration: none;
}

/* HAS AVATAR */

.editor-styles-wrapper .wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment {
	display: flex;
}

.editor-styles-wrapper .wp-block-latest-comments.has-avatars img.avatar {
	flex-shrink: 0;
	margin: 5px 15px 0 0;
}

/* HAS EXCERPT */

.editor-styles-wrapper .wp-block-latest-comments__comment-excerpt {
	margin: 0;
}

.editor-styles-wrapper .wp-block-latest-comments__comment-excerpt p {
	font-family: inherit;
	font-size: 0.7em;
	margin: 10px 0 0;
}


/* Block: Latest Posts ----------------------- */

.editor-styles-wrapper ul.wp-block-latest-posts:not(.is-grid) li {
	margin-top: 15px;
}

/* STYLE: GRID */

.editor-styles-wrapper .wp-block-latest-posts.is-grid li {
	border-color: #dcd7ca;
}

.editor-styles-wrapper ul.wp-block-latest-posts.is-grid li {
	border-style: solid;
	border-width: 2px 0 0;
	line-height: 1.25;
	margin: 20px 16px 16px 0;
	padding-top: 12px;
}

.editor-styles-wrapper .wp-block-latest-posts__post-excerpt {
	font-size: 0.95em;
	line-height: 1.4;
	margin-top: 15px;
}

/* Block: Shortcode -------------------------- */

.editor-styles-wrapper .wp-block-shortcode textarea {
	color: #191e23;
}

/* Block: Embed ------------------------------ */

.editor-styles-wrapper .wp-block-embed {
	margin-bottom: 30px;
	margin-top: 30px;
}

.editor-styles-wrapper .wp-block[data-type*="core-embed"][data-align="center"] * {
	margin-left: auto;
	margin-right: auto;
}

/* Block: File ------------------------------- */

.editor-styles-wrapper .wp-block-file {
	background: none;
	padding: 0;
}

.editor-styles-wrapper .wp-block-file__content-wrapper {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.editor-styles-wrapper .wp-block-file .wp-block-file__textlink {
	color: #cd2653;
	font-weight: 700;
	text-decoration: none;
}

.editor-styles-wrapper .wp-block-file .wp-block-file__textlink:focus,
.editor-styles-wrapper .wp-block-file .wp-block-file__textlink:hover {
	text-decoration: underline;
}

.editor-styles-wrapper .wp-block-file .wp-block-file__button {
	font-size: 14px;
	padding: 1em 1.25em;
}

/* Block: Image ------------------------------ */

.editor-styles-wrapper .wp-block-image {
	margin-bottom: 30px;
	margin-top: 30px;
}

.editor-styles-wrapper .wp-block-image.is-resized {
	margin-left: auto;
	margin-right: auto;
}

/* Block: Group ------------------------------ */

.editor-styles-wrapper .wp-block-group.has-background {
	padding: 20px;
}

.wp-block-group .wp-block[data-type="core/heading"]:first-child * {
	margin-top: 0;
}

.wp-block[data-type="core/group"] > .editor-block-list__block-edit > div > .wp-block-group.has-background > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout > .wp-block[data-align="full"],
.wp-block[data-type="core/group"][data-align="full"] > .editor-block-list__block-edit > div > .wp-block-group.has-background > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout > .wp-block[data-align="full"] {
	margin-left: 0;
	width: 100%;
}


/* ===============================
 * CVC editor overrides (追加)
 * =============================== */



/* “wide/full” の扱いを論理プロパティ化 */
.wp-block[data-align="wide"] { max-inline-size: min(1200px, 96vw); }
.wp-block[data-align="full"] { max-inline-size: none; }

/* 画像・図版まわり（行間と日本語向け余白） */
.editor-styles-wrapper figure { margin-block: 0; }
.editor-styles-wrapper .alignleft  { margin-inline-end: 1rem;  margin-block-end: 1.2em; }
.editor-styles-wrapper .alignright { margin-inline-start: 1rem;  margin-block-end: 1.2em; }
.editor-styles-wrapper figcaption {
  color: var(--c-muted, #6d6d6d);
  font-size: 0.9rem;
  line-height: 1.4;
  margin-block-start: 0.4rem;
  text-align: start;
}

/* テーブル：読みやすさ寄せ */
.editor-styles-wrapper .wp-block-table {
  font-size: 1rem;
}
.editor-styles-wrapper .wp-block-table .wp-block-table__cell-content {
  padding: .6em .8em;
}

/* ボタン・リンク：CVC の変数に合わせる（公開CSSと同名変数をエディタにも） */
:root {
  --c-primary: #0b65c2;   /* 例：サイトの主色 */
  --c-on-primary: #fff;
  --c-accent:  #0a8f3e;   /* 例：アクセント */
  --c-muted:   #6d6d6d;
  --bg-subtle: #f5f7fb;
}
/* 既存の #cd2653 等は上書きせず “使わない” 運用に */
.editor-styles-wrapper .wp-block-button__link,
.editor-styles-wrapper .wp-block-file__button {
  background: var(--c-primary);
  color: var(--c-on-primary);
  border-radius: .25rem;
  letter-spacing: 0;
  text-transform: none;
}

/* 区切り線（日本語本文で主張を抑える） */
hr.wp-block-separator {
  margin-block: 2rem;
  border: 0;
  border-top: 1px solid var(--c-muted, #6d6d6d);
  background: none;
}

/* 動きが多いブロックに配慮（最小限） */
@media (prefers-reduced-motion: reduce) {
  .editor-styles-wrapper * {
    animation-duration: .01ms;
    animation-iteration-count: 1;
    transition: none;
    scroll-behavior: auto;
  }
}

/* Windows ハイコントラスト等 */
@media (forced-colors: active) {
  .editor-styles-wrapper .wp-block-button__link {
    border: 1px solid CanvasText;
  }
}

/* ============================================================
 * カスタムブロック拡張 エディター用スタイル
 * common.css の #editor セクションを .editor-styles-wrapper に変換
 * ============================================================ */
.editor-styles-wrapper {
	font-size: 62.5%;
	line-height: 1.5; }
	.editor-styles-wrapper .editor-post-title textarea {
		font-size: 45px; }
	.editor-styles-wrapper > * {
		font-size: 16px; }
	.editor-styles-wrapper .wp-block-table tr td {
		font-size: 16px; }
 .editor-styles-wrapper h2 {
		color: #222;
		font-size: 24px; }
	.editor-styles-wrapper .h-type1 {
		background: url("../editor/h-type1-icon.svg") no-repeat left center;
		padding-left: 30px; }
	.editor-styles-wrapper .h-type2 {
		background: url("../editor/h-type2-icon.svg") no-repeat left center;
		padding-left: 30px; }
	.editor-styles-wrapper .h-type4 {
		background: url("../editor/h-type4-icon.svg") no-repeat left center;
		padding-left: 30px; }
	.editor-styles-wrapper .h-type5 {
		background: url("../editor/h-type5-icon.svg") no-repeat left center;
		padding-left: 30px; }
	.editor-styles-wrapper .wp-block h3 {
		font-size: 19px; }
	.editor-styles-wrapper .li-type5 {
		list-style: none;
		counter-reset: li-num;
		margin-bottom: 2rem;
		padding: 15px; }
		.editor-styles-wrapper .li-type5 li {
			align-items: center;
			background: #fff;
			border: 1px #ccc solid;
			border-radius: 5px;
			display: flex;
			padding: 10px; }
			.editor-styles-wrapper .li-type5 li::before {
				display: none; }
			.editor-styles-wrapper .li-type5 li img {
				display: inline-block;
				margin-right: 10px;
				max-width: 65px !important; }
	.editor-styles-wrapper .li-type10 {
		display: flex;
		flex-wrap: wrap;
		list-style: none;
		margin-top: 2rem;
		padding: 2rem 0; }
		.editor-styles-wrapper .li-type10 li {
			align-items: center;
			display: flex;
			margin: 0 15px 15px 0;
			width: calc(25% - 11.25px); }
			.editor-styles-wrapper .li-type10 li:nth-child(4n) {
				margin-right: 0; }
			.editor-styles-wrapper .li-type10 li::before {
				display: none; }
			.editor-styles-wrapper .li-type10 li a {
				background: url("../../images/common/btn-type2.svg") no-repeat right 12.5px center #fff;
				background-size: 10px;
				border: 1px #ccc solid;
				border-radius: 5px;
				display: block;
				padding: 10px;
				text-decoration: none;
				width: 100%; }
			.editor-styles-wrapper .li-type10 li img {
				display: inline-block;
				margin-right: 10px;
				max-width: 65px !important; }
	.editor-styles-wrapper .li-type20 {
		display: flex;
		flex-wrap: wrap;
		list-style: none;
		margin: 2rem 0 0 0;
		padding: 0; }
		.editor-styles-wrapper .li-type20 > li {
			align-items: center;
			display: flex;
			margin: 0;
			padding: 15px 7.5px 15px 7.5px;
			width: 33.333%; }
			@media (max-width: 640px) {
				.editor-styles-wrapper .li-type20 > li {
					padding: 10px;
					width: 50%; } }
			@media (max-width: 500px) {
				.editor-styles-wrapper .li-type20 > li {
					width: 100%; } }
			.editor-styles-wrapper .li-type20 > li > ul {
				margin: 0;
				padding: 0; }
				.editor-styles-wrapper .li-type20 > li > ul > li::before {
					display: none; }
			.editor-styles-wrapper .li-type20 > li::before {
				display: none; }
			.editor-styles-wrapper .li-type20 > li a {
				display: block;
				text-decoration: none;
				width: 100%; }
			.editor-styles-wrapper .li-type20 > li img {
				display: inline-block;
				width: 100% !important; }

/* ============================================================
 * エディター上書き（common.css・min.css との競合解消）
 * ============================================================ */

/* ボタン：font-size・padding・width を明示上書き
 * - common.css @media(max-width:640px) の 1.3rem を打ち消す
 * - min.css 由来の過大な padding・width を打ち消す             */
.editor-styles-wrapper .wp-block-button__link,
.editor-styles-wrapper .wp-block-file__button {
	font-size: 1rem !important;
	padding: 0.6em 1.2em !important;
	width: auto !important;
	display: inline-block !important;
}
