/* カスタム CSS をここに入力してください */
@media screen and (min-width: 1024px) {
  #navi-in{
    display: flex;
    justify-content: center;
  }
}
/*　「Simplicity2」用　Contact Form 7のテーブル化レスポンシブ調整　*/
.table-res-form {
    width: 100%;
}
.table-res-form th {
    background:#EAEFF9;
}
.table-res-form th.empty {
    background:none;
}
.table-res-form tr {
    border-top: 1px #D3DEF1 solid;
}
.table-res-form tr:first-child {
    border-top: none;
}
.table-res-form th, .table-res-form td {
    padding: 1.5em;
        border: none;
}
.table-res-form th {
    width: 30%;
    text-align: right;
}
.table-res-form .requied {
    font-size: 0.8em;
    color: #FFF;
    display: inline-block;
    padding: 0.3em 0.3em 0.2em;
    background: red;
    border-radius: 2px;
    margin-bottom: 8px;
}
@media only screen and (max-width: 768px) {
    .table-res-form th, .table-res-form td {
        width: auto;
        display: block;
    }
    .table-res-form th {
        padding-bottom: 0;
        text-align: left;
    }
    .table-res-form .empty {
        display: none;
    }
        .table-res-form tr:last-child {
            border-top: none;
}
        .table-res-form input[type="submit"]{
            margin-top:-1em;
}
}
.table-res-form input[type="text"], input[type="email"], textarea {
    border: 1px #89BDDE solid;
    padding: 0.5em;
    border-radius: 5px;
    margin-bottom: 0.5em;
    width: 100%;
}
.table-res-form input[type="text"]:focus, textarea:focus {
    background: #EEFFFF;
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.5);
}
.table-res-form input[type="submit"] {
    border: 1px #89BDDE solid;
    padding: 1em 4em;
    border-radius: 5px;
    background: #4C9ED9;
    color: #fff;
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.5);
    font-weight: bold;
}
.table-res-form input[type="submit"]:hover {
    background: #006599;
    box-shadow: none;
}
