/***  color ***/
/***  border ***/
/*** font ***/
/*** sp size ***/
#gallery {
  padding: 100px 0 120px;
}
#gallery .layout .thumbnailBox {
  padding: 50px 0;
}
#gallery .layout .thumbnailBox:first-child {
  padding: 0 0 50px 0;
}
#gallery .layout .thumbnailBox:last-child {
  padding: 50px 0 0 0;
}
#gallery .layout .thumbnailBox .flex {
  display: flex;
  gap: 20px;
}
#gallery .layout .thumbnailBox .flex .thumbnail {
  width: calc((100% - 40px) / 3);
  text-align: center;
}
#gallery .layout .thumbnailBox .flex .thumbnail .imgBox {
  position: relative;
}
#gallery .layout .thumbnailBox .flex .thumbnail .imgBox a::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
  width: 40px;
  height: 40px;
  margin: auto;
  background: url("../img/icon_zoom.svg") no-repeat center;
  background-size: 100% 100%;
  background-color: #003C87;
  border-bottom-right-radius: 1.07vw;
}
#gallery .layout .thumbnailBox .flex .thumbnail .imgBox img {
  border-radius: 20px;
  overflow: hidden;
}
#gallery .layout .thumbnailBox .flex .thumbnail p {
  margin-top: 20px;
}
@media screen and (max-width: 750px) {
  #gallery {
    padding: 13.33vw 0 18.67vw;
  }
  #gallery .layout .thumbnailBox {
    padding: 0;
  }
  #gallery .layout .thumbnailBox:first-child {
    padding: 0 0 25px 0;
  }
  #gallery .layout .thumbnailBox:last-child {
    padding: 25px 0 0 0;
  }
  #gallery .layout .thumbnailBox .flex {
    flex-wrap: wrap;
  }
  #gallery .layout .thumbnailBox .flex .thumbnail {
    width: calc((100% - 20px) / 2);
  }
  #gallery .layout .thumbnailBox .flex .thumbnail .imgBox {
    position: relative;
  }
  #gallery .layout .thumbnailBox .flex .thumbnail .imgBox a::after {
    content: "";
    width: 5.33vw;
    height: 5.33vw;
    border-bottom-right-radius: 1.6vw;
  }
  #gallery .layout .thumbnailBox .flex .thumbnail .imgBox img {
    max-width: 100%;
  }
  #gallery .layout .thumbnailBox .flex .thumbnail p {
    font-size: 3.73vw;
    margin-top: 2.67vw;
  }
}

/*# sourceMappingURL=gallery.css.map */
