button {
  padding: 15px;
}

button.paused {
  background: #ad50ff;
}

.ui-list {
  display: flex; /* Flexboxを使用 */
  flex-direction: column; /* 縦方向に並べる */
  justify-content: flex-start; /* アイテムをコンテナの上部に揃える */
  align-items: flex-end; /* アイテムをコンテナの右端に揃える */
  position: fixed; /* 画面に固定 */
  top: 10px; /* 画面の上端から0pxの位置 */
  right: 0; /* 画面の右端から0pxの位置 */
  height: 100%; /* コンテナの高さを画面の高さに合わせる */
}

.icon-background {
  width: 50px;
  height: 50px;
  background-color: rgba(100, 100, 100, 0.7);
  border-radius: 8px;
  margin-right: 5px;
  margin-top: 10px;
  display: table;
  text-align: center;
  position: relative;
  touch-action: manipulation;
}

.fas.custom-icon,
.fa-solid.custom-icon,
.icon-color .custom-icon {
  font-size: 24px; /* アイコンのサイズを24pxに設定 */
  color: white;
}

#color {
  width: 24px; /* 幅を50pxに設定 */
  height: 24px; /* 高さを50pxに設定 */
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
}

.custom-icon-google {
  font-size: 36px !important;
  vertical-align: middle;
  color: white;
}

.custom-icon-svg {
  vertical-align: middle;
  fill: white;
}

.hidden-input {
  display: none; /* カラーピッカーを非表示にする */
}

.icon-button {
  border: none; /* 枠線を削除 */
  cursor: pointer; /* カーソルをポインターに変更 */
  padding: 0 !important; /* 余白をリセット */
}

.modal-button {
  position: absolute;
  top: 10px;
  right: 10px;
}

.modal {
  position: absolute;
  top: 0;
  left: 0;
  /* width: 100%;
  height: 100%; */
  display: none;
}

.modal-content {
  /* border: 1px solid #000; */
  border-radius: 8px;
  position: relative;
  background-color: rgba(100, 100, 100, 0.7);
  padding: 20px;
}

.modal-dialog-linethickness {
  position: fixed; /* モーダルの位置を固定 */
  top: 70px;
  right: 57px;
}

.active {
  background-color: rgba(40, 40, 40, 0.7);
}

.mode-notification {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute; /* position を absolute に変更 */
  top: 50%; /* 位置を調整 */
  left: 50%;
  transform: translate(-50%, -50%); /* 位置を中心に調整 */
  z-index: 1000;
  opacity: 0;
}

.mode-notification p {
  font-size: 4.5vw;
  font-weight: bold;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5); /* 背景を半透明に */
  padding: 30px; /* テキストの周りに余白を追加 */
  border-radius: 8px; /* 角を丸く */
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    visibility: hidden;
  }
  1% {
    visibility: visible;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  99% {
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.fadeIn {
  animation: fadeIn 0.5s forwards;
}

.fadeOut {
  animation: fadeOut 0.5s forwards;
}

.modal-title {
  color: #fff;
}
