@charset "utf-8";

.sub_sec-reason{}


/*---------------------------------
    sub_sec-reason
----------------------------------*/
.sub_sec-reason{
    padding-block: 11rem 9rem;
    overflow: hidden;
}
.sub_sec-reason .sub_reason_inner{
    position: relative;
    z-index: 1;
}
.sub_reason_block {
    position: relative;
    align-items: stretch;
    z-index: 200;
}
    .sub_reason_block:not(:last-of-type){
        margin-bottom: 7rem;
    }
.sub_reason_block .sub_reason_txt {
    width: 45%;
        padding: 4rem 6rem 0 6rem;
        flex: 0 0 50rem;
        margin-right: -5rem;
    position: relative;
}
    .sub_reason_block .sub_reason_txt::before { /*数字*/
            width: 14rem;
            height: 10.4rem;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            position: absolute;
                top: 3.5rem;
                right: 2rem;
            display: block;
            content: "";
        }
            .sub_reason_block:nth-child(even) .sub_reason_txt::before { /*数字*/
                    top: 3.5rem;
                    right: 5rem;
            }
            .sub_reason_block:nth-of-type(1) .sub_reason_txt::before {
                background-image: url(../images/reason/r-01.png);
                    background-image: image-set(url(../images/reason/r-01.png) 1x, url(../images/reason/r-01@2x.png) 2x);
                    background-image: -webkit-image-set(url(../images/reason/r-01.png) 1x, url(../images/reason/r-01@2x.png) 2x);
            }
            .sub_reason_block:nth-of-type(2) .sub_reason_txt::before {
                background-image: url(../images/reason/r-02.png);
                    background-image: image-set(url(../images/reason/r-02.png) 1x, url(../images/reason/r-02@2x.png) 2x);
                    background-image: -webkit-image-set(url(../images/reason/r-02.png) 1x, url(../images/reason/r-02@2x.png) 2x);
            }
            .sub_reason_block:nth-of-type(3) .sub_reason_txt::before {
                background-image: url(../images/reason/r-03.png);
                    background-image: image-set(url(../images/reason/r-03.png) 1x, url(../images/reason/r-03@2x.png) 2x);
                    background-image: -webkit-image-set(url(../images/reason/r-03.png) 1x, url(../images/reason/r-03@2x.png) 2x);
            }
            .sub_reason_block:nth-of-type(4) .sub_reason_txt::before {
                background-image: url(../images/reason/r-04.png);
                    background-image: image-set(url(../images/reason/r-04.png) 1x, url(../images/reason/r-04@2x.png) 2x);
                    background-image: -webkit-image-set(url(../images/reason/r-04.png) 1x, url(../images/reason/r-04@2x.png) 2x);
            }
        .sub_reason_block .sub_reason_txt::after { /*画像*/
            background-size: contain;
            background-repeat: no-repeat;
                background-position: center;
            position: absolute;
            display: block;
            content: "";
        }
            .sub_reason_block:nth-of-type(1) .sub_reason_txt::after {
                width: 22rem;
                height: 19rem;
                background-image: url(../images/parts/gy_p-h.png);
                    background-image: image-set(url(../images/parts/gy_p-h.png) 1x, url(../images/parts/gy_p-h@2x.png) 2x);
                    background-image: -webkit-image-set(url(../images/parts/gy_p-h.png) 1x, url(../images/parts/gy_p-h@2x.png) 2x);
                bottom: -0.5rem;
                left: -0.5rem;
            }
            .sub_reason_block:nth-of-type(2) .sub_reason_txt::after {
                width: 31rem;
                height: 15rem;
                background-image: url(../images/parts/gy_gate.png);
                    background-image: image-set(url(../images/parts/gy_gate.png) 1x, url(../images/parts/gy_gate@2x.png) 2x);
                    background-image: -webkit-image-set(url(../images/parts/gy_gate.png) 1x, url(../images/parts/gy_gate@2x.png) 2x);
                bottom: 0;
                right: -0.5rem;
            }
            .sub_reason_block:nth-of-type(3) .sub_reason_txt::after {
                width: 16rem;
                height: 18rem;
                background-image: url(../images/parts/gy_tree.png);
                    background-image: image-set(url(../images/parts/gy_tree.png) 1x, url(../images/parts/gy_tree@2x.png) 2x);
                    background-image: -webkit-image-set(url(../images/parts/gy_tree.png) 1x, url(../images/parts/gy_tree@2x.png) 2x);
                bottom: -2.8rem;
                left: -5rem;
            }
            .sub_reason_block:nth-of-type(4) .sub_reason_txt::after {
                width: 22rem;
                height: 20.4rem;
                background-image: url(../images/parts/gy_house.png);
                    background-image: image-set(url(../images/parts/gy_house.png) 1x, url(../images/parts/gy_house@2x.png) 2x);
                    background-image: -webkit-image-set(url(../images/parts/gy_house.png) 1x, url(../images/parts/gy_house@2x.png) 2x);
                bottom: -4rem;
                right: 0;
            }

    .sub_reason_block .sub_reason_txt p{
        margin-bottom: 5rem;
    }
