@charset "utf-8";

/* ---------- common ---------------------------------------- */
/* button */
.button a {
    display: inline-block;
    width: 450px;
    text-decoration: none;
    text-align: center;
    transition: ease 0.2s;
    background-color: #EFEFEF;
    font-size: 18px;
    line-height: 55px;
}
.button a:hover {
    opacity: 0.5;
}


/* ---------- top ---------------------------------------- */

/* top-visual */
.top-visual {
    margin-bottom: 160px;
}
.top-visual img {
    width: 100%;
    height: auto;
}

/* top-intro */
.top-intro {
    margin-bottom: 150px;
}
.top-intro h2 {
    padding-bottom: 30px;
    font-size: 50px;
    text-align: center;
}
.top-intro p {
    text-align: center;
    line-height: 160%;
    margin-bottom: 1.5em;
}

/* title */
.title {
    margin-bottom: 50px;
    font-size: 36px;
    text-align: center;
}

/* ----- service ----- */
.service {
    margin-bottom: 300px;
}
.service-list {
    width: 800px;
    margin: auto
}
.service-block {
    display: flex;
    align-items: flex-end;
    flex-wrap: nowrap;
    background-color: #EFEFEF;
    margin-bottom: 30px;
}
.service-img img {
    width: 400px;
    height: auto;
}
.service-text {
    box-sizing: border-box;
    width: 400px;
    padding: 40px;

}
.service-text h3 {
    padding-bottom: 15px;
    font-size: 36px;
}
.service-text p {
    font-size: 14px;
}

/* ----- about ----- */
.about {
    margin-bottom: 300px;
    text-align: center;
}
.about-intro {
    margin-bottom: 100px;
}
.about-logo {
    width: 320px;
    height: auto;
    margin-bottom: 50px;
}

.about-photos {
    font-size: 0;
}
.about-photos img {
    display: inline-block;
    width: 244px;
    height: auto;
    margin: 6px;
}

.about-cross {
    margin: 55px auto;
}
.about-cross img {
    width: 60px;
    height: auto;
}

.about-blocks {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: nowrap;
}
.about-block {
    margin: 6px;
}
.about-block img {
    width: 180px;
    height: auto;
}
.about-block p {
    padding-top: 10px;
    font-size: 18px;
}

/* ----- contact ----- */
.contact {
    margin-bottom: 240px;
    text-align: center;
}
.contact h3 {
    padding-bottom: 30px;
    font-size: 30px;
}
.contact .button {
    margin-top: 50px;
}

/* ----- company ----- */
.company {
    margin-bottom: 300px;
    text-align: center;
}
.company-logo {
    width: 90px;
    height: auto;
}
.company h3 {
    padding-top: 36px;
    padding-bottom: 20px;
    font-size: 30px;
}



@media only screen and (max-width: 768px) {



    .box {
        width: 80%;
        margin: 0 auto;
    }

    /* ---------- common ---------------------------------------- */
    /* button */
    .button a {
        width: 100%;
        font-size: 16px;
        line-height: 50px;
    }


    /* ---------- top ---------------------------------------- */
    /* top-visual */
    .top-visual {
        margin-bottom: 80px;
    }

    /* top-intro */
    .top-intro {
        margin-bottom: 60px;
    }
    .top-intro h2 {
        padding-bottom: 20px;
        font-size: 26px;
    }
    .top-intro p {
        line-height: 160%;
        margin-bottom: 1.5em;
        text-align: left;
    }
    .top-intro p br {
        display: none;
    }

    /* title */
    .title {
        margin-bottom: 30px;
        font-size: 22px;
    }

    /* ----- service ----- */
    .service {
        margin-bottom: 100px;
    }
    .service-list {
        width: 100%;
        margin: auto
    }
    .service-block {
        display: flex;
        align-items: flex-end;
        flex-wrap: wrap;
        margin-bottom: 30px;
    }
    .service-img {
        width: 100%;
    }
    .service-img img {
        width: 100%;
        height: auto;
    }
    .service-text {
        width: 100%;
        padding: 18px;
        
    }
    .service-text h3 {
        padding-bottom: 10px;
        font-size: 18px;
    }
    .service-text p {
        font-size: 12px;
    }

    /* ----- about ----- */
    .about {
        margin-bottom: 100px;
    }
    .about-intro {
        margin-bottom: 40px;
    }
    .about-intro p {
        text-align: left;
    }
    .about-intro p br {
        display: none;
    }
    .about-logo {
        width: 160px;
        margin-bottom: 20px;
    }

    .about-photos img {
        display: inline-block;
        width: 250px;
        margin: 3px;
    }

    .about-cross {
        margin: 40px auto;
    }
    .about-cross img {
        width: 50px;
    }

    .about-blocks {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        flex-wrap: wrap;
    }
    .about-block {
        position: relative;
        margin: 3px;
    }
    .about-block img {
        width: 250px;
        height: auto;
    }
    .about-block p {
        position: absolute;
        left: 12px;
        bottom: 4px;
        padding-top: 0;
        font-size: 22px;
        color: #FFF;
    }

    /* ----- contact ----- */
    .contact {
        margin-bottom: 120px;
        text-align: center;
    }
    .contact h3 {
        padding-bottom: 1em;
        font-size: 14px;
        line-height: 160%;
        text-align: left;
    }
    .contact p {
        text-align: left;
    }
    .contact p br {
        display: none;
    }
    .contact .button {
        margin-top: 40px;
    }

    /* ----- company ----- */
    .company {
        margin-bottom: 150px;
        text-align: center;
    }
    .company-logo {
        width: 85px;
        height: auto;
    }
    .company h3 {
        padding-top: 24px;
        padding-bottom: 24px;
        font-size: 18px;
    }
    .company p {
        text-align: left;
    }
    .company p br {
        display: none;
    }

}