@charset "UTF-8";

/* お知らせ一覧 */
.category {
    background-color: #fff;
    width: 40%;
    padding: 20px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    margin-right: 10%;
}


.category_titlle {
    font-weight: bold;
    color: #FFA3A6;
    font-size: 30px;
    text-transform: uppercase;
}

.category-list {
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.category-list-item button{
    padding: 0.3em 1em;
}

.category-list li+li {
    margin-left: 15px;
}

/* .category-list-item {
    margin: 0 5px;
} */

.js-sort,
.category-list-item a{
    color: #fff;
    border: none;
    border-radius: 30px;    
    padding: 0.3em 1em;
    display: block;
    background: #DF7B7E;
    min-width: 110px;
    text-align: center;
    transition: .4s;
    cursor: pointer;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-between; */
    /* ↑gap5%を追加 */
        width: 80%;
            margin: 138px auto 205px;
            gap:100px 5%;
}

.product-list-item {
        filter: drop-shadow(0 0 24px rgba(0, 0, 0, 0.1));
    /* width: calc(100% / 5); */
    width: 30%;
    background-color: #fff;
    border-radius: 30px;
}

.product-list-item img{
    border-radius:30px 30px 0 0;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.product-list-item span {
    color: #fff;
    padding: 0.3em 1em;
    margin: 1em;
    border-radius: 30px;
    width: 30%;
    text-align: center;
    min-width: 110px;
    background: #DF7B7E;
    display: inline-block;
    white-space: nowrap;
}

.topics_textarea{
    margin-right: 1em;
    margin-left: 1em;
    margin-bottom: 3em;
}

.topics_date{
    color: #314850;
}

.topics_text{
    color: #314850;
}

@media (max-width: 768px) {
.category {
width: 90%;
margin: 50px auto;

    }

.product-list{
    flex-direction: column;
}

.product-list{
    margin-top: 0;
    gap: 30px 0;
    align-items: center;
}

.product-list-item{
    width: 90%;
}

.js-sort,
.category-list-item a{
    min-width: 80px;
}

.product-list-item span {
    font-size: 14px;
    width: 20%;
    min-width: 80px;
}

.topics_date{
    font-size: 12px;
}

.topics_text{
    font-size: 14px;
}

.bread_titlle{
    text-wrap: wrap;
}

    }