@charset "UTF-8";

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

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

section.recentlyViewed .recent-item {
  width: 18%;
  margin: 0 2.5% 2% 0;
}

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

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

section.recentlyViewed h2.section__title {
  font-family: "Noto Serif JP", "游明朝体", "YuMincho", "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN W3", HiraMinProN-W3, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif !important;
  font-size: 140% !important;
  color: #222222;
  border: none;
  letter-spacing: 0.1em;
  padding: 20px 0 !important;
  margin-bottom: 30px;
}

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-size: 16px;
  margin: 0 0 10px;
  line-height: 160%;
  font-weight: bold;
  display: none;
}

section.recentlyViewed p.item-price {
  display: flex;
  align-items: center;
  line-height: 150%;
  font-size: 12px;
  display: none;
}

section.recentlyViewed .recentlyViewed__inner {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

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

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

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

#itemDetail-wrap section.recentlyViewed {
    padding: 0;
}

#EST_SPS_cart section.recentlyViewed h2.section__title {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", メイリオ, Meiryo, sans-serif !important;
    display: inline-block !important;
    font-weight: bold;
    margin: 20px 0 30px;
    border: none;
    color: #222222;
    border-bottom: 3px solid #222222;
    letter-spacing: 0.05em;
    padding: 0px 0 10px !important;
}

#EST_SPS_cart section.recentlyViewed {
    padding: 20px 0 0;
}

/* スマホフラットテンプレート調整 */
#sps-smp-cart section.recentlyViewed h2.section__title {
    text-align: center;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 17px !important;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #222;
    border: none;
    line-height: 160%;
    font-family: 'Roboto', 'Noto Sans JP', sans-serif !important;
}

#sps-smp-cart section.recentlyViewed h2.section__title:after {
    content: "ー";
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #c1c1c1;
    margin: 0;
    letter-spacing: 0.05em;
    display: block;
    line-height: 90%;
}

#sps-smp-cart section.recentlyViewed a {
    color: #222;
    text-decoration: none;
    padding: 0 0 15px;
}

#sps-smp-cart section.recentlyViewed a p.item-name {
    line-height: 150%;
    font-weight: normal;
    font-size: 12px;
    margin: 10px 0 5px;
    padding: 0 15px;
    letter-spacing: 0.03em;
}

#sps-smp-cart section.recentlyViewed a p.item-price {
    margin: 0;
    padding: 0 15px 0;
}

#sps-smp-cart #contents section.recentlyViewed {
    /* background: #FFF; */
    width: 100%;
    background: #f7f7f7;
    padding: 0;
    margin: 20px auto 0;
}

#sps-smp-cart section.recentlyViewed .recentlyViewed__inner {
    padding: 20px 0 0 !important;
    width: 100%;
}

#sps-smp-cart section.recentlyViewed .selling_price {
    color: #666;
    font-size: 12px;
}

#sps-smp-cart section.recentlyViewed .recent-item {
    background: #FFF;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .03);
    border-radius: 5px;
    padding: 0;
    margin: 0 0 0 3vw;
    font-size: 13px;
    width: 100%;
}

#sps-smp-cart section.recentlyViewed p.item-img{
    border-radius: 5px 5px 0 0;
    height: auto;
    margin: 0 0 0px;
}

#sps-smp-cart section.recentlyViewed p.item-img img {
    width: auto;
    max-height: 100px;
    margin: 20px 0 5px;
}

#sps-smp-cart section.recentlyViewed .product__lists {
    width: 112%;
    margin: 0 0 0 -6%;
    padding: 10px 0;
}

#sps-smp-cart section.recentlyViewed .recent-item:last-child {
    margin: 0 5vw 0 3vw !important;
}

#sps-smp-cart section.recentlyViewed .recent-item:first-child {
    margin: 0 0 0 5vw;
}

#sps-smp-cart section.recentlyViewed .recent-item a{
    width: 33vw;
}

