@charset "UTF-8";

/*========================================
ユーザー投稿本文（ブロックエディター対応）
========================================*/

.user-article,
.editor-styles-wrapper {
  font-family: "Noto Sans JP", "Noto Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  word-break: break-word;
  overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  .user-article,
  .editor-styles-wrapper {
    font-size: 15px;
    line-height: 1.9;
  }
}

.user-article > *:first-child,
.editor-styles-wrapper > *:first-child {
  margin-top: 0;
}

.user-article > *:last-child,
.editor-styles-wrapper > *:last-child {
  margin-bottom: 0;
}

/*----------------------------------------
段落・太字
----------------------------------------*/

.user-article p,
.editor-styles-wrapper p,
.user-article .wp-block-paragraph,
.editor-styles-wrapper .wp-block-paragraph {
  margin: 0 0 1.5em;
}

.user-article strong,
.user-article b,
.editor-styles-wrapper strong,
.editor-styles-wrapper b {
  font-weight: 700;
  color: #1a1a1a;
}

/*----------------------------------------
見出し h1〜h6
----------------------------------------*/

.user-article h1,
.user-article h2,
.user-article h3,
.user-article h4,
.user-article h5,
.user-article h6,
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6,
.user-article .wp-block-heading,
.editor-styles-wrapper .wp-block-heading {
  margin: 2.5em 0 1em;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: #1a1a1a;
}
@media (max-width: 900px) {
  .user-article h1,
  .user-article h2,
  .user-article h3,
  .user-article h4,
  .user-article h5,
  .user-article h6,
  .editor-styles-wrapper h1,
  .editor-styles-wrapper h2,
  .editor-styles-wrapper h3,
  .editor-styles-wrapper h4,
  .editor-styles-wrapper h5,
  .editor-styles-wrapper h6,
  .user-article .wp-block-heading,
  .editor-styles-wrapper .wp-block-heading {
    margin-top: 2em;
  }
}

.user-article > h1:first-child,
.user-article > h2:first-child,
.user-article > h3:first-child,
.user-article > h4:first-child,
.user-article > h5:first-child,
.user-article > h6:first-child,
.editor-styles-wrapper > h1:first-child,
.editor-styles-wrapper > h2:first-child,
.editor-styles-wrapper > h3:first-child,
.editor-styles-wrapper > h4:first-child,
.editor-styles-wrapper > h5:first-child,
.editor-styles-wrapper > h6:first-child {
  margin-top: 0;
}

.user-article h1,
.editor-styles-wrapper h1 {
  font-size: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid #E70012;
}
@media (max-width: 900px) {
  .user-article h1,
  .editor-styles-wrapper h1 {
    font-size: 24px;
    padding-bottom: 10px;
  }
}

.user-article h2,
.editor-styles-wrapper h2 {
  font-size: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid #E70012;
}
@media (max-width: 900px) {
  .user-article h2,
  .editor-styles-wrapper h2 {
    font-size: 20px;
    padding-bottom: 8px;
  }
}

.user-article h3,
.editor-styles-wrapper h3 {
  font-size: 20px;
  padding-left: 12px;
  border-left: 4px solid #E70012;
}
@media (max-width: 900px) {
  .user-article h3,
  .editor-styles-wrapper h3 {
    font-size: 18px;
    padding-left: 10px;
  }
}

.user-article h4,
.editor-styles-wrapper h4 {
  font-size: 18px;
}
@media (max-width: 900px) {
  .user-article h4,
  .editor-styles-wrapper h4 {
    font-size: 16px;
  }
}

.user-article h5,
.editor-styles-wrapper h5 {
  font-size: 16px;
  color: #333;
}
@media (max-width: 900px) {
  .user-article h5,
  .editor-styles-wrapper h5 {
    font-size: 15px;
  }
}

.user-article h6,
.editor-styles-wrapper h6 {
  font-size: 14px;
  color: #555;
  letter-spacing: 0.1em;
}
@media (max-width: 900px) {
  .user-article h6,
  .editor-styles-wrapper h6 {
    font-size: 13px;
  }
}

