.live-streaming-wrapper {
  width: 100%;
  height: 100vh;
  background-color: #E4E4E4;
}

.live-streaming-admin-title-wrapper {
  display: flex;
  align-items: flex-end;
  position: absolute;
  top: 24px;
  left: 16px;
}

.live-streaming-admin-title {
  font-weight: bold;
  font-size: 20px;
  line-height: 32px;
  margin-right: 16px;
}

.live-streaming-admin-end-button > a {
  font-size: 14px;
  line-height: 22px;
  text-decoration: underline;
  color: #295FCC;
}

.live-streaming-screen-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  width: 100%;
  overflow: hidden;
}

.live-streaming-screen {
  position: absolute;
  width: 100%;
  height: 100%;
}

.live-streaming-product-name {
  margin-top: 8px;
  font-size: 16px;
  font-weight: bold;
  line-height: 26px;
}

.live-streaming-menu-container {
background-color: #FFFFFF;
}

.live-streaming-tab-container {
  position: relative;
  width: 100%;
  display: flex;
  box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
}

.live-streaming-tab {
  height: 40px;
  padding: 4px 0 6px;
  width: 100%;
  color: #7A7A7A;
  cursor: pointer;
}

.live-streaming-tab.is-active {
  font-weight: bold;
  color: #295FCC;
  border-bottom: 2px solid #295FCC;
}

.live-streaming-tab-icon, .live-streaming-tab-icon-selected {
  line-height: 18px;
  text-align: center;
}

.live-streaming-tab-icon-selected {
  display: none;
}

.live-streaming-tab.is-active .live-streaming-tab-icon {
  display: none;
}

.live-streaming-tab.is-active .live-streaming-tab-icon-selected {
  display: block;
}

.live-streaming-tab-title {
  font-size: 10px;
  line-height: 12px;
  text-align: center;
  caret-color: transparent;
}

.live-streaming-tab-content {
  display: none;
  height: calc(100% - 40px); /* タブ自体の高さを除算 */
}

.live-streaming-tab-content.is-show {
  display: block;
}

.live-streaming-chat-iframe {
  height: 100%;
  width: 100%;
}

.live-streaming-questionnaire-iframe {
  height: 100%;
  width: 100%;
}

.live-streaming-questionnaire-note-admin {
  border-radius: 2px;
  font-size: 12px;
  color: #CC2929;
  margin-top: 16px;
  background-color: #FFFFFF;
  padding: 8px;
}

.questionnaire-disable {
  display: none;
  padding: 24px 16px;
}

.questionnaire-disable-description {
  margin-bottom: 16px;
  font-size: 14px;
}

.questionnaire-disable-link {
  margin-top: 16px;
  line-height: 19px;
  font-size: 14px;
  color: #295FCC;
  text-decoration: underline;
}


.questionnaire-disable-note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 19px;
  color: #7A7A7A;
}

.admin-questionnaire-tab {
  display: none;
}

.live-streaming-questionnaire-note-admin {
  display: none;
}

@media (orientation: portrait) and  (max-width: 959px) {
  .live-streaming-screen-container {
    width: 100%;
  }

  .live-streaming-menu-container {
    width: 100%;
    height: calc(100% - 56.25vw);
  }

  .live-streaming-product-name {
    display: none;
  }
}

@media (orientation: landscape) and (max-width: 959px) {
  .live-streaming-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .live-streaming-screen-wrapper {
    width: 60%;
  }

  .live-streaming-menu-container {
    width: 40%;
    height: 100vh;
    border: 1px solid #E4E4E4;
  }

  .live-streaming-product-name {
    margin-left: 16px;
  }
}

@media screen and (min-width: 960px) {
  .live-streaming-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
  }

  .live-streaming-screen-wrapper {
    width: 60%;
  }

  .live-streaming-menu-container {
    max-width: 575px;
    width: 40%;
    margin-left: 24px;
    height: calc(100vh - 48px); /*ページ全体の上下の padding 分を除算*/
    border: 1px solid #E4E4E4;
  }
}

/* 以下 Swipe Video の縦横比を調整、 SDK で動的に CSS が変わるので !important を使用 */
.sv-embed > div {
  position: relative !important;
  padding-top: 56.25% !important;
}

.sv-embed .SwipeArea__root>img {
  width: auto !important
}

.sv-embed .SwipeArea__root {
  justify-content: center !important;
  display: flex !important;
}

.swipevideo > div {
  position: relative !important;
  padding-top: 56.25% !important;
}

.swipevideo .SwipeArea__root>img {
  width: auto !important
}

.swipevideo .SwipeArea__root {
  justify-content: center !important;
  display: flex !important;
}
