@charset "utf-8";
/*  font-size 16pxの62.5% = 10px = 1rem
----------------------------------------- */
html {
  font-size: 62.5%;
}

/* #header / #footer
----------------------------------------- */
#header {
  max-width: 100%;
  box-shadow: 0px 0 10px 0px rgba(0, 0, 0, 0.1);
  z-index: 2;
  background-color: #fff;
}
#header #logo {
  max-width: 1050px;
  width: 100%;
  margin: 0 auto;
  padding: 10px;
}
#footer {
  background-color: #fff;
}

/* .l-main
----------------------------------------- */
.l-main {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  color: #282828;
  background-color: #f6e1e6;
  line-height: 1.5;
  font-family: "Noto Sans JP", sans-serif;
  overflow: hidden;
}
.l-main img {
  width: 100%;
}
.l-main a {
  text-decoration: none;
}

/* MV
----------------------------------------- */
.p-mv {
  width: 100%;
  text-align: center;
}

.p-mv img {
  width: 100%;
}

.p-mv__img {
  margin-bottom: 48px;
}

/* .p-unis
----------------------------------------- */
.p-unis {
  max-width: 90%;
  width: 100%;
  margin: 0 auto 100px;
  display: flex;
  flex-wrap: wrap;
  column-gap: 4%;
}

.p-uni {
  max-width: calc((100% - 4%) / 2);
  width: 100%;
  margin-bottom: 16px;
  background-color: #fff;
  border-radius: 16px;
}

.p-uni a {
  display: inline-block;
  width: 100%;
  height: 152px;
  text-align: center;
}

.p-uni__image {
  text-align: center;
  margin: 24px 0 8px;
}
.p-uni__image img {
  width: 25%;
  height: auto;
}

.p-uni__info {
  position: relative;
  height: calc((2.4rem * 1.25) * 2);
  /* 計算式の内訳 
  calc((文字の大きさ * line-height（行間）の値 ) * 大学名の最大行数)*/
}

.p-uni__name {
  font-weight: bold;
  font-size: 2.4rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  line-height: 1.25;
}

/*================================================
 *  タブレット向けデザイン（520～959px）
 ================================================*/
@media (min-width: 520px) {
  /* MV */
  .p-mv__img img {
    object-fit: cover;
    min-height: 300px;
  }

  /* .p-unis */
  .p-unis {
    column-gap: 2%;
    margin: 0 auto 8%;
  }
  .p-uni {
    max-width: calc((100% - 4%) / 3);
    margin-bottom: 3%;
  }

  .p-uni__image {
    text-align: center;
    margin: 24px 0 8px;
  }

  .p-uni__image img {
    width: 25%;
    height: auto;
  }
  .p-uni__name {
    font-weight: bold;
    font-size: 2.4rem;
  }
}

/*================================================
 *  PC向けデザイン（960px～）
 ================================================*/
@media (min-width: 960px) {
  /* font-size */
  html {
    font-size: 71%;
  }

  /* .p-unis */
  .p-unis {
    max-width: calc(min(1100px, 90%));
    column-gap: 20px;
  }
  .p-uni {
    max-width: calc((100% - (20px * 3)) / 4);
    margin-bottom: 30px;
  }

  .p-uni__image {
    text-align: center;
    margin: 16px 0 8px;
  }

  .p-uni__image img {
    width: 25%;
    height: auto;
  }

  .p-uni__info {
    height: calc(2.4rem * 1.25);
    /* 計算式の内訳 
    calc((文字の大きさ * line-height（行間）の値 ) * 大学名の最大行数)*/
  }

  .p-uni__name {
    font-weight: bold;
    font-size: 2.4rem;
  }

  .br-sp {
    display: none;
  }
}
