@charset "UTF-8";
@import "landing.css";
/* common */
input::placeholder,
textarea::placeholder {
    color: #b9b9c5;
    line-height: 165%;
    letter-spacing: -0.05em;
    font-size: 15px;
}

.hide {
    display: none !important;
}

.emoji-font {
    font-family: apple color emoji, segoe ui emoji, noto color emoji, android emoji, emojisymbols, emojione mozilla, twemoji mozilla, segoe ui symbol;
}

label.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

.thumbnail-img.selected {
    border: 2px solid #5e51f0 !important;
}

.modal .slick-track {
    width: auto !important;
    display: flex;
    gap: 10px;
}

.home.appstore .header-banner .slick-track {
    /* 최상단 배너 예외 처리 */
    display: block;
}

.slick-prev {
    left: -5px;
}

.slick-next {
    right: -5px;
}

.slick-prev,
.slick-next {
    display: none !important;
}

.custom-prev-arrow,
.custom-next-arrow {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: background 0.3s ease;
}

.custom-prev-arrow:hover,
.custom-next-arrow:hover {
    background: rgba(255, 255, 255, 0.7);
}

.custom-prev-arrow {
    left: 20px;
}

.custom-prev-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-25%, -50%) rotate(-45deg) translateX(-1px);
    display: block;
    width: 10px;
    height: 10px;
    border-left: 2px solid #333;
    border-top: 2px solid #333;
}

.custom-next-arrow {
    right: -7px;
}

.custom-next-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-75%, -50%) rotate(135deg) translateX(-1px);
    display: block;
    width: 10px;
    height: 10px;
    border-left: 2px solid #333;
    border-top: 2px solid #333;
}

.columns-2 {
    display: flex;
}

.columns-2 > *:last-child {
    margin-top: 10px;
}

/* appstore hero */
.home.appstore .page.hero {
    padding-bottom: 0;
}

.home.appstore .page .hero-layout {
    margin-bottom: 0;
}

.home.appstore .page .hero-title,
.home.appstore .page .hero-desc {
    text-align: center;
}

.home.appstore .become-appstore-banner .btn {
    margin-bottom: 35px;
}

.home.appstore .become-appstore-banner .info-link {
    padding-bottom: 5px;
    font-size: 18px;
    font-weight: 700;
    border-bottom: 1px dashed #8B8B9E;
}

/* appstore-filter */
.home.appstore .appstore-list-wrapper {
    padding-top: 0 !important;
    overflow-anchor: none;
}

.home.appstore .appstore-list-wrapper .list-title {
    margin-bottom: 40px;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: -1.6px;
}

.home.appstore .appstore-filter-wrapper {
    position: relative;
}

.home.appstore .appstore-filter-list {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.home.appstore .appstore-filter-list .appstore-filter {
    border: 1px solid #e3e4e9;
    box-sizing: border-box;
    border-radius: 96px;
    color: #000;
    padding: 6px 12px;
    cursor: pointer;
}

.home.appstore .appstore-filter-list .appstore-filter.active {
    border-color: #000;
    background-color: #000;
    font-weight: bold;
    color: #fff;
}

/* appstore-item */
.home .page .appstore-content-wrapper {
    margin: 0 auto;
}

.home.appstore .appstore-item-list-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 80px 30px;
}

.home.appstore .appstore-item-list-wrapper hidden {
    display: none;
}

.home .page .appstore-item {
    -webkit-transition: all .1s linear;
    -moz-transition: all .1s linear;
    -o-transition: all .1s linear;
    transition: all .1s linear;
}

.home .page .appstore-item:hover {
    opacity: 0.8;
}

.home.appstore .appstore-item .thumbnail {
    max-width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.appstore-medal.appstore-medal-list {
    position: absolute;
    right: 0;
    bottom: 2px;
    width: 80px;
    height: auto;
    z-index: 5;
    pointer-events: none;
}

.home.appstore .appstore-item .thumbnail img {
    display: inline-block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 16 / 9;
}

.home.appstore .appstore-item .info {
    display: flex;
    align-items: center;
    margin-top: 12px;
}

.home.appstore .appstore-item .info .logo-wrapper {
    margin-right: 10px;
    width: 40px;
    height: 40px;
}

.home.appstore .appstore-item .info .logo-wrapper .logo-img {
    width: 25px;
}

.home.appstore .appstore-item .info .name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
    font-size: 20px;
    line-height: 150%;
    letter-spacing: -0.05em;
    color: #222;
}

