/******************************/
/* category */
/******************************/
.category_about {
  margin-top: 30px;
  margin-bottom: 60px;
}
.p-category__ttl {
  color: #00B844;
  margin: 0 0 20px 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 1.2px;
}
.p-category-free {
  margin-bottom: 60px;
  line-height: 2;
}
@media screen and (max-width: 767px) {
  .category_about {
    margin-top: 25px;
    margin-bottom: 30px;
  }
  .p-category__ttl {
    font-size: 18px;
    text-align: center;
  }
}


/***** カテゴリ一覧 *****/
.p-category-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 0;
  list-style: none;
  gap: 15px;
  margin-top: 20px;
  margin-bottom: 25px;
}
.p-category-list__item {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 35px 15px 20px;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  text-align: center;
  background-color: #fff;
  border: 1px solid #EBEBEB;
  border-radius: 8px;
  position: relative;
}
.p-category-list__item:before {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  margin-top: -4px;
  width: 6px;
  height: 6px;
  border-right: 2px solid #00B844;
  border-bottom: 2px solid #00B844;
  transform: rotate(-45deg);
}
.p-category-list__link:hover {
  text-decoration: none;
}
.p-category-list__name:hover {
  text-decoration: underline;
}
@media screen and (max-width: 1030px) {
  .p-category-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
}
@media screen and (max-width: 767px) {
  .p-category-list {
    overflow: scroll;
  }
  .p-category-list__item {
    padding: 11px 30px 11px 18px;
    font-size: 12px;
    line-height: 16.5px;
    min-width: 145px;
  }
  .p-category-list__item:before {
    right: 13px;
  }
  .p-category-list__name:hover {
    text-decoration: none;
  }
  .p-category-list__name {
    flex: 1;
  }
}


/***** 商品件数・ソート *****/
.p-item-list-head {
  display: flex;
  justify-content: right;
  align-items: center;
  margin-top: 25px;
}
.p-item-list-num {
  font-size: 15px;
  font-weight: 600;
}
.p-item-sort-list {
  display: flex;
  flex-wrap: wrap;
  margin-left: 35px;
  font-size: 12px;
  font-weight: 600;
}
.p-item-sort-list__item {
  margin-left: 15px;
}
.p-item-sort-list__item:first-child {
  margin-left: 0;
}
.p-item-sort-list__item a {
  opacity: 0.5;
}
.p-item-sort-list__item span {
  opacity: 1;
}
@media screen and (max-width: 767px) {
  .p-item-list-head {
    display: block;
    text-align: center;
    margin-top: 30px;
  }
  .p-item-sort-list {
    justify-content: center;
    margin-top: 10px;
    margin-left: 0;
  }
}
