@charset "UTF-8";


html,
body{
	height:100%;
	margin:0;
}

body{
	min-height:100vh;
	display:flex;
	flex-direction:column;
}

#menu{
	flex:none;
}

#footer{
	flex:none;
}

/* --------------------------------------------------
gallery
-------------------------------------------------- */
#gallery{
	flex:1 0 auto;
	min-height:700rem;
	display:flex;
	align-items:center;
	justify-content:center;
}

#gallery_inner{
	width:100%;
	 max-width:990rem;
}

#gallery_title{
	width:280rem;
	margin:0 auto;
}

#gallery_block{
	width:990rem;
	height:500rem;
	margin:40rem auto 0;
	position:relative;
}

.viewer{
  width:100%;
  height:400rem;
  margin-bottom:30rem;
}

.viewer img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  opacity:1;
  transition:opacity .3s ease;
}

.viewer img.fadeout{
  opacity:0;
}

.thumbWrap{
  display:flex;
  align-items:center;
  gap:10px;
}

.nav{
  width:25rem;
  height:71rem;
  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{
  flex:1;
  overflow:hidden;
}

.thumbTrack{
  display:flex;
  width:200%;
}

.page{
  width:50%;
  flex-shrink:0;
  display:flex;
  gap:10px;
}

.thumb{
  width:calc((100% - 30px)/4);
  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;
}






