@charset "utf-8";

/*============================
business
============================*/

#business {
    position: relative;
}

#business::before {
    content: "";
    background: url(../images/bg_house.png)no-repeat center bottom;
    background-size: 100%;
    width: 1042px;
    height: 200px;
    position: absolute;
    right: -100px;
    bottom: -10px;
}

#business::after {
    content: "";
    background: url(../images/trouble.png)no-repeat center bottom;
    background-size: 100%;
    width: 535px;
    height: 200px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -20px;
    margin: auto;
}

#business .before {
    align-items: stretch;
    grid-gap: 40px;
    margin-bottom: 220px;
}

#business .before .box {
    width: 500px;
    border-radius: 30px;
    overflow: hidden;
    background: var(--bg03-color);
}

#business .before .box .photo {
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-top: 60%;
    position: relative;
}

#business .before .box .photo img {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#business .before .box .text {
    padding: 15px 20px;
}

#business .before .box .text h3 {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--bg01-color);
    text-align: center;
}

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

    #business::before {
        content: "";
        background: url(../images/bg_house.png)no-repeat center bottom;
        background-size: 100%;
        width: 521px;
        height: 100px;
        position: absolute;
        right: 0;
        left: 0;
        margin: auto;
        bottom: -10px;
    }

    #business::after {
        content: "";
        background: url(../images/trouble.png)no-repeat center bottom;
        background-size: 100%;
        width: 268px;
        height: 100px;
        position: absolute;
        left: 0;
        right: 0;
        bottom: -20px;
        margin: auto;
    }

    #business .before {
        grid-gap: 20px;
        margin-bottom: 110px;
    }

    #business .before .box {
        width: 100%;
    }

    #business .before .box .photo {}

    #business .before .box .photo img {}

    #business .before .box .text {
        padding: 15px 20px;
    }

    #business .before .box .text h3 {
        margin-bottom: 10px;
    }
}

/*============================
business_detail
============================*/
#business_detail.bg_right {
    margin-top: 0;
}

#business_detail .flex:not(:last-of-type) {
    margin-bottom: 40px;
}

#business_detail .flex .photo {
    width: 440px;
    border-radius: 30px;
    overflow: hidden;
}

#business_detail .flex .photo img {
    width: 100%;
}

#business_detail .flex .text {
    width: 500px;
}

@media only screen and (max-width: 768px) {
    #business_detail.bg_right {}

    #business_detail .flex:not(:last-of-type) {
        margin-bottom: 40px;
    }

    #business_detail .flex .photo {
        width: 100%;
        height: 0;
        padding-top: 68.18%;
        position: relative;
        margin-bottom: 15px;
    }

    #business_detail .flex .photo img {
        width: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        position: absolute;
        transform: translate(-50%, -50%);
    }

    #business_detail .flex .text {
        width: 100%;
    }

}

/*============================
system
============================*/
#system .box {
    background: var(--bg03-color);
    padding: 40px;
    border-radius: 30px;
    margin-bottom: 30px;
}

#system p.bg {
    border-radius: 37px;
    font-size: 20px;
}

#system img {
    width: 100%;
    margin-top: 20px;
}


@media only screen and (max-width: 768px) {
    #system .box {
        padding: 20px;
        margin-bottom: 15px;
    }

    #system p.bg {
        text-align: left;
        border-radius: 30px;
        font-size: 16px;
    }

    #system img {
        background: url(../../images/common/money_illust_sp.png) no-repeat center center;
        background-size: 100%;
        width: 100%;
        height: 0;
        padding-top: 251.22%;
        margin-top: 20px;
    }
}
