@charset "UTF-8";

/* 最近見た商品のレコメンド */

section.recentlyViewed .product__lists {
  display: flex;
  flex-wrap: wrap;
}

section.recentlyViewed .recent-item {
  width: 22.5%;
  margin: 0 3.333% 20px 0;
}

section.recentlyViewed .recent-item:nth-child(4n) {
  margin: 0;
}

section.recentlyViewed p.item-img {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  margin: 0 0 20px 0;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

section.recentlyViewed p.item-img img {
  width: 100%;
}

section.recentlyViewed h2.section__title {
  position: relative;
  margin: 0 0 76px;
  padding: 0;
  border: 0;
  font-family: "Noto Serif JP", "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-align: center;
  border-top: none;
}

section.recentlyViewed h2.section__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -30px;
  width: 30px;
  height: 1px;
  background-color: #b40000;
  transform: translateX(-50%);
}

section.recentlyViewed h2.section__title span {
  font-size: 75%;
  margin: 0 0 0 5px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

section.recentlyViewed p.item-name {
  font-family: "Noto Serif JP", "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  font-weight: bold;
  text-align: justify;
  text-justify: inter-character;
  margin-bottom: 7px;
}

section.recentlyViewed p.item-price {
  display: flex;
  align-items: center;
}

section.recentlyViewed p.item-price span.selling_price {
  font-size: 16px;
  font-weight: bold;
  color: #000;
}

section.recentlyViewed .recentlyViewed__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

section.recentlyViewed {
  padding: 90px 0 100px;
  /* background: #f5f5f5; */
}

section.recentlyViewed .selling_price {
  font-size: 12px;
}

section.recentlyViewed .discount-icon {
  background: #d90000;
  color: #fff;
  font-size: 10px;
  padding: 0px 5px;
  margin: 0 0 0 5px;
  border-radius: 3px;
  vertical-align: middle;
  letter-spacing: 0.03em;
}

section.recentlyViewed span.selling_price.discount-price {
  color: #D90000;
}



/* スマホカート */
#sps-smp-cart #page section.recentlyViewed .recentlyViewed__inner {
  width: 90%;
}
#sps-smp-cart #page section.recentlyViewed h2.section__title {
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  text-align: center;
  padding: 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #222;
  margin: 10px 0 42px;
  border: none;
  display: block;
}
#sps-smp-cart #page section.recentlyViewed h2.section__title::after {
  content: "ー";
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #c1c1c1;
  margin: 3px 0 0 0;
  letter-spacing: 0.05em;
  display: block;
  position: sticky;
  background-color: transparent;
}
#sps-smp-cart #page section.recentlyViewed .recent-item a,
#sps-smp-cart #page section.recentlyViewed .recent-item a:link {
  color: #000;
}



@media screen and (max-width: 1200px) {
  section.recentlyViewed .recentlyViewed__inner {
    width: 95%;
  }
}

@media screen and (max-width: 768px) {
  section.recentlyViewed .product__lists {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 30px 0;
    display: -ms-flexbox;
    display: flex;
    width: 108%;
    flex-wrap: unset;
    margin: 0 0 0 -4%;
  }

  section.recentlyViewed .recent-item {
    width: auto;
    margin: 0 0 0 4%;
  }

  section.recentlyViewed .recent-item:nth-child(4n) {
    margin: 0 0 0 4%;
  }

  section.recentlyViewed .recent-item:last-child {
    margin: 0 4%;
  }

  section.recentlyViewed .recent-item a {
    width: 43vw;
    display: block;
  }

  section.recentlyViewed .recentlyViewed__inner {
    width: 95%;
    padding: 20px 0 0;
  }

  section.recentlyViewed h2.section__title {
    font-size: 24px;
  }
}
