@charset "utf-8";

.article_content a {
  color: #339933;
  text-decoration: underline;
  transition: 0.3s;
}

.article_content a:hover {
  opacity: 0.7;
  text-decoration: none;
}

.article_content a.wp-block-button__link {
  color: #fff;
  text-decoration: none;
}

.article_content {
  margin: 2rem 0;
}

.article_content p,
.article_content pre {
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.article_content h2,
.article_content h3,
.article_content h4,
.article_content h5,
.article_content h6 {
  line-height: 1.4;
}

.article_content h2,
.article_content h3,
.article_content h4,
.article_content h5,
.article_content h6 {
  color: #30af41;
  font-weight: 600;
}

.article_content h2,
.article_content h3,
.article_content h4 {
  margin-bottom: 2rem;
}

.article_content h2 {
  font-size: 22px;
  border-top: 5px solid #30af41;
  padding: 2rem 0 0;
}

.article_content h2::after {
  content: "";

}

.article_content h3 {
  background-color: #EEF4ED;
  border-radius: 24px;
  color: #30af41;
  font-size: 22px;
  margin: 3rem 0 2rem;
  padding: 0.6rem;
  text-align: center;
}

.article_content h4 {
  font-size: 18px;
  margin-bottom: 1.5rem;
}

.article_content h5,
.article_content h6 {
  font-size: 16px;
  margin-bottom: 1.5rem;
}

@media screen and (max-width: 767px) {
  .article_content h2 {
    font-size: 1.4rem;
  }

  .article_content h3,
  .article_content h4 {
    font-size: 1.15rem;
  }

  .article_content h5,
  .article_content h6 {
    font-size: 1rem;
  }
}

.article_content iframe,
.article_content .wp-block-image,
.article_content .wp-block-table {
  margin-bottom: 2rem;
}

.article_content .wp-block-table {
  overflow-x: unset;
}

.article_content__title {
  font-size: 1.5rem;
}

.article_content pre {
  font-family: inherit;
}

/* ul ol */
.article_content ul,
.article_content ol {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blocks-gallery-grid li::before,
.wp-block-gallery li::before {
  display: none;
}

.article_content ul li::before,
.article_content ol li::before {
  color: #30af41;
  font-weight: 600;
  margin-right: 0.5rem;
}

.article_content ul ul,
.article_content ol ol {
  margin-bottom: 0;
  margin-left: 1rem;
}

.article_content ul li::before {
  content: "・";
}

.article_content ol {
  counter-reset: count-number;
}

.article_content ol li::before {
  counter-increment: count-number;
  content: counter(count-number);
}

@media screen and (max-width: 767px) {
  .article_content .wp-block-table {
    overflow-x: scroll;
  }

  .wp-block-table table {
    table-layout: unset;
    white-space: nowrap;
  }
}

/* table */
.article_content table,
.article_content table th,
.article_content table td {
  border-color: #30af41;
  line-height: 1.6;
  padding: 1rem;
}

.article_content table th {
  background: #EEF4ED;
  color: #30af41;
  font-weight: 600;
  white-space: nowrap;
}

/* 画像 figure */
.wp-block-media-text__media {
  margin-bottom: 1rem;
}

.article_content figcaption {
  margin-top: 1rem;
}