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

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

#wrapper{
    overflow: hidden;
}

section.recentlyViewed .product__lists {
    display: flex;
    flex-wrap: wrap;
}
section.recentlyViewed .recent-item {
    width: 280px;
    margin: 0 2% 3% 0;
}
section.recentlyViewed .recent-item:nth-child(4n){
    margin-right: 0;
}
section.recentlyViewed .recent-item:nth-child(n+5){
    margin-bottom: 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;
    padding: 0;
    background: #FFF;
    height: 278px;
    aspect-ratio: 1 / 1;
    -o-object-fit: contain;
    object-fit: contain;
    border-radius: var(--br);
    width: 100%;
    max-height: 100% !important;
    border: 1px solid var(--green);
    background-color: #fff;
    border-collapse: collapse;
}

section.recentlyViewed p.item-img img{width: 80%;}
section.recentlyViewed h2.section__title {
    margin: 0 0 30px;
    padding: 0 !important;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #000;
    margin-bottom: 32px;
    font-size: 32px;
    font-weight: var(--bold);
    color: var(--green);
    font-family: var(--kaisei) !important;
    line-height: 1.5;
    text-align: left;
    border: none;
}
section.recentlyViewed h2.section__title:after {
    content: "● CHECKED ITEMS";
    margin: 0 0 0 .5em;
    font-size: 24px;
    color: var(--fcolor);
    font-weight: var(--bold);
    font-family: var(--family) !important;
    text-align: center;
    display: inline-block;
    border: none;
    height: auto;
    width: auto;
    background-color: transparent;
    position: relative;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}


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: 95%;
    margin: 0 0 15px;
    line-height: 150%;
    color: #062E12;
    font-weight: normal;
    letter-spacing: 1px;
}
section.recentlyViewed p.item-price {
    display: flex;
    align-items: center;
    line-height: 150%;
    font-size: 11px;
    padding: 0;
}
section.recentlyViewed .recentlyViewed__inner {
    width: 1200px;
    margin: 0 auto;
    padding: 0;
}
section.recentlyViewed {
    padding: 100px 0 200px;
    width: 100%;
    margin: -50px auto 0;
    background: #f1eeeb;
}
section.recentlyViewed .selling_price {
  font-size: 14px;
  color: var(--red);
  font-weight: 400;
}
section.recentlyViewed .special_price {
  font-size: 13px;
  color: #333;
  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;
}

section.recentlyViewed+footer .footer-outer,
section.recentlyViewed+#cart-footer .footer-outer{
    margin: -100px 0 0 0;
}

section.recentlyViewed .amazon-banner {
    margin: 100px 0 0;
}

article#Detail #main-column section.recommend {
    padding: 50px 0 0;
}

/* スマホフラットテンプレート調整 */
#sps-smp-cart section.recentlyViewed h2.section__title {
    text-align: center;
    padding: 0;
    margin: 0;
    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;
    padding: 0 0 15px;
}

#sps-smp-cart section.recentlyViewed a p.item-name {
    line-height: 150%;
    font-weight: normal;
    font-size: 12px;
    margin: 0 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 section.recentlyViewed {
    /* background: #FFF; */
    width: 100%;
    background: #f7f7f7;
}

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

#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 3vw 0 0;
    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 {
    height: 17.692vh;
    object-fit: contain;
}

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

section.recentlyViewed .product__lists {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    padding: 0 1px 10px 0;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    flex-wrap: unset;
}

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

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

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

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

section.recentlyViewed h2.section__title {
    font-size: 24px;
    line-height: 30px;
    margin: 0 0 15px;
    padding: 8px 0 !important;
}

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

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

section.recentlyViewed p.item-img img {
    height: auto;
    /* width: 70%; */
}
section.recentlyViewed+footer .footer-outer, section.recentlyViewed+#cart-footer .footer-outer {
    margin: -50px 0 0 0;
}

section.recentlyViewed h2.section__title:after {
    font-size: 18px;
    margin: 0;
}

section.recentlyViewed .recent-item:nth-child(4n) {
    margin: 0 3vw 0 0;
}
section.recentlyViewed p.item-img {height: 180px;margin: 0 0 10px;}
section.recentlyViewed .amazon-banner {
    margin: 20px 0 0;
}
}