/*自動取得ランキング------------------------*/
.c-include-search-result .p-products-all-item {
  outline: none;
  padding-bottom: 5px;
  width: 1140px;
}

.c-include-search-result .u-pc-width {
  display: contents;
}

.c-include-search-result .p-products-all-item__results {
  max-width: 100%;
}

.c-include-search-result .productMoreGrid {
  display: flex;
  gap: 15px;
  margin: 0px auto;
  width: 100%;
}

.c-include-search-result .productMoreGrid .p-products-all-item__item:nth-of-type(n+11) {
  display: none;
}

.c-include-search-result .productMoreGrid .p-products-all-item__item {
  max-width: calc((100% - 15px * 4) / 5);
  flex: 0 0 auto;
  border: 0;
  padding: 0;
  margin: 0;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: 32px;
}

.c-include-search-result .productMoreGrid .p-products-all-item__item .p-area-add-wish-list {
  display: none;
}

@media screen and (min-width: 768px) {
  .c-include-search-result .p-products-all-item-product {
    display: contents;
  }
}

.c-include-search-result .p-products-all-item-product__image {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: auto;
  padding: 0;
}

.c-include-search-result .p-products-all-item-product__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-width: 200px;
}

.c-include-search-result .p-products-all-item-product__name .c-flex {
  justify-content: space-between;
}

.c-include-search-result .p-products-all-item-product__name__text {
  font-size: 16px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.c-include-search-result .p-products-all-item-product__number {
  font-size: 22px;
}

.c-include-search-result .p-products-all-item-product__spec {
  margin-bottom: 15px;
}

.c-include-search-result .p-products-all-item-product__spec__item {
  min-width: 6em;
  padding: 0;
  margin-right: 10px;
  font-weight: normal;
}

.c-include-search-result .p-products-all-item-product__spec__item::after {
  display: none;
}

.c-include-search-result .p-products-all-item-product__spec__text {
  padding: 0;
  font-size: 12px;
  word-break: break-all;
}

.c-include-search-result .p-products-all-item-product>.p-products-all-item-product__buttons {
  margin-top: auto;
  flex-direction: column;
}

.c-include-search-result .p-products-all-item-product>.p-products-all-item-product__buttons .p-products-all-item-product__link--detail,
.c-include-search-result .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;
}

.c-include-search-result .p-products-all-item-product>.p-products-all-item-product__buttons .p-products-all-item-product__link--cart,
.c-include-search-result .p-products-all-item-product__spec__body table tr:nth-of-type(n+5) {
  display: none;
}

.c-include-search-result__footer {
  text-align: right;
}

.c-include-search-result .productMoreButton {
  display: none;
}

.c-include-search-result .p-products-all-item-product__review {
  width: 100%;
}

.c-include-search-result .p-products-all-item-product__buttons {
  display: none;
}

.c-include-search-result .p-products-all-item-product__spec__body table tr:nth-of-type(n+5) {
  display: none;
}

.c-include-search-result .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%;
  top: -32px;
  left: 0;
}

.c-include-search-result .productMoreGrid .p-products-all-item__item:nth-of-type(1)::before {
  background-image: url(../images/icon-rank-1.webp);
}

.c-include-search-result .productMoreGrid .p-products-all-item__item:nth-of-type(2)::before {
  background-image: url(../images/icon-rank-2.webp);
}

.c-include-search-result .productMoreGrid .p-products-all-item__item:nth-of-type(3)::before {
  background-image: url(../images/icon-rank-3.webp);
}

.c-include-search-result .productMoreGrid .p-products-all-item__item:nth-of-type(4)::before {
  background-image: url(../images/icon-rank-4.webp);
}

.c-include-search-result .productMoreGrid .p-products-all-item__item:nth-of-type(5)::before {
  background-image: url(../images/icon-rank-5.webp);
}

.c-include-search-result .productMoreGrid .p-products-all-item__item:nth-of-type(6)::before {
  background-image: url(../images/icon-rank-6.webp);
}

.c-include-search-result .productMoreGrid .p-products-all-item__item:nth-of-type(7)::before {
  background-image: url(../images/icon-rank-7.webp);
}

.c-include-search-result .productMoreGrid .p-products-all-item__item:nth-of-type(8)::before {
  background-image: url(../images/icon-rank-8.webp);
}

.c-include-search-result .productMoreGrid .p-products-all-item__item:nth-of-type(9)::before {
  background-image: url(../images/icon-rank-9.webp);
}

.c-include-search-result .productMoreGrid .p-products-all-item__item:nth-of-type(10)::before {
  background-image: url(../images/icon-rank-10.webp);
}

.c-include-search-result .productMoreGrid .p-products-all-item-product__image,
.c-include-search-result .productMoreGrid .p-products-all-item-product__image--soldout {
  width: 100%;
  padding: 0;
}

.new-item-section .c-include-search-result .productMoreGrid .p-products-all-item__item {
  margin-top: 0;
}

.c-include-search-result--new-arrivals .productMoreGrid .p-products-all-item__item::before {
  display: none;
}

.c-include-search-result .productMoreGrid .p-product-item__label-wrapper {
  display: none;
}

