@charset "shift_jis";
/* CSS Document */

.chat-link-space{
	box-sizing: border-box;
	min-height: 143px;
	margin-top: 30px;
}

.chat-link{
	position: fixed;
	bottom: 0;
	right: 40px;
	z-index: 1000;
}

.chat-link.static{
	position: static;
	margin: 50px 40px 0 0;
}

.chat-link-box{
	position: relative;
	display: flex;
	flex-direction: column-reverse;
	height: 122px;
	padding: 21px 0 0;
	box-sizing: border-box;
}

.chat-btn-area{
	text-align: right;
	box-sizing: border-box;
	margin-right; 40px;
}

.chat-btn-area img{
	width: 390px;
}

.chat-close-box{
	position: absolute;
	top: -21px;
	right: 0;
	width: 18px;
	height: 18px;
	overflow: hidden;
}

.chat-close{
	display: block;
	text-indent: 100%;
	background: url(../images/chat-banner-close-s.png) no-repeat;
	width: 18px;
	height: 18px;
	overflow: hidden;
}

@media (max-width: 767px) {
	.chat-link{
		right: 0;
	}
	
	.chat-link.static{
		margin: 30px 0 0;
	}
	
	.chat-link-box{
		padding-top: 0;
		height: auto;
		max-height: 196.875px;
	}
	
	.chat-btn-area img{
		width: 100%;
		max-width: 630px;
	}
	
	.chat-btn-area{
		padding: 0 20px;
	}
	
	.chat-close-box{
		padding: 0 20px;
		top: 0;
		height: 25px;
		width: 25px;
	}
	
	.chat-close{
		background: url(../images/chat-banner-close-l.png) no-repeat;
		background-size: contain;
		width: 25px;
		height: 25px;
		top: 0px;
		opacity: 0.9;
	}
}
