@charset 'UTF-8';

#instagram {
	width: 100%;
}

.main_inst {
	max-width: 1080px;
	margin-right: auto;
	margin-left: auto;
	margin-top:30px;
}

#instafeed {
	overflow: hidden;
	-js-display: flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}

#instafeed li {
	background-color: #000;
	width: 12.5rem;
	line-height: 0;
	object-fit: cover;
	margin-bottom: 10px;
	/*margin-left: 0.5%;
	margin-right: 0.5%;*/
	
}
#instafeed li:lang(ja) {
	width: 14.5rem;	
}

#instafeed li a:hover{
	filter: alpha(opacity=60);
	-moz-opacity: 0.6;
	opacity: 0.6;
}

#instafeed li img {
 	width: 12.5rem;
    height: 12.5rem;
    object-fit: cover;
	object-position: 0 0;
}
#instafeed li img:lang(ja) {
 	width: 14.5rem;
    height: 14.5rem;
}


@media only screen and (min-width:1px) and (max-width:738px){
	
#instafeed li{
	width: 6.6rem;
}
#instafeed li:lang(ja) {
	width: 7.7rem;	
}

#instafeed li img {
 	width: 6.6rem;
    height: 6.6rem;
    object-fit: cover;
	object-position: 0 0;
}
#instafeed li img:lang(ja) {
 	width: 7.7rem;
    height: 7.7rem;
}

}