@charset "UTF-8";
/* SP縦から */
/* SP横から */
/* タブレット縦から */
/* コンテンツ幅 */
/* フルワイド */
@import url(https://fonts.googleapis.com/earlyaccess/notosansjapanese.css);
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap");
.gallery {
  padding: 167px 20px 0;
}
.gallery h2 {
  border-bottom: none;
  font-size: 1.6rem;
  padding: 0;
  margin-bottom: 80px;
  text-align: center;
}
.gallery h2 span {
  margin-bottom: 24px;
  display: block;
  color: #008BD0;
  font-size: 6rem;
  font-weight: 700;
  letter-spacing: 0;
  position: relative;
  z-index: 1;
  font-family: "Source Sans Pro", sans-serif;
}
.gallery h2::after {
  margin-left: -80px;
  left: 50%;
  border-bottom-width: 4px;
  bottom: -42px;
  width: 160px;
}
.gallery h2::before {
  margin-left: -60px;
  position: absolute;
  left: 50%;
  top: -72px;
  background: url(/hgu/admission/gallery/images/icon01.png) no-repeat;
  background-size: 121px auto;
  width: 121px;
  height: 100px;
  content: "";
}
.gallery .top_text {
  margin-bottom: 96px;
  text-align: center;
  line-height: 2em;
}
.gallery .photo_ul {
  max-width: 1710px;
  margin: -20px auto 100px;
  display: flex;
  flex-wrap: wrap;
}
.gallery .photo_ul li {
  margin: 20px 1.18% 0 0;
  width: 19.05%;
}
.gallery .photo_ul li:nth-child(5n) {
  margin-right: 0;
}
@media all and (max-width: 896px) {
  .gallery {
    padding: 40px 15px 0;
  }
  .gallery h2 {
    font-size: 1.4rem;
    margin-bottom: 30px;
  }
  .gallery h2 span {
    margin-bottom: 10px;
    font-size: 3rem;
  }
  .gallery h2::after {
    margin-left: -40px;
    bottom: -10px;
    width: 80px;
  }
  .gallery h2::before {
    margin-left: -30px;
    top: -20px;
    background-size: 60px auto;
    width: 60px;
  }
  .gallery .top_text {
    margin-bottom: 20px;
    text-align: left;
  }
  .gallery .photo_ul {
    max-width: inherit;
    margin: -10px auto 30px;
  }
  .gallery .photo_ul li {
    margin: 10px 2% 0 0 !important;
    width: 32%;
  }
  .gallery .photo_ul li:nth-child(3n) {
    margin-right: 0 !important;
  }
}