@charset "UTF-8";

/* リストブロックの「追加CSSクラス」に merit-list を指定する。 */
.entry-content ul.merit-list {
  box-sizing: border-box;
  margin: 1.6em 0;
  padding: 8px 22px;
  border: 1px solid #d6e4e2;
  border-left: 4px solid #4f806f;
  border-radius: 0;
  background: #f4f8f6;
  color: #263832;
  list-style: none;
}

.entry-content ul.merit-list > li {
  position: relative;
  margin: 0;
  padding: 10px 0 10px 40px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  list-style: none;
}

.entry-content ul.merit-list > li + li {
  border-top: 4px solid transparent;
  background-image: radial-gradient(circle at 5px 2px, #b8d0c5 1.4px, transparent 1.6px);
  background-size: 10px 4px;
  background-repeat: repeat-x;
  background-position: left top;
  background-origin: border-box;
}

/* 項目内の段落の外側余白で、上下の配置がずれないようにする。 */
.entry-content ul.merit-list > li > :first-child {
  margin-top: 0;
}

.entry-content ul.merit-list > li > :last-child {
  margin-bottom: 0;
}

/* 装飾用チェックを、複数行の項目でも上下中央に配置する。 */
.entry-content ul.merit-list > li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #dfeee7;
  transform: translateY(-50%);
}

.entry-content ul.merit-list > li::after {
  content: "";
  position: absolute;
  top: calc(50% - 2px);
  left: 14px;
  width: 8px;
  height: 13px;
  border: solid #31745d;
  border-width: 0 1.5px 1.5px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

@media screen and (max-width: 480px) {
  .entry-content ul.merit-list {
    padding-right: 16px;
    padding-left: 16px;
  }
}
