body {
    background: #f7f6f1;
    color: #333333;
    font-family: 'Lucida Grande', Arial, 'Hiragino Kaku Gothic Pro', Meiryo, 'メイリオ', sans-serif;
}

body > div:first-child {
    background-color: #8dc21f;
}

body > div:nth-child(2) {
    box-shadow: 0 1px 1px 0 rgba(5,0,1,0.2);
    background: #fff;
    margin-bottom: 50px;
}

body > div:nth-child(3) {
    width: 760px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

body > div > h1 {
    color: #fff;
    font-size: 29px;
    width: 80%;
    padding-right: 15px;
    padding-left: 15px;
    margin: 0 auto;
    height: 65px;
    line-height: 65px;
}

body > div > h2 {
    font-size: 20px;
    width: 80%;
    padding-right: 15px;
    padding-left: 15px;
    margin: 0 auto;
    height: 50px;
    line-height: 50px;
}

body > div h2 + p {
    margin-bottom: 20px;
}

form {
    width: auto;
    border: solid 1px #ddd;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    margin: auto;
    min-width: 720px;
    max-width: 240px;
}

form.form1{
    border: solid 1px #ddd;
    padding: 30px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    margin-bottom: 50px;
}

form h1 {
    letter-spacing: 2px;
    margin: 0 0 15px;
    font-size: 22px;
    font-weight: bold;
    color: #333333;
}

body > div:nth-child(3) > div {
    border: solid 1px #ddd;
    padding: 30px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background-color: #fff;
}

body > div:nth-child(3) > div > h1 {
    letter-spacing: 2px;
    margin: 0 0 15px;
    font-size: 22px;
    font-weight: bold;
    color: #333333;
    padding-left: 0;
}

form > div {
    border-radius: 3px;
    background-color: #f6f6f6;
    vertical-align: middle;
    margin-top: 20px;
    margin-bottom: 15px;
    padding: 20px;
}

form > div > div {
    border-radius: 3px;
    padding: 10px 20px;
}

form > div > div > p {
    width: 405px;
    float: left;
    margin: 0 15px;
}

form > div > div:before, form >div > div:after {
    display: table;
    content: " ";
    clear: both;
}

form > div input[type=text], form > div input[type=email], form > div textarea, form > div select {
    display: block;
    min-width: 405px;
    max-width: 405px;
    float: right;
    height: 38px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow wase-in-out .15s;
    -o-transition: border-color ease-in-out .15s,boxshadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    margin: 0 15px;
}

form > div textarea {
    height: auto;
}

input[type=radio] {
    margin-left: 44px;
    margin-top: 0px;
}
input[type=time] {
    margin-left: 44px;
    float: left;
}

input[type=number] {
    margin-left: 44px;
    float: left;
}

select{
    margin-left: 50px;
    float: left;
}

body > div label {
    margin-bottom: 0;
    text-align: right;
    width: 145px;
    float: left;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    position: relative;
}

body > div label span {
    color: #fff;
    background: #fb3b6f;
    display: inline-block;
    padding: 2px 5px;
    font-size: 10px;
    font-size: 1rem;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2pc;
    border-radius: 2px;
    position: absolute;
    right: -34px;
    top: 0px;
}

.container label + div {
    width: 75%;
    float: left;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

button {
    display: block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    corsor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    margin: 0 auto;
}

bouuton:hover {
    background: #00b0da;
    background: -webkit-aradient(linear, left top, left bottom, color-stop(1, #00a1d0), color-stop(0, #00bedf));
    background: -webkit-linear-gradient(#00bedf, #00a1d0)
}

button {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

body > div > a button {
    margin-left: 0;
    margin: 0 auto;
    display: block;
}

a + button {
    margin-left: 20px;
}

a {
    text-decoration: none;
}

a:focus, a:hover {
    outline: none;
    text-decoration: none;
}

input:-webkit-input-placeholder {
    color: #777;
}

button {
    padding: 10px 13px 11px;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    border: 1px solid #0093c9;
    color: #fff;
    background: #009ecf;
    box-shadow: 0px 1px 1px(0,0,0,0.28),inset 0px 2px 0px -1px #10a4d2;
}

input[type=button] {
    padding: 10px 13px 11px;
    font-size: 18px;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    border-radius: 4px;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    border: 1px solid #c3c3c3;
    color: #7c7c7c;
    background: #fff;
    text-shadow: 0px 1px 1px rgba(0,0,0,0.13);
    -moz-box-shadow: 0px 1px 1px rgba(0,0,0,0.28);
    -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,0.28);
    margin-left: 180px;
    margin-right: 25px;
}

input[type=button] + button {
    display: inline-block;
}

input + div, textarea + div {
    float: right;
    width: 420px;
    color: red;
    margin-bottom: -10px;
}

.error-form {
    border-color: #fb9a93 !important;
}

@media (min-width: 800px) {
    /* 表示領域が800px以上の場合に適用するスタイル */
    div.column { width: 240px; float: left; }
}
@media (max-width: 799px) {
    /* 表示領域が800px未満の場合に適用するスタイル */
    div.column { width: 100%;}
}
