﻿/*!
 * お問い合わせ用
 */

@charset "UTF-8";


.contactTitle-pc {
    background: url(../images/contact_top_pc.png) no-repeat center;
    background-size: auto 82px;
    background-position-y: -2px;
}

.subTitle-sp > img {
    height: 6.5vw !important;
}

#contact {
    padding: 7vw 0 0;
}

    #contact .info-panel {
        display: flex;
    }

        #contact .info-panel > div {
            padding: 0 3vw;
        }

            #contact .info-panel > div > p {
                margin-bottom: 0px;
                line-height: 6vw;
                font-size: 3.5vw;
            }

@media (min-width: 769px) {
    #contact {
        padding-top: 15px;
    }

        #contact .info-panel {
            margin: auto;
            width: 750px;
            display: flex;
            flex-direction: row-reverse;
            justify-content: flex-end;
        }


            #contact .info-panel > div {
                padding: 0 0px;
            }

                #contact .info-panel > div > p {
                    font-size: 15px;
                    line-height: 24px;
                }
}




#contact .table-panel {
    width: 100%;
    margin: auto;
    padding: 7vw 3vw 13vw 3vw;
    background-color: #F6F6F6;
    margin-top: 7vw;
}

    #contact .table-panel table {
        line-height: 6vw;
        font-size: 3.5vw;
        width: 100%;
        margin: auto;
        background-color: white;
    }

        #contact .table-panel table tr {
            border-top: 1px solid #d6d7d5;
            border-bottom: 1px solid #d6d7d5;
        }

        #contact .table-panel table th {
            width: 100%;
            min-width: 100px;
            background-color: #C1E4D9;
            border: none;
            display: block;
            border-bottom: 1px solid #d6d7d5;
        }

        #contact .table-panel table td {
            width: 100%;
            border-left: 1px solid #d6d7d5;
            background-color: white;
            border: none;
            border-bottom: 1px solid #d6d7d5;
            margin-bottom: 7px;
            display: block;
        }

            #contact .table-panel table td .contact_comment {
                display: none;
            }

            #contact .table-panel table td .contact_zipmark {
                display: inline-block;
            }

            #contact .table-panel table td p {
                text-align:left;
            }
            /*郵便番号の並び*/
                #contact .table-panel table td p:nth-child(3) {
                    display: inline-block;
                }

    #contact .table-panel input {
        width: 100%;
        border: none;
        background-color: #f6f6f6;
        height: 7vw;
    }

        #contact .table-panel input[name="zip"] {
            display: inline-block;
            width: 180px;
        }

        #contact .table-panel input[name="address"] {
            margin-top: 5px;
        }

        #contact .table-panel input[name="tel"] {
            max-width: 200px;
        }

    #contact .table-panel textarea {
        width: 100%;
        border: none;
        background-color: #f6f6f6;
        height: 85px;
    }

    #contact .table-panel form > p > br{
        display:none;
    }
    #contact .table-panel button[type="submit"] {
        background: url(../images/contact_btnback_sp.png) no-repeat center;
        background-size: auto 45px;
        height: 45px;
        width: 200px;
        margin-top: 13vw;
        overflow: hidden;
        text-indent: 200%;
        white-space: nowrap;
        border:none;
    }
    #contact .table-panel input[type="submit"] {
        background: url(../images/contact_btnsend_sp.png) no-repeat center;
        background-size: auto 45px;
        height: 45px;
        width: 200px;
        margin-top: 13vw;
        overflow: hidden;
        text-indent: 200%;
        white-space: nowrap;
    }

    #contact .table-panel p {
        margin-bottom: 0px;
        text-align: center;
    }

@media (min-width: 769px) {

    #contact {
        padding-top: 15px;
    }


        #contact .table-panel {
            width: 820px;
            padding: 25px 0 60px 0;
            margin-bottom: 30px;
            margin-top: 50px;
        }

            #contact .table-panel table {
                font-size: 15px;
                width: 750px;
            }

                #contact .table-panel table tr {
                    border-top: 1px solid #9da7a1;
                    border-bottom: 1px solid #9da7a1;
                }

                #contact .table-panel table th {
                    width: 230px;
                    border: none;
                    display: table-cell;
                }

                #contact .table-panel table td {
                    width: unset;
                    background-color: white;
                    border: none;
                    border-left: 1px solid #9da7a1;
                    margin-bottom: 0;
                    display: table-cell;
                }

            #contact .table-panel input {
                height: 25px;
            }

            #contact .table-panel textarea {
                height: 50px;
                width: 250px;
            }

            #contact .table-panel input[name="tel"],
            #contact .table-panel input[name="email"],
            #contact .table-panel input[name="email2"] {
                width: 250px;
            }

            #contact .table-panel button[type="submit"] {
                background: url(../images/contact_btnback_pc.png) no-repeat center;
                background-size: auto 45px;
                height: 45px;
                width: 166px;
                margin-top: 60px;
            }

            #contact .table-panel input[type="submit"] {
                background: url(../images/contact_btnsend_pc.png) no-repeat center;
                background-size: auto 45px;
                height: 45px;
                width: 166px;
                margin-top: 60px;
            }
}
