@charset  "UTF-8";

body {
    font-family: Helvetica Neue,Arial,Roboto,"Droid Sans","Noto Sans","ヒラギノ角ゴ ProN W6","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,"游ゴシック",YuGothic,sans-serif;
}

a:link,a:hover,a:focus,a:active,a:visited {
    outline: 0;
}

h1,h2,h3,h4,h5,h6 {
    font-weight: 700;
}

a {
    color: #00A0DF;
    text-decoration: underline;
    outline: none;
}

a:hover,a:focus {
    color: #007BAD;
    text-decoration: underline;
}

@media (min-width: 1200px) {
    body {
        background: url(../img/bg2.png) repeat-x;
    }
}

@font-face {
    font-family: 'PoetsenOne';
    src: url(../font/PoetsenOne-Regular.otf),url(../font/PoetsenOne-Regular.otf) format("opentype");
}

.remove {
    disply: none;
}

/* Header
 * ---------------------------------------------------------------------------------------- */
#header {
    height: 60px;
    background-color: rgba(40,40,40,.95);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

#page-title {
    float: left;
    margin: 10px 10px 0 0;
    line-height: 1;
}

@media (max-width: 479px) {
    #page-title img {
        max-width: 240px;
        height: auto;
        margin-left: -30px;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    #page-title img {
        max-width: 310px;
        height: auto;
        margin-left: -20px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .ja #page-title img {
        margin-left: -55px;
    }

    .en #page-title img {
        margin-left: 10px;
    }
}

#page-subtitle {
    display: none;
    line-height: 1;
}

@media (min-width: 992px) {
    #page-subtitle {
        display: block;
    }
}

#social {
    display: inline-block;
}

#social img {
/*    margin: 0 0 10px;*/
    margin: 12px 0 10px;
}

#lang {
    display: inline-block;
    margin: 12px 0 0 15px;
}

#lang a {
    text-decoration: none;
    font-size: 1.8em;
    font-weight: 700;
    color: #FFF;
}

#lang a:hover,#lang a:focus,#lang a.active {
    color: #fd7100;
}

.blank {
    position: relative;
    top: -60px;
    display: block;
}

#page-top {
    padding-top: 60px;
}

/* Main
 * ---------------------------------------------------------------------------------------- */
#boost,.stars,#tiles-kings,#debudori-large,#logo,#brain-puzzle-game,#free-games,#slogan,#devices-wrapper,#howto01,#howto02,#howto03,#howto04,#footer {
    opacity: 0;
}

#topimg {
    background: url(../img/bg.png) center top no-repeat #fde4b7;
    background-size: cover;
    max-width: 1440px;
    margin: 0 auto;
}

#stars-top {
    position: relative;
    top: 0;
    left: 0;
    z-index: 10;
    margin: 4% 0 0;
}

#debudori-large {
    position: absolute;
    top: 0;
    z-index: 10;
    width: 100%;
    margin: 10% 0 0 -10%;
}

#logo-wrapper {
    position: relative;
    top: -6px;
    left: 0;
    z-index: 20;
    margin: 0;
}

.en #logo-wrapper {
    top: -2px;
}

@media (min-width: 768px) {
    .ja #logo-wrapper {
        top: -6px;
    }

    .en #logo-wrapper {
        top: 6px;
        margin: 10px 0 40px 0;
    }
}

@media (min-width: 992px) {
    .ja #logo-wrapper {
        top: 2px;
    }

    .en #logo-wrapper {
        top: 10px;
        margin: 20px 0 50px 0;
    }
}

@media (min-width: 1200px) {
    .ja #logo-wrapper {
        top: 10px;
    }

    .en #logo-wrapper {
        top: 20px;
        margin: 30px 0 60px 0;
    }
}

#brain-puzzle-game {
    margin: 5px 0 0 -35px;
}

@media (min-width: 768px) {
    #brain-puzzle-game {
        margin: 10px 0 0 -40px;
    }
}

@media (min-width: 992px) {
    #brain-puzzle-game {
        margin: 0 0 0 -60px;
    }
}

#free-games {
    position: relative;
    top: -6px;
    left: 0;
    z-index: 20;
}
.en #free-games {
    top: -2px;
    margin: 20px 0 30px 0;
}

@media (min-width: 768px) {
    .ja #free-games {
        top: 2px;
    }
    .en #free-games {
        top: 2px;
        margin: 20px 0 30px 0;
    }
}

@media (min-width: 992px) {
    .ja #free-games {
        top: 2px;
    }
    .en #free-games {
        top: 2px;
        margin: 10px 0 30px 0;
    }
}

@media (min-width: 1200px) {
    .ja #free-games {
        top: 14px;
    }
    .en #free-games {
        top: 14px;
        margin: 10px 0 30px 0;
    }
}

#tiles-kings {
    position: relative;
    left: 0;
    z-index: 20;
}

.game-title {
    font-family: PoetsenOne,Helvetica Neue,Arial,Roboto,"Droid Sans","Noto Sans",sans-serif;
}

#slogan {
/*    margin: 3% 0 0;*/
    font-size: 25px;
    font-weight: 800;
    padding: 36px 15px 0;
    color: #1c1c1c;
}

.ja #slogan {
    line-height: 1.2;
}

.en #slogan {
    line-height: 1.1;
}

@media (min-width: 480px) {
    #slogan {
/*        margin: 7% 0 0;*/
        font-size: 34px;
    }
}

@media (min-width: 768px) {
    #slogan {
/*        margin: 9% 0 0;*/
        font-size: 36px;
    }
}

@media (min-width: 992px) {
    #slogan {
        font-size: 54px;
    }
}

