@charset "utf-8";
/*LOADING*/
@keyframes spin
{
    0% { transform: rotate(0deg);   opacity: 0.2; } /*0%の時は20％の透明度*/
    50%  { transform: rotate(180deg); opacity: 1.0; } /*50%の時は透明度なし*/
    100%   { transform: rotate(360deg); opacity: 0.2; } /*100%の時に20％の透明度に戻る*/

}
/*body*/
html * {
    box-sizing: inherit;
}
body {
	overflow: hidden;
    background-color: #fff;
    font-family: "メイリオ", "Hiragino Kaku Gothic ProN", sans-serif !important;
    font-size: 14px;
    color: #000;
    line-height: 1.6;
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
    text-size-adjust: none;
}

/*error_message*/
#error_message {
    width:800px;
    margin:auto;
    color: red;
}

/*title*/
#title {
    width:800px;
    margin: auto;
    padding-bottom: 3px;
    display: flex;
    justify-content: space-between;
}
#title .div-left{
	width:50%;
	text-align:left;
}
#title .div-right{
	width:50%;
	text-align:right;
}
/*screen*/
#bot-ui-frame {
    display: block;
    width: 801px;
    margin: auto;
    border: 2px solid #DCDCDC;
    /*border-radius: 7px 7px 7px 7px;*/
    /*padding: 10px;*/
    box-sizing: border-box;
    /*overflow: hidden;*/
}
#bot-ui-frame .chatScreen {
    display: block;
    /*padding: 10px;*/
    height: 600px;
    margin-bottom: 0px;
    overflow: auto;
    /*background: #ffffe8;*/
    -webkit-overflow-scrolling: touch;
}
/*message*/
#bot-ui-frame .message ,#bot-ui-frame .welcome_message {
    margin: 10px 10px 25px 10px;
    position: relative;
    min-height: 38px;
    padding-top: 12px;
}
#bot-ui-frame .message._me {
    text-align: right;
    padding-right: 0px;
}
#bot-ui-frame .welcome_message._bot {
    margin: 0;
    padding: 10px 10px; 
    background-color: cornsilk; 
    background-image: url("/images/welcome_background.png"); 
}
#bot-ui-frame .message > span ,#bot-ui-frame .welcome_message > span {
    text-align: left;
    display: inline-block;
    color: #fff;
    background: #0c60ff;
    padding: 10px 20px;
    border-radius: 5px;
    font-family:"メイリオ",Meiryo,"ヒラギノ角ゴ ProN W3","HiraKakuProN-W3","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック","helvetica","arial",sans-serif;
}
#bot-ui-frame .message._me > span {
    color: #fff;
    background: #0B6085;
    font-family:"メイリオ",Meiryo,"ヒラギノ角ゴ ProN W3","HiraKakuProN-W3","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック","helvetica","arial",sans-serif;
    position: relative;
    border-style: solid;
    border-width: 1px;
    border-color: #0B6085;
    z-index: 1;
}
#bot-ui-frame .message._me > span:before {
    content: "";
    position: absolute;
    top: 4px; right: -11px;
    margin-left: 1px;
    margin-top: 1px;
    display: block;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 0 0 17px 12px;
    border-color: transparent transparent transparent #0B6085;
    z-index: 2;
}
#bot-ui-frame .message._bot > span {
    color: #000;
    background: #FFF;
    font-family:"メイリオ",Meiryo,"ヒラギノ角ゴ ProN W3","HiraKakuProN-W3","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック","helvetica","arial",sans-serif;
    position: relative;
    border-style: solid;
    border-width: 1px;
    /*border-color: #0097E0;*/
    border-color: #FFF;
    margin-left: 80px;
    /*margin-left: 0px;*/
}
#bot-ui-frame .welcome_message > span {
    display: block; 
    color: #000;
    background: #FFF;
    font-family:"メイリオ",Meiryo,"ヒラギノ角ゴ ProN W3","HiraKakuProN-W3","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック","helvetica","arial",sans-serif;
    position: relative;
    border-style: solid;
    border-width: 1px;
    border-color: #FFF;
    padding: 10px 10px; 
    width:500px; 
    margin-left: 40px;
}
#bot-ui-frame .message._bot .bot_face{
    content: "";    
    width: 70px;
    height: 70px;
    position: absolute;
    /*background-image: url("../images/bot_face.gif");*/
    /*background-image: url("/images/bot_face.jpg");*/
    /*background-image: url("/images/bot_face1.jpg");*/
    background-image: url("/images/bot_icon.png");
    background-size: cover;
    /*bottom: 0px;*/
    top: 0px;
    /*right: -40px;*/
}
#bot-ui-frame .welcome_message._bot .welcome_bot_face{
    content: "";    
    width: 250px;
    height: 150px;
    position: absolute;
    /*background-image: url("../images/bot_face_l.gif");*/
    /*background-image: url("/images/bot_face.jpg");*/
    /*background-image: url("/images/bot_face1.jpg");*/
    background-image: url("/images/welcome_avatar.png");
    background-size: cover;
    bottom: -25px;
    /*top: 15px;*/
    right: -180px;
}
#bot-ui-frame .message._bot .no_bot_face{
    content: "";    
    width: 33px;
    height: 35px;
    position: absolute;
    background-image: url("/images/bot_face1.png");
    /*background-image: url("/images/bot_face.jpg");*/
    /*background-image: url("/images/bot_face1.jpg");*/
    background-size: cover;
    /*bottom: 0px;*/
    top: 0px;
    /*right: -40px;*/
}
#bot-ui-frame .message._bot > span.choiceMsg {
    background: #fff !important;
    border-color: #fff !important;
}
#bot-ui-frame .message > span a {
    color: blue;
    font-weight: bold;
    text-decoration: underline;
}
/*form*/
#bot-ui-frame .bot-form {
    display: block;
    position: relative;
    height:42px;
}
#bot-ui-frame input {
    display: block;
    width: 100%;
    border: 1px solid #03374E;
    border-radius: 5px;
    padding: 8px;
    font-size: 16px;
    -webkit-appearance: none;
}

