#wrap {
    background-color: #f4f4f6;
}
.title_box {
    padding: 40px 0;
    border-top: 1px solid #ececec;
    border-bottom: 2px solid #ececec;
    text-align: center;
    margin-bottom: 50px;
}
.title_box .title{
    display: flex;
    align-items: center;
    margin: 0 auto;    
    font-size: 22px;
    font-weight: 600;
    justify-content: center;
}
.title_box .title img {
    width: 2%;
    margin-right: 5px;
}
.image-container {
    position: relative;
}

.banner {
    width: 100%;
    height: auto;
}
.section_B1-1 .title_box, .section_B1-2 .title_box,.section_B1-3 .title_box,.section_B1-4 .title_box,.section_B1-5 .title_box,.section_B1-6 .title_box,
.section_B1-7 .title_box,.section_B1-8 .title_box,.section_B1-9 .title_box,.section_B1-10 .title_box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 20px;
    border-top: none;
    border-bottom: none;
    width: 100%;
}
.section_B1-1 .title, .section_B1-2 .title, .section_B1-3 .title, .section_B1-4 .title, .section_B1-5 .title, .section_B1-6 .title, .section_B1-7 .title, .section_B1-8 .title,
.section_B1-9 .title, .section_B1-10 .title  {
    color: #fff;
}
.section_A1 .content1, .section_B1 .content1 , .section_C1 .content1, .section_D1 .content1  {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 0;
  
}
.section_A1 .content1 .box, .section_C1 .content1 .box, .section_D1 .content1 .box {
    background-color: unset;
}
.section_C1, .section_D1 {
    height: 100vh;
}
.content1 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 80px;
    padding-bottom: 50px;
}
.section_A1 .content1 .box, .section_C1 .content1 .box, .section_D1 .content1 .box  {
    display: flex;
    padding: unset;
    margin-top: unset;
    flex-wrap: wrap;
    gap: 20px;
    border: none;
    justify-content: center;
}
.section_A1 .content1 .box a, .section_C1 .content1 .box a, .section_D1 .content1 .box a {
    flex: 1 1 calc(25% - 20px);  /* 4개씩 배치되고, 아이템 간에 20px 간격 */
    flex-direction: column;
    display: flex;
    align-items: center;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 20px; 
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;  /* 글자색 변경을 부드럽게 전환 */
}

/* 호버 시 글자 색 변경 */
.section_A1 .content1 .box a:hover, 
.section_C1 .content1 .box a:hover, 
.section_D1 .content1 .box a:hover {
    color: #4854f1; /* 호버 시 글자 색상 */
}
.section_A1 .content1 .box a img, 
.section_C1 .content1 .box a img, 
.section_D1 .content1 .box a img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    padding: 40px 58px;
    background-color: #fff;
    border-radius: 10px;
    transition: border 0.1s ease; /* 호버 시 테두리 효과 부드럽게 전환 */
}

/* 호버 시 테두리 추가 */
.section_A1 .content1 .box a img:hover, 
.section_C1 .content1 .box a img:hover, 
.section_D1 .content1 .box a img:hover {
    border: 2px solid #4854f1; /* 호버 시 테두리 색상 */
}

.section_B1 .box {
    width: 100%;
    margin: 0;
    border-radius: 10px;
    transition: border 0.1s ease; /* 테두리가 부드럽게 전환되도록 설정 */
}

/* 호버 시 테두리 추가 */
.section_B1 .box:hover {
    border: 2px solid #4854f1; /* 원하는 색상으로 테두리 추가 */
}

.flex {
    display: flex;
    width: 100%;
    gap: 15px;
    margin-bottom: 20px;
}

.sub_title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}
.box {
    padding: 30px 20px;
    margin-top: 20px;
    border-radius: 5px;
    background-color: #fff;
}

.box .con{
    font-size: 18px;
    line-height: 1.3;
}
.box .con .point3{
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
}

