/* NOWエス｜店舗一覧フィルター */
.nowes-store-search {
  /* background: #fff; */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nowes-search-keywordsearch {
  margin-bottom: 20px;
}

.nowes-store-search-head {
  margin-bottom: 12px;
}

.nowes-store-search-label {
  font-size: 16px;
  font-weight: 600 !important;
  color: white;
  margin: 0;
}

.nowes-store-search-row {
  /* display: flex; */
  gap: 12px;
}

.nowes-store-search-input {
  flex: 1;
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  color: #000;
  transition: border-color 0.2s;
}

.nowes-store-search-input:focus {
  outline: none !important;
  border-color: #ffd65a !important;
  box-shadow: 0 0 0 3px rgba(255, 214, 90, 0.3) !important;
}

.nowes-store-search-input::placeholder {
  color: #999;
}

/* エリアフィルター */
.area-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 16px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.area-filter .area-btn {
  padding: 8px 16px;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 20px;
  /* font-size: 13px; */
  /* font-weight: 500; */
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  /* color: #333 !important; */
  display: inline-block;
}

.area-filter .area-btn:hover {
  background-color: #d7c48a;
  border-color: #d7c48a;
  color: black !important;
}

.area-filter .area-btn.is-active {
  background-color: #d7c48a !important;
  color: black !important;
  border-color: #d7c48a !important;
}

.area-filter .area-btn .close-mark {
  position: absolute;
  top: 2px;
  right: 8px;
  font-size: 0.75em;
  line-height: 1;
  pointer-events: none;
  color: inherit;
}

/* ボードフィルター */
.board-filter {
  margin-bottom: 20px;
}

.board-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.filter-chip {
  padding: 8px 16px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  color: #333;
}

.filter-chip:hover {
  background: #d7c48a;
  border-color: #d7c48a;
}

.filter-chip.is-active {
  background: #d7c48a !important;
  background-color: #d7c48a !important;
  color: #333;
  border-color: #d7c48a;
}

.board-filter .filter-chip .close-mark {
  position: absolute;
  top: 2px;
  right: 6px;
  font-size: 0.7em;
  line-height: 1;
  pointer-events: none;
  color: inherit;
}

/* 並び替え */
.board-filter-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  /* border-top: 1px solid #eee; */
}

.board-filter-sort span {
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.board-filter-sort select {
  padding: 8px 32px 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  background: #fff;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23333" d="M6 9L1 4h10z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* 時間フィルター */
.nowes-store-time-row {
  margin-top: 16px;
}

.nowes-store-time-col {
  display: flex;
  /* flex-direction: column; */
  gap: 16px;
}

.flex-row-645 {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.flex-row-645 > div {
  flex: 1;
}

.nowes-store-time-label,
.maximum-fee p,
.update-time p {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin: 0 0 8px 0;
}

.nowes-store-time-select,
.maximum-fee select,
.update-time select {
  width: 100%;
  padding: 6px 32px 6px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  background: #fff;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23333" d="M6 9L1 4h10z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.2s;
}

.nowes-store-time-select:focus,
.maximum-fee select:focus,
.update-time select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .nowes-store-search {
    padding: 16px;
  }

  .area-filter {
    gap: 6px;
  }

  .area-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .board-filter-row {
    gap: 6px;
  }

  .filter-chip {
    padding: 6px 12px;
    font-size: 12px;
  }

  .flex-row-645 {
    flex-direction: column;
    gap: 12px;
  }

  .board-filter-sort {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .board-filter-sort select {
    width: 100%;
  }
}

/* 掲示板カード：店舗詳細・予約するボタン */
.board-actions {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.board-actions a {
  display: inline-block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  border: 2px solid #FFD700;
  /* background: #fff; */
  color: #FFD700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  line-height: 1.2;
}

.board-actions a:hover {
  background: rgba(255, 215, 0, 0.15);
  color: white;
  border-color: #ffd900e8;
}

/* 予約するはプライマリ風に */
.board-actions a:last-child {
  background: #cdb735bf;
  color: white;
  border-color: #FFD700;
}

.board-actions a:last-child:hover {
  background: #ddc123bf;
  border-color: #ffd900e8;
  color: #fff;
}

/* 掲示板グリッド：最大3件/行 */
.nowes-board-grid {
  width: 100%;
}
.nowes-board-grid .swell-block-columns__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-left: 0 !important;
}
.nowes-board-grid .swell-block-column {
  margin: 0 !important;
  flex: 0 0 100%;
  width: 100%;
}
@media (min-width: 600px) {
  .nowes-board-grid .swell-block-column {
    flex: 0 0 calc(50% - 0.75rem);
    width: calc(50% - 0.75rem);
  }
}
@media (min-width: 960px) {
  .nowes-board-grid .swell-block-column {
    flex: 0 0 calc(33.333% - 1rem);
    width: calc(33.333% - 1rem);
  }
}
