@charset "UTF-8";

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

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

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

  width: 12.57%;
}

/*
section.recentlyViewed .recent-item:nth-child(5n) {
*/
section.recentlyViewed .recent-item:nth-child(7n) {

  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: 8%;
  object-fit: contain;
  margin: 0;
}

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

  color: #000;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: .3rem;
  line-height: initial;
  position: relative;
  margin: 0;
}

section.recentlyViewed h2.section__title::after {
  display: block;
  content: "CHECKED";
  font-size: 1rem;
  font-weight: normal;

}

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: 14px;
  margin: 0 0 5px;
  line-height: 150%;
  font-weight: bold;
*/

  font-size: 1.2rem;
  margin: 0;
  text-align: center;
  height: 3.5em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

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

  display: none;
}

section.recentlyViewed .recentlyViewed__inner {
  width: 1200px;
  margin: 0 auto;
  padding: 40px 0 0;
  border-top: solid 1px #DDD;

  border: none;
  padding: 0;
  width: 1100px;
}

section.recentlyViewed {
  border-top: solid 1px #ddd;
  margin-top: 30px;
  padding: 50px 0;
  /* background: #f5f5f5; */
}

section.recentlyViewed .selling_price {
  font-size: 75%;
}

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

body:has(#Detail, .recentlyViewed) #main-column {
  margin-bottom: 0;
}

body:has(#Detail) section.recentlyViewed {
  margin-top: 0;
}

body:has(#Detail) section.recentlyViewed p.item-price {
  color: #f00;
  display: block;
  text-align: right;
}

#EST_SPS_cart section.recentlyViewed h2.section__title {
  font-size: 20px;
}

#EST_SPS_cart section.recentlyViewed h2.section__title::after {
  font-size: 10px;
}

#EST_SPS_cart section.recentlyViewed p.item-name {
  font-size: 12px;
}

#EST_SPS_cart section.recentlyViewed p.item-price {
  color: #f00;
  display: block;
  font-size: 12px;
  letter-spacing: .8pt;
  text-align: right;
}

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

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

  background: none !important;
}

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

  margin: 0;
}

#page section.recentlyViewed h2.section__title {
  color: black;
  background-image: url(https://www.lovetiara.com/pic-labo/t_back.jpg);
  background-repeat: repeat-x;
  background-position: left top,left top;
  margin: 10px 0 0;
  padding: 10px 0 6px;
  padding-left: 14px;
  text-align: left;
  height: 24px;
  font-size: 14px;
  font-weight: normal;
  letter-spacing: 0;
}

#page section.recentlyViewed h2.section__title::after {
  content: none;
}

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

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

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

#page section.recentlyViewed .product__lists {
  width: 90%;
  margin: 0 auto;
  background: #FFF;
  padding: 10px;
}

#page section.recentlyViewed .recent-item a {
  color: #282828;
  text-decoration: none;
}

#page section.recentlyViewed p.item-name {
  font-size: 12px;
  margin: 0;
  text-align: center;
  height: 3em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

#page section.recentlyViewed p.item-price {
  color: #f00;
  display: block;
  margin: 0;
  text-align: right;
}

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

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

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

}