@media screen and (min-width: 767px) { /*ウィンドウ幅が767px以上の場合に適用*/
  #menu-bg {
  background-color: #00FFFF; /*青色*/
  }
  }
  
  @media screen and (max-width: 767px) { /*ウィンドウ幅が最大767pxまでの場合に適用*/
  
  
  
  @media screen and (max-width: 479px) { /*ウィンドウ幅が最大479pxまでの場合に適用*/
  #header-img
  {
    width: 100%;
    height: 100%;
    border-bottom: 2px solid #ff7300;
    border-top: 2px solid #ff7300;
    margin-bottom: 5px;
  }

  body
  {
    background-image: url("image/background.jpg");
    background-size: contain;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
  }
  
  #button-inner
  {
    display: block;
  }
  
  #video_start1
  {
    margin: 10px;
    border: 2px solid #f60;
    border-radius: 20px;
    background: linear-gradient(#fd8331, #f60);
    text-align: center;
    width: 110px;
    height: 50px;
    line-height: 5px;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
  }
  
  #video_stop
  {
    margin: 10px;
    border: 2px solid #f60;
    border-radius: 20px;
    background: linear-gradient(#fd8331, #f60);
    text-align: center;
    width: 110px;
    height: 50px;
    line-height: 5px;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
  }
  
  #inner
  {
    position: relative;
    width:300;
    height:300;
  }
  
  #camera
  {
    border: 1px solid gray;
  }
  
  #frame
  {
  }
  
  #shutter-inner
  {
    top: 365px;
    margin: 10px;
  }
  
  #btn-shutter
  {
    width: 60px;
    height: 60px;
  }
  
  #frame-inner
  {
    border: 1px solid #ff7300;
    background-color: #fd8331;
  }
  
  #frame-inner h2{
    background: linear-gradient(#ffd23f, #ff0000);
    color: #FFF;
    margin-top: 0px;
    font-family: sans-serif;
  }
  
  #framelist{
    list-style: none;
    padding-left: 0px;
  }
  
  #framelist li{
    display: inline;
    cursor: pointer;
    margin-right: 5px;
  }
  
  #banner
  {
    margin: 10px;
    padding-top: 50px;
  }

  #btn-banner
  {
    width: 100%;
    height: 100%;
  }
  
  /*---------------------------------------*/
  /* ダイアログ                            */
  /*---------------------------------------*/
  #dialog-outer{
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1000;
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: none;
    background-color: rgba(0, 0, 0, 0.6);
  }
  .dialog{
    display: none;
    border: 3px solid gray;
    background-color: white;
    margin: 5px;
    padding: 5px;
  }
  
  #dialog-result
  {
    background-image: url(image/background2.jpg);
  }
  #dialog-result-close{
    cursor: pointer;
  }
  #dialog-result-dl{
    width: 100px;
    height: 60px;
    background: linear-gradient(#ffffffb5, #ff6600b5);
    border: 3px solid #000;
    border-radius: 20px;
    margin-bottom: 10px;
  }
  
  #dialog-nowloading{
    width: 400px;
    height: 120px;
    font-size: 48px;
    text-align: center;
    padding-top: 70px;
    background-color: rgba(255, 255, 255, 0.8);
    border-color: lightseagreen;
  }