/* add :: terms */
.chk-depth-btn {
    display: flex;
    align-items: center;
    width: fit-content;
    color: var(--bk);
    line-height: 175%;
    cursor: pointer;
}

.chk-link-btn {
    width: fit-content;
    color: var(--bk);
    line-height: 165%;
    cursor: pointer;
}

.chk-depth-btn > div:not(.icon-down),
.chk-link-btn > div:not(.icon-link) {
    display: inline;
    font-size: var(--fz);
}

.chk-depth-btn > div:not(.icon-down) span,
.chk-link-btn > div:not(.icon-link) span {
    font-size: var(--fz-s);
}

@media screen and (min-width: 580px) {
    .chk-depth-btn > div:not(.icon-down) {
        font-size: 20px;
    }

    .chk-link-btn {
        height: 28px;
        line-height: 28px;
    }

    .chk-link-btn > div:not(.icon-link) {
        font-size: 16px;
    }

    .chk-depth-btn > div:not(.icon-down) span,
    .chk-link-btn > div:not(.icon-link) span {
        font-size: 12px;
    }
}

.chk-depth-btn .icon-down {
    transform: rotate(0deg);

    transition: transform 300ms ease;
}

.chk-depth-btn.open .icon-down {
    transform: rotate(180deg);
}

.chk-depth-list {
    display: none;
    padding: 6px 0 0 28px;
    width: 100%;
    max-width: 300px;
}

.chk-depth-list .chk-item {
    margin-top: 0;
}

.chk-depth-list > .chk-item + .chk-item {
    margin-top: 6px;
}

@media screen and (min-width: 580px) {
    .chk-depth-list {
        max-width: 400px;
    }
}

.btn-f-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    padding: 0 24px 24px;
    width: 100%;
}

.btn-f-wrapper.open-f {
    z-index: 2;
}

.btn-f {
    width: 100%;
    height: 48px;
    line-height: 48px;
    text-align: center;
    color: var(--bk);
    font-family: 'Freesentation', sans-serif;
    font-style: normal;
    font-size: var(--fz-m);
    font-weight: var(--fw-bx);

    background: var(--p);
    border: var(--bb) solid var(--bk);
    cursor: pointer;
}

@media screen and (min-width: 580px) {
    .btn-f {
        margin: auto auto 0;
        max-width: 552px;
        height: 72px;
        line-height: 72px;
    }
}

/* form */
.form-box {
    position: relative;
    z-index: 2;
}

.form-wrapper {
    display: none;
}

.mv-row {
    height: 72px;
}

.form {
    position: relative;
    padding: 0 24px 24px;
    width: 100%;
    height: 100%;
    background: var(--p);
}

@media screen and (min-width: 580px) {
    .mv-row {
        height: 96px;
    }

    .form {
        max-width: calc(552px + 48px);
        margin: auto;
    }
}

.form form {
    position: relative;
    width: 100%;
}

.form .current-num {
    color: var(--bk);
    font-size: 60px;
    line-height: 150%;
    letter-spacing: -3px;
}

.form .desc {
    color: var(--bk);
    line-height: 175%;
}

@media screen and (min-width: 580px) {
    .form .current-num {
        font-size: 96px;
        line-height: 140%;
        letter-spacing: -6.72px;
    }

    .form .desc {
        font-size: 20px;
    }
}

.form-close-btn {
    position: absolute;
    top: 9px;
    right: -12px;
}

.form .input-item input {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    padding: 0 12px;
    height: 48px;
    line-height: 48px;
    border: var(--bb) solid rgba(0, 0, 0, 0.5);

    border-radius: 0 !important;
}

@media screen and (min-width: 580px) {
    .form .input-item input {
        height: 54px;
        line-height: 54px;
        font-size: 20px;
    }
}

.form .input-item input::placeholder {
    color: var(--bk);
    opacity: 0.5;
}

.form .input-item input:focus,
.form .input-item input:valid {
    border: var(--bb) solid var(--bk);
    /*outline: none;*/
}

.chk-item {
    display: flex;
    column-gap: 12px;
    margin-top: 10px;
}

.chk-item label {
    color: var(--bk);
    line-height: 175%;
}

.chk-item input[type="checkbox"] {
    margin-top: 6px;
    width: 16px;
    height: 16px;
    border: var(--bb) solid var(--bk);
    appearance: none;
    cursor: pointer;
    background: var(--p);

    border-radius: 0 !important;
}

.chk-item input[type="checkbox"]:checked {
    background-color: var(--p);
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='11' viewBox='0 0 12 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4.42857L5 9L11 1' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 11px;
}

