.main {
    width: 100%;
    max-width: 1096px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
}
.forbidden {
    display: flex;
    flex-direction: row;
    gap: 20px;
    background: #eaeaea;
    border-radius: 20px;
    padding: 30px 40px;
    justify-content: center;
    align-items: center;
}
.forbidden .img_19 {
    text-align: center;
}
.forbidden .img_19 img {}
.forbidden .txt {
    display: flex;
    flex-direction: column;
    gap: 10px;
    line-height: 1.5;
}
.forbidden .txt p {
    font-size: 1.25rem;
    margin: 0;
}
.forbidden .txt p span {
    font-weight: 600;
}
.forbidden .txt button {
    background: #737373;
    width: 150px;
    height: 30px;
    border-radius: 5px;
    color: white;
}
.login_wrap {
    display: flex;
    flex-direction: row;
    gap: 40px;
    width: 100%;
}
.login_wrap .left,
.login_wrap .right {
    width: calc(50% - 40px);
    background: #F9F9F9;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid #dadada;
}
.title_wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #454545;
    margin-bottom: 20px;
}
.title_wrap h1 {
    font-size: 1.875rem;
    color: #737373;
    margin: 0;
}
.title_wrap p {
    margin: 0;
}
.inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.inputs input {
    background: white;
    border: 1px solid #DADADA;
    border-radius: 5px;
    padding: 10px 20px;
    line-height: 30px;
}
.check {
    text-align: left;
}
.check input {}
.check label:nth-child(2) {
    margin-right: 10px;
}
.login_button {
    width: 100%;
}
.first_login button:hover {
    background: #1541DD!important;
}
.login_button .login_btn {
    cursor: pointer;
    background: #3862F9;
    border-radius: 5px;
    width: 100%;
    color: white;
    padding: 10px;
    line-height: 30px;
    border: none;
    font-size: 1rem;
}
.find_wrap {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: center;
}
.find_wrap a {
    color: #737373;
    text-decoration: underline;
}
.login_wrap .right {}
.ways {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}
.ways .way {
    background: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    width: 40%;
    color: #737373;
}
.ways .way img {}
.ways .way .way_tit {
    font-size: 1.25rem;
    font-weight: 500;
}
.ways .way .way_info {}
.ways .way .confirm {
    cursor: pointer;
    background: #3862F9;
    border-radius: 5px;
    width: 100%;
    color: white;
    padding: 10px;
    line-height: 30px;
    border: none;
    font-size: 1rem;
}
.ad_list {display: flex; flex-direction: column; gap: 10px;padding: 40px 0;}
.ad_list img {width: 100%; border-radius: 20px;}
.swiper {
    width: 100%;
    max-width: 100%; /* 필요시 최대 너비 제한 */
    height: auto;
}
.swiper .swiper-wrapper {}
.swiper .swiper-wrapper swiper-slide {}
.swiper .swiper-wrapper swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* 필요 시 이미지 비율 유지하면서 채우기 */
}
/* 16:9 비율을 유지하는 래퍼 */
.swiper.ad {
    position: relative;
    padding-top: 18.25%; /* 200 / 1096 * 100 ≈ 18.25% */
    overflow: hidden;
    width: 1260px;
    margin: 120px auto 0;
}

/* Swiper 내부 요소를 절대 위치로 맞춤 */
.swiper.ad .swiper-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* 슬라이드 이미지 반응형 설정 */
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media screen and (max-width: 1025px) {
    form {
        margin: 0 16px;
    }
    .main {
        max-width: auto!important;
        gap: 10px;
    }
    .forbidden {
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        margin-bottom: 0;
    }
    .title_wrap p {
        font-size: 0.875rem;
    }
    .forbidden .txt p {
        font-size: 0.875rem;
    }
    .forbidden .txt button {
        width: 100%;
    }
    .ad_list {padding: 10px 0;}
    .ad_list img {border-radius: 10px;}
    .img_19 img {
        width: 70%;
    }
    .login_wrap {
        flex-direction: column;
        gap: 10px;
    }
    .title_wrap {
        margin-bottom: 0;
    }
    .title_wrap h1 {
        font-size: 1.25rem;
    }
    .login_wrap .left {
        width: auto!important;
        padding: 20px;
    }
    .ways .way .way_tit {
        font-size: 1rem;
    }
    .ways .way .way_info {
        font-size: 0.875rem;
    }
    .login_wrap .right {
        width: auto!important;
        padding: 20px;
    }
    .inputs input {
        padding: 10px;
    }
    .inputs input,
    .login_button .login_btn,
    .ways .way .confirm {
        line-height: 25px;
    }
    .ways {
        flex-wrap: wrap;
    }
    .way {
        width: 100%!important;
    }
}
@media screen and (max-width: 480px) {
    .swiper.ad {
        height: 50px;
        border-radius: 10px;
    }
}
