@charset "utf-8";

/*============================
事業内容　概要
============================*/

#service {
    counter-reset: no;
}

#service .lead p {
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    padding: 90px 30px;
}

@media only screen and (max-width: 768px) {
    #service .lead p {
        font-size: 17px;
        padding: 60px 20px;
    }
}

/*============================
選ばれる理由
============================*/
#service .strength {
    counter-reset: number 0;
}

#service .strength .flex {
    margin-bottom: 30px;
}

#service .strength .flex .icon {
    position: relative;
    width: 280px;
    background-color: #f1f4f9;
}

#service .strength .flex .icon::before {
    counter-increment: number 1;
    content: "/"counter(number, decimal-leading-zero) " ";
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    color: #1058ad;
    letter-spacing: 0.04em;
}

#service .strength .flex img {
    width: 100%;
}

#service .strength .flex dl {
    width: 455px;
}

#service .strength .flex dt {
    width: 240px;
    text-align: center;
    background-color: #1058ad;
    color: #fff;
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    padding: 5px 10px;
}

#service .strength .flex dd {
    margin-top: 15px;
}

#service .strength .box {
    background-color: #eee;
    padding: 20px;
}

#service .strength .box li {
    padding-left: 1em;
    text-indent: -1em;
}

#service .strength .box li:not(:first-child) {
    margin-top: 5px;
}

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

    #service .strength .flex .icon {
        width: 100%;
    }

    #service .strength .flex img {
        max-width: 250px;
        margin: auto;
    }

    #service .strength .flex dl {
        width: 100%;
    }

    #service .strength .flex dt {
        width: 100%;
        font-size: 16px;
    }
}

/*============================
事業内容一覧
============================*/
#service .detail .flex {
    background: #f2f2f2;
}

#service .detail .flex:not(:last-child) {
    margin-bottom: 40px;
}

#service .detail .flex img {
    width: 360px;
}

#service .detail .flex .text {
    flex: 1;
    padding: 30px;
}

#service .detail .flex .text h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

@media only screen and (max-width: 768px) {
    #service .detail .flex {
        flex-direction: column;
    }

    #service .detail .flex:not(:last-child) {
        margin-bottom: 20px;
    }

    #service .detail .flex img {
        width: 100%;
    }

    #service .detail .flex .text {
        flex: 1;
        padding: 20px;
    }
}
