.contact-thanks {
    padding: 8rem 2rem;
    height:100vh;
    display:flex;
    flex-direction: column;
    justify-content: center;
}

.contact-thanks__inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-thanks__title {
    font-size: 2.8rem; /* 28px */
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 3rem;
    line-height: 1.4;
}

.contact-thanks__text {
    font-size: 1.6rem; /* 16px */
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
}

.contact-thanks__subtext {
    font-size: 1.4rem; /* 14px */
    line-height: 1.8;
    color: #666;
    margin-bottom: 4rem;
}

.contact-thanks__btn-wrap {
    text-align: center;
}

.contact-thanks__btn {
    display: inline-block;
    padding: 1.6rem 4.8rem;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    font-size: 1.6rem; /* 16px */
    font-weight: bold;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

.contact-thanks__btn:hover {
    opacity: 0.8;
}

@media screen and (max-width: 768px) {
    .contact-thanks {
        padding: 5rem 1.6rem;
    }
    
    .contact-thanks__title {
        font-size: 2.2rem; 
    }
    
    .contact-thanks__text {
        font-size: 1.4rem; /* 14px */
    }
    
    .contact-thanks__btn {
        width: 100%;
        box-sizing: border-box;
    }
}