@charset "utf-8";
@import url(../fonts/style.css);
/*------------------------------------------------
*	チャットボットの設定
*------------------------------------------------*/
#thd_chatbot_wrap {
    position: fixed;
    z-index: 10;
    top: 150px;
    right: 0px;
}
#thd_chatbot_wrap * {box-sizing: border-box;}
#thd_bot_tag{
	top: 145px;
	right: 0;
}
#thd_bot_tag:hover{
	cursor: pointer;
	filter:brightness(110%);
}
#thd_bot_icon{
	display: inline-block;
	width: 100px;
	height: 100px;
	background-image: url(../img/icon.png);
	background-size: cover;
	background-repeat: no-repeat;
}
#thd_bot_msg{
	display: block;
	padding: 0 3px 5px;
	line-height: 1.2em;
	writing-mode: vertical-rl;
	height: 110px;
	margin: auto;
	text-align: start;
}
#thd_chatbot {
	position: fixed;
	z-index: 9;
	top: 145px;
	right: 0;
	width:250px;
	height:400px;
	border:1px solid #1E8AD7; 
	display: none;
}
#thd_chatbot .chatbot-header{
	position: relative;
	height: 35px;
	box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.16);
	z-index: 1;
	line-height: 35px;
	padding-left: 10px;
	background-color: #1E8AD7;
	color: #fff;
}
#thd_chatbot .chatbot-header span.title{
	display: inline-block;
	width: calc(100% - 110px);
	height: 35px;
	overflow: hidden;
	font-size: 14px;
}
#thd_chatbot .chatbot-header div{
	float: right;
	width: 20px;
	font-size: 20px;
	cursor: pointer;
	margin: auto 5px;
	padding: 0 3px;
}
#thd_chatbot .chatbot-header div:hover{
	opacity: 0.7;
}
#thd_chatbot .chatbot-body{
	width: 100%;
	height: calc(100% - 71px);
	overflow-x: hidden;
	overflow-y: scroll;
    background-color: #DFEEF8;
}
#thd_chatbot .chatbot-body .bot-icon{
	background-color: #FFF;
	height: 50px;
	width: 50px;
	border-radius: 50%;
	margin: 0px 5px 0;
	background-image: url(../img/bot-icon.png);
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	float: left;
}
#thd_chatbot .chatbot-body .bot-icon.sad{
	background-image: url(../img/bot-icon-sad.png);
	background-size: 150%;
	background-position: 50% 40%;
}
#thd_chatbot .chatbot-body .bot-icon.smail{
	background-image: url(../img/bot-icon-smail.png);
	background-size: 150%;
	background-position: 50% 40%;
}
#thd_chatbot .chatbot-body .bot-icon.opc{
	background-image: url(../img/opc_test_icon.png);
	background-size: 150%;
	background-position: 50% 40%;
}
#thd_chatbot .chatbot-body .bot-icon.typing{
	background-image: url(../img/opc_test_icon.png);
	background-size: 150%;
	background-position: 50% 40%;
}
#thd_chatbot .chatbot-body .bot-icon:first-child{
	margin-top:10px;
}
#thd_chatbot .chatbot-body::-webkit-scrollbar{
	width: 10px;
}
#thd_chatbot .chatbot-body::-webkit-scrollbar-track{
	background: #fff;
	border: none;
	border-radius: 10px;
	box-shadow: inset 0 0 2px #777; 
}
#thd_chatbot .chatbot-body::-webkit-scrollbar-thumb{
	background: #aaa;
	border-radius: 10px;
	box-shadow: none;
}

#thd_chatbot .bot-balloon, #thd_chatbot .user-balloon{
	position: relative;
	width: max-content;
	max-width: 75%;
	padding: 10px;
	margin: 19px auto 10px 45px;
	border-radius: 10px;
	color: #212121;
	background-color: #FFF;
	word-break: break-all;
}
#thd_chatbot .bot-balloon{ border: 1px solid #1E8AD7; border-top-left-radius: 0px; font-size: 15px; margin-left: 60px;}
#thd_chatbot .user-balloon{ border-top-right-radius: 0px;	}
#thd_chatbot .bot-balloon:before,#thd_chatbot .user-balloon:before{
	content: "";
	position: absolute;
	top: 0;
	border: 10px solid transparent;
}
#thd_chatbot .bot-balloon:before{
	left: -19px;
	border-right: 10px solid #FFF;
	border-top: 0 solid ;
	z-index: 2;
}
#thd_chatbot .bot-balloon:after{
	content: "";
	position: absolute;
	top: -1px;
	left: -23px;
	border: 11px solid transparent;
	border-right: 11px solid #999;
	border-top: 0 solid;
	z-index: 1;
}

