@charset "UTF-8";
/*==============
    photo
===============*/
#photo ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#photo ul li{
  width: calc(50% - 24px);
  margin-bottom: 48px;
}
#photo ul li a .ttl{
  font-size: 1.4rem;
  line-height: 1.5;
  margin-top: 16px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  transition: 0.4s all;
}
#photo ul li:hover a .ttl {
  opacity: 0.5;
}
#photo_detail .content .gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#photo_detail .content .gallery .thumb {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 1%;
  justify-content: flex-start;
  margin-bottom: 32px;
  width: 100%;
}
#photo_detail .content .gallery .thumb a {
  width: 24.25%;
}
#photo_detail .content .gallery .thumb a img{
  object-fit: cover;
  height: 100%;
  width: 100%;
  object-position: 50% 50%;
  width: 100%;
  /*height: 100%;*/
  max-height: 275px;
  /*min-width: 24.25vw;*/
  object-fit: cover;
}
#photo_detail .content .gallery .thumb:hover {
  opacity: .8;
  transition: all .3s ease 0s;
  -moz-transition: all .3s ease 0s;
  -webkit-transition: all .3s ease 0s;
}
#photo .container ul li a .thumbnail{
  overflow: hidden;
  position: relative;
}
#photo .container ul li a .thumbnail img{
  transition: 0.8s all;
}
#photo .container ul li:hover a .thumbnail img{
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}
#photo_detail .photo-body .content {
  padding: 32px;
}
@media screen and (max-width: 768px){
  #photo ul li{
      width: calc(50% - 12px);
      margin-bottom: 24px;
  }
  #photo_detail .content .gallery .thumb a img {
    min-width: auto;
    height: 39.25vw;
  }
  #photo_detail .content .gallery .thumb a {
      width: calc(98% / 2);

  }
  #photo_detail .content .gallery .thumb{
      gap: 12px 2%;
  }
}