/*----------------------------------------
リンク
----------------------------------------*/

.user-article a,
.editor-styles-wrapper a {
  color: #1a6dcc;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: color 0.2s ease;
}

.user-article a:hover,
.user-article a:focus-visible,
.editor-styles-wrapper a:hover,
.editor-styles-wrapper a:focus-visible {
  color: #1458a8;
  text-decoration: none;
}

.user-article .wp-block-button__link,
.editor-styles-wrapper .wp-block-button__link {
  color: #fff;
  text-decoration: none;
}

.user-article .wp-block-button__link:hover,
.user-article .wp-block-button__link:focus-visible,
.editor-styles-wrapper .wp-block-button__link:hover,
.editor-styles-wrapper .wp-block-button__link:focus-visible {
  color: #fff;
}

/*----------------------------------------
引用
----------------------------------------*/

.user-article blockquote,
.editor-styles-wrapper blockquote,
.user-article .wp-block-quote,
.editor-styles-wrapper .wp-block-quote {
  margin: 2em 0;
  padding: 1.25em 1.5em;
  background: #efefef;
  border-left: 4px solid #E70012;
  border-radius: 0 4px 4px 0;
  color: #444;
}
@media (max-width: 900px) {
  .user-article blockquote,
  .editor-styles-wrapper blockquote,
  .user-article .wp-block-quote,
  .editor-styles-wrapper .wp-block-quote {
    margin: 1.5em 0;
    padding: 1em 1.25em;
  }
}

.user-article blockquote p:last-child,
.editor-styles-wrapper blockquote p:last-child,
.user-article .wp-block-quote p:last-child,
.editor-styles-wrapper .wp-block-quote p:last-child {
  margin-bottom: 0;
}

.user-article cite,
.editor-styles-wrapper cite,
.user-article .wp-block-quote cite,
.editor-styles-wrapper .wp-block-quote cite {
  display: block;
  margin-top: 0.75em;
  font-size: 14px;
  font-style: normal;
  color: #777;
}

.user-article .wp-block-pullquote,
.editor-styles-wrapper .wp-block-pullquote {
  margin: 2.5em 0;
  padding: 2em 1.5em;
  border-top: 3px solid #E70012;
  border-bottom: 3px solid #E70012;
  text-align: center;
}
@media (max-width: 900px) {
  .user-article .wp-block-pullquote,
  .editor-styles-wrapper .wp-block-pullquote {
    margin: 2em 0;
    padding: 1.5em 1em;
  }
}

/*----------------------------------------
背景付きブロック（グループ等）
----------------------------------------*/

.user-article .wp-block-group.has-background,
.user-article .wp-block-columns.has-background,
.user-article [class*="wp-block-"].has-background,
.editor-styles-wrapper .wp-block-group.has-background,
.editor-styles-wrapper .wp-block-columns.has-background,
.editor-styles-wrapper [class*="wp-block-"].has-background {
  margin-top: 2em;
  margin-bottom: 2em;
  padding: 1.5em 2em;
  border-radius: 4px;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .user-article .wp-block-group.has-background,
  .user-article .wp-block-columns.has-background,
  .user-article [class*="wp-block-"].has-background,
  .editor-styles-wrapper .wp-block-group.has-background,
  .editor-styles-wrapper .wp-block-columns.has-background,
  .editor-styles-wrapper [class*="wp-block-"].has-background {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    padding: 1.25em 1.25em;
  }
}

.user-article .wp-block-group.has-background > *:first-child,
.user-article .wp-block-columns.has-background > *:first-child,
.editor-styles-wrapper .wp-block-group.has-background > *:first-child,
.editor-styles-wrapper .wp-block-columns.has-background > *:first-child {
  margin-top: 0;
}

.user-article .wp-block-group.has-background > *:last-child,
.user-article .wp-block-columns.has-background > *:last-child,
.editor-styles-wrapper .wp-block-group.has-background > *:last-child,
.editor-styles-wrapper .wp-block-columns.has-background > *:last-child {
  margin-bottom: 0;
}

