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

body {
    font-family: 'Noto Sans JP', 'Yu Gothic', 'YuGothic', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F5F2E8;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Color Variables */
:root {
    --primary-green: #0F4C3A;
    --matcha-green: #8BAF5B;
    --cream: #F5F2E8;
    --ink: #333;
    --white: #ffffff;
    --light-gray: #f8f8f8;
    --border-color: #e0e0e0;
}

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

/* Header */
.header {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(15, 76, 58, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.logo {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-green);
    letter-spacing: 0.05em;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.nav a:hover {
    border-bottom-color: var(--matcha-green);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--cream) 0%, rgba(139, 175, 91, 0.1) 100%);
}

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

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

.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.8rem;
    font-weight: 500;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--ink);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-button.primary {
    background: var(--primary-green);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: inherit;
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-green);
    padding: 1rem 2rem;
    border: 2px solid var(--primary-green);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.cta-button.primary:hover {
    background: #0a3a2b;
    transform: translateY(-2px);
}

.cta-button.secondary:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.category-image img,
.product-image img,
.sustainability-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.product-image img {
    height: 250px;
}

.sustainability-image img {
    height: 300px;
    border-radius: 12px;
}

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

.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--ink);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* About Section */
.about {
    background: var(--white);
    text-align: center;
}

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

.about-card {
    text-align: center;
    padding: 2rem;
    background: var(--cream);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.about-icon {
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-family: 'Noto Serif JP', serif;
}

.about-card p {
    color: var(--ink);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Features Section */
.features {
    background: var(--cream);
    text-align: center;
}

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

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-green);
}

/* Categories Section */
.categories {
    background: var(--white);
    text-align: center;
}

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

.category-card {
    background: var(--cream);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-image {
    margin-bottom: 1.5rem;
}

.category-card h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    padding: 0 1.5rem;
    font-family: 'Noto Serif JP', serif;
}

.category-card p {
    color: var(--ink);
    padding: 0 1.5rem 1.5rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Products Section */
.products {
    background: var(--cream);
    text-align: center;
}

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

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    margin-bottom: 1.5rem;
}

.product-info {
    padding: 0 1.5rem 2rem;
}

.product-info h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-family: 'Noto Serif JP', serif;
}

.product-info p {
    color: var(--ink);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--matcha-green);
    margin-bottom: 1.5rem;
}

.product-button {
    width: 100%;
    background: var(--matcha-green);
    color: var(--white);
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: inherit;
}

.product-button:hover {
    background: #7a9f4f;
}

/* Sustainability Section */
.sustainability {
    background: var(--white);
    text-align: center;
}

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

.sustainability-text .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.sustainability-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sustainability-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.sustainability-icon {
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.sustainability-point h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.sustainability-point p {
    color: var(--ink);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* How It Works */
.how-it-works {
    background: var(--cream);
    text-align: center;
}

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

.step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--matcha-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
}

.step h4 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-family: 'Noto Serif JP', serif;
}

.step p {
    color: var(--ink);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
    background: var(--white);
    text-align: center;
}

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

.testimonial-card {
    background: var(--cream);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--matcha-green);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.testimonial-card p {
    font-style: italic;
    color: var(--ink);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.testimonial-author {
    font-weight: 500;
    color: var(--primary-green);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: var(--cream);
}

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

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

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--ink);
    line-height: 1.5;
    font-size: 0.95rem;
}

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

.contact-form h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-family: 'Noto Serif JP', serif;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--ink);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--matcha-green);
}

.submit-button {
    background: var(--primary-green);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: inherit;
    width: 100%;
}

.submit-button:hover {
    background: #0a3a2b;
}

/* Footer */
.footer {
    background: var(--primary-green);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    font-family: 'Noto Serif JP', serif;
    color: var(--white);
}

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

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

.footer-section ul li a {
    color: #E8F5E8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--matcha-green);
}

.footer-section ul li {
    color: #E8F5E8;
    font-size: 0.9rem;
}

.brand-name-footer {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--white);
}

.footer-description {
    color: #E8F5E8;
    margin-top: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

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

.footer-bottom p {
    color: #E8F5E8;
    font-size: 0.9rem;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: var(--white);
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-green);
    font-family: 'Noto Serif JP', serif;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--ink);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: var(--primary-green);
}

.order-form {
    padding: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .nav {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .hero-wrapper,
    .sustainability-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .modal {
        padding: 1rem;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .order-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .brand-name {
        font-size: 1.3rem;
    }
    
    .nav {
        font-size: 0.9rem;
    }
    
    .products-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
    }
}