html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

.back_active {
    background-color: white;
    opacity: .2;
}

.wrap {
    width: 100%;
    height: max-content;
}

.wrap li {
    list-style: none;

}

.wrap a {
    text-decoration: none;
}

.wrap .select_section * {
    z-index: 1;
}

.wrap .select_section {
    height: 400px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    border: 1px solid black;
    color: white;
}

.wrap .select_section::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(../image/section4.jpg);
    background-position: top 30% right;

}

.wrap .select_section>span {
    font-size: 22px;
    font-weight: 700;
}

.wrap .select_section .btn_section {

    height: 50%;
    width: 800px;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

.wrap .select_section .btn_section li {
    width: 97px;
    height: 97px;
    margin: 25px;
    font-size: 10px;
    cursor: pointer;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.26);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.wrap .select_section .btn_section li:hover>a {
    background-color: white;
    opacity: .3;
}

.wrap .select_section .btn_section li .line {
    width: 20px;
    height: 20px;
    position: absolute;

}

.wrap .select_section .btn_section li .line_top {
    border-top: 1px solid white;
    border-left: 1px solid white;
    top: -1px;
    left: -1px
}

.wrap .select_section .btn_section li .line_bottom {
    border-bottom: 1px solid white;
    border-right: 1px solid white;
    bottom: -1px;
    right: -1px
}

.wrap .select_section .btn_section li a {
    position: absolute;
    width: 100%;
    height: 100%;
    color: white;

}

.wrap .select_section .btn_section li img {
    width: 50%;
    padding: 5px;
}

.wrap .content_section {
    display: flex;
    justify-content: center;
    margin: 7%;
 
}

.wrap .content_section>.txt {
    font-size: 2rem;
    font-weight: 700;
    margin-right: 20px;
    width: 150px;
    text-align: right;
    color: rgb(64, 46, 41);
}

.wrap .content_section .pic_info_section {
    width: 946px;
}

.wrap .content_section .pic_info_section .pic {
    width: 100%;
    background-image: url(../image/work/divorce.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 10px;

}

.wrap .content_section .pic_info_section .pic_txt {
    color: rgb(64, 46, 41);
    font-size: 21px;
}

.detail_title{
    font-size: 25px !important;
    font-weight: 800;
}

.pic_txt_detail li{
    margin: 15px;
    font-size: 22px;
    font-weight: 500;
    color: rgb(64, 46, 41);

}
html {
    scroll-behavior: smooth;
  }
.pic_txt_detail ul{
    text-align: left;
}
.scroll{
  position: fixed;
  top: 403px;
  margin-top: 7%;
  left: 100px;
  font-size: 20px;
  font-weight: 500;
}
.scroll a{
    text-decoration: none;
    color: rgb(64, 46, 41);;
}

.scroll>div{
    height: 50px;
    display: flex;
    align-items: center;
    padding-left: 10px;
    cursor: pointer;
    border-left: 3px solid rgba(64, 46, 41, 0.274);
}

.scroll_active{
    border-color:rgb(64, 46, 41) !important;
}
@media screen and (max-width: 1360px) {
    .scroll{
        
        display: none !important;
  
        
        
        font-size: 20px;
        font-weight: 500;
      }
      
    .scroll>div{
        height: 50px;
        display: flex;
        align-items: center;
        padding-left: 10px;
        cursor: pointer;
        border-left: 0;
        border-bottom: 3px solid rgba(64, 46, 41, 0.274);
    }
}
@media screen and (max-width: 1000px) {
    .wrap{
        height: auto;
    }
    .wrap .content_section {
        flex-direction: column;
        align-items: center;
        margin: 20% 3%;
        margin-top:10%
    }

    .wrap .content_section>.txt {
        font-size: 1.5rem;
        padding: 1rem;
        margin: 0;
        text-align: center;
    }

    .wrap .content_section .pic_info_section {
        width: 100%;
    }

    .wrap .content_section .pic_txt {
        font-size: 15px !important;
    }

    .pic_txt_detail li{
        margin: 15px;
        font-size: 15px;
        font-weight: 500;
    
    }

    .detail_title{
        font-size: 22px !important;
        font-weight: 800;
    }
}


@media screen and (max-width: 800px) {
    .wrap .select_section li {
        /*    width: 15vw !important;
            height: 15vw !important;*/
        margin: 10px !important;
    }

    .wrap .select_section .btn_section{
        width: 95% !important;
        height: 50% !important;
        padding: 4px 0 !important;
        margin-top: 0px !important;
    
    
    }

    .wrap  .select_section
    {
        justify-content: end !important;
        padding-bottom: 40px;
       
    }
    .wrap  .select_section>span{
        margin:20px;
        font-size: 15px;
    }


}

@media screen and (max-width: 600px ){
    .wrap  .select_section li{
        width: 20vw !important;
        height: 20vw !important;
        margin: 10px !important;
    }

    .wrap .select_section .btn_section{
        width: 90% !important;
        height: 50% !important;
        padding: 30px 0 !important;
        margin-top: 0px !important;
    
    
    } 

    .wrap  .select_section{
        justify-content: end !important;
    }

    .wrap  .select_section>span{
        margin-bottom: 0px;
        font-size: 17px !important;
    }
}