/* POST CONTENT (BLOG) UL */
.section-blog-detail .the-content ul ol {
  counter-reset: index1;
}

@media print, (min-width: 768px) {
  .section-blog-detail .the-content ul > li ul,
  .section-blog-detail .the-content ul > li ol {
    margin: 12px 0 0 3px;
    padding-left: 17px;
  }

  .section-blog-detail .the-content ul > li ul > li:not(:last-child),
  .section-blog-detail .the-content ul > li ol > li:not(:last-child) {
    margin-bottom: 0;
    padding: 0 !important;
  }
}

@media only screen and (max-width: 767px) {
  .section-blog-detail .the-content ul > li ul {
    margin: 17px 0 0 3px;
    padding-left: 17px;
  }

  .section-blog-detail .the-content ul > li ol {
    margin: 11px 0 0 3px;
    padding-left: 17px;
  }

  .section-blog-detail .the-content ul > li ul > li,
  .section-blog-detail .the-content ul > li ol > li {
    padding: 0 !important;
  }

  .section-blog-detail .the-content ul > li ul > li:not(:last-child),
  .section-blog-detail .the-content ul > li ol > li:not(:last-child) {
    margin-bottom: -1px;
  }
}

/* POST CONTENT (BLOG) OL */
.section-blog-detail .the-content ol {
  counter-reset: index;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  list-style: none;
  letter-spacing: 0;
  color: #3b4043;
}

.section-blog-detail .the-content ol > li::before {
  content: counters(index, ".") ". ";
  counter-increment: index;
  display: inline;
  color: #2494b5;
}

.section-blog-detail .the-content ol ul ol {
  counter-reset: index1;
}

.section-blog-detail .the-content ol ul ol > li::before {
  content: counters(index1, ".") ". ";
  counter-increment: index1;
}

.section-blog-detail .the-content ol ul ol ul ol {
  counter-reset: index2;
}

.section-blog-detail .the-content ol ul ol ul ol > li::before {
  content: counters(index2, ".") ". ";
  counter-increment: index2;
}

@media print, (min-width: 768px) {
  .section-blog-detail .the-content ol {
    padding-left: 17px;
    font-size: 16px;
    line-height: calc(28 / 16);
  }

  .section-blog-detail .the-content ol > li {
    min-height: 28px;
    margin-bottom: 0;
  }

  .section-blog-detail .the-content ol > li::before {
    margin: 0 4px 0 -17px;
  }

  .section-blog-detail .the-content ol > li:not(:last-child) {
    margin-bottom: 14px;
  }

  .section-blog-detail .the-content ol > li ul,
  .section-blog-detail .the-content ol > li ol {
    margin: 12px 0 0 3px;
    padding-left: 17px;
  }

  .section-blog-detail .the-content ol > li ul > li,
  .section-blog-detail .the-content ol > li ol > li {
    padding-left: 0 !important;
  }

  .section-blog-detail .the-content ol > li ul > li:not(:last-child),
  .section-blog-detail .the-content ol > li ol > li:not(:last-child) {
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 767px) {
  .section-blog-detail .the-content ol {
    padding-left: 17px;
    font-size: 13px;
    line-height: calc(26 / 13);
  }

  .section-blog-detail .the-content ol > li {
    min-height: 26px;
    margin-bottom: 0;
  }

  .section-blog-detail .the-content ol > li::before {
    margin: 0 4px 0 -17px;
  }

  .section-blog-detail .the-content ol > li:not(:last-child) {
    margin-bottom: 14px;
  }

  .section-blog-detail .the-content ol > li ul {
    margin: 17px 0 0 3px;
    padding-left: 17px;
  }

  .section-blog-detail .the-content ol > li ol {
    margin: 11px 0 0 3px;
    padding-left: 17px;
  }

  .section-blog-detail .the-content ol > li ul > li,
  .section-blog-detail .the-content ol > li ol > li {
    padding-left: 0 !important;
  }

  .section-blog-detail .the-content ol > li ul > li:not(:last-child),
  .section-blog-detail .the-content ol > li ol > li:not(:last-child) {
    margin-bottom: -1px;
  }
}

/* POST CONTENT (BLOG) TABLE OF CONTENTS */
.section-blog-detail .the-content .simpletoc-title {
  color: #1e4a7c;
}

/* POST CONTENT (BLOG) BUTTON */
.section-blog-detail .the-content .wp-block-buttons {
  margin-bottom: 55px;
}

.section-blog-detail .the-content .wp-block-button__link {
  padding: 3px 40px 4px;
  border: 2px solid #2494b5;
  background-color: #2494b5;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: #fff;
  letter-spacing: 0;
  overflow: hidden;
}

.section-blog-detail .the-content .wp-block-button__link:hover {
  color: #2494b5;
}

.section-blog-detail .the-content .wp-block-button__link {
  display: block;
  position: relative;
  text-decoration: none;
  -webkit-box-shadow: 0 0 1px transparent;
  box-shadow: 0 0 1px transparent;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  -webkit-transition-property: color;
  -o-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

.section-blog-detail .the-content .wp-block-button__link::before {
  content: "";
  background-color: #fff;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  -webkit-transform: scaleX(0);
  -ms-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 0 50%;
  -ms-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  -o-transition: transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.section-blog-detail .the-content .wp-block-button__link::after {
  content: "";
  width: 6px;
  height: 8px;
  position: absolute;
  background: url("../img/common/cmn_icon_arrow_right.png") center center / contain no-repeat;
  top: calc(50% - 4px);
  right: 16px;
  -webkit-transition: background 0.3s ease;
  -o-transition: background 0.3s ease;
  transition: background 0.3s ease;
}

.section-blog-detail .the-content .wp-block-button__link:hover::before {
  -webkit-transform: scaleX(1);
  -ms-transform: scaleX(1);
  transform: scaleX(1);
}

.section-blog-detail .the-content .wp-block-button__link:hover:after {
  background-image: url("../img/common/icon_arrow_right.png");
}

/* POST CONTENT (BLOG) EMBED VIDEO */
.section-blog-detail .wp-block-embed.is-type-video {
  padding-top: 20px;
  text-align: center;
}

/* POST CONTENT (BLOG) EMBED CONTENT */
.section-blog-detail .wp-block-embed.is-type-wp-embed {
  width: 100%;
  margin-bottom: 0;
  padding: 14px 0;
  border-top: 1px solid rgba(59, 64, 67, 0.1);
}

.section-blog-detail .wp-embedded-content {
  width: 100%;
}

.section-blog-detail .wp-block-embed.is-type-wp-embed + .wp-block-embed.is-type-wp-embed {
  border-bottom: 1px solid rgba(59, 64, 67, 0.1);
}

@media print, (min-width: 768px) {
  .section-blog-detail .wp-block-embed.is-type-wp-embed {
    width: 100%;
    height: 86px;
  }
}

@media only screen and (max-width: 767px) {
  .section-blog-detail .wp-block-embed.is-type-wp-embed {
    width: 100%;
    height: 95px;
  }
}
