* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.preview {
  width: 100%;
  height: calc(100vh - 10vh);
  background-color: #000;
  margin: 0;
  position: relative;
}

.preview iframe,
.preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview #preview_link {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 1000;
}

.preview_control {
  font-family: "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", Arial, Helvetica, sans-serif;
  font-size: 14px;
  height: 10vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2em;
  background-color: #000;
  color: #fff;
}

.preview_control a {
  color: #fff;
}
.preview_control a:hover {
  color: #f30387;
}
.preview_control button {
  background-color: #000;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 5px;
  padding: 2px 1em;
  cursor: pointer;
  transition: all 0.3s ease;
}
.preview_control button:hover {
  background-color: #fff;
  color: #000;
}

.info-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1rem;
}
.info-area img{
  max-height: 30px;
  height: 100%;
  max-width: 80px;
  width: 15vw;
  margin-bottom: .5em;
  display: block;
}
@media (max-width: 600px) {
  .info-area{
    padding: 5px;
  }
  .preview_control{
    padding: 0 5px 0 12px;
  }
}
@media (max-height: 300px) {
  .preview{
    height: calc(100vh - 35px);
  }
  .preview_control{
    height: 35px;
  }
}

ul {
  list-style: none;
}
.viewer{
  background-color: #000;
  color: #fff;
  padding: 0 1rem;
  max-width: 80px;
  width: 15vw;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ccc;
  box-sizing: border-box;
  gap: .8rem;
  line-height: 1;
}
.viewer img{
  height: 60%;
  width: 40%;
  margin: 0;
}
.viewer #viewer_num{
  font-family: "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", Arial, Helvetica, sans-serif;
  font-size: 1.1em;
}
@media (max-width: 450px) {
  .live img{    
    min-width: 34px;
  }
  .viewer{
    font-size: 70%;
    gap: 3px;
    min-width: 34px;
  }

  .viewer img{
    margin-right: 0;
    width: 15px;
    height: auto;
  }
}
@media (max-width: 300px) {
  .viewer{
  gap: 0;
  }
  .viewer img{
    display: none;
  }
  .preview_control,
  .preview_control button{
    font-size: 11px;
  }

}

/* style2.css の内容（同じクラスに対してはこちらが優先される） */

.preview.shorter{
  height: calc(100vh - 10vh - 65px);
}

.info-area {
  justify-content: space-between;
}

@keyframes vibrate {
  0% { transform: translateX(0); }
  5% { transform: translateX(-8px); }
  10% { transform: translateX(8px); }
  15% { transform: translateX(0); }
  /* 85%までポーズ */
  85% { transform: translateX(0); }
  90% { transform: translateX(-8px); }
  95% { transform: translateX(8px); }
  100% { transform: translateX(0); }
}

.vibrate {
  animation: vibrate 0.3s linear infinite;
}

.icon{
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 50px;
  width: 12vw;
  height: 30px;
  background-color: #f30387;
  margin-bottom: 10px;
  border: 1px solid #eee;
}

.icon img {
  object-fit: contain;
  height: 80%;
  display: block;
  margin: 0 auto;
}

.lang img{
  max-width: 50px;
  width: 12vw;
}

.hide{
  display: none;
}

#left_block.hide{
  visibility: hidden;
}

#top_banner{
  display: block;
  text-decoration: none;
}

#top_banner.hide{
  display: none;
}

.top_banner{
  height: 65px;
  box-sizing: border-box;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "Meiryo UI", "メイリオ", Meiryo, Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg,rgba(42, 123, 155, 1) 0%, #f305f7 0%, #000000 100%);
}

.top_banner li{
  padding: 5px 10px 10px;
}

.top_banner .top_banner_logo{
  width: 40%;
}

.top_banner .top_banner_logo img{
  max-width: 290px;
  width: 100%;
}

.top_banner .top_banner_text{
  width: 70%;
  text-align: center;
}

.top_banner .top_banner_text div{
  max-width: 200px;  
  margin: 0 0 0 auto;
}

.top_banner .bt{
  border: 1px solid gold;
  background-color: #000;
  padding: 0 1rem;
  line-height: 1.5;
}

.top_banner .bt span{
  color: gold;
  font-size: .8em;
}

@media (min-width: 450px) {
  .preview.shorter{
    height: calc(100vh - 10vh - 80px);
  }
  .top_banner{
    height: 80px;
    padding: 10px 20px;
    font-size: 18px;
  }
  .top_banner .top_banner_text div{
    max-width: 240px;  
  }
  .top_banner .bt {
    margin-top: 5px;
  }
}

@media (min-width: 1000px) {
  .preview.shorter{
    height: calc(100vh - 10vh - 100px);
  }
  .top_banner{
    height: 100px;
    font-size: 20px;
  }
  .top_banner .top_banner_text div{
    max-width: 300px;  
  }
}
