/*switch*/
.form-switch-GS {
    display: inline-block;
}
    .form-switch-GS > input {
        cursor: pointer;
    }

.form-check-input:checked {
    background-color: #1E56A0;
    border-color: #1E56A0;
}
/*switch結尾*/

/*checkbox*/
.form-check-input-GS {
  width: 1.2em;
  height: 1.2em;
  margin-top: .25em;
  vertical-align: middle;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 2px solid rgba(0, 0, 0, .25);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-print-color-adjust: exact;
  color-adjust: exact
}

.form-check-input-GS[type=checkbox] {
  border-radius: .25em
}

.form-check-input-GS[type=radio] {
  border-radius: 50%
}

.form-check-input-GS:active {
  filter: brightness(90%)
}

.form-check-input-GS:focus {
  border-color: #fff;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25)
}

.form-check-input-GS:checked {
  background-color: #1e56a0;
  border-color: rgba(255,255,255,0.8)
}

.form-check-input-GS:checked[type=checkbox] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e")
}

.form-check-input-GS:checked[type=radio] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")
}

.form-check-input-GS[type=checkbox]:indeterminate {
  background-color: #0d6efd;
  border-color: #0d6efd;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")
}

.form-check-input-GS:disabled {
  pointer-events: none;
  filter: none;
  opacity: .5
}

.form-check-input-GS:disabled~.form-check-label,
.form-check-input-GS[disabled]~.form-check-label {
  opacity: .5
}
/*checkbox結尾*/



/*
input[type=checkbox],input[type=radio] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    height: 20px;
    width: 20px;
    vertical-align: -0.8rem;
    transition:all .15s ease-out 0s;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    margin: .4rem .2rem;
    outline: none;
    border-radius: 10%;
}

/* Checkbox */
/*
input[type=checkbox]:before,input[type=checkbox]:after {
    position: absolute;
    content: "";
    background: #fff;
    transition: all .2s ease-in-out;
}
input[type=checkbox]:before {
    left: 2px;
    top: 6px;
    width: 0;
    height: 2px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}
input[type=checkbox]:after {
    right: 9px;
    bottom: 3px;
    width: 2px;
    height: 0;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transition-delay: .2s;
}
input[type=checkbox]:checked:before {
    left: 1px;
    top: 10px;
    width: 6px;
    height: 2px;
}
input[type=checkbox]:checked:after {
    right: 4px;
    bottom: 1px;
    width: 2px;
    height: 14px;
}
input[type=checkbox]:indeterminate:before,input[type=checkbox]:indeterminate:after {
    width: 7px;
    height: 2px;
    transform: rotate(0);
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
}
input[type=checkbox]:indeterminate:before {
    left: 1px;
    top: 7px;
}
input[type=checkbox]:indeterminate:after {
    right: 1px;
    bottom: 7px;
}

/* Radio */
/*
input[type=radio] {
    border-radius: 50%;
}

input[type=radio]:checked:before {
    transform: scale(1.4);
}

    input[type=radio]:before {
        content: "";
        display: block;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        margin-left: -1px;
        margin-top: -1px;
        transform: scale(0);
        transition: all ease-out 250ms;
    }

/* Colors */
/*
input[type=checkbox],input[type=radio] {
    border: 2px solid #b4b4b4;
}

input[type=checkbox]:checked,input[type=checkbox]:indeterminate,input[type=radio]:checked:before {
    background: #888888;
}

/* Complement colors */
/*
input[type=checkbox].blue,input[type=radio].blue {
    border: 2px solid #2196f3;
}

input[type=checkbox].blue:checked,input[type=checkbox].blue:indeterminate,input[type=radio].blue:checked:before {
    background: #2196f3;
}

input[type=checkbox].red,input[type=radio].red {
    border: 2px solid #f44336;
}

input[type=checkbox].red:checked,input[type=checkbox].red:indeterminate,input[type=radio].red:checked:before {
    background: #f44336;
}

input[type=checkbox].orange,input[type=radio].orange {
    border: 2px solid #ffc107;
}

input[type=checkbox].orange:checked,input[type=checkbox].orange:indeterminate,input[type=radio].orange:checked:before {
    background: #ffc107;
}

input[type=checkbox].brown,input[type=radio].brown {
    border: 2px solid #4f4644;
}

input[type=checkbox].brown:checked,input[type=checkbox].brown:indeterminate,input[type=radio].brown:checked:before {
    background: #4f4644;
}

/*toggle*/
/*
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  top:2px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #4f4644;
}

input:focus + .slider {
  box-shadow: 0 0 1px #4f4644;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
/*
.slider.round {
  border-radius: 30px;
}

.slider.round:before {
  border-radius: 50%;
}
