@charset "UTF-8";
/* https://naeco.jp/instagram-graph-api */

#main-contents article h2.insta {
	font-size: initial;
	position: initial;
	padding: initial;
	background: initial;
	text-align: center;
	padding: 20px 0;
	font-size: 18.32px;
}

#main-contents article h2.insta::after {
	position: initial;
	top: initial;
	left: initial;
	content: initial;
	width: initial;
	height: initial;
	height: initial;
	background-color: initial;
}

#insta {
	width: 100%;
	margin: 0 auto;
}

ul#insta {
	padding: 0;
}

#insta li {
	margin: 0.5vw;
	float: left;
	overflow: hidden;
	position: relative;
}

#insta li img {
	max-width: 100%;
	vertical-align: bottom;
}

#main-contents article ul#insta li p {
	margin-bottom: 0;
}




@media
only screen and (min-width : 640px){

p.ins_like {
	position: absolute;
	width: 100%;
	height: 2.7vw;
	bottom: 0;
	left: 0;
	background: rgba(255,255,255,0.70);
	padding: 0.2vw 1vw 0.2vw 0;
	box-sizing: border-box;
	text-align: right;
}

.fa-heart {
	margin-right: 0.5vw;
	color: #EA4E50;
}


ul.col_box_insta {
	width: 100%;
	padding: 0;
	list-style: none;
	display: flex;
	display: -webkit-box;/*--- Androidブラウザ用 ---*/
	display: -ms-flexbox;/*--- IE10 ---*/
	display: -webkit-flex;/*--- safari（PC）用 ---*/
	justify-content: center;
	-webkit-box-pack: center;/*--- Androidブラウザ用 ---*/
    -ms-flex-pack: center;/*--- IE10 ---*/
    -webkit-justify-content: center;/*--- safari（PC）用 ---*/
	
	-webkit-flex-flow:row wrap;
	-ms-flex-flow:row wrap;
	flex-flow:row wrap;

}
ul.col_box_insta li {
	width: calc(94% / 4);
	margin: 0 2% 2em 0;
	background: #f5f5f5; /*#f9f9f9*/
}


ul.col_box_insta li:nth-child(4n) {
    margin-right: 0;
}

/*ul.col3_box li:last-child {
	margin: 0;
}*/

ul.col_box_insta img {
	width: 100%;
	/*height: auto;*/
	max-height: 15vw;
}

}

@media
only screen and (max-width : 640px){

p.ins_like {
	position: absolute;
	width: 100%;
	height: 20px;
	bottom: 0;
	left: 0;
	background: rgba(255,255,255,0.70);
	padding: 0 5% 0 0;
	box-sizing: border-box;
	text-align: right;
}

.fa-heart {
	margin-right: 7%;
	color: #EA4E50;
}

#insta li {
	margin: 2%;
}

ul.col_box_insta {
	width: 100%;
	padding: 0;
	margin: 0 2% 2em;
	list-style: none;
	display: flex;
	display: -webkit-box;/*--- Androidブラウザ用 ---*/
	display: -ms-flexbox;/*--- IE10 ---*/
	display: -webkit-flex;/*--- safari（PC）用 ---*/
	justify-content: center;
	-webkit-box-pack: center;/*--- Androidブラウザ用 ---*/
    -ms-flex-pack: center;/*--- IE10 ---*/
    -webkit-justify-content: center;/*--- safari（PC）用 ---*/
	
	-webkit-flex-flow:row wrap;
	-ms-flex-flow:row wrap;
	flex-flow:row wrap;

}
ul.col_box_insta li {
	width: calc(92% / 2);
	margin: 0 0 2em;
	background: #f5f5f5; /*#f9f9f9*/
}


/*ul.col_box_insta li:nth-child(4n) {
    margin-right: 0;
}*/

/*ul.col3_box li:last-child {
	margin: 0;
}*/

ul.col_box_insta img {
	width: 100%;
	height: auto;
}

}