/*/////////////チェックボタンデザイン/////////////*/
input[type=checkbox] {
  display: none;
}

input[type=radio] {
  display: none;
}

.q__Wrapper {
  padding: 1rem;
}

label {
  cursor: pointer;
  padding-left: 30px;
  position: relative;
}

label::before,
label::after {
  content: "";
  display: block;
  position: absolute;
}

label::before {
  border: 2px solid #333;
  content: '';
  /*チェックが入る*/
  display: block;
  height: 20px;
  left: 5px;
  margin-top: -11px;
  /*ボックスとテキスト水平*/
  position: absolute;
  top: 50%;
  width: 20px;
}

label::after {
  border-right: 6px solid red;
  border-bottom: 3px solid red;
  content: '';
  /*チェックが入る*/
  display: block;
  height: 20px;
  left: 7px;
  margin-top: -16px;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: rotate(45deg);
  width: 9px;
}

input:checked+label::after {
  opacity: 1;
}

/*/////////////チェックボタンデザイン/////////////*/