.business-singleTtl {
  margin-bottom: 120px;

  .l-container {
    max-width: 1040px;
  }

  h1 {
    margin-bottom: 0;
  }

  .business-singleTtl__cols {
    gap: 5%;
    margin-bottom: 0;
  }

  .business-singleTtl__col:nth-child(1) {
    margin-right: 0;
  }

  .business-singleTtl__ttl {
    margin-top: 0;
    margin-bottom: 20px;
  }

  .business-singleTtl__catch {
    margin-bottom: 10px;
    min-height: auto;
  }
}

.post-container,
.editor-styles-wrapper {
  font-size: 10px;

  > .wp-block-group {
    > .wp-block-group__inner-container {
      display: flex;
      flex-direction: column;
      gap: 80px;

      > .wp-block-group {
        > .wp-block-group__inner-container {
          display: flex;
          flex-direction: column;
          gap: 40px;

          .wp-block-group {
            > .wp-block-group__inner-container {
              display: flex;
              flex-direction: column;
              gap: 40px;

              .wp-block-group {
                > .wp-block-group__inner-container {
                  display: flex;
                  flex-direction: column;
                  gap: 20px;
                }
              }
            }
          }
        }
      }
    }
  }

  h2 {
    position: relative;
    font-size: 3em;
    font-weight: 600;
    padding-bottom: 30px;
    text-align: center;

    &::after {
      content: "";
      display: block;
      position: absolute;
      left: 50%;
      bottom: 0;
      width: 50px;
      height: 5px;
      background-color: #004bb4;
      translate: -50% 0;
      transition: width .3s;
    }
  }

  h3 {
    border-bottom: 1px solid #004bb4;
    border-left: 8px solid #004bb4;
    line-height: 1.3;
    padding: 8px 0 13px 25px;
    position: relative;
    font-size: 2.6em;
    font-weight: 600;
    margin: 0;
  }

  h4 {
    font-size: 2.2em;
    font-weight: 600;
    padding-left: 32px;
    position: relative;
    line-height: 1.3;

    &::before {
      content: "";
      display: block;
      position: absolute;
      left: 0;
      top: 5px;
      width: 22px;
      height: 22px;
      border: 2px solid #004bb4;
      border-radius: 50%;
    }
  }

  h5 {
    font-size: 1.6em;
    font-weight: 600;
    line-height: 1.8;
  }

  p {
    font-size: 1.6em;
    line-height: 1.8;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .wp-block-video {
    max-width: 800px;
    margin: auto;
  }

  .wp-block-embed.is-type-video {
    width: 100%;
    max-width: 800px;
    margin: auto;
    aspect-ratio: 16 / 9;

    .wp-block-embed__wrapper {
      iframe {
        width: 100%;
        height: 100%;
        aspect-ratio: 16 / 9;
      }
    }
  }

  .wp-block-columns.is-layout-flex {
    gap: 40px;
  }

  .wp-block-columns.is-layout-flex.tabs {
    gap: 20px;
    border-bottom: 2px solid var(--ci);

    > .wp-block-column {
      width: calc((100% - 20px) / 2);
      background-color: rgba(175, 175, 175, .2);
      border-radius: 20px 20px 0 0;
      display: flex;
      height: 70px;
      justify-content: center;
      align-items: center;
      text-align: center;
      font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
      cursor: pointer;

      &.current {
        background-color: #004bb4;
        color: #fff;
      }

      > p {
        font-size: 2.2rem;
        font-weight: 600;
      }
    }
  }


  .wp-block-list {
    display: flex;
    flex-direction: column;
    gap: .5em;
    font-size: 1.6em;
    padding-left: 1.5em;

    li {
      line-height: 1.8;
    }

    ol& {
      li {
        list-style-type: decimal;
      }
    }

    ul& {
      li {
        list-style-type: disc;
      }
    }
  }

  table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.6em;

    th {
      position: relative;
      color: #fff;
      font-weight: 600;
      border: 1px solid #fff;
      background-color: #004bb4;
      padding: 10px;
    }

    td {
      border: 1px solid #004bb4;
      background-color: #fff;
      padding: 10px;
    }
  }

  figure.wp-block-gallery.has-nested-images {
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;

    figure.wp-block-image:not(#individual-image) {
      width: auto;
      flex: 1;

      @media (width <= 700px) {
        width: calc(50% - 12px);
        flex: 0 0 auto;
      }
    }

    /*
    &:not(.is-cropped) {
      figure.wp-block-image:not(#individual-image) {
        width: 49% !important;
        flex-grow: 0;
      }
    }
    */

    figure.wp-block-image {
      figcaption {
        margin-top: 8px;
        background: none;
        color: #000;
        font-size: 1.4em;
        position: static;
        text-align: left;
        padding: 0;
        max-height: none;
      }
    }
  }

  .wp-block-buttons {
    gap: 20px;
  }

  .wp-block-button {
    .wp-block-button__link {
      width: auto;
      padding: 5px 32px 5px 10px;
      color: #fff;
      background-color: #004bb4;
      border-radius: 30px;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      font-size: 1.6rem;
      font-weight: 400;
      box-shadow: 0 3px 3px 0 rgba(0, 0, 0, .16);
      border: 1px solid #004bb4;
      transition: all .3s;
      position: relative;
      cursor: pointer;

      &::before {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        font-size: 2.2rem;
        transition: all .3s;
        speak: none;
        right: 12px;
        width: 16px;
        height: 16px;
        border: none;
        transform: translateY(-50%);
        background-image: url(../img/common/icon-site-wt.svg);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: contain;
      }

      &:hover {
        color: #004bb4;
        background-color: #fff;

        &::before {
          content: "";
          display: block;
          position: absolute;
          top: 50%;
          font-size: 2.2rem;
          transition: all .3s;
          speak: none;
          right: 12px;
          width: 16px;
          height: 16px;
          border: none;
          transform: translateY(-50%);
          background-image: url(../img/common/icon-site.svg);
          background-repeat: no-repeat;
          background-position: center center;
          background-size: contain;
        }
      }
    }

    &.is-style-outline {
      .wp-block-button__link {
        padding: 20px 60px 20px 40px;
        background-color: #fff;
        color: var(--ci);
        border: none;

        &::before {
          background-image: url(../img/common/icon-site.svg);
        }

        &:hover {
          background-color: var(--ci);
          color: #fff;

          &::before {
            background-image: url(../img/common/icon-site-wt.svg);
          }
        }
      }
    }
  }

  figcaption {
    margin-top: 8px;
    background: none;
    color: #000;
    font-size: 1.4em;
    position: static;
    text-align: left;
    padding: 0;
    max-height: none;
  }

  .l-btns__btn {
    display: flex;
    gap: 40px;

    @media (width <= 768px) {
      flex-direction: column;
      gap: 20px;
    }

    .c-btn.-xxxl {
      margin-bottom: 0;

      a {
        font-size: 18px;
        width: auto;
        padding-right: 40px;
      }
    }
  }
}

.post-container {
  max-width: 1040px;
  padding-bottom: 120px;

  .tab-body {
    display: none;
  }
}

.editor-styles-wrapper {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}