.page-contact {
    background-color: #0A0A0A;
    color: #FFF6D6;
}

.page-contact__hero-section {
    padding-top: 12px;
    padding-bottom: 40px;
}

.page-contact__hero-image-container {
    max-width: 1020px;
    margin: 0 auto 20px;
    padding: 0 16px;
    box-sizing: border-box;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 17 / 5;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    border: 1px solid #3A2A12;
    box-shadow: 0 10px 40px rgba(255, 211, 107, 0.15);
    background-color: #111111;
}

.page-contact__hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 16px;
    box-sizing: border-box;
}

.page-contact__main-title {
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #FFF6D6;
    max-width: 800px;
    margin: 0 auto 16px;
}

.page-contact__hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #FFD36B;
    max-width: 700px;
    margin: 0 auto 24px;
}

.page-contact__hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.page-contact__cta-button {
    display: inline-block;
    padding: 14px 38px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid #3A2A12;
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__cta-button:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(255, 211, 107, 0.6);
}

.page-contact__partner-section {
    padding: 40px 0 50px;
}

.page-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.page-contact__section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: #FFF6D6;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.page-contact__section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #FFC94D;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.page-contact__partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 20px;
    justify-items: center;
}

.page-contact__partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 280px;
    width: 100%;
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 20px;
    padding: 20px 18px;
    box-sizing: border-box;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.page-contact__partner-item:hover {
    border-color: #FFD36B;
    box-shadow: 0 8px 30px rgba(255, 211, 107, 0.15);
}

.page-contact__partner-image {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: contain;
    display: block;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 8px;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-contact__partner-note {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFD36B;
    margin: 0;
}

.page-contact__partner-cta {
    display: inline-block;
    padding: 10px 28px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid #3A2A12;
    box-shadow: 0 4px 14px rgba(255, 211, 107, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-contact__partner-cta:hover {
    transform: scale(1.03);
}

.page-contact__partner-item:nth-child(5) {
    grid-column: 2;
}

.page-contact__partner-item:nth-child(6) {
    grid-column: 3;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .page-contact__partner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .page-contact__partner-item:nth-child(5),
    .page-contact__partner-item:nth-child(6) {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding-bottom: 30px;
    }

    .page-contact__hero-image {
        aspect-ratio: 2 / 1;
    }

    .page-contact__main-title {
        font-size: 1.5rem;
    }

    .page-contact__section-title {
        font-size: 1.8rem;
    }

    .page-contact__partner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .page-contact__partner-item {
        padding: 14px;
        border-radius: 16px;
        max-width: 100%;
    }

    .page-contact__partner-item:nth-child(5),
    .page-contact__partner-item:nth-child(6) {
        grid-column: auto;
    }

    .page-contact__partner-cta {
        padding: 10px 16px;
        font-size: 0.85rem;
        width: 100%;
    }

    .page-contact img {
        max-width: 100% !important;
        height: auto !important;
    }
}

.page-contact__guide-section {
    padding-bottom: 20px;
}

.page-contact__guide-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 16px;
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    border: 1px solid #3A2A12;
    border-radius: 24px;
    box-sizing: border-box;
}

.page-contact__guide-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: #FFD36B;
    margin: 0 0 24px;
}

.page-contact__guide-intro {
    text-align: center;
    font-size: 1rem;
    color: #FFD36B;
    line-height: 1.6;
    margin: 0 0 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__guide-item {
    margin-bottom: 28px;
    padding: 24px 20px;
    background-color: #111111;
    border-radius: 16px;
    border: 1px solid #3A2A12;
    box-sizing: border-box;
}

.page-contact__guide-heading {
    font-size: 1.4rem;
    font-weight: 700;
    color: #FFF6D6;
    margin: 0 0 16px;
}

.page-contact__guide-figure {
    margin: 0 0 16px;
}

.page-contact__guide-figure img {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    background-color: #111111;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.page-contact__guide-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #FFF6D6;
}

.page-contact__guide-text a {
    color: #FFD36B;
    text-decoration: underline;
}

.page-contact__faq-question {
    font-weight: 600;
    color: #FFD36B;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    line-height: 1.4;
    padding: 8px 0;
}

.page-contact__faq-question[data-faq-toggle] {
    color: #FFD36B;
}

.page-contact__faq-question span {
    display: inline-block;
    width: 28px;
    height: 28px;
    background-color: #3A2A12;
    color: #FFD36B;
    border-radius: 50%;
    line-height: 28px;
    text-align: center;
    font-weight: 800;
    flex-shrink: 0;
}

.page-contact__faq-answer {
    color: #FFF6D6;
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 8px 0 0 36px;
    margin: 0;
}

@media (max-width: 768px) {
    .page-contact__guide-inner {
        padding: 12px;
    }

    .page-contact__guide-title {
        font-size: 1.5rem;
    }

    .page-contact__guide-figure img {
        max-width: 100% !important;
        height: auto !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .page-contact__guide-figure img {
        max-width: 100%;
        height: auto;
    }
}

@media (min-width: 1025px) {
    .page-contact__guide-figure img {
        max-width: 800px;
        height: auto;
    }
}