@keyframes innershow {
  0% {
    opacity: 0;
    transform: translateY(5%); }
  100% {
    opacity: 1;
    transform: translateY(0); } }
.inner {
  animation: innershow .4s forwards;
  animation-delay: 1200ms;
  -o-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  opacity: 0; }

.school-nav {
  margin-bottom: 150px; }
  .school-nav ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; }
  .school-nav li {
    width: 18%; }
    .school-nav li a {
      display: block;
      position: relative;
      width: 100%;
      padding: 6% 2% 12% 2%;
      border-radius: 4px;
      -o-transition: all 0.3s;
      -ms-transition: all 0.3s;
      -moz-transition: all 0.3s;
      -webkit-transition: all 0.3s;
      transition: all 0.3s;
      font-size: 14px;
      font-size: 1.4rem;
      text-align: center;
      background: #01a7bf;
      color: #fff;
      font-weight: bold; }
      @media (min-width: 769px) {
        .school-nav li a:hover {
          background: #01a7bf; }
          .school-nav li a:hover span::before {
            top: 10px; } }
    .school-nav li span {
      position: relative;
      display: block; }
      .school-nav li span::before {
        position: absolute;
        display: block;
        content: "";
        top: 4px;
        right: 0;
        left: 0;
        margin: auto;
        width: 8px;
        height: 8px;
        border: 5px solid transparent;
        border-left: 8px solid #fff;
        -ms-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
        -o-transition: all 0.3s;
        -ms-transition: all 0.3s;
        -moz-transition: all 0.3s;
        -webkit-transition: all 0.3s;
        transition: all 0.3s; }

.school-box {
  margin-top: 40px; }
  .school-box:last-child {
    border-bottom: 1px solid #444; }
  .school-box .ttl {
    margin-bottom: 30px;
    padding: 8px 15px;
    font-size: 18px;
    font-size: 1.8rem;
    background: #fff;
    color: #000;
    font-weight: bold; }

.school-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 100px; }
  .school-list li {
    width: 23.5%;
    margin-right: 2%;
    margin-bottom: 20px;
    overflow: hidden; }
    .school-list li:nth-of-type(4n) {
      margin-right: 0; }
    .school-list li .img {
      -o-transition: all 0.3s;
      -ms-transition: all 0.3s;
      -moz-transition: all 0.3s;
      -webkit-transition: all 0.3s;
      transition: all 0.3s; }
    .school-list li p {
      padding: 4px 0;
      font-size: 15px;
      font-size: 1.5rem;
      font-weight: bold;
      background: #fff;
      text-align: center;
      color: #000; }
    .school-list li.school-end-01 p, .school-list li.school-end-02 p, .school-list li.school-end-03 p, .school-list li.school-end-04 p, .school-list li.school-end-05 p {
      background: #fff;
      color: #000; }
    .school-list li a {
      -o-transition: all 0.3s;
      -ms-transition: all 0.3s;
      -moz-transition: all 0.3s;
      -webkit-transition: all 0.3s;
      transition: all 0.3s; }
      .school-list li a p {
        position: relative;
        background: #01a7bf;
        text-align: center;
        color: #fff;
        -o-transition: all 0.3s;
        -ms-transition: all 0.3s;
        -moz-transition: all 0.3s;
        -webkit-transition: all 0.3s;
        transition: all 0.3s; }
        .school-list li a p::after {
          position: absolute;
          display: block;
          top: 0;
          bottom: 0;
          right: -8px;
          content: "";
          width: 10px;
          height: 10px;
          margin: auto;
          border: 0px;
          border-top: solid 3px #fff;
          border-right: solid 3px #fff;
          -moz-transform: rotate(45deg);
          -ms-transform: rotate(45deg);
          -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
          -o-transition: all 0.2s;
          -ms-transition: all 0.2s;
          -moz-transition: all 0.2s;
          -webkit-transition: all 0.2s;
          transition: all 0.2s; }
      @media (min-width: 769px) {
        .school-list li a:hover .img {
          transform: scale(1.1); }
        .school-list li a:hover p::after {
          right: 5%; } }

@media (max-width: 960px) {
  .school-list li {
    width: 48%;
    margin-right: 4%;
    margin-bottom: 20px; }
    .school-list li:nth-of-type(4n) {
      margin-right: 4%; }
    .school-list li:nth-of-type(2n) {
      margin-right: 0; }

  .school-nav {
    margin-bottom: 80px; }
    .school-nav ul {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap; }
    .school-nav li {
      width: 48%;
      margin-bottom: 20px; } }
@media (max-width: 460px) {
  .school-box .ttl {
    font-size: 16px;
    font-size: 1.6rem; }

  .school-list li p {
    font-size: 12px;
    font-size: 1.2rem; }
    .school-list li p small {
      display: block; } }

/*# sourceMappingURL=school.css.map */