.dg.ac {
  z-index: 1000 !important;
}
@keyframes spin {
    0% { transform: rotate(0deg);   opacity: 0.1; }
    50%  { transform: rotate(180deg); opacity: 0.9; }
    100%   { transform: rotate(360deg); opacity: 0.1; }
}
/*右クリックメニュー*/
/*#conmenu {*/
/*  display:none;*/
/*  position:fixed;*/
/*  left:0px;*/
/*  top:0px;*/
/*  widows: 100px;*/
/*  height:27px;*/
/*  background-color:#f0f0f0;*/
/*  border:1px solid #eee;*/
/*}*/

#osmdCanvas {
/*  position: relative;*/
  position: absolute;
  width: 100%;
  top: 12px;
}

/*opensheetmusicdisplayを表示するコンテナ*/
#container {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

#progressc {
  display: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 8px solid #17cddd;
  border-right-color: transparent;
  animation: spin 1s linear infinite;
}

/*候補の楽譜を表示するdialog*/
#dialog{
  background:rgba(20,20,20,0.6);
/*  ブラウザウインドウの最下部に固定*/
  position: fixed;
  bottom: 0;
}

/*推論メロディのgrid構造*/
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3列 */
    grid-column-gap: 26px; /* 横間隔 */
    grid-row-gap: 6px; /* 縦間隔 */
}

/*推論メロディの楽譜画像*/
.content img{
    max-width: 100%;
    min-width: 200px;
/*    display:none;*/
/*    display: block;*/
/*    margin-left: auto;*/
/*    margin-right: auto*/
/*    height: auto;*/
    height:60px;
    background:rgba(255,255,255,1.0);
    border-radius:10px;
    box-sizing: border-box;
    border:0px solid blue;
    margin:0px;
    padding:4px;
    object-fit: scale-down;/*アスペクト比を維持しながら画像を設定*/
}

/*推論メロディをロールオーバーした場合は背景色を変える*/
.content img:hover{
  background:rgba(230,230,255,1.0);
}

/*推論メロディー選択ボタン*/
.melody_button{
    width: auto;
    padding:0;
    margin:0;
    background:none;
    border:0;
    font-size:0;
    line-height:0;
    overflow:visible;
    cursor:pointer;
}

/*loading関係*/
.loading {
  background:block;
  position: fixed;
  z-index: 1000; ← z-indexはサイト内で一番大きくする
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: #333333;
}

.loading.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms;
}

.loading .circle {
  display: block;
  position: relative;
  top: calc( 50% - 20px );
  width: 40px;
  height: 40px;
  margin: 0 auto;
  border: 7px solid #444444;
  border-top: 7px solid #5ae1e5;
  border-radius: 50px;
  animation: loading 700ms linear 0ms infinite normal both;
}

@keyframes loading {
  0% { transform: rotate( 0deg ); }
  100% { transform: rotate( 360deg ); }
}




.ScoreTitle {
  font-family: "serif";
  text-align: center;
}

/*SAVE LOAD関係*/

.saveload{
  position:fixed;
  width:96px;
  height:40px;
  top:8px;
  left:14px;
  background-color: #FFF;
  border: 0.1em solid currentColor;
  border-radius:10px;
  z-index: 10;
}


.load-buttons {
  width:40px;
  height:40px;
  top:8px;
  text-align: left;
  background-color: transparent;
  border: 0.0em;
  transition-property: opacity;
  transition-duration: 0.5s;

}

.load-buttons:hover {
  opacity: 0.7;
}

.save-buttons {
  width:40px;
  height:40px;
  top:8px;
  text-align: left;
  background-color: transparent;
  border: 0.0em;
  transition-property: opacity;
  transition-duration: 0.5s;
}

.save-buttons:hover {
  opacity: 0.7;
}




/*再生プレイヤー関係*/
.playback-buttons {
  z-index: 10;
  width:200px;
/*  width:120px;*/
  height:60px;
  position:fixed;
  top:6px;
  right:14px;
  float : right;
  text-align: right;
}


.ai-button {
  width:50px;
  height:46px;
  position: relative;
  top:0px;
  text-align: bottom;
  background-color: transparent;
  border: 0.0em;
  
/*  font-size: 60px;*/
}

.play_pause {
    display: inline-block;
    position: relative;
    width: 0.6em;
    height: 0.6em;
    border: 0.05em solid currentColor;
    border-radius: 50%;
    color: #000;
    font-size: 60px;
    background-color: #FFF;
}

.play_pause > input {
    display: none;
}

.play_pause > input:not(:checked) + span::before {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translateY(-50%);
    width: 0px;
    height: 0px;
    border: 0.2em solid transparent;
    border-left: 0.3em solid currentColor;
    box-sizing: border-box;
    content: "";
}

.play_pause > input:checked + span::before,
.play_pause > input:checked + span::after {
    position: absolute;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 0.08em;
    height: 0.3em;
    box-sizing: border-box;
    background-color: currentColor;
    content: "";
}
.play_pause > input:checked + span::before {
    left: 36%;
}
.play_pause > input:checked + span::after {
    left: 64%;
}

/* 円 */
.stop {
  display: inline-block;
  position: relative;
  top: -0.06em;
  width: 0.62em;
  height: 0.62em;
  border: 0.05em solid currentColor;
  border-radius: 50%;
  color: #000;
  font-size: 66px;
  background-color: #FFF;
}
/* ■ */
.stop::before {
  content: "";
  position: absolute;
  top: 24%;
  left: 24%;
  width: 0.28em;
  height: 0.28em;
  background-color: currentColor;
}



