@charset "utf-8";

/*==================================================
production
===================================*/

.main {
    padding-top: 10px;
}

.filter__buttons {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 100px));
    gap: 10px;
    justify-content: center;
    max-width: 1440px;
}

.filter__buttons button {
    /* display: block;
    width: 100px; */
    text-align: center;
    border: solid 1px var(--primary-black);
    border-radius: 50px;
    padding: 0.5em 1em;
    font-family: "roc-grotesk-condensed", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1.2rem;
    transition: 0.3s;
}

.filter__buttons button.active {
    background-color: var(--primary-black);
    color: #fff;
}

/* button__pc */
@media screen and (min-width:768px) {
    .main {
        max-width: 1440px;
        padding-top: 80px;
        margin: 0 auto;
    }
}

@media screen and (min-width:1441px) {
    .filter__buttons button {
        font-size: 60%;
    }
}

/* production__list */
.grid__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 400px));
    width: 100%;
    justify-content: center;
    gap: 0 15px;
}

.item {
    margin: 40px auto 0;
    max-width: 400px;

    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: none;
}

.grid__item__des {
    padding-top: 10px;
}

.description {
    line-height: 1.4rem;
}

.item.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.item img:hover {
  opacity: 0.5;
  transition: 0.3s;
}

/* production__list__pc */
@media screen and (min-width:768px) {
    .item {
        margin: 60px auto 0;
    }
}