.category-access-info h3,
.category-access-info h4,
.category-access-block h4 {
    font-family: "Rounded Mplus 1c", "Hiragino Maru Gothic Pro", "ヒラギノ丸ゴ Pro W4", "Noto Sans JP", "Meiryo", sans-serif !important;
    font-weight: bold !important;
}

/* ブランドページの子ブランド一覧 */
.tax-product_brand .brand-children-list-wrap {
    margin: 0 0 3rem;
}

.tax-product_brand .brand-children-list-title {
    margin-bottom: 1.5rem;
    text-align: center;
}

.tax-product_brand .brand-children-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.tax-product_brand .brand-children-item {
    margin: 0;
    text-align: center;
}

.tax-product_brand .brand-children-item a {
    display: block;
    text-decoration: none;
}

.tax-product_brand .brand-child-thumb-wrap {
    display: block;
    width: 140px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
}

.tax-product_brand .brand-child-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.tax-product_brand .brand-child-name {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

@media (min-width: 768px) {
    .tax-product_brand .brand-children-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tax-product_brand .brand-child-thumb-wrap {
        width: 180px;
    }
}

        .post-type-archive-product .products .product .price:empty,
        .tax-product_cat .products .product .price:empty,
        .tax-product_tag .products .product .price:empty,
        .single-product .product .price:empty {
            display: none !important;
        }

        .product-brand-list {
            font-size: 13px;
            color: #666;
            margin-bottom: 6px;
            line-height: 1.4;
        }

        .product-brand-list a {
            color: inherit;
            text-decoration: none;
        }

        .product-brand-list a:hover {
            text-decoration: underline;
        }

        .product-brand-link.is-parent-brand {
            font-weight: 600;
            display: block !important;
        }

        .product-brand-link.is-child-brand {
            font-size: 12px;
            color: #999;
            display: block !important;
        }


/* カテゴリーページ：説明文 + サイドバー */
.term-description-with-sidebar {
    display: flex;
    gap: 2em;
    align-items: flex-start;
    margin-top: 1em;
}

.webar-link {
    flex: 0 0 220px;
    text-align: center;
}

.webar-link img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 0.8em;
    display: block;
}

.webar-btn {
    display: inline-block;
    padding: 0.6em 1.5em;
    background: var(--color-main-dark);
    color: #fff !important;
    border-radius: 30px;
    font-size: 0.9em;
    text-decoration: none;
    margin-top: 0.5em;
}

.webar-btn:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .term-description-with-sidebar {
        flex-direction: column;
    }
    .webar-link {
        width: 100%;
        flex: none;
    }
    .webar-link img {
        max-width: 100%;
    }
}

.category-access-info {
    margin: 0 0 2em 0 ;
    padding: 1em 1.5em;
    background: var(--color-surface);
    border-radius: 8px;
}

.category-access-info h3 {
    font-size: 1.3em;
    margin-top: 0;
    color: var(--color-main-dark) !important;
}

.category-access-grid {
    display: flex;
    gap: 1.5em;
    flex-wrap: wrap;
}

.category-access-block {
    flex: 1 1 calc(33% - 1.5em);
    min-width: 200px;
    background: #fff;
    border-radius: 8px;
    padding: 1em;
    font-size: 0.8em;
}

.category-access-block h4 {
    margin-top: 0;
    color: var(--color-main-dark) !important;
    font-size: 1.2em;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5em;
    margin-bottom: 0.8em;
}

@media (max-width: 768px) {
    .category-access-grid {
        flex-direction: column;
    }
    .category-access-block {
        flex: none;
        width: 100%;
    }
}
