/* パソコンのみ反映CSS */
@media screen and (min-width:481px) {

.fbt {
	display: none;
}
.fbw {
	display: none;
}
.fbl {
	display: none;
}
#fb {
	width:100%;
}
#fb p {
	width:100%;
}

.fbw a {
	background:#353A9A;
	color: #fff;
	margin-right: auto;
	margin-left: auto;
 	box-shadow: 0 0px 10px rgba(0, 0, 0, 0.5);
	transition: background-color 1s;
	display: flex;
	justify-content:center;
	align-items:center;
	border-radius: 20px;
	width: 500px;
	height: 90px;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:90%;
	transition:all 0.3s;
}

.fbbw {
	width:10px;
}

}



/* スマホのみ反映CSS */
@media screen and (max-width:480px) {

#fb {
	width:100%;
	display: flex;
	justify-content:center;
	align-items:center;

}
#fb p {
	margin:10px;
	float: left;
	color: #fff;
	box-shadow: 0 0px 10px rgba(0, 0, 0, 0.5);
	transition: background-color 1s;
	display: flex;
	justify-content:center;
	align-items:center;
	border-radius: 50px;
	width: 90px;
	height: 90px;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:90%;
	transition:all 0.3s;
}

.fbt a {
	background:#F3F3F3;
	color: #000;
	border-radius: 50px;
	width: 90px;
	height: 90px;
}
.fbw a {
	background:#353A9A;
	color: #fff;
	border-radius: 50px;
	width: 90px;
	height: 90px;
}
.fbl a {
	background:#06C755;
	color: #fff;
	border-radius: 50px;
	width: 90px;
	height: 90px;
}

.fbbt {
	margin-right: auto;
	margin-left: auto;
	width:26px;
	display: flex;
	padding-top:10px;
}
.fbbw {
	margin-right: auto;
	margin-left: auto;
	width:30px;
	display: flex;
	padding-top:14px;
}
.fbbl {
	margin-right: auto;
	margin-left: auto;
	width:36px;
	display: flex;
	padding-top:10px;
}


}

#fb {
	position: fixed;
	bottom:10px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(100px);
}

/*　上に上がる動き　*/

#fb.UpMove{
	animation: UpAnime 0.3s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(180px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#fb.DownMove{
	animation: DownAnime 0.3s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(180px);
  }
}
