/* 庭木伐採事例-投稿ページ */
.p-postListWrap {
  width: min(100%, 950px);
  padding: 40px;
  margin-inline: auto;
}

.p-postListWrap ul {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.p-postListWrap ul li {
  flex: 0 0 calc((100% - 20px) / 2);
}

.p-postListWrap a,
.p-postListWrap p {
  color: #333;
}

/* 庭木伐採事例-カテゴリーページ */
.category .ace-content__linkline {
  padding-block: 20px 40px;
}

.category-posts a,
.category-posts p {
  color: #333;
}

.category-posts h2.post-title {
  margin-bottom: 8px;
}

.category-post-link {
  display: block;
  margin-bottom: 30px;
}

.category-post-item {
  display: flex;
  gap: 16px;
}

.post-thumbnail img {
  max-width: 100%;
  height: auto;
  display: block;
}

.post-content {
  flex: 1;
  min-width: 0;
}

.post-title,
.post-excerpt {
  word-break: break-word;
}

/* 埼玉県の伐採対応エリア-固定ページ */
.ace-section__area-list {
  display: flex;
  flex-wrap: wrap;
  row-gap: 16px;

  >li {
    flex: 20% 0 0;
    list-style: none;

    @media (width <=767px) {
      flex: 33.3% 0 0;
    }

    >a>span {
      font-size: 18px;
      font-weight: 700;

      @media (width <=767px) {
        font-size: 16px;
      }

      &::before {
        display: inline-block;
        width: 7px;
        margin-inline-end: 7px;
        background-image: url("../images/icon-arrow-right-rounded.svg");
        background-size: contain;
        background-repeat: no-repeat;
        content: "";
        aspect-ratio: 5/11;
        flex-shrink: 0;
        translate: 0 3px;
      }
    }

    /* >span::before {
      translate: 0 4px;
    } */
  }
}

/* ========================================
b15 樹種別 伐採方法（スリムボックス）
======================================== */
.ace-box--slim {
  &[class="ace-box--slim"] {
    padding: 1rem 1.5rem;
  }

  &.--lg {
    @media (width >=768px) {
      padding: 0 1rem 1.5rem;
      font-weight: bold;
    }
  }
}