.t-page-editor {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 3.2rem;
}

.t-page-editor {
  font-size: var(--font-size-m);
  font-family: var(--font-basic);
  font-weight: var(--font-weight-std);
  letter-spacing: 0.02em;
  text-align: justify;
  line-height: 1.8;
}
@media screen and (max-width: 1023px) {
  .t-page-editor {
    font-size: 1.3rem;
  }
}

.t-page-editor > p:not([class]):not(:has(img)),
.t-page-editor .c-section > p:not([class]):not(:has(img)) {
  position: relative;
  --em: 0.5em;
  line-height: 1.8;
}
.t-page-editor > p:not([class]):not(:has(img))::before, .t-page-editor > p:not([class]):not(:has(img))::after,
.t-page-editor .c-section > p:not([class]):not(:has(img))::before,
.t-page-editor .c-section > p:not([class]):not(:has(img))::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
}
.t-page-editor > p:not([class]):not(:has(img))::before,
.t-page-editor .c-section > p:not([class]):not(:has(img))::before {
  margin-top: calc((1 - 1.8) * var(--em));
}
.t-page-editor > p:not([class]):not(:has(img))::after,
.t-page-editor .c-section > p:not([class]):not(:has(img))::after {
  margin-bottom: calc((1 - 1.8) * var(--em));
}

.t-page-editor table:not([class]) td {
  table-layout: fixed;
  inline-size: 100%;
  -webkit-border-start: 1px solid var(--color-table-border);
          border-inline-start: 1px solid var(--color-table-border);
  -webkit-border-before: 1px solid var(--color-table-border);
          border-block-start: 1px solid var(--color-table-border);
  border-spacing: 0;
}
.t-page-editor table:not([class]) tbody th,
.t-page-editor table:not([class]) tbody td {
  vertical-align: middle;
  -webkit-border-end: 1px solid var(--color-table-border);
          border-inline-end: 1px solid var(--color-table-border);
  -webkit-border-after: 1px solid var(--color-table-border);
          border-block-end: 1px solid var(--color-table-border);
  padding: 1.6rem 2rem 1.2rem;
  font-size: var(--font-size-xs);
  line-height: var(--lineheight16);
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  word-break: auto-phrase;
  text-align: left;
}

.t-wp-editor-table {
  overflow-x: auto;
  white-space: nowrap;
  display: block;
  height: auto !important;
  padding-bottom: 0.3rem;
}
.t-wp-editor-table .simplebar-content {
  padding-bottom: 10px;
}

.t-page-editor img {
  overflow: hidden;
  border-radius: var(--round-xs);
  margin-top: clamp(0.6rem, 0.5473684211rem + 0.2245614035vw, 0.8rem);
  height: auto;
  display: block;
}

.t-page-editor img.alignleft {
  float: left;
  margin-bottom: 1.7rem;
}
.t-page-editor img.alignleft + img.alignleft {
  margin-left: 2rem;
  margin-right: 0;
}
@media screen and (max-width: 639px) {
  .t-page-editor img.alignleft {
    float: none;
    display: block;
    width: 100%;
    margin-right: 0;
    margin-bottom: 1.2rem;
    text-align: center;
  }
  .t-page-editor img.alignleft + img.alignleft {
    margin-left: 0;
  }
}
.t-page-editor img.alignright {
  float: right;
  margin-bottom: 1.7rem;
}
.t-page-editor img.alignright + img.alignright {
  margin-right: 2rem;
  margin-left: 0;
}
@media screen and (max-width: 639px) {
  .t-page-editor img.alignright {
    float: none;
    display: block;
    width: 100%;
    margin-left: 0;
    margin-bottom: 1.2rem;
    text-align: center;
  }
}

.t-page-editor p:has(span) img.alignleft:last-of-type {
  margin-right: 2rem;
}
.t-page-editor p:has(span) img.alignright:last-of-type {
  margin-left: 2rem;
}
@media screen and (max-width: 639px) {
  .t-page-editor p:has(span) img.alignleft:last-of-type {
    margin-right: 0;
  }
  .t-page-editor p:has(span) img.alignright:last-of-type {
    margin-left: 0;
  }
}

.t-page-editor p:has(img.aligncenter) {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 2rem;
}
.t-page-editor p:has(img.aligncenter) img.aligncenter {
  height: auto;
}
@media screen and (max-width: 639px) {
  .t-page-editor p:has(img.aligncenter) {
    display: block;
  }
  .t-page-editor p:has(img.aligncenter) img.aligncenter {
    margin-bottom: 1.2rem;
    width: 100%;
  }
}

.t-page-editor iframe,
.t-page-editor video {
  aspect-ratio: 16/9;
  height: auto;
  max-width: 100%;
}
@media screen and (max-width: 768px) {
  .t-page-editor iframe,
  .t-page-editor video {
    width: 100%;
  }
}