@charset "UTF-8";
@import url(http://fonts.googleapis.com/earlyaccess/notosansjapanese.css);
/*    font-family: 'Noto Sans Japanese', sans-serif;*/
/*================================================
 *  CSSリセット
 ================================================*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;font-weight:normal;}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}

/*================================================
 *  一般・共通設定
 ================================================*/
body {
	font-size:20px;
    background-color: #99c0ff;
	color: #666;
	font-family:"メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	line-height:2em;
    background: -webkit-linear-gradient(30deg, #525252, #79dde8) fixed;
    background: -moz-linear-gradient(30deg, #525252, #79dde8) fixed;
    background: linear-gradient(30deg, #525252, #79dde8) fixed;
}


/*================================================
 *  ヘッダー
 ================================================*/
header {
    position: fixed;
    width: 350px;
    height: 100%;
    
    z-index: 200;
    background-color: #fff;
}

/*内容物は上下左右中心*/
#top {
    width: 100%;
    height: 100%;
    
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
}

h1 {
    box-sizing: border-box;
    width: 100%;
    padding: 30px;
    
    margin-top: 30px;
    font-size: 36px;
    line-height: 2em;
    font-family: 'Noto Sans Japanese', sans-serif;
    font-weight: 100;
    text-align: center;
}


/*正円*/
#mainImg {
    display: block;

    width: 250px;
    height: 250px;
    border-radius: 50%;
}

/*================================================
 *  ナビゲーション
 ================================================*/

nav {
    position: fixed;
    top: 0;
    left: -350px;
    width: 600px;
    height: 100%;
    
    background-color: rgba(105, 91, 109, 0.5);

    z-index: 100;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    
    opacity: 0;
}

#menu {
    margin-top: 100px;
    height: 80%;
    -webkit-height: calc(100% - 100px);
    height: calc(100% - 100px);
    overflow-y: scroll;
}
#menu::-webkit-scrollbar {
    width: 10px;
}
#menu::-webkit-scrollbar-thumb {
    background-color: #fff;
    border-radius: 10px;
}
    
#menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    box-sizing: border-box;
    text-align: center;
    padding: 15px;
    width: 100%;
}

#menuHoge {
    position: fixed;
    top: 2%;
    left: 400px;
    
    cursor: pointer;
    z-index: 1000;
}
#menuHoge span {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0px 15px;
    border: 1px solid #fff;
    border-radius: 100px;
    color: #fff;
    
    letter-spacing: 0.2em;
    
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
#menuHoge span:hover {
    border: 1px solid #c4ff00;
    color: #c4ff00;
}

/*================================================
 *  メニューが開いてるときの設定
 ================================================*/
nav.on {
    left: 350px;
    opacity: 1;
    z-index: 200;
}

#contents.on{    
    -webkit-filter: blur(6px);
    filter: blur(6px);
}

/*================================================
 *  リンク
 ================================================*/

a {
    text-decoration: none;
    color: #c4ff00;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    padding: 0 5px;
}

a:visited {
    color: #ccc;
}

a:hover {
    opacity: 0.4;
}

/*================================================
 *  囲い
 ================================================*/

#contents {
    margin-left: 350px;
    min-height: 100vh;
    position: relative;

    
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
    
    color: #fff;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

/*================================================
 *  メイン本文
 ================================================*/
h2 {
    font-size: 36px;
    line-height: 2em;
    text-align: center;
    padding: 30px 0;
    border-bottom: 1px solid #666; 
    font-family: 'Noto Sans Japanese', sans-serif;
    font-weight: 100;
}

.main {
    margin-top: 100px;
    max-width: 860px;
    width: 70%;
    border-radius: 10px;
    padding: 50px;
    border: 1px solid #fff; 
}

.kiji {
    margin-top: 50px;
}

p {
    margin-top: 15px;
}

/*================================================
 *  フッター
 ================================================*/

footer {
    box-sizing: border-box;
    width: 100%;
    padding: 100px;
    text-align: center;
    color: #ccc;
}


/*================================================
 *  トップ行き
 ================================================*/

#totop {
    box-sizing: border-box;
    position: fixed;
    right: 3%;
    bottom: 3%;
    border-radius: 50%;
    padding: 5px;
    border: 1px solid #fff;
    z-index: 50;
}
#totop a, #totop img{
    display: block;
    padding: 0px;
}
/*================================================
 *  タブレット向け
 ================================================*/
@media screen and (max-width:979px) {
/*    縦並び*/
    header {
        box-sizing: border-box;
        position: static;
        width: 100%;
        height: auto;
        padding: 30px;
        
        -webkit-transition: all 0.25s ease;
        transition: all 0.25s ease;
    }
    header.on{    
        -webkit-filter: blur(6px);
        filter: blur(6px);
    }
    #contents {
        margin-left: 0px;
        width: 100%;
    }
    
/*    ヘッダーの内容*/
    #top {
        -webkit-flex-direction: row;
        flex-direction: row;
    }
    h1 {
        font-size: 32px;
        text-align: left;
        padding: 15px;
        margin-top: 0px;
        width: 60%;
    }
    #mainImg {
        width: 200px;
        height: 200px;
    }
    
/*    メニュー*/
    #menuHoge {
        left: 2%;
    }
    #menuHoge span {
        padding: 0px 10px;
        border: 1px solid #ccc;
        color: #ccc;
        background-color: rgba(255, 255, 255, 0.8);
        letter-spacing: 0.1em;
    }
    
    nav {
        position: fixed;
        top: auto;
        bottom: -70%;
        left: 0px;
        width: 100%;
        height: 70%;
    }
    nav.on{
        bottom: 0;
        left: 0;
    }

    #menu {
        margin-top: 0px;
        height: 100%;
    }
    #menu li {
        padding: 5px;
    }
    
/*    本文*/
    h2 {
        font-size: 24px;
        padding: 15px 0;
    }

    .main {
        box-sizing: border-box;
        margin: 25px;
        width: 90%;
        padding: 25px;
    }
    
    #totop{
        background-color: rgba(105, 91, 109, 0.8);
    }
    #totop {
        border: none;
    }

}

/*================================================
 *  スマートフォン向け
 ================================================*/
@media screen and (max-width:767px){
    body {
        -webkit-text-size-adjust: 100%;
    }
/*    だいたい微調整*/
    
/*    縦並び*/
    header {
        padding: 10px;
    }
    
/*    ヘッダーの内容*/
    h1 {
        font-size: 20px;
        line-height: 1.5em;
        padding: 5px;

    }
    #mainImg {
        margin-left: 50px;
        width: 50px;
        height: 50px;
    }
    
    
/*    本文*/
    h2 {
        font-size: 20px;
        padding: 15px 0;
    }

    .main {
        margin: 10px;
        width: 95%;
        padding: 5px;
    }

    .kiji {
        margin-top: 25px;
    }
    
    footer {
        padding: 100px 15px;
    }


}