/* Box colors */
.bg-1 {
/*	background: rgba(255,51,64, 0.9);*/
	color: #37474f;
	margin: 5px 10px 30px 10px ;
}


/* Common button styles */
.button {
	cursor: pointer;
/*	float: left;*/
/*	display: block;*/
/*	margin: 1em;*/
	padding: 1em;
	border: none;
	background-color: #fff;
	color: inherit;
	vertical-align: middle;
	position: relative;
	z-index: 1;
	-webkit-backface-visibility: hidden;
	-moz-osx-font-smoothing: grayscale;
}
.button:focus {
	outline: none;
}
.button > span {
	vertical-align: middle;
}

/* Text color adjustments (we could stick to the "inherit" but that does not work well in Safari) */
.bg-1 .button {
	color: #2f3650; /*変化前の文字色*/
	border-color: rgba(47,54,80, 0.6); /*変化前のボーダー*/
}

/* basic style */
.basic_style {
	font-family: Meiryo;
	font-size: 14px;
	font-weight: bold;
	border-radius: 5px;
	border: 3px solid;
	letter-spacing: 2px;
	text-transform: uppercase;
}





/* Wayra */
.button--wayra {
	margin: 5px;
	overflow: hidden;
	width: 185px;
	-webkit-transition: border-color 0.3s, color 0.3s;
	transition: border-color 0.3s, color 0.3s;
	-webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
	transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}
.button--wayra::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 150%;
	height: 100%;
	z-index: -1;
	-webkit-transform: rotate3d(0, 0, 1, -45deg) translate3d(0, -3em, 0);
	transform: rotate3d(0, 0, 1, -45deg) translate3d(0, -3em, 0);
	-webkit-transform-origin: 0% 100%;
	transform-origin: 0% 100%;
	-webkit-transition: -webkit-transform 0.7s, opacity 0.3s, background-color 0.3s;
	transition: transform 0.7s, opacity 0.3s, background-color 0.3s;
}
.button--wayra:hover {
	color: #fff;
	border-color: rgba(47,54,80, 0.9); /*変化後のボーダー*/
}
.button--wayra.button--inverted:hover {
	border-color: #fff;
}
.button--wayra:hover::before {
	opacity: 1;
	background-color: #2f3650; /*かぶってくるやつの色*/
	-webkit-transform: rotate3d(0, 0, 1, 0deg);
	transform: rotate3d(0, 0, 1, 0deg);
	-webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
	transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}
.button--wayra.button--inverted:hover::before {
	background-color: #fff;
}


/*参団カラー　rgba(255,51,64, 0.9)*/