.cursor-pointer {
	cursor: pointer;
}

.pull-left {
	float: left !important;
	word-wrap: break-word;
}

.pull-right {
	float: right !important;
	word-wrap: break-word;
}

.clearfix:before, .clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

@-webkit-keyframes loader  {
	0% {-webkit-transform: translateY(0);}
	100%{-webkit-transform:translateY(-10px);}
}

@-moz-keyframes loader { 0% {
	width: 10px;
	height: 10px;
	opacity: 0.9;
	-moz-transform: translateY(0);
}

100%{width:10px;
     height:10px;
     opacity:0.1;
     -moz-transform:translateY(-10px);}
}
.chat-window {
	display: block;
	height: 550px;
	border: 1px solid #e6e6e6;
	border-radius: 15px !important;
	-moz-border-radius: 15px !important;
	-webkit-border-radius: 15px !important;
	border-color: #e4e4e4;
	background-color: #fff;
	box-shadow: 0 8px 8px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 8px 8px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0 8px 8px rgba(0, 0, 0, 0.2);
	width: 400px;
	position: fixed;
	bottom: 0;
	text-align: left;
	z-index: 999999;
	color: #444;
	font-family: "メイリオ",sans-serif;
}

.chat-window *, .chat-window :after, .chat-window :before {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

.chat-window .chat-header {
	background-color: #bd0000;
	color: #FFFFFF;
	border-bottom: 1px solid #e6e6e6;
	font-size: 15px;
	font-weight: 800;
	height: 52px;
	line-height: 52px;
}
/* �w�b�_�[���� �A�o�^�[ */
.chat-window .chat-header img {
	display: table-cell;
	vertical-align: middle;
	width: 34px;
	height: 34px;
	object-fit: cover;
	border-radius: 50em !important;
	-moz-border-radius: 50em !important;
	-webkit-border-radius: 50em !important;
}

.chat-window .chat-header.border-radius {
	border-radius: 12px 12px 0 0 !important;
	-moz-border-radius: 12px 12px 0 0 !important;
	-webkit-border-radius: 12px 12px 0 0 !important;
}

.chat-window .chat-body {
	height: 433px;
	clear: both;
	border-radius: 0 0 3px 3px !important;
	-moz-border-radius: 0 0 3px 3px !important;
	-webkit-border-radius: 0 0 3px 3px !important;
	padding: 15px;
	overflow-x: hidden;
	overflow-y: auto;
}

.chat-window .chat-footer {
	padding: 10px 8px;
	background-color: #f5f5f5;
	border-top: 1px solid #ddd;
	border-bottom-right-radius: 3px;
	border-bottom-left-radius: 3px;
	position: relative;
	bottom: 0;
	height: auto;
	overflow: auto;
}

.chat-window .chat-footer .chat-footer-input {
	float: left;
	width: 84%;
}

.chat-window .chat-footer .chat-footer-input input, .chat-window .chat-footer .chat-footer-input textarea
	{
	width: 100%;
	border: 1px solid #ddd;
	height: 30px;
	border-radius: 3px !important;
	-moz-border-radius: 3px !important;
	-webkit-border-radius: 3px !important;
}

.chat-window .chat-footer .chat-footer-input textarea {
	padding-left: 5px;
	padding-right: 5px;
	background-color: #fff;
	font-size: 13px;
	overflow: auto;
}

.chat-window .chat-footer .chat-footer-button {
	float: left;
	margin-left: 5px;
}

.chat-window .chat-footer .chat-footer-button .chat-button {
	font-weight: 800;
	color: #fff;
	background-color: #922a2f;
	display: inline-block;
	padding: 4px 10px;
	margin-bottom: 0;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	border-radius: 4px !important;
	-moz-border-radius: 4px !important;
	-webkit-border-radius: 4px !important;
}

.chat-window .chat-footer .chat-footer-button .chat-button:hover {
	background-color: #cd5359;
	cursor: pointer;
	cursor: hand;
}

.chat-window-toggled {
	position: fixed;
	bottom: 0;
	right: 15px;
	z-index: 999999;
}

.chat-window.hidden {
	display: none;
}

.chat-window-toggled.hidden {
	display: none;
}

.chat-message {
	list-style: none;
	padding-left: 0;
	margin: 0;
	overflow: hidden;
	font-family: "メイリオ",sans-serif;
}

.chat-message li {
	margin: 15px 0;
	width: 100%;
}

.chat-message li:first-child {
	margin-top: 0;
}
/* �����o��(��) */
.chat-message li.left .chat-message-body {
	margin-left: 20px;
	background-color: #f3f3f3;
	text-align: left;
	max-width: 290px;
}
/* �����o����(��) */
.chat-message li.left .chat-message-body:before {
	position: absolute;
	top: 10px;
	left: -8px;
	display: inline-block;
	background: #f3f3f3;
	width: 16px;
	height: 16px;
	content: '';
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
}

.chat-message li.left .chat-message-body img {
	/*
  width: 100%;
  height: 100%;
  border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
*/
	
}

.chat-message li.left img {
	width: 40px;
	height: 40px;
	object-fit: cover;
	/*border-radius: 50em !important;
	-moz-border-radius: 50em !important;
	-webkit-border-radius: 50em !important;*/
}
/* �����o��(�E) */
.chat-message li.right .chat-message-body {
	margin-right: 20px;
	background-color: #bd0000;
	color: white;
	text-align: left;
	max-width: 290px;
}
/* �����o����(�E) */
.chat-message li.right .chat-message-body:before {
	position: absolute;
	top: 10px;
	right: -8px;
	display: inline-block;
	background-color: #bd0000;
	color: white;
	content: '';
	width: 16px;
	height: 16px;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
}

.chat-message li.right img {
	width: 35px;
	height: 35px;
	object-fit: cover;
	border-radius: 50em !important;
	-moz-border-radius: 50em !important;
	-webkit-border-radius: 50em !important;
}

.chat-message li.center {
	margin: 5px;
}

.chat-message li.center .chat-message-body.clearfix {
	margin: 5px 15px;
	background-color: #f3f3f3;
	text-align: left;
	clear: both;
}

.chat-message li.center .chat-message-body.clearfix:hover {
	color: #0c1318;
}

.chat-message li.center .chat-message-body.image {
	margin-top: 10px;
	padding: 0;
	border-radius: 0 !important;
	-moz-border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
	box-shadow: 0 0 0 rgba(0, 0, 0, 0.05);
	-moz-box-shadow: 0 0 0 rgba(0, 0, 0, 0.05);
	-webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0.05);
}

