@charset "utf-8";

/* #content内用CSS */
h1, h2 {
    margin-top: 0;
    text-align: center;
    color: #FFF;
}

h1 {
    font-size: 22px;
    background-color: #B850A2;
}

h2 {
    font-weight: normal;
    font-size: 18px;
    background-color: #C69;
}

form {
    margin: auto;
    max-width: 90%;
    padding: 10px 10px 20px 10px;
    background-color: #FFD;
}

form>div {
    margin-top: 20px;
}

form>div>.label1 {
    margin-left: 5px;
    display: inline-block;
    width: 30%;
    background-color: #C6C;
    color: #FFF;
    padding: 2px;
    width: 150px;
    text-align: right;
}

form>div>input[type="text"] {
    margin-left: 5px;
    width: 300px;
}

form>input[type="submit"] {
    display: block;
    margin: auto;
    margin-top: 20px;
}

input {
    outline: 0;
}

input[type="submit"], input[type="reset"],input[type="button"] {
    border-radius: 0;
    appearance: button;
    -webkit-appearance: button;
    box-sizing: border-box;
    cursor: pointer;
    background: -moz-linear-gradient(top, #eeeeee 0%, #cccccc 100%);
    background: -webkit-linear-gradient(top, #cccccc 0%, #cccccc 100%);
    background: -o-linear-gradient(top, #eeeeee 0%, #cccccc 100%);
    background: linear-gradient(to bottom, #eeeeee 0%, #cccccc 100%);
    border-width: 2px;
    border: 1px solid #AAA;
}

form .policy {
    border: 1px solid #cccccc;
    padding: 12px;
    background-color: #FFA;
}

form a:hover {
    color: #fff;
    background-color: #192a80;
}

/* スマートフォン */
@media screen and (max-width: 767px) {
    form {
        max-width: 100%;
    }
    form>div>.label1 {
        display: block;
        width: calc(100% - 15px);
        text-align: left;
    }

    form>div>input[type="text"] {
        box-sizing: border-box;
        display: block;
        width: calc(100% - 11px);
        margin-top: 5px;
        font-size: 20px;
    }

    form>div>input[type="checkbox"], form>div>input[type="radio"] {
        width: 20px;
        height: 20px;
        vertical-align: sub;
    }

    form>input[type="submit"] {
        font-size: 140%;
    }
}
