/* Basic Style for Kouya Health Partners */
body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #444;
    background-color: #f4f8f6; /* 薄い緑系グレー */
}

header {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 5px solid #2e8b57; /* SeaGreen */
}

header h1 {
    margin: 0;
    font-size: 1.6rem;
    color: #2e8b57;
}

header a {
    text-decoration: none;
    color: #2e8b57;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

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

nav a {
    color: #555;
    font-weight: bold;
    font-size: 0.95rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #2e8b57;
}

main {
    max-width: 1000px;
    margin: 0 auto;
}

.hero {
    background: url('../img/hero-health.jpg') no-repeat center center;
    background-size: cover;
    background-color: #e0f2f1; /* Fallback color */
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.hero h2 {
    font-size: 2.2rem;
    color: #2e8b57;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

section {
    padding: 40px 20px;
    margin-bottom: 20px;
    background: #fff;
}

section h2 {
    text-align: center;
    color: #2e8b57;
    margin-bottom: 40px;
    position: relative;
}

section h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #2e8b57;
    margin: 10px auto 0;
}

.features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-item {
    flex: 1;
    min-width: 280px;
    text-align: center;
    padding: 20px;
}

.feature-item h3 {
    color: #2e8b57;
}

footer {
    background-color: #2e8b57;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
}

footer a {
    color: #fff;
    text-decoration: underline;
}

.btn {
    display: inline-block;
    background-color: #2e8b57;
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 20px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #246b43;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    header h1 {
        margin-bottom: 15px;
    }

    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin-left: 0;
        margin-bottom: 10px;
    }
    
    .hero {
        padding: 40px 20px;
    }

    .hero h2 {
        font-size: 1.8rem;
    }
    
    .feature-item {
        min-width: 100%;
    }
}
