@charset "UTF-8";

/* ====================================================================
   最近見た商品のレコメンド（PC版 2列レイアウト・690px幅4列最適化）
==================================================================== */
section.recentlyViewed {
	padding: 15px 0;
    width: 709px;
	clear: both;
	box-sizing: border-box;
	margin: 0 auto;
}
section.recentlyViewed .recentlyViewed__inner {
	width: 100%;
	margin: 0 auto;
	padding: 0;
	text-align: left;
}
section.recentlyViewed h2.section__title {
	text-align: center;
    box-shadow: none;
    text-shadow: 0px 1px 0px #FFF;
    font-family: serif;
    font-size: 20px;
    padding: 10px 0;
	margin: 0 0 15px 0;
	color: #7c6c5b;
	background: linear-gradient(to bottom, #d6cbb3 0%, #ffffff 100%);
}
section.recentlyViewed .product__lists {
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	margin: 0;
	list-style: none;
	width: 100%;
}
section.recentlyViewed .recent-item {
	width: 23.5%; 
	margin-right: 2%;
	margin-bottom: 20px;
	box-sizing: border-box;
}
section.recentlyViewed .recent-item:nth-child(4n) {
	margin-right: 0;
}
section.recentlyViewed .recent-item a {
	display: block;
	color: #CA0065;
	text-decoration: none;
}
section.recentlyViewed .recent-item a:hover {
	color: #789F00;
	text-decoration: none;
}
section.recentlyViewed p.item-img {
	margin: 0 0 5px;
	padding: 0;
	background: #FFFFFF;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;    
	height: 150px; /* 【修正】100% から固定値に変更（要素の潰れ防止） */
}
section.recentlyViewed p.item-img img {
	max-width: 100%;
	max-height: 100%;
	height: auto;
	width: auto;
	display: block;
}

/* 商品名 */
section.recentlyViewed p.item-name {
	font-size: 100%;
	margin: 0;
	line-height: 140%;
	color: #CA0065;
}

/* 価格エリア */
section.recentlyViewed p.item-price {
	margin: 0;
	padding: 0;
	line-height: 140%;
	font-size: 100%;
	text-align: left;
}

/* 通常価格・セール価格（赤文字） */
section.recentlyViewed .selling_price,
section.recentlyViewed .special_price {
	color: #808080;
}

/* 定価（打ち消し線） */
section.recentlyViewed .fixed-price {
	font-size: 90%;
	color: #666666;
	text-decoration: line-through;
	margin-right: 8px;
}

/* ====================================================================
   スマートフォン用メディアクエリ
==================================================================== */

#page section.recentlyViewed .product__lists {
	overflow-x: scroll;
	-webkit-overflow-scrolling: touch;
	display: flex;
	flex-wrap: unset;
}
#page section.recentlyViewed .recent-item {
	width: auto;
	margin: 0 0 0 4%;
}

/* 【削除】スマホ版での不要な :nth-child(5n) のマージン設定をクリア */
#page section.recentlyViewed .recent-item:last-child {
	margin-right: 4%;
}
#page section.recentlyViewed .recent-item a {
	width: 40vw;
	display: block;
}
#page section.recentlyViewed .recentlyViewed__inner {
	width: 100%;
	padding: 20px 0 0;
}
#page section.recentlyViewed h2.section__title {
	font-size: 16px;
	padding: 0 0 20px 0;
}
#page section.recentlyViewed p.item-name {
	font-size: 15px;
}
#page section.recentlyViewed .selling_price {
	font-size: 13px;
}

/* スマホ版の画像エリアの高さも、スマホ画面幅（40vw）に合わせて自動〜適正値に調整 */
#page section.recentlyViewed p.item-img {
	height: 40vw;
}




/* スマートフォン専用サイト(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;
}
#page section.recentlyViewed h2.section__title {
	/* background-image: url(/hpgen/smp/img/theme11/title_point.png), url(/hpgen/smp/img/theme11/title_bg.png);
	background-repeat: no-repeat, repeat-x;
	background-position: left top, left top;
	margin: 0 0 10px;
	padding: 14px 0 12px 10px;
	vertical-align: middle;
	text-align: left;
	font-weight: normal; */

	/* display: inline; */
	font-family: "メイリオ", Meiryo, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "ＭＳ Ｐゴシック", "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif;
	font-size: 130%;
	letter-spacing: 0;
	margin: 10px 0;
    padding: 6px 0 4px 0;
    background: #f5f5f5;
	width: 98.6%;
    box-sizing: border-box;
    -webkit-box-shadow: 2px 2px 2px #bdbdbd;
    -moz-box-shadow: 2px 2px 2px #bdbdbd;
    box-shadow: 2px 2px 2px #bdbdbd;
    color: #606060;
    vertical-align: middle;
    text-align: left;
}
#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: 97%;
	box-sizing: border-box;
	margin: 0 auto;
	background: #FFF;
	padding: 10px 10px 20px;
	border: solid 1px #969696;
}
#page section.recentlyViewed .recent-item a {
	color: #282828;
	text-decoration: none;
}
#page section.recentlyViewed p.item-name {
	margin: 0;
	color: #3B91D6;
}
#page section.recentlyViewed p.item-price {
	margin: 0;
}
#page section.recentlyViewed .recent-item a {
	width: 35vw;
}
#page #contents:has(#contents)+.recentlyViewed {
	display: none;
}




/***************** Original *****************/
#page section.recentlyViewed h2.section__title::before {
	content: "";
	background: url(https://www.therapy-stone.com/hpgen/smp/img/red_icon1.png) no-repeat 5px 45%;
	width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: -2px;
}

/* PCカート内 間隔調整 */
#EST_SPS_cart section.recentlyViewed {
	margin-top: 40px;
}