﻿#wrapper {
    background: #f9f9f9;
}


/*一覧*/

.office tr:first-child th {
    border-top: none;
    border-bottom: none;
}



.office tr td:nth-child(4),
.office tr th:nth-child(4) {
    width: 39%;
}

.office tr th:nth-child(5) {
    min-width: 170px;
}

.office table {
    table-layout: auto;
}

.office th,
.office td {
    width: auto;
    border: none;
}

.office th,
.office td {
    border-right: 1px dashed #eee;
}

th:last-child,
td:last-child {
    border-right: none;
}


.office td:first-child p {
    font-weight: 500;
}

.office th {
    background: #8293a0;
    color: #fff;
}

.office tr:nth-child(odd) {
    background: #f3f7f9;
}

tr.sticky-t.t-fixed {
    top: 100px;
    z-index: 2;
    width: 100%;
    position: sticky;
}

tr.sticky-t {
    position: sticky;
    top: 0;
    transition: .3s;
    left: 0;
}

.office tr td:nth-child(3),
.office tr th:nth-child(3) {
    width: 156px;
}

ul.sonota-list {
    list-style: disc;
    padding: 0 0 0 22px;
    color: #000;
}

ul.sonota-list li {
    margin: 0 0 10px 0;
}

ul.sonota-list li:last-child {
    margin: 0;
}

/*フォーム*/
.box_contact {
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    box-shadow: 2px 1px 3px 1px #ecececbd;
}

.box_contact h4 {
    font-weight: 600;
    background: #f9f9f9;
    padding: 20px;
}

/*フォーム*/
.form_box {
    padding: 30px;
}

.formbox {
    clear: both;
    overflow: hidden;
    margin: 0;
    box-sizing: border-box;
}

.formbox h4 {
    margin: 0 0 20px;
    padding: 0 0 20px;
    line-height: 1.6;
}

.formbox article {
    padding: 0;
}

.formbox article {
    overflow: hidden;
    border: none;
    margin: 0 0 50px !important;
    border-bottom: 1px solid #eee;
    border-bottom: none;
    overflow: 0 0 30px;
    display: flex;
    position: relative;
    justify-content: space-around;
    text-align: left;
    width: 100%;
}

.formbox article.last {
    border-bottom: 1px solid #eee;
    padding: 0 0 50px;
    margin: 0 0 30px;
}

.formbox .koumoku {
    font-weight: 300;
    color: #333;
    letter-spacing: 2px;
    padding: 0;
    /* font-size: 1.2em; */
    width: 28%;
    box-sizing: border-box;
    align-items: center;
    display: flex;
}

.formbox label {
    display: inline-block;
    vertical-align: middle;
    font-size: 1em;
    width: 100%;
    margin: 0 5px 5px 0;
    letter-spacing: 1px;
    font-weight: 600;
}

.formbox label span {
    color: #333;
    letter-spacing: 0px;
}

.formbox .forminbox {
    width: auto;
    /* float: right; */
    width: 100%;
    padding: 0 0 0 30px;
    box-sizing: border-box;
}

.formbox div.check {
    margin: 0;
    display: inline-block;
    vertical-align: top;
    float: right;
    width: 60px;
}

.formbox div.e_txt {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
}

.formbox div.e_txt p {
    margin: 0 0 10px;
    display: block;
    vertical-align: middle;
}

.formbox p:empty,
.formbox span:empty {
    line-height: 0;
}

.formbox div.e_txt p:last-child {

    /* margin: 0; */
}


.formbox div.e_txt input {
    border: 0;
    padding: 17px;
    width: 100%;
    font-size: initial;
    color: #000;
    outline: none;
    box-sizing: border-box;
    background: #f9f9f9;
    font-family: source-han-sans-japanese, sans-serif;
    font-weight: 400;
    border-radius: 5px;
}



.formbox div.e_txt input:last-child {
    margin: 0;
    width: 100%;
}

.formbox div.e_txt#re input {
    border: none;
    background: none;
    padding: 0;
}

.formbox div.e_txt input[type="checkbox"] {
    width: auto;
    display: inline-block;
    margin: 0;

    vertical-align: middle;
}

