* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    min-width: 360px;
    max-width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #FFF;
}

a{
    cursor: pointer;
}

/** HEADER **/

header{
    width: 100%;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
}

header > div{
    max-width: 1320px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 0;
    padding: 0 20px;
}

header > div > .logo > img{
    width: 118px;
    object-fit: contain;
}

header > div > .header-btn{
    transition: 0.2s;
}

header > div > .header-btn > img{
    width: 181px;
    object-fit: contain;
}

header > div > .header-btn:hover{
    opacity: 0.75;
}

/** YOUTUBE **/

#youtube{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F2F5F8;
}

#youtube > iframe{
    max-width: 1280px;
    width: 100%;
    height: 720px;
}

/** MAIN **/

#main{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #FFF;
    margin-top: 40px;
}

#main > div{
    max-width: 1320px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 20px;
}

/** DETAIL **/

.detail{
    max-width: 860px;
    width: 100%;
    line-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.p-01, .p-03, .p-04, .p-09, .p-10{
    width: 100%;
    object-fit: contain;
} 

.p-02, .p-05, .p-06, .p-07, .p-08, .p-11, .p-12{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.p-02 > img, .p-05 > img, .p-06 > img, .p-07 > img, .p-08 > img, .p-11 > img, .p-12 > img{
    width: 100%;
    object-fit: contain;
}

/** P-02 **/

.p-02{
    background-color: #101010;
}
/**
.p-02 > img{
    animation-name: scaleAnimation;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}
**/
@keyframes scaleAnimation{
    from{
        scale: 0.95;
    }

    to{
        scale: 1.0;
    }
}

/** P-05 **/

.p-05{
    background-color: #101010;
}

.p-05 > div:nth-of-type(1){
    width: 100%;
    padding: 0 60px;
}

.p-05 > div:nth-of-type(1) > .reviewSwiper{
    width: 100%;
    height: 1174px;
    padding: 20px;
    border-radius: 16px;
    background-color: #FFF;
}

.p-05 > div:nth-of-type(1) > .reviewSwiper .swiper-slide > img{
    width: 100%;
    object-fit: contain;
    object-position: top;
}

/** P-08 **/

.p-08{
    background-color: #FFCB31;
}

/**
.p-08 > img{
    animation-name: scaleAnimation;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}
**/

/** P-11 **/

.p-11 > a{
    background-color: #F2F5F8;
}

.p-11 > a > img{
    width: 100%;
    object-fit: contain;
}

/** FORM **/

#submit-form{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0 60px;
    background-color: #F2F5F8;
}

#submit-form > .input-wrapper{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 12px;
}

.input-wrapper input{
    width: 100%;
    font-family: 'Pretendard Variable';
    font-size: 20px;
    color: #101010;
    font-weight: 400;
    padding: 16px 20px;
    background-color: #FFF;
    border-radius: 8px;
    border: 1px solid #bdbdbd;
}

.input-wrapper > div{
    width: 100%;
    display: grid;
    grid-template-columns: 9fr 1fr 9fr 1fr 9fr;
    align-items: center;
}

.input-wrapper > div span{
    display: inline-block;
    text-align: center;
}

.invest-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 20px 0;
}

#form-invest {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    column-gap: 4px; /* 항목 간 간격 */
}

.invest-title{
    display: inline-block;
    line-height: 100%;
    font-family: 'Pretendard Variable';
    font-size: 18px;
    font-weight: 700;
    color: #303030;
    margin-bottom: 12px;
}

#form-invest span {
    font-family: 'Pretendard Variable';
    font-size: 20px;
    font-weight: 400;
    color: #101010;
    line-height: 100%;
    display: inline-block;
    width: 100%;
    text-align: center;
    display: flex; /* 버튼처럼 보이도록 flex로 설정 */
    justify-content: center;
    align-items: center; /* 텍스트와 입력이 세로로 정렬되도록 */
    padding: 12px 20px; /* 버튼처럼 보이게 여백 추가 */
    background-color: #fff; /* 버튼 배경색 */
    border-radius: 2px; 
    border: 1px solid #bdbdbd;
    cursor: pointer; /* 마우스를 올리면 클릭 가능한 느낌 */
    transition: 0.2s;
}

