body {
    background: var(--bg-color);
}

h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.filter-area {
    margin-left: 3%;
}

/* 絞り込み用セレクトボックスのスタイリング */
select {
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 5px 25px 5px 10px;
    font-size: 14px;
    background-color: #f9f9f9;
    margin-left: 5px;
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 3px rgba(52, 152, 219, 0.5);
}

/* ul */
.pdct-container {
    padding: 0;
    display: grid;
    gap: 20px;
    margin: 0;
    user-select: none;
    color: #333;
    margin: 2% 3%;
}

@media (min-width: 1200px) {
    .pdct-container {
        grid-template-columns: repeat(4, 1fr);
    }

    .pdct-box .pdct-name {
        font-size: 1.2em;
        font-weight: bold;
    }

    .pdct-box .pdct-headline {
        font-size: 1.0em;
    }
}

@media (max-width: 1199px) {
    .pdct-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .pdct-container {
        grid-template-columns: 1fr;
        margin: 2% 15%;
    }
}

/* li */
.pdct-contents {
    border-radius: 12px;
    border-top: none;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pdct-contents:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.5);
}

/* 画像と詳細のコンテナ */
.pdct-box {
    padding: 3%;
    margin: 0;
    height: 100%;
    width: 100%;
    background-color: #F8F7F3;
}

/* img */
.pdct-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    /* border-radius: 2% 2% 0 0; */
    pointer-events: none;
}

/* pdct-name, pdct-price, pdct-makerを含むコンテナ */
.pdct-details {
    padding: 3%;
    font-size: 1.0em;
    margin-bottom: 0;
}

.pdct-name {
    font-size: 1.2em;
    margin-bottom: 4%;
}

.pdct-headline {
    font-size: 1.1em;
    margin-bottom: 4%;
}

.viewmore {
    text-align: right;
}

.viewmore::after {
    content: " →";
    font-weight: bold;
    font-size: 1.2em;
}

.pdct-tags-container {
    /* margin-left: 3%; */
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.pdct-tag {
    display: block;
    font-size: 0.9em;
    /* border: 1px solid #333; */
    border-radius: 5px;
    background: var(--main-color);
    color: #fff;
    padding: 2%;
    user-select: none;
}

.pdct-tag::before {
    content: "#";
}