.formbox div.e_txt input[type="radio"] {
    width: auto;
    display: inline-block;
    margin: 0;
    vertical-align: middle;
}

.formbox div.e_txt input[type="radio"]#radio04 {
    display: none;
}

div.e_txt span.zip input {
    width: 300px;
    margin: 0;
}

div.e_txt span.ken select {
    background: #f7f7f7;
    font-size: 1.1em;
    /* width:300px; */
}

div.e_txt span.ken select option {
    /* background:#222; */
}


/*必須*/
.formbox .required {
    color: #fff;
    background: #e67272;
    display: inline-block;
    font-size: 0.75em;
    line-height: 1.5;
    padding: 0 6px;
    box-sizing: border-box;
    width: 50px;
    border-radius: 3px;
    text-align: center;
}

/*任意*/
.formbox .any {
    color: #fff;
    background: #0d227c;
    display: inline-block;
    font-size: 0.75em;
    line-height: 1.5;
    padding: 0 6px;
    box-sizing: border-box;
    width: 50px;
    text-align: center;
}

.submitArea {
    /* text-align: center; */
}

.submitArea em {
    font-size: 0.9em;
    letter-spacing: 1px;
    font-style: normal;
    display: block;
    line-height: 2;
}

.submitArea label {
    font-size: 90%;
}


textarea {
    background: #f9f9f9;
    border: none;
    border: none;
    width: 100%;
    padding: 25px;
    font-size: 0.9em;
    box-sizing: border-box;
    font-family: source-han-sans-japanese, sans-serif;
}

textarea:focus {
    outline: none;
}

/*送信ボタン*/
.submitArea .btn_submit {
    margin: 50px auto 0;
    width: 100%;
    display: block;
    text-align: center;
}

.submitArea .btn_submit p {
    font-size: inherit;
}

.submitArea .btn_submit a.button1 {
    padding: 25px 100px;
    margin: 0 20px;
}

.submitArea .btn_submit a.button1.submit {
    background-image: linear-gradient(to right, rgba(245, 78, 78, 1) 50%, rgba(245, 78, 78, 0.9) 50%);
}

.submitArea .btn_submit input {
    background: url("../images/common/arrow_b.svg") no-repeat right 5% center #fff;
    padding: 25px 150px;
    color: #005bac;
    margin: auto;
    overflow: hidden;
    border: 2px solid #005bac;
    cursor: pointer;
    font-size: 1.1em;
    letter-spacing: 1px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    /* background-image: linear-gradient(to right, rgba(0,0,0,0) 50%, rgba(0,0,0,0.05) 50%); */
    background-size: 8px;
    font-weight: 500;
    transition: .3s;
    border-radius: 5px;
    font-weight: bold;
    font-family:
        source-han-sans-japanese, sans-serif;
}

.submitArea .btn_submit input:hover {
    background: url(../images/common/arrow_w.svg)no-repeat right 4% center #005bac;
    background-size: 8px;
    transition: .3s;
    color: #fff;
}



form.wpcf7-form p.buttons-area .button-rewrite {
    margin-right: 20px;
    background: #666;
}

form.wpcf7-form p.buttons-area .wpcf7-submit {
    margin-left: 20px;
}

label.check {
    position: relative;
    display: inline-block;
    padding: 3px 3px 3px 22px;
    cursor: pointer;
}

/*入力済*/
.entered {
    color: #444;
    letter-spacing: 1px;
    /* font-weight: 500; */
}


.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: #f54e47 !important;
    text-align: center;
    max-width: 1000px;
    color: #f54e47;
    margin: 20px auto;
    font-weight: 700;
}

div.link-list {
    max-width: 400px;
}

@media (max-width: 1920px) {

    .office tr td:nth-child(1),
    .office tr th:nth-child(1) {
        width: 249px;
    }


    .office tr td:nth-child(4),
    .office tr th:nth-child(4) {
        width: 30%;
    }


}


@media (max-width: 1699px) {}

@media (max-width: 1499px) {

    .office th,
    .office td {
        padding: 10px;
    }

    .office tr td:nth-child(3),
    .office tr th:nth-child(3) {
        width: 129px;
    }

    .office tr td:nth-child(1),
    .office tr th:nth-child(1) {
        width: 220px;
    }

}

