/*
 * Contact Thanks Page Styles
 * お問い合わせ送信完了ページのスタイル
 */

/* Page Container */
.contact-thanks-page {
    background-color: #fbf9f4;
    min-height: calc(100vh - 150px);
    position: relative;
    padding-bottom: 80px;
}

/* Success Message Section */
.thanks-message-section {
    padding: 150px 20px 100px;
    text-align: center;
}

.thanks-container {
    max-width: 1140px;
    margin: 0 auto;
}

.thanks-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    font-size: 64px;
    letter-spacing: 12.8px;
    color: #53834f;
    margin: 0 0 30px;
    line-height: 1.2;
}

/* Decorative Dots */
.thanks-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 80px;
}

.thanks-dots .dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #e6ae25;
    display: block;
}

/* Top Button */
.thanks-button-wrapper {
    display: flex;
    justify-content: center;
}

.thanks-top-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 411px;
    height: 72px;
    background-color: #e6ae25;
    border-radius: 8px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    color: white;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    font-size: 29.105px;
    letter-spacing: 2.9105px;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.thanks-top-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    color: white;
}

/* Q&A Promotion Section */
.thanks-qa-promotion-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #f5f5f5;
}

.thanks-qa-promotion-container {
    max-width: 1200px;
    margin: 0 auto;
}

.thanks-qa-promotion-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 400;
    font-size: 32px;
    letter-spacing: 0.05em;
    color: #42210b;
    margin: 0 0 60px;
    line-height: 1.7;
}

/* Q&A Promotion Buttons */
.thanks-qa-promotion-buttons {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.thanks-qa-login-button,
.thanks-qa-register-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    height: 70px;
    border-radius: 50px;
    color: white;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.thanks-qa-login-button {
    background-color: #5a7c56;
}

.thanks-qa-login-button:hover {
    background-color: #42210b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

.thanks-qa-register-button {
    background-color: #e6ae25;
}

.thanks-qa-register-button:hover {
    background-color: #d69d1e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Sidebar */
.contact-thanks-sidebar {
    position: fixed;
    right: 0;
    top: 150px;
    z-index: 100;
}

.sidebar-widget {
    margin-bottom: 20px;
}

.sidebar-widget a {
    display: block;
    text-decoration: none;
}

/* Member Registration Widget */
.member-registration-widget .member-registration-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #53834f;
    border-radius: 12px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
    padding: 23px 16px;
    width: 89px;
    transition: opacity 0.3s ease;
}

.member-registration-widget .member-registration-link:hover {
    opacity: 0.9;
}

.member-registration-widget .widget-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin-bottom: 15px;
}

.member-registration-widget .widget-line {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    font-size: 36px;
    letter-spacing: 7.2px;
    color: white;
    line-height: 1.14;
}

.member-registration-widget .widget-icon {
    width: 58px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-registration-widget .widget-icon svg {
    transform: rotate(180deg) scaleY(-1);
}

/* News/Events Widget */
.news-events-widget .news-events-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #e6ae25;
    border-radius: 12px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
    padding: 17px 16px;
    width: 89px;
    transition: opacity 0.3s ease;
}

.news-events-widget .news-events-link:hover {
    opacity: 0.9;
}

.news-events-widget .widget-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-bottom: 18px;
}

.news-events-widget .widget-line {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    font-size: 36px;
    letter-spacing: 7.2px;
    color: white;
    line-height: 1.06;
}

.news-events-widget .widget-icon {
    width: 55px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-events-widget .widget-icon svg {
    transform: rotate(180deg) scaleY(-1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .thanks-title {
        font-size: 52px;
        letter-spacing: 10px;
    }
    
    .thanks-qa-promotion-title {
        font-size: 28px;
        letter-spacing: 0.05em;
    }
    
    .thanks-qa-login-button,
    .thanks-qa-register-button {
        font-size: 22px;
        min-width: 240px;
        height: 65px;
    }
}

@media (max-width: 768px) {
    .thanks-message-section {
        padding: 100px 20px 60px;
    }
    
    .thanks-title {
        font-size: 36px;
        letter-spacing: 5px;
    }
    
    .thanks-dots {
        gap: 8px;
        margin-bottom: 50px;
    }
    
    .thanks-dots .dot {
        width: 14px;
        height: 14px;
    }
    
    .thanks-top-button {
        min-width: 300px;
        height: 60px;
        font-size: 22px;
        letter-spacing: 2px;
    }
    
    .thanks-qa-promotion-section {
        padding: 60px 20px;
    }
    
    .thanks-qa-promotion-title {
        font-size: 24px;
        letter-spacing: 0.05em;
        margin-bottom: 40px;
    }
    
    .thanks-qa-promotion-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .thanks-qa-login-button,
    .thanks-qa-register-button {
        font-size: 20px;
        min-width: 240px;
        height: 60px;
        width: 100%;
        max-width: 320px;
    }
    
    /* Hide sidebar on mobile */
    .contact-thanks-sidebar {
        display: none;
    }
}

@media (max-width: 480px) {
    .thanks-title {
        font-size: 28px;
        letter-spacing: 3px;
    }
    
    .thanks-top-button {
        min-width: 250px;
        height: 55px;
        font-size: 20px;
    }
    
    .thanks-qa-promotion-title {
        font-size: 20px;
        letter-spacing: 0.05em;
    }
    
    .thanks-qa-login-button,
    .thanks-qa-register-button {
        font-size: 18px;
        min-width: 200px;
        height: 55px;
    }
}

