@charset "utf-8";

:root{
    --font-size--base: calc(10 / 750 * 100vw);
}

html, body{
    font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', sans-serif;
    font-size: var(--font-size--base);
}

a, .gs__cards div{
    outline: none;
    touch-callout: none;
    user-select: none;
    tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

img{
    width: 100%;
}

.dn{
    display: none;
}


/* full height */
.fullHeight{
    height: 100%;
}
.fullHeight body{
    min-height: 100%;
    display: flex;
}
.fullHeight .wrapper, .fullHeight .contents{
    width: 100%;
}
.fullHeight .contents{
    height: 100%;
}

/* button */
.btn--normal{
    width: 57.6%;
    margin: auto;
}
.btn--large{
    width: 85.866%;
    margin: auto;
}


/* pages */
.page--1{
    background-color: #161616;
}
.page{
    width: 100%;
    height: 100%;
}

.contents{
    overflow-x: hidden;
}

.inner{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}




.copyright{
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin-bottom: 6.133%;
}
.copyright img{
    width: 33.866%;
}


/* game */
.page.--play{
    display: none;
}
.page--1 .page.--play{
    display: block;
}
.page--1 .page.--play.--countdown .game{
    display: none;
}
.page{
    position: relative;
}
.page.--play:before{
    display: block;
    content: "";
    width: 100%;
    padding-bottom: 40.8%;
    background: url("../img/bg_top.png") no-repeat center top / 100% auto;
    position: absolute;
    top: 0;
    left: 0;
}
.page.--play.--countdown:before{ display: none; }
.page.--play:after{
    display: block;
    content: "";
    width: 100%;
    padding-bottom: 122.8%;
    background: url("../img/bg_bot.png") no-repeat center bottom / 100% auto;
    position: absolute;
    bottom: 0;
    left: 0;
}
.page.--play.--countdown:after{ display: none; }
.game{
    height: 100%;
    position: relative;
    z-index: 2;
}
.gh__time{
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    margin: 8.666% 0 0 8%;
}
.gh__time:before{
    display: block;
    content: "";
    background: url("../img/play/lbl_time.png") no-repeat center / 100% auto;
    position: absolute;
    top: 0;
    left: 0;
    width: 21.466%;
    padding-bottom: 6.4%;
    margin: -5.333% 0 0 6.666%;
}
.gh__card{
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: right;
    position: absolute;
    width: 100%;
    top: 0;
    right: 0;
    margin: 8.666% 8% 0 0;
}
.gh__card:before{
    display: block;
    content: "";
    background: url("../img/play/lbl_card.png") no-repeat center / 100% auto;
    position: absolute;
    top: 0;
    right: 0;
    width: 24.533%;
    padding-bottom: 6.4%;
    margin: -5.333% 0.4% 0 0;
}
.gh__time img, .gh__card img{
    width: 5.2%;
    position: relative;
    z-index: 1;
}
.gh__time img.seq--colon{
    width: 2%;
}
.gh__time img.seq--dot{
    width: 2%;
}
.gh__card .seq--slash{
    width: 4.533%;
}
.game__screen{
    padding-top: 26.666%;
    position: relative;
}
.gs__frame{
    width: 90.533%;
    border: solid 0.3rem #fff;
    background-color: #161616;
    margin: 0 auto 0;
    padding: 5.066% 0 0.666%;
}
.gs__cards{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.gs__cards div:before, .gs__cards div img{
    transition: 0.25s;
    backface-visibility: hidden;
}
.gs__cards div{
    width: 16.058%;
    margin: 0 1.021% 4.4%;
    position: relative;
    cursor: pointer;
}
.gs__cards div:before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url("../img/play/card/card_00.png") no-repeat center / 100% auto;
    position: absolute;
    top: 0;
    left: 0;
}
.gs__cards div img{
    transform: rotateY(180deg);
}
.gs__cards div.reverse:before{
    transform: rotateY(-180deg);
}
.gs__cards div.reverse img{
    transform: rotateY(0deg);
}

.gf__button{
    margin-top: 4.533%;
}
.gf__button > div{
    margin-bottom: 3.733%;
}
.gf__button > div:last-child{
    margin-bottom: 0;
}
.game__footer{
    padding-bottom: 16%;
}

.page.--countdown .countdown{
    display: block;
}
.countdown{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}
.countdown div{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}
.countdown div > div{
    height: auto;
}
.countdown div.cd__1{ width: 17.866%; }
.countdown div.cd__2{ width: 31.866%; }
.countdown div.cd__3{ width: 30.4%; margin-top: 0.5%; }
.countdown:before{
    content: "";
    display: block;
    width: 73.6%;
    padding-bottom: 66.4%;
    position: absolute;
    top: 51%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url("../img/play/countdown/bg.png") no-repeat center / 100% auto;
}



/* result */
.page.--result{
    display: none;
}
.page--2 .page.--result{
    display: block;
}
.page.--result{
    background-color: #ff6306;
}
.page.--result:after{
    display: block;
    content: "";
    width: 100%;
    padding-bottom: 67.2%;
    background: url("../img/bg_bot_org.png") no-repeat center bottom / 100% auto;
    position: absolute;
    bottom: 0;
    left: 0;
}
.result{
    position: relative;
    z-index: 2;
    height: 100%;
}
.result__time{
    display: flex;
    flex-wrap: wrap;
    margin: -10.666% 0 0 0;
    position: relative;
}
.result__time > div{
    margin: 0 0 0 0;
    width: 100%;
}
.result__time > div.rt__cap{
    width: 21.466%;
    margin: 0 0 0 20.8%;
}
.result__time > div.rt__num{
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin-left: 46%;
}
.rt__num img{
    width: 5.2%;
    position: relative;
    z-index: 1;
}
.rt__num img.seq--colon{
    width: 2%;
}
.rt__num img.seq--dot{
    width: 2%;
}
.result__ogp{
    width: 91.466%;
    margin: 3.2% auto 0;
    box-shadow: 1.2rem 1.2rem 0 #161616;
}
.result__ogp > div{
    border: solid 0.3rem #fff;
    border-radius: 0.3rem;
}
.result__reward{
    width: 91.333%;
    margin: 5.333% auto 0;
}
.result__footer{
    margin: 4.666% auto 0;
    padding-bottom: 16%;
}
.rf__button > div{
    margin-bottom: 2.133%;
}
.rf__button > div:last-child{
    margin-bottom: 0;
}


/* over */
.page.--over{
    display: none;
}
.page--2_2 .page.--over{
    display: block;
}
.page.--over{
    background-color: #161616;
}
.page.--over:after{
    display: block;
    content: "";
    width: 100%;
    padding-bottom: 122.8%;
    background: url("../img/bg_bot.png") no-repeat center bottom / 100% auto;
    position: absolute;
    bottom: 0;
    left: 0;
}
.over{
    position: relative;
    z-index: 2;
    height: 100%;
}
.over__text{
    width: 90.266%;
    margin: auto;
}
.over__chara{
    width: 67.733%;
    margin: 5.333% auto 0;
}
.over__footer{
    margin: 4.666% auto 0;
    padding-bottom: 16%;
}
.of__button > div{
    margin-bottom: 2.133%;
}
.of__button > div:last-child{
    margin-bottom: 0;
}


/* thanks */
.page.--thanks{
    display: none;
}
.page--3 .page.--thanks{
    display: block;
}
.page.--thanks{
    background-color: #ff6306;
}
.page.--thanks:after{
    display: block;
    content: "";
    width: 100%;
    height: 67.2%;
    background: url("../img/bg_bot_org.png") no-repeat center bottom / 100% auto;
    position: absolute;
    bottom: 0;
    left: 0;
}
.thanks{
    position: relative;
    z-index: 2;
    height: 100%;
}
.thanks__reward{
    width: 91.333%;
    padding-bottom: 107.6%;
    margin: -2% auto 0;
    position: relative;
    background: url("../img/thanks/frame.png") no-repeat center / 100% auto;
}
.tr__text{
    width: 84.671%;
    margin: -11% auto 0;
}
.tr__item{
    width: 73.138%;
    margin: -1% 0 0 11%;
}
.tr__reward{
    width: 94.014%;
    margin: 4% auto 0;
}
.tr__atn{
    width: 90.948%;
    margin: 4% auto 0;
}
.thanks__message{
    width: 93.2%;
    margin: 2.4% 0 0 2%;
}
.thanks__footer{
    margin: 5.066% auto 0;
    padding-bottom: 16%;
}
.tf__button > div{
    margin-bottom: 3.733%;
}
.tf__button > div:last-child{
    margin-bottom: 0;
}