/* PC用お気に入りボタンのスタイル - 既存のmain .topRスタイルを上書き */
main .topR {
    width: auto !important;
    height: auto !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
}

button.favoriteBtn.pc-only {
    width: 124px;
    height: 35px;
    background: #fff;
    border: 1px solid #989483;
    border-radius: 20px;
    padding: 0;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: #333333;
    transition: all 0.2s ease;
}

button.favoriteBtn.pc-only:hover {
    opacity: 0.8;
}

/* お気に入り済状態のスタイル */
button.favoriteBtn.pc-only.active {
    background: #6782AE;
    border-color: #6782AE;
    color: #fff;
}

.mobile-only {
    display: none !important;
}


@media (max-width: 768px) {
    .pc-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }


    /* スマホ時の構造と間取りのテキストサイズ */
    .style-info p {
        font-size: 10px !important;
    }

    /* スマホ時のカードタイトルスタイル */
    main .cardG .card-contentT {
        font-size: 14px;
        color: #333333;
        font-weight: 700;
        line-height: 1.36;
        margin-bottom: 4px;
    }
}

/* お気に入りボタンのスタイル（スマホ用） */
.favorite-btn {
    background: none !important;
    border: none !important;
    padding: 8px !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.favorite-icon {
    width: 17px;
    height: 20px;
    transition: all 0.2s ease;
}

.favorite-btn:hover .favorite-icon {
    transform: scale(1.1);
}