#thd_chatbot .user-balloon:before {
	left: calc(100% - 2px);
	border-left: 10px solid;
	border-top: 0 solid;
}

#thd_chatbot .user-balloon{margin: 10px 12px 10px auto; background-color: #FFF; color: #000;}
#thd_chatbot .bot-balloon.bot-title{
	width: 75%;
	margin-bottom: 0;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	padding: 10px;
	line-height: 20px;
}
#thd_chatbot .bot-balloon.bot-title .answer-title{
	border-top: 2px solid #039BE5;
	border-bottom: 2px solid #039BE5;
	font-weight: bold;
	margin: 0.5em 0 1em;
	padding: 10px;
}
#thd_chatbot .options-wrap,#thd_chatbot .rate-wrap{
	position: relative;
	width: 75%;
	margin: -1px auto 0 60px;
	background-color: #FFF;
	border: 1px solid;
	color: #757575;
}
#thd_chatbot .rate-wrap + .bot-icon{
	margin-top: 10px;
}
#thd_chatbot .options-wrap.balloon-end{
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	margin-bottom: 10px;
}
#thd_chatbot .options-wrap .thdbot-option{
	display: block;
	width: calc(100% - 30px);
	margin: 5px auto;
	padding: 5px 10px;
	text-align: left;
	cursor: pointer;
}
#thd_chatbot .options-wrap > div{
	width: calc(100% - 30px);
	margin: 5px auto;
	padding: 5px 10px;
	text-align: left;
}
#thd_chatbot .bot-balloon a, #thd_chatbot .options-wrap > div a{text-decoration: underline;}
#thd_chatbot .options-wrap .thdbot-option:not(.desabled):hover{
	filter: brightness(120%);
}
#thd_chatbot .options-wrap .thdbot-option.desabled{
	color: #999;
	cursor: initial;
}
#thd_chatbot .options-wrap .thdbot-option.desabled:hover{
	text-decoration: none;
}
#thd_chatbot .rate-wrap{
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}
#thd_chatbot .rate-wrap .ratebutton-wrap{
	display: flex;
	padding: 10px;
	justify-content: space-around;	
}

#thd_chatbot .rate-wrap .mock{
	display: block;
	width: 100%;
	padding: 5px;
	margin-bottom: 3px;
	justify-content: space-around;	
}

#thd_chatbot .rate-wrap .mock-button{
	display: block;
	align-items: center;
	width: calc(100% - 30px);;
	padding: 5px;
	margin-bottom: 3px;
	margin-left: 15px;
	margin-right: 15px;
	justify-content: space-around;	
}

