/* Wysiwyg editor
 **************************************** */
  .mce-content-body {
    word-break: break-word;
    text-align: justify;
    text-justify: inter-ideograph;
    -ms-text-justify: inter-ideograph;
  }
  .mce-content-body h1 a,
  .mce-content-body h2 a,
  .mce-content-body h3 a,
  .mce-content-body h4 a,
  .mce-content-body h5 a,
  .mce-content-body h6 a,
  .mce-content-body div:not(.btn) a,
  .mce-content-body p:not(.btn) a {
    text-decoration: underline;
  }
  .mce-content-body ul:not(:first-child) {
    margin-top: 1em;
  }
  .mce-content-body ul:not(:last-child) {
    margin-bottom: 1em;
  }
  .mce-content-body ul li {
    position: relative;
    margin: 0;
    border-bottom: none;
    line-height: 1.65;
  }

  /* --- list ---- */
  .list { list-style-type: none; }
  .list li:not(:last-child),
  .mce-content-body ul li:not(:last-child) {
    margin-bottom: 16px;
  }
  .list li,
  .mce-content-body ul li {
    position: relative;
    padding-left: 1.4em;
  }
  .side_column .list li:not(:last-child) {
    margin-bottom: 0;
  }
  .list-disc li::before,
  .list-square li::before,
  .list-circle li::before,
  .mce-content-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .7em;
    width: 8px;
    height: 8px;
    border-radius: 6px;
    background-color: #9b7a09;
  }
  /* 数字付きリスト */
  .list-num {
    padding-left: 1.4em;
    list-style-type: decimal;
  }
  .list-num li { padding-left: 0; }
  .list-num li::before { display: none; }
  /* 白丸付きリスト */
  .list-circle li::before {
    border: 1px solid #9b7a09;
    background-color: transparent;
  }
  /* 四角付きリスト */
  .list-square li::before {
    border-radius: 0;
    background-color: #9b7a09;
  }
  /* 入れ子のスタイル */
  .list li ul { margin-top: 16px; }
  .list li ul li::before {
    width: 6px;
    height: 6px;
    top: .8em;
  }
  
  .mce-content-body .wp-caption {
    width: 100% !important;
  }
  .mce-content-body .wp-caption img {
    margin-top: 40px;
    margin-bottom: 8px;
  }
  .mce-content-body .wp-caption.aligncenter img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .mce-content-body .wp-caption-text {
    font-size: 86%;
    line-height: 1.5;
  }
  .mce-content-body .aligncenter .wp-caption-text {
    text-align: center;
  }
  .mce-content-body img {
    margin: 40px 0;
    max-width: 100%;
    height: auto;
    border-radius: 40px;
    border: 2px solid;
    overflow: hidden;
  }
  .mce-content-body hr {
    background: transparent;
  }
  .mce-content-body .alignleft {
    float: left;
    clear: left;
    margin-right: 40px;
    margin-bottom: 40px;
  }
  .mce-content-body .alignright {
    float: right;
    clear: right;
    margin-left: 40px;
    margin-bottom: 40px;
  }
  .mce-content-body .aligncenter {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
  }
  .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: .1em;
    line-height: 2;
  }
  .mce-content-body p:not(:last-child) {
    margin-bottom: 1em;
  }
  .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:hover {
    text-decoration: underline;
  }
  .mce-content-body .footer_text small {
    display: block;
    margin-top: 8px;
    text-align: right;
  }
  table {
    border: none;
    width: 100%;
    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;
  }

  /* --- table_default --- */
  .table_default th, 
  .table_default td,
  .mce-content-body table th, 
  .mce-content-body table td {
    position: relative;
    min-width: 100px;
    padding: 16px 8px;
  }
  .table_default th::after,
  .table_default td::after,
  .mce-content-body table th::after,
  .mce-content-body table td::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    display: block;
    width: calc( 100% - 4px );
    height: 2px;
    background-color: #9b7a09;
  }
  .table_default td,
  .mce-content-body table td {
    padding: 16px 16px;
  }
  .table_default td::after,
  .mce-content-body table td::after {
    width: 100%;
    height: 1px;
  }
  @media (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .table_default th::after,
    .table_default td::after,
    .mce-content-body table th::after,
    .mce-content-body table td::after {
      display: none;
    }
    .table_default th,
    .mce-content-body table th {
      border-bottom: 2px solid #9b7a09;
    }
    .table_default td,
    .mce-content-body table td {
      border-bottom: 1px solid #9b7a09;
    }
  }

  /* --- table_line --- */
  .table_line th,
  .table_line td,
  .mce-content-body .table2 th,
  .mce-content-body .table2 td {
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .table_line th,
  .mce-content-body .table2 th {
    background-color: #9b7a09;
    border: 1px solid #9b7a09;
    color: #fff;
    font-size: 107%;
  }
  .table_line td,
  .mce-content-body .table2 td {
    border: 1px solid #D2D2D2;
    font-size: 93%;
  }

  .mce-content-body sup {
    font-size: 70%;
    color: #555;
  }
  .bold {
    color: #937108;
  }
  .bg-ivory .bold,
  .lps_sec:nth-child(even) .bold {
    padding: 4px;
    color: #fff;
    background-color: #937108;
  }

  /* iframe */
  .mce-content-body .iframe {
    position: relative;
    margin: 40px 0;
    border: 2px solid;
    border-radius: 40px;
    overflow: hidden;
  }
  .mce-content-body .iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .iframe--youtube,
  .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 (max-width: 767px) {
    .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;
    }
    .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::before {
      font-size: 12px;
    }
    .mce-content-body .col-md-6:first-child {
      margin-bottom: 24px;
    }
    .mce-content-body table {
      max-width: none !important;
    }
    .mce-content-body th,
    .mce-content-body td {
      padding: 8px;
    }
    .mce-content-body th {
      padding-right: 8px;
      font-weight: bold;
    }
    .mce-content-body .table1.table-sp-block th {
      padding: 4px 8px;
      color: #fff;
      background-color: #9b7a09;
    }
    .mce-content-body .table1.table-sp-block td {
      padding: 16px 0;
    }
    .mce-content-body .table1.table-sp-block td:last-child::after {
      display: none;
    }
    .mce-content-body img {
      margin: 20px 0;
    }
    .mce-content-body .aligncenter {
      margin-bottom: 20px;
    }
    .mce-content-body .iframe {
      border-radius: 20px;
    }
  }

