@charset "utf-8";
/* CSS Document */
@media screen and (max-width: 768px) {
	header{
		z-index: 100;
	}
}

.gallery_list{
  display: flex;
  flex-wrap: wrap;
  width: auto;
  max-width: 1600px;
  margin: 0 auto;
  
}

.gallery_list li{
  width: 33%;
}
.gallery_list li a{
  display: block;
  width: 100%;
  
}

.gallery_list li figure{
  position: relative
}

.gallery_list figcaption{
  
}


@media screen and (max-width: 768px) {
	.gallery_list li{
	  width: 50%;  
	}
	.gallery_list li a{
		background: #fff;  
	}
	.gallery_list li figure{
	}
	.gallery_list figcaption{
		position: absolute;
		left: calc(100vw*20/750);
		top: calc(100vw*20/750);
	}
		/*12-10*/
	.gallery_list li:nth-of-type(1) figcaption,
	.gallery_list li:nth-of-type(2) figcaption,
	.gallery_list li:nth-of-type(3) figcaption{
		left: calc(100vw*37/750);
	}
	.gallery_list figcaption img{
		height: calc(100vw*127/750);
	}
	.gallery_list li p{
		padding: calc(100vw*25/750) 0 calc(100vw*25/750) calc(100vw*38/750);
		background: #fff;
	}
	.gallery_list li p img{
		height: calc(100vw*90/750);
	}
}


@media screen and (min-width: 769px) {
	.gallery_list li:nth-child(4n){
	  background: #f8d1da;
	}
	.gallery_list li:nth-child(4n-3){
	  background: #ddd;
	}
	.gallery_list li:nth-child(4n-2){
	  background: #004f51;
	}
	.gallery_list li:nth-child(4n-1){
	  background: #b5b5b6;
	}
	.gallery_list figcaption{
	  display: none;
	  position: absolute;
	  left:35px;
	  top:35px;
	}
	.gallery_list figcaption img{
	  height: 21vw;
	  max-height: 345px;
	}
}