@charset "utf-8";

#pokemon {
    width: auto;
}

#pokemon section:nth-child(1) {
    padding: 40px 0;
    background: #000;
    text-align: center;
}

#pokemon section:nth-child(1) h1 {
    margin-top: 1em;
    font-size: 1.5em;
    color: #fff;
    height: 5em;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#pokemon section:nth-child(1) h1::before {
    content: '';
    background: url(/img/usr/freepage/202608_pokemon/mb.png) center / 100% no-repeat;
    width: 5em;
    height: 5em;
    position: absolute;
    top: 0;
    left: calc(50% - 2.5em);
}

#pokemon_main_img {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
}

#pokemon_main_img figure {
    flex-basis: 25%;
}

#pokemon_main_img figure:nth-child(1) {
    order: 2;
}

#pokemon_main_img figure:nth-child(2) {
    order: 3;
}

#pokemon_main_img figure:nth-child(3) {
    order: 1;
}

#pokemon_main_img figure:nth-child(4) {
    order: 4;
}

#pokemon_main_sub {
    margin-top: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

#pokemon_main_logo {
    height: 60px;
}

#pokemon_main_logo img {
    width: auto;
    height: 100%;
}

#pokemon_main_cr {
    height: 1.5em;
}

#pokemon_main_cr img {
    height: 100%;
}

#pokemon_main_thermos {
    text-align: center;
    height: 40px;
}

#pokemon_main_thermos img {
    width: auto;
    height: 100%;
}

#pokemon_main_desc {
    margin-top: 1em;
    font-weight: bold;
}


@media screen and (max-width: 768px) {
    #pokemon_main_thermos {
        height: 8vw;
    }

    #pokemon section:nth-child(1) h1 {
        padding: 0;
        font-size: 1.25em;
        color: #fff;
    }

    #pokemon_main_img {
        margin: 4vw 0 0;
    }

    #pokemon_main_img figure {
        flex-basis: 50%;
    }

    #pokemon_main_img figure:nth-child(1) {
        order: 1;
    }

    #pokemon_main_img figure:nth-child(2) {
        order: 2;
    }

    #pokemon_main_img figure:nth-child(3) {
        order: 3;
    }

    #pokemon_main_sub {
        margin-top: 4vw;
        gap: 2vw;
    }

    #pokemon_main_logo {
        height: 10vw;
    }

    #pokemon_main_cr {
        height: 1.5em;
    }

    #pokemon section .freepage_item_list.freepage_item_list_small {
        margin: 0;
    }
}