@charset "UTF-8";


/* --------------------------------------------------
gallery
-------------------------------------------------- */
#gallery{
	width:100%;
	position:relative;
	padding-bottom:200rem;
}

#gallery_inner{
	width:100%;
	padding-top:220rem;
}

#gallery_title{
	width:290rem;
	margin:0 auto;
	padding-bottom:70rem;
}

#gallery_block{
	width:100%;
	position:relative;
}

.viewer{
  width:650rem;
  height:262rem;
  margin:0 auto 40rem;
}

.viewer img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  opacity:1;
  transition:opacity .3s ease;
}

.viewer img.fadeout{
  opacity:0;
}

.thumbWrap{
	width:750rem;
  margin:0 auto;
  display:flex;
  align-items:center;
}

.nav{
  width:50rem;
  height:47rem;
  display:flex;
  justify-content:center;
  align-items:center;
  cursor:pointer;
  user-select:none;
  flex-shrink:0;
}

.nav img{
  width:100%;
  height:auto;
  display:block;
  transition:opacity .3s;
}

.nav:hover img{
  opacity:.7;
}

.thumbViewport{
  width:650rem;
  flex:none;
  overflow:hidden;
}

.thumbTrack{
  display:flex;
  width:200%;
}

.page{
  width:50%;
  flex-shrink:0;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20rem;
}

.thumb{
  width:100%;
  cursor:pointer;
  opacity:.4;
}

.thumb.active{
  opacity:1;
}

.thumb img{
  width:100%;
  display:block;
}

/* --------------------------------------------------
animation
-------------------------------------------------- */

@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

#gallery_title,
#gallery_block{
	opacity:0;
}

.is-loaded #gallery_title{
  animation: fadeInUp 1.2s cubic-bezier(.17,.67,.3,.92) 0.6s forwards;
}

.is-loaded #gallery_block{
  animation: fadeInUp 1.2s cubic-bezier(.17,.67,.3,.92) 1.0s forwards;
}






