.pet-funeral-articles h2 {
  background-color: #edf4ee;
  background-image: linear-gradient(60deg, #edf4ee 0%, #d5e9fd 100%);
  padding: 5px 20px;
  margin-bottom: 5px;
  font-size: 24px;
  color: #005e15;
  font-weight: bold;
}

.pet-funeral-articles h3 {
  font-size: 17px;
  font-weight: bold;
}

.pet-funeral-articles h4 {
  color: #8fc31f;
  font-size: 16px;
  font-weight: bold;
}

.pet-funeral-articles .heading-33 {
  position: relative;
  display: inline-block;
  margin: 20px 0 5px 0;
  padding: 1px 20px 1px 20px;
  color: #4c4c4c;
  border-radius: 35px 0 0 35px;
  background-color: #d5e9fd;
  background-image: linear-gradient(60deg, #d5e9fd 0%, #e6c8e6 100%);
}

.pet-funeral-articles .toc {
  font-size: 1em;
  padding: 1em 2em 2em;
  background-color: #fcecea;
  /*←背景色*/
  box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.1);
  border: none;
}

.pet-funeral-articles .toc-title {
  font-size: 1.2em;
  font-weight: 500;
  color: #ee817b;
  /*←タイトルの文字色*/
  margin: 1em;
  text-align: center;
}

.pet-funeral-articles .toc-content ol {
  position: relative;
}

.pet-funeral-articles .toc-content ol li {
  padding: 1em 0 0 1em;
  border-bottom: dotted 1px #ffb2ae;
  list-style: none;
}

.pet-funeral-articles .toc a {
  color: #928484;
  /*←見出しの文字色*/
  text-decoration: none;
}

.pet-funeral-articles .toc a:hover {
  color: #8fc31f;
}

.pet-funeral-articles .toc-content ol li:before {
  content: ">";
  /*←見出しアイコン*/
  color: #faafaa;
  /*←見出しアイコンの色*/
  position: absolute;
  left: 1px;
}

.pet-funeral-articles .toc-content ol li:last-child {
  border-bottom: none;
}

.pet-funeral-articles .dfgvoc {
  background: #fceff2;
  box-shadow: #fceff2 0 0 10px 10px;
  margin: 10px;
  font-size: 100%;
  padding: 20px;
}

a.link-dfg {
  padding-left: 70px;
  position: relative;
}
a.link-dfg::before,
a.link-dfg::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 0;
  height: 1px;
  background-color: #8fc31f;
}
a.link-dfg::before {
  width: 50px;
}
a.link-dfg::after {
  width: 14px;
  transform-origin: right center;
  transform: translate(36px, 0px) rotate(25deg);
}

/*縦ステップフロー*/
:root {
  --flowchart-size: 34px; /* 番号大きさ 変更可 */
  --flowchart-border: 16px; /* 縦線太さ 変更可(12px以上) */
  --flowchart-gradient: linear-gradient(to right, rgb(171, 236, 214) 0%, rgb(251, 237, 150) 100%); /* 番号背景 変更可 */
}
.flowchart {
  list-style: none !important;
  counter-reset: flownum; /* リストアイテムの名称(任意) */
  position: relative;
  margin: 1em 0; /* フローチャートと前後要素との距離(任意) */
  padding: 0 !important;
}
.flowchart li {
  position: relative;
  padding: 0 0 0 calc(var(--flowchart-size) + var(--flowchart-border) + 8px + 30px);
}
.flowchart-content {
  position: relative;
  padding: 0 0 2em;
}

/* 縦線デザイン */
.flowchart::before {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: calc(var(--flowchart-size) + 8px);
  width: var(--flowchart-border);
  height: calc(100% + 6px);
  background: rgb(230, 230, 230);
  border-radius: 30px; /* 縦線角の丸み, 不要ならこの一行削除 */
}

