.contact{
    width: 100%;
    margin-top: 50px;
}

.contact h1{
    font-size: 35px;
    color: #3D3731;
    width: 960px;
    margin: 0 auto;
    text-align: center;
}

.contact h3{
    font-size: 10px;
    color: #3D3731;
    padding-top: 10px;
    width: 960px;
    margin: 0 auto;
    text-align: center;
}

.main_image{
    text-align: center;
}

.main_image img{
    width: 960px;
    margin: 50px auto;
    object-fit: cover;
}

.container_into_image{
    /* width: 449px;
    float: left; */
    width: fit-content;
    height: auto;
    float: left;
    margin-right: 45px;
    padding-bottom: 140px;
}

/*予約フォームへボタン*/
.btn-square {
    position: relative;
    display: inline-block;
    padding: 0.25em 3.5em;
    margin-top: 20px;
    margin-bottom: 20px;
    text-decoration: none;
    color: #FFF;
    background: #28AAE2;/*背景色*/
    border-bottom: solid 2px #0ea2e1;/*少し濃い目の色に*/
    border-radius: 4px;/*角の丸み*/
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.2), 0 2px 2px rgba(0, 0, 0, 0.19);
    font-weight: bold;
    font-size: 20px;
}

.btn-square:active {
    border-bottom: solid 2px #28AAE2;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.30);
}

.container_into_comment,.container_into_comment_preventive{
    /* width: 352px;
    float: left; font-size: 28px;*/
    font-size: 22px;
    line-height: 1.7;
    text-align: center;
}

.imageContainer {
    display: block;
}

.container_into_comment_preventive p{
    font-size: 20px;
}

#contact_comments{
    font-size: 15px;
}

@media (width < 1440px){
    .contact h1{
        width: 90%;
        margin: 0 auto;
    }
    .contact h3{
        width: 90%;
        margin: 0 auto;
    }
}

@media(width <= 960px){
    .main_image img{
        width: 90%;
        margin: 50px auto 0px auto;
        object-fit: cover;
    }
    .container_into_comment_preventive p{
        font-size: 17px;
    }
    .container_into_comment_preventive{
        width: 320px;
        margin: 0 auto;
    }
    .btn-square {
        padding: 0.25em 3em;
        font-size: 18px;
    }
}

@media(width <= 700px){
    .container_into_comment_preventive{
        width: 220px;
        margin: 0 auto;
    }
}

@media(width <= 425px){  
    /* .contact{
        height: 230px;
        margin-top: 10px;
    } */

    .contact h1{
        font-size: 20px;
        width: 90%;
        margin: 0 auto;
    }

    .contact h3{
        font-size: 8px;
        width: 90%;
        margin: 0 auto;
    }

    .main_image img{
        /* padding: 30px 20px; */
        width: 334px;
        margin: 20px auto 0px auto;
    }

    .container_into_comment_preventive p{
        font-size: 15px;
    }

    .container_into_comment_preventive{
        width: 280px;
        margin: 0 auto;
    }

    .btn-square {
        padding: 0.25em 2em;
        font-size: 15px;
    }

    #contact_comments{
        font-size: 10px;
    }
}

@media(width <= 320px){
    .main_image img{
        width: 279px;
        padding: 0px;
        margin: 20px auto 0px auto;
    }
    .container_into_comment_preventive p{
        font-size: 13px;
    }
    .container_into_comment_preventive{
        width: 220px;
        margin: 0 auto;
    }
}

@media(width <= 300px){
    .main_image img{
        width: 259px;
        padding: 0px;
        margin: 20px auto 0px auto;
    }
}