@charset "UTF-8";

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

section.recentlyViewed .product__lists {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
}

section.recentlyViewed .recent-item {
  flex: 0 0 23%;
  width: 23%;
  margin: 0 1% 2% 0;
}

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

section.recentlyViewed p.item-img {
  margin: 0 0 10px;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

section.recentlyViewed h2.section__title,
article#Detail #main-column section.recentlyViewed h2.section__title,
#EST_SPS_cart section.recentlyViewed h2.section__title {
  font-size: 16px;
  line-height: 1em;
  padding: 0px 0px 5px 0px;
  margin: 0 0 28px;
  text-indent: 4px;
  border-bottom: double 4px #ccc;
}

section.recentlyViewed h2.section__title span,
article#Detail #main-column section.recentlyViewed h2.section__title span,
#EST_SPS_cart 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,
article#Detail #main-column section.recentlyViewed p.item-name,
#EST_SPS_cart section.recentlyViewed p.item-name {
  font-size: 12.8px;
  margin-bottom: 10px;
  line-height: 150%;
  padding: 0;
}

section.recentlyViewed p.item-price,
article#Detail #main-column section.recentlyViewed p.item-price,
#EST_SPS_cart section.recentlyViewed p.item-price {
  display: flex;
  align-items: center;
  line-height: 150%;
  font-size: 12px;
  padding: 0;
}

section.recentlyViewed .recentlyViewed__inner {
  width: 1020px;
  margin: 0 auto;
  padding: 20px 0 20px;
  margin-bottom: 50px;
  /* border-top: solid 1px #DDD; */
}

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

section.recentlyViewed .selling_price,
article#Detail #main-column section.recentlyViewed .selling_price,
#EST_SPS_cart section.recentlyViewed .selling_price {
  font-size: 12.8px;
}

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


/* PCカート用 */
#EST_SPS_cart section.recentlyViewed .recentlyViewed__inner {
  width: 900px;
  margin: 50px auto 0;
}


/* スマートフォン専用サイト(S-ホワイト調整) */

#page section.recentlyViewed .recentlyViewed__inner {
  width: auto;
  /* padding: 0 0 10px !important;
  background: url(/hpgen/smp/img/theme11/section_bg.png) !important; */
}

#page section.recentlyViewed {
  width: auto;
  margin: 0 5px;
}

#page section.recentlyViewed h2.section__title {
  text-indent: 0;
  border-bottom: none;
  font-family: serif;
  padding: 0;
  margin: 0;
  font-size: 20px;
  color: #606060;
  vertical-align: middle;
  text-align: center;
  font-weight: 600;
  padding-top: 20px;
  margin: 24px 0;
}

#page section.recentlyViewed .recent-item {
  flex: 0 0 35vw;
  width: 35vw;
  width: auto;
  margin: 0 3% 0 0;
}

/* #page section.recentlyViewed .recent-item:nth-child(4n) {
  margin: 0 3% 0 0;
} */

#page section.recentlyViewed .recent-item:last-child {
  margin: 0;
}

#page section.recentlyViewed .product__lists {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
  background: #FFF;
  padding: 5px 10px 20px;
}

#page section.recentlyViewed .recent-item a {
  display: block;
  width: 100%;
  color: #282828;
  text-decoration: none;
}

#page section.recentlyViewed p.item-name {
  margin: 0;
  font-size: 16px;
  color: #555;
  text-decoration: underline;
}

#page section.recentlyViewed p.item-price {
  margin: 0;
}

#page section.recentlyViewed p.item-price .selling_price {
  font-family: "Time New Roman", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "メイリオ", Meiryo, sans-serif;
  font-size: 16px;
}

#page section.recentlyViewed .recent-item a {
  width: 43vw;

}

#page #contents:has(#contents)+.recentlyViewed {
    display: none;
}

/* @media screen and (max-width: 768px) {

  section.recentlyViewed .product__lists {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 10px 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(5n) {
    margin: 0 0 0 4%;
  }

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

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

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

  section.recentlyViewed {
    width: 92%;
    margin: 0 auto;
    padding: 30px 0;
  }

  section.recentlyViewed h2.section__title {
    font-size: 16px;
    padding: 0 0 20px 0;
  }

  section.recentlyViewed p.item-name {
    font-size: 13px;
  }

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

} */