@charset "utf-8";

/*============================
事業内容　概要
============================*/
#service .lead {
    margin-bottom: 20px;
}

#service .lead span {
    font-size: 20px;
    display: block;
}

#service .strength {
    counter-reset: number;
}

#service .strength dt {
    font-size: 18px;
    position: relative;
    color: #0052cc;
    font-weight: 700;
}

#service .strength dt::before {
    counter-increment: number 1;
    content: counter(number, decimal-leading-zero) " ";
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 600;
}

#service .strength dd:not(:last-of-type) {
    margin-bottom: 25px;
}

#service .detail .flex {
    gap: 30px;
}

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

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

#service .detail .flex dl {
    flex: 1;
}

#service .detail .flex dl dt {
    font-size: 18px;
    font-weight: 700;
    background: #9fe4ff;
    color: #0052cc;
    border: 1px solid #0052cc;
    display: inline-block;
    padding: 0 25px;
    line-height: 40px;
    border-radius: 22px;
    margin-bottom: 15px;
}

#service .detail .flex dl dd ul {
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 2;
}

#service .detail .flex dl dd ul li {
    position: relative;
    padding-left: 15px;
}

#service .detail .flex dl dd ul li::before {
    content: "";
    width: 8px;
    height: 8px;
    display: block;
    background: #0052cc;
    border-radius: 4px;
    position: absolute;
    top: 12px;
    left: 0;
}

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

    #service .lead span {
        font-size: 16px;
    }

    #service .strength dd:not(:last-of-type) {
        margin-bottom: 15px;
    }

    #service .detail .flex {
        gap: 20px;
        flex-direction: column;
    }

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

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

    #service .detail .flex dl {
        flex: none;
    }

    #service .detail .flex dl dt {
        display: block;
        text-align: center;
    }

}