@charset "utf-8";
/*ハウジング用フォーム*/
.container{
    max-width: 960px;
    margin:0 auto;
    padding:0 20px;
}

.hgform h1{
    margin:1em 0;
    font-size: 2rem;
    text-align: center;
    font-weight: 500;
}

.form table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, .05);
}

.form table td,
.form table th {
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    padding: 1em;
    font-size: 14px;
}

.form table th {
    text-align: left;
    font-weight: 400;
}

.form .must {
    color: red;
    padding: 5px;
}

.form label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.form .wpcf7-form-control-wrap {
    position: relative;
}

.form .wpcf7-list-item {
    display: inline-block;
    margin: 0 0 0 1em;
}

.form .wpcf7-list-item-label::before,
.form .wpcf7-list-item-label::after {
    content: " ";
}

.form input,
.form select,
.form textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.form input {
    overflow: visible;
}

.form input[type=checkbox],
.form input[type=radio] {
    box-sizing: border-box;
    padding: 0;
}

.form select {
    text-transform: none;
    word-wrap: normal;
    -webkit-appearance:button;
    appearance:button;
}

.form input[type=text], .form input[type=tel], .form input[type=email], .form select, .form textarea{
    box-sizing: border-box;
    display: block;
    width: 90%;
    height: 40px;
    padding: 0.375rem 0.75rem;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form input[type=text]::placeholder, .form input[type=tel]::placeholder, .form input[type=email]::placeholder, .form select::placeholder, .form textarea::placeholder {
    color: #6c757d;
    opacity: 1;
    font-size: 16px;
}

.form input[name="zip"], .form input[name="pref"]{
    width:60%;
    height: 40px;
}

.form textarea{
    height:auto;
}

.form .btn_send{
    text-align: center;
    margin: 20px;
}

.form .btn_send input[type=submit]{
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.form  .btn_send input[type=submit]{
    padding: 15px 50px 15px 50px;
    font-size: 18px;
    margin: auto;
    display: flex;
    cursor: pointer;
}

.form input[type=submit].wpcf7-submit{
    background: #c00b12;
    color: #fff;
}

.form .btn_send input[type=submit]:hover{
    opacity: 0.7;
}

@media screen and  (max-width:480px){
    .form table td,
    .form table th {
        display: block;
        padding:1em 0;
    }

    .form input[type=text], .form input[type=tel], .form input[type=email], .form select, .form textarea{
        width:100%;
    }
}

.grecaptcha-badge { visibility: hidden; }