#form-invest span:hover {
    background-color: #e0e0e0; /* 마우스 오버 시 배경색 변경 */
}

#form-invest input[type="radio"] {
    display: none; /* 라디오 버튼 숨기기 */
}

#form-invest input[type="radio"]:checked + span {
    background-color: #2864E6; /* 선택된 버튼의 배경색 */
    color: white; /* 텍스트 색상 */
    font-weight: 700; /* 선택된 항목 강조 */
    border: 1px solid #2864E6;
}

#submit-form > .checkbox-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#form-checkbox{
    accent-color: #909090;
}

#submit-form > .checkbox-wrapper > label{
    font-family: 'Pretendard Variable';
    font-weight: 300;
    font-size: 16px;
    color: #909090;
    margin: 0 4px;
}

#submit-form > .checkbox-wrapper > span{
    font-family: 'Pretendard Variable';
    font-size: 16px;
    font-weight: 700;
    color: #909090;
    cursor: pointer;
}

#form-submit{
    width: 100%;
    font-family: 'Pretendard Variable';
    font-size: 22px;
    font-weight: 700;
    color: #FFF;
    margin-top: 40px;
    background-color: #101010;
    border: none;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: 0.2s;
}

#form-submit:hover{
    background-color: #2864E6;
}

#submit-form input:focus{
    border: 1px solid #2864E6;
    outline: none;
}

#submit-form input::placeholder{
    color: #909090;
}

/** P-12 **/

.p-12 > a{
    background-color: #FFF;
}

.p-12 > a > img{
    width: 100%;
    object-fit: contain;
    animation-name: scaleAnimation;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

/** SIDE **/

.side{
    position: sticky;
    top: 20px;
    width: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    line-height: 0;
    margin-left: 40px;
}

.side > img{
    width: 100%;
    object-fit: contain;
}

.side > div:nth-of-type(1){
    width: 100%;
    position: relative;
}

.side > div:nth-of-type(1) > img:nth-of-type(1){
    width: 100%;
    object-fit: contain;
}

.side > div:nth-of-type(1) > img:nth-of-type(2){
    position: absolute;
    bottom: 4px;
    left: 20px;
    animation-name: updownAnimation;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@keyframes updownAnimation{
    from{
        bottom: 4px;
    }

    to{
        bottom: 8px;
    }
}

@keyframes updownAnimation2{
    from{
        top: 328px;
    }

    to{
        top: 320px;
    }
}

.side > div:nth-of-type(2) {
    position: absolute;
    top: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    margin-top: 80px;
    animation-name: updownAnimation2;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.side > div:nth-of-type(2) > a {
    margin-bottom: 12px;
}

.side > div:nth-of-type(2) > a > img{
    width: 80px;
    object-fit: contain;
    border-radius: 12px;
}

footer{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

footer > div{
    text-align: center;
    line-height: 150%;
    max-width: 1320px;
    width: 100%;
    padding: 20px;
    border-top: 1px solid #dadada;
    font-family: 'Pretendard Variable';
    font-size: 14px;
    font-weight: 300;
    color: #909090;
}

.floating{
    display: none;
}

.bottom-btn{
    min-width: 360px;
    position: fixed;
    bottom: 0;
    background-color: #FFCB31;
    display: none;
    z-index: 11;
}

.bottom-btn > img{
    width: 100%;
    object-fit: contain;
    /**
    animation-name: scaleAnimation;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
**/
}

.sms-div{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
}

.sms-h1{
    font-family: 'Pretendard Variable';
    font-size: 36px;
    font-weight: 800;
    color: #101010;
    line-height: 150%;
    word-break: keep-all;
    text-align: center;
}

.sms-h1 > br{
    display: none;
}

.sms-a{
    font-family: 'Pretendard Variable';
    font-size: 48px;
    font-weight: 800;
    color: #FFF;
    padding: 40px 120px;
    background-color: #2864E6;
    border-radius: 80px;
    margin: 40px 0;
    animation-name: smsScale;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 0.2s;
}

.sms-a:hover{
    opacity: 0.75;
}

@keyframes smsScale{
    from{
        scale: 0.95;
        box-shadow: 0px 0px 32px #2864E699;
    }

    to{
        scale: 1.0;
        box-shadow: 0px 0px 32px #2864E61A;
    }
}
.sms-p{
    font-family: 'Pretendard Variable';
    font-size: 18px;
    font-weight: 400;
    color: #909090;
}


@media screen and (max-width: 1320px) {
    .p-05 > div:nth-of-type(1) > .reviewSwiper{
        width: 100%;
        height: calc((100vw - 600px) * 1.6);
    }

    .input-wrapper input, #form-invest{
        font-size: 18px;
    }

    #form-submit {
        font-size: 20px;
    }

    #youtube > iframe{
        height: calc(100vw / 16 * 9);
    }

    #form-invest span {
        font-size: 16px;
        padding: 12px;
    }
}