.bottom {
    background-color: #fff;
}
.btn_group {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 10px;
}
.list {
    text-align: right;
}
.list a, .top_button{
    border: 1px solid #7a83f5;
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 30px;
    margin-top: 40px;
    gap: 15px;
    font-size: 16PX;
    color: #424ef0;
}
.top_button_wrap {
}


.top_button img{
}
.btn_wrap1 {
    text-align: center;
    width: 1200px;
    margin: 0 auto;
    gap: 25px;
    display: flex;
    flex-direction: column;
}
.btn_wrap2 {
    text-align: center;
    width: 1200px;
    margin: 20px auto 40px;
    display: flex;
    flex-direction: column;
    width: 1200px;
}
.btn_wrap1 .next {
    display: flex;
    justify-content: space-between;
    background-color: #f4f4f6;
    align-items: center;
    padding: 20px;
    width: 100%;
    margin: 20px 0 40px;
    border-radius: 5px;
    font-size: 16px;
}
.btn_wrap2 .next {
    display: flex;
    justify-content: space-between;
    background-color: #f4f4f6;
    color: #fff;
    align-items: center;
    padding: 20px;
    width: 100%;
    margin: 10px 0;
    border-radius: 20px;
    border-radius: 5px;
}
.btn_wrap1 .back5 {
    display: flex;
    justify-content: space-between;
    background-color: #f4f4f6;
    color: #fff;
    align-items: center;
    padding: 20px;
    width: 100%;
    margin: 40px 0;
    border-radius: 5px;
    font-size: 16px;
}
.btn_wrap2 .back5 {
    display: flex;
    justify-content: space-between;
    background-color: #f4f4f6;
    color: #fff;
    align-items: center;
    padding: 20px;
    width: 100%;
    margin: 10px 0;
    border-radius: 5px;
    font-size: 16px;
}

.next .btn_left .s1, .back5 .btn_left .s1{
    padding-right: 15px;
    font-weight: 600;
}

