body {
    background-image: url('../images/message-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.main {
    padding: 202px 0 120px;
}

.main__container {
    width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 64px;
    align-items: center;
}

.message__content {
    width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    row-gap: 64px;
}

.message__item {
    width: 344px;
    height: 266px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #07185A;
    border: 1px solid #8a8a8a;
    gap: 16px;
    cursor: pointer;
    padding: 24px 0;
}

.message__item.soon {
    height: 266px;
    background-color: transparent;
    background-image: url('../images/message-item-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    gap: 0;
    cursor: default;
}

.message__item-content-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    height: 160px;
}

.message__item-text {
    color: white;
    font-size: 32px;
    font-weight: 500;
}

.message__item.soon .message__item-text {
    font-size: 32px;
    height: unset;
}

.message__item-image {
    width: 200px;
    height: 80px;
}

.message__item-text {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0;
    text-align: center;
}

.message__item-button {
    width: 208px;
    height: 42px;
    border: 1px solid white;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0;
    cursor: pointer;
}

@media (max-width: 1440px) {
    .main {
        padding: 14.028vw 0 8.333vw;
    }
    
    .main__container {
        width: 100%;
        margin: 0 auto;
        gap: 4.444vw;
    }
    
    .message__content {
        width: 75vw;
        margin: 0 auto;
        gap: 1.667vw;
        row-gap: 4.444vw;
    }
    
    .message__item {
        width: 23.889vw;
        height: 18.472vw;
        gap: 1.111vw;
        padding: 1.667vw 0;
    }

    .message__item.soon {
        height: 18.472vw;
        gap: 0;
    }

    .message__item-content-wrap {
        height: 11.111vw;
        gap: 1.111vw;
    }

    .message__item-text {
        font-size: 2.222vw;
        height: 4.444vw;
    }

    .message__item.soon .message__item-text {
        font-size: 2.222vw;
        height: unset;
    }

    .message__item-image {
        width: 13.889vw;
        height: 5.556vw;
    }
    
    .message__item-text {
        font-size: 1.389vw;
    }
    
    .message__item-button {
        width: 14.444vw;
        height: 2.917vw;
        font-size: 1.111vw;
    }
}

@media (max-width: 768px) {

    body {
        background-image: url('../images/sp-message-bg.png');
    }

    .main {
        padding: 32.267vw 0 17.067vw;
    }
    
    .main__container {
        width: 89.4vw;
        margin: 0 auto;
        gap: 6.4vw;
    }
    
    .message__content {
        width: 89.4vw;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        gap: 1.4vw;
        row-gap: 2.133vw;
    }


    .message__item {
        width: 44vw;
        height: unset;
        gap: 4.267vw;
        padding: 3.2vw 0;
        justify-content: flex-start;
        border: 1px solid white;
    }

    .message__item.soon {
        width: 44vw;
        height: 40.533vw;
        background-image: url('../images/sp-message-item-bg.png');
        justify-content: center;
    }

    .message__item-content-wrap {
        justify-content: flex-start;
        gap: 4.267vw;
        height: 100%;
    }

    .message__item-text {
        font-size: 3.73vw;
        height: unset;
    }

    .message__item.soon .message__item-text {
        font-size: 4.267vw;
        height: unset;
    }
    
    .message__item-image {
        width: 26.667vw;
        height: 10.667vw;
    }
    
    .message__item-text {
        font-size: 3.733vw;
    }
    
    .message__item-button {
        width: 37.333vw;
        height: 8vw;
        font-size: 3.733vw;
    }
}