@charset "utf-8";

/* Initial setting */
._qcv_frame {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
  background-color: transparent;
  color: #333;
  position: fixed;
  z-index: 10000;
  right: 16px !important;
}
._qcv_frame * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 13px;
  line-height: 1.54;
}

._qcv_frame a {
  color: #00f;
  text-decoration: underline;
}
._qcv_frame a:hover {
  text-decoration: none;
}
._qcv_frame li {
  list-style-type: none;
}
._qcv_frame button:focus,
._qcv_frame button:active {
  outline: none;
}

/* Chat view change */
._qcv_init {
  width: 72px;
  height: 72px;
  position: relative;
  top: -16px;
}

._qcv_minimum_view,
._qcv_inu,
._qcv_inu img {
  display: none;
}
._qcv_init._qcv_minimum {
  height: 32px;
  position: relative;
  top: 0;
  bottom: 0;
  right: 60px;
}
._qcv_init  ._qcv_minimum_view {
  position: relative;
  width: 135px;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  background-color: #b3aa9e;
}
._qcv_minimum_view ._qcv_icon {
  display: none;
}
._qcv_minimum_view ._qcv_title {
  display: block;
  height: 32px;
  padding: 0 8px;
  font-size: 12px;
  color: #fff;
  line-height: 32px;
}
._qcv_minimum_view ._qcv_btn_open {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  background-color: #fff;
  position: absolute;
  top: 8px;
  right: 8px;
}
._qcv_minimum_view ._qcv_btn_open:before {
	content: "";
	display: block;
  width: 8px;
  height: 2px;
  background-color: #b3aa9e;
  position: absolute;
  left: 4px;
  top: 7px;
}
._qcv_minimum_view ._qcv_btn_open:after {
	content: "";
	display: block;
  width: 2px;
  height: 8px;
  background-color: #b3aa9e;
  position: absolute;
  left: 7px;
  top: 4px;
}
._qcv_minimum_view button {
  width: 100%;
  height: 100%;
  background: url(/shared/img/chatbot/btn_default.png) 0 0 no-repeat;
  background-size: 72px auto;
  border: none;
  cursor: pointer;
}
._qcv_ind {
  width: 100%;
  height: 100%;
  background-color: #bf0000;
  border-radius: 50%;
  box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 0;
  left: 0;
}
._qcv_ind button {
  width: 100%;
  height: 100%;
  background: url(/shared/img/chatbot/btn_default.png) 0 0 no-repeat;
  background-size: 72px auto;
  border: none;
  cursor: pointer;
}
._qcv_ind ._qcv_view_switch_close {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  background-color: #b3aa9e;
  position: absolute;
  top: -13px;
  right: 0px;
}
._qcv_ind ._qcv_view_switch_close:before {
	content: "";
	display: block;
  width: 8px;
  height: 2px;
  background-color: #fff;
  position: absolute;
  left: 4px;
  top: 7px;
}

/* Chat frame */
._qcv_content_frame {
  width: 360px;
  height: 480px;
  background-color: #fff;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 1px 12px 0 rgba(0, 0, 0, 0.2);
}

/* Chat menubar */
._qcv_mbar {
  display: none;
}

/* Chat header */
._qcv_head {
  border-radius: 8px 8px 0 0;
  background-color: #b3aa9e;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}
._qcv_lcr_item {
  position: relative;
}
._qcv_lcr_cell:first-child {
  display: none;
}
._qcv_lcr_cell_c ._qcv_title {
  display: block;
  height: 40px;
  line-height: 40px;
  font-size: 16px;
  letter-spacing: 1px;
  text-align: center;
  color: #fff;
}
._qcv_lcr_cell:last-child {
  width: 55px;  /* 24px */
  height: 24px;
  position: absolute;
  right: 8px;
  top: 8px;
}
#qxbtn-view_switch_full {
  width: 24px;
  height: 100%;
  background: none;
  border: none;
  font-size: 0;
  cursor: pointer;
  position: absolute;
  left: 0;
}


._qcv_btn_org._qcv_view_switch {
  width: 24px;
  height: 100%;
  background: none;
  border: none;
  font-size: 0;
  cursor: pointer;
  position: absolute;
  right: 0;
}
._qcv_btn_org._qcv_view_switch:before,
._qcv_btn_org._qcv_view_switch:after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  border-radius: 1px;
}
._qcv_btn_org._qcv_view_switch:before {
  position: relative;
  top: 1px;
	-webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
._qcv_btn_org._qcv_view_switch:after {
  position: relative;
  top: -1px;
	-webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
#qxbtn-view_switch_full:before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  background-color: #fff;
  border-radius: 1px;
  position: relative;
  top: 1px;
}

._qcv_lbl_description,
/*._qcv_btn_org:first-child,*/
._qcv_btn_org._qcv_view_switch img {
  display: none;
}

/* Chat body */
._qcv_body {
  height: 384px;
  padding: 0 18px;
  background-color: #fff;
  border-left: 2px solid #b3aa9e;
  border-right: 2px solid #b3aa9e;
  overflow-x: hidden;
  overflow-y: auto;
}
._qcv_chat_list {
  padding: 16px 0 32px;
}
._qcv_chat_cell:not(:first-child) {
  margin-top: 16px;
}
._qcv_chat_cell:after {
	content: "";
	display: table;
	clear: both;
}
._qcv_bubble {
  position: relative;
  max-width: 295px;
  padding: 16px;
  border-radius: 2px;
  word-break: break-all;
}
._qcv_chat_cell:first-child ._qcv_bubble {
  width: 255px;
}

/* Bot bubble */
._qcv_bubble_left {
  float: left;
  min-width: 200px;
  margin-left: 8px;
  border-bottom-left-radius: 0;
  background-color: #fff0f0;
}
._qcv_bubble_left:before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 8px 8px;
  border-color: transparent transparent #f7f7f7 transparent;
  position: absolute;
  bottom: 0;
  left: -8px;
}

