@charset "utf-8";
/* CSS Document */

/* INTERIOR YOSHIDA
-----------------------------------------------------*/
#form {
    margin-left: 50px;
}
#form > p,
#form table {
    text-align: left;
}

#form table {
    width: 100%;
    border-collapse: collapse;
}
#form th,
#form td {
    border: 1px solid #d7d7d7;
    text-align: left;
    vertical-align: middle;
}
#form th {
    width: 14em;
    padding: 15px;
    background: #f5f5f5;
}
#form td {
    padding: 10px;
    padding-bottom: 5px;
}
#form span.require,
#form span.error {
    color: #ea3335;
    font-size: 0.875em;
}
#form span.error {
    display: block;
}
#form td em {
    color: #6d6c6c;
    font-size: 0.875em;
    font-style: normal;
}
@media screen and (max-width: 1010px) {
    #form {
        margin-left: calc(100% - 920px);
    }
}
@media screen and (max-width: 960px) {
    #form {
        margin-left: 0;
    }
    #form td em {
        display: block;
        margin-bottom: 5px;
    }
    #form td br.pc {
        display: none;
    }
}
@media screen and (max-width: 680px) {
    #form th,
    #form td {
        display: block;
        width: auto;
        margin-bottom: -1px;
    }
    #form th {
        padding: 10px;
    }
}

#form input[type="submit"],
#form input[type="button"] {
    outline: none;
    cursor: pointer;
}
#form input[type="submit"]:active,
#form input[type="button"]:active {
    transform: translateY(2px);
}

#form td input,
#form td select,
#form td textarea {
    margin-bottom: 5px;
    padding: 5px;
    border: 1px solid #c8c8c8;
    border-radius: 5px;
}
#form td input[type="text"] {
    margin-right: 5px;
}
#form td input[name="name"],
#form td input[name="kana"],
#form td input[name="tel"],
#form td input[name="fax"] {
    width: 275px;
}
#form td input[name="company"],
#form td input[name="company-kana"],
#form td input[name="mail"],
#form td input[name="add1"],
#form td input[name="add2"] {
    width: 400px;
}
@media screen and (max-width: 450px) {
    #form td input[name="company"],
    #form td input[name="company-kana"],
    #form td input[name="mail"],
    #form td input[name="add1"],
    #form td input[name="add2"] {
        width: 100%;
        margin-right: 0;
    }
}
#form td input#search_zip {
    padding: 5px 15px;
    background: #bfbfbf;
    border-color: #898989;
}

#form td textarea {
    width: 100%;
    height: 10em;
}
#policy,
#input_error,
.submit {
    margin: 50px auto 0;
}
#policy {
    display: inline-block;
    padding: 30px;
    border: 1px solid #dedede;
    text-align: center;
}
@media screen and (max-width: 560px) {
    #policy {
        padding: 20px;
    }
    #policy p {
        text-align: left;
    }
    #policy p br {
        display: none;
    }
}

#input_error {
    display: inline-block;
    padding: 20px;
    border: 3px double #ea3335;
    color: #ea3335;
    background: #fcc9c9;
    text-align: left;
}

.submit {
    position: relative;
    display: inline-block;
}
.submit::after {
    content: "";
    width: 5px;
    height: 5px;
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%) rotate(-45deg);
    border: solid #fff;
    border-width: 0 2px 2px 0;
    z-index: 1;
}

.submit input {
    padding: 18px 50px;
    border: none;
    background: #186bc0;
    color: #fff;
    font-size: 1.125em;
}
.submit input:disabled {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha( opacity=70 )";
    cursor: default;
}
.submit:hover::after {
    border-color: #186bc0;
}
.submit input:hover {
    color: #186bc0;
    background: #e1f0ff;
}

#thanks {
    display: inline-block;
    margin: 80px auto;
    padding: 30px;
    background: #f5f5f5;
}