.home.appstore .appstore-item .info .appstore-item-detail {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 18px;
    line-height: 165%;
    letter-spacing: -0.05em;
    color: #8b8b9e;
    margin-bottom: 10px;
}

.home.appstore .appstore-item .info .appstore-item-category {
    display: inline-block;
    border: 1px solid #e2e2ea;
    box-sizing: border-box;
    border-radius: 96px;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: -0.05em;
    color: #8b8b9e;
    padding: 2px 8px;
}

/* modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    width: 100%;
    max-width: 1200px;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    display: flex;
    height: 100%;
}

.modal-body .content {
    width: 100%;
    height: 100%;
}

.modal-body .content.left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: calc(100% - 50px);
    margin-right: 30px;
}

.modal-body .content.left .preview-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.modal-body .content.left .preview {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0;
    border-radius: 12px;
}

.modal-body .content.left .preview iframe {
    height: 100%;
}

.modal-body .content.left .preview .img-wrapper {
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden
}

.modal-body .content.left .preview img,
.modal-body .content.left .preview iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.modal-body .content .go-to-site-btn {
    margin-top: 10px;
    font-size: 16px;
    text-align: right;
    font-weight: 700;
    color: #5e51f0;
    letter-spacing: -0.05em;
}

.modal-body .content.left .thumbnail-wrapper {
    display: flex;
    gap: 10px;
    height: 98px;
    overflow-x: scroll;
    overflow-y: hidden;
    align-items: center;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-body .content.left .thumbnail-wrapper::-webkit-scrollbar {
    display: none;
}

.modal-body .content.left .thumbnail-wrapper .thumbnail-img {
    width: 160px;
    max-width: 100%;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-body .content.right {
    width: 400px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    color: #222;
}

.modal-body .content.right .info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.modal-body .content .info .logo-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.modal-body .content .info .logo-wrapper .logo-img {
    width: 80px;
}

.modal-body .content.right .info .name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 135%;
}

/* 파트너명 영역에 수상자 메달 */
.modal-body .content .info .name[data-medal] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.modal-body .content .info .name[data-medal]::before {
    content: "제1회 천하제일 블록대회 수상자";
    font-weight: 400;
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    padding: 16px 20px;
    border-radius: 12px;
    background: #000;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.modal-body .content .info .name[data-medal]:hover::before {
    opacity: 1;
}

.modal-body .content .info .name[data-medal]::after {
    content: "";
    display: inline-block;
    width: 30px;
    height: 40px;
    flex: 0 0 auto;
    background: no-repeat center/contain;
}

.modal-body .content .info .name[data-medal="gold"]::after {
    background-image: url("/resources/images/home/medal-gold-detail.svg");
}

.modal-body .content .info .name[data-medal="silver"]::after {
    background-image: url("/resources/images/home/medal-silver-detail.svg");
}

.modal-body .content .info .name[data-medal="bronze"]::after {
    background-image: url("/resources/images/home/medal-bronze-detail.svg");
}


.modal-body .content.right .info .type {
    display: flex;
    gap: 10px;
}

.modal-body .content.right .info .type .badge {
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    padding: 5px 15px;
    border-radius: 100px;
    border: 1px solid #222;
    margin-bottom: 15px;
}

.modal-body .content.right .info .tag {
    color: #5e51f0;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 30px;
}

.modal-body .content.right .info .desc {
    font-size: 18px;
    font-weight: 400;
    line-height: 165%;
    letter-spacing: -1px;
    margin-bottom: 50px;
}

