/* normalize */

@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP');

body { 
  font-family: 'Noto Sans JP', sans-serif;

  margin: 0;
  /* background-color: #1f1f1f; */
  background-color: #fff;
  /* color: #f743bf; */
  /* color: #0f0; */
  color: #000;
  background-size: cover;
}

/* global styles */
video {
  background-color: #fff;
  width: 100%;
  display: none;
}

.heading {
  text-align: center;
  margin-bottom: 0;
}

.note {
  text-align: center;
}

.meta {
  text-align: center;
  font-size: .8rem;
  color: gray;
}

.container {
  margin-left: auto;
  margin-right: auto;
  width: 980px;
}

/* p2p-media styles */
.p2p-media {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.p2p-media .remote-stream {
  width: 50%;
}

.p2p-media .local-stream {
  width: 30%;
}

/* p2p-data styles */
.p2p-data {
  display: grid;
  grid-template-columns: 30% 1fr;
  margin: 0 8px;
}

.p2p-data .messages {
  background-color: #eee;
  min-height: 100px;
  padding: 8px;
  margin-top: 0;
}

/* room */
.room {
  display: grid;
  grid-template-columns: 30% 40% 30%;
  gap: 8px;
  margin: 0 8px;
}

.room .remote-streams {
  background-color: white;
}

.room .messages {
  background-color: #eee;
  min-height: 100px;
  padding: 8px;
  margin-top: 0;
}










input {
  border: 1px solid #000;
  border-radius: 10px;
}



.btn {
  border: solid 1px #000; padding: 20px; margin: 10px; border-radius: 10px;
}

.title {
  margin-left: 10px;
}

.loginbox {
  border: solid 1px #000; background-color: #fff; padding: 0px; margin: 20px; border-radius: 10px;
  z-index: 60;
}
.chatbox {
  left: 0px; bottom: 0px; border: solid 1px #000; background-color: #fff; width: 400px; height: 500px; border-radius: 10px; opacity: 0.8;
  z-index: 50;
}
.chatbox:hover {
  opacity: 1;
}

.toolbox {
  left: 410px; bottom: 0px; border: solid 1px #000; background-color: #fff; width: 400px; height: 500px; border-radius: 10px; opacity: 0.8;
  z-index: 40;
}
.toolbox:hover {
  opacity: 1;
}

.chooseimage {
  width: 240px; height: 30px; border: solid 1px #000; background-color: #fff; font-size: 14px; border-radius: 10px; padding: 10px;
}

.centerBox {
  width: 50vw; height: 100vh; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 30; pointer-events: none;
}



.arrow_box{
    position:relative;
    width:300px;
    height:60px;
    background:#FFFFFF;
    text-align:left;
    border:1px solid #000000;
    color:#000000;
    font-size:16px;
    border-radius:8px;
    -webkit-border-radius:8px;
    -moz-border-radius:8px;

    padding: 10px;
    text-align: justify;

    text-align-last: left;

    overflow-wrap: break-word;
}
.arrow_box:after,.arrow_box:before{
    border: solid transparent;
    content:'';
    height:0;
    width:0;
    pointer-events:none;
    position:absolute;
    top:100%;
    left:20%;
}
.arrow_box:after{
    border-color: rgba(255, 255, 255, 0);
    border-top-width:15px;
    border-bottom-width:15px;
    border-left-width:15px;
    border-right-width:15px;
    margin-left: -15px;
    border-top-color:#FFFFFF;
}
.arrow_box:before{
    border-color: rgba(0, 0, 0, 0);
    border-top-width:16px;
    border-bottom-width:16px;
    border-left-width:16px;
    border-right-width:16px;
    margin-left: -16px;
    margin-top: 1px;
    border-top-color:#000000;
}










/************************************
** CSSでタブ表示
************************************/
/* タブの外枠 */
.tabs {
  margin-top: 12px;
}

/* タブのスタイル */
.tabs .tab-label {
  display: inline-block;
  /* border-top-left-radius: 5px;
  border-top-right-radius: 5px; */
  border-radius: 3px;
  border: 1px solid #000;
  /* background-color: #f3f3f3; */
  background-color: #fff;
  margin-left: 3px;
  margin-right: 3px;
  margin-bottom: 5px;
  padding: 3px 6px;
  /* border-bottom: none; */
  font-size: 0.9em;
}

/* タブにマウスカーソルがのったときフッター */
.tabs .tab-label:hover {
  opacity: 0.7;
}

/* ラジオボタンと内容を非表示 */
.tabs input[name="tab-radio"],
.tabs .tab-content {
  display: none;
}

/* タブ内容のスタイル */
.tabs .tab-content{
  /* border: 1px solid #999; */
  padding: 5px;
}
.tab-content{
  margin: 10px;
}

/* 選択されているタブのコンテンツのみを表示 */
.tabs #tab-1:checked ~ .tab-1-content,
.tabs #tab-2:checked ~ .tab-2-content,
.tabs #tab-3:checked ~ .tab-3-content,
.tabs #tab-4:checked ~ .tab-4-content,
.tabs #tab-5:checked ~ .tab-5-content {
  display: block;
}

/* 選択されているタブのスタイルを変える */
.tabs input[name="tab-radio"]:checked + .tab-label {
  background-color: #fff;
  border-bottom: 2px solid #0077ff;
}