/* ------------------------------------------------------ */
/*                       お問い合わせ      　　　　　　    */
/* ------------------------------------------------------ */
#mail #pagetop_image {
    background-color: yellowgreen;
}

#mail .layout {
    display: block;
    margin: 0 auto;
    width: 100%;
}


#mail .layout .contact_form {
    text-align: left;
}

#mail .contact_form .item span {
    font-size: 1rem;
    color: #ffffff;
    margin-right: 20px;
    padding: 5px;
    background-color: tomato;
    text-align: right;
}

#mail .contact_form .item span.no {
    font-size: 1rem;
    color: #000000;
    margin-right: 20px;
    padding: 5px;
    background-color: #cccccc;
    text-align: right;
}

/* #mail main{
    height:80vh;
} */

table {
    border-collapse: collapse;
}

/* p {
    font-size: 1.6rem;
    text-align: center;
    margin: 0px auto;
} */

button[type="submit"],
input[type="text"],
input[type="email"],
textarea,
button {
    -moz-appearance: none;
    -webkit-appearance: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
    border: none;
}


input[type="text"],
input[type="email"],
textarea {
    background: #f8f8f8;
    display: block;
    font-size: 1.6rem;
    padding: 12px 15px;
    width: 100%;
    transition: 0.8s;
    border-radius: 0;
}

select {
    font-size: 1.6rem;
    padding: 5px 15px;
}

input[type="checkbox"] {
    margin: 5px 10px 5px 10px;
}

input[type="text"]:focus,
textarea:focus {
    background: #e9f5fb;
    box-shadow: 0 1px 3px rgba(214, 169, 169, 0.1);
}

textarea[name="content"] {
    display: inline-block;
    width: 100%;
    height: 200px;
}

button[type="submit"] {
    padding: 10px;
    margin: 10px;
    width: 150px;
    font-size: 1.6rem;
    color: #fff;
    background-color: #ec6c26;
}

button[type="submit"]:hover {
    padding: 10px;
    margin: 10px;
    width: 150px;
    font-size: 1.6rem;
    background-color: tomato;
}

input::placeholder,
textarea::placeholder {
    color: #ccc;
}

::-webkit-input-placeholder {
    color: #ccc;
    opacity: 1;
}

::-moz-placeholder {
    color: #ccc;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #ccc;
    opacity: 1;
}

.contact_form {
    border: 1px solid #ccc;
    border-spacing: 0;
    border-top: none;
}

.contact_form th,
.contact_form td {
    display: block;
    padding: 20px;
    border-top: 1px solid #ccc;
}

.contact_form th {
    background-color: #ffecea;
}

.leadtxt {
    text-align: left;

}

.submit {
    text-align: center;
}

.thanks {
    width: 100%;
    line-height: 1.8;
    text-align: left;
}

.gotop {
    margin: 50px 20px 20px 20px;
    text-align: center;
}


@media print,
screen and (min-width:1000px) {

    /*for PC*/
    .contact_form th,
    .contact_form td {
        display: table-cell;
        border: 1px solid #cccccc;
        padding: 20px;
    }

    .contact_form th {
        background-color: #ffecea;
        padding-left: 30px;
        position: relative;
        text-align: left;
        width: 340px;
    }

    .leadtxt {
        text-align: left;
        width: 90%;
    }
}