/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fdfdf9;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(143, 188, 143, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 203, 164, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, #fdfdf9 0%, #f9f9f5 100%);
    background-attachment: fixed;
}

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

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(143, 188, 143, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    filter: drop-shadow(0 2px 4px rgba(143, 188, 143, 0.2));
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d5016;
    letter-spacing: 0.02em;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(143, 188, 143, 0.1) 0%, rgba(255, 203, 164, 0.1) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d5016;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-content p {
    font-size: 1.2rem;
    color: #5a6c57;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #5a6c57;
    font-weight: 500;
}

.feature-icon {
    font-size: 1.2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: 350px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(143, 188, 143, 0.2);
}

.image-placeholder {
    background-color: rgba(143, 188, 143, 0.1);
    border: 2px dashed rgba(143, 188, 143, 0.3);
    border-radius: 12px;
    padding: 3rem;
    color: #8FBC8F;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2d5016;
    text-align: center;
    margin-bottom: 3rem;
}

/* Age Advice */
.age-advice {
    text-align: center;
}

.age-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.age-card {
    background-color: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(143, 188, 143, 0.1);
    border: 1px solid rgba(143, 188, 143, 0.15);
}

.age-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.age-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d5016;
    margin-bottom: 1rem;
}

.age-card p {
    color: #5a6c57;
    font-size: 0.95rem;
}

/* Expert Articles */
.expert-articles {
    background-color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(143, 188, 143, 0.1);
    border: 1px solid rgba(143, 188, 143, 0.15);
}

.article-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
}

.article-tag {
    background-color: rgba(255, 203, 164, 0.8);
    color: #8b4513;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d5016;
    margin: 1rem 0 0.5rem 0;
    line-height: 1.4;
}

.article-excerpt {
    color: #5a6c57;
    font-size: 0.9rem;
}

/* Regional Events */
.regional-events {
    text-align: center;
}

.regional-events h2 {
    text-align: center;
}

.events-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.map-placeholder {
    background-color: rgba(143, 188, 143, 0.1);
    border: 2px dashed rgba(143, 188, 143, 0.3);
    border-radius: 12px;
    padding: 8rem 2rem;
    color: #8FBC8F;
    font-weight: 500;
    text-align: center;
}

.events-list {
    background-color: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(143, 188, 143, 0.1);
}

.event-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(143, 188, 143, 0.1);
}

.event-item:last-child {
    border-bottom: none;
}

.event-date {
    background-color: rgba(255, 203, 164, 0.3);
    color: #8b4513;
    padding: 0.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 80px;
    text-align: center;
}

.event-info h4 {
    font-weight: 600;
    color: #2d5016;
    margin-bottom: 0.3rem;
}

.event-location {
    color: #5a6c57;
    font-size: 0.9rem;
}

/* Product Reviews */
.product-reviews {
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(143, 188, 143, 0.1);
    border: 1px solid rgba(143, 188, 143, 0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d5016;
    margin-bottom: 0.5rem;
}

.product-price {
    color: #8b4513;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.product-rating {
    color: #ff9500;
    margin-bottom: 1rem;
    font-weight: 500;
}

.product-content p {
    color: #5a6c57;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.product-btn {
    background: linear-gradient(135deg, #8FBC8F 0%, #7aa87a 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
}

.product-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(143, 188, 143, 0.3);
}

/* Member Consultation */
.member-consultation {
    background-color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.member-consultation h2 {
    text-align: center;
}

.consultation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.consultation-info {
    background-color: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(143, 188, 143, 0.1);
}

.consultation-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d5016;
    margin-bottom: 1.5rem;
}

.consultation-info ul {
    list-style: none;
    margin-bottom: 2rem;
}

.consultation-info li {
    padding: 0.5rem 0;
    color: #5a6c57;
    position: relative;
    padding-left: 1.5rem;
}

.consultation-info li::before {
    content: '✓';
    color: #8FBC8F;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.consultation-btn {
    background: linear-gradient(135deg, #FFCBA4 0%, #ffb088 100%);
    color: #8b4513;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
}

.consultation-schedule {
    background-color: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(143, 188, 143, 0.1);
}

.consultation-schedule h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d5016;
    margin-bottom: 1.5rem;
}

.schedule-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(143, 188, 143, 0.1);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-time {
    color: #8b4513;
    font-weight: 600;
    font-size: 0.9rem;
}

.schedule-topic {
    color: #2d5016;
    font-weight: 500;
}

/* Recipes */
.recipes {
    text-align: center;
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.recipe-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(143, 188, 143, 0.1);
    border: 1px solid rgba(143, 188, 143, 0.15);
}

.recipe-image {
    height: 180px;
    overflow: hidden;
}

.recipe-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recipe-content {
    padding: 1.5rem;
}

.recipe-tag {
    background-color: rgba(143, 188, 143, 0.8);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.recipe-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d5016;
    margin: 1rem 0 0.5rem 0;
}

.recipe-content p {
    color: #5a6c57;
    font-size: 0.9rem;
}

/* Latest News */
.latest-news {
    background-color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.latest-news h2 {
    text-align: center;
}

.news-list {
    background-color: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(143, 188, 143, 0.1);
}

.news-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(143, 188, 143, 0.1);
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    background-color: rgba(255, 203, 164, 0.3);
    color: #8b4513;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    min-width: 90px;
    text-align: center;
}

.news-category {
    background-color: rgba(143, 188, 143, 0.3);
    color: #2d5016;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.8rem;
    min-width: 80px;
    text-align: center;
}

.news-item h3 {
    color: #2d5016;
    font-weight: 500;
    font-size: 1rem;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, rgba(143, 188, 143, 0.15) 0%, rgba(255, 203, 164, 0.15) 100%);
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2d5016;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: #5a6c57;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: 2px solid rgba(143, 188, 143, 0.2);
    border-radius: 25px;
    font-family: inherit;
    font-size: 1rem;
    background-color: white;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #8FBC8F;
}

.newsletter-form button {
    background: linear-gradient(135deg, #8FBC8F 0%, #7aa87a 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

/* Contacts */
.contacts {
    background-color: rgba(255, 255, 255, 0.5);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(143, 188, 143, 0.1);
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.contact-item h4 {
    color: #2d5016;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #5a6c57;
    margin: 0;
}

.contact-hours {
    color: #8b4513;
    font-size: 0.9rem;
    font-style: italic;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(143, 188, 143, 0.1);
}

.contact-form h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d5016;
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(143, 188, 143, 0.2);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 1rem;
    background-color: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #8FBC8F;
}

.contact-form button {
    background: linear-gradient(135deg, #8FBC8F 0%, #7aa87a 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
}

/* Footer */
.footer {
    background-color: #2d5016;
    color: white;
    padding: 3rem 0 1rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-brand .footer-brand {
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-nav h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #FFCBA4;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.close:hover {
    color: #333;
}

.modal h3 {
    color: #2d5016;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.modal form input,
.modal form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(143, 188, 143, 0.2);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.modal form button {
    background: linear-gradient(135deg, #8FBC8F 0%, #7aa87a 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-img {
        height: 250px;
    }

    section {
        padding: 3rem 0;
    }

    section h2 {
        font-size: 1.6rem;
    }

    .age-grid,
    .articles-grid,
    .products-grid,
    .recipes-grid {
        grid-template-columns: 1fr;
    }

    .events-content,
    .consultation-content,
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
}