@charset "UTF-8";

/* base.css上書き */
:root{
    --header-top-height: 0px;
    --header-bottom-height: 0px;
}

header {
    position: static;
    margin-top: var(--pwa-leader-height);
}

.header-top {
    padding: 16px 0;
    justify-content: center;
    width: 100vw;
    height: auto;
    background-image: repeating-linear-gradient(135deg, transparent, transparent 2px, rgba(235, 235, 235, 1) 2px, rgba(235, 235, 235, 1) 4px );
}
.header-bottom {
    height: 72px;
    flex-direction: column;
}

@media screen and (min-width: 480px) {
    .header-bottom {
        height: 48px;
        flex-direction: row;
    }    
}

.header-bottom-item {
    border-bottom: 1px dashed #fff;
}

.main-wrapper {
    margin-top: 0;
}
/* base.css上書き終了 */
/* .element.css上書き */
@media screen and (min-width: 1280px) {
    .element-bottom {
        display: flex;
    }
}
/* .element.css上書き終了 */

#hero_adjustment, #card_adjustment, #ranking, #deck {
    padding-top: calc(var(--pwa-leader-height));
    margin-top: calc(-1 * var(--pwa-leader-height));
    margin-bottom: 16px;
}

@media screen and (min-width: 1280px) {
    #deck .element-bottom-item-bottom .element-bottom-item-bottom-item:first-child {
        margin-right: 0px;
    }
}

.header-top img{
    width: 350px;
    height: auto;
}

@media screen and (min-width: 480px) {
    .header-top {
        padding: 0;
    }
    .header-top img {
        width: 40%;
        height: 200px;
        object-fit: cover;
    }   
}

.header-bottom-item-wrapper {
    display: flex;
    width: 100%;
    height: 36px;
}

.header-bottom-item-wrapper:last-child .header-bottom-item {
    border-bottom: none;
}

@media screen and (min-width: 480px) {
    .header-bottom-item-wrapper {
        height: 48px;
    }

    .header-bottom-item-wrapper .header-bottom-item {
        border-bottom: none;
        border-right: 1px dashed #fff;
    }

    .header-bottom-item-wrapper:last-child .header-bottom-item:last-child {
        border-right: none;
    }
}

.element-bottom-item {
    margin: 10px 10px 16px 10px;
}

@media screen and (min-width: 1280px) {
    .element-bottom-item {
        flex: 1;
    }
}

.element-bottom-item-top {
    margin-bottom: 6px;
    display: block;
    color: #000;
}

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

@media screen and (min-width: 1280px) {
    .element-bottom-item-bottom-item {
        flex: 1;
    }
}

@media screen and (min-width: 1280px) {
    .element-bottom-item-bottom .element-bottom-item-bottom-item:first-child {
        margin-right: 20px;
    }
}

.element-bottom-item-bottom-item-header {
    margin: 0 0 8px 16px;
    font-weight: normal;
}

.element-bottom-item-bottom-item-content {
    margin-bottom: 16px;
    padding: 16px 0 16px 16px;
    display: flex;
    align-items: center;
    color: #000;
    text-decoration-line: underline;
    text-decoration-color: #000;
    text-decoration-style: solid;
    font-weight: bold;
    background-image: repeating-linear-gradient(135deg, transparent, transparent 2px, rgba(235, 235, 235, 1) 2px, rgba(235, 235, 235, 1) 4px );
    border-radius: 5px;
}

.element-bottom-item-bottom-item-content img {
    width: auto;
    height: 56px;
}

@media screen and (min-width: 480px) {
    .element-bottom-item-bottom-item-content img {
        height: 64px;
    }
}

@media screen and (min-width: 1280px) {
    .element-bottom-item-bottom-item-content img {
        height: 76px;
    }
}

.element-bottom-item-bottom-item-content-text {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 56px;
}

@media screen and (min-width: 480px) {
    .element-bottom-item-bottom-item-content-text {
        height: 64px;
    }
}

@media screen and (min-width: 1280px) {
    .element-bottom-item-bottom-item-content-text {
        height: 76px;
    }
}


.element-bottom-item-bottom-item-content-text p {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    width: 90%;
    height: 56px;
    text-align: center;
    background-color: #fff;
    border-radius: 5px;
}

@media screen and (min-width: 480px) {
    .element-bottom-item-bottom-item-content-text p {
        height: 64px;
    }
}

@media screen and (min-width: 1280px) {
    .element-bottom-item-bottom-item-content-text p {
        height: 76px;
    }
}

.deck-wrapper {
    flex-direction: column;
}

.deck-item {
    display: flex;
    width: 100%;
    justify-content: left;
    align-items: start;
}

.deck-wrapper .deck-item:first-of-type {
    margin-bottom: 16px;
}

.deck-item-content {
    margin: 0;
}

.deck-item-content.cards {
    margin-right: 16px;
}

.cards img {
    height: 44px;
}

.medals img {
    height: 44px;
}