<div class="cp_iptxt">
<label class="ef"><input type="text" placeholder="お名前"></label>
</div>
<div class="cp_iptxt">
<label class="ef"><input type="text" placeholder="E-Mail"></label>
</div>
.cp_iptxt {
position: relative;
width: 100%;
margin-bottom: 10px;
}
.cp_iptxt input[type='text'] {
font: 15px/1.6 sans-serif;
width: 100%;
color: #aaaaaa;
border: 5px solid #1b2538;
border-radius: 4px;
transition: 0.3s;
}
.ef input[type='text']:focus {
border: 5px solid #da3c41;
outline: none;
}