#contents-top {
  position: relative;
  background: url(../images/bg.png) repeat-x;
}
#contents {
  display: block;
  position: relative;
}

#slider-wrap {
  width: 700px;
  padding: 20px 0;
}

/*#slider-wrap {
  width: 700px;
  padding-top: 20px;
}*/

aside#ba {
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  padding: 10px 0;
  margin-top: 1px;
/*  min-height: 1200px;
*/  background-color: #b8d8d8;
  z-index: 1000;
}

aside#ba li {
  padding: 10px;
}

aside#ba p.sp {
  display: none;
}

#top-contents-wrap {
  display:-webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  width: 700px;
}

#news-wrap {
  width: 60%;
  margin: 0;
  border: solid 3px #1E3C91;
  background-color: #fff;
}

#news-wrap h2  {
  color: #FFFFFF;
  background: #1E3C91;
  font-size: 1em;
  padding: 8px 20px;
  text-align: center;
}

#news-wrap h2 span {
  display: block;
}

#news-wrap h2 span.t1 {
  border-bottom: solid 1px #fff;
  margin-bottom: 5px;
  padding-bottom: 5px;
}

#news-wrap dd a {
  color: #000;
}

dl.news {
  margin: 20px;
  font-size: 1.1em;
}

dl.news dt {
  padding-bottom: 5px;
}

dl.news dt.news:after {
  content: "お知らせ";
  font-size: .75em;
  display: inline-block;
  background-color: #96577F;
  color: #fff;
  padding: 3px 0 2px;
  text-align: center;
  margin-left: 10px;
  border-radius: 3px;
  line-height: 1;
  width: 70px;
}

dl.news dt.admission:after {
  content: "入 試";
  font-size: .75em;
  display: inline-block;
  background-color: #AD9256;
  color: #fff;
  padding: 3px 0 2px;
  text-align: center;
  margin-left: 10px;
  border-radius: 3px;
  line-height: 1;
  width: 70px;
}

dl.news dt.event:after {
  content: "学校行事";
  font-size: .75em;
  display: inline-block;
  background-color: #5E84B5;
  color: #fff;
  padding: 3px 0 2px;
  text-align: center;
  margin-left: 10px;
  border-radius: 3px;
  line-height: 1;
  width: 70px;
}

dl.news dd {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: dotted 1px #aaa;
  line-height: 1.4em;
}

dl.news dd span {
  display: block;
  font-size: .85em;
  line-height: 1.2em;
  padding-top: 3px;
}
ul.list {
  text-align: right;
  padding: 0 10px 30px;
}

ul.list li {
  display: inline;
  margin-left: 10px;
}
ul.list li a {
  color: #1E3C91;
}

#blog-wrap {
  width: 37%;
}

.blog {
  border: solid 3px #82AE79;
  background-color: #fff;
  margin-bottom: 20px;
}

.familynews {
  border: solid 3px #F67C7B;
  background-color: #fff;
  margin-bottom: 20px;
}

.blog h2 {
  color: #FFFFFF;
  background: #82AE79;
  font-size: 1em;
  padding: 8px 20px;
  text-align: center;
}

.blog h2 span {
  display: block;
}

.blog h2 span.t1 {
  border-bottom: solid 1px #fff;
  margin-bottom: 5px;
  padding-bottom: 5px;
}

.familynews h2 {
  color: #FFFFFF;
  background: #F67C7B;
  font-size: 1em;
  padding: 8px 20px;
  text-align: center;
}

.familynews .sp {
  display: none;
}


#blog-wrap dd a {
  color: #000;
}

#blog-wrap dl {
  margin: 20px;
  font-size: 1.1em;
}

#blog-wrap dt {
  padding-bottom: 5px;
}

#blog-wrap dd {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: dotted 1px #aaa;
  line-height: 1.4em;
}

.blog-ba {
  margin: 0 10px 10px;
}

.blog dd:last-child {
  margin-bottom: 0;
  padding-bottom: 5px;
  border-bottom: none;
}

#ba-21st-sp, #ba-blog-sp{
  display: none;
}

@media screen and (max-width: 640px) {
#contents-top {
  background: none;
}

#birds {
  display: none;
}
#slider-wrap {
  width: auto;
  height: auto;
  background-color: #FDFCFA;
  overflow: hidden;
  padding: 0;
}

#news-wrap {
  width: auto;
  margin: 0;
  border: none;
}

#news-wrap h2  {
  padding: 10px;
  text-align: left;
}

#news-wrap h2 span {
  display: inline-block;
}

#news-wrap h2 span.t1 {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
  margin-right: 10px;
}


aside#ba {
  position: static;
  width: auto;
  height: auto;
  overflow: hidden;
  min-height: auto;
  min-height: initial;
  padding: 10px 5px;
}

aside#ba ul {
  display:-webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-around;
  -webkit-flex-wrap : wrap;
  flex-wrap: wrap;
}

aside#ba li {
  width: 48%;
  padding: 10px 0;
  text-align: center;
}


aside#ba li.pc {
  display: none;
}

aside#ba p.sp {
  padding: 10px 5px;
  display: block;
  text-align: center;
}

#top-contents-wrap {
  display: block;
  width: auto;
}

#news-wrap, #blog-wrap {
  width: auto;
}

.news dt:nth-of-type(n+6), .news dd:nth-of-type(n+6) {
  display: none;
}
.blog, .familynews {
  border: none;
  margin-bottom: 0;
}

.blog h2 {
  padding: 10px;
  text-align: left;
}

.blog h2 span {
  display: inline-block;
}

.blog h2 span.t1 {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
  margin-right: 10px;
}

.familynews h2 {
  padding: 10px;
  text-align: left;
}

.familynews .sp {
  display: block;
}

.familynews .pc {
  display: none;
}

.blog-ba {
  text-align: center;
  padding-bottom: 10px;
}

#ba-21st-sp{
  display: block;
  text-align: center;
}

#ba-blog-sp {
  display:-webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-around;
  -webkit-flex-wrap : wrap;
  flex-wrap: wrap;
}

#ba-blog-sp div {
  width: 50%;
}

#news-wrap h2  {
  margin: 0;
}
#news-wrap h2:after, #news-wrap h2:before {
  position: static;
  border: none;
}

}
