@charset "utf-8";

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
li{
    list-style: none;
}
a{
    text-decoration: none;
    color: inherit;
}

.section-01{
    width: 1280px;
    margin: 100px auto;
}

.section-01 .swiper-slide{
    position: relative;
}

.section-01 .swiper-slide img{
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.section-01 .swiper-slide .text{
    left: 50%;
    top: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    color: rgb(0, 0, 0);
    text-align: center;
    display: none;
}

.section-01 .swiper-slide.swiper-slide-next .text{
    display: block;
}

.section-02{
    width: 1280px;
    margin: 100px auto;
}
.section-02 .swiper-slide{
    position: relative;
}
.section-02 .swiper-slide img{
    width: 100%;
    height: 400px;
}
.section-02 .swiper-slide p{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(0, 0, 0);
    font-weight: bold;
    font-size: 30px;
}
.section-02 .swiper-slide{ /* swiper-slide에게 적용하면 첫 번째와 세 번째 이미지 모두 적용됨 */
    transform: scale(0.8);
}
.section-02 .swiper-slide.swiper-slide-next{
    z-index: 99;
}
.section-02 .swiper-slide.swiper-slide-next img{
    transform: scale(1.5);
}