/* ===================
new clearfix
===================*/
.clearfix:after {
    visibility: hidden;
    height: 0;
    display: block;
    font-size: 0;
    content: "";
    clear: both;
}

* html .clearfix {
    zoom: 1;
} /* IE6 */
*:first-child + html .clearfix {
    zoom: 1;
} /* IE7 */

/* ===================
スクロールバーの有・無によるページのズレを防ぐ
===================*/
*html body {
    overflow-y: auto;
}

*+html body {
    overflow-y: auto;
}

body {
    overflow-y: scroll;
    margin: 0;
    overflow: hidden;
    background-color: white;
}

@import url(//fonts.googleapis.com/earlyaccess/notosansjapanese.css);
@import url(https://fonts.googleapis.com/css?family=Anton);
@import url(https://fonts.googleapis.com/css?family=Sorts+Mill+Goudy);
@import url(https://fonts.googleapis.com/css?family=Alegreya+Sans+SC:900);
@import url(https://fonts.googleapis.com/css?family=Rock+Salt);
@import url(https://fonts.googleapis.com/css?family=Special+Elite);

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -o-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html,
body {
    font-family: "Noto Sans JP", sans-serif;
    margin: 0;
    padding: 0;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    text-align: left;
    background: transparent;
}

body {
    line-height: 1;
    -webkit-text-size-adjust: 100%;
}

article,
aside,
details,
figcaption,
figure,
hgroup,
menu,
nav,
section {
    margin: 10px auto;
    padding: 0 20px;
    display: block;
}

h1 {
    font-size: 30px;
    margin-top: 30px;
    margin-bottom: 15px;
}

h2 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 5px;
}

p {
    font-size: 12px;
    line-height: 15px;
    color: #666;
}

footer {
    margin: 50px 0 0 20px;
}

header {
    margin: 20px 0 0 20px;
}

.logo {
    margin: 0 5px 0 0;
    height: 50px;
    width: 50px;
    background-image: url("./img/logo_50.png"); /* ヘッダー用の画像を設定する */
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100%;
}

canvas {
    display: block;
}

section {
    margin-top: 40px;
}

/* ================================= */
/* メディアクエリを使用してレスポンシブ対応 */
/* ================================= */

@media only screen and (max-width: 600px) {
    h1 {
        font-size: 24px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    h2 {
        font-size: 18px;
        margin-top: 20px;
        margin-bottom: 5px;
    }

    p {
        font-size: 14px;
        line-height: 18px;
    }

    header {
        margin: 10px 0;
        text-align: center;
    }

    .logo {
        margin: 0 auto;
        height: 40px;
        width: 40px;
        background-size: contain;
    }

    section {
        margin-top: 20px;
        padding: 0 10px;
    }

    footer {
        margin: 30px 0;
        text-align: center;
    }
}