/*----------------------------------------
画像・ギャラリー
----------------------------------------*/

.user-article img,
.editor-styles-wrapper img {
  display: block;
  max-width: 100%;
  height: auto;
}

.user-article figure,
.editor-styles-wrapper figure {
  margin: 2em 0;
}

.user-article .wp-block-image,
.editor-styles-wrapper .wp-block-image {
  margin: 2em 0;
}
@media (max-width: 900px) {
  .user-article figure,
  .editor-styles-wrapper figure,
  .user-article .wp-block-image,
  .editor-styles-wrapper .wp-block-image {
    margin: 1.5em 0;
  }
}

.user-article .wp-block-image img,
.editor-styles-wrapper .wp-block-image img,
.user-article figure img,
.editor-styles-wrapper figure img {
  margin-left: auto;
  margin-right: auto;
  border-radius: 2px;
}

.user-article figcaption,
.editor-styles-wrapper figcaption,
.user-article .wp-block-image figcaption,
.editor-styles-wrapper .wp-block-image figcaption {
  margin-top: 0.75em;
  font-size: 13px;
  line-height: 1.6;
  color: #777;
  text-align: center;
}

.user-article .aligncenter,
.editor-styles-wrapper .aligncenter,
.user-article .wp-block-image.aligncenter,
.editor-styles-wrapper .wp-block-image.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.user-article .alignleft,
.editor-styles-wrapper .alignleft {
  float: left;
  margin: 0.25em 1.5em 1em 0;
}
@media (max-width: 600px) {
  .user-article .alignleft,
  .editor-styles-wrapper .alignleft {
    float: none;
    display: block;
    margin: 1.5em auto;
  }
}

.user-article .alignright,
.editor-styles-wrapper .alignright {
  float: right;
  margin: 0.25em 0 1em 1.5em;
}
@media (max-width: 600px) {
  .user-article .alignright,
  .editor-styles-wrapper .alignright {
    float: none;
    display: block;
    margin: 1.5em auto;
  }
}

.user-article .wp-block-gallery,
.editor-styles-wrapper .wp-block-gallery {
  margin: 2em 0;
}
@media (max-width: 900px) {
  .user-article .wp-block-gallery,
  .editor-styles-wrapper .wp-block-gallery {
    margin: 1.5em 0;
  }
}

/*----------------------------------------
リスト
----------------------------------------*/

.user-article ul,
.editor-styles-wrapper ul,
.user-article ul.wp-block-list,
.editor-styles-wrapper ul.wp-block-list {
  list-style: none;
  margin: 0 0 1.5em;
  padding-left: 0;
}

.user-article ol,
.editor-styles-wrapper ol,
.user-article ol.wp-block-list,
.editor-styles-wrapper ol.wp-block-list {
  margin: 0 0 1.5em;
  padding-left: 1.75em;
}

.user-article ul > li,
.editor-styles-wrapper ul > li,
.user-article ul.wp-block-list > li,
.editor-styles-wrapper ul.wp-block-list > li {
  position: relative;
  margin-bottom: 0.5em;
  padding-left: 1em;
}

.user-article ul > li::before,
.editor-styles-wrapper ul > li::before,
.user-article ul.wp-block-list > li::before,
.editor-styles-wrapper ul.wp-block-list > li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  width: 1em;
  text-align: left;
}

.user-article ol > li,
.editor-styles-wrapper ol > li,
.user-article ol.wp-block-list > li,
.editor-styles-wrapper ol.wp-block-list > li {
  margin-bottom: 0.5em;
  padding-left: 0.25em;
}

.user-article li:last-child,
.editor-styles-wrapper li:last-child {
  margin-bottom: 0;
}

.user-article ul ul,
.user-article ul ol,
.user-article ol ul,
.editor-styles-wrapper ul ul,
.editor-styles-wrapper ul ol,
.editor-styles-wrapper ol ul {
  margin-top: 0.5em;
  margin-bottom: 0;
}

.user-article ol ol,
.editor-styles-wrapper ol ol {
  margin-top: 0.5em;
  margin-bottom: 0;
}