/* 管理画面エディタ用
*************************************************** */
  .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%;
    letter-spacing: .15em;
    margin-bottom: .5em;
  }
  * + .editor-ttl {
    margin-top: 40px;
  }
  .editor-ttl2 {
    font-size: 150%;
    letter-spacing: .15em;
    margin-bottom: .5em;
  }
  * + .editor-ttl2 {
    margin-top: 40px;
  }
  .editor-ttl3 {
    font-size: 112.5%;
    letter-spacing: .15em;
    margin-bottom: .5em;
  }
  * + .editor-ttl3 {
    margin-top: 40px;
  }

  /* 注意書き */
  .txt-attention {
    font-size: 88%;
    color: #767676;
  }
  a.underline {
    text-decoration: underline;
  }
  a.underline:hover {
    text-decoration: none;
  }
  .bg-gray .txt-attention,
  .lps_parts--column .text.bg-wh .txt-attention {
    color: #666;
  }
  .txt-attention-kome {
    position: relative;
    padding-left: 1.4em;
  }
  .txt-attention-kome::before {
    content: '※';
    position: absolute;
    left: 0;
    top: 0;
  }

  @media screen and (max-width: 767px) {
    .editor-ttl {
      font-size: 150%;
    }
    .editor-ttl2 {
      font-size: 129%;
    }
    .editor-ttl3 {
      font-size: 115%;
    }
  }