.modal-body .content-site.screen-mobile {
    display: none;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-container .title-wrapper p:first-of-type {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-container .title-wrapper .info-desc {
    font-size: 14px;
    color: #8b8b9e;
}

form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

form .form-group .title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}

form input:not([type="radio"]) {
    box-sizing: border-box;
    width: 100%;
    height: 58px;
    background-color: initial;
    border: 1px solid #8b8b9e;
    -webkit-appearance: none;
    padding: 16px 20px;
    border-radius: 10px;
}

form select {
    width: 100%;
    height: 58px;
    min-width: 80px;
    line-height: 23px;
    appearance: none;
    border-radius: 10px;
    padding: 0 20px;
    border: 1px solid #8b8b9e;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: none;
}

form .budget-wrapper {
    position: relative;
}

form .budget-wrapper:after {
    content: "\e9bc";
    font-family: 'sixshop' !important;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #8b8b9e;
    pointer-events: none;
}

form .error-message {
    display: none;
    color: #ff7164;
    font-size: 14px;
    margin-top: 10px;
}

input[type="radio"]:invalid {
    outline: none;
    box-shadow: none;
}

input[type="radio"]:invalid + label {
    color: initial;
    font-weight: initial;
}

input[type="radio"] {
    display: none;
}

.type label,
.contact-type label {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
    font-size: 16px;
    cursor: pointer;
    position: relative;
}

.type label:first-of-type,
.contact-type label:first-of-type {
    margin-right: 56px;
}

.custom-radio {
    width: 22px;
    height: 22px;
    border: 1px solid #8b8b9e;
    border-radius: 50%;
    margin-right: 10px;
    background-color: transparent;
    position: relative;
    transition: all 0.3s ease;
}

input[type="radio"]:checked + .custom-radio {
    border-color: #000;
    background-color: #fff;
}

input[type="radio"]:checked + .custom-radio::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background-color: #222;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

label:hover .custom-radio {
    border-color: #222;
}

.type p,
.contact-type p {
    margin-top: 16px;
    font-size: 14px;
}

form textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 202px;
    background-color: initial;
    border: 1px solid #8b8b9e;
    font-size: 1em;
    font-weight: normal;
    line-height: 23px;
    -webkit-appearance: none;
    padding: 10px 15px;
    color: #222;
    border-radius: 10px;
}

form .check-privacy-info-agree label {
    font-size: 14px;
    letter-spacing: -0.5px;
}

form .check-privacy-info-agree [type="checkbox"]:not(:checked) + label:before,
form .check-privacy-info-agree [type="checkbox"]:checked + label:before {
    box-sizing: unset;
}

form .check-privacy-info-agree [type="checkbox"]:checked + label:before {
    border: 1px solid #222;
    background-color: #222;
}

form .check-privacy-info-agree [type="checkbox"]:checked + label:after {
    top: 3px;
    left: 4px;
}

[type="checkbox"]:not(:checked) + label, [type="checkbox"]:checked + label {
    height: 20px;
}

/* contact-us-banner */
.home.appstore .contact-us-banner .section-title-wrapper {
    text-align: center;
}

.home.appstore .contact-us-banner .section-title-wrapper .section-desc {
    margin-bottom: 35px;
}

.home.appstore .contact-us-banner .email-contact {
    display: none;
}

.home.appstore .contact-us-banner .email-contact .columns-2 {
    gap: 20px;
}

.home.appstore .contact-us-banner .email-contact .columns-2 .form-group.contact-type,
.home.appstore .contact-us-banner .email-contact .columns-2 .form-group.budget {
    width: 50%;
}

/* become-appstore-banner */
.home.appstore .become-appstore-banner {
    padding: 80px 0;
    background-color: #f7f8f8;
}

.home.appstore .become-appstore-banner .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    letter-spacing: -1.6px;
}

.home.appstore .become-appstore-banner .section-title {
    margin-bottom: 35px;
    font-size: 32px;
    line-height: 150%;
    letter-spacing: -1.6px;
}

.home.appstore .contact .section-desc {
    margin-bottom: 35px;
}

