#mycanvas {
  /* position: fixed; を削除し中央寄せ用のmarginに */
  display: block;
  margin: 0 auto;
  border: solid gray 2px;
  border-radius: 10px;
  background-color: white;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  cursor: crosshair;
}

.thumnail {
  border: 2px solid #999;
  margin-top: 5px;
  border-radius: 10px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.parametersarea {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 20px 0 0 0;
  position: static;
  left: auto;
  bottom: auto;
}

.toolarea, .Coordinatearea, .osc {
  position: static;
  display: inline-block;
  border: solid gray 2px;
  border-radius: 10px;
  background-color: white;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  margin: 0 10px 0 0;
  padding: 10px;
}

.Coordinatearea {
  clear: both;
  width: 240px;
  text-align: left;
  display: inline-block;
  border: solid gray 2px;
  border-radius: 10px;
  padding: 1px 10px 1px 10px;
  margin: 10px 1px 10px 1px;
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: white;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

/* X座標とY座標の間に余白を追加 */
.Coordinatearea span:nth-child(4) {
  margin-left: 24px;
}

.Coordinatearea span {
  margin: 0;
}

.y-label {
  /* 不要なので削除 */
  margin-left: 0;
}

.erasearea, #save {
  display: inline-block;
  position: static;
  width: 60px;
  height: 30px;
  text-align: center;
  border: solid gray 2px;
  border-radius: 10px;
  background-color: white;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  margin: 0 10px 0 0;
}

#gallery {
  position: static;
  width: 150px;
  height: 400px;
  border: solid gray 2px;
  border-radius: 10px;
  background-color: white;
  text-align: center;
  padding-top: 10px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  margin: 20px auto 0 auto;
}

.canvasarea {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #fffafa;
  margin-top: 10px;
  margin-bottom: 20px;
}


.header {
  width: 100vw;
  height: 30px;
	margin: 0 auto;
  text-align: left;
  padding-left: 100px;
  display: table-cell;
  vertical-align: middle;
  font-size: 30px;
}

.Return_view {
    clear: both;
    position: fixed;
    bottom: 0px;
    right: 0px;
    width: 50px;
    height: 20px;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    border: solid gray 2px;
    border-radius: 10px;
    background-color: #ffffff;
    font-size: 15px;
    padding: 10px;
    margin: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

p {
  text-align: center;
}

.xy-gap {
  margin-left: 24px;
}

.toolarea, .Coordinatearea {
  vertical-align: top;
}
