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

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #F7F7F7;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #2E7D32;
}

h2 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    color: #2E7D32;
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Logo and Branding */
.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.brand-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #2E7D32;
    margin: 0;
}

.logo {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #F7F7F7 0%, #E8F5E8 100%);
    padding: 3rem 0 4rem;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 0;
    line-height: 1.8;
    max-width: 600px;
}

.hero-image {
    max-width: 600px;
    width: 100%;
}

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

/* About page images */
.about-hero-image,
.team-image {
    text-align: center;
    margin: 2rem 0;
}

.about-img,
.team-img {
    width: 100%;
    max-width: 800px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Section Styles */
section {
    padding: 4rem 0;
    text-align: center;
}

.about {
    background: #fff;
}

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

.feature {
    padding: 2rem;
    background: #F7F7F7;
    border-radius: 8px;
    border: 2px solid #E0E0E0;
}

.feature h3 {
    color: #2E7D32;
    margin-bottom: 1rem;
}

/* Services Section */
.services {
    background: #F7F7F7;
}

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

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #E0E0E0;
}

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

.service-card h3 {
    margin-bottom: 1rem;
    color: #2E7D32;
}

/* Products Section */
.products {
    background: #fff;
}

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

.product-card {
    background: #F7F7F7;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #E0E0E0;
    display: flex;
    flex-direction: column;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card .product-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card h3, .product-card p {
    padding: 0;
    text-align: left;
}

.product-card h3 {
    margin: 0 0 0.5rem 0;
    color: #2E7D32;
}

.product-card p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #555;
    flex: 1;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2E7D32;
    margin-bottom: 1rem;
    text-align: left;
}

.order-btn {
    width: 100%;
    padding: 1rem;
    background: #2E7D32;
    color: white;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    margin-top: auto;
}

.order-btn:hover {
    background: #1B5E20;
}

/* Features Section */
.features {
    background: #F7F7F7;
}

.features-list {
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    background: #fff;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2E7D32;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: left;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item h3 {
    color: #2E7D32;
    margin-bottom: 0.5rem;
}

/* Benefits Section */
.benefits {
    background: #fff;
}

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

.benefit {
    padding: 2rem;
    background: #F7F7F7;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
}

.benefit h3 {
    color: #2E7D32;
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    background: #F7F7F7;
}

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

.testimonial {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #E0E0E0;
    text-align: left;
}

.testimonial blockquote {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.testimonial cite {
    font-weight: 500;
    color: #2E7D32;
    font-style: normal;
}

/* News Section */
.news {
    background: #fff;
}

.news-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.news-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #E0E0E0;
}

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

.news-item time {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.news-item h3 {
    margin: 0.5rem 0;
    color: #222;
    font-size: 1.2rem;
}

.news-item p {
    color: #555;
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    background: #2E7D32;
    color: white;
}

.contact h2 {
    color: white;
}

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

.contact-item {
}

.contact-item h3 {
    color: #D4AF37;
    margin-bottom: 1rem;
}

.phone, .email {
    font-size: 1.3rem;
    font-weight: 500;
    color: white;
}

.hours, .address {
    color: #E8F5E8;
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2E7D32;
}

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

.footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    display: block;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #999;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #222;
    color: white;
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    align-items: center;
}

.cookie-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.cookie-btn.accept {
    background: #2E7D32;
    color: white;
}

.cookie-btn.accept:hover {
    background: #1B5E20;
}

.cookie-btn.reject {
    background: #d32f2f;
    color: white;
}

.cookie-btn.reject:hover {
    background: #b71c1c;
}

.cookie-btn.customize {
    background: transparent;
    color: white;
    border: 1px solid #666;
}

.cookie-btn.customize:hover {
    background: #444;
}

.cookie-link {
    color: #D4AF37;
    text-decoration: underline;
    font-size: 0.9rem;
    white-space: nowrap;
}

.cookie-link:hover {
    color: #F7F7F7;
}

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.cookie-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-content h3 {
    margin-bottom: 1.5rem;
    color: #2E7D32;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
}

.cookie-label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    cursor: pointer;
}

.cookie-label input[type="checkbox"] {
    margin-right: 0.5rem;
    align-self: flex-start;
}

.cookie-name {
    font-weight: 500;
    color: #222;
}

.cookie-desc {
    font-size: 0.9rem;
    color: #666;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 1rem;
    top: 1rem;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2E7D32;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #2E7D32;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
}

.submit-btn:hover {
    background: #1B5E20;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .brand-name {
        font-size: 2rem;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content {
        gap: 1.5rem;
    }
    
    .hero-img,
    .about-img,
    .team-img {
        height: 200px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
    }
    
    .modal-content {
        margin: 5% auto;
        width: 95%;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }
    
    .cookie-modal-buttons {
        flex-direction: column;
    }
}