@charset "UTF-8";

/* =========================================================
  Fix Layout Columns
========================================================= */
body {
  min-width: 900px;
  background-color: #d5f0cf;
}

/* header
----------------------------------------------- */
#header {
  clear: both;
  margin: 0 auto;
  padding: 6px 0 2px;
  border-bottom: 2px solid #1c4297;
  background-color: #f2f2f2;
}
#headerBody {
  width: 900px;
  margin: 0 auto;
}

/* container
----------------------------------------------- */
#container {
  clear: both;
  margin: 0 auto;
  background: url(../../images/background.png) center top no-repeat #fff;
}

/* banner
----------------------------------------------- */
#banner {
  clear: both;
  width: 900px;
  margin: 0 auto;
}

/* main
----------------------------------------------- */
#main {
  clear: both;
  width: 900px;
  margin: 0 auto;
}
#wrapper:before, #wrapper:after {
  content: "";
  display: table;
}
#wrapper:after {
  clear: both;
}
#wrapper {
  margin: 0px auto 40px;
  zoom: 1;
}

/* content(right column)
----------------------------------------------- */
#content {
  min-height: 580px;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 3px 9px #f2f2f2;
}
#page-gakuentoshika-index #content {
  min-height: auto;
  padding: 0;
  background-color: transparent;
  box-shadow: none;
}

/* footer
----------------------------------------------- */
#footer {
  position: relative;
  clear: both;
  margin: 0 auto;
  padding-top: 54px;
  background: url(../../images/footer-repeat.png) center bottom repeat-x;
}
#footer:after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -450px;
  display: block;
  width: 900px;
  height: 54px;
  background: url(../../images/footer.png) center bottom no-repeat;
}
#footerBody {
  padding: 10px 0;
  border-top: 2px solid #4fa72d;
  background-color: #d5f0cf;
}

/* Responsive Layout
----------------------------------------------- */
@media screen and (max-width: 768px) {
  body {
    min-width: auto;
  }
  #header {
    display: none;
  }
  #container {
    background-size: 100% auto;
  }
  #banner, #main {
    width: auto;
  }
  #wrapper {
    margin-bottom: 15px;
  }
  #content {
    min-height: auto;
    padding: 10px;
    box-shadow: none;
  }
  #page-gakuentoshika-index #content {
    padding: 10px;
  }
  #footer {
    padding-top: 27px;
    background: none;
  }
  #footer:after {
    left: 0;
    width: 100%;
    height: 27px;
    margin-left: 0;
    background-size: 450px 27px;
  }
}