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

body {
    font-family: 'Noto Sans JP', 'Inter', sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #F8F9FA;
}

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

/* Header */
.header {
    background-color: #F8F9FA;
    padding: 20px 0;
    border-bottom: 1px solid #E5E7EB;
}

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

.logo-container a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-name {
    font-size: 24px;
    font-weight: 600;
    color: #2D5A27;
    font-family: 'Inter', sans-serif;
}

/* Hero Section */
.hero {
    background-color: #F8F9FA;
    padding: 60px 0 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.hero h1 {
    font-size: 48px;
    font-weight: 600;
    color: #2D5A27;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    color: #6B7280;
    margin: 0;
}

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

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 36px;
    font-weight: 600;
    color: #2D5A27;
    text-align: center;
    margin-bottom: 48px;
}

section p {
    font-size: 18px;
    color: #6B7280;
    max-width: 800px;
}

/* Centered content for index page */
.centered-content {
    text-align: center;
}

.centered-content h2 {
    text-align: center;
}

.centered-content p {
    text-align: center;
    margin: 0 auto;
}

/* Introduction */
.intro {
    background-color: #FFFFFF;
}

/* Featured Projects */
.featured-projects {
    background-color: #F8F9FA;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.project-card {
    background-color: #FFFFFF;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.project-image {
    height: 200px;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 8px;
}

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

.project-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2D5A27;
    margin-bottom: 8px;
}

.project-card p {
    font-size: 16px;
    text-align: left;
}

/* Products */
.products {
    background-color: #FFFFFF;
}

.products .centered-content {
    text-align: center;
    margin-bottom: 48px;
}

.products .centered-content h2 {
    margin-bottom: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.product-card {
    background-color: #F8F9FA;
    padding: 24px;
    border-radius: 12px;
    border: 2px solid #E5E7EB;
    text-align: center;
}

.product-image {
    height: 180px;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 8px;
}

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

.product-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2D5A27;
    margin-bottom: 8px;
}

.product-card p {
    font-size: 16px;
    margin-bottom: 16px;
    text-align: center;
}

.price {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: #B91C1C;
    margin-bottom: 16px;
}

.cta-button {
    background-color: #2D5A27;
    color: #FFFFFF;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
}

.cta-button:hover {
    background-color: #1F3A1C;
}

.cta-button.secondary {
    background-color: #8B5A3C;
}

.cta-button.secondary:hover {
    background-color: #6B4423;
}

/* Workshops */
.workshops {
    background-color: #8B5A3C;
    color: #FFFFFF;
}

.workshops h2 {
    color: #FFFFFF;
}

.workshops p {
    color: #F3F4F6;
}

.workshop-image {
    height: 300px;
    margin-top: 40px;
    overflow: hidden;
    border-radius: 12px;
}

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

/* Templates */
.templates {
    background-color: #F8F9FA;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.template-card {
    background-color: #FFFFFF;
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.template-icon {
    margin-bottom: 16px;
}

.template-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2D5A27;
    margin-bottom: 8px;
}

.template-card p {
    font-size: 16px;
    text-align: center;
}

/* Materials */
.materials {
    background-color: #FFFFFF;
}

.materials-image {
    height: 300px;
    margin-top: 40px;
    overflow: hidden;
    border-radius: 12px;
}

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

/* Contacts */
.contacts {
    background-color: #F8F9FA;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background-color: #FFFFFF;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2D5A27;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 16px;
    color: #6B7280;
    text-align: left;
    margin: 0;
}

/* Footer */
.footer {
    background-color: #374151;
    color: #FFFFFF;
    padding: 60px 0 40px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.footer-brand {
    max-width: 400px;
}

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

.footer-brand-name {
    font-size: 20px;
    font-weight: 600;
    color: #F8F9FA;
    font-family: 'Inter', sans-serif;
}

.footer-description {
    font-size: 16px;
    color: #D1D5DB;
    line-height: 1.6;
    margin: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: #F8F9FA;
    margin-bottom: 16px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #F3F4F6;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #4B5563;
}

.copyright {
    font-size: 14px;
    color: #9CA3AF;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    section h2 {
        font-size: 28px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .projects-grid,
    .products-grid,
    .templates-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}