/******************************/
/* category */
/******************************/
.p-category {
  overflow: hidden;
}
.p-category__ttl {
  margin-top: 0;
  margin-bottom: 30px;
  line-height: 1.4;
  font-size: 22px;
  font-weight: bold;
  word-break: break-all;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-category__ttl {
    margin-bottom: 25px;
    font-size: 20px;
  }
}
.p-category-free {
  margin-top: 10px;
  margin-bottom: 20px;
  line-height: 2;
}
/***** 小カテゴリーリスト *****/
.p-category-list {
  overflow-x: auto; /* 横スクロールを許可 */
  white-space: nowrap; /* テキストを折り返さない */
  margin-top: 20px; /* 上のマージン */
  margin-bottom: 50px; /* 下のマージン */
  padding: 20px; /* 内側のパディング */
  background: #ecd9d9; /* 背景色 */
  text-align: center; /* テキストを中央揃え */
}

.p-category-list__item {
  display: inline-flex; /* フレックスボックスで横並び */
  flex-direction: column; /* 縦方向に並べる */
  align-items: center; /* 中央揃え */
  box-sizing: border-box; /* パディングとボーダーを幅に含める */
  padding-left: 15px; /* 左のパディング */
  padding-right: 15px; /* 右のパディング */
}

.p-category-list__link {
  display: flex; /* フレックスボックスで中央揃え */
  flex-direction: column; /* 縦方向に並べる */
  align-items: center; /* 中央揃え */
  text-decoration: none; /* 下線を削除 */
  color: inherit; /* テキストの色を継承 */
}

.p-category-list__img {
  display: block; /* 画像をブロック要素にする */
  margin-bottom: 10px; /* 下のマージンを追加 */
  width: 150px; /* 画像の幅を100pxに変更 */
  height: auto; /* 高さを自動調整 */
}

.p-category-list__ttl {
  font-size: 16px; /* テキストのフォントサイズ */
  margin: 0; /* テキストの上下マージンをリセット */
}

@media screen and (max-width: 767px) {
  .p-category-list__img {
    width: 80px; /* スマホ用の幅を80pxに設定 */
  }

  .p-category-list__link {
    font-size: 15px; /* スマホ用のフォントサイズ */
  }
}


/***** 小グループリスト *****/
.p-group-list {
  overflow-x: auto; /* 横スクロールを許可 */
  white-space: nowrap; /* テキストを折り返さない */
  margin-top: 20px; /* 上のマージン */
  margin-bottom: 50px; /* 下のマージン */
  padding: 20px; /* 内側のパディング */
  background: #ecd9d9; /* 背景色 */
  text-align: center; /* テキストを中央揃え */
}

.p-group-list__item {
  display: inline-block; /* アイテムを横に並べる */
  box-sizing: border-box; /* パディングとボーダーを幅に含める */
  padding-left: 15px; /* 左のパディング */
  padding-right: 15px; /* 右のパディング */
  word-break: break-all; /* 単語の折り返しを許可 */
}

.p-group-list__link {
  box-sizing: border-box; /* パディングとボーダーを幅に含める */
  display: block; /* リンクをブロック要素にする */
  font-size: 16px; /* フォントサイズ */
  font-weight: bold; /* フォントウェイト */
  text-decoration: none; /* 下線を削除 */
}

.p-group-list__img {
  display: block; /* 画像をブロック要素にする */
  margin-right: 20px; /* 右のマージン */
  width: 80px; /* 画像の幅 */
}

@media screen and (max-width: 767px) {
  .p-group-list__img {
    width: 60px; /* スマホ用の幅（小グループ用に少し大きめ） */
  }

  .p-group-list__link {
    font-size: 15px; /* スマホ用のフォントサイズ */
  }
}


/***** 商品件数・ソート *****/
.p-item-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
@media screen and (max-width: 767px) {
  .p-item-list-head {
    display: block;
  }
}
.p-item-list-num {
  font-size: 16px;
}
@media screen and (max-width: 767px) {
  .p-item-list-num {
    margin-bottom: 15px;
    text-align: center;
  }
}
.p-item-sort {
  display: flex;
  align-items: center;
}
.p-item-sort__ttl {
  white-space: nowrap;
  margin-right: 10px;
}
.p-item-sort__select {
  padding: 10px;
  border: 1px solid #b3b2b2;
  border-radius: 3px;
  height: auto;
  min-width: 180px;
  line-height: 1.4;
  color: #000000;
}
@media screen and (max-width: 767px) {
  .p-item-sort__select {
    flex: 1;
  }
}
.p-item-sort-list {
  display: flex;
  flex-wrap: wrap;
}
.p-item-sort-list__item {
  margin-left: 30px;
}
@media screen and (max-width: 767px) {
  .p-item-sort-list__item {
    margin-left: 25px;
  }
}
.p-item-sort-list__item:first-child {
  margin-left: 0;
}
.p-item-sort-list__item span {
  text-decoration: underline;
}



ul.pager li.current span {
    background-color: #3F3034; /* 背景色を黄色に */
    color: #ffffff; /* 文字色を白に */
}

