@media screen and (orientation: landscape) {
  #container {
    background-image: url(bg-003.png);
    background-size: 100%;
    background-repeat: no-repeat;
    overflow: hidden;
  }
  div.hisyokan {
    position: absolute;
    left: 75%;
    top: 6%;
    height: 154%;
  }
  div.hisyokan img {
    margin-left: -50%;
    height: 100%;
  }
  div.hisyokan_name {
    position: absolute;
    bottom: 0;
    overflow: hidden;
    left: 4%;
  }
  img#change_hisyo {
    position: absolute;
    bottom: 10px;
    left: 0;
    height: 48px;
  }
  div.setting_btn {
    bottom: 1%;
    right: 1%;
  }
  div.version_wrap {
    position: absolute;
    right: 0;
    top: 0;
    background-color: #c5c5c5;
    text-align: end;
  }
  div.date_wrap {
    position: absolute;
    left: 2%;
    top: 50%;
    margin-top: -2.3em;
    font-size: 5vw;
  }
  div.time_wrap {
    position: absolute;
    left: 4%;
    top: 50%;
    margin-top: -0.5em;
    font-size: 11vw;
  }
  div.mic_btn.portrait{
    display: none;
  }
  div.mic_btn.landscape {
    width: 4vw;
    height: 4vw;
  }
}
@media screen and (max-aspect-ratio: 80/48) {
  #container {
    background-size: auto 100%;
  }
}
@media screen and (orientation: portrait) {
  html, body {
    overflow: hidden;
  }
  #container {
    background-image: url(bg-003.png);
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position-x: 60%;
  }
  div.hisyokan {
    position: relative;
    width: 100%;
    height: 100%;
  }
  div.hisyokan img {
    max-width: 100%;
    max-height: 100%;
    position: relative;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
  }
  div.hisyokan_name {
    position: absolute;
    bottom: 0;
    overflow: hidden;
    right: 0;
  }
  div.hisyokan_name img {
    max-width: 100%;
  }
  img#change_hisyo {
    position: absolute;
    bottom: 10px;
    left: 0;
    height: 32px;
  }
  div.setting_btn {
    top: 1%;
    right: 1%;
  }
  div.date_wrap {
    position: absolute;
    bottom: 23%;
    left: -10%;
    width: 100%;
    font-size: 200%;
    text-align: center;
  }
  div.time_wrap {
    position: absolute;
    bottom: 11%;
    width: 100%;
    font-size: 400%;
    text-align: center;
  }
  div.mic_btn.portrait {
    width: 1em;
    height: 1em;
    margin-left: 1em;
  }
  div.mic_btn.landscape{
    display: none;
  }
}
div.date, div.time {
  display: inline-block;
  color: #FFFFCC;
  text-shadow: black 2px 2px 0px, black -2px 2px 0px, black 2px -2px 0px, black -2px -2px 0px;
  background-color: rgba(0, 0, 0, 0.42);
}
div#container {
  position: absolute;
  width: 100%;
  height: 100%;
}
div#setting {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: x-large;
  line-height: 150%;
  overflow-y: auto;
}
div#setting .panel {
  margin: 2em;
}
div.setting_btn {
  position: absolute;
  background-image: url(setting.png);
  background-repeat: no-repeat;
  background-size: cover;
  width: 32px;
  height: 32px;
}
div.mic_btn {
  display: inline-block;
  background-image: url(mic.png);
  background-repeat: no-repeat;
  background-size: cover;
  border: solid 1px gray;
}
#touch-to-audio-screen {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  text-align: center;
  vertical-align: middle;
  display: none;
}
