:root {
    --size-xl: 144px;
    --size-l: 108px;
    --size-m: 72px;
    --size-s: 36px;
    --size-xs: 18px;
}

/* ---------------- 공통 영역 ---------------- */

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    min-width: 360px;
    max-width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
}

section{
    width: 100%;
    max-width: 1920px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.banner > img{
    width: 100%;
    object-fit: cover;
}

.banner > img:nth-of-type(1){
    display: block;
}

.banner > img:nth-of-type(2){
    display: none;
}

.section-01{
    background-image: url(../img/bg_pc_01.jpg);
    background-position: top;
    background-repeat: no-repeat;
    background-size: contain;
    padding-top: var(--size-xl);
}

.section-01 > img{
    max-width: 900px;
    width: 100%;
    object-fit: contain;
}


.section-01 > img:nth-of-type(2){
    margin-top: var(--size-s);
}

.section-02{
    padding: var(--size-xl) 0;
}

.section-02 > img{
    max-width: 1000px;
    width: 100%;
    object-fit: contain;
}

.section-02 > img:nth-of-type(2){
    margin-top: var(--size-s);
}

.section-03{
    background-color: #f4f4f4;
    padding: var(--size-xl) 0;
}

.section-03 > img:nth-of-type(1){
    max-width: 1000px;
    width: 100%;
    object-fit: contain;
}

.section-03 > img:nth-of-type(2){
    max-width: 1200px;
    width: 100%;
    object-fit: contain;
    margin-top: var(--size-s);
}

.section-04{
    background-color: #3681f8;
    padding: var(--size-xl) 0;
}

.section-04 > img:nth-of-type(1){
    max-width: 1000px;
    width: 100%;
    object-fit: contain;
}

.section-04 > img:nth-of-type(2){
    max-width: 1200px;
    width: 100%;
    object-fit: contain;
    margin-top: var(--size-s);
}

.section-05{
    padding: var(--size-xl) 0;
    background-image: url(../img/bg_05.jpg);
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
}

.section-05 > img:nth-of-type(1){
    max-width: 900px;
    width: 100%;
    object-fit: contain;
}

.section-05 > img:nth-of-type(2){
    max-width: 1000px;
    width: 100%;
    object-fit: contain;
    margin-top: var(--size-xs);
}

.rolling{
    width: 100%;
    padding: 0 var(--size-m);
    margin-top: var(--size-s);
}

.swiper {
    max-width: 840px;
    width: 100%;
    height: 400px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 8px 8px 16px #0000001A;
}

.swiper-slide{    
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--size-m);
    border-bottom: 1px solid #eeeeee;
}

.swiper-slide > div{
    font-family: "Pretendard Variable", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    font-size: 24px;
    font-weight: 400;
}

.swiper-slide > .date{
    color: #b6b6b6;
}

.section-06{
    padding: var(--size-xl) 0;
}

.section-06 > img:nth-of-type(1){
    max-width: 900px;
    width: 100%;
    object-fit: contain;
}

.section-06 > img:nth-of-type(2){
    max-width: 1000px;
    width: 100%;
    object-fit: contain;
    margin-top: var(--size-s);
}

.section-07{
    background-image: url(../img/bg_07.jpg);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: var(--size-xl) 0;
}

.section-07 > img:nth-of-type(1){
    max-width: 900px;
    width: 100%;
    object-fit: contain;
}

.section-07 > img:nth-of-type(2){
    max-width: 1000px;
    width: 100%;
    object-fit: contain;
    margin-top: var(--size-s);
}

.form-wrapper{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 var(--size-s);
    margin-top: var(--size-s);
}

form{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 840px;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    padding: var(--size-m);
}

form > input{
    width: 100%;
    font-family: "Pretendard Variable", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    font-size: 24px;
    font-weight: 400;
    border: none;
    background-color: #f2f2f2;
    border-radius: 8px;
    padding: var(--size-xs);
    margin-bottom: var(--size-xs);
}

form > div{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

form > div > label, form > div > span{
    font-family: "Pretendard Variable", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    margin-left: 8px;
}

form > div > input{
    accent-color: #3681f8;
}

form > div > span{
    font-weight: 700;
    cursor: pointer;
}

form > input:last-of-type{
    background-color: #3681f8;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-top: var(--size-s);
    margin-bottom: 0;
    cursor: pointer;
}

footer{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    font-family: "Pretendard Variable", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    font-weight: 300;
    color: #fff;
    font-size: 16px;
    background-color: #424242;
    line-height: 150%;
    padding: var(--size-xs) 0;
}

.floating-btn{
    position: fixed;
    right: var(--size-m);
    bottom: var(--size-m);
    width: 220px;
    height: 220px;
    animation-name: move-updown;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    z-index: 100;
}

.floating-btn > img{
    width: 100%;
    object-fit: contain;
}

@keyframes move-updown{
    from{
        bottom: var(--size-m);
    }

    to{
        bottom: var(--size-l);
    }
}

@media screen and (max-width: 1320px) {
    .section-01{
        background-size: cover;
    }
}

@media screen and (max-width: 1024px) {
    :root {
        --size-xl: 120px;
        --size-l: 90px;
        --size-m: 60px;
        --size-s: 30px;
        --size-xs: 15px;
    }

    .section-01{
        background-image: url(../img/bg_mo_01.jpg);
    }

    .swiper {
        height: 360px;
    }

    .swiper-slide > div{
        font-size: 22px;
    }
        
    form > input{
        font-size: 22px;
        padding: var(--size-s);
        margin-bottom: var(--size-s);
    }

    form > div > label, form > div > span{
        font-size: 15px;
    }

    form > input:last-of-type{
        font-size: 32px;
        margin-top: var(--size-m);
    }

    .floating-btn{
        right: var(--size-s);
        bottom: var(--size-s);
        width: 172px;
        height: 172px;
    }

    footer{
        font-size: 15px;
    }

}


@media screen and (max-width: 768px) {
    :root {
        --size-xl: 80px;
        --size-l: 60px;
        --size-m: 40px;
        --size-s: 20px;
        --size-xs: 10px;
    }

    .banner > img:nth-of-type(1){
        display: none;
    }

    .banner > img:nth-of-type(2){
        display: block;
    }

    .swiper {
        height: 320px;
    }

    .swiper-slide > div{
        font-size: 20px;
    }

    form > input{
        font-size: 20px;
        padding: var(--size-s);
        margin-bottom: var(--size-s);
    }

    form > div > label, form > div > span{
        font-size: 14px;
    }

    form > input:last-of-type{
        font-size: 30px;
        margin-top: var(--size-m);
    }

    
    .floating-btn{
        right: var(--size-xs);
        bottom: var(--size-xs);
        width: 144px;
        height: 144px;
    }

    footer{
        font-size: 14px;
    }

}

@media screen and (max-width: 576px) {
    :root {
        --size-xl: 48px;
        --size-l: 36px;
        --size-m: 24px;
        --size-s: 12px;
        --size-xs: 6px;
    }

    .swiper-slide > div{
        font-size: 17px;
    }

    form > input{
        font-size: 18px;
        padding: var(--size-s);
        margin-bottom: var(--size-s);
    }

    form > div > label, form > div > span{
        font-size: 14px;
    }

    form > input:last-of-type{
        font-size: 28px;
        margin-top: var(--size-m);
    }

    footer{
        font-size: 12px;
        padding: var(--size-s) 0;
    }
}