.school {
  background-color: #eaf0fe;
  border-radius: 10px;
  margin: 10px 0;
  border: 1px solid #003df0;
  cursor: pointer;
}

.school-result a {
  font-weight: normal;
}

.school-result {
  max-height: 600px;
  overflow-y: auto;
}

.school-image {
  width: 7%;
}

.school-name {
  margin: 0;
  font-size: 35px;
  font-weight: bold;
  width: 36%;
  color: black;
  line-height: 72px;
}

.middle-length {
  font-size: 25px;
}

.long-length {
  line-height: 36px;
}

.school-category {
  color: white;
  text-align: center;
  margin: 3px;
  border-radius: 5px;
}

.school-category-tmp {
  color: white;
  text-align: center;
  margin: 5px 3px;
  width: 96%;
  border-radius: 5px;
  padding: 1px;
}

.siritsu {
  background-color: orange;
}

.thihou {
  background-color: skyblue;
}

.kouritsu {
  background-color: green;
}

.danshi {
  background-color: blue;
}

.zyoshi {
  background-color: pink;
}

.kyogaku {
  background-color: #f3e400;
}

.school-address {
  width: 27%;
  padding: 10px 0;
  color: black;
  margin: 0 2%;
  font-size: 16px;
}

.school-Devi {
  width: 2%;
  color: black;
  font-weight: bold;
  align-self: center;
}

.school-Devi-number {
  width: 60%;
  text-align: center;
  margin: 2px auto;
  font-size: 30px;
  padding-top: 3px;
  background-color: #003df0;
  color: white;
  line-height: 50px;
  border-radius: 15px;
}

.school-Devi-detail {
  width: 15%;
}

.school-Devi-detail>p {
  font-size: 10px;
  margin: 0 auto;
  text-align: center;
  font-weight: bold;
}

.school-yazirushi {
  width: 4%;
  background-color: #003df0;
  border-radius: 0 9px 9px 0;
}

.yazirushi {
  border-top: 5px solid white;
  border-right: 5px solid white;
  width: 15px;
  height: 15px;
  margin-top: 25px;
  transform: rotateZ(45deg);
}