@media screen and (min-width: 580px) {
    .chk-item label {
        font-size: 20px;
    }

    .chk-item input[type="checkbox"] {
        margin-top: 8px;
        width: 16px;
        height: 16px;
    }

    .chk-item input[type="checkbox"]:checked {
        background-color: var(--p);
        background-image: url("data:image/svg+xml,%3Csvg width='12' height='11' viewBox='0 0 12 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4.42857L5 9L11 1' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E%0A");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 12px 11px;
    }

    .chk-item.chk-item--all input[type="checkbox"] {
        margin-top: 11px;
        width: 20px;
        height: 20px;
    }

    .chk-item.chk-item--all input[type="checkbox"]:checked {
        background-color: var(--p);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='13' viewBox='0 0 14 13' fill='none'%3E%3Cpath d='M0.75 5.28571L5.75 11L13.25 1' stroke='black' stroke-width='1.875'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 14px 13px;
    }
}

.form .input-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 6px;
    grid-row-gap: 6px;
    margin-top: 12px;
}

.form .input-items .input-item:nth-child(1) {
    grid-area: 1 / 1 / 2 / 2;
}

.form .input-items .input-item:nth-child(2) {
    grid-area: 1 / 2 / 2 / 3;
}

.form .input-items .input-item:nth-child(3) {
    grid-area: 2 / 1 / 3 / 3;
}

.submit-btn {
    margin-top: 24px;
}

.submit-btn button {
    display: block;
    width: 100%;
    height: 48px;
    line-height: 48px;
    border: var(--bb) solid var(--bk);
    background: var(--bk);
    text-align: center;
    font-family: 'Freesentation', sans-serif;
    font-size: var(--fz-m);
    font-weight: var(--fw-bx);
}

@media screen and (min-width: 580px) {
    .submit-btn button {
        height: 72px;
        line-height: 72px;
    }
}

body.cont-open .v-wrapper {
    opacity: 0;
    pointer-events: none;
}

.nameList-wrapper {
    position: absolute;
    z-index: 10;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 95px;
    padding: 0 24px 12px;

    pointer-events: none;
}

@media screen and (min-width: 580px) {
    .nameList-wrapper {
        height: 128px;
    }
}

#nameList {
    position: relative;
    margin: auto;
    width: 100%;
    max-width: calc(552px + 48px);
    height: 100%;

    display: flex;
    flex-direction: row-reverse;
}

#nameList li {
    position: relative;
    height: 100%;

    opacity: 0;
    margin-top: 10%;
}

#nameList li > div {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 4px;
    padding: 0 6px;
    min-width: 36px;
    width: max-content;
    height: 22px;
    line-height: 22px;
    color: var(--bk);
    font-size: var(--fz-s);
    background: var(--p);
    box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.25);

    transform: translate(0, 56px);

    transition: all 150ms ease;
}

#nameList li > div:after {
    content: '참여 완!';
}

#nameList li > div:before {
    content: '';
    position: absolute;
    left: calc(50% - 4px);
    bottom: -4px;
    width: 8px;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg width='11' height='9' viewBox='0 0 11 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.37805 9L0.1819 0H10.5742L5.37805 9Z' fill='%23FFFF00'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#nameList li:nth-child(2),
#nameList li:nth-child(4),
#nameList li:nth-child(6),
#nameList li:nth-child(7) {
    min-width: 16px;
    max-width: 16px;
}

#nameList li:nth-child(1) > div,
#nameList li:nth-child(3) > div {
    transform: translate(0, 56px);
}

#nameList li:nth-child(5) > div {
    transform: translate(0, 40px);
}

#nameList li:nth-child(2) > div {
    transform: translate(calc(-50% + 8px), 28px);
}

#nameList li:nth-child(4) > div {
    transform: translate(calc(-50% + 8px), 10px);
}

#nameList li:nth-child(6) > div {
    transform: translate(calc(-50% + 8px), 0);
}

#nameList li:nth-child(7) > div {
    transform: translate(-60%, 20px);
}

#nameList.ready li:nth-child(1) {
    margin-top: 0;
    opacity: 1;
    transition: all 300ms 0ms ease;
}

#nameList.ready li:nth-child(2) {
    margin-top: 0;
    opacity: 1;
    transition: all 300ms 100ms ease;
}

#nameList.ready li:nth-child(3) {
    margin-top: 0;
    opacity: 1;
    transition: all 300ms 200ms ease;
}

#nameList.ready li:nth-child(4) {
    margin-top: 0;
    opacity: 0.75;
    transition: all 300ms 300ms ease;
}

#nameList.ready li:nth-child(5) {
    margin-top: 0;
    opacity: 0.75;
    transition: all 300ms 400ms ease;
}

#nameList.ready li:nth-child(6) {
    margin-top: 0;
    opacity: 0.5;
    transition: all 300ms 500ms ease;
}

