@charset "utf-8";
.sec-gallery{
  padding-top: 40px;
  padding-bottom: 60px;
}
.gallery-p{
  margin-top: 40px;
  margin-bottom: 60px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: center;
}
.gallery-ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}
.gallery-ul li{
  text-align: center;
}
.gallery-ul a{
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding-bottom: 8px;
  position: relative;
}
.gallery-ul .current-li a{
  pointer-events: none;
}
.gallery-ul .current-li a, .gallery-ul a:hover{
  color: #fff;
  opacity: 1;
}
.gallery-ul  a::before{
  transition: 0.3s;
}
.gallery-ul .current-li a::before, .gallery-ul a:hover::before{
  content: "";
  background-color: #fff;
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
}
.gallery-row{
  row-gap: 22px;
}
.gallery-row a{
  display: block;
  position: relative;
}
.gallery-row a::before, .gallery-row a::after{
  transition: 0.3s;
  opacity: 0;
}
.gallery-row a:hover::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  opacity: 1;
}
.gallery-row a:hover::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url(../images/gallery/search-white.svg) no-repeat center center/contain;
  width: 78px;
  height: 78px;
  opacity: 1;
}
@media all and (min-width: 576px) {
  .gallery-ul{
    flex-direction: row;
  }

}
@media all and (min-width: 768px) {
}
@media all and (min-width: 992px) {
  .sec-gallery{
    padding-top: 55px;
    padding-bottom: 100px;
  }
  .gallery-p{
    margin-top: 55px;
    margin-bottom: 95px;
    font-size: 1.285rem;
  }
  .gallery-ul{
    gap: 60px;
    margin-bottom: 60px;
  }
  .gallery-ul a{
    font-size: 2.142rem;
  }
}
@media all and (min-width: 1200px) {
}
@media all and (min-width: 1400px) {
}
/*デスクトップ*/
@media all and (min-width: 992px) and (max-width: 1199px) {
}
/*中デバイス*/
@media all and (min-width: 768px) and (max-width: 991px) {
  
}
/*小デバイス*/
@media all and (min-width: 576px) and (max-width: 767px) {

}

@media all and (max-width: 400px) {
 
}

/*iPhone5:SE*/
@media all and (max-width: 320px) {

}