/* 番号部位デザイン */
.flowchart li::before {
  content: counter(flownum);
  counter-increment: flownum;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -0.5em; /* 通常は 0, 横に並ぶタイトルとのバランスを見て調整 */
  left: 0;
  z-index: 2;
  width: var(--flowchart-size);
  height: var(--flowchart-size);
  border-radius: 50%; /* 番号円形, 四角形で良ければこの一行削除 */
  background: var(--flowchart-gradient);
  color: rgb(51, 51, 51); /* 番号文字色 */
  font-weight: bold;
}

/* ドットデザイン */
.flowchart li::after {
  content: "";
  display: block;
  position: absolute;
  top: 0.2em; /* 破線とのバランスを見て適宜調整 */
  left: calc(var(--flowchart-size) + 8px + 2px);
  width: calc(var(--flowchart-border) - 4px);
  height: calc(var(--flowchart-border) - 4px);
  border-radius: 50%;
  background: rgb(85, 171, 197); /* ドットの色 */
}

/* 工程タイトル */
.flowchart-title {
  position: relative;
  margin: 0 0 0.6em;
  font-weight: bold;
  font-size: 1.04em;
  line-height: 1.4; /* 大きめの文字は 1.2 〜 1.4 程度で調整すると良い */
}

/* タイトル横破線 デザイン */
.flowchart-title::before {
  content: "";
  display: block;
  position: absolute;
  top: 0.5em;
  left: calc(calc(calc(var(--flowchart-border) / 2) + 30px) * -1);
  width: 28px;
  border-top: 1px dashed rgb(150, 150, 150); /* 破線の太さと色 */
}

/* p要素を利用した場合の調整 */
.flowchart li p {
  margin: 1em 0 !important;
}
.flowchart li p:last-of-type {
  margin-bottom: 0 !important;
}

/* 星評価レーティング */
.star5_rating {
  position: relative;
  z-index: 0;
  display: inline-block;
  white-space: nowrap;
  color: #cccccc; /* グレーカラー 自由に設定化 */
  /*font-size: 30px; フォントサイズ 自由に設定化 */
}

.star5_rating:before,
.star5_rating:after {
  content: "★★★★★";
}

.star5_rating:after {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #ffcf32; /* イエローカラー 自由に設定化 */
}

.star5_rating[data-rate="5"]:after {
  width: 100%;
} /* 星5 */
.star5_rating[data-rate="4.5"]:after {
  width: 90%;
} /* 星4.5 */
.star5_rating[data-rate="4"]:after {
  width: 80%;
} /* 星4 */
.star5_rating[data-rate="3.5"]:after {
  width: 70%;
} /* 星3.5 */
.star5_rating[data-rate="3"]:after {
  width: 60%;
} /* 星3 */
.star5_rating[data-rate="2.5"]:after {
  width: 50%;
} /* 星2.5 */
.star5_rating[data-rate="2"]:after {
  width: 40%;
} /* 星2 */
.star5_rating[data-rate="1.5"]:after {
  width: 30%;
} /* 星1.5 */
.star5_rating[data-rate="1"]:after {
  width: 20%;
} /* 星1 */
.star5_rating[data-rate="0.5"]:after {
  width: 10%;
} /* 星0.5 */
.star5_rating[data-rate="0"]:after {
  width: 0%;
} /* 星0 */

/* リストデザイン */
ul.green {
  margin: 1em 1em; /*外側の余白(上下 左右)*/
  list-style: none; /*黒ポチを消す*/
}

ul.green li {
  line-height: 1.5;
  text-indent: -1.5em;
  padding-left: 1.5em;
}

/*丸いマーカー*/
ul.green li:before {
  display: inline-block;
  vertical-align: middle;
  content: "";
  width: 1em;
  height: 1em;
  background: #8fc31f; /*マーカーの色*/
  border-radius: 50%; /*丸にする*/
  margin-right: 7px; /*マーカー右側の余白*/
}

/* 文字装飾 */
.emphasis_design1 span {
  background-color: #8fc31f;
  color: #fff;
  padding: 0.1em 0.5em;
  margin: 0 1em 0 0;
  border-radius: 5px;
}

.emphasis_design2 span {
  background-color: #ababab;
  color: #fff;
  padding: 0.1em 0.5em;
  margin: 0 1em 0 0;
  border-radius: 5px;
}
