@charset 'UTF-8';
.gallery02 {}

.gallery02 .box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.gallery02 .article {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: 30.3%;
  margin: 0 calc((100% - 30.3% * 3) / 2) 70px 0;
}

.gallery02 .article:nth-child(3n) {
  margin-right: 0;
}

.gallery02 .article a:hover {
  text-decoration: none;
}

.gallery02 .article a:hover img {
  opacity: .8;
}


/*
.gallery02 .article a img:hover {
  opacity: .8!important;
} */

.gallery02 .square span {
  padding-top: calc(100% - 2px);
  border: 1px solid #bababa;
}

.gallery02 .title {
  margin-top: 15px;
  margin-bottom: 10px;
  line-height: 1.4;
  font-size: 2rem;
  text-align: center;
}

.gallery02 .price {
  text-align: center;
  font-size: 1.8rem;
  font-weight: normal;
  color: #bc0c0c;
}

.gallery02 .text {
  line-height: 2.2;
  font-weight: normal;
  text-align: center;
}

.gallery02 .more {
  text-align: right;
  margin-top: 10px;
}

.gallery02 .page {
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .gallery02 .article {
    width: 32%;
    margin-right: 2%;
  }
  .gallery02 .title {
    font-size: 1.6rem;
  }
  .gallery02 .text {
    font-size: 1.3rem;
    line-height: 2;
  }
}