/* Wysiwyg editor
 **************************************** */
  .mce-content-body {
    text-align: justify;
    text-justify: inter-ideograph;
    -ms-text-justify: inter-ideograph;
  }
  .mce-content-body ul:not(:first-child),
  .mce-content-body ol:not(:first-child) {
    margin-top: 1em;
  }
  .mce-content-body ul:not(:last-child),
  .mce-content-body ol:not(:last-child) {
    margin-bottom: 1em;
  }
  .mce-content-body ul li,
  .mce-content-body ol li {
    position: relative;
    margin: 0;
    border-bottom: none;
    padding: 0;
    margin-left: 2em;
    padding-top: 8px;
    line-height: 1.65;
  }
  .mce-content-body ul li {
    list-style-type: disc;
  }
  .mce-content-body ol li {
    list-style-type: decimal;
  }
  .mce-content-body ul li:first-child,
  .mce-content-body ol li:first-child {
    padding-top: 0;
  }
  .mce-content-body ul:not(:last-child),
  .mce-content-body ol:not(:last-child) {
    margin-bottom: 1.5em;
  }
  .mce-content-body img {
    margin: 20px 0;
    max-width: 100%;
    height: auto;
  }
  .mce-content-body hr {
    background: transparent;
  }
  .mce-content-body .alignleft {
    float: left;
    clear: left;
    margin: 0 30px 30px 0;
  }
  .mce-content-body .alignright {
    float: right;
    clear: right;
    margin: 0 0 30px 30px;
  }
  .mce-content-body .aligncenter {
    display: block;
    margin: 30px auto;
  }
  .mce-content-body h1,
  .mce-content-body h2,
  .mce-content-body h3,
  .mce-content-body h4 {
    position: relative;
    margin-top: 24px;
    margin-bottom: 24px;
  }
  .mce-content-body h1 {
    font-size: 172%;
    padding-top: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid;
  }
  .mce-content-body h2 {
    font-size: 158%;
    padding: 16px 24px;
    background: #eee;
    border-radius: 4px;
  }
  .mce-content-body h3 {
    font-size: 143%;
    padding-left: 16px;
  }
  .mce-content-body h3::before,
  .mce-content-body h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .mce-content-body h3::before {
    width: 4px;
    height: 80%;
    border-radius: 4px;
    background: #000;
  }
  .mce-content-body h4 {
    font-size: 129%;
    padding: 22px;
  }
  .mce-content-body h4::before {
    width: 8px;
    height: 8px;
    background: #000;
  }
  .mce-content-body h6 {
    font-size: 109%;
    padding-bottom: 4px;
  }
  .mce-content-body p {
    letter-spacing: .1em;
  }
  .mce-content-body p:not(:last-child) {
    margin-bottom: 1em;
  }
  .mce-content-body blockquote {
    margin: 1em 0;
    padding: 15px 40px;
    border-radius: 3px;
    position: relative;
    display: inline-block;
    font-style: oblique;
    color: #666;
    background-color: #f8f8f8;
  }
  .mce-content-body blockquote p { margin-bottom: 0; }
  .mce-content-body blockquote:before,
  .mce-content-body blockquote:after {
    content: '';
    position: absolute;
    width: 1em;
    height: 1em;
    opacity: .25;
  }
  .mce-content-body blockquote:before {
    background-image: url('../images/common/icon-quote_left.svg');
    top: 13px;
    left: 10px;
  }
  .mce-content-body blockquote:after {
    background-image: url('../images/common/icon-quote_right.svg');
    bottom: 13px;
    right: 10px;
  }
  .mce-content-body a:hover {
    text-decoration: underline;
  }

  @media screen and (max-width: 767px) {
    .mce-content-body {
      font-size: 100%;
    }
    .mce-content-body p,
    .mce-content-body span {
      font-size: 100%;
    }
    .mce-content-body .alignright,
    .mce-content-body .alignleft  {
      width: 100% !important;
      float: none;
      margin: 20px auto;
      display: block;
    }
    .mce-content-body blockquote {
      padding: 15px;
    }
    .mce-content-body blockquote:before {
      top: 0;
      left: 0;
    }
    .mce-content-body blockquote:after {
      bottom: 0;
      right: 0;
    }
    .mce-content-body ul li {
      padding-left: 0;
    }
    .mce-content-body ul li:before {
      left: -14px;
      padding-top: 6px;
      font-size: 12px;
    }
  }

/* scroll
 **************************************** */
  .scroll {
    overflow-x: scroll;
    margin-bottom: 1em;
  }
  .scroll table { margin: 0; }
  .scroll--cap {
    text-align: right;
    margin: 24px 0 0 !important;
    opacity: .25;
    font-size: 93%;
  }
  @media screen and (max-width: 767px) {
    .mce-content-body .table-sp-block tr {
      border-top: 1px solid #ccc;
      border-bottom: 1px solid #ccc;
    }
    .mce-content-body .table-sp-block th,
    .mce-content-body .table-sp-block td {
      border: none;
    }
    .mce-content-body .table-sp-block td {
      padding: 4px 8px 16px;
    }
  }

/* table
 **************************************** */
  .mce-content-body table { border: none; }
  .mce-content-body table:not(:first-child) { margin-top: 1em; }
  .mce-content-body table:not(:last-child) { margin-bottom: 1em; }
  .mce-content-body table {
    margin: auto;
  }
  .mce-content-body table th {
    font-weight: 700;
  }
  .mce-content-body > .table1 table {
    background: transparent!important;
  }
  .mce-content-body tr {
    position: relative;
    background-repeat: repeat-x;
    background-position: left bottom;
    border-bottom: 1px solid;
  }
  .mce-content-body th,
  .mce-content-body td {
    padding: 24px;
    border-top: 0!important;
    border: none;
  }
  .mce-content-body th {
    padding-right: 16px;
    min-width: 120px;
    vertical-align: middle;
    line-height: 1.5;
    text-align: left;
    font-weight: normal;
  }
  .mce-content-body td {
    flex: 1;
    line-height: 1.5;
    vertical-align: middle;
  }

  @media screen and (max-width: 1080px) {
    .mce-content-body table th {
      text-align: left !important;
    }
    .mce-content-body th,
    .mce-content-body td {
      padding: 12px 16px;
    }
  }
  @media screen and (max-width: 767px) {
    .mce-content-body th {
      padding-right: 8px;
      padding-bottom: 0;
      font-weight: bold;
    }
    .mce-content-body th,
    .mce-content-body td {
      padding: 8px;
      font-size: 100%;
    }
  }

/* table1
 **************************************** */
  @media screen and (max-width: 1080px) {
    .mce-content-body .table1.table-sp-block th {
      color: #fff !important;
    }
  }

/* table2
 **************************************** */
  .mce-content-body .table2 tr:not(:last-child) th {
    border-bottom: 1px solid rgb(255,255,255,.4);
  }

/* 管理画面エディタ用
*************************************************** */
  .mce-content-body.wp-editor {
    padding: 32px !important;
    max-height: 100vh !important;
    overflow-y: scroll !important;
  }

  @media screen and (max-width: 767px) {
    .mce-content-body.wp-editor table tr *:first-child:nth-last-child(2),
    .mce-content-body.wp-editor table tr *:first-child:nth-last-child(2) ~ * {
      display: table-cell;
      width: auto !important;
    }
  }