@charset "UTF-8";

/* ラッパー全体 */
.toy_selector-wrapper {
  background-color: #f7f9fa;
  border: 1px solid #e0e5e9;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

/* インナーレイアウト */
.toy_selector-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end; /* ボタンを下揃えにする */
}

/* セレクトボックスエリア */
.toy_selector-select {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
}

/* ラベル */
.toy_selector-select label {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

/* セレクトボックスの矢印用ラッパー */
.toy_selector-select-wrapper {
  position: relative;
}

.toy_selector-select-wrapper::after {
  content: '▼';
  font-size: 10px;
  color: #666;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none; /* クリックを下のselectに透過させる */
}

/* シングルセレクトボックス本体 */
.toy_selector-select select {
  width: 100%;
  appearance: none; /* デフォルトの矢印を消す */
  -webkit-appearance: none;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 12px 35px 12px 12px;
  font-size: 15px;
  color: #333;
  cursor: pointer;
  outline: none;
}

.toy_selector-select select:focus {
  border-color: #007bff;
}

/* =========================================
   ボタンのスタイル (シンプルデザイン)
========================================= */
.toy_selector-btn {
  background-color: #222; /* シンプルな黒・ダークグレー系 */
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  padding: 14px 30px;
  cursor: pointer;
  transition: opacity 0.2s ease;
  min-width: 180px;
  flex: 0 0 auto;
}

.toy_selector-btn:hover {
  opacity: 0.8;
}

/* 選択リセットボタン（状態2） */
#toy_selector_reset_btn {
  background-color: #fff;
  color: #222;
  border: 1px solid #222;
  width: 100%; /* リセットのみの場合は幅一杯 */
}

#toy_selector_reset_btn:hover {
  background-color: #f5f5f5;
}

/* =========================================
   スマホ向けレスポンシブ
========================================= */
@media screen and (max-width: 767px) {
  .toy_selector-wrapper {
    padding: 15px;
    margin: 15px 0;
  }
  
  .toy_selector-inner {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }

  .toy_selector-select {
    flex: 1 1 auto;
  }
  
  .toy_selector-btn {
    width: 100%;
    margin-top: 10px;
  }
}
/* =========================================
   チェックボックスのスタイル (新規追加)
========================================= */
.toy_selector-checkboxes {
  width: 100%; /* 次の行に回り込ませて横幅いっぱいに表示 */
  flex: 1 1 100%;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 15px;
  margin-top: 5px;
  box-sizing: border-box;
}

.toy_selector-checkboxes-label {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
}

.toy_selector-checkboxes-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

/* チェックボックス項目 */
.toy_selector-checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}

.toy_selector-checkbox-label input[type="checkbox"] {
  margin-right: 6px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #222; /* 黒系統で統一感を持たせる */
}