/* Wysiwyg editor
**************************************** */
  .mce-content-body {
    text-align: justify;
    text-justify: inter-ideograph;
    -ms-text-justify: inter-ideograph;
  }
  .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 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 {
    color: #04c;
  }
  .mce-content-body a:hover {
    text-decoration: underline;
  }
  .mce-content-body table,
  .mce-content-body table th,
  .mce-content-body table td {
    border-style: solid;
    border-color: #eee;
  }
  .mce-content-body table {
    margin: 20px 0;
    line-height: 1.6;
    border-top-width: 1px;
  }
  .mce-content-body table th,
  .mce-content-body table td {
    padding: 12px 20px;
    border-bottom-width: 1px;
    vertical-align: middle;
  }
  .mce-content-body table th {
    background: #f8f8f8;
    text-align: center;
    white-space: nowrap;
    font-size: 93%;
  }
  .mce-content-body table td {
    font-size: 85%;
  }
  .mce-content-body table th:not(:last-child),
  .mce-content-body table td:not(:last-child) {
    border-right-width: 1px;
    border-right-style: dotted;
  }
  .mce-content-body > ul,
  .mce-content-body > ol {
    margin: 1em 0;
  }
  .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 > h1,
  .mce-content-body > h2,
  .mce-content-body > h3,
  .mce-content-body > h4,
  .mce-content-body > h5 {
    position: relative;
    margin-bottom: 24px;
    padding-left: 32px;
    padding-right: 32px;
  }
  .mce-content-body > h1:not(:first-child),
  .mce-content-body > h2:not(:first-child),
  .mce-content-body > h3:not(:first-child),
  .mce-content-body > h4:not(:first-child),
  .mce-content-body > h5:not(:first-child) {
    margin-top: 40px;
  }
  .mce-content-body > h1,
  .mce-content-body > h2 {
    font-size: 133%;
    line-height: 1.6em;
  }
  .mce-content-body > h1 {
    padding-top: 14px;
    padding-bottom: 14px;
    line-height: 1.6em;
    background-color: #1e1e1e;
    color: #fff;
  }
  .mce-content-body > h2 {
    padding-top: 4px;
    padding-bottom: 4px;
    border-left: 4px solid #1e1e1e;
  }
  .mce-content-body > h3,
  .mce-content-body > h4,
  .mce-content-body > h5 {
    font-size: 120%;
    line-height: 1.8em;
  }
  .mce-content-body > h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #1e1e1e;
  }
  .mce-content-body > h4 {
    padding-top: 4px;
    padding-bottom: 4px;
    color: #fff;
    background-color: #b4b4b4;
  }
  .mce-content-body > h5 {
    padding-bottom: 8px;
    border-bottom: 1px solid #b4b4b4;
  }
  .mce-content-body > p {
    margin-bottom: 1em;
  }

  /* --- wp-caption --- */
  .wp-caption {
    max-width: 100% !important;
  }
  .wp-caption img {
    margin-bottom: 4px;
  }
  .wp-caption-text {
    opacity: .5;
    font-size: 93%;
  }

  /* --- table scroll --- */
  .scroll {
    overflow-x: scroll;
    margin: 0 0 24px;
  }
  .scroll table {
    margin: 0;
  }
  .scroll--cap {
    text-align: right;
    margin: 24px 0 0 !important;
    opacity: 0.25;
    font-size: 93%;
  }

  /* --- iframe - youtube --- */
  .yt_wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
  }
  .yt_wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
  }

  @media (max-width: 767px) {
    .mce-content-body {
      font-size: 100%;
    }
    .mce-content-body .alignright,
    .mce-content-body .alignleft  {
      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 table tr *:first-child:nth-last-child(2),
    .mce-content-body table tr *:first-child:nth-last-child(2) ~ * {
      display: block;
      width: 100% !important;
    }
    .mce-content-body > ul li,
    .mce-content-body > ol li {
      margin-left: 1em;
    }
    .mce-content-body > ul li {
      padding-left: 0;
    }
    .mce-content-body > ul li:before {
      left: -14px;
      padding-top: 6px;
      font-size: 12px;
    }
  }
  @media screen and (max-width: 560px) {
    .mce-content-body > h1,
    .mce-content-body > h2,
    .mce-content-body > h3,
    .mce-content-body > h4,
    .mce-content-body > h5 {
      padding-left: 20px;
      padding-right: 20px;
      margin-bottom: 16px;
    }
    .mce-content-body > h1:not(:first-child),
    .mce-content-body > h2:not(:first-child),
    .mce-content-body > h3:not(:first-child),
    .mce-content-body > h4:not(:first-child),
    .mce-content-body > h5:not(:first-child) {
      margin-top: 32px;
    }
    .mce-content-body > h1,
    .mce-content-body > h2 {
      font-size: 120%;
    }
    .mce-content-body > h3,
    .mce-content-body > h4,
    .mce-content-body > h5 {
      font-size: 108%;
    }
    .mce-content-body > h1 {
      padding-top: 8px;
      padding-bottom: 8px;
    }
    .mce-content-body > h2 {
      padding-top: 2px;
      padding-bottom: 2px;
      border-left-width: 3px;
    }
    .mce-content-body > h3::before {
      width: 8px;
      height: 8px;
    }
  }

/* 管理画面エディタ用
*************************************************** */
  .mce-content-body.wp-editor {
    padding: 32px !important;
  }
  @media (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;
    }
  }