img {
    width: 100%;
}

.before-and-after {
    padding-top: 50px;
}

.content__bg {
    background-image: url('../img/before-and-after/content__bg.png');
    background-size: cover;
    background-repeat: no-repeat;
}

.before-and-after__info {
    margin-top: 44px;
    padding-bottom: 60px;
}

.before-and-after__info__list {}

.before-and-after__info__list li {
    margin-bottom: 72px;
}

.before-and-after__info__list__before {
    display: flex;
}

.before__icon {
    min-width: 81px;
    max-width: 81px;
    z-index: 10;
    transform: translateY(-8px);

    display: none;
}

.before__fukidashi {
    /* min-width: 292px; */
    max-width: 292px;
    /* margin-left: -28px; */
    position: relative;
    z-index: 1;
}

.before__fukidashi__txt {
    position: absolute;
    top: 25px;
    font-size: 24px;
    font-weight: 500;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    color: #423F39;
    margin-left: 35px
}

.before-and-after__info__list__after {
    border: #2C2C2C 3px solid;
    background-color: #fff;
    border-radius: 17px;
    margin-top: -82px;
    padding: 90px 17px 37px;
    filter: drop-shadow(10px 10px 0 #0000001a);
}

.after__img {
    position: relative;
}

.after__img__txt {
    font-size: 32px;
    position: absolute;
    top: 10px;
    left: auto;
    right: 10px;
    font-family: 'Bungee Inline', cursive;
}

.after__txt {
    line-height: calc(32/16);
    margin-top: 20px;
}

.before-and-after__under__txt {
    margin-top: -12px;
    line-height: calc(32/16);
    margin-bottom: 60px;
}

.bg01 {
    position: relative;
}

.bg01::before {
    background-image: url('../img/before-and-after/bg01.png');
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    width: 93px;
    height:266px;
    content: '';
    top:-222px;
    position: absolute;
    right: -120px;

}

.bg02 {
   
    position: relative;
}

.bg02::before {
   
    background-image: url('../img/before-and-after/bg02.png');
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    width: 60px;
    height:48px;
    content: '';
  bottom: -62px;
    position: absolute;
    right: 5px;
}

.bg03 {
    position: relative;
}

.bg03::before {
    
    background-image: url('../img/before-and-after/bg03.png');
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    width: 75px;
    height:72px;
    content: '';
  bottom: -75px;
    position: absolute;
    left: -32px;
}

.bg04 {
    position: relative;
}

.bg04::before {
    background-image: url('../img/before-and-after/bg04.png');
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    width: 62px;
    height:59px;
    content: '';
  bottom: -62px;
    position: absolute;
    right: -15px;
}

@media screen and (min-width: 768px) {
    .content-wrapper {
        max-width: 1020px;
    }

    .content__bg {
        background-image: url('../img/before-and-after/content__bg-pc.png');
        background-size: cover;
        background-repeat: no-repeat;
        overflow: hidden;
    }

    .before-and-after__info {
        margin-top: 194px;
    }

    .before-and-after__info__list {}

    .before-and-after__info__list li {
        display: flex;
        max-width: 921px;
        margin-bottom:164px ;

    }

    .before-and-after__info__list li:nth-child(2n){
        margin-left: auto;
    }

    .before-and-after__info__list__before {
        display: flex;
        position: relative;
    }

    .before__icon {
        min-width: 163px;
        max-width: 163px;
        z-index: 10;
        transform: translateY(25px);
    }

    .before__fukidashi {
        min-width: 292px;
        max-width: 292px;
        margin-left: -0;
        position: relative;
        position: absolute;
        top: -50px;
        left: 94px;

    }

    .before__fukidashi__txt {
        position: absolute;
        top: 25px;
        margin-left: 0;
        right: 0;
        left: 0;
        margin: auto;
        text-align: center;

    }

    .before-and-after__info__list__after {
        border: #2C2C2C 3px solid;
        background-color: #fff;
        border-radius: 17px;
        margin-top: -0;
        padding: 17px;
        margin-left: -30px;
        display: flex;
        flex-direction: row-reverse
    }

    .after__img {
        position: relative;
        width: 45%;
        margin-left: 5.3%;
    }

    .after__img__txt {
        font-size: 32px;
        position: absolute;
        top: 10px;
        left: auto;
        right: 10px;
        font-family: 'Bungee Inline', cursive;

    }

    .after__txt {
        line-height: calc(32/16);
        margin-top: 0;
        width: 55%;
        padding: 40px 0 0 40px;
      
    }
    .before-and-after__under__txt{
        max-width: 720px;
        margin: 0 auto;
        margin-top: -90px;
        margin-bottom: 60px;
    }
    @media screen and (max-width: 1100px){
    .bg01::before {
        background-image: url('../img/before-and-after/bg01.png');
        display: inline-block;
        background-repeat: no-repeat;
        background-size: contain;
        width: 150px;
        height:243px;
        content: '';
        top:-25px;
        position: absolute;
        right: -320px;
    
    }}
    
    
   

}

@media screen and (min-width: 1100px){
    .bg01::before {
        background-image: url('../img/before-and-after/bg01.png');
        display: inline-block;
        background-repeat: no-repeat;
        background-size: contain;
        width: 187px;
        height:273px;
        content: '';
        top:-100px;
        position: absolute;
        right: -520px;
    
    }
    
   
    .bg02::before {
       
        background-image: url('../img/before-and-after/bg02.png');
        display: inline-block;
        background-repeat: no-repeat;
        background-size: contain;
        width: 120px;
        height:96px;
        content: '';
      bottom: -92px;
        position: absolute;
        right: -155px;
    }
    
    
    .bg03::before {
        
        background-image: url('../img/before-and-after/bg03.png');
        display: inline-block;
        background-repeat: no-repeat;
        background-size: contain;
        width:150px;
        height:145px;
        content: '';
      bottom: -125px;
        position: absolute;
        left: -152px;
    }
    
    
    .bg04::before {
        background-image: url('../img/before-and-after/bg04.png');
        display: inline-block;
        background-repeat: no-repeat;
        background-size: contain;
        width:112px;
        height:107px;
        content: '';
      bottom: -92px;
        position: absolute;
        right: -155px;
    }
}