html {
    font-size: 62.5%;
}

h2 {
    font-size: 4.0rem;
    text-align: center;
    margin: 0.75rem 0;
}

h3 {
    font-size: 2.0rem;
    margin: 0.5rem;

}

p * {
    font-size: 1.8vw;
}

p {
    font-size: 1.4rem
}

body {
    background-color: #171c61;
    margin: 0;

}

/*ヘッターここから*/
.top {
    height: 100%;
    width: 500px;
    margin: 5% auto 0 auto;
}

.top .title-img1 {
    display: none;
}

/*ヘッターここまで*/

/*メインここから*/
.contents-inner {
    width: 95%;
    height: auto;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.description {
    width: 98%;
    height: auto;
    margin: 3% 0;
    padding: 1%;
    background-color: #FFFFFF;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold;
}

/*ランキング:映像:遊び方ここから*/
.vd-cm {
    width: 100%;
    height: 300px;
    background-color: #000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 10px;
    margin-top: 3%;
}

.vd {
    width: 40%;
    height: 275px;
    background-color: #fff;
}

.cm {
    width: 50%;
    height: 275px;
    background-color: #fff;
    text-align: center;
    font-weight: bold;

}

.rank-t {
    width: 100%;
    height: auto;
    display: none;
    border-radius: 10px;
    background-color: #fff;
    background-image: url(../images/game/b_panzou.png), url(../images/game/b_gori.png), url(../images/game/b_tira.png);
    background-size: 100px;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: 10% 30%, 85% 55%, 0% 80%;
}

.top-3 {
    width: 100%;
    height: 50px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-3 div {
    height: 100%;
    width: 80%;
    border-bottom: 1px solid rgb(75, 75, 75);
    display: flex;
    justify-content: center;
    align-items: center;

}

.top-20 {
    height: auto;
    text-align: center;
}

.rank {
    width: 100%;
    height: auto;
    min-height: 300px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: relative;
}

input,
.close,
.vd-c {
    display: none;
}

.cp_tabpanel-f p {
    font-size: 1.8rem;
}

.cp_tab *,
.cp_tab *:before,
.cp_tab *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.cp_tab {
    margin: 1em 0;
}

.cp_tab > input[type='radio'] {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    outline: none;
    background: none;
    -webkit-appearance: none;
    appearance: none;
    display: none;

}

.cp_tab .cp_tabpanels {
    position: absolute;
    width: 100%;
    min-height: 150px;
    /* エリアの高さ */
    margin: 0;
}

.cp_tab .cp_tabpanel {
    position: absolute;
    width: 100%;
    opacity: 0;
    padding: 0.5em 1em;
    transform: translateX(-120%);
    -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: transform 0.5s, opacity 0.5s;
    transition: transform 0.5s, opacity 0.5s, -webkit-transform 0.5s;
    display: flex;
    justify-content: space-around;
}

.cp_tab .cp_tabpanel .cp_tabpanel-f {
    width: 30%;
}

.cp_tab > input:first-child:checked ~ .cp_tabpanels > .cp_tabpanel:first-child,
.cp_tab > input:nth-child(3):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(2),
.cp_tab > input:nth-child(5):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(3),
.cp_tab > input:nth-child(7):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(4),
.cp_tab > input:nth-child(9):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(5),
.cp_tab > input:nth-child(11):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(6) {
    opacity: 1;
    transform: translateY(0px);
}

.cp_tab > input:first-child:checked ~ .cp_tabpanels > .cp_tabpanel:first-child {
    background: #fff;
    border-radius: 0 10px 10px 10px;
    background-image: url(../images/game/b_panzou_p.png);
    background-repeat: no-repeat;
    background-position: center bottom;
}

.cp_tab > input:nth-child(3):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(2) {
    background: rgb(224, 224, 224);
    border-radius: 0 10px 10px 10px;
    background-image: url(../images/game/b_gori_p.png);
    background-repeat: no-repeat;
    background-position: center bottom;
}

.cp_tab > input:nth-child(5):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(3) {
    background: #90CAF9;
}

.cp_tab > input:nth-child(7):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(4) {
    background: #8BC34A;
}

.cp_tab > label {
    position: relative;
    display: inline-block;
    padding: 5px 30px;
    cursor: pointer;
    border-radius: 6px 6px 0 0;
    font-weight: bold;
}

.cp_tab > input:first-child + label {
    background: #fff;
}

.cp_tab > input:nth-child(3) + label {
    background: rgb(224, 224, 224);
}

.cp_tab > input:nth-child(5) + label {
    background: #90CAF9;
}

.cp_tab > input:nth-child(7) + label {
    background: #8BC34A;
}

.cp_tab > label:hover {
    color: #0066cc;
}

.cp_tab > input:focus + label {
    color: #ffffff;
}

.cp_tab > input:checked + label {
    margin-bottom: -1px;
}

@media (max-width: 480px) {
    .cp_tab {
        width: 100%;
        font-size: 0.8em;
    }

    .cp_tab label {
        padding: 0.5em;
    }
}

/* ランキング遊び方ここまで */
@media screen and (max-width: 1025px) {
    p * {
        font-size: 2vw
    }

    p {
        font-size: 1.6rem;
    }

    .top .title-img1 {
        display: block;
    }

    .top .title-img2 {
        display: none;
    }

    .vd-cm {
        display: none;
    }

    .close,
    .vd-c {
        display: block;
    }


    .hidden_show {
        height: 0;
        padding: 0;
        overflow: hidden;
        opacity: 0;
        transition: 0.8s;
        pointer-events: none;
        /*隠してるコンテンツが重なってるため無効化*/
    }

    /*クリックで中身表示*/
    input:checked ~ .hidden_show {
        padding: 10px 0;
        height: auto;
        opacity: 1;
        pointer-events: all;
        /*表示したら有効化*/
    }

    .vd-t {
        width: 90%;
        height: 80%;
        background-color: black;
        position: fixed;
        top: 10%;
        left: 5%;
    }

    .vd-box {
        width: 100%;
        height: 100%;
        position: relative;
    }

    .close {
        position: relative;
        z-index: 2;
    }

    .close img {
        position: absolute;
        right: 0%;
    }

    .vd-c {
        position: absolute;
        top: 10%;
        width: 100%;
        height: 70vh;
        background-color: #000;
        z-index: 1;
    }


    .zyuni {
        pointer-events: none;
    }

}

@media screen and (max-width: 600px) {
    p * {
        font-size: 4vw;
        margin: 5% 0;
    }

    .top-20 p * {
        font-size: 3.3vw;
    }

    p {
        font-size: 1.2rem;
        margin: 3%
    }

    .zyuni {
        line-height: 0;
    }

    .top {
        height: 100%;
        width: 300px;
    }

    .top img {
        width: 300px;
    }

    .rank {
        display: none;
    }

    .rank-t {
        display: block;
    }

}

/*ここから装飾追加*/
.zyuni:hover {
    background-color: black;
    color: white;
    border-radius: 10px;
    transition: .4s;
}
