/*------------------- チェックボックス -----------------------*/

.checkbox_item .checkbox {
  background-color: #f4f4f4;
  border: 1px solid #b4b4b4;
  border-radius: 3px;
  box-sizing: border-box;
  display: inline-block;
  flex-shrink: 0;
  height: 1.2em;
  margin-right: 0.3em;
  position: relative;
  transition: all 250ms ease;
  width: 1.2em;
}

.checkbox_item .checkbox::after {
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  content: "";
  height: 0.6em;
  left: 50%;
  opacity: 0;
  position: absolute;
  top: 45%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 0.3em;
}

.checkbox_item input[type="checkbox"] {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.checkbox_item input[type="checkbox"]:checked + .checkbox {
  background-color: #ff9001;
  border-color: #ff9001;
}

.checkbox_item input[type="checkbox"]:checked + .checkbox::after {
  opacity: 1;
}

.checkbox_item input[type="checkbox"]:focus-visible + .checkbox {
  outline: 2px solid #ff9001;
  outline-offset: 2px;
}

.checkbox_item label {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  position: relative;
}