@charset "UTF-8";


/* ファーストビュー */
#first_view{
    height: 640px;
    background-image: url(../img/service/fv.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#first_view .catch{
    margin: 0 auto;
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ファーストビュー画面縮小時に以下表示 */
#first_view .sp_contact{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 3rem;
    display: none;
    background-color: #000000;
}

#first_view .sp_contact .tel{
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    width:60%;
    padding: 0 .25rem;
    display: flex;
    align-items: center;
}

#first_view .sp_contact .tel span{
    color: #ffffff;
    font-size: 1rem;
    padding:0 0 0 1rem;
    font-weight: normal;
}

#first_view .sp_contact .tel a{
    color: #fff;
}

#first_view .sp_contact .reserve{
    color: #000000;
    background-color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    width: 40%;
    padding: 0 0 0 1rem;
    word-break: keep-all;
    white-space: nowrap;
    display: flex;
    align-items: center;
}


/* サービス */
#service{
    padding-top: 5rem;
}

#service h2{
    padding-bottom: 2rem;
}

#service .service{
    text-align: center;
    width: 100%;
    min-width: 20rem;
    margin-bottom: 5rem;
}

#service .service .content p{
    font-size: 1rem;
    line-height: 2rem;
    padding: .5rem;
}


/* コンテンツ */
.contents_wrapper{
    width: 100%;
    padding: 3rem 0;
}

.contents_wrapper .contents,
.contents_wrapper .image{
    width: 40%;
} 

.contents_wrapper .contents{
    text-align: center;
}

.contents_wrapper .contents .content{
    width: 100%;
    margin: 0 auto;
    padding-right: 4rem;
    text-align: left;
}

.contents_wrapper .contents .content p{
    margin: 1rem 0;
}

.contents_wrapper .contents .content p.additional{
    font-size: .9rem;
    color: #5D5D5D;
}

.contents_wrapper .contents .content h3{
    font-size: 1.5rem;
}

.contents_wrapper .contents .content h3 span{
    font-size: 2.5rem;
    color: #9AD54B;
}

/* 背景 */
.contents_wrapper .image{
    height: 320px;
    max-height: 65vw;
    max-width: 600px;
    border-radius: 2.5rem;    
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
}
.contents_wrapper.contents_1 .image{
    background-image: url(../img/service/service_1.png);
}
.contents_wrapper.contents_2 .image{
    background-image: url(../img/service/service_2.png);
}
.contents_wrapper.contents_3 .image{
    background-image: url(../img/service/service_3.png);
}
.contents_wrapper.contents_4 .image{
    background-image: url(../img/service/service_4.png);
}
.contents_wrapper.contents_5 .image{
    background-image: url(../img/service/service_5.png);
}
.contents_wrapper.contents_6 .image{
    background-image: url(../img/service/service_6.png);
}

/* 番号ごとに背景色切り替え */
.contents_1,
.contents_3,
.contents_5{
    background-color: #F4F4F4;
}

.contents_2,
.contents_4,
.contents_6{
    background-color: #ffffff;
}


/* 体験 */
#trial{
    margin-top: 6rem;
}

#trial .content{
    width: 100%;
    height: 320px;
    background-image: url(../img/service/start.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom right;
}

#trial .trial,
#trial .content .contact{
    width: 45%;
    max-width: 500px;
    padding: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#trial .trial h3{
    font-size: 2.5rem;
    color: #188E18;
    margin-bottom: 1rem;
}

#trial .trial p{
    color: #ffffff;
    line-height: 1.5rem;
}

#trial .content .contact{
    text-align: center;
    letter-spacing: .2rem;
}

#trial .content .contact .message{
    width: 100%;
    background-color: #000000;
    color: #ffffff;
}

#trial .content .contact .message p{
    line-height: 2.5rem;
}

#trial .content .contact .tel{
    background-color: #F7F7F7;
    padding-bottom: 1rem;
    padding-top: .5rem;
}

#trial .content .contact .tel p{
    line-height: 1.75rem;
    font-size: 0.8rem;
}

#trial .content .contact .tel .number{
    font-size: 1.25rem;
    line-height: 2.5rem;
}

#trial .content .contact .tel .number span{
    font-size: 2rem;
    font-weight: bold;
}

#trial .content .contact .tel .number a{
    color: #000;
}

