/* Wysiwyg editor
 **************************************** */
  .mce-content-body {
    word-break: break-word;
    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 { list-style-type: none; }
  .mce-content-body ul li:not(:last-child) { margin-bottom: 8px; }
  .mce-content-body ul li {
    position: relative;
    padding-left: 1.4em;
    margin-left: 10px;
  }
  .mce-content-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.05em;
    width: 8px;
    height: 8px;
    border-radius: 6px;
    background-color: #666;
  }
  .mce-content-body ol li {
    list-style-type: decimal;
  }
  .mce-content-body img {
    margin: 1em 0;
    max-width: 100%;
    height: auto;
  }
  .mce-content-body hr {
    background: transparent;
  }
  .mce-content-body .alignleft {
    float: left;
    clear: left;
    margin-right: 1em;
    margin-bottom: 1em;
  }
  .mce-content-body .alignright {
    float: right;
    clear: right;
    margin-left: 1em;
    margin-bottom: 1em;
  }
  .mce-content-body .aligncenter {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
  }
  .mce-content-body img.aligncenter {
    display: block;
  }
  .mce-content-body .alignleft:last-child,
  .mce-content-body .alignright:last-child,
  .mce-content-body .aligncenter:last-child {
    margin-bottom: 0;
  }
  .mce-content-body p {
    letter-spacing: .04em;
    transform: rotate(0.05deg);
  }
  .mce-content-body p:not(:last-child) {
    margin-bottom: 16px;
  }
  .mce-content-body strong {
    font-weight: bold;
  }
  .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 {
    text-decoration: underline;
  }
  .mce-content-body .footer_text small {
    display: block;
    margin-top: 8px;
    text-align: right;
  }
  .mce-content-body table {
    border: none;
    height: auto !important;
  }
  .mce-content-body table:not(:first-child) { margin-top: 1em; }
  .mce-content-body table:not(:last-child) { margin-bottom: 1em; }
  .mce-content-body th,
  .mce-content-body td,
  .mce-content-body tr {
    height: auto !important;
  }
  .mce-content-body th,
  .mce-content-body td {
    padding: 12px;
    border: 1px solid #D2D2D2;
  }
  .mce-content-body th {
    padding-right: 16px;
    min-width: 120px;
    vertical-align: middle;
    line-height: 1.5;
    text-align: left;
    font-weight: 700;
    padding-left: 24px;
    padding-right: 16px;
    background-color: #f3f3f3;
  }
  .mce-content-body td {
    flex: 1;
    line-height: 1.5;
    vertical-align: middle;
  }
  .mce-content-body sup {
    font-size: 70%;
    color: #555;
  }
  .mce-content-body .table2 tr {
    display: flex;
  }
  .mce-content-body .table2 th,
  .mce-content-body .table2 td {
    border-left: none;
    border-top: none;
    border-right: none;
    border-bottom: 1px solid #999999;
  }
  .mce-content-body .table2 th {
    margin-right: 8px;
    display: flex;
    align-items: center;
    background-color: transparent;
    padding: 16px;
    padding-top: 24px;
    padding-bottom: 24px;
    font-size: 118%;
  }
  .mce-content-body .table2 td {
    display: flex;
    align-items: center;
    font-size: 94%;
  }

  /* iframe */
  .mce-content-body .iframe {
    position: relative;
    margin-bottom: 40px;
  }
  .mce-content-body .iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .mce-content-body .iframe--youtube,
  .mce-content-body .iframe--google_map {
    padding-top: calc( 9 / 16 * 100% );
  }

  /* table scroll */
  .table-sp-scroll {
    white-space: nowrap;
  }
  .scroll {
    overflow-x: scroll;
    margin-bottom: 1em;
    -webkit-overflow-scrolling: touch;
  }
  .scroll table { margin: 0; }
  .scroll--cap {
    text-align: right;
    margin: 1em 0 0 !important;
    opacity: .25;
    font-size: 93%;
  }

  @media screen and (min-width: 768px) {
    .mce-content-body th {
      border-right: none;
    }
    .mce-content-body th + td {
      border-left: none;
    }
  }

  @media screen and (max-width: 1080px) {
    .table-sp-full {
      width: 100% !important;
    }
    .table-sp-full th,
    .table-sp-full td {
      flex: 1;
    }
    .table-sp-block,
    .table-sp-block th,
    .table-sp-block td {
      width: 100% !important;
    }
    .table-sp-block th,
    .table-sp-block td {
      display: block;
    }
  }
  @media screen and (max-width: 767px) {
    .mce-content-body {
      font-size: 100%;
    }
    .mce-content-body p:not([class]) {
      text-align: left !important;
    }
    .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;
      margin-left: 16px;
    }
    .mce-content-body ul li::before {
      left: -14px;
      padding-top: 6px;
      font-size: 12px;
      top: 1.3em;
    }
    .mce-content-body .col-md-6:first-child {
      margin-bottom: 24px;
    }
    .mce-content-body table {
      max-width: none !important;
    }
    .mce-content-body th {
      padding-right: 8px;
      padding-bottom: 0;
      font-weight: bold;
    }
    .mce-content-body th,
    .mce-content-body td {
      padding: 8px;
    }
    .mce-content-body .table2 tr {
      display: block;
    }
    .mce-content-body .table1.table-sp-block th,
    .mce-content-body .table1.table-sp-block tr:not(:last-child) td {
      border-bottom: 0;
    }
  }

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

/* add quicktag
*************************************************** */
  /* 見出し */
  .editor-ttl {
    font-size: 200%;
    margin: 8px 0;
    line-height: 1.5;
  }
  * + .editor-ttl {
    margin-top: 40px;
  }
  .editor-ttl2 {
    display: block;
    font-size: 134%;
    margin-bottom: 16px;
  }
  .editor-ttl2 .bd {
    display: inline;
    line-height: 2.0;
    background: linear-gradient(transparent 97%, #ccc 0%);
    padding-bottom: 8px;
  }
  * + .editor-ttl2 {
    margin-top: 40px;
  }
  .editor-ttl3 {
    font-size: 108%;
    line-height: 1.7;
  }
  .editor-ttl3 .bd {
    background-color: #ccc;
    padding: 4px 6px;
  }
  * + .editor-ttl3 {
    margin-top: 40px;
  }

  /* 注意書き */
  .txt-attention {
    font-size: 88%;
    color: #999;
  }

  @media screen and (max-width: 767px) {
    .editor-ttl {
      font-size: 128%;
    }
    .editor-ttl2 {
      font-size: 107%;
    }
    .editor-ttl3 {
      font-size: 100%;
    }
  }

/* 太字
*************************************************** */
.mce-content-body th {
  font-family: "HonMinKok-M", "Yu Mincho","YuMincho","Hiragino Mincho ProN","Hiragino Mincho Pro","HGS明朝E","メイリオ","Meiryo",serif;
  font-weight: 700;
}