@charset "utf-8";

* {
  box-sizing: border-box;
}

#wrapper,
.inner {
  width: 100%;
}

#content {
  width: 100%;
}

.wrap {
  margin: 0 auto;
  margin: 0 calc(50% - 50vw);
  width: 100%;
}

/* ---------------------------- */

.item_wrapper {
  list-style-type: none;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0 1vw 1vw;
}

/* -------------------------- */

.js-item {
  width: 20%;
  padding: 10px;
}
.js-item img {
  display: block;
  width: 100%;
}

.content2 p {
  -webkit-text-size-adjust: 100%;
  width: 80%;
  margin: 3rem auto;
}

.content2 .js-item {
  width: 25%;
}

/* ---------------------- */

.item_wrapper li {
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.12), 0 2px 3px 0 rgba(0, 0, 0, 0.22);
  transition: 0.3s;
}
.item_wrapper li:hover {
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.15), 0 0 5px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.img-box {
  text-align: center;
}

.img-box img {
  max-height: 80vh;
  width: 100%;
  object-fit: contain;
}

.active {
  display: block;
}

@media screen and (max-width: 814px) {
  .img-box img {
    max-width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .js-item {
    width: 33.3%;
    padding: 3px;
  }
}
