@charset "UTF-8";


/*===============================================
●共通
===============================================*/

.input-error {
    display: block;
    margin: 10px 0 0 0;
    color: #e60012;
}

.error-title,
.error-tel {
    display: none !important;
}

.error-disp {
    display: block !important;
}

    

/*===============================================
●画面の横幅が813px以上(タブレット・PC)
===============================================*/
@media screen and (min-width: 813px) {

    /* !タイトル */
    #sub-page-title {
        background: url(../images/visit/main_img.jpg) top center no-repeat;
        background-size: cover;
    }
    
    /* box01 */
    #box01 {
        width: 100%;
        margin: 40px auto 0 auto;
    }
    
    #box01 > img {
        width: 256px;
        margin: 0 auto;
    }
    
    #box01 > p {
        margin: 40px 0 0 0;
    }
    
    #box01 > div {
        width: 100%;
        margin: 40px 0 0 0;
    }
    
    #box01 > div > p:nth-of-type(1) {
        display: inline-block;
        width: 234px;
        margin: 0 20px 0 0;
    }
    
    #box01 > div > p:nth-of-type(1) > img {
        width: 234px;
    }
    
    #box01 > div > p:nth-of-type(2) {
        display: inline-block;
        width: 240px;
        font-size: 14px;
    }
    
    
   
}


/*===============================================
●画面の横幅が812px以下(スマホのみ)
===============================================*/
@media screen and (max-width: 812px) {
    
    /* box01 */
    #box01 {
        width: 100%;
        margin: 50px auto 0 auto;
    }
    
    #box01 > img {
        width: 169px;
        margin: 0 auto;
    }
    
    #box01 > p {
        width: 94%;
        margin: 40px auto 0 auto;
    }
    
    #box01 > div {
        width: 100%;
        margin: 35px 0 0 0;
    }
    
    #box01 > div > p:nth-of-type(1) {
        margin: 0 0 10px 0;
    }
    
    #box01 > div > p:nth-of-type(1) img {
        width: 250px;
    }
    
    #box01 > div > p:nth-of-type(2) {
        font-size: 16px;
    }
    
    
}