@media screen and (max-width: 767px) {

  .c-include-search-result .p-products-all-item {
    width: max-content;
  }

  .c-include-search-result .productMoreGrid .p-products-all-item__item {
    max-width: 40vw;
  }

  .c-include-search-result .p-products-all-item-product__name__text {
    font-size: 14px;
  }

  .c-include-search-result .p-products-all-item-product__number {
    font-size: 20px;
  }

  .p-products-all-item-product__shipment,
  .p-products-all-item-product__shipment--red {
    font-size: 10px;
  }

  .c-include-search-result .p-products-all-item-product {
    display: block;
  }

}

/*スペック非表示*/
.c-include-search-result .p-products-all-item-product__spec,
.c-include-search-result .p-products-all-item-product__spec__body {
  display: none;
}



/*-------------------------------------------
TC651,TC652に見た目をそろえる用（主にSEOページで使用）
-------------------------------------------*/

.c-include-search-result--variant {
  margin: 0;
  padding: 0;
  width: 100%;
}

.c-include-search-result .p-products-all-item {
  outline: none;
  padding-bottom: 5px;
  width: 100%;
}

.c-include-search-result--variant .productMoreGrid {
  display: flex;
  gap: 15px;
  margin: 0px auto;
  width: 100%;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.c-include-search-result--variant .productMoreGrid .p-products-all-item__item {
  position: relative;
  width: calc((100% - 15px * 3) / 4);
  max-width: none;
  flex: 0 0 auto;
  border: 0;
  padding: 15px;
  margin: 0;
  line-height: 1.5;
  background: #fff;
}

.c-include-search-result--variant .p-products-all-item-product {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.c-include-search-result--variant .p-products-all-item-product__image {
  margin-bottom: 14px;
  padding: 0;
  width: 100%;
  max-width: 200px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 1 / 1;
}

.c-include-search-result--variant .p-products-all-item-product__name {
  max-width: 560px;
  font-size: 20px;
  letter-spacing: 1.2px;
}

.c-include-search-result--variant .p-products-all-item-product__name__text {
  font-size: 16px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  --lh: 1.4;
  line-height: var(--lh);
  min-height: calc(2 * 1em * var(--lh));
}

.c-include-search-result--variant .p-products-all-item-product__review {
  width: auto;
}

.c-include-search-result--variant .p-products-all-item-product__spec {
  margin-bottom: 15px;
  display: block;

}


.c-include-search-result--variant .p-products-all-item-product__spec__item {
  min-width: 8em;
  padding: 0;
  margin-right: 10px;
  font-weight: normal;
  font-size: 10px;
  letter-spacing: 0.72px;
  line-height: 1.8;
}

.c-include-search-result--variant .p-products-all-item-product__spec__item::after {
  display: none;
}

.c-include-search-result--variant .p-products-all-item-product__spec__text {
  padding: 4px 0;
  font-size: 12px;
  line-height: 1.4;
}

.c-include-search-result--variant .p-products-all-item-product__spec__title.is-open {
  display: none;
}

.c-include-search-result--variant .model_list_wapper table {
  margin-top: 0;
  width: 100%;
  table-layout: auto;
  border-collapse: separate;
  border-top: none;
  border-right: none;
}

.c-include-search-result--variant .model_list_wapper table th {
  background: none;
  width: auto;
  font-weight: normal !important;
}

.c-include-search-result--variant .model_list_wapper table th,
.c-include-search-result--variant .model_list_wapper table td {
  padding: 0;
  box-sizing: border-box;
  border-bottom: none;
  border-left: none;
  text-align: left;
  vertical-align: middle;
  position: relative;
  z-index: 1;
}

.c-include-search-result .p-products-all-item-product>.p-products-all-item-product__buttons .p-products-all-item-product__link--cart,
.c-include-search-result .p-products-all-item-product__spec__body table tr {
  display: table-row !important;
}

.c-include-search-result--variant .p-products-all-item-product__spec__body table tr:nth-of-type(n+7) {
  display: none !important;
}


.c-include-search-result--variant .include-search-products .p-products-all-item-product>.p-products-all-item-product__buttons {
  padding: 15px 0 0 0;
  margin-top: auto;
  flex-direction: column;
  display: block;
}

.c-include-search-result--variant .p-products-all-item-product>.p-products-all-item-product__buttons {
  padding: 15px 0 0 0;
  margin-top: auto;
  flex-direction: column;
  display: block;
}


.c-include-search-result--variant .productMoreGrid .p-products-all-item__item::before {
  display: none;
}



@media screen and (max-width: 767px) {
  .c-include-search-result--variant .productMoreGrid {
    overflow-x: scroll;
    flex-wrap: nowrap;
  }

  .c-include-search-result--variant .productMoreGrid .p-products-all-item__item {
    position: relative;
    width: 260px;
  }

  .c-include-search-result--variant .p-products-all-item-product__spec__body {
    border: none;
    padding: 0;
  }

  .c-include-search-result--variant .productMoreGrid .p-products-all-item__item::after {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    right: -7px;
    width: 1px;
    background: #ddd;
  }

  .c-include-search-result--variant .js-accordionOpen-search.is-open+.p-products-all-item-product__spec__body.over-seven-specs::after {
    display: none;
  }

}