/*==================================================
    パンくず
==================================================*/
.breadcrumb {
  padding: 2.8rem 0;
}

/*==================================================
    ページタイトル
==================================================*/
.pageHead {
  padding-top: 2.2rem;

  .inner {
    width: 1100px;
  }
}

@media screen and (max-width: 767px) {
  .pageHead {
    padding: 17.8667vw 0 0 0;
  }
}

/*==================================================
    SCHOOL SELECT
==================================================*/
#schoolSelect {
  padding-bottom: 7.6rem;

  .inner {
    width: 1100px;
  }

  .calendarLink {
    background-color: #fff;
    border: 1px solid #7b8998;
    border-radius: 10px;
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 500;
    justify-content: space-between;
    /* margin-inline: auto 5rem; */
		margin: 0 auto;
    padding: 1rem 1.7rem 1rem 1.7rem;
    position: relative;
    transition: .3s;
    width: fit-content;
  }

  .calendarLink::after {
    background-image: url(../img/icon_nav_arrow_right.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
    height: 1rem;
    width: 1.2rem;
    margin-left: 1em;
  }

  @media (hover: hover) {
    .calendarLink:hover {
      background: #000;
      color: #fff;
      opacity: 1;
    }

    .calendarLink:hover::after {
      background-image: url(../img/icon_nav_arrow_right_hover.png);
    }
  }

  .schoolList {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
    padding: 6rem 5rem 4.4rem;
		width: 500px;
		margin: 0 auto;
  }

  /* .schoolList {
    display: grid;
    gap: .4rem;
    grid-template-columns: repeat(5, 1fr);
  } */

  .schoolList__link {
    align-items: center;
    background: #fff;
    border: .1rem solid #000;
    border-radius: .5rem;
    display: flex;
    justify-content: space-between;
    padding: 1.6rem 1.6rem 1.6rem 2.6rem;
    width: 100%;
    position: relative;
    transition: .3s;
  }

  @media (hover: hover) {
    .schoolList__link:hover {
      background: #000;
      color: #fff;
      opacity: 1;
    }

    .schoolList__link:hover::after {
      background-image: url(../img/icon_nav_arrow_right_hover.png);
    }
  }

  .schoolList__text {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1;
  }

  .schoolList__link::after {
    background-image: url(../img/icon_nav_arrow_right.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
    height: 1rem;
    width: 1.2rem;
  }

  @media screen and (max-width: 767px) {
    padding-bottom: 18vw;

    .calendarLink {
      border-radius: 10px;
      font-size: 3.47vw;
      margin: 9.33vw auto 0;
      padding: 2.8vw 2.53vw 2.8vw 3.87vw;
    }

    .schoolList {
      column-gap: 3.6vw;
      row-gap: 2.53vw;
      grid-template-columns: repeat(2, 1fr);
      padding: 10.27vw 0 4vw;
			width: auto;
    }

    .schoolList__text {
      font-size: 3.73vw 3.33vw 3.73vw;
    }

    .schoolList__link {
      padding: 4.27vw ;
    }

    .schoolList__link::after {
      height: 2.13vw;
      width: 2.53vw;
    }
  }
}

