.environment{
    padding-top: 150px;
    position: relative;
}

.environment__heading{
    flex-direction: column;
    gap: 30px;
    margin-bottom: 0!important;
}

.environment__title{
font-weight: 900;
font-size: 50px;
line-height: 110.00000000000001%;
letter-spacing: 0.05em;
text-align: center;

}

.environment__items{
    display: flex;
    flex-wrap: wrap;
    gap: 55px;
    padding-bottom: 71px;
    margin-top: 60px;

}

.environment__item{
    width: calc(33.3333% - 55px * 2 / 3);
    aspect-ratio: 390 / 284;
    background-image: url(../img/pc/top/sec6_item01_bg_on.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    transition: all 0.3s ease;
}

.environment__item:hover{
    background-image: url(../img/pc/top/sec6_item01_bg.png);
}

.environment__item:nth-of-type(2){
    background-image: url(../img/pc/top/sec6_item02_bg_on.png);
}

.environment__item:nth-of-type(2):hover{
    background-image: url(../img/pc/top/sec6_item02_bg.png);
}

.environment__item:nth-of-type(3){
    background-image: url(../img/pc/top/sec6_item03_bg_on.png);
}

.environment__item:nth-of-type(3):hover{
    background-image: url(../img/pc/top/sec6_item03_bg.png);
}

.environment__link{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.environment__heading{
font-weight: 700;
font-size: 32px;
line-height: 140%;
letter-spacing: 0.05em;
color: #B81C22;
margin-bottom: 15px;

}

.environment__text{
font-weight: 500;
font-size: 18px;
line-height: 180%;
letter-spacing: normal;
text-align: center;
max-width: 230px;
width: 100%;
margin: 0 auto;
margin-top: 15px;
}

.environment__bottom {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    bottom: 0;
    width: 100%;
    text-align: center;
}

.environment__bottom img{
    display: block;
    width: 75%;
    margin: 0 auto;
}

.environment__circle{
    width: 220px;
    height: 220px;
    position: absolute;
    left: 80px;
    top: 0;
}

.environment__circle::before{
    background-image: url(../img/pc/top/sec6_ill.svg);
    width: 90px;
    height: 90px;
}

@media screen and (max-width: 1280px) {
    .environment__items{
        gap: calc((55 / 1280) * 100vw);
    }

    .environment__item{
        width: calc(33.3333% - (55 / 1280) * 100vw * 2 / 3);
    }

    .environment__heading{
        font-size: calc((32 / 1280) * 100vw);
    }

    .environment__text{
        font-size: calc((18 / 1280) * 100vw);
        margin-top: calc((15 / 1280) * 100vw);
        max-width: 85%;
    }
}

@media screen and (max-width: 991px) {
    .environment__circle{
        width: 160px;
        height: 160px;
        position: absolute;
        left: -30px;
        top: 0;
    }
    
    .environment__circle::before{
        background-image: url(../img/pc/top/sec6_ill.svg);
        width: 75px;
        height: 75px;
    }
}

@media screen and (max-width: 768px) {
    .environment{
        margin-top: 0;
        padding-top: 120px;
    }
    .environment__title{
        font-size: 40px;
        line-height: 140%;        
        }

        .environment__heading{
            gap: 15px;
        }
    .environment__items{
        flex-direction: column;
        gap: 20px;
        padding-top: 30px;
        max-width: 268px;
        margin: 0 auto;
    }

    .environment__item{
        width: 100%;
        margin: 0 auto;
        aspect-ratio: 390 / 280;
    }



    .environment__heading{
        font-size: 26px;
        margin-bottom: 5px;
        
        }
        
        .environment__text{
        font-size: 14px;
        line-height: 170%;
        max-width: 200px;
        }

        .environment__item:nth-of-type(n + 2){
            margin-top: 50px;
        }

        .environment__bottom img{
            width: 75%;
        }

        .environment__bottom{
            bottom: 1px;
        }

}