/* Basic Reset & Typography */
body {
    font-family: 'Noto Serif JP', serif;
    margin: 0;
    background-color: #1c2a3a; /* Dark blue background */
    color: #ccc; /* Light gray text */
    line-height: 1.8;
    font-size: 16px;
}

a {
    color: #00a0d2; /* Bright blue accent */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    font-weight: 700;
    color: #00a0d2; /* Bright blue accent */
}

/* Header */
header {
    background-color: #1c2a3a; /* Match body background for solid header */
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #444; /* Slightly lighter border */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.logo img {
    max-height: 40px;
    width: auto;
    margin-right: 10px;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

header nav li {
    margin-left: 25px;
}

main {
    padding-top: 80px; /* Compensate for fixed header height */
}

/* Buttons */
.btn {
    background-color: #00a0d2; /* Bright blue accent */
    color: #fff;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #007a9e; /* Darker blue on hover */
    color: #fff;
}

.btn-secondary {
    background: transparent;
    border: 2px solid #00a0d2; /* Bright blue accent */
    color: #00a0d2; /* Bright blue accent */
    padding: 13px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 20px;
}

.btn-secondary:hover {
    background-color: #00a0d2; /* Bright blue accent */
    color: #fff;
}

/* Common Sections & Components */
.feature {
    padding: 80px 0;
    text-align: center;
}

.feature-grid {
    padding: 80px 0;
}

.feature + .feature-grid {
    padding-top: 40px; /* Reduce top padding to half, for example */
}

.feature p {
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.feature-layout {
    display: flex;
    align-items: flex-start; /* Align items to the top */
    gap: 50px; /* Space between image and text */
    text-align: left; /* Reset text alignment for content */
}

.feature-layout:nth-child(even) { /* For alternating image/text layout */
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
    min-width: 400px;
    border-radius: 5px;
    /* Removed background-image, padding-bottom, background-size, background-position, background-repeat */
}

.feature-image img { /* New rule for the img tag inside feature-image */
    width: 100%;
    height: auto;
    display: block; /* Ensure it behaves as a block element */
}

.feature-content {
    flex: 1; /* Allow content to take available space */
}

/* Adjust section-title within feature-content */
.feature-content .section-title {
    text-align: left; /* Align title with content */
    margin-top: 0; /* Remove top margin */
    padding-top: 0; /* Ensure no top padding */
    margin-bottom: 20px; /* Adjust margin */
}

.feature-content p {
    margin-top: 0;
    padding-top: 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left; /* Reset text-align for grid items */
}

.grid-item {
    background-color: #333; /* Slightly lighter than body */
    padding: 30px;
    border-radius: 5px;
}

.grid-item img {
    border-radius: 5px;
    margin-bottom: 20px;
}

.grid-item h4 {
    font-size: 1.5rem;
    color: #00a0d2; /* Bright blue accent */
    margin-top: 0;
    margin-bottom: 15px;
}

.flow-list {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.flow-list li {
    background-color: #333; /* Slightly lighter than body */
    padding: 20px;
    margin-bottom: 15px;
    border-left: 5px solid #00a0d2; /* Bright blue accent */
    display: flex;
    align-items: center;
}

.flow-list span {
    background-color: #00a0d2; /* Bright blue accent */
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.member-card {
    text-align: center;
}

.member-card p {
    margin-top: 15px;
    font-weight: bold;
    font-size: 1.1rem;
}

#members .container {
    text-align: center;
}

.faq-item {
    max-width: 800px;
    margin: 0 auto 25px auto;
    text-align: left;
    border-bottom: 1px solid #444; /* Slightly lighter border */
    padding-bottom: 25px;
}

.faq-item h4 {
    color: #00a0d2; /* Bright blue accent */
    margin-top: 0;
    margin-bottom: 10px;
}

.faq-item p {
    margin: 0;
}

 

.page-title-area {
    padding: 150px 0 50px 0;
    text-align: center;
}

.pagination {
    text-align: center;
    padding: 40px 0;
}

.pagination a, .pagination span {
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #444;
    color: #ccc;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #00a0d2;
    border-color: #00a0d2;
    color: #fff;
}

.pagination span.current {
    background-color: #00a0d2;
    border-color: #00a0d2;
    color: #fff;
}

.pagination span:not(.current) {
    color: #666;
    background-color: #222;
}

/* Footer */
footer {
    background-color: #111;
    padding: 60px 0 20px 0;
    margin-top: 50px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, auto));
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
}

.footer-col a:hover {
    color: #00a0d2;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #444;
    color: #888;
}


/* Responsive */
@media (max-width: 768px) {
    .logo a {
        font-size: 1.2rem;
    }
    header nav {
        display: none; /* Simple solution for mobile, can be improved with JS */
    }
    .section-title {
        font-size: 1.8rem;
    }

    .feature-layout {
        flex-direction: column; /* Stack items vertically */
        gap: 20px; /* Adjust gap for mobile */
    }

    .feature-layout:nth-child(even) {
        flex-direction: column; /* Ensure stacking even for alternating layout */
    }

    .feature-image {
        min-width: auto; /* Remove min-width constraint for mobile */
        width: 100%; /* Make image full width */
    }

    .feature-content {
        text-align: center; /* Center text content for mobile */
    }

    .feature-content .section-title {
        text-align: center; /* Center title for mobile */
    }

    /* Footer Accordion */
    .footer-nav {
        grid-template-columns: 1fr;
    }
    .footer-col h4 {
        cursor: pointer;
        position: relative;
        margin-bottom: 0;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    .footer-col h4::after {
        content: '+';
        position: absolute;
        right: 10px;
        font-size: 1.8rem;
        font-weight: normal;
        color: #888;
        transition: transform 0.3s ease;
    }
    .footer-col h4.active::after {
        content: '-';
    }
    .footer-col ul {
        display: none; /* Hide by default on mobile */
        padding-left: 15px;
        padding-bottom: 20px;
    }
}   }
}