@charset "UTF-8";

.news-single__body,
.is-root-container {
  /* =========================
     見出し 共通
  ========================= */
  /* =========================
     h1（記事タイトル想定）
  ========================= */
  /* =========================
     h2（メイン見出し）
  ========================= */
  /* =========================
     h3（サブ見出し）
  ========================= */
  /* =========================
     h4（補助）
  ========================= */
  /* =========================
     h5（さらに軽く）
  ========================= */
  /* =========================
     h6（補足レベル）
  ========================= */
  /* =========================
     リスト 共通
  ========================= */
  /* =========================
     ul（デザインリスト）
  ========================= */
  /* カスタムドット */
  /* =========================
     ol（番号リスト）
  ========================= */
  /* 番号デザイン */
  /* =========================
     ネスト対応
  ========================= */
  /* =========================
     段落
  ========================= */
  /* =========================
     img
  ========================= */
}

.news-single__body h1,
.news-single__body h2,
.news-single__body h3,
.news-single__body h4,
.news-single__body h5,
.news-single__body h6,
.is-root-container h1,
.is-root-container h2,
.is-root-container h3,
.is-root-container h4,
.is-root-container h5,
.is-root-container h6 {
  font-family: var(--font-medium);
  color: var(--color-text);
  line-height: 1.4;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
}

.wp-block-image img {
  display: inline-block;
}

.news-single__body h1,
.is-root-container h1 {
  font-size: 2rem;
  padding-bottom: 0.5em;
}

.news-single__body h2,
.is-root-container h2 {
  font-size: 1.6rem;
  padding: 0.6em 0.8em;
  padding-left: 0;
}

.news-single__body h3,
.is-root-container h3 {
  font-size: 1.3rem;
  padding-bottom: 0.3em;
}

.news-single__body h4,
.is-root-container h4 {
  font-size: 1.1rem;
}

.news-single__body h5,
.is-root-container h5 {
  font-size: 1rem;
}

.news-single__body h6,
.is-root-container h6 {
  font-size: 0.9rem;
}

.news-single__body ul,
.news-single__body ol,
.is-root-container ul,
.is-root-container ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  font-size: 16px;
}

.news-single__body ul,
.is-root-container ul {
  list-style: none;
  padding-left: 0;
}

.news-single__body ul li,
.is-root-container ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.6em;
}

.news-single__body ul li::before,
.is-root-container ul li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.5em;
}

.news-single__body ol,
.is-root-container ol {
  counter-reset: list-counter;
  list-style: none;
  padding-left: 0;
}

.news-single__body ol li,
.is-root-container ol li {
  counter-increment: list-counter;
  position: relative;
  padding-left: 2em;
  margin-bottom: 0.6em;
}

.news-single__body ol li::before,
.is-root-container ol li::before {
  content: counter(list-counter);
  position: absolute;
  left: 0;
  top: 0.15em;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-single__body ul ul li::before,
.is-root-container ul ul li::before {
  background: var(--orange-color2);
}

.news-single__body ol ol li::before,
.is-root-container ol ol li::before {
  background: var(--sub-color1);
}

.news-single__body p,
.is-root-container p {
  margin-bottom: 1.25em;
  font-size: 16px;
}

.news-single__body p a,
.is-root-container p a {
  text-decoration: underline;
  color: var(--color-primary);
}

.news-single__body .wp-block-image,
.is-root-container .wp-block-image {
  margin-bottom: 0.5rem;
}

.news-single__body .wp-block-image figure,
.is-root-container .wp-block-image figure {
  float: unset;
}

.news-single__body .wp-block-image figure.alignright,
.is-root-container .wp-block-image figure.alignright {
  text-align: right;
  display: block;
}

.news-single__body .wp-block[data-align=right],
.is-root-container .wp-block[data-align=right] {
  height: auto;
  text-align: right;
}

.news-single__body .wp-block[data-align=right] figure,
.is-root-container .wp-block[data-align=right] figure {
  float: unset;
  display: block;
}