@charset "UTF-8";

/* FORM */

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}
.form-label {
    margin-bottom: 0.3em;
    vertical-align: middle;
    font-weight: 600;
}
.form-label a {
    margin-left: 15px;
}
.form-label span {
    vertical-align: middle;
}
.form-label .form-required {
    color: #008080;
    font-size: 80%;
    margin-left: 15px;
}
.form-input {
    margin-bottom: 2em;
}
.submit-note {
    font-size: 14px;
    text-align: center;
}
@media screen and (max-width: 600px) {
    .submit-note {
        text-align: left;
    }
}

input[type=text],
input[type=date],
input[type=password],
input[type=email] {
    font-size: 100%;
    width: 100%;
    max-width: 1000px;
    border: 1px #008B8B solid;
    background-color: #fff;
    padding: 15px 10px;
}
input[type=checkbox],
input[type=radio] {
    width: auto;
    vertical-align: middle;
}
input[type=date] {
    width: auto;
}
input[type=image]:hover {
    opacity: 0.8;
}
textarea {
    font-size: 100%;
    width: 100%;
    max-width: 1000px;
    height: 200px;
    padding: 10px;
    border: 1px #898989 solid;
    background-color: #fff;
    padding: 15px 10px;
}
select {
    font-size: 100%;
    background-color: #fff;
    width: 100%;
    max-width: 600px;
    padding: 10px;
    border: solid 1px #898989;
}
input:focus,
textarea:focus {
/*    border: solid 1px #231815;*/
/*    background-color: #ffffff;*/
}
.input-inline {
    display: inline-block;
}
div.wpcf7-response-output {
    background-color: white;
}
select.wpcf7c-conf {
    background-color: #c3c3c3 !important;
    color: black !important;
}
input[type=text].wpcf7c-conf,
input[type=date].wpcf7c-conf,
input[type=password].wpcf7c-conf,
input[type=email].wpcf7c-conf,
textarea.wpcf7c-conf {
    background-color: #c3c3c3;
    color: black;
}
input[type=radio].wpcf7c-conf,
input[type=radio].wpcf7c-conf + .wpcf7-list-item-label {
    display: none;
}
input[type=radio].wpcf7c-conf:checked,
input[type=radio].wpcf7c-conf:checked + .wpcf7-list-item-label {
    display: inline;
}

.form-submit {
    margin: 2em 0;
    text-align: center;
}
input[type="submit"],
input[type="button"] {
    /* Reset iOS appearance */
    -webkit-appearance: button;
    border-radius: 0;
    border: none;
    cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
    display: none;
}
input[type=submit],
input[type=submit]:active {
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    display: block;
    max-width: 300px;
    text-align: center;
    font-size: 100%;
    font-weight: bold;
    padding: 3px 32px;
    margin: 20px auto 20px auto;
    color: #fff;
    background-color: #008080;
    border-style: none;
    text-align: center;
    transition: all .3s;
    border-radius: 10px;
    cursor: pointer;
}
input[type=submit]:hover {
    opacity: 0.8;
}
input[type=submit].wpcf7-submit.wpcf7c-elm-step2 {
    background-color: #ec3737;
}

.wpcf7 > form input[type="submit"][disabled],
.wpcf7 > form input[type="submit"][disabled]:hover,
.wpcf7 > form input[type="submit"][disabled]:focus {
    background-color: #999;
    opacity: 1.0;
    cursor: not-allowed;
}
div.wpcf7 .wpcf7-submit:disabled {
    cursor: not-allowed;
}

/* CONTACT FORM */

.contact-form table {
    border-style: none;
}
.contact-form table tr {
    margin: 0;
    padding: 0;
    border-style: none;
}
.contact-form table tr:last-child {
    border-style: none;
}
.contact-form table tr th,
.contact-form table tr td {
    padding: 16px;
    line-height: 110%;
    border-style: none;
}
.contact-form table tr th {
    padding: 16px 0;
    font-weight: 500;
}
.contact-form table tr th {
    width: 190px;
    vertical-align: top;
}
.contact-form table tr th div {
    margin: 20px 0;
}

