/* help-center.css */

.page-help-center {
    background-color: #F4F7FB; /* Background color from custom配色 */
    color: #1F2D3D; /* Text Main from custom配色 */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-help-center__hero-section {
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 40px;
    background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Use primary/secondary for hero background */
    text-align: center;
    position: relative;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-help-center__hero-image-wrapper {
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden; /* For rounded corners if applied */
    border-radius: 10px; /* Soften edges */
}

.page-help-center__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.page-help-center__hero-content {
    max-width: 800px;
    margin: 20px auto 0;
    padding: 0 20px;
    color: #FFFFFF; /* White text on blue background */
}

.page-help-center__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFFFFF; /* White for main title */
    margin-bottom: 15px;
    /* No fixed font-size, relying on browser defaults and max-width for responsiveness */
}

.page-help-center__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-help-center__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color from custom配色 */
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-help-center__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-help-center__faq-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-help-center__section-title {
    font-size: 2.2em;
    font-weight: bold;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 30px;
    padding-top: 20px; /* Consistent spacing */
}

.page-help-center__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-help-center__faq-item {
    background-color: #FFFFFF; /* Card BG */
    border: 1px solid #D6E2FF; /* Border color */
    border-radius: 10px;
    padding: 20px 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.page-help-center__faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-help-center__faq-question {
    font-size: 1.25em;
    color: #2F6BFF; /* Primary color for questions */
    margin-bottom: 10px;
    font-weight: bold;
    cursor: pointer; /* Indicate it's clickable/expandable (even if no JS) */
}

.page-help-center__faq-answer {
    font-size: 1em;
    color: #1F2D3D; /* Text Main */
    margin-top: 0;
}

.page-help-center__more-help {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background-color: #FFFFFF; /* Card BG */
    border-radius: 10px;
    border: 1px solid #D6E2FF;
}

.page-help-center__more-help-text {
    font-size: 1.1em;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 20px;
}

.page-help-center__more-help-button {
    display: inline-block;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-help-center__more-help-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Guide Section */
.page-help-center__guide-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-help-center__guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-help-center__guide-card {
    background-color: #FFFFFF; /* Card BG */
    border: 1px solid #D6E2FF; /* Border color */
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #1F2D3D; /* Text Main */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.page-help-center__guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-help-center__guide-card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency, will be object-fit: cover */
    object-fit: cover;
    display: block;
}

.page-help-center__guide-card-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #2F6BFF; /* Primary color */
    padding: 15px 20px 5px;
    margin-top: 0;
}

.page-help-center__guide-card-description {
    font-size: 0.95em;
    color: #1F2D3D; /* Text Main */
    padding: 0 20px 20px;
    flex-grow: 1; /* Pushes content down if cards have different text lengths */
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .page-help-center__hero-section {
        padding-bottom: 30px;
    }

    .page-help-center__main-title {
        font-size: 2em; /* Adjust font size for smaller screens */
    }

    .page-help-center__description {
        font-size: 1em;
    }

    .page-help-center__cta-button {
        padding: 12px 25px;
        font-size: 0.9em;
    }

    .page-help-center__section-title {
        font-size: 1.8em;
    }

    .page-help-center__faq-question {
        font-size: 1.1em;
    }

    .page-help-center__guide-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }

    /* Enforce image sizing for mobile to prevent overflow */
    .page-help-center__hero-image,
    .page-help-center__guide-card-image {
        max-width: 100%;
        height: auto; /* Allow height to adjust proportionally */
    }
    /* Content area image CSS dimensions lower limit check: */
    /* All images within .page-help-center should not have display sizes less than 200px */
    /* The above max-width: 100%; height: auto; combined with HTML width/height attributes */
    /* and object-fit: cover should ensure images are appropriately sized. */
    /* Explicitly setting a min-height for guide cards to ensure image is visible */
    .page-help-center__guide-card-image {
        min-height: 200px; /* Ensure images are not too small even on mobile */
    }
}

@media (max-width: 480px) {
    .page-help-center__main-title {
        font-size: 1.8em;
    }
    .page-help-center__section-title {
        font-size: 1.6em;
    }
}