/*----------------------------------------
区切り線
----------------------------------------*/

.user-article hr,
.editor-styles-wrapper hr,
.user-article .wp-block-separator,
.editor-styles-wrapper .wp-block-separator {
  margin: 2.5em auto;
  border: 0;
  border-top: 1px solid #ddd;
  max-width: 100%;
}
@media (max-width: 900px) {
  .user-article hr,
  .editor-styles-wrapper hr,
  .user-article .wp-block-separator,
  .editor-styles-wrapper .wp-block-separator {
    margin: 2em auto;
  }
}

/*----------------------------------------
テーブル
----------------------------------------*/

.user-article table,
.editor-styles-wrapper table,
.user-article .wp-block-table table,
.editor-styles-wrapper .wp-block-table table {
  width: 100%;
  margin: 0 0 1.5em;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .user-article table,
  .editor-styles-wrapper table,
  .user-article .wp-block-table table,
  .editor-styles-wrapper .wp-block-table table {
    font-size: 14px;
  }
}

.user-article th,
.user-article td,
.editor-styles-wrapper th,
.editor-styles-wrapper td {
  padding: 12px 16px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}
@media (max-width: 900px) {
  .user-article th,
  .user-article td,
  .editor-styles-wrapper th,
  .editor-styles-wrapper td {
    padding: 10px 12px;
  }
}

.user-article th,
.editor-styles-wrapper th {
  font-weight: 700;
  background: #f5f5f5;
}

.user-article .wp-block-table,
.editor-styles-wrapper .wp-block-table {
  margin-bottom: 1.5em;
  overflow-x: auto;
}

/*----------------------------------------
コード・整形済みテキスト
----------------------------------------*/

.user-article code,
.editor-styles-wrapper code {
  padding: 0.15em 0.4em;
  font-size: 0.9em;
  background: #f5f5f5;
  border-radius: 3px;
}

.user-article pre,
.editor-styles-wrapper pre,
.user-article .wp-block-code,
.editor-styles-wrapper .wp-block-code {
  margin: 0 0 1.5em;
  padding: 1.25em 1.5em;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.7;
  background: #f5f5f5;
  border-radius: 4px;
}
@media (max-width: 900px) {
  .user-article pre,
  .editor-styles-wrapper pre,
  .user-article .wp-block-code,
  .editor-styles-wrapper .wp-block-code {
    padding: 1em;
    font-size: 13px;
  }
}

.user-article pre code,
.editor-styles-wrapper pre code {
  padding: 0;
  background: transparent;
}

/*----------------------------------------
ボタン
----------------------------------------*/

.user-article .wp-block-buttons,
.editor-styles-wrapper .wp-block-buttons {
  margin: 2em 0;
  gap: 12px;
}

.user-article .wp-block-button__link,
.editor-styles-wrapper .wp-block-button__link {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: #fff;
  background: #E70012;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease;
}
@media (max-width: 900px) {
  .user-article .wp-block-button__link,
  .editor-styles-wrapper .wp-block-button__link {
    padding: 10px 24px;
    font-size: 14px;
  }
}

.user-article .wp-block-button__link:hover,
.user-article .wp-block-button__link:focus-visible,
.editor-styles-wrapper .wp-block-button__link:hover,
.editor-styles-wrapper .wp-block-button__link:focus-visible {
  background: #c4000f;
  color: #fff;
}

/*----------------------------------------
Gutenbergプレビュー用ボタン（components-button）
----------------------------------------*/

.user-article a.components-button,
.editor-styles-wrapper a.components-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: #fff;
  background: #E70012;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  border: none;
}
@media (max-width: 900px) {
  .user-article a.components-button,
  .editor-styles-wrapper a.components-button {
    padding: 10px 24px;
    font-size: 14px;
  }
}

.user-article a.components-button:hover,
.user-article a.components-button:focus-visible,
.editor-styles-wrapper a.components-button:hover,
.editor-styles-wrapper a.components-button:focus-visible {
  background: #c4000f;
  color: #fff;
}

/*----------------------------------------
カラム・メディアテキスト
----------------------------------------*/

