/*
 * style.css (V1.0.9.1)
 */
@font-face {
  font-family: 'HIGASHIYUKI Font1';
  src: url('./higashiyuki-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'HIGASHIYUKI Font2';
  src: url('./higashiyuki-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
/* --- キーフレームアニメーション定義 --- */
@keyframes pulse-red {
  0% {
    color: #888888;
    transform: scale(.95);
  }
  30% {
    transform: scale(1.25);
  }
  50% {
    color: #bb61ce;
  }
  80% {
    transform: scale(1.25);
  }
  90% {
    transform: scale(1.4);
  }
  100% {
    color: #888888;
  }
}
@keyframes pulse-scale {
  0% {
    transform: scale(.95);
  }
  30% {
    transform: scale(1.25);
  }
  80% {
    transform: scale(1.25);
  }
  90% {
    transform: scale(1.4);
  }
  100% {
    transform: scale(.95);
  }
}
/* 回転アニメーション定義 */
@keyframes record-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes scroll {
  0% {
    transform: translateY(-5px);
    opacity: 0;
  }
  50% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(5px);
    opacity: 0;
  }
}
/* ↓↓↓ UIが閉じているときだけ上下にバウンド ↓↓↓ */
@keyframes initialspin {
  0% {
    transform: translateY(0) rotate(-45deg);
  }
  100% {
    transform: translateY(0) rotate(-135deg);
  }
}
@keyframes bounceArrow {
  0%, 100% {
    transform: translateY(0) rotate(-135deg);
  }
  50% {
    transform: translateY(5px) rotate(-135deg);
  }
}
::selection {
  background: none;
}
::-moz-selection {
  background: none;
}
/* すべての要素に適用 */
* {
  -webkit-user-select: none; /* iOS Safari/Chrome */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+ */
  user-select: none; /* 標準 */
}
/* 長押しによるタッチハイライトを無効化 */
* {
  -webkit-tap-highlight-color: transparent; /* iOS/Android Chrome */
}
html {
  -webkit-text-size-adjust: 100%;
  font-feature-settings: normal;
  -webkit-tap-highlight-color: transparent;
  font-family: ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  font-variation-settings: normal;
  line-height: 1.5;
  tab-size: 4
}
body {
  background-color: #ffffff;
  margin: 0;
  overflow: hidden;
  color: #ffffff;
  font-family: 'HIGASHIYUKI Font1', sans-serif;
  touch-action: manipulation;
  -ms-touch-action: manipulation; /* IE/Edge */
}
body.light {
  color: #333333;
}
canvas {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.5s ease;
  object-fit: cover;
  touch-action: none;
  user-select: none;
}
body.light canvas {
  mix-blend-mode: exclusion
}
h1 {
  font-size: 18px;
  font-family: 'HIGASHIYUKI Font2', sans-serif;
  margin: 0;
  color: #888888;
}
p {
  font-family: 'HIGASHIYUKI Font1', sans-serif;
  margin: 0;
  color: #888888;
}
a {
  text-decoration: none;
  font-weight: 800;
  color: #888888;
  transition: color .3s ease;
}
a:hover {
  color: #bb61ce;
}
br {
  display: contents
}
.mouse-icon, .scroll-line {
  transition: border-color 1.5s ease, background-color 1.5s ease;
}
#message {
  display: none;
}
/* 通常状態（グレー） */
.mouse-icon {
  border: 1px solid #888888;
}
.scroll-line {
  background-color: #888888;
}
/* スクロール中（白） */
.mouse-icon.active {
  border-color: #ffffff;
}
.scroll-line.active {
  background-color: #ffffff;
}
body.light .mouse-icon.active {
  border-color: #000000;
}
body.light .scroll-line.active {
  background-color: #000000;
}
#ui {
  position: absolute;
  bottom: 20px;
  width: 100%;
  z-index: 100;
  opacity: 0; /* 初期は非表示 */
  transition: opacity 1.5s ease;
}
#ui #dummyPlayBtn {
  display: block;
  position: absolute;
  margin-left: 95px;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  opacity: 0;
  z-index: 9999;
  border: none;
  background: #000000;
  cursor: pointer;
}
.ui-top, .ui-bottom {
  display: flex;
  justify-content: center;
  padding: 10px 20px;
  flex-wrap: nowrap;
  column-gap: 40px;
}
.group1, .group2 {
  display: flex;
  align-items: center;
}
.ui-bottom {
  border-top: .5px solid #888888;
  padding-top: 25px;
  margin-top: 25px;
  gap: 40px;
  align-items: center;
}
.ui-bottom p.desc {
  font-size: 10px;
  padding-right: 10px
}
.ui-bottom p.credit {
  font-size: 12.5px;
  padding-bottom: 2.5px;
}
.ui-bottom p.credit a {
  font-size: 12px;
  padding-right: 5px
}
.ui-bottom p.desc a:first-child {
  padding-right: 10px
}
/* --- プログレスバー / ボリュームスライダーのミニマルデザイン --- */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 80px;
  height: 30px;
  background: transparent;
  cursor: pointer;
  margin: 0;
  touch-action: pan-x; /* 横方向のスワイプを許可せず、縦スクロールを無効化 */
}
/* Track */
input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  background-color: #fff;
  border-radius: 0px;
}
body.light input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  background-color: #333333;
  border-radius: 0px;
}
input[type="range"]::-moz-range-track {
  height: 2px;
  background-color: #fff;
  border-radius: 0px;
}
body.light input[type="range"]::-moz-range-track {
  height: 2px;
  background-color: #333333;
  border-radius: 0px;
}
/* Thumb */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background-color: #fff;
  border-radius: 50%;
  border: none;
  margin-top: -5px; /* center align thumb */
  transition: transform 0.2s ease, background-color 0.2s ease;
}
body.light input[type="range"]::-webkit-slider-thumb {
  background-color: #333333;
  width: 14px;
  height: 14px;
  margin-top: -5px; /* center align thumb */
}
input[type="range"]::-webkit-slider-thumb::after {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 40px;
  height: 40px;
  background: transparent;
}
input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background-color: #fff;
  border-radius: 50%;
  border: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
