@charset "UTF-8";
/* CSS Document */

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

section.recentlyViewed .product__lists {
    display: flex;
    flex-wrap: wrap;
}
section.recentlyViewed .recent-item {
    width: 18.4%;
    margin: 0 2% 2% 0;
}
section.recentlyViewed .recent-item:nth-child(5n){
    margin: 0;
}
section.recentlyViewed p.item-img {
    margin: 0 0 10px;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}
section.recentlyViewed p.item-img {
}
section.recentlyViewed p.item-img img{
    height: 25.668vh;
    object-fit: contain;
}
section.recentlyViewed h2.section__title {
    font-size: 140%;
    line-height: normal;
    font-weight: 600;
    text-align: left;
    margin: 0 0 30px;
    padding: 0 0 20px;
    letter-spacing: 0.05em;
    border-bottom: dotted 1px #e2d2bd;
}
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: 15px;
    margin: 0 0 10px;
    line-height: 150%;
    font-weight: bold;
}
section.recentlyViewed p.item-price {
    display: flex;
    align-items: center;
    line-height: 150%;
    font-size: 13px;
    padding: 0;
}
section.recentlyViewed .recentlyViewed__inner {
    width: 98%;
    margin: 0 auto;
    padding: 0;
}
section.recentlyViewed {
    padding: 0 0 50px;
    width: 1200px;
    margin: 0 auto;
}
section.recentlyViewed .selling_price {
  font-size: 15px;
  color: #604c3f;
  font-weight: 300;
}
section.recentlyViewed .discount-icon {
  background: #0a0c26;
  color: #fff;
  font-size: 11px;
  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;
}

section.recentlyViewed p.item-price:has(span.discount-icon) span.selling_price,
section.recentlyViewed p.item-price:has(span.discount-icon) span.special_price{
    color: #0a0c26;
}

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

#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: 120%;
}

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

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

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

#sps-smp-cart section.recentlyViewed {
    /* background: #FFF; */
    width: 100%;
}

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

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

#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 2vw 0 0;
    font-size: 13px;
    width: 35vw;
}

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

@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: 100%;
    flex-wrap: unset;
}

section.recentlyViewed .recent-item {
    width: auto;
    margin: 0 2vw 0 0;
}
section.recentlyViewed .recent-item:nth-child(5n){
    margin: 0 3vw 0 0;
}
section.recentlyViewed .recent-item:last-child{
    margin: 0;
}

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

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

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

section.recentlyViewed h2.section__title {
    font-size: 20px;
    line-height: 30px;
    margin: 0 0 20px;
    padding: 0 0 10px;
}

section.recentlyViewed p.item-name {
    font-size: 14px;
    padding: 0;
}

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

section.recentlyViewed p.item-img img {
    height: 17.692vh;
}

}