.item-kiji-p {
  font-size: 12px;
}

.item-kiji-h2 {
  margin: 50px 0 20px !important;
}

.item-kiji-h3 {
  margin: 40px 0 10px;
  border-bottom: 1px solid #ccc;
}

/******************************/
/* categoryのショップ 20240504 */
/******************************/
.shop-title {
  display: flex;
  margin: 40px 10px 40px;
  text-decoration: none;
}

.shop-title .image {
  margin: 0;
  padding: 0;
  width: 70px;
}

.shop-title .image img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
}

.shop-title h2 {
  margin: 0 0 0 20px;
}

.shop-title .text {
  margin: 2px 0px 0 20px;
  padding: 0;
}

.shop-title .text::after {
  content: " ＞";
}

/******************************/
/* category */
/******************************/
.p-category__ttl {
  margin: 10px 0 10px 0;
  line-height: 1.4;
  font-size: 16px;
}

.p-category-free {
  margin-bottom: 20px;
  line-height: 2;
}

.p-category-free h2 {
  font-size: 18px;
  margin-top: 0;
}

/***** カテゴリ一覧 *****/
.p-category-list {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 20px;
}

.p-category-list__link {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  margin:0 10px 0 0;
  align-items: center;
}

.p-category-list__item {
  box-sizing: border-box;
  margin-bottom: 60px;
  padding-left: 15px;
  padding-right: 15px;
  width: 33.3%;
  font-size: 12px;
}

.p-category-list__img {
  margin-right: 10px;
  margin-bottom: 0;
  width: 75px;
}

.p-category-list__img img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  image-rendering: auto; /* シャープに表示 */
}

.p-category-list__name {
  overflow: hidden;
  text-overflow: ellipsis;
  padding:0 20px 0 0;
  width:105px;
}

.p-category-list__link:hover,
.p-category-list__name:hover {
  text-decoration: none;
}

/***** 商品件数・ソート *****/
.p-item-list-head {
  display: flex;
  justify-content: space-between;
  padding: 0 30px 30px;
  border-top: 0px solid #7d7d7d;
}

.p-item-list-num {
  font-size: 16px;
}

.p-item-sort-list {
  display: flex;
  flex-wrap: wrap;
}

.p-item-sort-list__item {
  margin-left: 30px;
}

.p-item-sort-list__item:first-child {
  margin-left: 0;
}

.p-item-sort-list__item span {
  text-decoration: underline;
}

/******************************/
/* スマホ用メディアクエリ */
/******************************/
@media screen and (max-width: 648px) {
  .shop-title {
    margin: 40px 0 10px;
    box-sizing: border-box; /* 追加 */
  }

  .p-category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* 追加 */
    margin-left: 0;
    margin-right: 0;
    padding: 0 0px; /* 追加 */
    box-sizing: border-box; /* 追加 */
  }

  .p-category-list__item {
    margin-bottom: 15px;
    padding-left: 0;
    padding-right: 0;
    width: calc(50% - 5px); /* 修正 */
    box-sizing: border-box; /* 追加 */
    text-align: left;
  }

  .p-category-list__link:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 5px;
    margin-top: -6px;
    width: 8px;
    height: 8px;
    border-right: 1px solid #aaaaaa;
    border-bottom: 1px solid #aaaaaa;
    transform: rotate(-45deg);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .p-category-list__img {
    margin-right: 10px;
    margin-bottom: 0;
    width: 55px;
  }

  .p-category-list__img img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
  }

  .p-category-list__name {
    flex: 1;
  }

  .p-category-list__name:hover {
    text-decoration: none;
  }

  .p-item-list-head {
    padding: 30px 0;
    box-sizing: border-box; /* 追加 */
  }

  .p-item-list-num {
    font-size: 14px;
  }

  .p-item-sort-list {
    width: 100%; /* 追加 */
    box-sizing: border-box; /* 追加 */
  }

  .p-item-sort-list__item {
    margin-left: 25px;
    box-sizing: border-box; /* 追加 */
  }
}