/*body {
	background: url(../images/_dummy.jpg) no-repeat 50% 121px / 100% auto;
}
body > * {
	opacity: 0.5;
}
 test 
@media screen and (max-width: 760px) {
	body {
	background: url(../images/_dummy_sp.jpg) no-repeat 50% 0 / 320px auto;
	}
	body > * {
		opacity: 0.5;
	}
}*/

/* ボタン共通 */
.btn{
	border: 1px solid #000000;
}
.btn:hover{
	border: 1px solid transparent;
}
.btn a:after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 10px;
	box-sizing: border-box;
	border: 0px solid  #000000;
	-webkit-transition: border 0.1s ease-out;
	transition: border 0.1s ease-out;
}
html:not(.tablet) body:not(.sp_mode) .btn a:before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 10px;
	background: url("../../images/bg_btn_on.png") 50% 50%;
	box-sizing: border-box;
	-webkit-transition: opacity 0.1s ease-out;
	transition: opacity 0.1s ease-out;
	opacity: 0;
}
html:not(.tablet) body:not(.sp_mode) .btn a:hover:after {
	border: 4px solid #e67239;
}
html:not(.tablet) body:not(.sp_mode) .btn a:hover:before {
	opacity: 1;
}
html:not(.tablet) body:not(.sp_mode) .btn a:hover .btn_arrow {
	-webkit-animation: none!important;
	animation: none!important;
}
html.tablet .btn a .btn_arrow {
	border-bottom: 1px solid #000000!important;
}
html.tablet .btn a .btn_arrow:after {
	border-bottom: 1px solid #000000!important;
}

/* instagram */
#instagram {
	width: 100%;
	overflow: hidden;
	max-width: 1700px;
	margin: 0px auto 8.616%;
}
#instagram h2{
	font-size: 45px;
	text-align: center;
	margin: 2.942% 0;
	line-height: 1em;
}
#instagram p{
	font-size: 20px;
	text-align: center;
	margin-bottom: 2.942%;
	line-height: 1.7em;
}
#instagram ul{
	width: 100%;
	padding: 0 5.883%;
	box-sizing: border-box;
}
#instagram ul li{
	width: 18.334%;
	height: 0;
	padding-top: 18.334%;
	float: left;
	margin-left: 2.067%;
}
#instagram ul li:first-child{
	margin-left: 0;
	background: url('../images/img1.jpg') no-repeat 50% 50% / cover;
}
#instagram ul li:nth-child(2){
	background: url('../images/img2.jpg') no-repeat 50% 50% / cover;
}
#instagram ul li:nth-child(3){
	background: url('../images/img3.jpg') no-repeat 50% 50% / cover;
}
#instagram ul li:nth-child(4){
	background: url('../images/img4.jpg') no-repeat 50% 50% / cover;
}
#instagram ul li:nth-child(5){
	background: url('../images/img5.jpg') no-repeat 50% 50% / cover;
}
#instagram .btn {
	position: relative;
	width: 52.236%;
	padding-top: 4.412%;
	background: url(../../images/bg_btn.png) 50% 50%;
	border-radius: 10px;
	overflow: hidden;
	box-sizing: border-box;
	z-index: 5;
	margin-top: 12.4%;
	margin-left: 1%;
	margin: 2.942% auto 0;
}
#instagram .btn a {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-decoration: none;
	text-align: center;
	box-sizing: border-box;
	color: #000000;
	font-size: 27px;
	line-height: 1;	
}
#instagram .btn a .btn_txt {
	display: block;
	position: absolute;
	top: 29%;
	left: 0%;
	box-sizing: border-box;
	padding-right: 12.388%;
	width: 100%;
	text-align: right;
}
#instagram .btn a .btn_arrow {
	width: 4.28%;
	height: 0;
	border-bottom: 2px solid #000000;
	position: absolute;
	top: 57%;
	left: 93.019%;
	-webkit-animation: arrow_animation 2s infinite;
	animation: arrow_animation 2s infinite;
}
#instagram .btn a .btn_arrow:after {
	content: "";
	display: block;
	width: 49.4%;
	height: 0;
	border-bottom: 2px solid #000000;
	position: absolute;
	top: 0%;
	right: 0%;
	-webkit-transform-origin: 100% 100%;
	-webkit-transform: rotate(35deg);
	transform-origin: 100% 100%;
	transform: rotate(35deg);
}

