/* apt : 최초작업자:최영재 */
.apt_swiper_wrap{
    position: relative;
    width: 800px;
    margin: 0 auto;
}
.apt_swiper{
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}
.apt_swiper_img_wrap{
    position: relative;
    margin-bottom: 120px;
    background-color: #f1f1f1;
    background-image: url(../../img/logo.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100px;
    aspect-ratio: 16 / 8;
}
.apt_swiper_img_wrap a{
    display: block;
    position: relative;
}

.apt_swiper_img_wrap a::before{
    box-sizing: border-box;
    border: 2px solid var(--m_color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    width: 100%;
    height: 100%;
    content: "홈페이지 바로가기";
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease-in-out;
}
.apt_swiper_img_wrap a::after{
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    z-index: 1;
    left: 0;
    top: 0;
    opacity: .3;
    background-color: var(--m_color);
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease-in-out;
}
.apt_swiper_img_wrap a:hover::before{
    opacity: 1;
}
.apt_swiper_img_wrap a:hover::after{
    opacity: .3;
}
.apt_swiper_img_wrap img{
    aspect-ratio: 16 / 8;
    max-width: 100%;
    object-fit: cover;
    height: 100%;
}
.apt_swiper_img_wrap::after{
    position: absolute;
    bottom: -80px;
    height: 40px;
    width: 1px;
    background-color: #000;
    content: '';
    left: 50%;
    transform: translateX(-50%);
}
.apt_swiper_txt_top{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.apt_swiper_txt_top > p{
    font-size: 26px;
    line-height: 1.3;
    font-weight: 700;
    position: relative;
    display: inline-block;
}
.apt_swiper_txt_top > p::after{
    z-index: -1;
    background-color: var(--m_color);
    width: 100%;
    height: 5px;
    bottom: 0;
    content: "";
    position: absolute;
    left: 0;
}
.apt_swiper_txt_top_right_wrap{
    display: flex;
    align-items: center;
    gap: 20px;
}
.apt_swiper_txt_top_right_wrap > p{
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}
.apt_swiper_txt_top_right_wrap > p span{
    font-size: 20px;
    font-weight: 700;
    color: var(--m_color);
    margin-left: 5px;
}
.apt_swiper_txt_top_right_wrap a{
    display: flex;
    align-items: center;
    gap: 5px;
    color: #000;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
}
.apt_swiper_txt_top_right_wrap a:after{
    width: calc(100% - 29px);
    height: 0%;
    bottom: 0;
    content: "";
    position: absolute;
    left: 29px;
    background-color: var(--m_color);
    transition: all .3s ease-in-out;
    z-index: -1;
}
.apt_swiper_txt_top_right_icon_wrap{
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s ease-in-out;
}
.apt_swiper_txt_top_right_icon_wrap svg{
    width: 9px;
    height: 9px;
    transition: all .3s ease-in-out;
}
.apt_swiper_txt_top_right_wrap a:hover{
    color: #fff;
}
.apt_swiper_txt_top_right_wrap a:hover::after{
    height: 100%;
}
.apt_swiper_txt_top_right_wrap a:hover svg{
    transform: rotate(450deg);
}
.apt_swiper_txt_wrap{
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}
.apt_swiper_detail{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.apt_swiper_detail > dl{
    width: calc(50% - 10px);
}

.apt_swiper_detail dl > dd{
    font-size: 16px;
    color: #888;
    margin-bottom: 5px;
}
.apt_swiper_detail dl > dt{
    font-size: 20px;
    color: #000;
}
.apt_swiper_cursor {
  width: 60px;
  height: 60px;
  background-image: url(../../img/sub_apt_info/cursor_icon_drag.png);
  background-size: cover;
  position: absolute;
  pointer-events: none;
  display: none; /* 처음엔 숨김 */
  transform: translate(-50%, -50%);
  z-index: 2;
}
.apt_swiper .swiper-slide-active .apt_swiper_txt_wrap,
.apt_swiper .swiper-slide-active .apt_swiper_detail {
    animation: swiper_txt .5s ease-in-out;
    animation-fill-mode: both;
    animation-delay: .3s;
}
.apt_swiper .swiper-slide-active .apt_next_btn_mo,
.apt_swiper .swiper-slide-active .apt_prev_btn_mo {
    animation: mob_btn .5s ease-in-out;
    animation-fill-mode: both;
    animation-delay: .3s;
}
@keyframes swiper_txt {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes mob_btn{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
.apt_next_btn,.apt_prev_btn{
    position: absolute;
    top: 250px;
    left: -110px;
    width: 63px;
    height: 43px;
    background-image: url(../../img/sub_apt/apt_swiper_arrow.svg);
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 2;
}
.apt_next_btn{
    transform: scaleX(-1) translateY(-50%);
    left: unset;
    right: -110px;
}
.mob_btn_wrap{
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    width: calc(100% - 10px);
    margin: 0 auto;
    display: none;
}
.apt_next_btn_mo,.apt_prev_btn_mo{
    width: 63px;
    height: 43px;
    background-image: url(../../img/sub_apt/apt_swiper_arrow.svg);
    cursor: pointer;
    z-index: 2;
}
.apt_next_btn_mo{
    transform: scaleX(-1);
}
@media (max-width: 1200px) {
    .apt_next_btn,.apt_prev_btn{
        display: none;
    }
    .apt_swiper_wrap{
        width: 100%;
    }
    .mob_btn_wrap{
        display: flex;
        transform: translateY(-80px);
    }
}

@media (max-width: 1024px) {
    .apt_swiper_txt_top_right_wrap a{
        font-size: 16px;
    }
    .apt_swiper_txt_top_right_wrap > p span{
        font-size: 16px;
    }
    .apt_swiper_txt_top > p{
        text-align: center;
        font-size: 23px;
    }
    
    .apt_swiper_txt_top > p::after{
        content: unset;
    }
    .apt_swiper_detail > dl{
        width: 100%;
    }
    .apt_swiper_txt_top{
        flex-direction: column;
        gap: 10px;
    }
    .apt_swiper_detail{
        flex-direction: column;
        align-items: center;
    }
    .apt_swiper_detail dl > dd{
        text-align: center;
        font-size: 14px;
    }
    .apt_swiper_detail dl > dt{
        text-align: center;
        font-size: 14px;
    }
    .apt_swiper_img_wrap{
        margin-bottom: 80px;
    }
    .apt_swiper_img_wrap::after{
        position: absolute;
        bottom: -40px;
        height: 1px;
        width: 30px;
    }
    .mob_btn_wrap{
        transform: translateY(-15px);
    }
    .apt_swiper_img_wrap{
        margin-bottom: 30px;
    }
}

@media (max-width: 400px){
    .apt_swiper_txt_top_right_wrap{
        gap: 10px;
        flex-direction: column;
    }
}