@charset "UTF-8";

/*
Webマスコット用スタイルシート
*/

#mascot-container {
	height: 250px;
	position: fixed;
	right: 20px;
	bottom: 180px;
	width: 220px;
	text-align: center;
	z-index: 9999;
	font-family: sans-serif;
}

.mascot-imgbtm {
	position: fixed;
	right: 20px;
	bottom: 10px;
	width: 220px;
}

/* キャラ画像 */
#mascot-img {
	width: auto;
	height: auto;
	//margin-top: 20px;
	border-radius: 10px;
	cursor: pointer;
	//image-rendering: pixelated; /* 2D風のときに綺麗 */
}

#mascot-dialogue {
	position: absolute;
    top: -40px;
    left: 0;
    padding: 4px 8px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 吹き出し */
#mascot-text {
	text-align: left;
	width: fit-content;
	padding: 4px 8px;
	margin: 0 auto;
	background: rgba(0,0,0,0.6);
	color: #fff;
	border-radius: 6px;
	font-size: 14px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

/* ボタン */
.mascot-btn {
	display: inline-block;
	font-size: 20px;
	background: #f5fffa;
	padding: 5px 5px;
	margin: 4px 3px;
	border-radius: 50px;
	cursor: pointer;
	border: solid 0 #ffffff;
}

.mascot-btn:hover {
	background: #ffffff;
}

/* ***********************************
* スマートフォン版レイアウト
************************************** */
@media screen and (max-width: 768px) {
	#mascot-container {
		height: 250px;
		position: fixed;
		right: 20px;
		bottom: 40px;
		width: 160px;
		text-align: center;
		z-index: 9999;
		font-family: sans-serif;
	}
	
	.mascot-imgbtm {
	position: fixed;
	right: 20px;
	bottom: 10px;
	width: 160px;
	}
}