.c-tool-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.c-tool-sidebar__form {
  padding: 20px;
  border: 1px solid #0000001a;
  border-radius: 20px;
}

.c-tool-sidebar__form > * + * {
  border-top: 1px solid #0000001a;
  margin-top: 24px;
  padding-top: 24px;
}

.c-tool-sidebar__header {
  display: flex;
  justify-content: space-between;
}

.c-tool-sidebar__header-label,
.c-tool-sidebar__accordion-title,
.c-tool-sidebar__request-label {
  font-size: 20px;
  font-weight: bold;
}

/* ===============================
   チェックボックス
================================ */
.c-tool-sidebar__check {
  display: flex;
  gap: 5px;
}

.c-tool-sidebar__check-label {
  width: 100%;
  font-size: 16px;
  color: #00000099;
  white-space: nowrap;
}

/* ===============================
   アコーディオン
================================ */
.c-tool-sidebar__accordion summary {
  list-style: none;
  cursor: pointer;
}

.c-tool-sidebar__accordion summary::-webkit-details-marker {
  display: none;
}

.c-tool-sidebar__accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
}

.c-tool-sidebar__accordion-icon {
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}

details[open] .c-tool-sidebar__accordion-icon {
  transform: rotate(0);
}

.c-tool-sidebar__accordion-body {
  display: grid;
  gap: 20px;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

details[open] .c-tool-sidebar__accordion-body {
  grid-template-rows: 1fr;
}

.c-tool-sidebar__accordion-body > * {
  overflow: hidden;
}

/* ===============================
   リンク一覧
================================ */
.c-tool-sidebar__conditions {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.c-tool-sidebar__condition-link {
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  color: #00000099;
}

/* ===============================
   料金
================================ */
.price-center {
  position: relative;
  flex: 1;
  height: 40px;
  margin: 0 8px;
}

.price-track {
  position: absolute;
  top: 50%;
  width: 100%;
  height: 6px;
  background: #f0f0f0;
  border-radius: 3px;
  transform: translateY(-50%);
}

.price-range {
  position: absolute;
  top: 50%;
  height: 6px;
  background: #000000;
  border-radius: 3px;
  transform: translateY(-50%);
}

.price-center input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  width: 100%;
  height: 40px;
  background: transparent;
  margin: 0;
  cursor: pointer;
}

.price-center input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
}

.price-center input[type="range"]::-moz-range-track {
  height: 6px;
  background: transparent;
}

.price-center input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: #000000;
  border-radius: 50%;
  cursor: pointer;
  margin-top: -7px;
  position: relative;
  z-index: 3;
}

.price-center input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #000000;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

.price-values {
  display: flex;
  justify-content: space-around;
  font-size: 14px;
}

/* ===============================
   検索ボタン
================================ */
.c-tool-sidebar__submit button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  font-size: 14px;
  color: #ffffff;
  background: #000000;
  padding: 16px 8px;
  border-radius: 60px;
}

/* ===============================
   欲しいな投稿
================================ */
.c-tool-sidebar__request {
  padding: 20px 14px;
  text-align: center;
  background: #f5f5f5;
  border: 1px solid #0000001a;
  border-radius: 20px;
}

.c-tool-sidebar__request > * + * {
  border-top: 1px solid #0000001a;
  margin-top: 24px;
  padding-top: 24px;
}

.c-tool-sidebar__request-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.c-tool-sidebar__request-msg {
  display: block;
  font-size: 14px;
}

.c-tool-sidebar__request-btn {
  font-size: 14px;
  color: #ffffff;
  background: #03a9f4;
  border-radius: 60px;
  padding: 14px 8px;
  text-decoration: none;
}
