@keyframes filter_fixed_In {
    0% {
      transform: translateY(-20px);

    }
    100% {
      transform: translateY(0);

    }
  }

input[type="checkbox"] {
    position: relative;
    width: 22px;
    height: 22px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    /* 枠線を削除 */
    background-image: url('../media/check_off.svg');
    /* 通常状態の画像を指定 */
    background-size: cover;
    /* 画像をフィット */
    background-repeat: no-repeat;
    cursor: pointer;

}

input[type="checkbox"]:checked:before {
    position: absolute;
    top: 0px;
    left: 0.1px;
    width: 100%;
    height: 100%;
    background-image: url('../media/check_on.svg');
    background-size: cover;
    /* 画像をフィットさせる */
    background-repeat: no-repeat;
    content: '';
}


#filter {
    width: 1660px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 170px;
}

@media only screen and (max-width: 1670px) {
    #filter {
        width: 90%;
        margin: auto;
        display: grid;
        grid-template-columns: 1fr 170px;
    }
}

@media only screen and (max-width: 700px) {
    #filter {
        display: none;
    }
}

#filter_fixed {
    width: 550px;
    margin: auto;
    display: none;
    grid-template-columns: 1fr;
    position: fixed;
    left: 5%;
    z-index: 100;
    background-color: #031cbf;
    top: 5%;
    height: 50px;
    border-radius: 100px;

    animation: filter_fixed_In 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@media only screen and (max-width: 700px) {
    #filter_fixed {
        display: none;
    }
}

#filterBtn {
    display: grid;
    grid-template-columns: repeat(auto-fill, 120px);
    margin-top: 7px;
}

#filterBtn_fixed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    margin-top: 7px;
}

/* #filterBtn 以下の label のスタイル */
#filterBtn label {
    margin-left: 5px;
    font-size: 15px;
    position: relative;
    top: -5.7px;
    font-weight: 700;
}

#filterBtn_fixed label {
    margin-left: 5px;
    font-size: 15px;
    position: relative;
    top: -5.7px;
    font-weight: 700;
    color:#ffffff;
}

/* #filterBtn 以下の p のスタイル */
#filterBtn p {
    font-size: 10px;
    display: inline;
    margin: 0;
    position: relative;
    top: -13px;
    font-weight: 700;
}

#filterBtn_fixed p {
    font-size: 10px;
    display: inline;
    margin: 0;
    position: relative;
    top: -13px;
    font-weight: 700;
    color:#ffffff;
}
