@charset "UTF-8";
/*================================================
このCSSファイルはSassから生成されています。
編集しないようにご注意ください。
================================================*/
html {
  font-size: 62.5%;
  /* 10px */
  height: 100%;
  box-sizing: border-box;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
  display: block;
}

.ttl_wrap span {
  font-size: 1.3rem;
  padding-left: 1rem;
  font-weight: normal;
}

/*＝＝＝並び替えボタンのCSS*/
.sort-btn_wrap {
  margin-left: 5%;
  margin-right: 5%;
}

.sort-btn {
  display: grid;
  row-gap: 18px;
  grid-row-gap: 18px;
  -moz-column-gap: 8px;
       column-gap: 8px;
  grid-column-gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(103px, 1fr));
  padding-top: 36px;
}

.sort-btn li {
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  border: solid 1px #156925;
  font-size: 1.3rem;
  padding: 4px 0;
}

.sort-btn li.active { /*ボタンに現在地＝activeというクラス名がついたら背景色を変更*/
  background: #156925;
  color: #fff;
}

/*＝＝＝Muuriのレイアウトのための調整 */
.grid {
  position: relative; /*並び替えの基準点を指定*/
}

/*各画像の横幅などの設定*/
.item {
  display: block;
  position: absolute;
  width: calc(33.333333% - 4px); /*横並びで3つ表示*/
  z-index: 1;
  margin: 2px;
}

/*内側のボックスの高さが崩れないように維持*/
.item-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery_wrap {
  margin-top: 28px;
  margin-left: 5%;
  margin-right: 5%;
  margin-bottom: 56px;
}

.img_outer {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 100%;
}
.img_outer img {
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.img_inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 1024px) {
  .ttl_wrap span {
    font-size: 16px;
  }
  .sort-btn {
    padding-top: 58px;
  }
  .sort-btn li {
    font-size: 16px;
  }
  .item {
    width: calc(25% - 4px);
  }
  .gallery_wrap {
    margin-top: 36px;
    margin-bottom: 122px;
  }
}

@media screen and (min-width: 768px) {
  .sort-btn_wrap {
    width: 90%;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
  }
  .gallery_wrap {
    margin-top: 36px;
    margin-bottom: 56px;
    width: 90%;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
  }
}
/*# sourceMappingURL=gallery.css.map */
