/*
 * placeholder
 */
/* Webkit */
::-webkit-input-placeholder {
    color: #777;
    opacity: 1;
}
/* Firefox 18 以前 */
:-moz-placeholder {
    color: #777;
}
/* Firefox 19 以降 */
::-moz-placeholder {
    color: #777;
    opacity: 1;
}
/* IE 10 以降 */
:-ms-input-placeholder {
    color: #777;
}

/*
* Theme Name: 中学NET用 フォームCSS
*/

h2 {
    background-color: #E7E7E7;
    border: solid 1px #FFF;
    outline: solid 1px #E7E7E7;
    font-size: 15px;
    padding: 7px;
    line-height: 120%;
    margin-bottom: 10px;
}

.line-2 {
    margin: 5px;
}
.line-2-title {
    display: inline-block;
    width: 5em;
}
.line-2-title-wide {
    display: inline-block;
    width: 8em;
}
/*
* error
*/
.error_info {
    color: red;
}

/*
* input
*/
input[type="tel"],
input[type="text"],
select,
textarea {
    padding: 7px;
    margin-right: 10px;
    width: 200px;
    height: 50px;
    border-radius: 5px;
    border: 1px solid #DDD;
    background-color: #FAFAFA;
}
input[type="radio"] + label {
    width: 20em;
}

#ChugakuNetUserBirthDateYear {
    width: 6em;
}
#ChugakuNetUserBirthDateMonth {
    width: 4em;
}
#ChugakuNetUserBirthDateDay {
    width: 4em;
}
#ChugakuNetUserMailAddress,
#ChugakuNetUserMailAddressConfirm {
    width: 20em;
}
#ChugakuNetUserPostalCode {
    width: 8em;
}
#ChugakuNetUserAddress1 {
    width: 30em;
}
#ChugakuNetUserAddress2 {
    width: 20em;
}
#ChugakuNetUserAddress3 {
    width: 30em;
}
#ChugakuNetUserAddress4 {
    width: 15em;
}
#ChugakuNetUserPref {
    width: 7em;
}
#ChugakuNetUserPhone1 {
    width: 6em;
}
#ChugakuNetUserPhone2 {
    width: 8em;
}
#ChugakuNetUserPhone3 {
    width: 8em;
}
#ChugakuNetUserSchoolType {
    width: 5em;
}
#ChugakuNetUserSchoolName {
    width: 15em;
}
#ChugakuNetUserSchoolGrade {
    width: 10em;
}
#ChugakuNetUserSchoolPref {
    width: 7em;
}

#ChugakuNetUserRelationship1 + label,
#ChugakuNetUserRelationship2 + label,
#ChugakuNetUserRelationship3 + label,
#ChugakuNetUserRelationship99 + label {
    width: 8em;
}

#ChugakuNetEnqueteHanteiTestCramSchoolName {
    width: 20em;
}
#ChugakuNetEnqueteHanteiTestExperiencedToitsutestSyogaku {
    width: 20em;
}
#ChugakuNetEnqueteHanteiTestWhereYouKnow {
    width: 20em;
}
#ChugakuNetEnqueteHanteiTestFreeSpace {
    width: 100%;
    height: 10em;
}

/*
* チェックボックス ラジオボタン
*/
input[type="checkbox"],
input[type="radio"] {
    z-index: 2;
    position: relative;
    top: 1px;
    left: 10px;
}
input[type="checkbox"]:checked + label,
input[type="radio"]:checked + label {
    color: #fff;
    background: #006DD9;
}
label {
    display: inline-block;
    z-index: 1;
    position: relative;
    top: 0;
    left: -15px;
    margin: 5px 0;
    margin-right: 5px;
    padding: 15px 10px 15px 30px;
    width: 150px;
    background: #EEEEEE;
    cursor: pointer;
    border-radius: 3px;
}

.form-line {
    margin-bottom: 20px;
}

textarea.comments {
    width: 100%;
    height: 100px;
}

/*
* 必須、任意マーク
*/
.mark_requisited:before, .mark_norequisited:before {
    padding: 2px 4px;
    margin-right: 10px;
    font-size: 80%;

    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.mark_requisited:before {
    content: "必須";
    background-color: #ff0000;
    color: #ffffff;
}
.mark_norequisited:before {
    content: "任意";
    background-color: #13ad4c;
    color: #ffffff;
}

/*
* ボタン並び
*/
.button-box {
    margin-top: 30px;
    display: flex;
    justify-content: space-around;
}

input[type="submit"]{
    cursor: pointer;
}