@charset "utf-8";

/* 全体的なラッパー */
.select-box__control:not(#spec-up) {
  --hover-border-color: var(--APPLICATION-COLOR--text-contents-regular);
  --indicator-icon-color: var(--APPLICATION-COLOR--text-contents-regular);

  position: relative;
  width: 100%;
  min-height: 40px;
  color: var(--APPLICATION-COLOR--text-contents-dark);
  font-family: var(--APPLICATION-FONT--family-basic-san-serif);
  font-size: 15px;
  border: 1px solid var(--APPLICATION-COLOR--text-contents-light);
  border-radius: 8px;
  background-color: var(--APPLICATION-COLOR--background-contents);
  cursor: pointer;
}
.select-box__control:not(#spec-up):not(.select-box__control--menu-is-open):hover {
  --indicator-icon-color: var(--APPLICATION-COLOR--text-contents-dark);

  border-color: var(--hover-border-color);
}
.select-box__control:not(#spec-up).select-box__control--is-disabled {
  --indicator-icon-color: var(--APPLICATION-COLOR--text-contents-light);

  color: var(--APPLICATION-COLOR--text-contents-regular);
  border-color: var(--APPLICATION-COLOR--text-contents-light);
  background-color: var(--APPLICATION-COLOR--text-contents-regular009);
  cursor: not-allowed;
}
.select-box__control:not(#spec-up).select-box__control--menu-is-open,
.select-box__control:not(#spec-up).select-box__control--menu-is-open:hover,
.select-box__control:not(#spec-up).select-box__control--is-focused,
.select-box__control:not(#spec-up).select-box__control--is-focused:hover {
  --indicator-icon-color: var(--APPLICATION-COLOR--text-contents-dark);

  box-shadow: 0 0 0 4px var(--APPLICATION-COLOR--secondary-regular-focus-ring020);
  border-color: var(--APPLICATION-COLOR--secondary-regular);
  cursor: default;
}

/* 現在選択中の値のラッパー */
.select-box__value-container:not(#spec-up) {
  padding: 2px 12px;
}

/* プレースホルダ */
.select-box__placeholder:not(#spec-up) {
  color: var(--APPLICATION-COLOR--text-contents-light);
}

/* 単一選択 */
.select-box__single-value:not(#spec-up) {
  color: inherit;
}

/* 複数選択 */
.select-box__multi-value:not(#spec-up) {
  --remove-icon-color: var(--APPLICATION-COLOR--text-contents-dark);

  flex-direction: row-reverse;
  margin: 2px;
  padding: 0;
  overflow: hidden;
  border-radius: 6px;
  background-color: var(--APPLICATION-COLOR--text-contents-regular009);
  cursor: default;
}
.select-box__multi-value:not(#spec-up).select-box__multi-value--is-disabled {
  --remove-icon-color: var(--APPLICATION-COLOR--text-contents-light);
}
.select-box__multi-value__label:not(#spec-up) {
  padding: 6px;
  padding-left: 4px;
  color: inherit;
  font-size: 12px;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.select-box__multi-value__remove:not(#spec-up) {
  padding: 6px;
  padding-right: 4px;
  background-color: initial;
  cursor: pointer;
}
.select-box__multi-value__remove:not(#spec-up):hover {
  background-color: var(--APPLICATION-COLOR--text-contents-regular015);
}
.select-box__multi-value__remove:not(#spec-up) svg {
  height: 12px;
  fill: var(--remove-icon-color);
}

/* インジケータ */
.select-box__indicator:not(#spec-up) {
  padding: 0 12px;
  text-align: center;
}
.select-box__indicator:not(#spec-up) svg {
  height: 16px;
  vertical-align: bottom;
  fill: var(--indicator-icon-color);
}
.select-box__indicator-separator:not(#spec-up) {
  display: none;
}

/* ナビゲーション */
.select-box__menu-wrapper:not(#spec-up) {
  margin-top: 4px;
  padding-top: 0;
  padding-bottom: 0;
  font-family: var(--APPLICATION-FONT--family-san-serif);
}
.select-box__menu:not(#spec-up) {
  all: initial;
  position: absolute;
  top: 100%;
  z-index: 80;
  width: 100%;
}
.select-box__menu-list:not(#spec-up) {
  padding: 0;
}
.select-box__group:not(#spec-up) {
  padding: 0;
}
.select-box__group-heading:not(#spec-up) {
  --border-color: var(--APPLICATION-COLOR--text-contents-regular015);

  box-shadow: 0 1px 0 0 var(--border-color) inset, 0 -1px 0 0 var(--border-color) inset;
  position: sticky;
  top: 0;
  margin: 0;
  padding: 4px 16px;
  color: var(--APPLICATION-COLOR--text-contents-regular);
  font-family: inherit;
  font-size: 12px;
  line-height: 1.5;
  text-transform: initial;
  background-color: var(--APPLICATION-COLOR--text-contents-lightest);
}
.select-box__group:not(#spec-up):first-of-type .select-box__group-heading:not(#spec-up) {
  border-top: none;
}

/* 選択肢がない場合 */
.select-box__menu-notice {
  padding: 10px 16px;
  color: var(--APPLICATION-COLOR--text-contents-light);
  font-size: 14px;
  line-height: 1.5;
}

/* ナビゲーションアイテム */
.select-box__option:not(#spec-up) {
  padding: 10px 16px;
  color: var(--APPLICATION-COLOR--text-contents-regular);
  font-size: 14px;
  line-height: 1.5;
  background-color: var(--APPLICATION-COLOR--background-contents);
  cursor: pointer;
}
.select-box__option:not(#spec-up):hover,
.select-box__option--is-focused:not(#spec-up) {
  background-color: var(--APPLICATION-COLOR--text-contents-regular006);
}
.select-box__option--is-selected:not(#spec-up) {
  color: var(--APPLICATION-COLOR--secondary-dark);
  background-color: var(--APPLICATION-COLOR--secondary-regular006);
}
.select-box__option--is-selected:not(#spec-up):hover,
.select-box__option--is-selected.select-box__option--is-focused:not(#spec-up):hover {
  background-color: var(--APPLICATION-COLOR--secondary-regular009);
}
