@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap");
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
}

video {
  vertical-align: bottom;
  background-color: #000;
}

img {
  max-width: 100%;
  height: auto;
}

.sw-header {
  border-bottom: 1px solid #d2d2d2;
}

.sw-header-layout {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sw-pagetitle {
  margin-left: 20px;
  font-weight: bold;
  font-size: 18px;
  font-weight: 500;
}

.sw-block {
  margin: 0 auto;
  max-width: 750px;
}

.sw-view {
  display: flex;
  align-items: center;
  background-color: #333;
  max-width: 1200px;
  margin: 0 auto;
}

.sw-view__name {
  position: absolute;
  z-index: 5;
  bottom: 0;
  right: 0;
  padding: 5px 10px;
  background-color: rgba(0, 0, 0, .5);
  color: #fff;
}

.sw-view__grid {
  position: relative;
  width: 50%;
  transition: ease all 0.5s;
}

.is-conect .sw-view__grid.sw-view__grid--myvideo {
  align-self: flex-end;
  width: 30%;
}

.is-conect .sw-view__grid.sw-view__grid--theirvideo {
  width: 70%;
}

.sw-view__grid video {
  max-height: 500px;
}

.sw-mydata {
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e9e9e9;
}

.sw-myID {
  text-align: center;
  font-weight: 600;
}

.sw-myvideo {
  transform: scaleX(-1);
}

.sw-call {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sw-input {
  border-radius: 5px;
  width: 300px;
  padding: 15px;
  border: 1px solid #d6d6d6;
  background-color: #fff;
  color: #333;
}

.sw-input[disabled] {
  background-color: #9d9d9d;
}

.sw-call__submit {
  border-radius: 5px;
  display: block;
  margin-left: 30px;
  color: #fff;
  background-color: #000;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
}

.sw-call__submit.is-call {
  background-color: #15a453;
}

.sw-call__submit.is-close {
  display: none;
  background-color: #bd0f0f;
}

.sw-call__submit[disabled] {
  background-color: #a2a2a2;
  opacity: 1 !important;
  cursor: default;
}

.sw-util {
  margin-left: 20px;
}

.sw-copyright {
  border-top: 1px solid #d2d2d2;
  margin-top: 60px;
  padding: 15px 10px;
  text-align: center;
  font-size: 12px;
}

@media only screen and (max-width: 767px) {
  .sw-header-layout {
    padding: 10px;
    height: auto;
    display: block;
    text-align: center;
  }
  .sw-header__logo {
    margin: 0 auto 5px;
    max-width: 65%;
  }
  .sw-pagetitle {
    margin: 0;
    font-size: 13px;
  }
  .sw-block {
    padding: 0 15px;
  }
  .sw-view__name {
    padding: 8px 10px;
    font-size: 12px;
  }
  .is-conect .sw-view__grid.sw-view__grid--myvideo {
    width: 40vw;
    position: fixed;
    right: 0;
    bottom: 0;
  }
  .is-conect .sw-view__grid.sw-view__grid--theirvideo {
    width: 100%;
  }
  .sw-mydata {
    display: block;
  }
  .sw-myID {
    text-align: left;
  }
  .sw-call {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .sw-input {
    width: 100%;
    border-radius: 3px;
    padding: 10px 10px;
  }
  .sw-call__input {
    margin: 0 0 12px;
    width: 100%;
  }
  .sw-call__submit {
    width: calc(50% - 6px);
    padding: 15px;
    margin: 0;
  }
  .sw-util {
    margin: 10px 0 0;
  }
  .sw-util .sw-input {
    width: calc(100% - 8em);
  }
}

@media print, screen and (min-width: 768px) {
  .sw-call__submit {
    padding: 20px;
  }
  .sw-call__submit:hover {
    opacity: 0.8;
  }
}