#bot-ui-frame .speechplay {
    display: block;
    width: 100%;
    border: 2px solid #d9d9d9;
    border-radius: 7px;
    padding: 8px 8px 8px 24px;
    font-size: 16px;
    background-image:url("../images/speaker.png");
    background-repeat:no-repeat;
    background-position: 15% 50%;
    background-size:30px 30px;
}

#bot-ui-frame .loader {
    display: none;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    margin: 0;
    font-size: 10px;
    position: absolute;
    left: 10px;
    bottom: 3px;
    z-index: 3;
    text-indent: -9999em;
    border-top: 5px solid rgba(195, 195, 195, 0.2);
    border-right: 5px solid rgba(195, 195, 195, 0.2);
    border-bottom: 5px solid rgba(195, 195, 195, 0.2);
    border-left: 5px solid #41e667;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 2.0s infinite linear;
    animation: spin 2.0s infinite linear;
}
/*button*/
#bot-ui-frame button[disabled="disabled"] {
    opacity: 0.3;
}
#bot-ui-frame button.sendBtn {
    display: inline-block;
    top: 3px;
    background: #0C648C;
    border: 1px solid;
    border-radius: 7px;
    padding: 6px;
    cursor: pointer;
    color: #FFFFFF;
}
#bot-ui-frame .actionBtnArea {
    position: absolute;
    right: 3px;
    top: 4px;
}
.actionBtnArea .backBtn{
    display: inline-block;
    top: 3px;
    background: #0C648C;
    border: 1px solid;
    border-radius: 7px;
    padding: 6px;
    cursor: pointer;
    color: #FFFFFF;
}
#bot-ui-frame .assesArea{
    /*display: none !important;*/
    
    background: orange;
    height: 35px;
    display: table-cell;
    vertical-align: middle;
    padding: 5px;
    border-radius: 3px;
}
#bot-ui-frame .assesYes, #bot-ui-frame .assesNo{
    width: 100px;
    font-size: 80%;
    display: inline-block;
    height: 30px;
    padding: 3px;
    cursor: pointer;
    margin-left: 5px;
    margin-right: 5px;
}
/*
#bot-ui-frame .assesYes:hover, #bot-ui-frame .assesNo:hover{
    text-decoration: underline;
}
*/
#bot-ui-frame .assesYes{
	background: #003950;
	color: #FFFFFF;
}
#bot-ui-frame .assesNo{
	background: #A07710;
	color: #FFFFFF;
}
/*choice*/
#bot-ui-frame .choiceItem {
    background-color: #0097E0;
    border: 1px solid #0097E0;
    border-radius: 10px !important;
    color: #FFFFFF;
    cursor: pointer;
    outline: none;
    transition: color .2s ease, background-color .2s ease; 
    padding: 5px;
    width: 100%;
    text-align: left;
    padding-left:10px;
}
#bot-ui-frame .choiceItemWide {
    background-color: #0B6085;
    border: 1px solid #0B6085;
    border-radius: 5px !important;
    color: #FFFFFF;
    cursor: pointer;
    outline: none;
    transition: color .2s ease, background-color .2s ease; 
    /*padding: 12px;*/
    font-size: 14px;
    text-align: left;
    /*padding-left:20px;*/
    margin: 5px 0px;
    min-width: 250px;
    /*display: inline-block;*/
    word-break: break-all;
    white-space: normal;
}
#bot-ui-frame .choiceItemTag {
    background-color: #660F83;
    border: 1px solid #660F83;
    border-radius: 5px !important;
    color: #FFFFFF;
    cursor: pointer;
    outline: none;
    transition: color .2s ease, background-color .2s ease; 
    padding: 4px;
    text-align: center;
    margin: 5px 0px;
    min-width: 50px;
    font-size: 80%;
}
#bot-ui-frame .choiceItem:hover,
#bot-ui-frame .choiceItemWide:hover,
#bot-ui-frame .choiceItemTag:hover,
#bot-ui-frame .answerAction:hover
{
    text-decoration: underline;
}
#bot-ui-frame .choicedItem {
    background-color: #F4F4F4;
    border: 1px solid #cccccc;
    border-radius: 10px !important;
    color: #cccccc;
    cursor: not-allowed;
    outline: none;
    transition: color .2s ease, background-color .2s ease; 
    padding: 12px;
    font-size: 14px;
    width: 100%;
    text-align: left;
    padding-left:10px;
}
#bot-ui-frame .choicedItemWide {
    background-color: #F4F4F4;
    border: 1px solid #cccccc;
    border-radius: 5px !important;
    color: #cccccc;
    cursor: not-allowed;
    outline: none;
    transition: color .2s ease, background-color .2s ease; 
    /*padding: 12px;*/
    font-size: 14px;
    text-align: left;
    /*padding-left:20px;*/
    min-width: 250px;
    /*display: inline-block;*/
    margin: 5px 0px;
    word-break: break-all;
    white-space: normal;
}
#bot-ui-frame .answerdAction {
    background-color: #F4F4F4;
    color: #cccccc;
    cursor: not-allowed;
    outline: none;
    text-decoration: none;
}
#bot-ui-frame .selectedItem {
    background-color: #cccccc;
    color: #F4F4F4;
}
/*errorcode-choice*/
#bot-ui-frame .listItem{
    display: inline-block !important;
    width: 33% !important;
    text-align: center;
    background-image:none !important;
    padding-left:0 !important;
    padding-right:0 !important;
    margin:0.5px !important;
}
#bot-ui-frame .spacer{
    height: 8px;
}