#trial .apply{
    width: 100%;
    text-align: center;
    margin: 4rem 0;
}

#trial .apply a{
    width: 25%;
    font-size: 1.5rem;
    color: #ffffff;
    background-color: #000000;
    padding: .75rem 2rem;
}

#sns {
    text-align: center;
    margin: 6rem 0 4rem;
}

#sns h2{
    padding-bottom: 1rem;
}

#sns h5 {
    padding-bottom: 2rem;
}

#sns .content {
    max-width: 90%;
    width: 400px;
    margin: 0 auto;
    max-height: 300px;
    overflow: auto;
}

/* タブレットサイズ */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    #service .service{
        margin-bottom: 0;
    }

    .contents_wrapper{
        padding: 3rem 0;
        flex-direction: column;
    }
    
    .contents_wrapper .contents,
    .contents_wrapper .image{
        width: 100%;
    } 
    
    .contents_wrapper .image{
        order: 1;
    } 

    .contents_wrapper .contents{
        order: 2;
    } 

    .contents_wrapper .contents .content{
        text-align: center;
        margin: 0 auto;
        margin-top: .5rem;
        padding-right: 0;
    }

    .contents_wrapper .contents .content p.additional{
        display: none;
    }

    .contents_wrapper .image{
        width: 100%;
        max-width: none;
        border-radius: 0;
    }

    #trial .content{
        flex-direction: column;
        background-image: none;
        background-color: #9AD54B;
        height: auto;
        text-align: center;
    }

    #trial .trial,
    #trial .content .contact{
        width: 100%;
        max-width: none;
    }

    #trial .trial h3{
        padding: 1rem 0;
        background-color: #188E18;
        color: #ffffff;
    }

    #trial .content .contact{
        max-width: 500px;
        margin: 1rem auto;
    }

    #trial .apply a{
        font-size: 1rem;
        border-radius: 2rem;
    }

    .footer_wrapper .contact{
        display: none;
    }
}

/* スマホサイズ */
@media screen and (max-width: 768px) {
    #first_view{
        width: 100%;
        height: 100vh;
    }
    
    #first_view .sp_contact{
        display: flex;
    }


    @media screen and (max-width: 399px) {
        #first_view .sp_contact .tel span,
        #first_view .sp_contact .reserve{
            padding-left: .375rem;
        }
        #first_view .sp_contact{
            height: 4rem;
        }
    }

    .contents_wrapper{
        padding: 3rem 0;
        flex-direction: column;
    }
    
    .contents_wrapper .contents,
    .contents_wrapper .image{
        width: 100%;
    } 
    
    .contents_wrapper .image{
        order: 1;
    } 

    .contents_wrapper .contents{
        order: 2;
    } 

    .contents_wrapper .contents .content{
        text-align: center;
        margin: .5rem auto 0;
        padding-right: 0;
    }

    .contents_wrapper .contents .content p{
        font-size: .9rem;
        padding: 0 1rem;
    }

    .contents_wrapper .contents .content h3{
        font-size: 1.25rem;
    }
    
    .contents_wrapper .contents .content h3 span{
        font-size: 2rem;
    }

    .contents_wrapper .contents .content p.additional{
        display: none;
    }

    .contents_wrapper .image{
        width: 94%;
        max-width: none;
        border-radius: 0;
        margin: 0 auto;
    }

    #trial .content{
        flex-direction: column;
        background-image: none;
        background-color: #9AD54B;
        height: auto;
        text-align: center;
    }

    #trial .trial,
    #trial .content .contact{
        width: 100%;
        max-width: none;
    }

    #trial .trial h3{
        padding: 1rem 0;
        background-color: #188E18;
        color: #ffffff;
        font-size: 1.75rem;
    }

    #trial .trial p{
        font-size: .75rem;
    }

    #trial .content .contact{
        max-width: calc(100% - 2rem);
        width: 500px;
        margin: 1rem auto;
        letter-spacing: .1rem;
    }

    #trial .content .contact .tel p{
        line-height: 1.5rem;
        font-size: .7rem;
    }
    
    #trial .content .contact .tel .number{
        font-size: 1rem;
    }
    
    #trial .content .contact .tel .number span{
        font-size: 1.4rem;
    }
    
    #trial .apply a{
        font-size: 1rem;
        border-radius: 2rem;
    }

    .footer_wrapper .contact{
        display: none;
    }
}