/*===== ĦAside [Links] Setting=====*/
#links ul {
	position: relative;
	max-width: 450px;
	margin: 0 auto;

}

#links #links_inr {
	width: 406px;
	height: 405px;
	margin: 50px auto 20px;
}

#links #links_inr li {
	overflow: hidden;
	position: absolute;
	top: 28px;
	left: 30px;
	width: 140px;
	height: 140px;
	transform: rotate(45deg);
}
#links #links_inr li:nth-child(1) { left: 30px;}
#links #links_inr li:nth-child(2) { left: 234px;}
#links #links_inr li:nth-child(3) { top: 130px; left: 132px;}
#links #links_inr li:nth-child(4) { top: 232px; left: 30px;}
#links #links_inr li:nth-child(5) { top: 232px; left: 234px;}
#links #links_inr li::after {
	position: absolute;
	top: -30px;
	left: -30px;
	width: 200px;
	height: 200px;
	background: url(/img/top/img-social.jpg) no-repeat center / cover;
	transform: rotate(-45deg);
	content: '';
}
#links #links_inr li:nth-child(1)::after { background-image: url(/img/top/img-social.png);}
#links #links_inr li:nth-child(2)::after { background-image: url(/img/top/img-showroom.png);}
#links #links_inr li:nth-child(3)::after { background-image: url(/img/top/img_catalogs.png);}
#links #links_inr li:nth-child(4)::after { background-image: url(/img/products/img-technical.jpg);}
#links #links_inr li:nth-child(5)::after { background-image: url(/img/top/img-rohs.jpg);}

#links #links_inr li a {
	display: block;
	position: absolute;
	z-index: 2;
	top: -30px;
	left: -30px;
	width: 200px;
	height: 200px;
	padding-top: 60px;
	box-sizing: border-box;
	color: #fff;
	text-align: center;
	background: url(/img/common/bg-dotted.png);
	font-weight: 600;
	font-size: 1.8rem;
	line-height: 1.3;
	transform: rotate(-45deg);
}

#links #links_inr li a i.arrow {
	position: absolute;
	bottom: 25%;
	left: 45%;
	width: 30px;
	height: 1px;
	background: #fff;
	transition: all .2s ease-out;
}
#links #links_inr li a i.arrow::after {
	position: absolute;
	top: -5px;
	right: 0;
	width: 10px;
	height: 2px;
	background: #fff;
	content:'';
	transform: skewX(50deg) rotate(-80deg);
}

#links #links_inr li a:hover i.arrow {
	right: 20px;
	width: 20px;
	transition: all .2s ease-out;
}

#links #links_inr li a:active i.arrow {
	right: 0px;
	width: 40px;
	opacity: 0;
}
#links #links_inr li a:active i.arrow::after {
	right: -10px;
	opacity: 0;
	transition: all .1s ease-out;
}


@media only screen and (max-width: 750px){
	#main_wrapper #links { margin: 0 0 20px;}
	#links ul {
		position: relative;
		max-width: none;
	}

	#links #links_inr {
		width: auto;
		height: auto;
		margin: 0;
	}

	#links #links_inr li {
		overflow: inherit;
		position: static;
		top: auto;
		left: auto;
		width: auto;
		height: auto;
		transform: none;
	}
	#links #links_inr li::after { display: none;}
	#links #links_inr li:nth-child(1) { background: url(/img/top/img-social.png) no-repeat center / cover;}
	#links #links_inr li:nth-child(2) { background: url(/img/top/img-showroom.png) no-repeat center / cover;}
	#links #links_inr li:nth-child(3) { background: url(/img/top/img_catalogs.png) no-repeat center / cover;}
	#links #links_inr li:nth-child(4) { background: url(/img/products/img-technical.jpg) no-repeat center / cover;}
	#links #links_inr li:nth-child(5) { background: url(/img/top/img-rohs.jpg) no-repeat center / cover;}

	#links #links_inr li a {
		display: block;
		position: relative;
		top: auto;
		left: auto;
		width: auto;
		height: auto;
		padding: 25px 15px;
		text-align: left;
		transform: none;
	}
	
	#links #links_inr li a i.arrow {
		position: absolute;
		bottom: 50%;
		left: inherit;
		right: 15px;
		background: #fff;
		transition: none;
	}

	#links #links_inr li a:hover i.arrow {
		right: 30px;
		width: 30px;
		transition: none;
	}

	#links #links_inr li a:active i.arrow {
		right: 30px;
		width: 30px;
		opacity: 1;
	}
	#links #links_inr li a:active i.arrow::after {
		right: 0;
		opacity: 1;
		transition: none;
	}
	
	#links #links_bnr {
		margin: 0 20px;
		font-size: 0;
	}
	#links #links_bnr li:not(:last-child) { margin-bottom: 10px;}
}