/*
 * CSS命名規則: プレフィックスについて
 *
 * l- (layout): ページ骨格・グリッド・レイアウトの枠組み（例: l-container, l-header, l-main）
 * c- (component): 再利用可能なUI部品（例: c-button, c-card, c-pagination）
 * p- (project): サイト固有のページセクション・パターン（例: p-filters, p-hero）
 */

/* 都道府県スライドインパネル */
.filter-pref-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: #FFFFFF;
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
  z-index: 11;
  display: flex;
  flex-direction: column;
}
.filter-pref-panel.__show {
  transform: translateX(0);
}
.filter-pref-panel .p-filters__header {
  flex-shrink: 0;
}
.filter-pref-panel .p-filters__pref-back {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.filter-pref-panel .p-filters__pref-back img {
  width: 32px;
  height: 32px;
}
.filter-pref-panel .p-filters__pref-list {
  flex: 1;
  overflow-y: auto;
}

/* 都道府県を選択 */
.p-filters__pref-item {
  font-weight: 700;
  font-size: 12px;
  border-bottom: 1px solid #D8DBDD;
  height: 50px;
}
.p-filters__pref-item:last-child {
  border-bottom: none;
}
.p-filters__pref-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 16px 8px 16px 16px;
  text-align: left;
}
.p-filters__pref-button.__selected {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px 15px 16px;
  color: #2D8CE4;
}
.p-filters__pref-button-all {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px 15px 16px;
}
.p-filters__pref-button-all.__selected {
  color: #2D8CE4;
}
.p-filters__pref-check {
  width: 20px;
  height: 20px;
  display: none;
}
.p-filters__pref-button.__selected .p-filters__pref-check,
.p-filters__pref-button-all.__selected .p-filters__pref-check {
  display: block;
}
