﻿
@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:300,400');

body {
	background: #ccc;
	font-family: 'Roboto Condensed', sans-serif;
}

ul {
	position: absolute;
	bottom: 10%;
	left: 0%;
	width: 0%;
	transform: translate(0%, 0%);
	display: flex;
}

	ul li {
		list-style: none;
	}

		ul li a .fa {
			color: #262626;
			line-height: 0px;
			transition: .5s;
			padding-right: 20px;
		}

		ul li a span { /*文字*/
			position: absolute;
			top: 35%;
			color: #262626;
			letter-spacing: 2px;
			transition: .5s;
		}

			ul li a span:hover { /*文字*/
				position: absolute;
				top: 35%;
				color: #fff;
				letter-spacing: 3px;
				transition: .5s;
			}

		ul li a { /*通常時*/
			position: relative;
			text-decoration: none;
			display: block;
			width: 180px;
			height: 50px;
			background: #fff;
			transform: rotate(-30deg) skew(25deg) translate(0,0) scale(1);
			transition: .5s;
			box-shadow: -20px 20px 10px rgba(0,0,0,.5);
		}

			ul li a:before { /*通常時横横*/
				content: '';
				position: absolute;
				top: 10px;
				left: -20px;
				height: 100%;
				width: 20px;
				background: #b1b1b1;
				transition: 0.5s;
				transform: rotate(0deg) skewY(-45deg);
			}

			ul li a:after { /*通常時手前横*/
				content: '';
				position: absolute;
				bottom: -20px;
				left: -10px;
				height: 20px;
				width: 100%;
				background: #b1b1b1;
				transition: 0.5s;
				transform: rotate(0deg) skewX(-45deg);
			}

			ul li a:hover {
				z-index: 5;
				transform: rotate(0deg) skew(0deg) scale(2);
				box-shadow: -50px 50px 50px rgba(0,0,0,.5);
			}

				ul li a:hover:before { /*横横*/
					content: '';
					position: absolute;
					top: 5%;
					left: -2.1%;
					height: 100%;
					width: 4px;
					background: #b1b1b1;
					transition: 0.5s;
					transform: rotate(0deg) skewY(-45deg);
				}

				ul li a:hover:after { /*手前横*/
					content: '';
					position: absolute;
					bottom: -3px;
					left: -0.9%;
					height: 3px;
					width: 100%;
					background: #b1b1b1;
					transition: 0.5s;
					transform: rotate(0deg) skewX(-45deg);
				}



		ul li:hover span {
			color: #fff;
		}

		ul li:hover:nth-child(1) a {
			background: #3b5998;
		}

			ul li:hover:nth-child(1) a:before {
				background: #365492;
			}

			ul li:hover:nth-child(1) a:after {
				background: #4a69ad;
			}

		ul li:hover:nth-child(2) a {
			background: #00aced;
		}

			ul li:hover:nth-child(2) a:before {
				background: #097aa5;
			}

			ul li:hover:nth-child(2) a:after {
				background: #53b9e0;
			}

		ul li:hover:nth-child(3) a {
			background: #dd4b39;
		}

			ul li:hover:nth-child(3) a:before {
				background: #b33a2b;
			}

			ul li:hover:nth-child(3) a:after {
				background: #e66a5a;
			}

		ul li:hover:nth-child(4) a {
			background: #e4405f;
		}

			ul li:hover:nth-child(4) a:before {
				background: #d81c3f;
			}

			ul li:hover:nth-child(4) a:after {
				background: #e46880;
			}

		ul li:hover:nth-child(5) a {
			background: #23e72b;
		}

			ul li:hover:nth-child(5) a:before {
				background: #10ca14;
			}

			ul li:hover:nth-child(5) a:after {
				background: #6de750;
			}
