.u-mt-32 {
  margin-top: 32px;
}

@media all and (min-width:577px) {
    .product-list--favorite-list {
        width: 800px;
        margin: auto;
    }

    .product-list .product-list__unit {
        width: calc((100% - 100px) / 4);
        margin: 0 25px 0 0;
    }

    .product-list {
      padding: 50px 0;
    }

    .u-sp {
        display: none;
    }
}

@media all and (max-width:576px) {
    .product-list .product-list__unit {
        width: calc(100% / 2);
        padding:0 8px;
    }

    .product-list {
      padding: 24px 0;
    }
}

#favorite .product-list {
	list-style: none;
}

#favorite .section__title-h2 {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}



.product-list {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}


.product-list .product-list__unit .title {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 600;
    line-height: calc(1em+10px);
}

.product-list .product-list__unit .price,
.product-list .product-list__unit .soldout {
    color: #999;
    font-size: 13px;
    font-weight: 400;
}


#favorite .new_mark_img1{
  display: none!important;
}

.p-product-detail-link-btn {
    margin: 40px auto;
    width: 90%;
}

/* 売り切れ商品お問い合わせセクション */
.leaves-soldout-inquiry {
    position: fixed;
    bottom: 100px;
    right: 0;
    z-index: 9999;
    background-color: transparent; /* 背景を透過 */
    padding: 0; /* パディングを削除 */
    max-width: 220px;
    width: auto;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
 
.leaves-soldout-inquiry.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}
 
.leaves-soldout-inquiry__close {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 24px;
    height: 24px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 18px;
    color: white; /* 色を白に変更 */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    z-index: 1; /* 画像の上に表示 */
}
 
.leaves-soldout-inquiry__close:hover {
    background-color: rgba(0, 0, 0, 0.3);
}
 
.leaves-soldout-inquiry__content {
    margin: 0;
    padding: 0;
}
 
.leaves-soldout-inquiry__link {
    display: block;
    text-decoration: none;
    padding: 0;
    transition: opacity 0.2s ease;
}
 
.leaves-soldout-inquiry__link:hover {
    opacity: 0.8;
}
 
.leaves-soldout-inquiry__img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 220px;
}
 
/* スマートフォン対応 */
@media screen and (max-width: 768px) {
    .leaves-soldout-inquiry {
        bottom: 80px;
        right: 0;
        left: auto;
        transform: scale(0.7);
        transform-origin: bottom right;
        width: min(340px, calc(100vw - 200px));
    }
    
    .leaves-soldout-inquiry__img {
        max-width: none;
    }
}
 
/* PC対応 */
@media screen and (min-width: 769px) {
    .leaves-soldout-inquiry {
        max-width: 220px;
    }
}
 
.leaves-soldout-inquiry.scrolled-hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}
 
@media screen and (max-width: 768px) {
    .leaves-soldout-inquiry.scrolled-hidden {
        transform: translateY(20px) scale(0.7);
    }
}

/* スクロールによる非表示用クラス */
.leaves-soldout-inquiry.scrolled-hidden {
    opacity: 0;
    transform: translateY(20px) scale(1); /* スマホでもスケールをリセット */
    pointer-events: none;
}

