@charset "UTF-8";
#school .school_con .school_inner {
  margin-bottom: 60px;
}

#school .school_con .school_inner:last-child {
  margin-bottom: 0;
}

#school .common_donyu {
  margin-bottom: 30px;
}

#school .school_con h4 {
  font-size: 15px;
  font-weight: bold;
  margin-top: 18px;
  margin-bottom: 10px;
}

#school .school_con h4:first-child {
  margin-top: 0;
}

@media print, screen and (min-width: 768px) {
  /*PCのみ*/
  #school .school_con.no_area .school_inner,
  #school .school_con.area .school_inner_s {
    margin-top: -1.5%;
    display: flex;
    flex-wrap: wrap;
  }
  #school .school_con p {
    width: 32.3%;
    margin-top: 1.5%;
    margin-right: 1.5%;
  }
	
#school .school_con p:nth-child(3n){
	margin-right: 0;
}
  #school .school_con p.no_count {
    color: #919191;
  }
}

@media only screen and (max-width: 1260px) {
  #school .school_con p,
  #school .school_con p:nth-child(3n){
    width: 49.2%;
    margin-right: 1.5%;
  }
	
#school .school_con p:nth-child(2n){
	margin-right: 0;
}
}

@media only screen and (max-width: 767px) {
  /*スマホのみ*/
  #school .school_con p,
  #school .school_con p:nth-child(2n),
  #school .school_con p:nth-child(3n){
    width: 100%;
    margin-right: 0;
  }
}

#school .school_con p.no_count .no_count_inner,
#school .school_con p a {
  display: block;
  border: 3px solid #dddddd;
  text-decoration: none;
  padding: 15px 18px 15px 14px;
  font-size: 14px;
  position: relative;
}

#school .school_con p a:hover {
  border: 3px solid #a5a5a5;
}

#school .school_con p a:before {
  position: absolute;
  top: 50%;
  right: 10px;
  content: '';
  margin-top: -3px;
  display: block;
  border-left: 1px solid #a5a5a5;
  border-bottom: 1px solid #a5a5a5;
  width: 6px;
  height: 6px;
  transform: rotate(-135deg);
}

#school .school_con p.no_count span.num {
  font-size: 13px;
}

#school .school_con p a span.num {
  font-size: 13px;
  color: #be0000;
}

@media only screen and (max-width: 767px) {
  /*スマホのみ*/
  #school .school_con .school_inner {
    margin-bottom: 40px;
  }
  #school .school_con.no_area h3 {
    margin-bottom: 14px;
  }
  #school .school_con.area h3 {
    margin-bottom: 12px;
  }
  #school .school_con h4 {
    margin-bottom: 8px;
  }
  #school .school_con p {
    margin-top: 8px;
  }
  #school .school_con p:first-child {
    margin-top: 0;
  }
}