@media screen and (min-width: 1251px) and (max-width: 1440px) {
    /* appstore-item */
    margin-bottom: 14px;
    .home.appstore .appstore-item-list-wrapper {
        grid-gap: 70px 24px;
    }

    .home.appstore .appstore-item .info .name {
        font-size: 18px;
    }

    .home.appstore .appstore-item .info .appstore-item-detail {
        font-size: 16px;
    }
}

@media screen and (max-width: 1250px) {
    /* common */
    .home.appstore .screen-desktop {
        display: none !important;
    }

    /* appstore hero */
    .home.appstore .page.hero {
        background-size: cover;
    }

    /* appstore-filter */
    .home.appstore .appstore-list-wrapper .list-title {
        margin-bottom: 30px;
        font-size: 24px;
    }

    .home.appstore .appstore-filter-list {
        display: block;
        overflow: auto;
        white-space: nowrap;
        margin-bottom: 20px;
        text-align: center;
    }

    /* appstore-list */
    .home .page .appstore-filter-list .appstore-filter {
        display: inline-block;
        margin: 0;
    }

    /* appstore-item */
    .home.appstore .appstore-item-list-wrapper {
        grid-template-columns: 1fr;
        grid-row-gap: 60px;
    }

    .home .page .appstore-item .info {
        margin-top: 20px;
    }

    .home .page .appstore-item .info .name {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .home .page .appstore-item .info .appstore-item-detail {
        font-size: 16px;
    }

    .home.appstore .appstore-item .info .appstore-item-category {
        font-size: 13px;
        line-height: 20px;
        padding: 1px 6px;
    }

    /* modal */
    .modal-content {
        width: unset;
        height: 100%;
        max-width: 100%;
        padding: 0;
        border-radius: 0;
        position: relative;
    }

    .close-btn {
        font-size: 2rem;
        padding: 0;
    }

    .modal-body {
        flex-direction: column-reverse;
        justify-content: flex-end;
        margin: 20px;
    }

    .modal-body .content {
        height: unset;
    }

    .modal-body .content.left {
        margin-top: 20px;
        margin-right: unset;
        width: 100%;
    }

    .modal-body .content.right .info .desc {
        margin-bottom: 30px;
    }

    .modal-body .content .go-to-form.btn {
        margin-bottom: 50px;
    }

    .modal-body .content-site.screen-mobile {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        margin-bottom: 50px;
    }

    .modal-body .content-site .preview {
        height: 580px;
        overflow: hidden;
        overflow-y: scroll;
        border: 1px solid rgba(0, 0, 0, 0.1);
        font-size: 0;
    }

    .modal-body .content-site .preview iframe {
        height: 580px;
    }

    .modal-body .content-site .preview img {
        width: 100%;
    }

    .modal-body .content .go-to-site-btn {
        margin-top: 15px;
        font-size: 18px;
        float: right;
    }

    .modal-body .content-site .thumbnail-wrapper {
        display: flex;
        gap: 20px;
        height: 86px;
        overflow-y: hidden;
        overflow-x: auto;
        position: relative;
    }

    .modal-body .content-site .thumbnail-wrapper .thumbnail-img {
        width: 144px;
        cursor: pointer;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .modal-body .content-site .thumbnail-wrapper .thumbnail-img.selected {
        border: 2px solid #5e51f0;
    }

    .modal-body .content.right {
        width: 100%;
    }

    .form-container .btn[type="submit"] {
        margin-bottom: 50px;
    }

    /* contact-us-banner */
    .home.appstore .contact-us-banner .section-title-wrapper {
        margin-bottom: 60px;
    }

    .home.appstore .contact-us-banner .section-title-wrapper .section-title,
    .home.appstore .contact-us-banner .section-title-wrapper .section-desc {
        text-align: center;
    }

    .home.appstore .contact-us-banner .section-title-wrapper .section-desc {
        margin-bottom: 35px;
    }

    .home.appstore .contact-us-banner .email-contact .columns-2 {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .home.appstore .contact-us-banner .email-contact .columns-2 .form-group.contact-type,
    .home.appstore .contact-us-banner .email-contact .columns-2 .form-group.budget {
        width: 100%;
    }

    /* become-appstore-banner */
    .home.appstore .become-appstore-banner .section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
}