/*
** General
*/

.mce-content-body {
  font-family: var(--noto);
  color: var(--black);
}


/*
** Anchor
*/

.mce-content-body a {
  display: inline-block;
  text-decoration: underline;
}

@media (hover: hover) and (pointer: fine) {
  .mce-content-body a:hover {
    color: var(--link);
  }
}


/*
** Title
*/

.mce-content-body h1, .mce-content-body h2, .mce-content-body h3, .mce-content-body h4, .mce-content-body h5, .mce-content-body h6 {
  font-family: var(--mplus);
  color: var(--corp-main);
  font-weight: 700;
  margin-top: 1em;
  margin-bottom: 1em;
}

.mce-content-body h1 {
  font-size: 1.75em;
}

.mce-content-body h2 {
  font-size: 1.5em;
}

.mce-content-body h3 {
  font-size: 1.25em;
}

.mce-content-body h4,
.mce-content-body h5,
.mce-content-body h6 {
  font-size: 1.15em;
}


/*
** Table
*/

.mce-content-body table th,
.mce-content-body table td {
  vertical-align: middle;
}

.mce-content-body table:not(:last-child) {
  margin-bottom: 1em;
}


/*
** List
*/

.mce-content-body ol,
.mce-content-body ul {
  display: grid;
  grid-template-columns: 100%;
  grid-auto-rows: max-content;
  grid-row-gap: 0.5em;
  list-style-type: none;
  padding-left: 0;
}

.mce-content-body ol {
  counter-reset: listnum;
}

.mce-content-body ol li,
.mce-content-body ul li {
  padding-left: 1.1em;
}

.mce-content-body ol li::before,
.mce-content-body ul li::before {
  color: var(--main);
  margin-left: -1em;
  margin-right: 0.1em;
}

.mce-content-body ol li::before {
  counter-increment: listnum;
  content: counter(listnum)'.';
}

.mce-content-body ul li::before {
  content: '\25a0';
}


/*
** Image
*/

.mce-content-body img {
  width: auto;
  max-width: 100%;
  vertical-align: bottom;
}


/*
** Text
*/

.mce-content-body strong {
  font-weight: bold;
}

.mce-content-body em {
  font-style: italic;
}

.mce-content-body *[style="padding-left: 40px;"] {
  padding-left: 1.1em !important;
}

.mce-content-body *[style="padding-left: 80px;"] {
  padding-left: 2.2em !important;
}

.mce-content-body *[style="padding-left: 120px;"] {
  padding-left: 3.3em !important;
}

.mce-content-body *[style="padding-left: 160px;"] {
  padding-left: 4.4em !important;
}

.mce-content-body *[style="padding-left: 200px;"] {
  padding-left: 5.5em !important;
}


/*
** Arrangement
*/

.mce-content-body .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.mce-content-body .alignleft {
  float: left;
}

.mce-content-body .alignright {
  float: right;
}