.current-select {
  font-size: var(--pc-text-size);
}

.current-select ul {
  list-style: none;
  padding: 0;
}

.current-select .narrow-down {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  margin-left: 20px;
  gap: 10px;
  font-weight: bold;
}

.current-select .narrow-down::before {
  content: "";
  width: 32px;
  aspect-ratio: 1/1;
  display: inline-block;
  background: url("/ec-cube/html/user_data/assets/img/common/narrow_down_icon.svg") no-repeat center/contain;
}

.current-select .btn-group {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.current-select .btn-group .btn {
  width: 100%;
  text-align: center;
  padding: 11px 0;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  background-color: #fff;
}

.current-select .btn-group .submit_btn {
  background-color: var(--primary-color);
  color: #fff;
}

.current-select .select-list {
  border-top: 1px solid #707070;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
}

.current-select .select-list::after {
  width: 12px;
  aspect-ratio: 1/1;
  display: inline-block;
  content: "";
  background: url("/ec-cube/html/user_data/assets/img/common/dropdown_arrow_black.svg") no-repeat center/contain;
}

.current-select .select-list.active::after {
  transform: rotateZ(180deg);
}

.current-select .select-item {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.current-select input[type="checkbox"] {
  border-color: #939CAA;
  width: 18px;
  aspect-ratio: 1/1;
  margin-right: 8px;
}

.current-select input[type="checkbox"]:checked {
  accent-color: var(--primary-color);
  border-color: transparent;
}

#current-select-sp {
  position: relative;
}

#current-select-sp {
  display: none;
}

.badge_list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.badge_list li {
  padding: 10px;
  background-color: #EFEFEF;
  border-radius: .3rem;
  font-weight: bold;
}

@media screen and (max-width: 1280px) and (min-width: 769px) {
  .current-select {
    font-size: var(--tab-text-size);
  }

  .current-select .select-list::after {
    width: 0.938vw;
  }

  .current-select input[type="checkbox"] {
    width: 1.406vw;
    margin-right: 0.625vw;
  }

  .current-select .btn-group {
    gap: 0.781vw;
    margin-bottom: 1.563vw;
  }

  .current-select .btn-group .btn {
    padding: 0.859vw 0;
  }

  .current-select .narrow-down {
    margin-bottom: 1.563vw;
    margin-left: 1.563vw;
    gap: 0.781vw;
  }

  .current-select .narrow-down::before {
    width: 2.5vw;
  }
}

/* For Mobile */
@media screen and (max-width: 768.9px) {
  #current-select-pc {
    display: none;
  }

  #current-select-sp {
    display: block;
  }

  #select_offcanvas {
    height: 100%;
    z-index: 2000;
  }

  #select_offcanvas .bottom-space {
    margin-bottom: 20%;
  }

  #select_offcanvas .btn-group {
    position: fixed;
    width: 100%;
    box-shadow: 0 0 .5rem;
    left: 0;
    bottom: 0;
    padding: 20px;
    background-color: #fff;
    z-index: 2000;
    margin-bottom: 0;
  }

  #draggable_btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #draggable_btn::before {
      content: "";
      width: 32px;
      aspect-ratio: 1/1;
      display: block;
      background: url("/ec-cube/html/user_data/assets/img/common/narrow_down_white_icon.svg") no-repeat center/contain;
  }

  .draggable_container {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: -1;
  }

  #draggable_aera {
    position: relative;
    width: 100%;
    height: 100%;
  }

  #draggable_btn {
    font-size: 10px !important;
    width: 68px;
    aspect-ratio: 1/1;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    background-color: #333333;
    z-index: 2000;
    position: fixed;
    top: 0;
    left: 0;
  }
}

@media screen and (max-width: 768.9px) and (min-width: 521px) {
  .current-select {
    font-size: var(--sp-text-size);
  }

  .current-select .select-list::after {
    width: 1.563vw;
  }

  .current-select input[type="checkbox"] {
    width: 2.344vw;
    margin-right: 1.042vw;
  }

  .current-select .btn-group {
    gap: 1.302vw;
    margin-bottom: 2.604vw;
  }

  .current-select .btn-group .btn {
    padding: 1.432vw 0;
  }

  .current-select .narrow-down {
    margin-bottom: 2.604vw;
    margin-left: 2.604vw;
    gap: 1.302vw;
  }

  .current-select .narrow-down::before {
    width: 4.167vw;
  }

  .badge_list {
    gap: 1.302vw;
  }

  .badge_list li {
    padding: 1.302vw;
    font-size: calc(var(--sp-text-size) - 0.521vw);
  }

  #draggable_btn {
    font-size: 1.302vw !important;
    width: 8.854vw;
    border-width: 0.26vw;
  }
}

@media screen and (max-width: 520.9px) {
  .current-select {
    font-size: var(--ssp-text-size);
  }

  .current-select .select-list::after {
    width: 2.308vw;
  }

  .current-select input[type="checkbox"] {
    width: 3.462vw;
    margin-right: 1.538vw;
  }

  .current-select .btn-group {
    gap: 1.923vw;
    margin-bottom: 3.846vw;
  }

  .current-select .btn-group .btn {
    padding: 2.115vw 0;
  }

  .current-select .narrow-down {
    margin-bottom: 3.846vw;
    margin-left: 3.846vw;
    gap: 1.923vw;
  }

  .current-select .narrow-down::before {
    width: 6.154vw;
  }

  .badge_list {
    gap: 1.923vw;
  }

  .badge_list li {
    padding: 1.923vw;
    font-size: 4.103vw;
  }

  #draggable_btn {
    font-size: 1.923vw !important;
    width: 13.077vw;
    border-width: 0.385vw;
  }
}
