a.webcas-link{
    color: #cf122e;
}
a.webcas-link:visited{
    color: #960001;
}

input[type=submit].btn_next,
input[type=submit].btn_confirm,
input[type=submit][value="戻る"].btn_rewind{
    display: inline-block;
    padding: 10px 0;
    max-width: 400px;
    position: relative;
    box-sizing: border-box;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color ease .3s, opacity ease .3s;
}
input[type=submit].btn_next,
input[type=submit].btn_confirm{
    background-color: #cf122e;
    border: 1px solid #cf122e;
}
input[type=submit][value="戻る"].btn_rewind{
    background-color: #fff;
    border: 1px solid #c9c9c9;
}
input[type=submit].btn_next:hover,
input[type=submit].btn_confirm:hover{
    opacity: 0.7;
    background-color: #cf122e;
}
input[type=submit][value="戻る"].btn_rewind:hover{
    background-color: #f6f6f6;
    padding: 10px 0;
}
input[type=submit].btn_next::before,
input[type=submit].btn_confirm::before,
input[type=submit][value="戻る"].btn_rewind::before{
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    content: "";
    border: solid 2px transparent;
    transition: border ease .3s;
}
input[type=submit][value="戻る"].btn_rewind:hover::before{
    border: solid 1px #c9c9c9;
}
input[type=submit].btn_next,
input[type=submit].btn_confirm{
    color: #ffffff;
}
input[type=submit][value="戻る"].btn_rewind{
    color: #333333;
}

.webcas_type_radio label.radio_checked::before {
    border: 2px solid #cf122e;
}
label.radio_checked::after {
    background: #cf122e;
}
.webcas_type_checkbox label.checkbox_checked::before {
    border: 2px solid #cf122e;
}
label.checkbox_checked::after {
    border-left: 3px solid #cf122e;
    border-bottom: 3px solid #cf122e;
}

.fm-matrix .fm-cell input[type=radio]:checked, .fm-matrix .fm-cell input[type=checkbox]:checked {
    border: 2px solid #cf122e;
}
.fm-matrix .fm-cell input[type=checkbox]:checked::before {
    border-left: 3px solid #cf122e;
    border-bottom: 3px solid #cf122e;
}
.fm-matrix .fm-cell input[type=radio]:checked, .fm-matrix .fm-cell input[type=checkbox]:checked {
    border: 2px solid #cf122e;
}
.fm-matrix .fm-cell input[type=radio]:checked::before {
    background: #cf122e;
}