.user-article .wp-block-columns,
.editor-styles-wrapper .wp-block-columns {
  margin-bottom: 1.5em;
  gap: 24px;
}
@media (max-width: 900px) {
  .user-article .wp-block-columns,
  .editor-styles-wrapper .wp-block-columns {
    gap: 16px;
  }
}

.user-article .wp-block-media-text,
.editor-styles-wrapper .wp-block-media-text {
  margin: 2em 0;
  gap: 24px;
}
@media (max-width: 900px) {
  .user-article .wp-block-media-text,
  .editor-styles-wrapper .wp-block-media-text {
    margin: 1.5em 0;
    gap: 16px;
  }
}

/*----------------------------------------
埋め込み（YouTube等）
----------------------------------------*/

.user-article .wp-block-embed,
.editor-styles-wrapper .wp-block-embed {
  margin: 2em 0;
}
@media (max-width: 900px) {
  .user-article .wp-block-embed,
  .editor-styles-wrapper .wp-block-embed {
    margin: 1.5em 0;
  }
}

.user-article .wp-block-embed__wrapper,
.editor-styles-wrapper .wp-block-embed__wrapper {
  position: relative;
}

.user-article .wp-block-embed iframe,
.editor-styles-wrapper .wp-block-embed iframe {
  max-width: 100%;
}

/*----------------------------------------
クリアフィックス（回り込み画像用）
----------------------------------------*/

.user-article::after,
.editor-styles-wrapper::after {
  content: "";
  display: table;
  clear: both;
}

/*----------------------------------------
エディターカラーパレット
----------------------------------------*/

.user-article .has-km-black-color,
.editor-styles-wrapper .has-km-black-color {
  color: #1a1a1a;
}

.user-article .has-km-red-color,
.editor-styles-wrapper .has-km-red-color {
  color: #E70012;
}

.user-article .has-km-yellow-color,
.editor-styles-wrapper .has-km-yellow-color {
  color: #fff205;
}

.user-article .has-km-white-color,
.editor-styles-wrapper .has-km-white-color {
  color: #ffffff;
}

.user-article .has-km-black-background-color,
.editor-styles-wrapper .has-km-black-background-color {
  background-color: #1a1a1a;
}

.user-article .has-km-red-background-color,
.editor-styles-wrapper .has-km-red-background-color {
  background-color: #E70012;
}

.user-article .has-km-yellow-background-color,
.editor-styles-wrapper .has-km-yellow-background-color {
  background-color: #fff205;
}

.user-article .has-km-white-background-color,
.editor-styles-wrapper .has-km-white-background-color {
  background-color: #ffffff;
}

/*----------------------------------------
エディター編集画面（Gutenbergデフォルトより優先）
----------------------------------------*/

.editor-styles-wrapper {
  font-family: "Noto Sans JP", "Noto Sans", sans-serif;
  color: #1a1a1a;
}

.editor-styles-wrapper h1.wp-block-heading {
  font-size: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid #E70012;
}
@media (max-width: 900px) {
  .editor-styles-wrapper h1.wp-block-heading {
    font-size: 24px;
    padding-bottom: 10px;
  }
}

.editor-styles-wrapper h2.wp-block-heading {
  font-size: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid #E70012;
}
@media (max-width: 900px) {
  .editor-styles-wrapper h2.wp-block-heading {
    font-size: 20px;
    padding-bottom: 8px;
  }
}

.editor-styles-wrapper h3.wp-block-heading {
  font-size: 20px;
  padding-left: 12px;
  border-left: 4px solid #E70012;
}
@media (max-width: 900px) {
  .editor-styles-wrapper h3.wp-block-heading {
    font-size: 18px;
    padding-left: 10px;
  }
}

.editor-styles-wrapper h4.wp-block-heading {
  font-size: 18px;
}
@media (max-width: 900px) {
  .editor-styles-wrapper h4.wp-block-heading {
    font-size: 16px;
  }
}

.editor-styles-wrapper h5.wp-block-heading {
  font-size: 16px;
  color: #333;
}
@media (max-width: 900px) {
  .editor-styles-wrapper h5.wp-block-heading {
    font-size: 15px;
  }
}

