

/*
checkboxのカスタム
使用方法　↓

<label class="container-checkbox">One
    <input type="checkbox" checked="checked">
    <span class="checkmarkCustom"></span>
  </label>
*/

/* The container */
.container-checkbox {
  display: block;
  position: relative;
  padding-left: 22px;
  margin-bottom: 5px;
  cursor: pointer;
  font-size: 16px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-weight: normal;
}

/* Hide the browser's default checkbox */
.container-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmarkCustom {
  position: absolute;
  top: 2px;
  left: 0;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 1px solid #3c3c3c;
  border-radius: 4px;
  box-shadow: 0px 0px 6px -6px rgb(0 0 0 / 80%);
}

/* On mouse-over, add a grey background color */
.container-checkbox:hover input ~ .checkmarkCustom {
  background-color: #fff;
  border: 1px solid #2196F3;

}

/* When the checkbox is checked, add a blue background */
.container-checkbox input:checked ~ .checkmarkCustom {
  background-color: #448AFF;
  border: 1px solid #448AFF;

}


/* Create the checkmark/indicator (hidden when not checked) */
.checkmarkCustom:after {
  content: "";
  position: absolute;
  display: none;
  box-sizing: content-box;
}

/* Show the checkmark when checked */
.container-checkbox input:checked ~ .checkmarkCustom:after {
  display: block;
  box-sizing: content-box;
}

/* Style the checkmark/indicator */
.container-checkbox .checkmarkCustom:after {
  left: 3.9px;
  top: 0px;
  width: 3px;
  height: 7px;
  border: solid rgb(255 255 255);
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  box-sizing: content-box;
}

/* input checked hover */
.container-checkbox input:checked:hover ~ .checkmarkCustom {
    background-color: #4475c9;
    border: 1px solid #4475c9;

  }

/* Disabled state */

.container-checkbox input:disabled~.checkmarkCustom {
    pointer-events: none;
    opacity       : .4;
    background    : #e6e6e6;
    border: 1px solid #e6e6e6;
    cursor: not-allowed;
}
/* Disabled tick colour */

.container-checkbox input:disabled~.checkmarkCustom:after {
    border-color: #7b7b7b;
}

.checkbox-left{
  padding-left: 25px;
}

/*-- 管理画面：お問い合わせ・解約手続き ----------------------------------*/
.privacy_policy input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: #3c3c3c solid 1px;
    border-radius: 5px;
    background-color: #fff;
}
.privacy_policy input[type="checkbox"]:checked::before {
    content: '\f00c';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #0077ff;
  }
