*{
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
body{
    background: #F0F0F0;
    font-family: "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro W3", Osaka, sans-serif;
    text-align: center;
    color: #999;
    line-height: 2;
}
h1,p,ul,li{
    margin: 0;
    padding: 0;
}
a{
    color: #575748;
    text-decoration: none;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}
a:hover{
    color: #9B7AE9;
}
li{
    list-style-type: none;
}
h1{
    font-family: 'Lobster Two', cursive;
}
nav,
p.copyright{
    font-family: 'Noto Serif', serif;
}
h1{
    margin-top: 90px;
    font-size: 7em;
    color: #CCC;
}
li a{
    font-size: 1.3em;
}
p.copyright{
    margin-top: 25px;
    font-size: 0.7em;
}
/*--Large screens--*/
@media print, screen and (min-width: 768px){
    nav{
        margin-top: -50px;
        overflow: hidden;
        position: relative;
    }
    ul{
        position: relative;
        left: 50%;
        float: left;
    }
    li{
        position: relative;
        left: -50%;
        float: left;
        margin: 0 10px;
    }
    .for-sp{
        display: none;
    }
}
/*--Small screens--*/
@media only screen and (max-width: 767px){
    h1{
        margin-top: 50px;
        font-size: 3em;
    }
    h1,
    nav,
    p.copyright{
        margin-right: 20px;
        margin-left: 20px;
    }
    li a{
        font-size: 0.9em;
    }
    p.copyright{
        font-size: 0.5em;
    }
}
/*-----------------------------------
clear
-----------------------------------*/
ul{
    display: block;
    min-height: 1%;
}
ul:after{
    clear: both;
    content:".";
    display: block;
    height: 0;
    visibility: hidden;
}
