/* ------------------------------------------------
    case 詳細ページ
------------------------------------------------ */
.case {
  padding-bottom: 80px;
  padding-top: 140px;
}

.casePost__inner {
  margin-top: 40px;
}

.casePost__cat {
  border-radius: 27px;
  color: #fff;
  font-family: var(--fontNotoSansJP);
  font-size: var(--fontSize12);
  font-weight: 500;
  padding: 5px 30px;
  width: fit-content;
}

.searchBottom__selectList--icon {
  align-items: center;
  display: flex;
  gap: 4px;
}

.categoryIconList {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
}

.searchBottom__selectList--img {
  height: 195px;
}

.searchBottom__selectList--img img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.searchBottom__selectList--icon img {
  width: 36px;
}

.searchBottom__selectList--icon p {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 700;
	white-space: nowrap;
}

.searchBottom__selectList--icon:has(.categoryItem1) {
  order: 1;
}

.searchBottom__selectList--icon:has(.categoryItem2) {
  order: 2;
}

.searchBottom__selectList--icon:has(.categoryItem3) {
  order: 3;
}

.searchBottom__selectList--icon:has(.categoryItem4) {
  order: 4;
}

.searchBottom__selectList--icon:has(.categoryItem5) {
  order: 5;
}

.searchBottom__selectList--icon:has(.categoryItem6) {
  order: 6;
}

.searchBottom__selectList--icon:has(.categoryItem7) {
  order: 7;
}

.categoryItem1 {
  color: #f44d9a;
}

.categoryItem2 {
  color: #5da82e;
}

.categoryItem3 {
  color: #fa9a00;
}

.categoryItem4 {
  color: #ef5b2f;
}

.categoryItem5 {
  color: #02c2f0;
}

.categoryItem6 {
  color: #4D88C7;
}

.categoryItem7 {
  color: #D2D637;
}

.casePost__cat.yellow {
  background-color: var(--colorYellow);
}

.casePost__catInner {
  margin: 16px auto 40px;
}

.casePost__cat--name {
  color: var(--colorBlack);
  font-family: var(--fontZenKaku);
  font-size: var(--fontSize30);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

.casePost__cat--text {
  color: var(--colorBlack);
  font-family: var(--fontMontSerrat);
  font-size: var(--fontSize20);
  font-weight: 400;
  line-height: 1.5;
}

.casePost__title {
  color: var(--colorBlack);
  font-family: var(--fontZenKaku);
  font-size: var(--fontSize24);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 20px;
}

.casePost__text {
  color: var(--colorBlack);
  font-family: var(--fontZenKaku);
  font-size: var(--fontSize16);
  font-weight: 400;
  line-height: 1.875;
}

.casePost__img {
  margin: 40px auto;
}

.Post__container {
  border-bottom: 1px solid #ccc;
  padding-bottom: 40px;
}

.whiteBtn.smallMargin {
  margin-top: 40px;
}

.case.Post__inner {
  padding-bottom: 80px;
}

.Post__catInner {
  display: grid;
}

.case .Post__catColumn--logo img {
  height: 30px;
  width: auto;
}

@media screen and (max-width: 1024px) and (min-width: 767px) {
  .Post__img {
    aspect-ratio: 512 / 341;
    height: auto;
    min-height: 300px;
  }

  .Post__img img {
    object-fit: cover;
  }
}

@media screen and (max-width: 767px) {
  .case {
    padding-top: 80px;
  }

  .Post__catInner {
    gap: 0 20px;
    margin: 16px auto 16px;
  }

  .Post__img {
    margin: 16px auto 10px;
  }

  .searchBottom__selectList--icon img {
    width: 28px;
  }
  .Post__container .Post__img {
    aspect-ratio: 512 / 341;
    height: auto;
    width: 100%;
  }

  .Post__swiper--slide {
    height: 60px;
  }

  .searchBottom__selectList--icon img {
    width: 28px;
  }
}
