@charset "UTF-8";
@import url(http://fonts.googleapis.com/earlyaccess/notosansjapanese.css);
/*================================================
 *  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: #ccc;
	color: #888;
	font-family: "KozGoPro-Light", "小塚ゴシック Pro L","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	line-height:2em;
    
    background: url(../images/crissXcross.png) fixed;
    
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
}

header, nav, #contents, footer {
    width: 70vw;
    min-width: 960px;
    box-shadow: 0px 5px 10px 2px rgba(0,0,0,0.08);
}

/*================================================
 *  ヘッダー
 ================================================*/

header {
    background-color: #4F0CFF;    
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1 {
    padding: 50px;
    color: #fff;
    font-size: 36px;
    font-family: "Noto Sans Japanese", sans-serif;
    font-weight: 100;
}

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

#menuHoge {
    max-width: 200px;
    width: 25%;  
    min-width: 100px;
    text-align: center;
    border-left: 1px solid #fff;
}
#menuHoge a{
    font-size: 24px;
    color: #FFEA00;
    background-color: transparent;
}

nav {
    -webkit-order: 1;
    order: 1;
    margin-top: 5vw;
    background-color: #fff;
    
    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;
}



/*================================================
 *  メニュー
 ================================================*/
#menuFuga {
    margin-top: 5vw;
    font-size: 36px;
    color: #4F0CFF;
}

#menuFuga, #menuHoge, #totop {
    font-family: 'Sigmar One', cursive;
}

#menu {
    margin: 5vw 0;
    width: 80%;
}

#menu li {
    display: inline-block;
    margin: 15px;
}

a {
    padding: 0px 5px;
    color: #4F0CFF;
    background-color: #FFEA00;
    text-decoration: none;
}
a:visited {
    color: #ccc;
}
a:hover {
    color: #ccc;
    background-color: transparent;
}

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


#bg {
    position: relative;
    width: 100%;
    height: 30vw;
    background: url(../images/G5pfP.jpg) no-repeat center;
    -webkit-background-size: cover;
    background-size: cover;
}

#contents {
    margin-top: 5vw;
    background-color: #fff;
    
}

.main {
    position: relative;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;    
}

.main::before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: -80px;
    right: 25%;
    border: 40px solid transparent;
    border-bottom: 50px solid #fff;
}

h2 {
    box-sizing: border-box;
    width: 100%;
    margin-top: 5vw;
    padding: 0 5vw;
    text-align: center;
    font-family: "Noto Sans Japanese", sans-serif;
    font-weight: 300;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    font-size: 36px;
    line-height: 2em;
}

/*================================================
 *  メイン本文
 ================================================*/

.kiji {
    width: 80%;
    margin: 5vw 0;
    max-width: 960px;
}


p {
    margin-top: 30px;
}

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

footer {
    -webkit-order: 1;
    order: 1;
    margin-top: 5vw;
    background-color: #4F0CFF;
    
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center; 
}

#totop {
    margin-top: 5vw;
}

.copyright {
    box-sizing: border-box;
    padding: 5vw;
    width: 100%;
    color: #FFEA00;
    text-align: center;
}

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


/*================================================
 *  タブレット向け
 ================================================*/
@media screen and (max-width:979px) {
    header, nav, #contents, footer {
        width: 90vw;
        min-width: 0;
    }
    
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }

    .kiji {
        width: 96%;
    }
    
    #menu {
        width: 90%;
    }
    #menu li {
        margin: 10px;
    }
    
}
/*================================================
 *  スマートフォン向け
 ================================================*/
@media screen and (max-width:767px){
    header, nav, #contents, footer {
        width: 100%;
    }
    
    #menuHoge {
        width: auto;
    }
    #menuHoge a{
        font-size: 20px;
    }
    
    h1 {
        padding: 15px;
        font-size: 24px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .main::before {
        top: -40px;
        border: 20px solid transparent;
        border-bottom: 30px solid #fff;
    }
    
    
    #menu li {
        display: block;
    }
}