@media (min-width: 1200px) {
    #slogan {
        font-size: 70px;
    }
}

#devices-wrapper {
    margin: -10px 0 0;
}

#app-store {
    position: relative;
/*    top: 10px;*/
    left: 0;
/*    padding: 20px 0 0;*/
    padding: 10px 0 0;
    z-index: 30;
}

@media (min-width: 768px) {
    #app-store {
        top: 20px;
    }
}

@media (min-width: 992px) {
    #app-store {
/*        top: 60px;*/
        top: 20px;
    }
}

.ja #app-store .app-store-text {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
}

.en #app-store .app-store-text {
    font-size: 22px;
    line-height: 1.1;
    position: relative;
    top: -5px;
    font-weight: 600;
}

.ja #footer .app-store-text {
    font-size: 18px;
}

.en #footer .app-store-text {
    font-size: 20px;
}

#devices {
    position: relative;
    top: 0;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    #devices {
        position: relative;
        top: -110px;
        margin: 0 30px -80px 0;
    }
}

.howto {
    margin: 0 10px 6%;
}

@media (min-width: 768px) {
    .howto {
        margin: 0 0 6%;
    }
}

#howto {
    position: relative;
    top: -80px;
    display: block;
}

/* Back to top */
#back-to-top {
    display: none;
    position: fixed;
    z-index: 1000;
    bottom: 15px;
    right: 15px;
    cursor: pointer;
}

@media (min-width: 34em) {
    #back-to-top {
        bottom: 25px;
        right: 25px;
    }
}

@media (min-width: 48em) {
    #back-to-top {
        bottom: 25px;
        right: 25px;
    }
}

@media (min-width: 62em) {
    #back-to-top {
        bottom: 35px;
        right: 35px;
    }
}

@media (min-width: 75em) {
    #back-to-top {
        bottom: 35px;
        right: 35px;
    }
}

/* Footer
 * ---------------------------------------------------------------------------------------- */
#footer {
    text-align: center;
    background-color: #222;
    padding: 0;
}

.footer-div {
    padding: 10px 0;
}

@media (min-width: 768px) {
    .footer-div {
        padding: 30px 0 10px;
    }
}

#footer p {
    color: #FFF;
}

#footer a {
    color: #FFF;
}

#footer a:hover,#footer a:focus {
    color: #FD7100;
}

#footer .list-inline li {
    padding: 10px;
}

#footer .list-inline li p {
    padding: 10px;
}

#footer div.app-title {
    margin: -5px 0 0;
}

#corporate-logo {
    margin: -30px 0 0;
}

@media (min-width: 992px) {
    #corporate-logo {
        margin: 30px 0 0;
    }
}

#copyright {
    font-size: 1em;
    margin: 15px 0 0;
}

/* Drawer
 * ---------------------------------------------------------------------------------------- */
#mobile-gn a {
    text-decoration: none;
    color: #FFF;
}

#mobile-gn ul {
    margin: 10px;
    font-size: 16px;
}

#mobile-gn li {
    padding: 13px;
    border-bottom: #333 solid 1px;
}

#mobile-gn li a {
    width: 100%;
    height: 100%;
    display: inline-block;
    border-radius: .5rem;
}

#mobile-gn li:hover {
/*    background: rgba(95,202,229,0.85);*/
    background: rgba(253,228,183,0.85);
    cursor: pointer;
}

.fa {
    padding-right: 10px;
}

.logo-mobile {
    border-bottom: #333 solid 1px;
    padding: 2px 0 15px;
}

.logo-mobile img {
    margin: 20px 0 0;
}

@media (max-width: 360px) {
    .logo-mobile img {
        max-width: 150px;
        height: auto;
    }
}

.en .logo-mobile img {
    margin: 15px 0 0;
}

#munu-btn {
    margin: 8px 0 0;
}

#munu-btn .btn {
    outline: none;
    color: #FFF;
}

.mobile-gn-icon {
    margin: -4px 8px 0 -2px;
}

.sb-slidebar {
    z-index: 210;
}

/* Effects
 * ---------------------------------------------------------------------------------------- */
.fade_in {
    -webkit-animation: fade_in 1.2s cubic-bezier(.55,0,.1,1) both;
    animation: fade_in 1.2s cubic-bezier(.55,0,.1,1) both;
}

@-webkit-keyframes fade_in {
    from {
        opacity: 0;
    }
}

@keyframes fade_in {
    from {
        opacity: 0;
    }
}

.bounce_in {
    -webkit-animation: bounce_in 1s cubic-bezier(.215,.610,.355,1.000) both;
    animation: bounce_in 1s cubic-bezier(.215,.610,.355,1.000) both;
}

@-webkit-keyframes bounce_in {
    0% {
        opacity: 0;
        -webkit-transform: scale3d(.3,.3,.3);
    }

    20% {
        -webkit-transform: scale3d(1.1,1.1,1.1);
    }

    40% {
        -webkit-transform: scale3d(.9,.9,.9);
    }

    60% {
        opacity: 1;
        -webkit-transform: scale3d(1.03,1.03,1.03);
    }

    80% {
        -webkit-transform: scale3d(.97,.97,.97);
    }

    to {
        -webkit-transform: scale3d(1,1,1);
    }
}

@keyframes bounce_in {
    0% {
        opacity: 0;
        transform: scale3d(.3,.3,.3);
    }

    20% {
        transform: scale3d(1.1,1.1,1.1);
    }

    40% {
        transform: scale3d(.9,.9,.9);
    }

    60% {
        opacity: 1;
        transform: scale3d(1.03,1.03,1.03);
    }

    80% {
        transform: scale3d(.97,.97,.97);
    }

    to {
        transform: scale3d(1,1,1);
    }
}