


/*自動取得ランキング------------------------*/
.search-result-top-ranking-item .p-products-all-item {
  outline: none;
  padding-bottom: 20px;
  width: 1140px;
}

.search-result-top-ranking-item .u-pc-width {
  display: contents;
}

.search-result-top-ranking-item .p-products-all-item__results {
  max-width: 100%;
}

.search-result-top-ranking-item .productMoreGrid {
  display: flex;
  gap: 15px;
  margin: 0px auto;
  width: 100%;
}

.search-result-top-ranking-item .productMoreGrid .p-products-all-item__item:nth-of-type(n+11) {
  display: none;
}

.search-result-top-ranking-item .productMoreGrid .p-products-all-item__item {
  max-width: calc((100% - 75px) / 5);
  flex: 0 0 auto;
  border: 0;
  padding: 0;
  margin: 0;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  position: relative;
}

.search-result-top-ranking-item .productMoreGrid .p-products-all-item__item .p-area-add-wish-list {
  display: none;
}

@media screen and (min-width: 768px) {

  .search-result-top-ranking-item .p-products-all-item-product {
    display: contents;
  }
}

.search-result-top-ranking-item .p-products-all-item-product__image {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: auto
    /*250/230*/
  ;
  padding: 0;
}

.search-result-top-ranking-item .p-products-all-item-product__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-width: 200px;
}

.search-result-top-ranking-item .p-products-all-item-product__name .c-flex {
  justify-content: space-between;
}

.search-result-top-ranking-item .p-products-all-item-product__name__text {
  font-size: 16px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.search-result-top-ranking-item .p-products-all-item-product__number {
  font-size: 22px;
}

.search-result-top-ranking-item .p-products-all-item-product__spec {
  margin-bottom: 15px;
}

.search-result-top-ranking-item .p-products-all-item-product__spec__item {
  min-width: 6em;
  padding: 0;
  margin-right: 10px;
  font-weight: normal;
}

.search-result-top-ranking-item .p-products-all-item-product__spec__item::after {
  display: none;
}

.search-result-top-ranking-item .p-products-all-item-product__spec__text {
  padding: 0;
  font-size: 12px;
}

.search-result-top-ranking-item .p-products-all-item-product>.p-products-all-item-product__buttons {
  margin-top: auto;
  flex-direction: column;
}

.search-result-top-ranking-item .p-products-all-item-product>.p-products-all-item-product__buttons .p-products-all-item-product__link--detail,
.search-result-top-ranking-item .p-products-all-item-product>.p-products-all-item-product__buttons .p-products-all-item-product__link--cart {
  flex: 1 1 auto;
  width: 100%;
  margin: 0 auto;
}

.search-result-top-ranking-item .p-products-all-item-product>.p-products-all-item-product__buttons .p-products-all-item-product__link--cart,
.search-result-top-ranking-item .p-products-all-item-product__spec__body table tr:nth-of-type(n+5) {
  display: none;
}

.search-result-top-ranking-item .p-products-all-item-product__shipment--red {
  display: none;
}

.search-result-top-ranking-item__footer {
  text-align: right;
}

.search-result-top-ranking-item .productMoreButton {
  display: none;
}

.search-result-top-ranking-item .p-products-all-item-product__review {
  width: 100%;
}

.search-result-top-ranking-item .productMoreGrid .p-products-all-item__item::before {
  content: '';
  position: absolute;
  width: 40px;
  height: 32px;
  z-index: 2;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100%;
}


.search-result-top-ranking-item .productMoreGrid .p-products-all-item__item:nth-of-type(1)::before {
  background-image: url(../img/rank-01.webp);
}

.search-result-top-ranking-item .productMoreGrid .p-products-all-item__item:nth-of-type(2)::before {
  background-image: url(../img/rank-02.webp);
}

.search-result-top-ranking-item .productMoreGrid .p-products-all-item__item:nth-of-type(3)::before {
  background-image: url(../img/rank-03.webp);
}

.search-result-top-ranking-item .productMoreGrid .p-products-all-item__item:nth-of-type(4)::before {
  background-image: url(../img/rank-04.webp);
}

.search-result-top-ranking-item .productMoreGrid .p-products-all-item__item:nth-of-type(5)::before {
  background-image: url(../img/rank-05.webp);
}

.search-result-top-ranking-item .productMoreGrid .p-products-all-item__item:nth-of-type(6)::before {
  background-image: url(../img/rank-06.webp);
}

.search-result-top-ranking-item .productMoreGrid .p-products-all-item__item:nth-of-type(7)::before {
  background-image: url(../img/rank-07.webp);
}

.search-result-top-ranking-item .productMoreGrid .p-products-all-item__item:nth-of-type(8)::before {
  background-image: url(../img/rank-08.webp);
}

.search-result-top-ranking-item .productMoreGrid .p-products-all-item__item:nth-of-type(9)::before {
  background-image: url(../img/rank-09.webp);
}

.search-result-top-ranking-item .productMoreGrid .p-products-all-item__item:nth-of-type(10)::before {
  background-image: url(../img/rank-10.webp);
}

.search-result-top-ranking-item .productMoreGrid .p-products-all-item-product__image,
.search-result-top-ranking-item .productMoreGrid .p-products-all-item-product__image--soldout {
  width: 100%;
  padding: 0;
}


@media screen and (max-width: 767px) {

  .search-result-top-ranking-item .p-products-all-item {
    width: 1340px;
  }

  .search-result-top-ranking-item .productMoreGrid .p-product-item__label-wrapper {
    display: none;
  }


}