@media screen and (max-width: 1700px) {
	#instagram h2 {
		font-size: 2.6vw;
	}
	#instagram p {
		font-size: 1.176vw;
	}
	#instagram .btn a{
		font-size: 1.58vw;
	}
}

@keyframes arrow_animation {
	0%,20%,40%,100% {
		transform: translate(0, 0);
	}
	10%,30% {
		transform: translate(5px, 0);
	}
}
@-webkit-keyframes arrow_animation {
	0%,20%,40%,100% {
		-webkit-transform: translate(0, 0);
	}
	10%,30% {
		-webkit-transform: translate(5px, 0);
	}
}

/* SP表示 */
@media screen and (max-width: 760px) {
	
	html:not(.tablet) .btn a:hover:after {
		border: 1px solid  #000000;
	}
	
	/* instagram */
	#instagram {
		margin: 11.2% auto 18.75%;
	}
	#instagram .inner {
		padding: 0 10px;
	}
	#instagram h2 {
		font-size: 5.6vw;
		line-height: 1.8em;
		margin: 2.5% 0;
	}
	#instagram p {
		font-size: 3.75vw;
		line-height: 1.58em;
		margin-bottom: 7.67%;
	}
	#instagram ul{
		padding: 0;
	}
	#instagram ul li{
		width: 45.834%;
		padding-top: 45.834%;
	}
	#instagram ul li:nth-child(n+3){
		margin-top: 6.67%;
	}
	#instagram ul li:nth-child(even){
		margin-left: 7.834%;
	}
	#instagram ul li:nth-child(odd){
		margin-left: 0;
		clear: both;
	}
	#instagram .btn {
		width: 100%;
		padding-top: 20.834%;
		border-radius: 8px;
		background: url(../../images/bg_btn.png) 50% 50% / 4px auto;
		margin: 6.67% auto 0;
	}
	#instagram .btn a .btn_txt{
		top: 19%;
		text-align: center;
		font-size: 4.375vw;
		padding-right: 15%;
		line-height: 1.4em;
	}
	#instagram .btn a .btn_arrow {
		width: 9.4%;
		top: 55%;
		left: 86.7%;
		border-bottom: 1px solid #000000;
	}
	#instagram .btn a .btn_arrow:after {
		border-bottom: 1px solid #000000;
	}

}

/* アニメーション初期処理 */
body.animation_ready #instagram .inner .content_box .instagram_list li {
	opacity: 0;
	-webkit-transform: translate(0, 20px);
	transform: translate(0, 20px);
}

/* アニメーション */
body.animation_ready #instagram .inner .content_box .instagram_list li.animated {
	opacity: 1;
	-webkit-transform: translate(0, 0px);
	transform: translate(0, 0px);
	-webkit-transition: all 0.7s;
	transition: all 0.7s;
}
body.animation_ready #instagram .inner .content_box .instagram_list li.animated:nth-child(1) {
	-webkit-transition: all 0.7s 0s;
	transition: all 0.7s 0s;
}
body.animation_ready #instagram .inner .content_box .instagram_list li.animated:nth-child(2) {
	-webkit-transition: all 0.7s 0.1s;
	transition: all 0.7s 0.1s;
}
body.animation_ready #instagram .inner .content_box .instagram_list li.animated:nth-child(3) {
	-webkit-transition: all 0.7s 0.2s;
	transition: all 0.7s 0.2s;
}
body.animation_ready #instagram .inner .content_box .instagram_list li.animated:nth-child(4) {
	-webkit-transition: all 0.7s 0.3s;
	transition: all 0.7s 0.3s;
}
body.animation_ready #instagram .inner .content_box .instagram_list li.animated:nth-child(5) {
	-webkit-transition: all 0.7s 0.4s;
	transition: all 0.7s 0.4s;
}

@media screen and (max-width: 760px) {
	body.animation_ready #instagram .inner .content_box .instagram_list li.animated:nth-child(odd) {
		-webkit-transition: all 0.7s 0s;
		transition: all 0.7s 0s;
	}
	body.animation_ready #instagram .inner .content_box .instagram_list li.animated:nth-child(even) {
		-webkit-transition: all 0.7s 0.1s;
		transition: all 0.7s 0.1s;
	}
}