.chat-message li.center .chat-message-body.image img {
	width: 98%;
}

.chat-message li.center .chat-message-body.image img:hover {
	cursor: pointer;
}

.chat-message li .chat-message-body.error {
	font-size: 13px;
	padding: 5px;
	border: 1px solid #e6e6e6;
}

.chat-message li .chat-message-body {
	position: relative;
	font-size: 13px;
	padding: 10px;
	border-radius: 6px !important;
	-moz-border-radius: 6px !important;
	-webkit-border-radius: 6px !important;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.chat-message li .chat-message-body .chat-message-body-header {
	padding-bottom: 5px;
	font-weight: bold;
}

.chat-message li .chat-message-body p {
	margin-top: 3px;
	margin-bottom: 0;
	overflow-wrap: break-word;
}

.chat-message .reply-options div {
	margin: 5px 0;
}

.chat-message .reply-options li {
	list-style: none;
}
/*
p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
}
*/
#toast {
	position: fixed;
	display: none;
	width: 200px;
	height: 20px;
	right: 10px;
	bottom: 50px;
	background-color: #bd0000;
	color: #fff;
	margin: auto;
	padding: 10px;
	font-size: 16px;
	font-weight: bold;
	border-radius: 5px;
	behavior: url('PIE.htc');
	text-align: center;
	z-Index: 30;
}

#toast:hover {
	cursor: hand;
	cursor: pointer;
}

#chatbot {
	border: none;
	position: fixed;
	width: 410px;
	height: 552px;
	right: 10px;
	bottom: 50px;
	z-Index: 999999;
}


.chat_link {
	font-size: 12px;
	position: relative;
	padding: 0.1em 0.3em;
	display: inline-block;
	transition: .3s;
	color: #0000ff;
	cursor: pointer;
	cursor: hand;
}

.chat_link::after {
	position: absolute;
	bottom: .3em;
	left: 0;
	content: '';
	width: 100%;
	height: 1px;
	background-color: #0000ff;
	transition: .3s;
	opacity: 0;
}
.chat_link:hover::after {
	bottom: 0;
	opacity: 1;
}