.editor-styles-wrapper h6.wp-block-heading {
  font-size: 14px;
  color: #555;
  letter-spacing: 0.1em;
}
@media (max-width: 900px) {
  .editor-styles-wrapper h6.wp-block-heading {
    font-size: 13px;
  }
}

/*----------------------------------------
編集画面レイアウト（お知らせ投稿のみ・フロント非表示）
----------------------------------------*/

.is-root-container,
.editor-styles-wrapper {
  --wp--style--global--content-size: 800px;
  --wp--style--global--wide-size: 800px;
}

.edit-post-visual-editor__content-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px 48px;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .edit-post-visual-editor__content-area {
    padding: 24px 16px 40px;
  }
}

.editor-visual-editor__post-title-wrapper,
.edit-post-visual-editor__post-title-wrapper {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  padding: 16px 24px 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  background: #fff;
}
@media (max-width: 900px) {
  .editor-visual-editor__post-title-wrapper,
  .edit-post-visual-editor__post-title-wrapper {
    padding: 14px 16px 18px;
  }
}

.editor-visual-editor__post-title-wrapper::before,
.edit-post-visual-editor__post-title-wrapper::before {
  content: "ページのタイトル";
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: #969696;
  letter-spacing: 0.06em;
}

.editor-post-title {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: #1a1a1a;
}
@media (max-width: 900px) {
  .editor-post-title {
    font-size: 22px;
  }
}

.is-root-container.wp-block-post-content,
.wp-block-post-content.block-editor-block-list__layout,
.edit-post-visual-editor__content-area .wp-block-post-content {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 16px 24px 32px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  background: #fff;
}
@media (max-width: 900px) {
  .is-root-container.wp-block-post-content,
  .wp-block-post-content.block-editor-block-list__layout,
  .edit-post-visual-editor__content-area .wp-block-post-content {
    padding: 14px 16px 28px;
  }
}

.is-root-container.wp-block-post-content::before,
.wp-block-post-content.block-editor-block-list__layout::before,
.edit-post-visual-editor__content-area .wp-block-post-content::before {
  content: "記事本文";
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: #969696;
  letter-spacing: 0.06em;
}

.wp-block-post-content.is-layout-flow > .block-editor-block-list__block,
.wp-block-post-content.is-layout-flow > .wp-block {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.edit-post-visual-editor__content-area > .editor-styles-wrapper {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 16px 24px 32px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  background: #fff;
}

.edit-post-visual-editor__content-area > .editor-styles-wrapper::before {
  content: "記事本文";
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: #969696;
  letter-spacing: 0.06em;
}

.edit-post-visual-editor__content-area .wp-block-post-content .editor-styles-wrapper {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.edit-post-visual-editor__content-area .wp-block-post-content .editor-styles-wrapper::before {
  content: none;
  display: none;
}

/*----------------------------------------
編集画面：右上ボタンの意味を明確化（表示/プレビュー）
----------------------------------------*/

.edit-post-header__settings a.components-button[aria-label*="表示"] {
  position: relative;
}

.edit-post-header__settings a.components-button[aria-label*="表示"]::after {
  content: "保存済みを表示";
  position: absolute;
  left: 50%;
  top: calc(100% + 4px);
  transform: translateX(-50%);
  font-size: 10px;
  line-height: 1;
  color: #777;
  white-space: nowrap;
  pointer-events: none;
}

.edit-post-header__settings button.components-button[aria-label*="プレビュー"],
.edit-post-header__settings a.components-button[aria-label*="プレビュー"] {
  position: relative;
}

.edit-post-header__settings button.components-button[aria-label*="プレビュー"]::after,
.edit-post-header__settings a.components-button[aria-label*="プレビュー"]::after {
  content: "編集中を確認";
  position: absolute;
  left: 50%;
  top: calc(100% + 4px);
  transform: translateX(-50%);
  font-size: 10px;
  line-height: 1;
  color: #777;
  white-space: nowrap;
  pointer-events: none;
}
