:root {
    --header-offset: 120px; /* Default desktop offset */
}

body {
    background-color: #0A0A0A; /* Background color from custom配色 */
    color: #FFF6D6; /* Text Main color from custom配色 */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding-top: var(--header-offset); /* Handled by body as per shared snippet */
}

.page-blog__hero-section {
    display: flex;
    flex-direction: column; /* Enforce image-then-text */
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #F2C14E, #FFD36B);
    color: #000000; /* Darker text for light gradient background */
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.page-blog__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Max width for the image */
    margin-bottom: 20px; /* Space between image and text */
}

.page-blog__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-blog__hero-content {
    max-width: 900px;
    padding: 20px;
    z-index: 1;
    color: #111111; /* Darker text for better contrast on light gradient */
}

.page-blog__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #111111; /* Darker text for better contrast on light gradient */
    letter-spacing: -0.03em;
}

.page-blog__hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: #333333; /* Darker text for better contrast on light gradient */
}

.page-blog__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
}

.page-blog__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color from custom配色 */
    color: #111111; /* Dark text for light button */
    border: 2px solid transparent;
}

.page-blog__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 211, 107, 0.4);
}

.page-blog__btn-secondary {
    background: #111111; /* Card BG color from custom配色 */
    color: #FFD36B; /* Glow color from custom配色 */
    border: 2px solid #3A2A12; /* Border color from custom配色 */
}

.page-blog__btn-secondary:hover {
    background: #222222;
    color: #FFF6D6; /* Text Main color from custom配色 */
    border-color: #FFD36B;
    transform: translateY(-2px);
}

.page-blog__section {
    padding: 60px 0;
    position: relative;
}

.page-blog__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-blog__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #FFF6D6; /* Text Main color from custom配色 */
}

.page-blog__section-intro {
    font-size: 1.05rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #FFF6D6; /* Text Main color from custom配色 */
}

.page-blog__article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-blog__article-card {
    background: #111111; /* Card BG color from custom配色 */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #3A2A12; /* Border color from custom配色 */
    display: flex;
    flex-direction: column;
}

.page-blog__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-blog__card-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    filter: none; /* Ensure no CSS filter */
}

.page-blog__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-blog__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-blog__card-title a {
    color: #FFD36B; /* Glow color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-blog__card-title a:hover {
    color: #FFF6D6; /* Text Main color on hover */
}

.page-blog__card-meta {
    font-size: 0.9rem;
    color: #A0A0A0;
    margin-bottom: 15px;
}

.page-blog__card-excerpt {
    font-size: 1rem;
    color: #FFF6D6; /* Text Main color */
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-blog__read-more-btn {
    display: inline-block;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #111111; /* Dark text */
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s ease, transform 0.3s ease;
    align-self: flex-start;
}

.page-blog__read-more-btn:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
    transform: translateY(-2px);
}

.page-blog__view-all {
    text-align: center;
    margin-top: 20px;
}

.page-blog__categories.page-blog__dark-section {
    background: #0A0A0A; /* Background color from custom配色 */
    color: #FFF6D6; /* Text Main color from custom配色 */
}

.page-blog__category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    text-align: center;
}

.page-blog__category-item {
    background: #111111; /* Card BG color from custom配色 */
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #3A2A12; /* Border color from custom配色 */
}

.page-blog__category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-blog__category-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: none; /* Ensure no CSS filter */
}

.page-blog__category-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-blog__category-title a {
    color: #FFD36B; /* Glow color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-blog__category-title a:hover {
    color: #FFF6D6; /* Text Main color on hover */
}

.page-blog__category-description {
    font-size: 0.95rem;
    color: #FFF6D6; /* Text Main color */
}

.page-blog__why-choose-us {
    background: #0A0A0A; /* Background color from custom配色 */
    color: #FFF6D6; /* Text Main color from custom配色 */
}

.page-blog__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-blog__feature-item {
    background: #111111; /* Card BG color from custom配色 */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #3A2A12; /* Border color from custom配色 */
}

.page-blog__feature-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: none; /* Ensure no CSS filter */
}

.page-blog__feature-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #FFD36B; /* Glow color */
    margin-bottom: 10px;
}

.page-blog__feature-description {
    font-size: 1rem;
    color: #FFF6D6; /* Text Main color */
}

.page-blog__cta-center {
    text-align: center;
    margin-top: 40px;
}

.page-blog__faq-section {
    background: #0A0A0A; /* Background color from custom配色 */
    color: #FFF6D6; /* Text Main color from custom配色 */
}

