@charset "UTF-8";
/*================================================
商品一覧ページの商品比較専用CSS
================================================*/

.item_compare_wrap {
    display: block;
    cursor: pointer;
}
.compare_area_inner{
	display:flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	height: 80px;
	width: 100%;
}
.item_compare_text {
	line-height: 1.4;
	color: #9d9d9d;
	padding-right: 1.25rem;
	background:url("/static/full/images/svg/icn_compare.svg") no-repeat right center;
}
.compare_disabled {
	cursor:default;
	opacity: 0.5;
}

.addItemCompare {
    cursor: pointer;
}


.compare_on .item_compare_text {
	color:#1A1A1A;
	background:url("/static/full/images/svg/icn_compare_on.svg") no-repeat right center;
	
}
.compare_disabled.compare_on{
	opacity:1;
	cursor: pointer;
}
.item_compare_text:before{
	content:"比較する";
}
.compare_on .item_compare_text:before{
	content:"比較リスト追加済";
}
.compare_on .item_compare_text:hover:before{
	content:"比較リストから削除";
}
/* 比較エリア
********************************************/
.compare_area {
	display:none;
	position: fixed;
	bottom: -80px;
	right: 0;
	width: 100%;
	height: 80px;
	background-color: #FAFAFA;
	z-index: 2000;
	transition: all .5s ease;
}

.compare_area.open {
    display: block;
}

.compare_area.active {
	bottom: 0;
	display: block;
}

.compare_area.active * {
    /* pointer-events: none; */
}

.compare_area.active:hover {
}

.compare_area.active:hover * {
    pointer-events:auto;
}

.compare_area .compare-title {
    /* display:none; */
    padding-left: 40px;
    font-size: 20px;
    line-height: 1.4;
}
.compare_area_main{
	height:80px;
	position: relative;
	display: flex;
	align-items: center;
}

.compare_item {
    width: 43px;
    height: 100%;
    display: flex;
    border: 1px solid #D9D9D9;
}

.compare_item_wrap {
    width: 100%;
}


.compare_item_photo {
    width: 100%;
    height: 100%;
}
.compare_item_photo a{
	pointer-events:auto;
	display:block;
	height:100%;
	width: 100%;
	position:relative;
}
.compare_item_photo a:hover:after{
	content:"";
	display:block;
	width:100%;
	height:100%;
	position:absolute;
	background: rgba(0,0,0,0.5) url('/static/full/images/svg/icn_cancel_white.svg') no-repeat center;
	background-size:24px 24px;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
}
.compare_item_image {
    width: auto;
    height: 100%;
    display: block;
    margin: auto;
}

.compare_item_info {
    /* margin-left: 10px; */
    /* padding: 0 10px; */
    /* min-width: 155px; */
    /* flex-basis: 155px; */
    display: none;
}

.compare_item_alert {
    display: none;
    border: 1px solid #FF0000;
    color: #FF0000;
    padding: 10px 0;
    text-align: center;
    margin-bottom: 20px;
}

.compare_item_list {
	display: flex;
	height: 56px;
	gap: 0.5rem;
	margin-right: 1.5rem;
	width: 145px;
}
.compare_item_list_empty{
	display: flex;
	height: 56px;
	gap: 0.5rem;
	margin-right: 1.5rem;
	width: 145px;
	position: absolute;
	z-index: -1;
}
.compare_item_list_empty > div{
	width: 43px;
	height:100%;
	border:1px dashed #D9D9D9;
}
.compare_num{
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	height: 1.5rem;
	background: #7292A9;
	-webkit-padding-start: 0.5rem;
	padding-inline-start: 0.5rem;
	-webkit-padding-end: 0.5rem;
	padding-inline-end: 0.5rem;
	font-size: 12px;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	border-radius: 20px;
	margin-left: 0.5rem;
	color:#fff;
}
.compare_item_do,
.compare_item_clear {
    width: 240px;
    height: 56px;
    line-height: 56px;
    font-size: 16px;
    background-color: #2A292F;
    color:#fff;
    padding: 0;
    text-align:center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.compare_item_clear{
	width:184px;
	padding-right:24px;
	background: transparent url('/static/full/images/svg/icn_cancel.svg') no-repeat right 40px center;
	color:#1A1A1A;
}
.compare_item_name {
    display: block;
    font-size: 12px;
    line-height: 1.2;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: 5px;
}

.compare_item_mkcode {
    
}

.page-mask-white {
	background-color: #fff;
	filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60);
	-moz-opacity: 0;
	opacity: 0;
	display: none;
	position: fixed;
	left: 0px;
	top: 0px;
	overflow: hidden;
	width: 100%;
	height: 100%;
	z-index: 1301;
}

@media screen and (max-width: 1000px){
	.compare_area_header{
		display:none;
	}
	.compare_area {
		display:none;
		position: absolute;
		top: -64px;
		bottom: auto;
		right: 0;
		width: 100%;
		height: 64px;
		z-index: 0;
	}

	.compare_area.active {
		top: 48px;
		display: block;
	}

	.compare_area_main{
		width:100%;
	}
	.compare_item,
	.compare_item_list_empty div{
		width: 37px;
	}
	.compare_item_do {
		width:40%;
		position: absolute;
		left: 0;
		height: 48px;
	}
	.compare_item_clear{
		position:absolute;
		right:0;
		width: 38px;
		height: 48px;
		padding: 0;
		background-position:center center;
	}
	.compare_item_clear span {
		display:none;
	}	
	.compare_area_inner{
		padding: 8px 24px;
		height: 64px;
	}
	.compare_item_list,
	.compare_item_list_empty{
		margin:0 0 0 8px;
		padding-left:40%;
		width: 100%;
		gap: 0.25rem;
		height: 48px;
	}
}