/* ---------------------------------------
  TITLE : HANSHIN Tigers
  URI : https://series.hanshintigers.jp/
  (C) HANSHIN Tigers.
--------------------------------------- */
.p-game-section {
  width: 1200px;
  margin: 50px auto;
}
.p-game-section__subhead {
  font-family: anton, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 48px;
  margin: 0 0 40px 0;
  letter-spacing: 0.04em;
  text-align: center;
  background: #ffe100;
  color: #000000;
}
.p-game-section__subhead span {
  font-size: 32px;
  display: inline-block;
  margin-right: 15px;
  vertical-align: middle;
  padding: 2px 8px 8px 8px;
  background: #000000;
  color: #ffe100;
  margin-bottom: 8px;
}
.p-game-section__subhead small {
  display: inline-block;
  margin-left: 5px;
  font-size: 28px;
}

.p-game-photo {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 40px 1fr 40px 1fr 40px 1fr;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 40px;
  grid-row-gap: 40px;
}
.p-game-photo li {
  width: 270px;
  position: relative;
}
.p-game-photo li.t {
  width: auto;
  height: 180px;
  text-align: center;
}
.p-game-photo li.t img {
  height: 180px;
  width: auto;
}
.p-game-photo li a {
  display: block;
}
.p-game-photo li a img {
  width: 100%;
  height: auto;
}
.p-game-photo li a::before {
  content: "";
  display: block;
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  -webkit-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;
}
.p-game-photo li a::after {
  content: attr(data-title);
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  margin: auto;
  width: 90%;
  color: transparent;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-transition: color 0.6s ease;
  transition: color 0.6s ease;
}
.p-game-photo li a:hover::before {
  opacity: 1;
}
.p-game-photo li a:hover::after {
  color: #FFF;
}

@media screen and (max-width: 767px) {
  .p-game-section {
    width: auto;
    margin: 30px 4% 50px 4%;
  }
  .p-game-section__subhead {
    font-size: 30px;
    margin-bottom: 20px;
  }
  .p-game-section__subhead span {
    font-size: 20px;
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
    padding: 2px 8px 8px 8px;
    margin-bottom: 4px;
  }
  .p-game-section__subhead small {
    display: inline-block;
    margin-left: 5px;
    font-size: 18px;
  }
  .p-game-photo {
    -ms-grid-columns: 1fr 5px 1fr 5px 1fr;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 5px;
    grid-row-gap: 5px;
  }
  .p-game-photo li {
    width: 100%;
    position: relative;
  }
  .p-game-photo li.t {
    width: 100%;
    height: auto;
  }
  .p-game-photo li.t img {
    width: 50%;
    height: auto;
  }
  .p-game-photo li a {
    display: block;
  }
  .p-game-photo li a img {
    width: 100%;
    height: auto;
  }
  .p-game-photo li a::before {
    display: none;
  }
  .p-game-photo li a::after {
    display: none;
  }
  .p-game-photo li a:hover::before {
    display: none;
  }
  .p-game-photo li a:hover::after {
    display: none;
  }
  .lum-close-button {
    display: none !important;
  }
}
/*# sourceMappingURL=gallery.css.map */