body {
font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Verdana, Meiryo, sans-serif;
}
input[type=text],
input[type=email],
input[type=password],
input[type=button],
input[type=submit],
textarea,
select {
box-sizing: border-box;
font-size: 16px;
line-height: 30px;
outline: none;
border: none;
margin: 0px;
border-radius: 5px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
input[type=text],
input[type=email],
input[type=password],
select,
textarea {
background-color: #eeeeee;
}
input[type=text],
input[type=email],
input[type=password],
textarea {
line-height: 20px;
}
input[type=text],
input[type=email],
input[type=password] {
height: 30px;
text-indent: 10px;
padding: 5px 0px;
}
input[type=button],
input[type=submit] {
display: inline-block;
text-align: center;
color: #ffffff;
cursor: pointer;
padding: 0px 10px;
background-color: #666666;
transition: 0.25s opacity ease;
}
input[type=button]:hover,
input[type=submit]:hover {
opacity: 0.75;
}
label.option {
margin-right: 20px;
}
label.option input[type=radio],
label.option input[type=checkbox] {
display: none;
}
label.option input[type=radio] + span,
label.option input[type=checkbox] + span {
display: inline-block;
position: relative;
width: 20px;
height: 20px;
vertical-align: middle;
cursor: pointer;
margin-right: 5px;
background-color: #eeeeee;
}
label.option input[type=radio] + span {
border-radius: 50%;
}
label.option input[type=checkbox] + span {
border-radius: 5px;
}
label.option input[type=radio] + span i,
label.option input[type=checkbox] + span i {
display: block;
position: absolute;
opacity: 0;
transition: 0.25s opacity ease;
}
label.option input[type=radio] + span i {
width: 10px;
height: 10px;
left: 5px;
top: 5px;
background-color: #666666;
border-radius: 50%;
}
label.option input[type=checkbox] + span i {
width: 5px;
height: 10px;
left: 6px;
top: 1px;
border-right: 3px solid #666666;
border-bottom: 3px solid #666666;
transform: rotate(45deg);
}
label.option input[type=radio]:checked + span i,
label.option input[type=checkbox]:checked + span i {
opacity: 1;
}
select {
height: 30px;
padding: 0px 40px 0px 10px;
background-image: url(images/arrow-select.svg);
background-repeat: no-repeat;
background-position: right 10px center;
background-size: auto 10px;
}
select::-ms-expand {
display: none;
}
textarea {
padding: 5px 10px;
}