@import "css.css";
@import "l&r.css";

form {
    margin-top: 1em;
}

.f-line {
    margin: 2em 2em 0 2em;
    line-height: 2;
    padding-bottom: 1em;
}

.f-line span {
    width: 6em;
    float: left;
    line-height: 2.5;
    text-align: right;
}

.inline {
    margin-left: 6em;
    line-height: 2.625;
}

.inline a {
    display: inline-block;
    margin-right: 1em;
    padding: 0 1em;
    box-sizing: border-box;
    height: 3em;
    line-height: 3;
    border: 1px solid #ddd;
    font-size: 87.5%;
    background-position: right top;
}
.inline a.on {
    background: url('../img/on-check.png') no-repeat right top;
}
.inline a.on input{}
#p1.on,
#p2.on,
#p3.on,
#p4.on {
    display: inline;
}

#p1,
#p2,
#p3,
#p4 {
    display: none;
    line-height: 2.625;
}

.left article {
    margin-left: 6em;
}

.c-box span {
    width: auto;
    float: left;
    padding: 0 1em;
    box-sizing: border-box;
    height: 2.5em;
    line-height: 2.5;
    text-align: center;
    border: 1px solid #efefef;
    transition: all .3s linear;
    cursor: pointer;
    color: #a9a9a9;
    font-size: 75%;
    margin-right: 1em;
    margin-bottom: 1em;
}

.f-line textarea, .f-line input {
    border: 1px solid #efefef;
    resize: none;
    width: calc(100% - 7em);
    float: left;
    height: 7.5em;
    line-height: 2.5;
    font-size: 87.5%;
    box-sizing: border-box;
    padding: 0 .75em;
    font-family: Microsoft Yahei;
}

.f-line input {
    height: 2.5em;
}

small {
    margin-left: 7.2857143em;
    color: #f00;
    display: block;
    text-align: left;
}

#sbmt:hover {
    background-color: #dd3c28;
}

#sbmt {
    width: 100%;
    text-align: center;
    max-width: 160px;
    line-height: 3;
    font-size: 100%;
    height: 3em;
    border: none;
    color: #fff;
    border-radius: .25em;
    transition: all .3s linear;
    cursor: pointer;
    margin-bottom: 2em;
}

.works,
.check1,
.check2 {
    display: none;
}

.works.on,
.check1.on,
.check2.on {
    display: block;
}

@media only screen and (max-width: 560px) {
    .f-line {
        margin: 1em 1em 0 1em;
    }
}

@media only screen and (max-width: 450px) {
    #a1, #a2 {
        margin-bottom: 1em;
    }

    .f-line {
        margin: 1em 0 0 0;
    }
}