@charset "UTF-8";
html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

#chat {
  width: 30%;
  height: 60%;
  position: absolute;
  top: 0px;
  right: 0;
  margin-top: 150px;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.0);
}
@media screen and (max-width: 480px){
  #chat {
    width:95%;
    height: 39%;
    margin-top: 270px;
    padding: 10px;
  }
}

#chatLog {
  /* visibility: hidden; */
}

#chat input {
  position: absolute;
  z-index: 1;
}

#chat input:checked~#chatLog {
  visibility: visible;
}

#sendBox {
  background-color: white;
}

#logBottom {
  height: 1%;
}

#camera-bg {
  position: absolute;
  top: 0px;
  z-index: -1;
}

/*左のボタン*/

.messageFrame {
  position: relative;
  height: 46px;
}

.playBtn {
  width: 40px;
  height: 40px;
  position: absolute;
  left: 0px;
  background-image: url(../assets/img/icon_face.jpg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-color: transparent;
  border-radius: 25px;
  border: none;
  color: transparent;
}

/*左の吹き出し*/

.left_balloon {
  position: relative;
  background: #fff;
  border: 1px solid #777;
  margin: 5px;
  padding: 5px;
  border-radius: 5px;
  clear: both;
  max-width: 200px;
  float: left;
  left: 50px;
}

.left_balloon:after, .left_balloon:before {
  right: 100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.left_balloon:after {
  border-color: rgba(255, 255, 255, 0);
  border-right-color: #fff;
  border-width: 7px;
  margin-top: -7px;
}

.left_balloon:before {
  border-color: rgba(0, 0, 0, 0);
  border-right-color: #000;
  border-width: 8px;
  margin-top: -8px;
}

/*右の吹き出し*/

.right_balloon {
  position: relative;
  background: #85e249;
  border: 1px solid #777;
  margin: 5px;
  padding: 5px;
  border-radius: 5px;
  clear: both;
  max-width: 200px;
  float: right;
  right: 8px;
}

.right_balloon:after, .right_balloon:before {
  left: 100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.right_balloon:after {
  border-color: rgba(133, 226, 73, 0);
  border-left-color: #85e249;
  border-width: 7px;
  margin-top: -7px;
}

.right_balloon:before {
  border-color: rgba(119, 119, 119, 0);
  border-left-color: #777;
  border-width: 8px;
  margin-top: -8px;
}
