/* ナチュラルテイストページトップボタン */
.ec-blockTopBtn {
    display: none !important;
    position: fixed !important;
    width: 65px !important;
    height: 65px !important;
    right: 30px !important;
    bottom: 30px !important;
    cursor: pointer !important;
    color: #8B7355 !important;
    text-align: center !important;
    opacity: 0.95 !important;
    background: #FEFCF7 !important;
    border-radius: 50% !important;
    box-shadow: 0 6px 25px rgba(139, 115, 85, 0.15) !important;
    transition: all 0.3s ease !important;
    z-index: 1000 !important;
    border: 2px solid rgba(212, 184, 150, 0.4) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.ec-blockTopBtn:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 35px rgba(139, 115, 85, 0.2) !important;
    background: #8B7355 !important;
    color: #FEFCF7 !important;
    border-color: rgba(212, 184, 150, 0.6) !important;
}

.ec-blockTopBtn i {
    font-size: 18px !important;
    margin-bottom: 3px !important;
    animation: floatUp 3s ease-in-out infinite !important;
}

.pagetop-text {
    font-size: 9px !important;
    font-weight: 500 !important;
    letter-spacing: 0.8px !important;
    font-family: 'Noto Sans JP', sans-serif !important;
}

/* ナチュラルなフロートアニメーション */
@keyframes floatUp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

/* スマホ表示時の調整 */
@media (max-width: 768px) {
    .ec-blockTopBtn {
        width: 50px !important;
        height: 50px !important;
        right: 20px !important;
        bottom: 20px !important;
    }
    
    .ec-blockTopBtn i {
        font-size: 14px !important;
    }
    
    .pagetop-text {
        font-size: 9px !important;
    }
}

/* ヘッダーカート商品点数を白文字に統一 */
.ec-cartNavi__badge {
    color: #ffffff !important;
}