* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    width: 100%;
    background-color: white;
    font-family: "yu-gothic-pr6n", sans-serif;
    font-weight: 400;
    font-style: normal;
}
main {
    display: flex;
    justify-content: center;
}
h1 {
    font-family: "Montagu Slab", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
nav {
   z-index: 100; 
}
.wrapper {
    width: 100%;
    max-width: 826px;
    padding-top: 120px;
    margin: 0 20px;
}
.PC_filter_container {
    display: flex;
    justify-content: right;
    margin-bottom: 52px;
    margin-top: 12px;
}
.SP_filter_container {
    display: none;
}
summary, ul {
    font-family: "Noto Sans Bengali", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}
.filter_list {
    display: flex;
    gap: 30px;
    list-style: none;
    font-size: 14px;
}
.filter_list li {
    cursor: pointer;
    position:relative;
}
.filter_list li::after {
    content:'';
    width: 0%;
    height: 1px;
    background-color: black;
    position:absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.2s ease-out; /* アニメーション */
}
.filter_list li.is-active::after {
    width: 100%;
}
.item_categories {
    display: flex;
    gap: 20px;
    list-style: none;
}
.item_categories li {
    line-height: 1.2;
}
.comingSoonText {
    text-align: center;
    font-size: 14px;
}
.item_container {
    margin: 0 auto;
}
.item_container .item {
    width: 250px;
}


@media(max-width:866px) {
    .wrapper {
        width: 100%;
        max-width: 500px;
        margin: 68px auto 0;
        padding: 0 30px;
    }
    h1 {
        font-size: 32px;
    }
    .PC_filter_container {
        display: none;
    }
    .SP_filter_container {
        z-index: 99;
        position: fixed;
        top: 75px;
        right: 30px;
        display: block;
        width: 110px;
    }   
    .item_container {
        margin-top: 28px;
    }
    .item_container .item {
        width: 100%;
    }
    summary {
        line-height: 28px;
        text-align: right;
        list-style: none;
        cursor: pointer;
        position: relative;
        margin-right: 24px;
        margin-top: 3px;
    }
    summary, ul {
        font-weight: 200;
    }
    summary::-webkit-details-marker { display: none }
    summary::before {
        content: '';
        width: 8px;
        height: 8px;
        border-top: solid 1px #555;  
        border-right: solid 1px #555;   
        transform: rotate(135deg);
        position: absolute;
        right: -10px;
        top: 50%;
        margin-top: -8px;
        /* transition: transform 0.3s ease; */
      }
    details[open] summary::before {
        margin-top: -4px;
        transform: rotate(-45deg); 
    }
    .toggle_inner {
        width: 100%;
        padding: 10px;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transition: max-height .7s ease, opacity .7s ease;
    }
    details[open] .toggle_inner {
        max-height: 500px; 
        opacity: 1;
    }
    .toggle_inner li {
        line-height: 1.8rem;
    }
    .SP_filter_container {
        background-color: rgb(221, 221, 221,0.7);
    }
}