@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700;800;900&display=swap");
.editor-body {
  overflow-x: hidden;
  line-height: 1.5;
}

.editor-body p:has(img) {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
}

.editor-body p:has(img) > img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
}

.editor-body figure {
  display: block;
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.editor-body table {
  border-collapse: collapse;
  border: 1px solid #e0e0e0;
  min-width: 500px;
  overflow-x: scroll;
}

.editor-body table tr:nth-child(odd) {
  background-color: #f0f0f0;
}

.editor-body table th {
  font-weight: 500;
  padding: 0.5em;
  text-align: center;
  background-color: #c4dbff;
  border: 1px solid #e0e0e0;
}

.editor-body table td {
  padding: 0.5em;
  border: 1px solid #e0e0e0;
}

@media (max-width: 576px) {
  .editor-body p:has(> img) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 1em;
  }
  .editor-body p:has(> figure) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 1em;
  }
}

@media (min-width: 577px) {
  .editor-body p:has(> img) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 1em;
  }
  .editor-body p:has(> figure) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 1em;
  }
  .editor-body p:has(> img) > img {
    width: 100%;
    height: auto;
  }
  .editor-body p:has(> figure) > figure {
    width: 100%;
    height: auto;
  }
  .editor-body p:has(> img + img) > img,
  .editor-body p:has(> img + figure) > img,
  .editor-body p:has(> figure + img) > img,
  .editor-body p:has(> figure + figure) > figure,
  .editor-body p:has(> img + figure) > figure,
  .editor-body p:has(> figure + img) > figure {
    display: block;
    width: calc(50% - 0.5em) !important;
    height: auto !important;
  }
  .editor-body p:has(> img + img + img) > img,
  .editor-body p:has(> figure + img + img) > img,
  .editor-body p:has(> img + figure + img) > img,
  .editor-body p:has(> img + img + figure) > img,
  .editor-body p:has(> figure + figure + img) > img,
  .editor-body p:has(> img + figure + figure) > img,
  .editor-body p:has(> figure + img + figure) > img,
  .editor-body p:has(> figure + figure + figure) > figure,
  .editor-body p:has(> img + img + img) > figure,
  .editor-body p:has(> figure + img + img) > figure,
  .editor-body p:has(> img + figure + img) > figure,
  .editor-body p:has(> img + img + figure) > figure,
  .editor-body p:has(> figure + figure + img) > figure,
  .editor-body p:has(> img + figure + figure) > figure,
  .editor-body p:has(> figure + img + figure) > figure {
    display: block;
    width: calc(33% - 0.5em) !important;
    height: auto !important;
  }
  .editor-body p:has(> img + img + img + img) > img,
  .editor-body p:has(> figure + img + img + img) > img,
  .editor-body p:has(> img + figure + img + img) > img,
  .editor-body p:has(> img + img + figure + img) > img,
  .editor-body p:has(> img + img + img + figure) > img,
  .editor-body p:has(> figure + figure + img + img) > img,
  .editor-body p:has(> img + figure + figure + img) > img,
  .editor-body p:has(> img + img + figure + figure) > img,
  .editor-body p:has(> figure + img + figure + img) > img,
  .editor-body p:has(> figure + img + img + figure) > img,
  .editor-body p:has(> img + figure + figure + img) > img,
  .editor-body p:has(> img + figure + img + figure) > img,
  .editor-body p:has(> img + img + figure + figure) > img,
  .editor-body p:has(> figure + figure + figure + img) > img,
  .editor-body p:has(> figure + figure + img + figure) > img,
  .editor-body p:has(> img + figure + figure + figure) > img,
  .editor-body p:has(> figure + figure + figure + figure) > figure,
  .editor-body p:has(> figure + img + img + img) > figure,
  .editor-body p:has(> img + figure + img + img) > figure,
  .editor-body p:has(> img + img + figure + img) > figure,
  .editor-body p:has(> img + img + img + figure) > figure,
  .editor-body p:has(> figure + figure + img + img) > figure,
  .editor-body p:has(> img + figure + figure + img) > figure,
  .editor-body p:has(> img + img + figure + figure) > figure,
  .editor-body p:has(> figure + img + figure + img) > figure,
  .editor-body p:has(> figure + img + img + figure) > figure,
  .editor-body p:has(> img + figure + figure + img) > figure,
  .editor-body p:has(> img + figure + img + figure) > figure,
  .editor-body p:has(> img + img + figure + figure) > figure,
  .editor-body p:has(> figure + figure + figure + img) > figure,
  .editor-body p:has(> figure + figure + img + figure) > figure,
  .editor-body p:has(> img + figure + figure + figure) > figure {
    display: block;
    width: calc(25% - 0.5em) !important;
    height: auto !important;
  }
}
/*# sourceMappingURL=tiny_mce.css.map */