@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Noto+Sans+JP:wght@100;200;300;400;500;600;700;800;900&display=swap');

html,
body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
    /*overflow-y: scroll;*/
    background-image: url(./wallpapers/bg.png);
    background-size: 250px;
    background-repeat: repeat;
}

.mt-20{
    margin-top: 20px;
}
.mt-100{
    margin-top: 100px;
}
.mt-180{
    margin-top: 180px;
}

/* SP対応 */
@media (orientation: portrait) {
    .wallpapersSP{
        display: block;
        width: 100vw;
        margin-top: 10vw;
    }

    .wallpapersPC{
        display: none;
    }

    .top_wrap {
        position: relative;
        width: 65vw;
        top: 6.7vw;
        left: 17.5vw;
    }

    .top_text {
        position: relative;
        font-size: 5vw;
        font-weight: 700;
        text-align: center;
        margin: 0 auto;
        margin-bottom: 2vw;
    }

    .top_head_wrap {
        display: flex;
        flex-flow: column;
        width: 100vw;
        text-align: center;
    }

    .head_img {
        position: relative;
        width: 90%;
        margin: auto;
        margin-top: 8.8vw;
    }

    .head_subimg {
        position: relative;
        width: 80%;
        margin: auto;
        margin-top: 5vw;
    }

    .head_subimg2 {
        position: relative;
        width: 80%;
        margin: auto;
        margin-top: 4.5vw;
    }

    .wallpaper{
        display: flex;
        flex-flow: column;
        align-items: center;
        text-align: center;
        position: relative;
        width: 75vw;
        left: 12.5vw;
        height: auto;
        padding-bottom: 1.8vw;
        background-color: #FFFFFF;
        border-radius: 10px;
    }

    .wallpaper_main{
        margin: 6vw 0 7.5vw 0;
        width: 70% !important;
        filter: drop-shadow(0.5vw 0.5vw 1.3vw rgba(0, 0, 0, 0.523));
    }

    .wallpaper img{
        width: 60%;
        filter: drop-shadow(0.5vw 0.5vw 1.3vw rgba(0, 0, 0, 0.523));
    }

    .wallpaper a{
        width: 100%;
        height: auto;
        padding-bottom: 3vw;
    }

    .chance_button{
        width: 50vw;
        margin: 40px 25vw 40px 25vw;
        align-items: center;
        text-align: center;
    }

    .chance_button img{
        width: 100%;
    }

    .pokemon_logo{
        width: 100vw;
        margin: 4vw 0 5vw 0;
        align-items: center;
        text-align: center;
    }

    .pokemon_logo img{
        width: 40%;
    }

    .footer{
        position: absolute;
        width: 100vw;
        /*position: fixed;*/
        padding-bottom: 4vw;
        align-items: center;
        text-align: center;
    }

    .footer img{
        width: 80%;
    }
}

/* PC対応 */
@media (orientation: landscape) {
    .wallpapersSP{
        display: none;
    }
    .wallpapersPC{
        display: block;
    }
    .wallpapersPC_wrap{
        display: flex;
        position: relative;
        justify-content: space-between;
        width: 50vw;
        left: 25vw;
        gap: 1.2vw;
        margin-top: 4vw;
        margin-bottom: 2vw;
    }

    .top_wrap {
        position: relative;
        width:29vw;
        top: 5vw;
        left: 35.5vw;
    }

    .top_text {
        position: relative;
        font-size: 3.5vh;
        font-weight: 700;
        text-align: center;
        margin: 0 auto;
        margin-bottom: 1vh;
    }

    .top_head_wrap {
        display: flex;
        flex-flow: column;
        width: 100vw;
        text-align: center;
    }

    .head_img {
        position: relative;
        width: 48%;
        margin: auto;
        margin-top: 6vw;
    }

    .head_subimg {
        position: relative;
        width: 41%;
        margin: auto;
        margin-top: 2.5vw;
    }

    .head_subimg2 {
        position: relative;
        width: 41%;
        margin: auto;
        margin-top: 3vw;
    }
    .wallpaper{
        display: flex;
        flex-flow: column;
        align-items: center;
        text-align: center;
        position: relative;
        width: 40%;
        height: auto;
        background-color: #FFFFFF;
        border-radius: 10px;
        padding-bottom: 0.45vw;
    }

    .wallpaper_main{
        margin: 1.7vw 0 1.8vw 0;
        width: 70% !important;
        /*box-shadow: 4px 4px 8px gray;*/
        filter: drop-shadow(0.2vw 0.2vw 0.4vw rgba(0, 0, 0, 0.523));
    }

    .wallpaper img{
        width: 60%;
        /*box-shadow: 2px 2px 4px gray;*/
        filter: drop-shadow(0.2vw 0.2vw 0.4vw rgba(0, 0, 0, 0.523));
    }

    .wallpaper a{
        width: 100%;
        height: auto;
        padding-bottom: 0.75vw;
    }

    .chance_button{
        width: 24vw;
        margin: 7vw 38vw 0 38vw;
        align-items: center;
        text-align: center;
    }

    .chance_button img{
        width: 100%;
    }

    .pokemon_logo{
        width: 100vw;
        margin: 5vw 0 2vw 0;
        align-items: center;
        text-align: center;
    }

    .pokemon_logo img{
        width: 20%;
    }

    .footer{
        position: absolute;
       /* position: fixed;*/
        width: 100vw;
        padding-bottom: 3vw;
        align-items: center;
        text-align: center;
    }

    .footer img{
        width: 50%;
    }
}