.contact-form table span.wpcf7-list-item:first-child {
    margin-left: 0;
}
input::placeholder {
    color: #858586;
}
.contact-form table input[type=text],
.contact-form table input[type=date],
.contact-form table input[type=password],
.contact-form table input[type=email] {
    box-sizing: border-box;
    width: 100%;
    border-radius: 3px;
    border: solid 1px #666;
    background-color: #fafafa;
    padding: 10px 10px;
    font-size: 15px;
}
.contact-form table p {
    margin-top: 0;
    margin-bottom: 1em;
}
.contact-form table div.note {
    font-size: 88%;
    margin: 1em 0;
}
.contact-form table p.note {
    font-size: 88%;
}
.contact-form table select {
    border: solid 1px #666;
    background-color: #fafafa;
}
.contact-form table textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 130px;
    border-radius: 3px;
    border: solid 1px #666;
    background-color: #fafafa;
    padding: 10px 10px;
    font-size: 15px;
}
.contact-form table tr th div  {
    position: relative;
}
.contact-form table tr th small {
    font-size: 10px;
}
.contact-form table .required {
    font-weight: bold;
    position: absolute;
    right: 0px;
    top: -6px;
    font-size: 11px;
    width: 36px;
    color: #fff;
    background-color: red;
    border-radius: 2px;
    padding: 6px 5px;
    text-align: center;
    letter-spacing: 1px;
    text-indent: 1px;
    line-height: 100%;
}
.input-submit input[type=submit],
.input-submit input[type=submit]:active {
    display: block;
    margin: 20px auto;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
    min-width: 180px;
    padding: 8px 20px;
    background-color: #E60012;
    color: #fff;
    border: solid 2px #E60012;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3 ease;
    -o-transition: all 0.3 ease;
}
.wpcf7 > form input[type="submit"][disabled],
.wpcf7 > form input[type="submit"][disabled]:hover,
.wpcf7 > form input[type="submit"][disabled]:focus {
    background-color: #999;
    opacity: 1.0;
    cursor: not-allowed;
    border: solid 2px #999;
    color: #fff;
}
.input-submit input:hover {
    border: solid 2px #E60012;
    color: #E60012;
    background-color: #fff;
}
@media screen and (max-width: 480px) {
    .contact-form table tr th {
        width: 75px;
        padding-left: 5px;
    }
    .contact-form table tr td {
        padding-left: 5px;
        padding-right: 5px;
    }
    .contact-form table .required {
        margin: 5px 0;
        display: block;
        position: static;
    }
}

.form-radio-ml .wpcf7-list-item {
    display: block;
    margin-left: 0;
    margin-bottom: 0.8em;
    line-height: 1.4;
}
.form-radio-ml .wpcf7-list-item label {
    font-weight: bold;
}

.form-acceptance {
    border: solid 1px #008B8B;
    padding: 10px;
}
.form-acceptance p {
    margin-bottom: 0.5em;
    margin-left: 5px;
}

.form-note {
    font-size: 88%;
    color: #565656;
    margin: 0.8em 0;
}
.contact-form table .form-note.red {
    font-size: 88%;
    color: red;
}

.contact-form table .form-inline .wpcf7-form-control-wrap {
    position: static;
}
.contact-form table .form-inline input,
.contact-form table .form-inline select {
    width: auto;
    display: inline-block;
}
.contact-form table .form-inline span {
    margin-left: 5px;
    margin-right: 5px;
}
.contact-form table .form-inline span:first-child {
    margin-left: 0;
}

.contact-form table .radio-multiline .wpcf7-list-item {
    display: block;
    margin-left: 0;
    margin-bottom: 0.4em;
}

.wpcf7-list-item.first {
    margin-left: 0;
}

.wpcf7-radio {
    display: block;
    font-weight: 600;
    margin-top: 2em;
}