.btn_left {
    display: flex;
    align-items: center;
}
.s1, .s2 {
    font-size: 18px;
    line-height: 1.3;
}
.s1 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.s2 {
    color: #858585;
}
.s1 img {
    width: 25%;
}
.section_C1 .btn_group, .section_D1 .btn_group{
    display: none;
}
@media screen and (max-width: 767px) {
    .section_C1 .btn_group, .section_D1 .btn_group{
        display: flex !important;
    }
    .title_box {
        background-color: #f4f4f6;
        border-bottom: 0;
        text-align: left;
        margin-bottom: 0;
        padding: 30px 0;
    }
    .title_box .title {
        display: flex;
        align-items: center;
        margin: 0 auto;
        font-size: 20px;
        font-weight: 600;
        justify-content: flex-start;
        text-align: left;
    }
    .title_box .title img {
        width: 6%;
    }
    .image-container {
        position: unset;
    }
    .banner {
        width: 100%;
        height: 90px;
    }
    .section_B1-1 .title_box, .section_B1-2 .title_box, .section_B1-3 .title_box, .section_B1-4 .title_box, .section_B1-5 .title_box, .section_B1-6 .title_box, .section_B1-7 .title_box, .section_B1-8 .title_box, .section_B1-9 .title_box, .section_B1-10 .title_box {
        position: unset;
        top: unset;
        left:unset;
        transform: unset;
    }
    .section_B1-1 .title, .section_B1-2 .title, .section_B1-3 .title, .section_B1-4 .title, .section_B1-5 .title, .section_B1-6 .title, .section_B1-7 .title, .section_B1-8 .title, .section_B1-9 .title, .section_B1-10 .title {
        color: unset;
    }
    .section_A1 .content1, .section_B1 .content1, .section_C1 .content1, .section_D1 .content1 {
        width: 90%;
        max-width: 100%;
        margin: 0 auto 0;
        padding-bottom: 30px;
    }
    
    .content1 {
        width: 90%;
        max-width: 100%;
        padding-bottom: 0;
        margin: 0 auto 40px;
    }
    .box {
        margin-top: 0;
        margin-bottom: 20px;
    }
    .section_A1 .box, .section_B1 .box {
        padding: 0;
    }
    .section_A1 .content1 .box a {
        flex: 1 1 calc(40% - 15px);
    }
    .section_A1 .content1 .box a, .section_C1 .content1 .box a, .section_D1 .content1 .box a {
        font-size: 15px;
    }
    .section_A1 .content1 .box a img, .section_C1 .content1 .box a img, .section_D1 .content1 .box a img {
        height: 100px;
        padding: 25px 50px;
    }
    .section_C1, .section_D1 {
        height: unset;
    }
    .box .con {
        font-size: 16px;
    }
    .box .con .point3 {
        font-size: 17px;
    }
    .btn_group {
        width: 90%;
        max-width: 100%;
        margin: 0 auto;
        gap: 10px;
    }
    .btn_wrap1 {
        width: 90%;
    }
    .btn_wrap2 {
        width: 90%;
    }
    .section_B1 .content1 .box {
        display: flex;
        gap: 0;
        justify-content: flex-start;
        height: 116px;
        flex-wrap: wrap;
        flex-direction: column;
    }
    
    .section_B1 .content1 .box a {
        flex: 1 1 calc(50% - 10px); /* 기본적으로 두 개씩 한 줄에 배치 */
    }
    
    .section_B1 .content1 .box a:nth-last-child(1) {
        flex: 0 1 calc(50% - 10px); /* 마지막 버튼도 50% 너비로 설정 */
    }
    
    .section_B1 .content1 .box a:nth-last-child(2) {
        flex: 1 1 calc(50% - 10px); /* 두 번째 마지막 버튼도 50% 너비로 설정 */
    }
    
    .section_B1 .content1 .box a:nth-last-child(3) {
        flex:1 1 calc(50% - 10px) !important; /* 세 번째 마지막 버튼도 50% 너비로 설정 */
    }
    
    .section_B1 .content1 .box a img {
        width: 100%; /* 이미지가 컨테이너에 맞게 조정 */
    }
    
    
    .section_C1 .content1 .box a {
        flex: 1 1 calc(50% - 10px); /* 기본적으로 두 개씩 한 줄에 배치 */
    }
    
    .section_C1 .content1 .box a:nth-last-child(1) {
        flex: 0 1 calc(50% - 10px); /* 마지막 버튼도 50% 너비로 설정 */
    }
    
    .section_C1 .content1 .box a:nth-last-child(2) {
        flex: 1 1 calc(50% - 10px); /* 두 번째 마지막 버튼도 50% 너비로 설정 */
    }
    
    .section_C1 .content1 .box a:nth-last-child(3) {
        flex:1 1 calc(50% - 10px) !important; /* 세 번째 마지막 버튼도 50% 너비로 설정 */
    }
    
    .section_C1 .content1 .box a img {
        width: 100%; /* 이미지가 컨테이너에 맞게 조정 */
    }
   .section_C1 .content1 .box {
        padding: 0;
    }
    .s1, .s2 {
        font-size: 15px;
        line-height: 1.3;
        text-align: left;
    }
    .list a, .top_button {
        border: 1px solid #7a83f5;
        display: inline-flex;
        align-items: center;
        padding: 5px 10px;
        border-radius: 30px;
        margin-top: 40px;
        gap: 0px;
        font-size: 16PX;
        color: #424ef0;
        justify-content: space-between;
    }
    .btn_group img{
        width: 25%;
    }
    .section_B1 .con {
        font-size: 15px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0px 10px 19px 10px;
    }
    
    .section_B1 .sub_title {
        font-size: 16px;
        font-weight: 600;
        padding: 15px 10px 10px 10px;
        margin-bottom: 0;
        line-height: 1.3;
    }
    .section_B1 img {
        width: 35%;
    }
    .section_A1 .top_button, .section_B1 .top_button, .section_C1 .top_button , .section_D1 .top_button {
        margin-top: 0;
        margin-bottom: 40px;
    }
}