body.light input[type="range"]::-moz-range-thumb {
  background-color: #333333;
  width: 14px;
  height: 14px;
}
input[type="range"]::-moz-range-thumb::after {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: 40px;
  height: 40px;
  background: transparent;
}
/* Active & Hover */
input[type="range"]:hover::-webkit-slider-thumb, input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.2);
}
input[type="range"]:hover::-moz-range-thumb, input[type="range"]:active::-moz-range-thumb {
  transform: scale(1.2);
}
/* Focus outline off */
input[type="range"]:focus {
  outline: none;
}
#controls {
  display: flex;
  align-items: center;
}
.icon-btn {
  margin-right: 10px;
  padding: 4px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  color: #ffffff;
  opacity: 1;
  transition: opacity 0.3s;
}
.icon-btn:hover {
  opacity: 0.7;
}
body.light .icon-btn {
  color: #333333;
}
.icon-btn svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  display: block;
}
#progressBarContainer {
  padding-left: 0;
  margin-left: -50px;
  position: relative;
  z-index: 2
}
#timeDisplay {
  font-size: 11px;
  padding: 3px 0 0 15px;
  font-family: sans-serif;
}
#volumeControl, #progressBarContainer, #waveToggleBtn {
  display: inline-flex;
  align-items: center;
}
#play-icon {
  animation: pulse-scale 1.5s ease-in-out infinite;
}
/*  一時停止時、アニメーションを適用 */
#playPauseBtn.paused {
  animation: pulse-red 1.5s ease-in-out infinite;
}
#playPauseBtn.paused #pause-icon path {
  fill: unset
}
#shuffleBtn svg {
  fill: currentColor;
  transition: fill 0.2s ease;
  padding: 5px 0 0 5px;
}
#shuffleBtn.paused svg {
  fill: #bb61ce;
}
#playPauseBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#playPauseBtn .play-spinner {
  display: inline-block;
  vertical-align: middle;
  margin-left: -2px !important
}
.ui-top > div#volumeControl {
  padding: 0 0 0 10px;
}
/* --- ここまでアイコンボタンスタイル --- */
#volumeValue {
  width: 30px;
  display: inline-block;
  text-align: right;
  font-weight: bold;
  margin-left: 6px;
}
/* 前後ボタン無効時のグレーアウト */
.icon-btn.disabled, .icon-btn:disabled {
  opacity: 0.4; /* 半透明で視覚的に無効を示す */
  cursor: not-allowed; /* クリック不可カーソル */
  pointer-events: none; /* 実際にクリックも無効化 */
}
.icon-btn.disabled svg, .icon-btn:disabled svg {
  fill: #888; /* アイコンもグレーに */
}
/* --- ボリュームアイコン ミュート時 --- */
#volumeIcon {
  cursor: pointer;
  transition: opacity 0.2s, fill 0.2s;
  fill: currentColor;
  margin-right: 0px;
}
#volumeIcon:hover {
  opacity: 0.8;
}
#volumeIcon.muted {
  fill: #888; /* ミュート時はグレーアウト */
  opacity: 0.5; /* 少し透けさせる */
}
#volumeSlider.muted {
  opacity: 0.5;
}
select {
  all: unset; /* すべてのCSSプロパティをリセット */
  display: inline-block; /* selectとして表示させたい場合 */
  box-sizing: border-box; /* 幅・高さの扱いを標準化 */
  margin: 0;
  padding: 0;
  font: inherit; /* フォントを継承 */
  color: inherit; /* 色を継承 */
  background: none;
  border: none;
  appearance: none; /* ネイティブのスタイル（矢印など）を消す */
  -webkit-appearance: none;
  -moz-appearance: none;
}
#recordicon, #waveToggleBtn {
  padding: 0;
  pointer-events: none;
}
#recordicon.spin {
  animation: record-spin 2.5s linear infinite;
  transform-origin: center center;
}
#alphaSlider {
  width: 50px;
  padding-right: 15px;
}
.mouse-icon {
  width: 18px;
  height: 30px;
  border: 1px solid #888888;
  border-radius: 16px;
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
}
.scroll-line {
  width: 4px;
  height: 12px;
  background-color: #888888;
  border-radius: 2px;
  animation: scroll .8s infinite;
}
/* カスタム基本スタイル */
.custom-select {
  position: relative;
  cursor: pointer;
  transition: color 0.3s;
  padding: 0 !important;
}
body.light .custom-select {
  color: #333333;
}
.custom-select-display {
  width: 60px;
}
.custom-select ul {
  list-style: none;
  margin: 0 0 30px -43px;
  padding: 30px;
  position: absolute;
  width: auto;
  min-width: 70px;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  bottom: 100%;
  left: 0;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transform-origin: bottom;
  transition: all 0.4s cubic-bezier(.87, -.41, .19, 1.44);
  pointer-events: none;
  z-index: 100;
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  border: 2px solid rgba(255, 255, 255, .05);
  max-height: 600px;
  overflow: auto;
  /* ↓ 慣性スクロール設定 ↓ */
  -webkit-overflow-scrolling: touch; /* iOS Safari用（慣性を有効化） */
  scroll-behavior: smooth; /* Chrome/Firefox/Edgeでスムーズ */
  overscroll-behavior: contain; /* スクロールのバウンス防止（必要なら） */
  /* scrollbar-gutter: stable both-edges; スクロールバー出現時に幅のズレ防止 */
}
/* スクロールバーの幅 */
.custom-select ul::-webkit-scrollbar {
  width: 3px;
}
/* スクロールバーの背景 */
.custom-select ul::-webkit-scrollbar-track {
  background: transparent;
}
/* スクロールバーのつまみ */
.custom-select ul::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  transition: background-color 0.3s ease;
}
body.light .custom-select ul::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
}
.custom-select.open ul {
  opacity: 1;
  transform: translateY(4px) scale(1);
  pointer-events: auto;
}
.custom-select ul li {
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.3s;
  color: #ffffff;
}
body.light .custom-select ul li {
  color: #333333;
}
.custom-select ul li:hover, body.light .custom-select ul li:hover {
  color: #bb61ce;
}
.custom-select ul li.selected {
  color: #bb61ce !important
}
#ui > div.ui-top > div.group2 > div:nth-child(3) > div {
  text-align: left;
  margin-left: 47px;
  margin-right: 60px;
  width: auto;
  padding-top: 2px;
}
#ui > div.ui-top > div.group2 > div:nth-child(3) > div::before {
  content: "Genre |";
  position: absolute;
  left: 0;
  top: 50%;
  font-size: 13px;
  transform: translateY(-50%);
}
#ui > div.ui-top > div.group2 > div:nth-child(5) > div {
  font-family: sans-serif;
  font-size: 14.5px;
  padding-top: 2px;
  margin-left: 12px;
  margin-right: 30px;
  width: auto;
}
#ui > div.ui-top > div.group2 > div:nth-child(5) > div:before, #ui > div.ui-top > div.group2 > div:nth-child(5) > div:after {
  font-family: 'HIGASHIYUKI Font1', sans-serif;
}
#ui > div.ui-top > div.group2 > div:nth-child(5) > div::before {
  content: "Track |";
  position: absolute;
  left: -30px;
  font-size: 13px;
  top: 50%;
  transform: translateY(-50%);
}
.custom-select-display::after {
  content: "▲";
  padding-left: 5px;
  font-size: 10px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(.6);
  margin-top: 2px;
  transition: margin-top .3s;
}
.custom-select:hover .custom-select-display::after {
  margin-top: -3px;
}
#dorl {
  display: flex;
  align-items: center;
}
.toggle-button {
  align-items: center;
  position: relative;
  cursor: pointer;
  margin-right: -30px;
}
.toggle-button:has(:checked) {
  /* background: rgba(255,255,255,.4);*/
}
.toggle-button::before {
  position: absolute;
  left: 0;
  width: 40px;
  height: 1px;
  background-color: #333333;
  content: "";
  transition: all .2s;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  transform: scale(1);
  top: 50%;
}
.toggle-button:hover::before {
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  transform: scale(1.2);
}
.toggle-button:has(:checked)::before {
  left: 28px;
  background-color: #ffffff;
}
.toggle-button input {
  display: none;
}
.toggle-button span {
  pointer-events: none;
  font-size: 13px;
}
.toggle-button span.dark {
  padding-left: 10px
}
@media (max-width: 1678px) {
  .ui-bottom p span {
    display: block;
  }
  .ui-bottom p.desc {
    padding-right: 0;
  }
}
@media (max-width: 1338px) {
  .ui-top {
    transform: scale(.8)
  }
}
@media (max-width: 1247px) {
  .ui-bottom p span {
    display: initial;
  }
}
@media (max-width: 986px) {
  .ui-top {
    transform: scale(.6)
  }
}
@media (max-width: 768px) {
  #message {
    display: block;
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -80%);
    width: 100%;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  #message p {
    text-align: center;
    color: #888888;
    font-size: 11px;
    padding-top: 10px
  }
  #ui.open + #canvas {
    pointer-events: none !important; /* UI開いてる間はCanvas操作無効 */
  }
  .toggle-button span.dark {
    padding-left: 0;
  }
  .toggle-button:has(:checked)::before {
    left: 50%;
    margin-left: 65px;
  }
  .toggle-button::before {
    left: 50%;
    width: 60px;
    transform: translateX(-50%) !important;
    top: 50%;
    margin-left: -65px;
  }
  .toggle-button:hover::before {
    -webkit-transform: none;
    -moz-transform: none;
    transform: none;
  }
  br {
    display: block
  }
  #ui {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #fff;
    padding: 30px 0;
    opacity: 0;
    transform: translateY(515px);
    transition: all .4s ease-in-out;
    z-index: 998;
    flex-direction: column-reverse;
    display: flex;
    height: 100%;
  }
  body.light .toggle-button span, body.light #timeDisplay, body.light #volumeValue {
    color: #333333;
  }
  #dorl {
    width: 100%;
    position: absolute;
    bottom: 494px;
  }
  .toggle-button {
    margin-right: 0;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  /* 開いたときだけ表示 */
  #ui.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    transition: all .6s cubic-bezier(0, -.41, .19, 1.44)
  }
  #ui.open.blur-low {
    /* alphaSlider 操作中の弱いブラー */
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
  }
  /* スマホでも反応しやすいように */
  h1#toggleUI {
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    user-select: none;
    padding: 20px 0;
    display: inline-flex;
    align-items: center;
    position: relative;
    z-index: 2;
  }
  body.light h1#toggleUI {
    color: #333333;
  }
  .ui-bottom p.desc {
    padding-top: 30px;
  }
  /* 1. アイコンサイズを小さく */
  .toggle-icon {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-left: 6px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-135deg);
    transition: transform 0.3s ease;
    position: absolute;
    right: -20px;
    top: 50%;
    margin-top: -4px;
  }
  body.light .toggle-icon {
    border-right: 2px solid #333333;
    border-bottom: 2px solid #333333;
  }
  #ui.open .toggle-icon {
    margin-top: -5px;
  }
  .toggle-button span {
    font-size: 16px;
    margin: 0 3em;
  }
  /* 回転用クラス（即時ではなく JS で追加する） */
  #ui #toggleUI .toggle-icon.rotate {
    transform: rotate(45deg);
  }
  /* 親の #ui が open でないときにアニメーション適用 */
  #ui:not(.open) #toggleUI .toggle-icon {
    animation: initialspin 0.3s ease-out 0.6s forwards, bounceArrow 1.5s ease-out 1.8s infinite;
  }
  .ui-top, .ui-bottom {
    flex-wrap: wrap; /* 全体を折り返し可能に */
  }
  .ui-top {
    padding-bottom: 45px;
    row-gap: 20px;
    transform: unset
  }
  .ui-bottom {
    border-top: none;
    padding: 40px 0 70px;
    margin-top: 0;
    justify-content: center;
    text-align: center;
    width: 300px;
    margin: 0 auto;
    row-gap: 10px;
  }
  #volumeIcon {
    margin-right: 0px;
    padding-left: 2px;
  }
  #alphaSlider {
    width: 100%;
    padding: 0 22px 0 15px;
  }
  #volumeValue {
    margin-left: 0;
    width: 55px;
  }
  .mouse-icon {
    display: none
  }
  .ui-top > div {
    padding: 0 !important;
  }
  #controls {
    justify-content: space-between;
    width: 100%;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
  }
  .group1 {
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
  }
  .group2 {
    position: absolute;
    height: 0;
    z-index: 0;
    left: 0;
    width: 100%;
  }
  #volumeControl, #progressBarContainer {
    flex-wrap: nowrap; /* 2行目は折り返し可能 */
    width: 100%; /* 強制的に2行目に */
    justify-content: space-between;
  }
  input[type="range"] {
    width: 100%;
  }
  #timeDisplay {
    font-size: 10px;
    text-align: right;
    padding: 0;
    margin-right: -2px;
    width: 58px;
  }
  #volumeSlider {
    padding: 0 0 0 10px;
  }
  #progressBarContainer {
    margin-left: 0;
    margin-top: -15px
  }
  .icon-btn {
    margin-right: 0;
    padding: 0;
  }
  .custom-select-display {
    text-align: right;
    width: auto;
  }
  #recordicon {
    left: 16px;
    position: absolute;
    top: 60px;
  }
  #ui > div.ui-top > div.group2 > div:nth-child(3) {
    left: 50%;
    top: -50px;
    margin-left: -80px;
    position: absolute;
  }
  #ui > div.ui-top > div.group2 > div:nth-child(5) {
    right: 50%;
    top: -50px;
    margin-right: -120px;
    position: absolute;
  }
  #ui > div.ui-top > div.group2 > div:nth-child(3) > div {
    margin-left: 4px;
    margin-right: 0;
  }
  #ui > div.ui-top > div.group2 > div:nth-child(3) > div::before {
    content: "Genre |";
    position: absolute;
    left: -43px;
  }
  #ui > div.ui-top > div.group2 > div:nth-child(5) > div {
    margin-right: 0;
  }
  #ui > div.ui-top > div.group2 > div:nth-child(5) > div::before {
    content: "Track |";
    position: absolute;
    left: -30px;
  }
  #progressBar {
    padding: 0 0 0 37px;
  }
  /* ===== スマホ専用設定 ===== */
  /* 通常時（閉じている） */
  .custom-select ul {
    position: fixed;
    left: 0;
    bottom: 0; /* 上部に出したいなら top: 0 に変更 */
    width: 100vw;
    margin: 0;
    padding: 12px 8px;
    border-radius: 0;
    box-shadow: none;
    border: none;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* iOS スワイプ対応 */
    scroll-behavior: smooth;
    touch-action: pan-x;
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(.87, -.41, .19, 1.44);
    z-index: 999;
  }
  /* 開いたときだけ表示 */
  .custom-select.open ul {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  /* 横スクロール項目 */
  .custom-select ul li {
    flex: 0 0 auto;
    display: inline-block;
    padding: 10px 16px;
    margin-right: 12px;
    border-radius: 6px;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    transition: background 0.3s;
  }
  /* スクロールバーを細くカスタム */
  .custom-select ul::-webkit-scrollbar {
    height: 4px;
  }
  .custom-select ul::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
  }
  #ui.open > div.ui-top > div:not(.group1), #ui.open > div.ui-bottom {
    opacity: 1;
    transition: opacity 0.8s ease-in;
  }
  #ui.open.blur-low > div.ui-top > div:not(.group1), #ui.open.blur-low > div.ui-bottom {
    opacity: 0.05;
  }
  #ui.open.blur-low .custom-select.open ul {
    transform: translateY(50px)
  }
  .ui-bottom p.desc span {
    display: block;
    padding-left: 0;
    padding-top: 10px
  }
  .custom-select-display::after {
    content: "▼";
  }
  #ui > div.ui-top > div.group1 > div.custom-select > .custom-select-display:after {
    left: 50%;
    transform: translateX(-50%) scale(.6);
    margin-top: 5px
  }
  .custom-select:hover {
    color: #ffffff !important
  }
  body.light .custom-select:hover {
    color: #333333 !important
  }
  .custom-select.open .custom-select-display {
    color: #bb61ce
  }
  .custom-select:hover .custom-select-display::after {
    margin-top: 4px;
  }
  #ui:not(.open) #playPauseBtn {
    margin-top: -740px;
    transition: all 0.8s ease-in-out;
  }
  #ui.open #playPauseBtn {
    margin-top: 0;
    transition: all 0.3s ease-in;
  }
  #ui #dummyPlayBtn {
    margin-left: 0;
    display: block;
    position: absolute;
    bottom: 360px;
    left: 50%;
    transform: translateX(-50%);
  }
  #ui.open #dummyPlayBtn {
    display: none
  }
}
@media screen and (max-width: 1024px) and (orientation: landscape) {
  .ui-top {
    transform: scale(.65)
  }
  .ui-bottom, .mouse-icon {
    display: none
  }
  .custom-select ul {
    max-height: 70vh
  }
  #timeDisplay {
    width: 35px;
  }
}
/* @media screen and (max-width: 1024px) and (orientation: landscape){
  body::before {
    content: "Please rotate your device to portrait :(";
    position: fixed;
    top:0; left:0;
    width:100vw;
    height:100vh;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:16px;
    z-index:9999;
      backdrop-filter: blur(20px)
  }
    body::after {
        content: "ごめんなさい。";
    position: fixed;
    top:-20px; left:0;
    width:100vw;
    height:100vh;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:12px;
    z-index:9999;
    }
  #ui {
    display: none;
  }
}*/