﻿/* セクションタイトル */
.section-title {
    position: relative;
    text-align: center;
    margin: 40px 0;
}

.title-text {
    display: inline-block;
    position: relative;
    font-size: 1.6rem;
    letter-spacing: 0.2em;
    margin: 0;
    padding: 0 12px;
}

    .title-text::before,
    .title-text::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 150px;
        height: 1.5px;
        background-color: #333;
    }

    .title-text::before {
        left: -150px;
    }

    .title-text::after {
        right: -150px;
    }

/* 商品カテゴリコンテナ */
.product-category-container {
    margin-bottom: 40px;
}

/* 商品カテゴリアイテム */
.product-category-item {
    overflow: hidden;
    transition: all 0.3s ease;
}

    .product-category-item:hover {
        transform: translateY(-5px);
    }

.category-link {
    display: flex;
    color: inherit;
    text-decoration: none;
}

/* 商品画像 */
.category-image-container {
    background-color: var(--dk-gray4);
    text-align: center;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    height: 100px;
}

/* SVGアイコン表示用 */
.svg-container {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--dk-theme-color);
    position: relative;
    top: 15px;
}

.svg-container svg {
    max-width: 100%;
    max-height: 120px;
    width: 70px;
    height: 70px;
        color:var(--dk-theme-color);
}

/* 商品情報 */
.category-info {
    padding: 15px;
    text-align: center;
}

.category-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom:4px;
}

.category-price-label {
    font-size: 1rem;
    color: #666;
}

.category-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #d9534f;
    margin: 0;
}

.price-unit {
    font-size: 1rem;
}

/* 検索バナー */
.search-banner-container {
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.search-banner-link {
    display: block;
}

.search-banner-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* サービスのご案内 */
.service-info-container {
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

.service-image-container {
    padding: 0;
}

.service-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}

.service-description {
    padding: 15px;
    text-align: center;
    background-color: #f8f8f8;
}

.service-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: bold;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .title-text::before,
    .title-text::after {
        width: 50px;
    }

    .title-text::before {
        left: -50px;
    }

    .title-text::after {
        right: -50px;
    }

    .title-text {
        padding: 0 20px;
        font-size: 1.5rem;
    }

    .view-all-button-container,
    .view-all-notice-button-container {
        text-align: center;
    }
}
/*カルーセルをスクロールできるように*/
.contents-container .rz-carousel-items {
    touch-action: pan-y;
}