@media screen and (max-width: 1024px) {
    #main > div{
        justify-content: center;
        align-items: flex-start;
        padding: 0;
    }
    .side{
        display: none;
    }

    .bottom-btn{
        display: block;
    }

    footer{
        padding-bottom: calc(100vw * 0.33);
    }

    .p-05 > div:nth-of-type(1) > .reviewSwiper{
        width: 100%;
        height: 1174px;
    }

    .floating {
        position: fixed;
        bottom: calc(40px + (100vw * 0.33));
        right: 20px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-end;
        animation-name: updownAnimation3;
        animation-duration: 0.5s;
        animation-iteration-count: infinite;
        animation-direction: alternate;
        z-index: 10;
    }
    
    .floating  > a {
        margin-bottom: 8px;
    }
    
    .floating > a > img{
        width: 64px;
        object-fit: contain;
        border-radius: 12px;
    }

    @keyframes updownAnimation3{
        from{
            bottom: calc(40px + (100vw * 0.33));
        }

        to{
            bottom: calc(48px + (100vw * 0.33));
        }
    }
}

@media screen and (max-width: 860px) {
    #main{
        margin-top: 0px;
    }

    header > div > .logo > img{
        width: 108px;
        object-fit: contain;
    }
    
    header > div > .header-btn > img{
        width: 164px;
        object-fit: contain;
    }

    .p-05 > div:nth-of-type(1){
        padding: 0 20px;
    }
    
    .p-05 > div:nth-of-type(1) > .reviewSwiper{
        width: 100%;
        height: calc((100vw - 80px) * 1.62 + 40px);
        min-height: 493px;
    }

    #submit-form{
        padding: 0 40px;
    }

    .input-wrapper input, #form-invest{
        font-size: 16px;
    }

    #form-submit {
        font-size: 18px;
    }

    #submit-form > .input-wrapper{
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        row-gap: 12px;
    }

    #submit-form > .checkbox-wrapper > label{
        font-size: 14px;
    }
    
    #submit-form > .checkbox-wrapper> span{
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {

    .sms-h1{
        font-size: 32px;
    }

    .sms-a{
        font-family: 'Pretendard Variable';
        font-size: 22px;
        font-weight: 800;
        color: #FFF;
        padding: 20px 56px;
        background-color: #2864E6;
        border-radius: 80px;
        margin: 40px 0;
        animation-name: smsScale;
        animation-duration: 0.5s;
        animation-iteration-count: infinite;
        animation-direction: alternate;
        transition: 0.2s;
    }
}

@media screen and (max-width: 576px) {
    #submit-form{
        padding: 0 25px;
    }

    .input-wrapper input{
        font-size: 14px;
        padding: 12px;
        border-radius: 6px;
    }

    #form-submit {
        font-size: 16px;
        margin-top: 20px;
        padding: 14px;
        border-radius: 6px;
    }

    #submit-form > div:nth-of-type(1){
        row-gap: 8px;
    }

    .invest-wrapper{
        margin: 12px 0;
    }

    .invest-title{
        font-size: 14px;
        margin-bottom: 8px;
    }

    #form-invest{
        column-gap: 3px;
    }

    #form-invest span {
        font-size: 14px;
        padding: 6px; /* 버튼처럼 보이게 여백 추가 */
    }

    #submit-form > .checkbox-wrapper > label{
        font-size: 12px;
    }
    
    #submit-form > .checkbox-wrapper > span{
        font-size: 12px;
    }

    footer > div{
        font-size: 12px;
    }

    .sms-h1 > br{
        display: block;
    }

    #form-invest > label:nth-of-type(4) > span{
        padding-left: 0;
        padding-right: 0;
    }
}