body {
  border-top: 10px solid #21294C;
  background: url(images/bodyBack.png) repeat-x left top;
  background-size: contain;
}

#center input.gsc-search-button,
#center input.gsc-search-button:hover,
#center input.gsc-search-button:focus {
  background-color: #21294C !important;
}
#whiteBack {
  background: #FFF;
  width: 990px;
  margin: 15px auto;
  border-radius: 16px;
}
#center header {
  border-bottom: 2px solid #21294C;
  height: 100px;
}
#mainArea {
  background: url(images/mainBack.png) no-repeat;
  width: 950px;
  height: 308px;
  margin: 20px auto 0;
  text-align: left;
  color: #555;
  box-sizing: border-box;
  padding: 75px 25px 10px;
}
#mainArea h2 {
  font-size: 22px;
  border-bottom: 2px solid #979797;
  width: 590px;
  line-height: 1.8;
  margin-bottom: 10px;
}
#mainArea p {
  width: 590px;
  font-size: 18px;
  line-height: 1.5;
}

#shogakko {
  width: 626px;
  float: left;
  background: url(images/shoBack.png);
  border-radius: 16px;
  padding: 0 50px;
}
#chugakko {
  width: 313px;
  float: right;
  background: url(images/chuBack.png);
  border-radius: 16px;
  padding: 0 31px;
}
#shogakko h2,
#chugakko h2 {
  text-align: center;
  margin: 15px;
}
#shogakko ul,
#chugakko ul {
  margin-bottom: 15px;
}
#shogakko ul li,
#chugakko ul li {
  font-size: 20px;
  margin-bottom: 10px;
  width: 250px;
  color: #999;
}
#shogakko ul li a,
#chugakko ul li a,
#shogakko ul li span,
#chugakko ul li span {
  display: block;
  padding: 10px;
  border: 1px solid #979797;
  border-radius: 10px;
  background: #FFF;
  text-align: center;
  text-decoration: none;
}
#shogakko ul li a:hover,
#chugakko ul li a:hover {
  background: #FFFEF0;
}
#shogakko ul li {
  float: left;
}
#shogakko ul li:nth-child(even) {
  float: right;
}
#shogakko ul {
  overflow: hidden;
}
#kyoikuiinkai h2 {
  color: #4752C2;
  font-size: 22px;
  background: url(images/kyoikuiinkaiBack.png) no-repeat left center;
  padding: 0px 0 15px 15px;
}


footer {
  border-top: 4px solid #21294C;
}
#copyright {
  color: #FFF;
  background: #21294C;
}
#center #footerLeft {
  width: 800px;
}
#center #footerRight {
  width: 150px;
}
#center #footerLeft address {
  line-height: 1.6;
}

input.gsc-search-button, input.gsc-search-button:hover, input.gsc-search-button:focus {
  background-color: #4752C2 !important;
  border: 1px solid #999 !important;
}

#contents h1 {
	color: #21294C;
}

#contents h2 {
  background: #E9EDFF;
}
#contents h3 {
  border-left: 5px solid #6078E1;
}

#center #topicPath {
  width: 950px;
  margin: 15px auto 10px;
}


@media screen and (max-width:479px) {
  #whiteBack {
    width: auto;
    margin: 10px 15px;
  }
  #mainArea {
    width: auto;
    height: auto;
    background-size: 100% auto;
    padding: 50px 10px 0;
    margin-bottom: 20px;
  }
  #mainArea h2,
  #mainArea p {
    width: auto;
  }
  #mainArea h2 {
    font-size: 14px;
  }
  #mainArea p {
    font-size: 14px;
    margin-bottom: 10px;
  }
  #mainArea p span {
    display: block;
    color: #21294C;
    font-weight: bold;
  }
  #shogakko,
  #chugakko {
    width: 100%;
    float: none;
    padding: 0 15px 10px;
    height: auto !important;
  }
  #shogakko ul li,
  #chugakko ul li {
    float: none;
    width: 100%;
  }
  #shogakko ul li:nth-child(even) {
    float: none;
  }
  #center #footerLeft {
    width: auto;
  }
  #center #footerRight {
    width: 100%;
  }
}
