.global_wrapper {
  background-image: url("../src/gallery_back_face.png");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  margin: 0 -45px;
}

.tabs {
  display: flex;
  margin-bottom: 20px;
  padding-left: 120px;
  gap: 25px;
}

.tab {
  padding: 10px 20px;
  cursor: pointer;
  text-decoration: none;
  color: #646464;
  letter-spacing: 0;
  font-size: var(--nav-font-size);
  line-height: calc(var(--nav-font-size) * 1.2);

  background-color: transparent;
  border: none;
}

.tab.active {
  text-decoration: underline;
}

#item_wrapper {
  width: 100%;
  padding: 0;
  text-align: center;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
}

#item_wrapper:after {
  content: '';
  display: block;
  clear: both;
  height: 0;
}

.top_mv_back_logo {
    width: 40vh;
    fill: #dee1e6;
    position: absolute;
    top: 25vh;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    z-index: -1;
}

.item {
  padding: 45px;
  box-sizing: border-box;
  width:  calc(1320px / 3);
  height: calc(1320px / 3);
}

.thumb {
  -o-object-fit: contain;
     object-fit: contain;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0px 0px 5px #333);
}

.thumb:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
  -webkit-transition-duration: 1s;
          transition-duration: 1s;
  filter: drop-shadow(0px 0px 10px #000);
}

.popupbg {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10;
  top: 0;
  left: 0;
  display: none;
}

.popup_wrapper {
  width: 100%;
  height: 100%;
  left: 0vw;
  top: 0vh;
  position: fixed;
  z-index: 11;
  text-align: center;
  display: none;
}

.popup_wrapper .pop {
  position: relative;
}

.popup_wrapper .close_btn {
  position: relative;
  left: 50%;
  width: 3vh;
  height: 3vh;
  background: #AAA;
  margin: 0.5vh 0;
  font-size: 2vh;
  vertical-align: middle;
  text-align: center;
  cursor: pointer;
  line-height: 100%;
}

.popup_wrapper .img {
  display: inline-block;
  width: 100%;
  height: 82%;
  -o-object-fit: contain;
  object-fit: contain;
}

.popup_wrapper .title {
  margin-top: 2vh;
  margin-bottom: 0;
  font-size: 2vh;
  color: #FFF;
  font-family: 'Yu Mincho Light','YuMincho','Yu Mincho','游明朝体','ヒラギノ角ゴシック','Hiragino Sans',serif;
}

.popup_wrapper .caption {
  margin: 0.5vh;
  font-size: 1.7vh;
  color: #888;
  font-family: 'Georgia',fantasy;
}

@media screen and (max-width: 1340px) and (min-width: 750px) {
  .global_wrapper {
    width: calc(100vw - 16px);
    margin: 0 -3.4vw;
  }

  .item {
    padding: 3.4vw;
    box-sizing: border-box;
    width:  calc((100vw - 16px) / 3);
    height: calc((100vw - 16px) / 3);
  }
}

/*スマホ向け*/
@media screen and (max-width: 750px) {
  .global_wrapper {
    background-size: contain;
    margin: auto;
  }

  .tabs {
    padding-left: 0;
    justify-content: center;
  }

  .tab {
    font-size: 20px;
  }

  .item {
    width: 100vw;
    height: 100vw;
  }
  .popup_wrapper .close_btn {
    position: relative;
    left: 45.5%;
    width: 9vw;
    height: 9vw;
    background: #AAA;
    font-size: 6vw;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
  }
  .popup_wrapper {
    width: 94vw;
    height: 80vh;
    left: 3vw;
    top: 3vh;
    position: fixed;
    z-index: 11;
    text-align: center;
    display: none;
  }
  .popup_wrapper .img {
    display: inline-block;
    width: 100%;
    height: 68%;
    -o-object-fit: contain;
       object-fit: contain;
  }
  .popup_wrapper .title {
    margin-top: 2vw;
    font-size: 3vw;
  }
  .popup_wrapper .caption {
    margin: 1vw;
    font-size: 2vw;
  }
}
/*# sourceMappingURL=gallery.css.map */
