@charset "UTF-8";
/* CSS Document */

body {
  margin: 0!important;
  overflow: hidden!important;
}
.pincushion__w {
	height: 60vh;
}
.pincushion_container {
  height: 100%;
}
#pincushionDistortionSlider {
	width: 100%;
/*	height: 70vh;*/
	height: 100%;
/* 自動で高さが幅の1/3に（横長の帯っぽく）なる。 */
/*	aspect-ratio: 3 / 1;*/
	position: relative;
	overflow: hidden;
}
canvas {
  display: block;
  width: 100%!important;
  height: 100%!important;
}

.pincushion__buttons {
    display: flex;
    flex-direction: row;
}

/*再生停止ボタン*/
.controls {
  width: 40px;
  height: 40px;
  position: absolute;
/*  right: 1rem;*/
  right: 2.5rem;
/*  top: 90vh; */
  background: #f3f3f3;
  border-radius: 10px;
  box-shadow: 0 0 10px lightgray;
  transition: background 0.5s ease;
}
#toggle {
  position: relative;
  width: 100%;
  height: 100%;
  background: none;
  border: none;
  cursor: pointer;
}
#toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
}
#toggle.play::before {
  content: "▶︎";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #333333;
  transition: color 0.5s ease;
}
#toggle.pause::before {
  content: "⏸";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #333333;
  transition: color 0.5s ease;
}
.controls:hover {
  background: #333333;
  transition: background 0.5s ease;
}
#toggle.play:hover::before {
  color: #f3f3f3;
  transition: color 0.5s ease;
}
#toggle.pause:hover::before {
  color: #f3f3f3;
  transition: color 0.5s ease;
}





/*SP*/
@media screen and (max-width:750px) {

#toggle.play::before {
  font-weight: 700;
}
#toggle.pause::before {
  font-weight: 700;
}


}