body {
    overflow-x: hidden; /* 가로 스크롤 방지 */
}
#wrap .section1 img,
#wrap .section3 .box2 .img_wrap img,
#wrap .section4 .title a img,
#wrap .section4 .qna p img {
    overflow-x: hidden; /* 가로 스크롤 방지 */
}

#wrap .header1 {
    padding: 1.5rem 2rem;
}

#wrap .header1 img {
    width: 20%;
}


.section1 {
    position: relative;
    display: inline-block; 
    width: 100%;
}

.section1 img {
    display: block;
    width: 100%;
}

.section1 .overlay {
    position: absolute;
    top: 42%;
    left: 25%;
    transform: translate(-50%, -50%);
    color: white; 
    padding: 1rem; 
    text-align: center;
}

.section1 .overlay a {
    color: white; 
    text-decoration: none; 
    font-size: 1.5rem;
    border: 1px solid #fff;
    padding: 1rem 1.5rem;
    border-radius: 2rem;
}


#wrap .section2{
    padding: 3rem 0 1rem 2rem;
}
#wrap  .section3, .section4 {
    padding: 3rem 2rem 0;
}

#wrap .section2 h2, .section3 h2, .section4 h2 {
    font-size: 1.8rem;
    font-weight: 800;
}

#wrap .section2 .swiper-container {
    width: 100%;
    height: 100%;
    margin-top: 2rem;
    overflow-x: hidden; /* 가로 스크롤 방지 */
    padding: .3rem;
}

#wrap .section2 .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 300px;
    height: 210px;
    padding: 2rem;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    box-sizing: border-box;
    border-radius: 1rem;
}

#wrap .section2 .swiper-slide .box .p1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #051953;
}

#wrap .section2 .swiper-slide .box .p2 {
    font-size: 1.5rem;
    margin-top: 1rem;
    line-height: 1.3;
}

#wrap .section2 .swiper-slide .box a {
    position: relative;
    display: inline-block;
    padding: 1rem 1.5rem;
    border-radius: 3rem;
    z-index: 1;
    background-color: white;
}

#wrap .section2 .swiper-slide .box a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 2rem;
    padding: 2px;
    background: linear-gradient(135deg, #3440ee, #9328f6);
    -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
}

#wrap .section2 .swiper-slide .box a.link {
    font-size: 1.8rem;
    font-weight: 400;
    color: #c9c9c9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
  }
  #wrap .section2 .swiper-slide .box a.link.stopped {
    color: #fff; /* 링크 강조 색상 */
    background: linear-gradient(135deg, #3440ee, #9328f6);
  }
#wrap .section2 .swiper-slide .box a img {
    width: 15%;
}

#wrap .section3 {

}

#wrap .section3 .box2 {
    position: relative;
    z-index: 10;
    padding: 2rem 1.5rem;
    background-color: #f2f5fc;
    border-radius: 1rem;
    margin-top: 2rem;
    overflow-x: hidden;
}

#wrap .section3 .box2 p {
    font-size: 1.8rem;
    line-height: 1.3;
    font-weight: 700;
}

#wrap .section3 .box2 .img_wrap {
    text-align: center;
    margin: 2rem 0;
}

#wrap .section3 .box2 .img_wrap img {
    width: 40%;
}

#wrap .section3 .box2 a {
    display: flex;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    background-color: #fff;
    justify-content: space-between;
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
}

#wrap .section3 .box2 a img {
    width: 10%;
}

#wrap .section3 .box2 .left {
    display: flex;
    align-items: center;
}

#wrap .section3 .box2 .left img {
    width: 11%;
    margin-right: .5rem;
}

#wrap .section4 {
    background: linear-gradient(135deg, #4048ef, #9533f6);
    padding-top: 20rem;
    margin-top: -16rem;
    padding-bottom: 4rem;
}

#wrap .section4 h2 {
    color: #fff;
}

#wrap .section4 .title {
    display: flex;
    justify-content: space-between;
}

#wrap .section4 .title h2 {
    font-size: 2rem;
    font-weight: 700;
}

#wrap .section4 .title .bold {
    font-size: 1.8rem;
    font-weight: 800;
}

#wrap .section4 .title a {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 500;
}

#wrap .section4 .title a img {
    width: 25%;
    margin-right: .2rem;
}

#wrap .section4 .qna {
    padding: 1.5rem 2rem;
    background-color: #fff;
    border-radius: 1rem;
    margin-top: 2rem;
}

#wrap .section4 .qna .title {
    border-bottom: 1px solid #c6dbff;
}

#wrap .section4 .qna p:nth-child(1) {
    border-bottom: none;
}

#wrap .section4 .qna p {
    border-bottom: 1px solid #c6dbff;
    padding: 1.5rem 0;
    font-size: 1.6rem;
    line-height: 1.3;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#wrap .section4 .qna p:nth-last-child(1) {
    border-bottom:none;
   
}
#wrap .section4 .qna p img {
    width: 20px;
    margin-left: 1rem;
}
