@charset "utf-8";

#main {
    /*background:url(../../img/contact/main.jpg) no-repeat center top;
	height:400px;*/
    height: 1px !important;
    margin-bottom: 60px !important;
}

#subNav {
    position: relative;
}

#subNav .hover {
    top: -70px;
    left: 100px;
}

.toblog img {
    display: block;
    position: absolute;
    bottom: -135px;
    right: 0;
}

.toblog a img:hover {
    opacity: 0.7 !important;
}

#menu5 {
    float: right;
}

#contents h2 {
    margin: 20px 0;
}

#form {
    box-sizing: border-box;
    border: 10px solid #EBEDEC;
    margin: 40px 0 0;
    padding: 30px 100px;
}

#form h2 {
    width: 100%;
    text-align: center;
}

#form table {
    width: 100%;
}

#form table tr {
    border-bottom: 1px dotted #ccc;
}

#form table .noborder {
    border: none !important;
}

#form table th {
    color: #666666;
    width: 180px;
    vertical-align: top;
}

#form table th,
#form table td {
    padding: 15px 20px;
}

#form table .attention {
    color: #F45F28;
    font-weight: bold;
}

#form table .attention td {
    padding: 0 20px 15x;
}

#form input[type="text"],
#form input[type="email"],
#form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

#form input[type="submit"] {
    background: url(../../img/contact/btn_form.png) no-repeat center top;
    border: none;
    text-indent: -9999px;
    width: 200px;
    height: 40px;
    display: block;
    margin: 20px auto;
}

#form input[type="submit"]:hover {
    opacity: 0.7;
}

#personal {
    background: #F6F6F6;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    margin: 20px 0;
}

#personal h3 {
    color: #666666;
    font-size: 15px;
    margin: 0 0 5px;
}

#end h2 {
    text-align: center;
    margin-top: 60px;
}

#end .text {
    padding: 20px;
    margin: 0 auto;
    width: 580px;
    font-size: 16px;
}

#line h2 {
    margin-top: 60px;
}

#line .text {
    background: url(../../img/contact/photo1.png) no-repeat left top;
    min-height: 120px;
    padding: 0 0 0 200px;
    font-size: 16px;
    margin-top: 50px;
    line-height: 1.8;
    width: 300px;
    float: left;
}

#line .btn {
    background: url(../../img/contact/btn_line.png) no-repeat center top;
    width: 153px;
    height: 45px;
    display: block;
    text-indent: -9999px;
    margin: 5px 0;
}

#line .qr {
    float: left;
    width: 120px;
    padding: 40px 0 0 0;
}

.reserve_bnr {}

.reserve_bnr_list {
    display: block;
    float: left;
    width: 48%;
    max-width: 678px;
    margin-right: 4%;
}

.reserve_bnr_list:last-child {
    margin-right: 0;
}

.reserve_bnr_list img {
    width: 100%;
}

/*　max 1000px
--------------------------------------------------------------------------------------- */
@media screen and (max-width:1000px) {

    .c1,
    .c2,
    .c3,
    .c4 {
        background: #5fbc7f;
    }

    .c5 {
        background: #57bfdd;
    }

}

/*　max 870px
--------------------------------------------------------------------------------------- */
@media screen and (max-width:870px) {

    #form label {
        display: inline-block;
    }
}

/*　max 640px
--------------------------------------------------------------------------------------- */
@media screen and (max-width:640px) {

    #form {
        box-sizing: border-box;
        border: 10px solid #EBEDEC;
        margin: 40px 0;
        padding: 30px 10px;
    }

    #form h2 {
        width: 100%;
        text-align: center;
    }

    #form table th {
        width: 60px;
        vertical-align: top;
        font-size: 12px;
    }

    #form table th,
    #form table td {
        padding: 15px 5px;
    }

    #form table .attention td {
        padding: 0 5px 15px;
    }

    #form input[type="submit"] {
        background: url(../../img/contact/btn_form.png) no-repeat center top;
        border: none;
        text-indent: -9999;
        width: 200px;
        height: 40px;
        display: block;
        margin: 20px auto;
    }

    #personal {
        padding: 20px;
        width: 100%;
        margin: 20px 0;
    }

    #personal h3 {
        font-size: 15px;
        margin: 0 0 5px;
    }

    #end .text {
        padding: 20px 0 0;
        font-size: 16px;
        width: 100%;
    }

    #line .text {
        background: url(../../img/contact/photo1.png) no-repeat center top;
        min-height: 120px;
        padding: 130px 0 0 0;
        font-size: 16px;
        margin-top: 50px;
        line-height: 1.8;
        float: none;
        width: 100%;
        text-align: center;
    }

    #line .btn {
        background: url(../../img/contact/btn_line.png) no-repeat center top;
        width: 153px;
        height: 45px;
        display: block;
        text-indent: -9999px;
        margin: 5px auto;
    }

    #line .qr {
        float: none;
        width: 100%;
        text-align: center;
        padding: 10px 0 0 0;
    }

    .reserve_bnr_list {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

}
