@charset "UTF-8";

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'メイリオ', 'Hiragino Kaku Gothic Pro', sans-serif;
    font-size: 62.5%;
    position: relative;
    background: url("../images/background.png") center center / cover scroll #8EE1F8;
	overflow-x: hidden;
}
@font-face {
    font-family: 'kodomo-rounded';
    src: url('../fonts/kodomo-rounded.woff2') format('woff2'),
    url('../fonts/kodomo-rounded.woff') format('woff'),
    url('../fonts/kodomo-rounded.ttf') format('truetype');
}
h1, h2 {
    margin: 0;
    padding: 0;
    font-size: 0;
}
img {
    border: 0;
}
main {
    display: block;
}
.top-border {
    position: absolute;
    width: 100%;
    height: auto;
}

/** ヘッダー */
.header-container {
    position: relative;
    width: 100%;
}
.header-container:after {
    content: '';
    display: block;
    clear: both;
}
.logo {
    float: left;
    width: 80%;
}
.logo img {
    width: 100%;
}

/** グローバルナビ SP */
.nav-sp {
    display: none;
    position: fixed;
    top: 1%;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 3;
}
.nav-sp:after {
    content: '';
    display: block;
    clear: both;
}
.nav-close-container {
    width: 17%;
    float: left;
    margin-top: 14%;
}
.nav-close-container img {
    width: 100%;
}
.nav-sp-container {
    margin: 0;
    padding: 0;
    list-style: none;
    float: left;
    width: 83%;
    height: 100%;
    background-color: white;
    overflow: scroll;
}
.nav-sp-container li {
	margin-bottom: 3%;
    vertical-align: bottom;
}
.drawing-block .nav-img-sp, .toy-block .nav-img-sp {
    padding: 5% 0;
}
.download-block .nav-img-sp {
    padding: 5% 0;
}
.nav-img-sp {
    width: 100%;
    display: block;
}
.nav-border-sp {
    width: 90%;
    margin: 0 5% 0 5%;
    display: block;
}
.icon-menu {
    position: absolute;
    width: 10%;
    bottom: 10%;
    right: 5%;
}
.profile-block {
    margin-bottom: 3%;
}

/** フッター */
footer {
    position: relative;
    width: 100%;
    height: auto;
}
footer img {
    display: block;
    width: 100%;
    height: auto;
}
.creator-guide {
    position: absolute;
    width: 20%;
    top: 30%;
    right: 20%;
}
.balloon {
    position: absolute;
    width: 10%;
    bottom: 15%;
    right: 5%;
}

/** 共通 */
.sp-none {
    display: none;
}
.pc-none {
    display: block;
}

/** タブレットサイズ */
/*@media (min-width: 769px) {*/
/*}*/

/** PCサイズ */
@media (min-width: 968px) {
    body {
        background: url("../images/background_pc.png") center center / cover repeat scroll;
    }
    .sp-none {
        display: block;
    }
    .pc-none {
        display: none;
    }

    .header-container {
        width: 90%;
        margin: 2% 3% 2% 7%;
    }
    .logo {
        float: left;
        width: 55%;
    }

    /** グローバルナビ PC */
    .nav-pc {
        position: relative;
        float: left;
        width: 35%;
        margin: 2% 0 0 2%;
    }

    .nav-pc img {
        width: 100%;
        vertical-align: bottom;
    }

    .nav-pc ul {
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .nav-pc > ul:after {
        content: '';
        display: block;
        clear: both;
    }

    .nav-pc > ul > li {
        float: left;
        width: 46%;
        margin: 5% 2% 0 2%;
    }

    /** 遊びナビ */
    .game-nav-on {
        display: none;
        position: relative;
    }
    .game-nav-on img {
        position: relative;
        z-index: 2;
    }
    .game-nav {
        position: absolute;
        top: 90%;
        z-index: 1;
    }
    .game-nav li {
        font-family: 'kodomo-rounded', 'メイリオ', 'Hiragino Kaku Gothic Pro', sans-serif;
        font-size: 1.8rem;
        text-align: center;
        letter-spacing: -0.3em;
        line-height: 90%;
    }
    .game-nav a {
        color: #3a76bf;
        text-decoration: none;
    }
    .game-nav p {
        width: 96%;
        margin: 0 2% 5% 2%;
    }
    .game-menu {
        border-right: solid;
        border-left: solid;
        border-bottom: solid;
        border-width: 5px;
        border-color: #3a76bf;
        background-color: white;
        padding-top: 10%;
    }
    .game-menu-bottom {
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }
    .game-menu .download {
        color: #8e8e8e;
    }
}