@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: #fff;
	color: #666;
	font-family:"メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	line-height:2em;

}

h1, h2 {
    font-family: 'Noto Sans Japanese', sans-serif;
    font-weight: 100;
    line-height: 2em;    
}



/*================================================
 *  背景
 ================================================*/

/*ただの枠*/
#bg1 {
    box-sizing: border-box;
    position: fixed;
    top: 2.5%;
    left: 2.5%;
    width: 95%;
    height: 95%;
    border: 2px solid #f00;
    z-index: -1;
}

#bg2 {
    position: fixed;
    top: 0;
    left: 5%;
    width: 30%;
    height: 90%;
    background: url(../images/mainimg.jpg) no-repeat center center;
    -webkit-background-size: cover;
    background-size: cover;
    z-index: -2;
    
}

#bg3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    -webkit-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    z-index: -100;
}
#bg3.on {
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100;
}

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

header {
    box-sizing: border-box;
    width: 80%;
    margin-left: auto;
}


h1 {
    box-sizing: border-box;
    width: 80%;
    margin-left: auto;
    font-size: 40px;
    color: #f00;
    text-align: center;
    padding: 150px 15px;
    color: #000;
    
}


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

#menuHoge {
    position: fixed;
    top: 0;
    left: 10%;
    width: 100px;
    height: 100px;
    
    z-index: 1000;
    cursor: pointer;
}

#menuHoge span {
    box-sizing: border-box;
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    padding-top: 5px;
    text-align: center;
    color: #fff;
    background-color: #f00;
}

#menuHoge span::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    top: 100%;
    left: 0;
    border: 50px solid transparent;
    border-top: 50px solid #f00;
}

nav {    
    position: fixed;
    top: 0;
    right: 5%;
    width: 75%;
    height: 5vh;
    overflow: hidden;
    z-index: 200;
    background-color: #f00;
    
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    
    -webkit-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

nav.on {
    height: 100vh;
}

/*================================================
 *  メニュー
 ================================================*/


#menu {
    position: relative;
    width: 90%;
    height: 90%;
    border: 1px solid #000;
    overflow-y: scroll;
    
    display: none;
    -webkit-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}
#underMenu {
    display: block;
    background-color: #f00;
}
#underMenu, #menu.on {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

#menu::-webkit-scrollbar {
    width: 12px;
}
#menu::-webkit-scrollbar-thumb {
    background-color: #fff;
}


.menuList li {
    width: 33.33%;
    padding: 30px;
    box-sizing: border-box;
    
}

.menuList li a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    text-align: center;
    
    position: relative;
    color: #fff;
}

.menuList li a:visited {
    color: #000;
}

.menuList li a::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #000;
    
    -webkit-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
}

.menuList li a:hover::before {
    width: 100%;
}



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

/*コンテンツを右寄せ*/
#contents {
    width: 70%;
    margin-left: auto;
}


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

p a {
    text-decoration: none;
    color: #f00;
}

p a:hover {
    border-bottom: 1px solid #ccc;
}

p a:visited {
    color: #ccc;
}

.main {
    width: 100%;
    
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
}


h2 {
    box-sizing: border-box;
    width: 100%;
    padding: 50px;
    background-color: #f00;
    font-size: 32px;
    color: #fff;
}

.kiji {
    box-sizing: border-box;
    width: 80%;
    max-width: 960px;
    min-width: 600px;
    padding: 15px;
    margin-top: 100px;
}

.kiji h3 {
    font-size: 32px;
    line-height: 1.5em;
    color: #f00;
    margin: 30px 0;
}
.kiji  h4 {
    color: #f00;
    margin: 30px 0;
}

.kiji ul, .kiji ol {
    margin: 30px 0;
}
.kiji ul li::before{
    display: inline-block;
    content: "";
    width: .5em;
    height: .5em;
    border-radius: 50%;
    margin-right: .5em;
    background-color: #f00;
}
.kiji ol {
    list-style-type: none;
    counter-reset: ol-list;
}
.kiji ol li {
    counter-increment: ol-list;
}
.kiji ol li::before {
    margin-right: .5em;
    content: counter(ol-list)".";
    color: #f00;
}

.kiji table th {
    color: #fff;
    background-color: #f00;
}
.kiji table td {
}
.kiji table td,
.kiji table th{
    outline: solid 1px #f00;
    padding: .5em;
}

p {
    margin: 15px 0;
}


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

footer {
    box-sizing: border-box;
    width: 100%;
    padding: 30px;
    background-color: #f00;
}

.copyright {
    text-align: center;
    color: #ccc;
}

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

/*若干中央寄りの右寄せ*/
#totop {
    box-sizing: border-box;
    width: 100%;
    margin-right: auto;
    text-align: right;
    padding: 15px 10%;
    
}
#totop a {
    padding: 0px 15px;
    background-color: #000;
    color: #ccc;
    text-decoration: none;
}
#totop a:hover {
    background-color: #fff;
    color: #f00;
}

/*================================================
 *  タブレット向け
 ================================================*/
@media screen and (max-width:979px) {
    header {
        margin-top: 150px;
        width: 100%;
    }

    h1 {
        width: 100%;
        font-size: 36px;
        padding: 50px 30px;
        color: #fff;
    }

/*    メニュー*/
    .menuList li {
        width: 100%;
        padding: 15px;
    }
    
    
/*背景*/
    #bg1 {
        top: 1%;
        left: 1%;
        width: 98%;
        height: 98%;
    }

    #bg2 {
        left: 2.5%;
        width: 95%;
        height: 100%;
    }

    
/*コンテンツ    */
    #contents {
        width: 100%;
    }

    h2 {
        padding: 25px;
        font-size: 26px;
    }

    .kiji {
        width: 90%;
        padding: 15px;
        background-color: rgb(255, 255, 255);
    }

}
/*================================================
 *  スマートフォン向け
 ================================================*/
@media screen and (max-width:767px){
    header {
        margin-top: 80px;
    }
    h1 {
        width: 100%;
        font-size: 24px;
        padding: 25px 15px;
    }
    
    #bg1 {
        display: none;
    }

    
/*    メニュー*/
    
    #menuHoge {
        top: 0;
        left: 5%;
        width: 80px;
        height: 80px;
    }

    #menuHoge span {
        padding-top: 0px;
    }
    #menuHoge span::before {
        border: 40px solid transparent;
        border-top: 20px solid #f00;
    }

    nav {    
        right: 0%;
        width: 85%;
        height: 5vh;
    }
    
/*コンテンツ*/
    h2 {
        padding: 5px 10px;
        font-size: 20px;
    }
    .kiji {
        width: 100%;
        min-width: inherit;
        padding: 5px;
        margin-top: 50px;
    }

}