* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Noto Sans JP', sans-serif;
            background-color: #FAFAFA;
            color: #2C2C2C;
            line-height: 1.6;
        }

        .navitopicpath_ {
            overflow: hidden;
            font-size: 12px;
            font-weight: bold;
            margin: 0 auto 30px;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 60px 20px;
        }

        h1 {
            font-family: 'Oswald', sans-serif;
            font-weight: 300;
            font-size: 2.5rem;
            letter-spacing: 2px;
            text-align: center;
            margin-bottom: 15px;
            color: #2C2C2C;
        }

        .subtitle {
            text-align: center;
            color: #666;
            font-size: 0.95rem;
            margin-bottom: 50px;
        }

        .search-box {
            background: white;
            border: 1px solid #E0E0E0;
            border-radius: 8px;
            padding: 40px;
            margin-bottom: 50px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }

        .search-content {
            display: flex;
            gap: 30px;
            align-items: center;
        }

        .search-image {
            flex-shrink: 0;
        }

        .search-image img {
            max-width: 250px;
            height: auto;
            display: block;
        }

        .search-form {
            flex: 1;
        }

        .search-note {
            text-align: center;
            color: #666;
            font-size: 0.85rem;
            margin-bottom: 25px;
            padding-bottom: 20px;
            border-bottom: 1px solid #F0F0F0;
        }

        .input-group {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            justify-content: center;
            align-items: flex-end;
            margin-bottom: 30px;
        }

        .input-field {
            flex: 1;
            min-width: 150px;
            max-width: 200px;
        }

        .input-field label {
            display: block;
            margin-bottom: 8px;
            font-size: 0.9rem;
            color: #666;
            font-weight: 500;
        }

        .input-wrapper {
            position: relative;
        }

        .input-field input {
            width: 100%;
            padding: 12px 40px 12px 15px;
            border: 1px solid #D0D0D0;
            border-radius: 4px;
            font-size: 1rem;
            transition: border-color 0.3s;
        }

        .input-field input:focus {
            outline: none;
            border-color: #2C2C2C;
        }

        .unit {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #999;
            font-size: 0.9rem;
            pointer-events: none;
        }

        @media (max-width: 768px) {
            .unit {
                right: 10px;
                font-size: 0.8rem;
            }
        }

        .search-button {
            padding: 12px 50px;
            background-color: #2C2C2C;
            color: white;
            border: none;
            border-radius: 4px;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s;
            font-family: 'Noto Sans JP', sans-serif;
            font-weight: 500;
            letter-spacing: 1px;
        }

        .search-button:hover:not(:disabled) {
            background-color: #1a1a1a;
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        }

        .search-button:disabled {
            background-color: #CCC;
            cursor: not-allowed;
        }

        .filter-box {
            background: white;
            border: 1px solid #E0E0E0;
            border-radius: 8px;
            padding: 25px 40px;
            margin-bottom: 30px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            display: none;
        }

        .filter-box.active {
            display: block;
        }

        .filter-group {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            align-items: center;
        }

        .filter-field {
            flex: 1;
            min-width: 250px;
            position: relative;
        }

        .filter-field label {
            display: block;
            margin-bottom: 8px;
            font-size: 0.9rem;
            color: #666;
            font-weight: 500;
        }

        .filter-field select {
            width: 100%;
            padding: 11px 30px 11px 15px;
            border: 1px solid #D0D0D0;
            border-radius: 4px;
            font-size: 0.95rem;
            background-color: white;
            cursor: pointer;
            transition: border-color 0.3s;
            height: 44px;
            line-height: normal;
            box-sizing: border-box;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"%3E%3Cpath fill="%23666" d="M6 9L1 4h10z"/%3E%3C/svg%3E');
            background-repeat: no-repeat;
            background-position: right 10px center;
            background-size: 12px;
        }

        .filter-field select:focus {
            outline: none;
            border-color: #2C2C2C;
        }

        /* カスタムカラーセレクト */
        .custom-select {
            position: relative;
            width: 100%;
        }

        .custom-select-trigger {
            width: 100%;
            padding: 10px 35px 10px 15px;
            border: 1px solid #D0D0D0;
            border-radius: 4px;
            font-size: 0.95rem;
            background-color: white;
            cursor: pointer;
            transition: border-color 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
            position: relative;
        }

        .custom-select-trigger:hover {
            border-color: #2C2C2C;
        }

        .custom-select-trigger::after {
            content: '▼';
            position: absolute;
            right: 12px;
            font-size: 0.7rem;
            color: #666;
        }

        .custom-select.open .custom-select-trigger::after {
            content: '▲';
        }

        .custom-select-options {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border: 1px solid #D0D0D0;
            border-top: none;
            border-radius: 0 0 4px 4px;
            max-height: 300px;
            overflow-y: auto;
            z-index: 100;
            display: none;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        .custom-select.open .custom-select-options {
            display: block;
        }

        .custom-select-option {
            padding: 10px 15px;
            cursor: pointer;
            transition: background-color 0.2s;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .custom-select-option:hover {
            background-color: #F5F5F5;
        }

        .custom-select-option.selected {
            background-color: #E8E8E8;
        }

        .color-dot {
            display: inline-block;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            flex-shrink: 0;
            border: 1px solid #D0D0D0;
        }

        .color-dot.white {
            background-color: white;
            border: 1px solid #999;
        }


        /* カラーフィルター専用のスタイル */
        #colorFilter option {
            color: #2C2C2C; /* テキストは常に黒 */
        }

        #colorFilter option[value=""] {
            padding-left: 10px;
        }

        .loading {
            text-align: center;
            padding: 40px;
            color: #666;
            display: none;
        }

        .loading.active {
            display: block;
        }

        .results-header {
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 1px solid #E0E0E0;
            display: none;
        }

        .results-header.active {
            display: block;
        }

        .results-count {
            font-size: 0.95rem;
            color: #666;
        }

        .results-note {
            font-size: 0.85rem;
            color: #999;
            margin-top: 5px;
        }

        .warning-notice {
            background-color: #FFF9E6;
            border-left: 4px solid #FFB800;
            padding: 15px 20px;
            margin-bottom: 30px;
            border-radius: 4px;
            display: none;
        }

        .warning-notice.active {
            display: block;
        }

        .warning-notice p {
            margin: 0;
            color: #856404;
            font-size: 0.9rem;
        }

        .no-results {
            text-align: center;
            padding: 60px 20px;
            color: #999;
            display: none;
        }

        .no-results.active {
            display: block;
        }

        .results-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }

        .product-card {
            background: white;
            border: 1px solid #E0E0E0;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.3s;
            opacity: 0;
            animation: fadeIn 0.5s forwards;
        }

        @keyframes fadeIn {
            to {
                opacity: 1;
            }
        }

        .product-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 16px rgba(0,0,0,0.1);
            border-color: #2C2C2C;
        }

        .product-image {
            width: 100%;
            height: 250px;
            object-fit: contain;
            background-color: #F8F8F8;
            padding: 20px;
        }

        .product-info {
            padding: 20px;
        }

        .product-name {
            font-size: 0.95rem;
            margin-bottom: 12px;
            color: #2C2C2C;
            font-weight: 500;
            line-height: 1.5;
            min-height: 3em;
        }

        .product-meta {
            font-size: 0.8rem;
            color: #999;
            margin-bottom: 12px;
        }

        .product-meta span {
            display: inline-block;
            margin-right: 10px;
        }

        .product-dimensions {
            font-size: 0.85rem;
            color: #666;
            margin-bottom: 12px;
            font-family: 'Oswald', monospace;
            letter-spacing: 0.5px;
        }

        .product-price {
            margin-bottom: 8px;
        }

        .product-price .item-price {
            font-size: 1.1rem;
            font-weight: 700;
            color: #2C2C2C;
            margin-bottom: 4px;
        }

        .product-price .unit-price {
            font-size: 0.75rem;
            color: #999;
        }

        .product-link {
            display: inline-block;
            padding: 8px 20px;
            background-color: #F5F5F5;
            color: #2C2C2C;
            text-decoration: none;
            border-radius: 4px;
            font-size: 0.85rem;
            transition: all 0.3s;
            border: 1px solid #E0E0E0;
        }

        .product-link:hover {
            background-color: #2C2C2C;
            color: white;
            border-color: #2C2C2C;
        }

        /* 最下部リンクボタンのスタイル */
        .more-link-container {
            text-align: center;
            margin-top: 60px;
            padding: 40px 20px;
        }

        .more-link-button {
            display: inline-block;
            padding: 16px 60px;
            background-color: #2C2C2C;
            color: white !important;
            text-decoration: none;
            border-radius: 4px;
            font-size: 1rem;
            font-weight: 500;
            letter-spacing: 1.5px;
            transition: all 0.3s;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        }

        .more-link-button:hover {
            background-color: #1a1a1a;
            color: white !important;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }

        @media (max-width: 768px) {
            .container {
                padding: 30px 15px;
            }

            h1 {
                font-size: 2rem;
            }

            .search-box {
                padding: 25px 20px;
            }

            .search-content {
                flex-direction: column;
            }

            .search-image img {
                max-width: 100%;
            }

            .filter-box {
                padding: 20px;
            }

            .input-group, .filter-group {
                flex-direction: column;
                align-items: stretch;
            }

            .input-field, .filter-field {
                max-width: none;
            }
            
            .filter-field select {
                padding: 11px 30px 11px 15px;
                font-size: 0.9rem;
                height: 44px;
            }

            .search-button {
                width: 100%;
                padding: 15px;
            }

            .results-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            /* モバイル用の商品カードレイアウト */
            .product-card {
                display: flex;
                flex-direction: row;
            }

            .product-image {
                width: 120px;
                height: 120px;
                flex-shrink: 0;
                padding: 10px;
            }

            .product-info {
                flex: 1;
                padding: 15px;
                display: flex;
                flex-direction: column;
            }

            .product-name {
                font-size: 0.9rem;
                min-height: auto;
                margin-bottom: 8px;
            }

            .product-meta {
                font-size: 0.75rem;
                margin-bottom: 8px;
            }

            .product-dimensions {
                font-size: 0.8rem;
                margin-bottom: 8px;
            }

            .product-price {
                margin-bottom: 8px;
            }

            .product-price .item-price {
                font-size: 1rem;
            }

            .product-price .unit-price {
                font-size: 0.7rem;
            }

            .product-link {
                padding: 6px 15px;
                font-size: 0.8rem;
                align-self: flex-start;
            }

            /* モバイル用の最下部リンクボタン */
            .more-link-container {
                margin-top: 40px;
                padding: 30px 15px;
            }

            .more-link-button {
                width: 100%;
                padding: 15px 40px;
                font-size: 0.95rem;
            }
        }