/******************************/
/* category */
/******************************/
.p-category {
  overflow: hidden;
}
.p-category__ttl {
  margin-top: 0;
  margin-bottom: 30px;
  line-height: 1.4;
  font-size: 28px;
  font-weight: bold;
  word-break: break-all;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-category__ttl {
    margin-bottom: 25px;
    font-size: 25px;
  }
}
.p-category-free {
  margin-top: 40px;
  margin-bottom: 40px;
  line-height: 2;
  text-align: center;
}
/***** カテゴリ一覧 *****/
/****
.p-category-list {
  overflow-x: auto;
  white-space: nowrap;
  margin-top: 70px;
  margin-bottom: 50px;
  padding: 20px;
  background: #f5f5f5;
  text-align: center;
}

.p-category-list__item {
  display: inline-block;
  box-sizing: border-box;
  padding-left: 15px;
  padding-right: 15px;
  word-break: break-all;
}
.p-category-list__link {
  box-sizing: border-box;
  display: block;
  font-size: 16px;
  font-weight: bold;
}
@media screen and (max-width: 767px) {
  .p-category-list__link {
    font-size: 15px;
  }
}
*****/



/* koto 2026/2/6 */
.p-category-list {
  overflow-x: auto;
  white-space: nowrap;
  margin-top: 70px;
  margin-bottom: 50px;
  padding: 12px 16px 16px;
  background: transparent;
  text-align: left;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity; /* 任意：気持ちよく止まる */
}

.p-category-list__item {
  display: inline-block;
  box-sizing: border-box;
  padding: 0 10px 10px 0; /* チップ間の余白 */
  word-break: break-all;
  scroll-snap-align: start; /* 任意 */
}

.p-category-list__link {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  text-decoration: none;
}

@media screen and (max-width: 767px) {
  .p-category-list__link {
    font-size: 14px;
    padding: 10px 12px;
  }
}

/* 現在表示中（当たりそうなパターンを広く拾う） */
.p-category-list__item.is-current .p-category-list__link,
.p-category-list__link.is-current,
.p-category-list__link[aria-current="page"] {
  background: rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.18);
  box-shadow: none;
}

/* スクロールバーを“細く目立たず”（出る環境だけ） */
.p-category-list::-webkit-scrollbar { height: 6px; }
.p-category-list::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.22); border-radius: 99px; }
.p-category-list::-webkit-scrollbar-track { background: transparent; }
/* koto 2026/2/6 */







.p-category-list__img {
  display: block;
  margin-right: 20px;
  width: 80px;
}
@media screen and (max-width: 1023px) {
  .p-category-list__img {
    width: 50px;
  }
}
.p-category-list__name {
  display: block;
  flex: 1;
  font-size: 18px;
}
@media screen and (max-width: 767px) {
  .p-category-list__name {
    font-size: 16px;
  }
}
/***** 商品件数・ソート *****/
.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;
}