.page-blog__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-blog__faq-item {
    background: #111111; /* Card BG color from custom配色 */
    border: 1px solid #3A2A12; /* Border color from custom配色 */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-blog__faq-item.active {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    color: #FFD36B; /* Glow color */
    transition: background 0.3s ease;
}

.page-blog__faq-question:hover {
    background: rgba(255, 211, 107, 0.05);
}

.page-blog__faq-question h3 {
    margin: 0;
    color: inherit;
}

.page-blog__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-blog__faq-item.active .page-blog__faq-toggle {
    transform: rotate(0deg); /* Explicitly set to 0 for '-' */
}

.page-blog__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #FFF6D6; /* Text Main color */
    font-size: 1rem;
}

.page-blog__faq-item.active .page-blog__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px 25px;
}

.page-blog__faq-answer p {
    margin: 0;
}

.page-blog__faq-answer a {
    color: #FFD36B; /* Glow color for links */
    text-decoration: underline;
}

.page-blog__cta-section.page-blog__dark-section {
    background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Main color for CTA section */
    color: #111111; /* Dark text for light gradient background */
    padding: 80px 0;
}

.page-blog__cta-section .page-blog__section-title,
.page-blog__cta-section .page-blog__section-intro {
    color: #111111; /* Dark text for better contrast */
}

.page-blog__cta-subtext {
    margin-top: 20px;
    font-size: 1rem;
    color: #333333; /* Darker text for better contrast */
}

.page-blog__cta-subtext a {
    color: #333333; /* Darker text for better contrast */
    text-decoration: underline;
    font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-blog__hero-content {
        padding: 15px;
    }
    .page-blog__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-blog__hero-description {
        font-size: 1rem;
    }
    .page-blog__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-blog__category-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    .page-blog__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --header-offset: 100px; /* Adjust for mobile header height */
    }
    .page-blog__hero-section {
        flex-direction: column-reverse; /* Text then image on mobile */
        padding-top: var(--header-offset, 100px) !important; /* Mobile: ensure header offset */
        padding-bottom: 30px;
    }
    .page-blog__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-blog__hero-content {
        padding: 0 15px;
    }
    .page-blog__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-top: 20px;
    }
    .page-blog__hero-description {
        font-size: 0.95rem;
    }
    .page-blog__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    .page-blog__btn-primary,
    .page-blog__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-blog__section {
        padding: 40px 0;
    }
    .page-blog__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-blog__section-intro {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .page-blog__article-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-blog__category-grid,
    .page-blog__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-blog__card-image,
    .page-blog__category-icon,
    .page-blog__feature-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-blog__article-card {
        padding-bottom: 0;
    }
    .page-blog__card-content {
        padding: 20px;
    }
    .page-blog__card-title {
        font-size: 1.2rem;
    }
    .page-blog__read-more-btn {
        width: 100%;
        text-align: center;
    }
    .page-blog__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-blog__faq-answer {
        padding: 0 20px;
    }
    .page-blog__faq-item.active .page-blog__faq-answer {
        padding: 15px 20px 20px 20px;
    }
    .page-blog__cta-section {
        padding: 50px 0;
    }
    .page-blog__cta-subtext {
        font-size: 0.9rem;
    }
    .page-blog img {
        max-width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-blog__article-card .page-blog__card-image {
        height: 180px; /* Adjust height for mobile */
    }
}

@media (max-width: 480px) {
    .page-blog__hero-content {
        padding: 0 10px;
    }
    .page-blog__main-title {
        font-size: clamp(1.5rem, 9vw, 2rem);
    }
    .page-blog__hero-description {
        font-size: 0.9rem;
    }
    .page-blog__section-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    .page-blog__section-intro {
        font-size: 0.9rem;
    }
    .page-blog__btn-primary,
    .page-blog__btn-secondary {
        padding: 12px 20px;
        font-size: 1rem;
    }
    .page-blog__card-title {
        font-size: 1.1rem;
    }
    .page-blog__card-excerpt {
        font-size: 0.9rem;
    }
    .page-blog__read-more-btn {
        font-size: 0.9rem;
    }
    .page-blog__category-item,
    .page-blog__feature-item {
        padding: 20px;
    }
    .page-blog__category-title,
    .page-blog__feature-title {
        font-size: 1.1rem;
    }
    .page-blog__category-description,
    .page-blog__feature-description {
        font-size: 0.85rem;
    }
    .page-blog__faq-question {
        font-size: 0.95rem;
        padding: 12px 15px;
    }
    .page-blog__faq-answer {
        padding: 0 15px;
    }
    .page-blog__faq-item.active .page-blog__faq-answer {
        padding: 10px 15px 15px 15px;
    }
}