<div class="check-box">
<label>Текст</label>
<input type="checkbox" class="form-text">
</div>
<div class="box">
<label>Название</label>
<input type="text" id="form-text" name="text">
</div>
.form-text:checked ~ #form-text { display: none;}