#nameList.ready li:nth-child(7) {
    margin-top: 0;
    opacity: 0.25;
    transition: all 300ms 600ms ease;
}

@media screen and (min-width: 580px) {
    #nameList li:nth-child(2),
    #nameList li:nth-child(4),
    #nameList li:nth-child(6),
    #nameList li:nth-child(7) {
        min-width: 62px;
        max-width: 62px;
    }

    #nameList li > div {
        padding: 0 8px;
        min-width: 48px;
        height: 32px;
        line-height: 32px;
    }

    #nameList li > div:before {
        content: '';
        position: absolute;
        left: calc(50% - 6px);
        bottom: -8px;
        width: 12px;
        height: 12px;
    }

    #nameList li:nth-child(1) > div,
    #nameList li:nth-child(3) > div {
        transform: translate(0, 76px);
    }

    #nameList li:nth-child(5) > div {
        transform: translate(0, 54px);
    }

    #nameList li:nth-child(2) > div {
        transform: translate(calc(-50% + 31px), 32px);
    }

    #nameList li:nth-child(4) > div {
        transform: translate(calc(-50% + 31px), 10px);
    }

    #nameList li:nth-child(6) > div {
        transform: translate(calc(-50% + 31px), 0);
    }

    #nameList li:nth-child(7) > div {
        transform: translate(-60%, 40px);
    }
}

#nameList.ready li.ing-wrapper {
    margin-top: 10%;
    opacity: 0;
}

#nameList.ready li.ing-wrapper.ani {
    margin-top: 0;
    opacity: 1;
}

@keyframes blink {
    50% {
        opacity: 0.25;
    }
}

#nameList li > div.ing:after {
    display: none;
}

#nameList li > div.ing > span {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--bk);

    animation: 1000ms blink infinite;
}

#nameList li > div.ing > span:nth-child(2) {
    animation-delay: 250ms;
}

#nameList li > div.ing > span:nth-child(3) {
    animation-delay: 500ms;
}

/* add :: floating-box */
.floating-box {
    position: fixed;
    z-index: 30;
    bottom: 0;
    left: 0;
    width: 100%;
}

.fb-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.fb-inner:after {
    content: '';
    display: block;
    position: absolute;
    z-index: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100% + 48px);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #000 50%);
    pointer-events: none;
}

/* main-v */
.mv-wrapper {
    position: relative;
    padding-bottom: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 150ms ease;
}

.mv-wrapper.ready {
    opacity: 1;
    pointer-events: visible;
}

.mv-inner {
    position: relative;
    width: 100%;
    height: 100%;
    user-select: none;
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.mv-inner::-webkit-scrollbar {
    display: none;
}

.mv-item {
    transition: transform 200ms ease-in-out;
}

@media screen and (min-width: 580px) {
    .mv-item {
        padding-right: 40vw;
    }
}

.mv-item:not(.mv-item--1) {
    position: absolute;
    top: 0;
    left: 0;
}

.mv-item-inner {
    display: flex;
    width: fit-content;
    mix-blend-mode: color-dodge;
}

.mv-item-inner img {
    display: block;
    width: auto;
    min-height: 150px;
    height: calc(var(--vh, 1vh) * 25);
}

@media screen and (min-width: 580px) {
    .mv-item-inner img {
        /*height: calc(var(--vh, 1vh) * 25 - 96px);*/
    }
}

.mv-light {
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.mv-light--1,
.mv-light--3,
.mv-light--5,
.mv-light--7,
.mv-light--9 {
    transition: transform 200ms ease;
}

.mv-light--2,
.mv-light--4,
.mv-light--6,
.mv-light--8,
.mv-light--10 {
    transition: transform 150ms ease-in-out;
}

.scroll-p.cont-open .mv-wrapper.ready {
    display: none;
}

.mv-item--1 {
    position: relative;
    z-index: 9;
    mix-blend-mode: plus-lighter;
    /*mix-blend-mode: color-dodge;*/
}

.mv-item--2 {
    z-index: 8;
}

.mv-item--3 {
    z-index: 7;
    mix-blend-mode: plus-lighter;
    /*mix-blend-mode: color-dodge;*/
}

.mv-item--4 {
    z-index: 6;
}

.mv-item--5 {
    z-index: 5;
    mix-blend-mode: plus-lighter;
    /*mix-blend-mode: color-dodge;*/
}

.mv-item--6 {
    z-index: 4;
}

.mv-item--7 {
    z-index: 3;
    mix-blend-mode: plus-lighter;
    /*mix-blend-mode: color-dodge;*/
}

.mv-item--8 {
    z-index: 2;
}

.mv-item--9 {
    z-index: 1;
}

.mv-item--10 {
    z-index: 0;
    mix-blend-mode: plus-lighter;
    /*mix-blend-mode: color-dodge;*/
}
