.gallery{
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	justify-content:space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0;
	width:1145px;
}
.gallery-item{
	width:24.0%;
	list-style:none;
	text-align:center;
	margin-bottom: 10px
}

.gallery-item img{
    max-width: 100%;	
	object-fit: cover;
	width: 100%;
	height:240px;
}


/* --------------------------------------
    PC
--------------------------------------- */

@media screen and (max-width: 640px){
	
.gallery{
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	justify-content:space-between;
    align-items: center;
    margin: 0 1vw;
    padding: 0;
	width:auto;
}	
	
.gallery-item{
	width:48vw;
	list-style:none;
	text-align:center;
	margin-bottom: 5px
}

.gallery-item img{
    max-width: 100%;	
	object-fit: cover;
	width: 100%;
	height:200px;
}	
	
	
}


/* --------------------------------------
    TABLET
--------------------------------------- */

@media screen and (min-width: 641px) and (max-width: 800px)  {
	
.gallery{
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	justify-content:space-between;
    align-items: center;
    margin: 0 1vw;
    padding: 0;
	width:auto;
	height:auto;
}		
	
.gallery-item{
	width:23.5vw;
	list-style:none;
	text-align:center;
	margin-bottom: 5px
}

.gallery-item img{
    max-width: 100%;	
	object-fit: cover;
	width: 100%;
	height:200px;
}	
	
}

