body {
    background-color: #eeece1;
    background-image: none;
}

input {
    margin: 12px 5px;
    vertical-align: middle;
}

a.button {
    color: #ffffff;
}

a.button:hover {
    text-decoration: none;
}

table {
    width: 95%;
    margin: 0 auto;
}

th,
td {
    border: solid 1px #bfbfbf;
    padding-left: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
}

td {
    border-right: none;
}

td:last-child {
    border-left: none;
    border-right: solid 1px #bfbfbf;
}

th {
    background-color: #f2dcdb;
}

td {
    background-color: #ffffff;
}

#header {
    width: 100%;
    height: 100px;
    background-image: url("/user/header.png");
}

#header h1 {
    line-height: 100px;
    font-size: 3em;
    color: #ffffff;
    margin-left: 20px;
}

#header .contents {
    display: flex;
}

.logo {
    width: 130px;
    height: 100px;
}

.contents {
    width: 880px !important;
    margin: 0 auto;
}

#main {
    margin: 25px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 6px;
    -moz-box-shadow: inset 0px 0px 2px 0px #aaa;
    -webkit-box-shadow: inset 0px 0px 3px 0px #aaa;
    box-shadow: 0px 0px 2px #999;
    border: 1px solid #fff;
}

.main_header {
    color: #ffffff;
    width: 830px;
    height: 55px;
    line-height: 55px;
    background-repeat: no-repeat;
    background-image: url("/user/main_header.png");
    margin: 0 auto;
    margin-bottom: 20px;
}

.main_header h2 {
    padding-left: 80px;
}

.detail {
    width: 853px;
    margin: 0px auto;
    padding: 0 10px;
    box-sizing: border-box;
}

#main_footer {
    margin: 5px;
    display: flex;
    flex-direction: row-reverse;
}

.back {
    margin-right: 70px;
}

.form {
    margin-top: 20px;
}

.form fieldset {
    background-color: #eeece1;
    border-radius: 3px;
    padding: 10px;
    margin-bottom: 20px;
}

.form tr {
    border-bottom: 2px #ddd9c3 solid;
}

.form tr:last-child {
    border-bottom: none;
}

.form th,
.form td {
    border: none;
    background-color: transparent;
}

.form th {
    vertical-align: top;
}

.form td {
    width: 60%;
}

.form label {
    font-weight: bold;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="password"] {
    width: 95%;
    margin: 5px auto;
    border: 1px solid #899caa;
    color: #3a454d;
    font-weight: bold;
    padding: 8px;
    box-shadow: inset 0px 1px 3px #bbb;
    -webkit-box-shadow: inset 0px 1px 3px #bbb;
    -moz-box-shadow: inset 0px 1px 3px #bbb;
    font-size: 93%;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.form input[type="submit"],
.form input[type="button"],
.button {
    display: block;
    border: none;
    cursor: pointer;
    width: 262px;
    height: 75px;
    margin: 0 auto;
    color: #ffffff;
    line-height: 80px;
    font-size: 1.5em;
    text-align: center;
}

.form input[type="submit"],
.form input[type="button"],
.button {
    background-image: url("/user/button_off.png");
}

.form input[type="submit"]:hover,
.form input[type="button"]:hover,
.button:hover {
    background-image: url("/user/button_on.png");
}

.form input[type="submit"].cancel,
.form input[type="button"].cancel,
.button.cancel {
    background-image: url("/user/cancel_button_off.png");
}

.form input[type="submit"].cancel:hover,
.form input[type="button"].cancel:hover,
.button.cancel:hover {
    background-image: url("/user/cancel_button_on.png");
}

.form input[type="submit"].small,
.form input[type="button"].small,
.button.small {
    width: 107px;
    height: 37px;
    line-height: 40px;
    font-size: 1.2em;
    background-image: url("/user/button_small_off.png");
}

.form input[type="submit"].small:hover,
.form input[type="button"].small:hover,
.button.small:hover {
    background-image: url("/user/button_small_on.png");
}

.form input[type="radio"] {
    margin-left: 15px;
}

.form input[type="radio"]:first-child {
    margin-left: 0;
}

.form .error {
    color: red;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}

.step {
    margin-bottom: 20px;
}

.step > * {
    display: block;
    margin: 0 auto;
}

.agreement {
    width: 96%;
    resize: vertical;
    padding: 8px;
    border: 1px solid #899caa;
    box-shadow: inset 0px 1px 3px #bbb;
    -webkit-box-shadow: inset 0px 1px 3px #bbb;
    -moz-box-shadow: inset 0px 1px 3px #bbb;
    border-radius: 3px;
    margin: 0 auto;
    overflow-y: scroll;
    font-size: 12px;
    height: 300px;
}

.red {
    color: red;
}

.underline {
    text-decoration: underline;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.no-margin {
    margin: 0;
}