/* User bubble */
._qcv_bubble_right {
  float: right;
  margin-right: 8px;
  border-bottom-right-radius: 0;
  background-color: #f5f5f5;
}
._qcv_bubble_right:after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 8px 8px 0;
  border-color: transparent transparent #ebebeb transparent;
  position: absolute;
  bottom: 0;
  right: -8px;
}

/* Button */
._qcv_bubble_btn_wrapper:after {
  content: "";
  display: table;
  clear: both;
}
button[class^="_qcv_bubble_btn"] {
  display: block;
  min-height: 40px;
  margin-top: 8px;
  padding: 8px 16px;
  border-radius: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
  cursor: pointer;
  transition: all 300ms 0s ease-in-out;
}
button[class^="_qcv_bubble_btn"]:hover {
  opacity: 0.85;
}
._qcv_used_content button[class^="_qcv_bubble_btn"] {
  background-color: #ccc;
  color: #fefefe;
  border: none;
  opacity: 1;
  cursor: default;
}
._qcv_used_content button[class^="_qcv_bubble_btn"]:hover {
  opacity: 1;
}
._qcv_bubble_btn1,
._qcv_bubble_btn2 {
  float: left;
  width: 128px;
  min-width: 106px;
  text-align: center;
}
._qcv_bubble_btn1 {
  background-color: #bf0000;
  color: #fff;
  font-weight: bold;
  border: none;
}
._qcv_bubble_btn2 {
  background-color: #fff;
  color: #062602;
  border: 1px solid #333;
}
._qcv_bubble_btn1 + ._qcv_bubble_btn2 {
  margin-left: 8px;
  margin-right: -1px;
}
._qcv_bubble_btn2 + ._qcv_bubble_btn2 {
  clear: both;
  width: 100%;
}
._qcv_bubble_btn5 {
  width: 100%;
  background-color: #fff;
  color: #bf0000;
  font-weight: bold;
  border: 1px solid #bf0000;
  text-align: left;
}

/* Chat footer */
._qcv_foot {
  padding: 8px;
  border-left: 2px solid #b3aa9e;
  border-right: 2px solid #b3aa9e;
  background-color: #ebebeb;
  position: relative;
}
input[type="text"]._qcv_input_field {
  width: 260px;
  height: 40px;
  padding: 0 16px;
  border-radius: 2px;
  border: 1px solid #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
  font-size: 15px;
  background-color: #fff;
  color: #333;
  outline: none;
  transition: all 300ms 0s ease-in-out;
}
input[type="text"]._qcv_input_field:focus {
  border-color: #1675e1;
  box-shadow: 0 0 5px #1675e1;
}
/* Google Chrome, Safari */
input[type="text"]._qcv_input_field::-webkit-input-placeholder {
  color: #bfbfbf;
  font-size: 15px;
}
/* Firefox 19+ */
input[type="text"]._qcv_input_field::-moz-placeholder {
  color: #aaa;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
  font-size: 15px;
}
/* IE 10+ */
input[type="text"]._qcv_input_field:-ms-input-placeholder {
  color: #bfbfbf;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
  font-size: 15px;
}
._qcv_btn_send {
  width: 72px;
  height: 40px;
  line-height: 40px;
  background-color: #223c4d;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
  font-size: 15px;
  text-align: center;
  border: none;
  border-radius: 4px;
  letter-spacing: 1px;
  position: absolute;
  top: 8px;
  right: 8px;
  cursor: pointer;
  transition: all 300ms 0s ease-in-out;
}
._qcv_btn_send:not(:disabled):hover {
  opacity: 0.85;
}
._qcv_btn_send:active {
    position: absolute;
}

/* Admin tool */
._cbat-color-black {
  color: black !important;
}
._cbat-color-red {
  color: red !important;
}
._cbat-color-blue {
  color: blue !important;
}
._cbat-font-bold {
  font-weight: bold !important;
}
._cbat-font-italic {
  font-style: italic !important;
}
._cbat-font-underline {
  text-decoration: underline !important;
}
