@charset "UTF-8";

/* element.css上書き */
.element__top {
    display: block;
}
/* element.css上書き終了 */

.deck__info {
    margin-top: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.deck__tags {
    display: flex;
}

.deck__tags p {
    margin-right: 4px;
    min-width: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px 6px;
    background-color: var(--theme-color-2);
    border-radius: 5%;
}

.deck__tags p:last-child {
    margin-right: 0;
}

@media screen and (min-width: 480px) {
    .deck__tags p {
        min-width: 80px;
    }
}

@media screen and (min-width: 1280px) {
    .deck__tags p {
        min-width: 100px;
    }
}

@media screen and (min-width: 480px) {
    .deck__content {
        display: flex;
    }
}

@media screen and (min-width: 1280px) {
    .deck__content {
        display: flex;
    }
}

.deck__cards {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 8px;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (min-width: 480px) {
    .deck__cards {
        margin-left: 0;
        margin-right: 0;
        width: 60%;
    }
}

@media screen and (min-width: 1280px) {
    .deck__cards {
        margin-left: 0;
        margin-right: 0;
        width: 60%;
    }
}

.deck__card {
    margin-left: 4px;
}

.deck__card:first-child {
    margin-left: 0;
}

.deck__card img {
    width: 63px;
    height: auto;
}

@media screen and (min-width: 480px) {
    .deck__card img {
        width: 56px;
    }
}

@media screen and (min-width: 1280px) {
    .deck__card img {
        width: 96px;
    }
}

.deck__content--secondary {
    margin-bottom: 8px;
    display: flex;
    justify-content: start;
    align-items: center;
}

@media screen and (min-width: 480px) {
    .deck__content--secondary {
        width: 40%;
        justify-content: center;
    }
}

@media screen and (min-width: 1280px) {
    .deck__content--secondary {
        width: 40%;
        justify-content: center;
    }
}

.deck__content--secondary button {
    flex: 1;
    padding: 8px 4px;
    color: #fff;
    background-color: var(--theme-color);
    border: none;
    outline: none;
    border-radius: 5%;
}

@media screen and (min-width: 480px) {
    .deck__content--secondary button {
        display: none;
    }
}

@media screen and (min-width: 1280px) {
    .deck__content--secondary button {
        display: none;
    }
}

.deck__medals {
    margin-right: 8px;
    display: flex;
    justify-content: start;
    align-items: center;
}

@media screen and (min-width: 480px) {
    .deck__medals {
        margin-right: 0;
        width: 100%;
        justify-content: center;
    }
}

@media screen and (min-width: 1280px) {
    .deck__medals {
        margin-right: 0;
        width: 100%;
        justify-content: center;
    }
}

.deck__medals img {
    width: 48px;
    height: auto;
}

@media screen and (min-width: 480px) {
    .deck__medals img {
        width: 30%;
        max-width: 80px;
    }
}

@media screen and (min-width: 1280px) {
    .deck__medals img {
        width: 100px;
    }
}

.deck_button {
    width: 33%;
}

@media screen and (min-width: 480px) {
    .deck__descriptions {
        display: block !important;
    }
}

.deck__description {
    padding: 6px;
}

.deck__description h3 {
    margin-bottom: 2px;
}
