<td class="checkbox checkbox01"><span class="wpcf7-form-control-wrap checkbox-346"><span class="wpcf7-form-control wpcf7-checkbox"><span class="wpcf7-list-item first"><label><input type="checkbox" name="checkbox-346[]" value="月"><span class="wpcf7-list-item-label">月</span></label></span><span class="wpcf7-list-item"><label><input type="checkbox" name="checkbox-346[]" value="火"><span class="wpcf7-list-item-label">火</span></label></span><span class="wpcf7-list-item"><label><input type="checkbox" name="checkbox-346[]" value="水"><span class="wpcf7-list-item-label">水</span></label></span><span class="wpcf7-list-item"><label><input type="checkbox" name="checkbox-346[]" value="木"><span class="wpcf7-list-item-label">木</span></label></span><span class="wpcf7-list-item"><label><input type="checkbox" name="checkbox-346[]" value="金"><span class="wpcf7-list-item-label">金</span></label></span><span class="wpcf7-list-item"><label><input type="checkbox" name="checkbox-346[]" value="土"><span class="wpcf7-list-item-label">土</span></label></span><span class="wpcf7-list-item last"><label><input type="checkbox" name="checkbox-346[]" value="日"><span class="wpcf7-list-item-label">日</span></label></span></span></span></td>
/* チェックボックスを装飾します */
input[type="checkbox"] {
display: none;
}
.wpcf7-list-item-label {
padding-left: 20px;
position: relative;
margin-right: 20px;
cursor: pointer;
}
.wpcf7-list-item-label:hover {
opacity: 0.7;
text-decoration: none;
-webkit-transition: 0.3s ease-in-out;
-moz-transition: 0.3s ease-in-out;
-o-transition: 0.3s ease-in-out;
transition: 0.3s ease-in-out;
}
.wpcf7-list-item-label::before {
content: "";
display: block;
position: absolute;
top: 0.4rem;
left: 0;
width: 1.5rem;
height: 1.5rem;
border: 1px solid #c9c9c9;
border-radius: 0.3rem;
background: -webkit-linear-gradient(#f7fbfc, #cbcbcb);
background: linear-gradient(#f7fbfc, #cbcbcb);
background-color: transparent;
border-radius: 5px;
border: 1px solid #c3c3c3;
}
input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
content: "";
display: block;
position: absolute;
top: 0.65rem;
left: 0.3rem;
width: 1.1rem;
height: 1.1rem;
background: #a0a0a0;
border-radius: 0.3rem;
}
.recruit_submit_btn {
margin-top: 7rem;
}