@charset "UTF-8";

#tag .list {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

#tag .list > li {
  margin: 0 10px 10px 0;
}

#tag .list > li > a {
  text-decoration: none;
  background-color: #f6f0ed;
  border: 1px solid #fff;
  padding: 5px 10px;
  transition: 300ms all ease-in-out;
}

#tag .list > li.active > a,
#tag .list > li > a:hover {
  background-color: #fff;
  border: 1px solid #d7c7be;
}

#products, 
#products .inner ,
#products .inner .more {
  transition: all 300ms ease-in-out;
}

#products .list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#products .list > li {
  display: none;
  width: calc((100% / 4) - (70px / 4));
  margin-bottom: 40px;
}

#products .list > li.ready {
  display: block;
}

@keyframes slideInUp {
  from {
    transform: translate3d(0, 50%, 0);
    visibility: visible;
    opacity: 0;
  }

  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

.slide-up {
  animation-name: none;
  animation-duration: 500ms;
  animation-fill-mode: both;
}

#products .list > li.hide,
#products .list > li.hide2 {
  display: none;
  visibility: hidden;
  opacity: 0;
}

#products .list > li > a {
  text-decoration: none;
}

#products .img-blc .tag {
  top: 4px;
  left: 4px;
  line-height: 1.2;
  font-size: 80%;
  padding: 5px 10px;
  z-index: 99;
}

#products a:hover .img-blc::before {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .1);
  z-index: 9;
}
#products a .img-blc{
  position: relative;
}
#products a .img-blc {
  content: ”;
  display: block;
  padding-top: 100%;
}
#products a .img-blc > img {
  width: 100%;
  height: 100%;
  transition: all 300ms ease-in-out;
  max-width: 289px;
  max-height: 289px;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  
  
  
}

#products a .img-blc > img.hover {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  margin: auto;
}

#products a:hover .img-blc > img.hover {
  opacity: 1;
}

#products a:hover .img-blc > img:not(.hover) {
  opacity: 0;
}

#products .txt-blc {
  padding: 0 8px;
}

#products .txt-blc .ttl {
  color: #7f5c2e;
  font-weight: 600;
}

#products .txt-blc .txt {
  margin-top: 5px;
}

#products .more {
  text-align: center;
  padding-bottom: 4rem;
}

#products .more .txt {
  margin-bottom: 20px;
}

#products .more a {
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #5e3f32;
  padding: 10px 20px;
  transition: 300ms all ease-in-out;
}

#products .more a:hover {
  color: #fff;
  background-color: #5e3f32;
}

@media screen and (max-width:1000px) {
  #products .list > li {
    width: calc((100% / 4) - (40px / 4));
  }
}

@media screen and (max-width:767px) {
  #products .list > li {
    width: calc((100% / 3) - (30px / 3));
    margin-bottom: 30px;
  }
}

@media screen and (max-width:480px) {
  #products .list > li {
    width: calc((100% / 2) - (15px / 2));
    margin-bottom: 20px;
  }
}