/*
 * 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-area-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: 10;
  display: flex;
  flex-direction: column;
}
.filter-area-panel.__show {
  transform: translateX(0);
}
.filter-area-panel .p-filters__header {
  flex-shrink: 0;
}
.filter-area-panel .p-filters__area-back {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.filter-area-panel .p-filters__area-back img {
  width: 32px;
  height: 32px;
}
.filter-area-panel .p-filters__area-list {
  flex: 1;
  overflow-y: auto;
}

/* ヘッダー部分 */
.p-filters__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}
.p-filters__close {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.p-filters__close img {
  width: 32px;
  height: 32px;
}
.p-filters__header-title {
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  color: #333333;
  padding: 16px 0;
}

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