@media (max-width: 1399px) {

    .office table {
        table-layout: unset;
        /* width: 1230px; */
    }

    .office tr td:nth-child(3),
    .office tr th:nth-child(3) {
        width: 100%;
    }

    .office th,
    .office td {
        padding: 0;
    }

    .office tr td:nth-child(1),
    .office tr th:nth-child(1) {
        width: 100%;
        position: relative;
        margin: 0 0 4px 0;
    }

    tr {
        display: block;
        padding: 20px;
    }

    .office th,
    .office td {
        width: 100%;
        display: block;
        border: none;
    }

    tr.sticky-t {
        display: none;
    }

    .office tr td:nth-child(4) {
        width: 100%;
        margin: 10px auto 0;
    }

    .office tr:nth-child(odd) {
        background: #fff;
    }

    .office tr:nth-child(even) {
        background: #f3f7f9;
    }

    .office tr td:nth-child(n+2) {
        position: relative;
        display: inline-block;
    }

    .office tr td:nth-child(n+2):before {
        display: inline-block;
        font-family: source-han-sans-japanese, sans-serif;
        line-height: 2;
        font-size: 100%;
        float: left;
    }

    .office tr td:nth-child(2):before {
        content: "住所：";
    }

    .office tr td:nth-child(3):before {
        content: "TEL：";
    }

    .office tr td:nth-child(4):before {
        content: "主な運行路線";
        display: block;
        width: 100%;
        float: none;
    }

    .office tr td:nth-child(5):before {
        content: "営業所対応時間：";
    }


    .office td:first-child p {
        color: #005bac;
    }

    .office tr td:nth-child(4) p {
        padding: 20px 20px;
        border-radius: 5px;
        display: block;
        position: relative;
        border: 1px solid #8293a0;
        margin: 5px auto 0;
    }

    .office tr:nth-child(10) td:nth-child(4),
    .office tr:nth-child(11) td:nth-child(4) {
        display: none;
    }


    /*フォーム*/
    .wpcf7-list-item {
        margin: 0;
    }

    .formbox {
        flex-wrap: wrap;
    }

    .formbox label {
        width: 100%;
        font-weight: 600;
        /* color: #000; */
    }

    .formbox .koumoku {
        width: 100%;
    }

    .formbox .forminbox {
        padding: 15px 0 0 0;
    }

    .formbox article {
        flex-wrap: wrap;
        margin: 0 0 30px 0 !important;
    }

    .submitArea .btn_submit input {
        padding: 20px 0;
        width: 100%;
        font-size: 1em;
    }

    .submitArea .btn_submit {
        margin: 0;
    }

    .formbox div.e_txt input {
        padding: 10px;
    }


}

@media (max-width: 1200px) {}

@media (max-width: 1023px) {
    .office tr td:nth-child(n+2):before {
        font-size: 0.9em;
    }

    .office tr td:nth-child(4) p {
        padding: 10px;
    }

}



@media (max-width: 991px) {
    #information {
        padding: 30px 15px;
    }




}

@media (max-width: 767px) {

    tr {
        display: block;
        padding: 15px 10px;
    }

    /*フォーム*/
    .box_contact h4 {
        padding: 15px;
    }

    .form_box,
    textarea {
        padding: 15px;
    }


}

@media (max-width: 480px) {
    #wrapper {
        background: none;
    }

    #information {
        padding: 0;
    }

    .sub-inner {
        max-width: 90%;
        margin: auto;
    }


    .office tr td:nth-child(n+2):before {
        font-size: 0.95em;
        color: #000;
        line-height: 1.8;
        font-weight: 500;
    }

    .office tr td:nth-child(4) p {
        padding: 5px 0 0 0;
        border: none;
        border-top: 1px dashed #8293a0;
        border-radius: 0;
        margin: 0 0 0 0;
    }

    .office td:first-child p {
        font-size: 1.1em;
        font-weight: 600;
    }

    /*フォーム*/
    .formbox label {
        font-size: 0.95em;
        margin: 0;
    }

    .wpcf7-list-item {
        margin: 0 !important;
    }

}


@media (max-width: 350px) {}