img {
  width: 100%;
}

body {
  background-color: #white;
  margin:auto;
  width: 1200px;
}

#mainimg {
width:100%;
height:auto;
}

.midashi {
border-bottom:solid 3px black;
font-weight:bold;
color:black;
font-size:25px;
width:95%;
margin: 0 auto;
}


table {
    background-color: white;  /* 背景色指定 */
    border-bottom:dashed 1px #CCC;
    width:  95%;               /* 幅指定 */
    margin: 3px auto;
    padding: 20px 0px;
}

th{
    color:blue;
    text-align:left;
    width: 13%;
    font
}

th td{
    background-color: white;  /* 背景色指定 */
    text-align:left;
}


#newsbox {
width:95%;
height:auto;
margin: 25px 0 5px 30px;
border-bottom:dashed 1px #CCC;
padding:0px;
background-color:white;
font-size:16px;
}

#contents {
width:100%;
float:left;
}

hr{
 width:100%;
}

footer {
clear:both;
height:80px;
text-align:center;
font-size:0.85em;
padding-top:30px;
width:1280px;
}

.bg_test {
    height: 260px;                  /* 高さ指定 */
    padding:  0px;                 /* 余白指定 */
    background-color: purple;   /* 背景色指定 */
    width: 100%;
    max-width:100%;
}

#menu{
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}
#menu li{
  display: block;
  float: left;
  width: 12.5%;
  margin: 0;
  padding: 0; }
#menu li a{
  display: block;
  padding: 12px 0 10px;
  background: #333;
  color: #fff;
  text-align: center;
  text-decoration: none;
}
#menu li a:hover{
  background: #444;
}
#toggle{ 
 display: none;
}


/*メディアエクリ*/
@media only screen and (max-width: 768px) {
    #menu li{
    width: 25%;
    border-bottom: 1px solid #444;
  }
}
@media only screen and (max-width: 480px) {
  img {
		width: 100%;
		margin: 0px 0 10px 0;

  }

  body {
		width: 100%;
		margin: auto;
                font-size:60%;
        }    

        fotter {
		width: 100%;
		margin: auto;
                font-size:40%;
	}

        .bg_test {
                width: 100%;
                margin: auto;
       }

   #mainimg {
		width: 100%;
		margin: auto;

       }

  .midashi {
		width: 100%;
		margin: auto;
                font-size:90%;
  }

table {
    width: 100%;
    margin: 0 auto;
    font-size:60%;
}

th {
    width: 18%;
    margin: 0 auto;
}

td {
    width: 82%;
    margin: 0 auto;
}

  #menu{
    display: none;
  }
  #menu li{
    width: 100%;
  }
  #toggle{
    display: block;
    position: relative;
    width: 100%;
    background: #222;
  }
  #toggle a{
    display: block;
    position: relative;
    padding: 12px 0 10px;
    border-bottom: 1px solid #444;
    color: #fff;
    text-align: center;
    text-decoration: none;
  }
  #toggle:before{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    background: #fff;
  }
  #toggle a:before, #toggle a:after{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 20px;
    height: 4px;
    background: #222;
  }
  #toggle a:before{
    margin-top: -6px;
  }
  #toggle a:after{
    margin-top: 2px;
  }
}