/*firstquestion-choice*/
#bot-ui-frame .message._bot.questionList > span {
    border:0;
    margin:0 !important;
}

#bot-ui-frame .longSentence{
    overflow-y: auto;
    height: 90px;
    border: 1px #c0c0c0 solid;
    background-color: #DDDDDD;
}

/*accordion*/
#bot-ui-frame .AccordionHeader, #bot-ui-frame .questionTitle{
    color:#FFF;
    font-weight:bold;
    cursor: pointer;
    background-image:url("../images/arrow_down.png");
    background-repeat:no-repeat;
    background-position: right center;
    padding: 5px 24px 5px 5px;
    background-color: #0B6085;
    margin-top:5px;
    box-shadow: 2px 2px gray;
}
#bot-ui-frame .AccordionHeader:hover, #bot-ui-frame .questionTitle:hover{
    /*color: #7f7f7f;*/
}
#bot-ui-frame .AccordionDetail{
    display: none;
    padding:5px;
}

/* ログイン */
.login-modal-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 100;
  display: none;
}

.modal {
  position: absolute;
  background-color: #e6ecf0;
  padding: 20px 0 40px;
  border-radius: 10px;
  width: 450px;
  height: 285px;
  text-align: center;
}

.fa-times {
  position: absolute;
  top: 12px;
  right: 12px;
  color: rgba(128, 128, 128, 0.46);
  cursor: pointer;
}

#signup-form, #login-form {
  width: 100%;
}

#signup-form h2, #login-form h2 {
  color: #5f5d60;
  letter-spacing: 1px;
  margin-bottom: 40px;
}

#signup-form input, #login-form input {
  width: 320px;
  margin-bottom: 20px;
  font-size: 12px;
  padding: 12px 12px;
  border: 1px solid #d0d5d8;
  border-radius: 5px;
}

#submit-btn {
  display: inline-block;
  padding: 14px 140px;
  background-color: #5dca88;
  border: none;
  border-radius: 3px;
  color: white;
  margin: 10px auto;
  cursor: pointer;
}

#logout-btn {
  display: inline-block;
  padding: 10px 14px;
  background-color: #D2691E;
  border: none;
  border-radius: 3px;
  color: white;
  cursor: pointer;
  vertical-align: top;
}
#last-login{
    display: inline-block;
    font-size: 13px;
    padding-right: 5px;
    text-align: right;
}
/* エラーメッセージ */
.errMsg{
	color: #CC3333;
	font-weight: bold;
    margin :10px ;
    height :25px ;
}
/* 正常メッセージ */
.successMsg{
	color: #0033FF;
	font-weight: bold;
    margin :15px ;
}
#bot-question-box{
	width: 100%;
	font-size:16px;
	height:75px;
	resize: none;
	display:none;
}
.height-textarea{
	height:75px!important;
}
.top-to-bottom{
	top:auto!important;
	bottom:4px!important;
}