.sub_reason_block .sub_reason_img {
    width: calc(100vw / 2);
    height: 48rem;
        flex: 1;
        margin-right: calc(50% - 50vw);
    display: block;
    position: relative;
}
/*反転*/
.sub_reason_block.-reverse{
    flex-direction: row-reverse;
}
.sub_reason_block.-reverse .sub_reason_txt {
        margin-right: unset;
        margin-left: -5rem;
}
.sub_reason_block.-reverse  .sub_reason_img {
    margin-right: unset;
        margin-left: calc(50% - 50vw);
}
/*-------------------------------------
        responsive
-------------------------------------*/
/*-------------tab-----------------------*/
@media screen and (max-width:960px) and (min-width:600px){
    .sub_reason_block .sub_reason_txt {
        width: 50%;
        padding: 4rem 0 0 2rem;
        flex: 0 0 40rem;
        margin-right: -3rem;
        position: relative;
    }
    .sub_reason_block.-reverse .sub_reason_txt {
        margin-right: unset;
        margin-left: -3rem;
    }
}
/*-------------SP-----------------------*/
@media screen and (max-width:599px){
    .sub_sec-reason{        
        padding-block: 8rem 10rem;
    }
    .sub_reason_block{
        flex-direction: column;
    }
        .sub_reason_block:not(:last-of-type){
            margin-bottom: 5rem;
        }
    .sub_reason_block .sub_reason_txt {
        width: 100%;
            padding: 1.5rem 2rem 12rem 2rem;
            flex: unset;
            margin-right: 0;
    } 
    .sub_reason_block .sub_reason_txt::before{/*数字*/
        top: 2.5rem;
    }
                .sub_reason_block:nth-of-type(1) .sub_reason_txt::after {
                    bottom: -0.5rem;
                    left: -0.5rem;
                }
                .sub_reason_block:nth-of-type(2) .sub_reason_txt::after {
                    bottom: 5rem;
                    right: 3.5rem;
                }
                .sub_reason_block:nth-of-type(3) .sub_reason_txt::after {
                    bottom: -2.8rem;
                    left: -1rem;
                }
                .sub_reason_block:nth-of-type(4) .sub_reason_txt::after {
                    bottom: 2.5rem;
                    right: 0;
                }
    
        .sub_reason_block .sub_reason_txt p{
            margin-bottom: 5rem;
        }
    .sub_reason_block .sub_reason_img {
        width: 100vw;
        height: 70rem;
            flex: 1;
        display: block;
        position: relative;
    }
    /*反転*/
    .sub_reason_block.-reverse{
        flex-direction: column;
    }
    .sub_reason_block.-reverse .sub_reason_txt {
            margin-left: 0;
    }
    .sub_reason_block.-reverse  .sub_reason_img {
        margin-left: calc(50% - 55vw);
    }

}