@charset "utf-8";

/* 全体設定 */
.mce-content-body *,
.notearea * {
  all: revert;
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
  font-feature-settings: "palt" 2, "kern" 2, "liga";
  -moz-osx-font-smoothing: grayscale;
  font-size: 1rem;
  line-height: 2.1;
  font-weight: 400;
}

/* 強調テキスト */
.mce-content-body strong,
.mce-content-body strong>span,
.notearea strong,
.notearea strong>span {
  font-weight: bold;
  color: #000;
}

.mce-content-body em,
.mce-content-body em>span,
.notearea em,
.notearea em {
  font-style: italic;
}

/* 段落 */
.mce-content-body p,
.notearea p {
  margin: 0;
  padding: 0;
  display: block;
}

/* 見出し */
.mce-content-body h1,
.notearea h1 {
  font-size: 1.6rem;
  line-height: 2.4rem;
  font-weight: 500;
  margin: 0;
  color: #000;
}

.mce-content-body h2,
.notearea h2 {
  font-size: 1.8rem;
  line-height: 2.2rem;
}

.mce-content-body h3,
.notearea h3 {
  font-size: 1.6rem;
  line-height: 2.0rem;
}

.mce-content-body h4,
.notearea h4 {
  font-size: 1.4rem;
  line-height: 1.8rem;
}

.mce-content-body h5,
.notearea h5 {
  font-size: 1.2rem;
  line-height: 1.6rem;
}

.mce-content-body h6,
.notearea h6 {
  font-size: 1.0rem;
  line-height: 1.4rem;
}

/* リンク */
.mce-content-body a,
.notearea a {
  color: inherit;
  text-decoration: inherit;
}

/* 引用 */
.mce-content-body blockquote,
.mce-content-body .wp-block-quote,
.notearea blockquote,
.notearea .wp-block-quote {
  display: block;
  border-left: 4px solid #cccccc;
  padding: 1rem 1rem 1rem 2rem;
  font-style: italic;
}

/* 画像 */
.mce-content-body .wp-block-image img,
.notearea img {
  max-width: 100%;
  height: auto;
}

.mce-content-body img.aligncenter,
.notearea img.aligncenter {
  display: block;
  margin: auto;
}

.mce-content-body img.alignleft,
.notearea img.alignleft {
  float: left;
  margin: 1rem 2rem 1rem 0;
}

.mce-content-body img.alignright,
.notearea img.alignright {
  float: right;
  margin: 1rem 0 1rem 2rem;
}

/* コード */
.mce-content-body code,
.mce-content-body .wp-block-code,
.notearea code,
.notearea .wp-block-code {
  background-color: #f0f0f0;
  border-radius: 3px;
  padding: 10px;
  font-family: monospace;
  overflow: auto;
  display: block;
  white-space: pre-wrap;
}

/* テーブル */
.mce-content-body table,
.notearea table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
}

.mce-content-body th,
.mce-content-body td,
.notearea th,
.notearea td {
  border: 1px solid #cccccc;
  padding: 8px;
  text-align: left;
}

.mce-content-body th,
.notearea th {
  background-color: #f1f1f1;
}

/* リスト */
.mce-content-body ul,
.mce-content-body ol,
.notearea ul,
.notearea ol {
  margin: 1rem 0;
  padding: 0 0 2rem 0;
  list-style-position: inside;
}

.mce-content-body li,
.notearea li {
  margin: 0.5rem 0;
}

/* ボタン */
.mce-content-body .wp-block-button,
.notearea .wp-block-button {
  display: inline-block;
  background-color: #888;
  color: #fff;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
  text-align: center;
  text-decoration: none;
}

.mce-content-body .wp-block-button:hover,
.notearea .wp-block-button:hover {
  background-color: #000;
}

.mce-content-body .wp-block-button a,
.notearea .wp-block-button a {
  color: #fff;
}