/* ベース設定 */
body {
  font-family: 'Helvetica Neue', sans-serif;
  background: linear-gradient(#bfc1c2, #a9abad);
  color: #333;
  padding: 20px;
  text-align: center;
}

/* メイン表示領域 */
#wordDisplay {
  background: linear-gradient(#d7d9db, #c2c4c6);
  border-radius: 12px;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.8),
    inset 0 -2px 4px rgba(0, 0, 0, 0.2),
    0 3px 6px rgba(0, 0, 0, 0.2);
  color: #333;
  font-size: 24px;
  padding: 20px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ボタンスタイル */
button, .import-button {
  background: linear-gradient(#d1d3d4, #b0b2b3);
  border: 1px solid #888;
  border-radius: 10px;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.7),
    0 2px 3px rgba(0, 0, 0, 0.3);
  font-size: 16px;
  color: #333;
  padding: 10px 16px;
  margin: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

button:hover, .import-button:hover {
  background: linear-gradient(#e2e4e5, #c3c5c6);
}

/* チェックされた単語 */
.wordItem.checked {
  color: #555;
  text-decoration: line-through;
}

/* 音量バーなど（オプション） */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #ccc;
  border-radius: 3px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: #eee;
  border: 1px solid #999;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  cursor: pointer;
  box-shadow: 0 1px 1px rgba(0,0,0,0.4);
}



.tab-container {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.tab-button {
  background: linear-gradient(#d1d3d4, #b0b2b3);
  border: 1px solid #888;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  padding: 10px 20px;
  margin: 0 5px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.7),
    0 2px 3px rgba(0, 0, 0, 0.3);
}

.tab-button.active {
  background: #fff;
  font-weight: bold;
}

.tab-content {
  background: linear-gradient(#d7d9db, #c2c4c6);
  padding: 20px;
  border-radius: 0 0 12px 12px;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.8),
    inset 0 -2px 4px rgba(0, 0, 0, 0.2),
    0 3px 6px rgba(0, 0, 0, 0.2);
  max-width: 500px; 
  margin: auto;
}


.filter-container {
  margin-bottom: 1em;
}

.filter-container select {
  padding: 0.5em 1em;
  font-size: 1em;
  border: 1px solid #888;
  border-radius: 8px;
  background: linear-gradient(#f0f0f0, #d9d9d9);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.8);
  color: #333;
}

.wordItem {
  display: flex;
  align-items: center;
  gap: 0.5em;
  justify-content: flex-start;
  margin: 0.25em 0;
}


