@charset "utf-8";

/* --------------------------------------------

mainV

---------------------------------------------- */

#main {
    position: relative;
    margin: -80px 0 160px;
    z-index: 2;
}

.slide {
    height: 100vh;
    overflow: hidden;
}

@media only screen and (max-width:640px) {

    #main {
        margin: 0px 0 80px;
    }

    .slide {
        height: auto;
        overflow: hidden;
        margin-top: 100px;
    }
}


/* --------------------------------------------

lead

---------------------------------------------- */

.lead {
    margin: 0 0 120px;
}

.lead .asuka {
    display: flex;
    justify-content: end;
    align-items: center;
    flex-wrap: nowrap;
    gap: 40px;
    margin-right: 80px;
}

.lead .asuka img {
    width: 200px;
}

.lead h1 {
    position: relative;
    font-size: 96px;
    font-size: 9.6rem;
    text-align: center;
}

.lead p {
    margin: 60px 0;
    text-align: center;
}


@media only screen and (max-width:640px) {

    .lead {
        margin: 40px 3% 80px;
    }

    .lead .asuka {
        justify-content: center;
        gap: 20px;
        margin: 20px 0;
    }

    .lead .asuka img {
        width: 100px;
    }

    .lead h1 {
        font-size: 28px;
        font-size: 2.8rem;
    }

    .lead p {
        margin: 40px 0;
        text-align: justify;
    }

}


/* --------------------------------------------

service

---------------------------------------------- */

.service {
    padding: 120px 0;
    background-color: #FFF9EE;
}

.service__wrap {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.service__box {
    width: 460px;
    padding: 40px;
    border: 1px solid #B9B9B9;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0px 0px 8px 0px rgba(185, 185, 185, 0.5);
}

.service__box h3 {
    font-size: 24px;
    font-size: 2.4rem;
    text-align: center;
}

.service__box img {
    width: 100%;
    margin: 20px 0;
}

.service__box p {
    text-align: center;
}

@media only screen and (max-width:640px) {

    .service {
        padding: 80px 3%;
    }

    .service__wrap {
        display: block;
    }

    .service__box {
        width: 100%;
        margin: 40px 0;
        text-align: center;
    }

    .service__box img {
        width: 80%;
    }
}


/* --------------------------------------------

news

---------------------------------------------- */

.news {
    margin: 120px 80px;
}

.news__wrap {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.news__box {
    width: 400px;
    padding: 20px;
    border: 1px solid #B9B9B9;
    border-radius: 20px;
    box-shadow: 0px 0px 8px 0px rgba(185, 185, 185, 0.5);
}

.news__box img {
    width: 100%;
}

.news__box h3 {
    margin-top: 10px;
    font-size: 20px;
    font-size: 2rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media only screen and (max-width:640px) {
    .news {
        margin: 120px 3%;
    }

    .news__wrap {
        display: block;
    }

    .news__box {
        width: 100%;
        margin: 40px auto;
        text-align: center;
    }
}