.case-list {

}
:where(.case-list) {
  .case-item__inner {
    display: grid;
    gap: 35px;
    @media screen and (min-width: 769px) {
      gap: 42px;
      grid-template-columns: 237px 1fr;
    }
  }
  .case-list__empty {
    margin-top: 15px;
    font-size: calc(var(--rem) * 14);
    letter-spacing: 1.1px;
    @media screen and (min-width: 769px) {
      font-size: calc(var(--rem) * 16);
      letter-spacing: 1.28px;
      line-height: 28px;
      margin-top: 20px;
    }
  }
  .case {
    background: initial !important;
    display: grid;
    @media screen and (max-width: 768px) {
      padding: 20px 0 0 !important;
      gap: 15px;
    }
    @media screen and (min-width: 769px) {
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      padding: 45px 0 0 !important;
    }
  }
  .case__item {
    border: 1.5px solid #DF8F9B;
    border-radius: 0 !important;
    @media screen and (min-width: 769px) {
      padding: 20px !important;
    }
  }
  .pagination {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: calc(var(--rem) * 15);
    @media screen and (min-width: 769px) {
      gap: 29px;
      font-size: calc(var(--rem) * 16);
    }
  }
  .page-numbers.current {
    font-weight: bold;
  }
  .case-list__title {
    border-bottom: 1px dotted;
    color: #DF8F9B;
    font-size: calc(var(--rem) * 14);
    letter-spacing: 1.12px;
    padding-bottom: 8px;
    @media screen and (min-width: 769px) {
      font-size: calc(var(--rem) * 20);
      letter-spacing: 1.6px;
      padding-bottom: 15px;
    }
  }
  .case__more {
    @media screen and (min-width: 769px) {
      max-width: 268px;
      width: 100% !important;
    }
  }
  
  /* カテゴリーリスト /case/category/ */
  .case-category-title {
    color: #DF8F9B;
    border-bottom: 1px dotted;
    font-size: calc(var(--rem) * 14);
    letter-spacing: 1.12px;
    padding-bottom: 10px;
    margin-bottom: 15px;
    @media screen and (min-width: 769px) {
      font-size: calc(var(--rem) * 20);
      letter-spacing: 1.6px;
      padding-bottom: 10px;
      margin-bottom: 30px;
    }
  }
  .case-category-list {
    display: grid;
    row-gap: 12px;
    column-gap: 20px;
    grid-template-columns: 1fr 1fr;
    @media screen and (min-width: 769px) {
      column-gap: 50px;
      row-gap: 20px;
    }
  }
  .case-category-wrap + .case-category-wrap {
    margin-top: 23px;
    @media screen and (min-width: 769px) {
      margin-top: 50px;
    }
  }
  .case-category-item {
    color: #DF8F9B;
    position: relative;
    width: 100%;
    display: block;
    font-size: calc(var(--rem) * 14);
    letter-spacing: 1.12px;
    @media screen and (max-width: 768px) {
      padding-right: 19px;
    }
    @media screen and (min-width: 769px) {
      font-size: calc(var(--rem) * 16);
      letter-spacing: 1.28px;
    }
    &::after {
      content: "";
      display: inline-block;
      position: absolute;
      background-image: url("../../images/case/icon_category-list.svg");
      background-size: contain;
      background-repeat: no-repeat;
      background-position: top;
      background-size: cover;
      right: 0;
      width: 15px;
      height: 15px;
      @media screen and (min-width: 769px) {
        width: 20px;
        height: 20px;
      }
    }
  }
}