#thd_chatbot .rate-wrap .thdbot-buttun{
	width: calc(100% / 2 - 20px);
	border-radius: 10px;
	text-align: center;
	padding: 10px;
	line-height: 15px;
	cursor: pointer;
	font-size: smaller;
}
#thd_chatbot .rate-wrap .thdbot-buttun.bot-like{
	border: 1px solid #1e73be;
	color:#1e73be;
}
#thd_chatbot .rate-wrap .thdbot-buttun.bot-like.rated,
#thd_chatbot .rate-wrap .thdbot-buttun.bot-like:hover
{
	background-color:rgba(30,115,190,0.8);
	color:#fff;
}
#thd_chatbot .rate-wrap .thdbot-buttun.rated,
#thd_chatbot .rate-wrap .thdbot-buttun.disabled{
	pointer-events: none;
}
#thd_chatbot .rate-wrap .thdbot-buttun.bot-like.disabled{
	color:rgba(30,115,190,0.7);
}
#thd_chatbot .rate-wrap .thdbot-buttun.bot-bad{
	border: 1px solid #f7646e;
	color:#f7646e;
}
#thd_chatbot .rate-wrap .thdbot-buttun.bot-bad.rated,
#thd_chatbot .rate-wrap .thdbot-buttun.bot-bad:hover{
	background-color:rgba(247,100,110,0.8);
	color:#fff;
}
#thd_chatbot .rate-wrap .thdbot-buttun.bot-bad.disabled{
	color:rgba(247,100,110,0.7);
}
#thd_chatbot .rate-wrap .thdbot-buttun.bot-bad-form{
	border: 1px solid #f7646e;
	color:#f7646e;
}
#thd_chatbot .rate-wrap .thdbot-buttun.bot-bad-form.rated,
#thd_chatbot .rate-wrap .thdbot-buttun.bot-bad-form:hover{
	background-color:rgba(247,100,110,0.8);
	color:#fff;
}
#thd_chatbot .rate-wrap .thdbot-buttun.bot-bad-form.disabled{
	color:rgba(247,100,110,0.7);
}
#thd_chatbot .rate-wrap .thdbot-buttun.bot-bad-require{
	border: 1px solid #f7646e;
	color:#f7646e;
}
#thd_chatbot .rate-wrap .thdbot-buttun.bot-bad-require.rated,
#thd_chatbot .rate-wrap .thdbot-buttun.bot-bad-require:hover{
	background-color:rgba(247,100,110,0.8);
	color:#fff;
}
#thd_chatbot .rate-wrap .thdbot-buttun.bot-bad-require.disabled{
	color:rgba(247,100,110,0.7);
}
#thd_chatbot .rate-wrap .thdbot-rating.thumb_up:after,
#thd_chatbot .rate-wrap .thdbot-rating.thumb_down:after
{
	font-family: 'chatbot';
	font-size: 20px;
	position: relative;
	top: 2px;
	margin-left: 5px; 
}
#thd_chatbot .rate-wrap .thdbot-rating.thumb_up:after{content: "\e904";}
#thd_chatbot .rate-wrap .thdbot-rating.thumb_down_icon:after{content: "\e903";}
#thd_chatbot .chatbot-input{
	position: absolute;
	width: 100%;
	bottom: 0;
	display: flex;
}
#thd_chatbot #bot_menu{
	position: absolute;
	left:0;
	background: #666;
	color:#FFF;
	bottom: 35px;
	display: none;
	overflow-y: auto;
	z-index: 4;
}
#thd_chatbot #bot_menu::-webkit-scrollbar{
	width: 3px;
	background: transparent;
}
#thd_chatbot #bot_menu::-webkit-scrollbar-track{
	background: transparent;
	border: none;
	border-radius: 3px;
	box-shadow: none; 
}
#thd_chatbot #bot_menu:hover::-webkit-scrollbar-thumb{
	background: transparent;
	border-radius: 3px;
	box-shadow: none;
}
#thd_chatbot #bot_menu:hover::-webkit-scrollbar-thumb{
	background: rgba(236,239,241 ,0.5);
}

#thd_chatbot #bot_menu ul li{
	padding: 10px;
	border-bottom: 1px solid #999;
	cursor: pointer;
}
#thd_chatbot #bot_menu ul li:hover{
	background: #999;
}
#thd_chatbot #bot_menu ul li:last-child{
	border-bottom: none;
}
#thd_chatbot #chatbot_menu{
	width:30px;
}
#thd_chatbot #bot_menu_button{
	width: 25px;
	padding: 3px 0 0 0;
	font-size: 20px;
}
#thd_chatbot #bot_image_button{
	width: 25px;
	padding: 3px 0 0 0;
	font-size: 20px;
}
#bot_image_button:hover {
	background: #333;
	color: #fff;
}
#thd_chatbot #bot_cancel_button{
	width: 40px;
	padding: 3px 0 0 0;
	font-size: 20px;
}
#thd_chatbot .chatbot-input #send{
	width: 100%;
}
#thd_chatbot .chatbot-input input{
	border: none;
	width: 100%;
	padding: 8px 3px 9px;
	background: #fff;
	font-size: 14px;
}
#thd_chatbot .chatbot-input ::placeholder{
	color: #707070;
}

#thd_chatbot .spinner {
	margin: 0 auto;
	width: 50px;
	text-align: center;
}

#thd_chatbot .spinner > div {
	width: 8px;
	height: 8px;
	border-radius: 100%;
	display: inline-block;
	-webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
	animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

#thd_chatbot .spinner .bounce1 {
	-webkit-animation-delay: -0.32s;
	animation-delay: -0.32s;
	}

#thd_chatbot .spinner .bounce2 {
	-webkit-animation-delay: -0.16s;
	animation-delay: -0.16s;
}

pre{
	white-space: pre-wrap;
}

@-webkit-keyframes sk-bouncedelay {
	0%, 80%, 100% { -webkit-transform: scale(0) }
	40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
	0%, 80%, 100% { 
		-webkit-transform: scale(0);
		transform: scale(0);
	} 40% { 
		-webkit-transform: scale(1.0);
		transform: scale(1.0);
	}
}

#opc_text {
	width:100%;
}