@charset "UTF-8";

.fix_links{
	position: fixed;
	right: 0;
	bottom: 0;
	z-index: 9999;
	display: flex;
	flex-wrap: nowrap;
	width: 300px;
	box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.fix_link_item{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 150px;
	height: 150px;
	background: #fe0a08;
	color: #fff;
	text-decoration: none;
	text-align: center;
	box-sizing: border-box;
	transition: opacity 0.25s ease;
}

.fix_link_item + .fix_link_item{
	position: relative;
	border-left: none;
}

.fix_link_item + .fix_link_item::before{
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 100px;
	background: #fff;
}

.fix_link_item:hover{
	background: #e30605;
	text-decoration:none;
}

.fix_link_icon{
	display: block;
	margin: 0 0 16px 0;
	line-height: 1;
}

.fix_link_icon img{
	display: block;
	width: auto;
	height: 40px;
	padding:2px 0;
	margin: 0 auto;
}
.fix_link_item + .fix_link_item .fix_link_icon img{
	height: 44px;
	padding:0;
}

.fix_link_text{
	display: block;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.0;
	letter-spacing: 0;
}

/* スマホ */
@media screen and (max-width: 767px){
	.fix_links{
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		flex-direction: row;
		box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
	}

	.fix_link_item{
		width: 50%;
		height: 88px;
		padding: 13px 0;
	}

	.fix_link_item + .fix_link_item{
		border-left: none;
	}
	.fix_link_item + .fix_link_item::before{
		content: "";
		position: absolute;
		left: 0;
		top: 50%;
		transform: translateY(-50%);
		width: 1px;
		height: 74%;
		background: #fff;
	}

	.fix_link_item:hover{
		background: #fe0a08;
	}
	.fix_link_icon{
		margin: 0;
		flex: 0 0 auto;
	}
	.fix_link_icon img{
		height: 31px;
		padding:2px 0;
	}
	.fix_link_item + .fix_link_item .fix_link_icon img{
		height: 35px;
		padding:0;
	}
	.fix_link_text{
		margin-top:10px;
		font-size: 15px;
		line-height: 1.0;
		letter-spacing: 0.04em;
		white-space: nowrap;
	}
}