@charset "UTF-8";

/**======================================
	gallery
======================================**/

/*--------------------------------------
	common
---------------------------------------*/

.list_cont {
  margin-bottom: 4em;
}

.list_cont .object_fit {
  margin-bottom: 1.5em;
  position: relative;
  overflow: hidden;
  border: 1px solid #eee;
  border-radius: 8px;
}

.list_cont a {
  transition: 0.3s;
}

.list_cont a,
.list_cont .icon-play-circle::before {
  transition: 0.3s;
}

.list_cont img {
  transition: 0.3s;
}

.list_cont a:hover img {
  opacity: 0.8;
  transform: scale(1.1);
  transition: 0.3s;
}

#gallery_box span.icon-zoom {
  position: absolute;
  bottom: 5px;
  right: 5px;
  padding: 5px;
  background: rgba(131, 128, 128, 0.5);
  height: 26px;
  width: 26px;
  border-radius: 13px;
  color: #fff;
  font-size: 1.6rem;
}

#gallery_box .gallery_title {
  text-align: center;
  color: var(--main_color);
  font-size: 1.4rem;
}

@media screen and (max-width: 599px) {
  #gallery_box .list_cont .object_fit {
    margin-left: auto;
    margin-right: auto;
    max-width: 280px;
  }
}

@media screen and (min-width: 600px) {
  #gallery_box .gallery_ul {
    margin-top: 100px;
  }
  #gallery_box .list_cont:nth-child(even) {
    margin-top: 40px;
  }
  #gallery_box .list_cont:nth-child(odd) {
    margin-top: -40px;
  }
}

@media screen and (min-width: 1025px) {
  #gallery_box .list_cont {
    margin-bottom: 2em;
  }
}
