﻿@charset "utf-8";

/*全サイズ共通CSSとスマホ用全サイズ共通CSSとスマホ用全サイズ共通CSSとスマホ用全サイズ共通CSSとスマホ用*/

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
table,
th,
td,
div,
ul,
ol,
li {
    margin: 0px;
    padding: 0px;
}

html {
    height: 100%;
}


/*body全体の設定*/

body {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 20px;
    /*文字サイズの設定*/
    margin: 10px;
    /*maginを0pxに無駄な空きを無くす*/
    padding: 0px;
    /*paddingを0pxに無駄な空きを無くす*/
    background-color: lightblue;
    /*全体の背景色*/
    background-image: url(.jpg);
    /*背景画像を読み込む場合はこちら*/
}


/*コンテナの設定*/

#container {
    width: 100%;
    height: 100%;
    background-color: #CECEBF;
}

#container p {
    font-size: 20px;
    color: #000000;
    font-weight: normal;
    text-align: left;
}


/*タイトル画像やタイトル文字の設定*/

#header {
    height: 300px;
    /*タイトル画像の高さは、自分の画像に合わせる*/
    background-image: url(../../hyousi/head3.jpg);
    /*タイトル画像を読み込む*/
    padding-top: 0px;
    padding-left: 0px;
    background-repeat: no-repeat;
    background-position: top center;
    background-color: #000066;
    background-attachment: fixed;
}


/*メインコンテンツの設定*/

#maincontent {
    width: 100%;
    height: 100%;
    display: inline;
    background-color: #cccc99;
}

#maincontent p {
    font-size: 20px;
    /*メインコンテンツの文字指定*/
    color: #000000;
    /*line-height:150%;*/
    /*padding-bottom: 22px;*/
}

#maincontent h2 {
    font-weight: bold;
    /*メインコンテンツの小見出し指定*/
    font-size: 30px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #000000;
    padding-left: 10px;
}

#maincontent h3 {
    font-weight: bold;
    /*メインコンテンツの小見出し指定*/
    font-size: 20px;
    padding-left: 10px;
    margin-left: 240px;
    color: #0000FF;
}

#maincontent h5 {
    font-size: 18px;
    color: blue;
    font-weight: bold;
    text-align: right;
    padding-right: 2%;
}

#maincontent h6 {
    font-size: 20px;
    color: blue;
    font-weight: normal;
    text-align: left;
    margin-bottom: 20px;
}

#maincontent img {
    margin-top: 10px;
    /*メインコンテンツ内の画像の位置指定*/
    margin-bottom: 10px;
    text-decoration: none;
    border: none;
    width: 100%;
}


/*サイドコンテンツ設定*/

#sidecontents {
    width: 100%;
    background-color: ;
    min-height: 40%;
    height: 100%;
    
    
}

#sidecontents ul li a {
    color: #ffffff;
    line-height: 150%;
    font-size: 25px;
}

#sidecontents ul {
    list-style-type: square;
    list-style-position: inside;
    font-size: 95%;
    background-color: #83a292;
    padding-left: 5%;
}


/*フッターの設定*/

#footer p {
    color: #ffffff;
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    text-align: center;
    font-size: 10px;
}

#footer {
    background-color: #000000;
    padding: 5px;
    width: 100%;
}

h1 {
    color: red;
    font-size: 50px;
    text-align: left;
    margin-top: 5%;
}

/*================================================
 *  ページトップへの戻り
 ================================================*/
     .totop {
         position: fixed;
         bottom: 15px;
         right: 15px;
     }

     .totop a {
         display: block;
         text-decoration: none;
     }

     .totop img {
         background: #10f568;
     }

     .totop img:hover {
         background: #f70a2e;
     }

/*タブレット用タブレット用タブレット用タブレット用タブレット用タブレット用タブレット用タブレット用タブレット用*/

@media (min-width:600px) {
    body {
        background-color: #94ff74;
    }
    #contener {
        width: 100%;
        margin-left: 10%;
        background-color: #9efab3;
    }
    #header {
        width: 100%;
    }
    #wrapper {
        width: 100%;
        overflow: hidden;
    }
    #maincontent {
        width: 100%;
        float: right;
        background-color: #d0d0c6;
        padding-left: 3%;
    }
    #maincontent img {
        width: 23%;
    }
    #sidecontents {
        width: 0%;
        height: 100%;
        float: left;
        position: fixed;
    }
    ul {
        list-style: none;
        margin: 0 auto;
    }
    
    #sidecontents ul li a {
        font-size: 20px;
    }
    #footer {
        width: 100%;
    }
    #footer p {
        text-align: center;
    }
}


/*PC用PC用PC用PC用PC用PC用PC用PC用PC用PC用PC用PC用PC用PC用PC用PC用PC用PC用PC用PC用PC用PC用PC用PC用*/

@media (min-width:960px) {
    body {
        width: 100%;
        padding: 0 10%;
        text-align: center;
    }
    #container {
        width: 92%;
        margin: 0 auto;
    }
    #wrapper {
        
    }
    #header {
        width: 100%;
    }
    ul {
        list-style: none;
        margin: 0 auto;
    }
    #maincontent {
        width: 75%;
        text-align: right;
    }
    #maincontent h2 {
        text-align: left;
    }
    #maincontent h3 {
        text-align: left;
    }
    #maincontent img {
        width: 24%;
    }
    #sidecontents {
        width: 19%;
        height: 100%;
        text-align: left;
        
    }
    #sidecontents ul li a {
        font-size: 25px;
    }
}