@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: 104%;
    flex-wrap: unset;
    margin: 0 0 0 -2%;
  }

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

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

  section.recentlyViewed h2.section__title {
    font-size: 20px !important;
    padding: 0 0 20px 0 !important;
    margin: 0 0 10px !important;
  }

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

  section.recentlyViewed .selling_price {
    font-size: 14px;
  }
  #itemList_wrap+section section.recentlyViewed {
    margin: 0 auto;
    padding: 0 0 10px;
}

}


/*=================
スマホおすすめ・新着・ランキング関連商品の横スクロール化
===================*/

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

  article #main-column .ranking,
  article #main-column .pickup ,
  article #main-column .newItem{
    margin: 20px auto 60px !important;
}
  
article #main-column section.recommend .column-set,
  article #main-column .ranking .column-set,
  article #main-column .pickup .column-set,
  article #main-column .newItem .column-set{
    overflow-x: scroll;
    flex-wrap: unset;
    width: 104%;
    margin: 0 0 0 -2%;
    display: flex;
}
article #main-column section.recommend h2,
  article #main-column .ranking h2,
  article #main-column .pickup h2
  article #main-column .newItem h2{
    margin: 0 0 10px !important;
    padding: 0 0 20px !important;
}
article #main-column section.recommend .column-set .column5,
  article #main-column .ranking .column-set .column5,
  article #main-column .pickup .column-set .column5,
  article #main-column .newItem .column-set .column4{
    margin: 0 0 0 4% !important;
    padding: 0;
}

article #main-column section.recommend .column-set .column5:first-child,
  article #main-column .ranking .column-set .column5:first-child,
  article #main-column .pickup .column-set .column5:first-child,
  article #main-column .newItem .column-set .column4:first-child{
    margin: 0 0 0 5% !important;
}

article #main-column section.recommend .column-set .column5 .itemThumb-wrap,
  article #main-column .ranking .column-set .column5 .itemThumb-wrap,
  article #main-column .pickup .column-set .column5 .itemThumb-wrap,
  article #main-column .newItem .column-set .column4 .itemThumb-wrap{
    width: 40vw;
    position: relative;
}

article #main-column section.recommend .column-set .column5:last-child,
  article #main-column .ranking .column-set .column5:last-child,
  article #main-column .pickup .column-set .column5:last-child,
  article #main-column .newItem .column-set .column4:last-child{
    margin: 0 5% 0 4% !important;
}

article #main-column section.recommend .column-set .column5 p.price,
  article #main-column .ranking .column-set .column5 p.price,
  article #main-column .pickup .column-set .column5 p.price,
  article #main-column .newItem .column-set .column4 p.price{
    text-align: left;
    margin: 0 0 2px;
}

article #main-column section.recommend .column-set .column5 p.price span,
  article #main-column .ranking .column-set .column5 p.price span,
  article #main-column .pickup .column-set .column5 p.price span,
  article #main-column .newItem .column-set .column4 p.price span{
    font-size: 14px;
    font-weight: normal;
}

article #main-column section.recommend .column-set .column5 h3,
  article #main-column .ranking .column-set .column5 h3,
  article #main-column .pickup .column-set .column5 h3,
  article #main-column .newItem .column-set .column4 h3{
    text-align: left;
    margin: 0 0 5px;
    font-size: 13px;
    line-height: 160%;
    min-height: 62px;
}

article #main-column section.recommend .column-set .column5 .badge img,
  article #main-column .ranking .column-set .column5 .badge img,
  article #main-column .pickup .column-set .column5 .badge img,
  article #main-column .newItem .column-set .column4 .badge img{
    max-width: 25px;
    min-height: unset;
}
article #main-column section.recommend .column-set .column5 .badge,
  article #main-column .ranking .column-set .column5 .badge,
  article #main-column .pickup .column-set .column5 .badge,
  article #main-column .newItem .column-set .column4 .badge{
    top: 5px;
    left: 5px;
}

}