﻿@charset "UTF-8";

.floatenterpoint-ai {
	display: block;
	position: fixed;
	right: 30px;
	bottom: 140px;
	width: 90px;
	height: 140px;
	text-decoration: none;
	z-index: 99;
}

.ai-mainicon {
	display: block;
	position: relative;
	width: 90px;
	height: 90px;
	border-radius: 50%;
	box-shadow: 0 0 15px #aaa;
	background-color: #23569d;
}

	.ai-mainicon::before {
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		margin-top: -35px;
		margin-left: -35px;
		width: 70px;
		height: 70px;
		background-image: url(../images/AI_Robot_face_ani@2x.png);
		background-size: 280px 70px;
		background-repeat: no-repeat;
		animation: Robot_icon 10s infinite;
		animation-timing-function: steps(1);
		animation-fill-mode: forwards;
	}

.ai-nametext {
	display: block;
	position: absolute;
	top: 100px;
	width: 90px;
	left: 0px;
	margin: auto auto;
	text-align: center;
	text-decoration: none;
	color: #333333;
	line-height: 18px;
}

.floatenterpoint-ai:hover .ai-nametext {
	text-decoration: underline;
}

a[href*="ja-JP"] .ai-nametext {
	width: 65px;
	left: 15px;
}

@media screen and (orientation: landscape) and (min-width:1023px) and (max-width:1180px) {
	.floatenterpoint-ai {
		bottom: 190px;
	}
}

@media screen and (max-width:992px) {
	.floatenterpoint-ai {
		right: 20px;
		width: 80px;
		height: 80px;
		bottom: 250px;
	}

	.ai-mainicon {
		display: block;
		position: relative;
		left: 50%;
		margin-left: -27.5px;
		width: 55px;
		height: 55px;
		border-radius: 50%;
		box-shadow: 0 0 15px #aaa;
		background-color: #23569d;
	}

		.ai-mainicon::before {
			display: block;
			position: absolute;
			margin-top: -22.5px;
			margin-left: -22.5px;
			width: 45px;
			height: 45px;
			background-image: url(../images/AI_Robot_face_ani_50per@2x.png);
			background-size: 180px 45px;
			background-repeat: no-repeat;
			animation: Robot_icon_mobile 10s infinite;
			animation-timing-function: steps(1);
			animation-fill-mode: forwards;
		}

	.ai-nametext {
		position: absolute;
		top: 60px;
		width: 80px;
		font-size: 14px;
	}

	a[href*="ja-JP"] .ai-nametext {
		width: 60px;
		left: 10px;
	}
}

@media screen and (orientation: portrait) and (max-width:576px) {
	.floatenterpoint-ai {
		bottom: 65px;
		right: 5px;
	}
}

@keyframes Robot_icon {
	0% {
	}

	20% {
		background-position: 0px 0px;
		transform: rotate(0deg);
	}

	21% {
		transform: rotate(-1deg);
	}

	22% {
		background-position: -140px 0px;
		transform: rotate(-3deg);
	}

	24% {
		background-position: -140px 0px;
		transform: rotate(-3deg);
	}

	26% {
		background-position: -70px 0px;
		transform: rotate(-1deg);
	}

	28% {
		background-position: -210px 0px;
		transform: rotate(0deg);
	}

	100% {
		background-position: -240px 0px;
		transform: rotate(0deg);
	}
}

@keyframes Robot_icon_mobile {
	0% {
	}

	20% {
		background-position: 0px 0px;
		transform: rotate(0deg);
	}

	21% {
		transform: rotate(-1deg);
	}

	22% {
		background-position: -90px 0px;
		transform: rotate(-3deg);
	}

	24% {
		background-position: -90px 0px;
		transform: rotate(-3deg);
	}

	26% {
		background-position: -45px 0px;
		transform: rotate(-1deg);
	}

	28% {
		background-position: -135px 0px;
		transform: rotate(0deg);
	}

	100% {
		background-position: -135px 0px;
		transform: rotate(0deg);
	}
}
