.c-item-list__item {
  margin-bottom: 5px;
}

@media screen and (max-width: 768px) {
  .c-item-list__item {
    margin-bottom: 0;
  }
}
/******************************/
/* category */
/******************************/
.p-category__ttl {
  margin: 10px 0 1em 0;
  line-height: 1.4;
  font-size: 28px;
  font-weight: 700;
  color: #171c61;
  letter-spacing: .2em;
  text-align: center;
}

.p-category-free {
  line-height: 2;
  text-align: center;
  max-width: 530px;
  font-size: 16px;
  margin: 0 auto 40px;
}
.p-category-free .f-ttl-main {
  font-size: 20px;
  text-align: center;
  margin-bottom: 1em;
}
.p-category-free p {
  text-align: left;
  text-align: justify;
}

.p-category-free2 {
  border-top: 1px solid #171c61;
  padding-top: 50px;
  margin: 50px auto;
}

.p-category-free p ruby > rt {
    display: ruby-text;
    font-size: 50%;
    text-align: start;
    text-indent: 0px;
    line-height: normal;
    text-emphasis: none;
    padding-bottom: .1em;
}

@media screen and (max-width: 768px) {
  .p-category__ttl {
    font-size: 20px;
    margin-bottom: .5em;
  }

  .p-category-free {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .p-category-free .f-ttl-main {
    font-size: 15px;
    margin-bottom: .5em;
  }
  .p-category-free p {
    line-height: 1.5;
  }
  .p-category-free2 {
    padding-top: 25px;
    margin-top: 20px;
    margin-bottom: 25px;
  }
  .p-category-free2 .p-category-mainimg {
    margin-left: -20px;
    margin-right: -20px;
  }
  .p-category-free p ruby > rt {
    padding-bottom: .1em;
  }
}
/***** カテゴリ一覧 *****/
.p-category-list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  margin-bottom: 30px;
  gap: 30px 26px;
}

@media screen and (max-width: 1030px) {
  .p-category-list {
    gap: 10px 20px;
  }
}
@media screen and (max-width: 767px) {
  .p-category-list {
    margin-left: 0;
    margin-right: 0;
    margin-top: 15px;
    margin-bottom: 0;
    gap: 10px 20px;
  }
}
.p-category-list__item {
  box-sizing: border-box;
  width: calc((100% - (26px * 4)) / 5);
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

@media screen and (max-width: 1030px) {
  .p-category-list__item {
    width: calc((100% - (20px * 4)) / 5);
  }
}
@media screen and (max-width: 767px) {
  .p-category-list__item {
    padding-left: 0;
    padding-right: 0;
    width: calc((100% - (20px * 1)) / 2);
    font-size: 14px;
  }
}
.p-category-list__link {
  position: relative;
}

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

@media screen and (max-width: 767px) {
  .p-category-list__link:before {
    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 {
  display: block;
  margin-bottom: 10px;
  position: relative;
}
.p-category-list__img:before {
  content: "";
  display: block;
  width: 100%;
  padding-top: 66.52%;
}
.p-category-list__img.empty_img {
  background-color: #ccc;
}
.p-category-list__img img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

@media screen and (max-width: 767px) {
  .p-category-list__img {
    margin-bottom: 5px;
  }
}
.p-category-list__name {
  color: #000;
}

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

@media screen and (max-width: 767px) {
  .p-category-list__name:hover {
    text-decoration: none;
  }
}
@media screen and (max-width: 767px) {
  .p-category-list__name {
    flex: 1;
  }
}
/***** 商品件数・ソート *****/
.p-item-list-head {
  display: flex;
  justify-content: space-between;
  padding: 40px 0;
  margin-top: 50px;
  border-top: 1px solid #171c61;
}

@media screen and (max-width: 767px) {
  .p-item-list-head {
    padding: 15px 0;
    margin-top: 15px;
  }
}
.p-item-list-num {
  font-size: 16px;
  color: #171c61;
}
.p-item-list-num .big {
  font-size: 150%;
}

@media screen and (max-width: 767px) {
  .p-item-list-num .big {
    font-size: 137.5%;
  }
}
.p-item-sort-list-wrap {
  position: relative;
}
.p-item-sort-list-wrap::after {
  content: "\EA4E";
  font-family: 'remixicon';
  display: block;
  position: absolute;
  width: 1em;
  height: 1em;
  line-height: 1.0;
  right: 1em;
  top: 50%;
  margin-top: -.5em;
  cursor: pointer;
}

.p-item-sort-list {
  border-color: #171c61;
  border-width: 2px;
  border-radius: 9px;
  color: #171c61;
  font-size: 16px;
  font-weight: 700;
  min-width: 150px;
  text-align: center;
  height: 42px;
  padding-right: 1em;
  -webkit-appearance: none;
  /* ベンダープレフィックス(Google Chrome、Safari用) */
  -moz-appearance: none;
  /* ベンダープレフィックス(Firefox用) */
  appearance: none;
  /* 標準のスタイルを無効にする */
}

.p-item-sort-list::-ms-expand {
  　display: none;
}

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

@media screen and (max-width: 767px) {
  .p-item-sort-list-wrap::after {
    right: .5em;
  }

  .p-item-sort-list {
    font-size: 14px;
    min-width: 115px;
    border-width: 1px;
    height: 36px;
    border-radius: 4.5px;
  }

  .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;
}
