/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Header */
.header {
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

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

.logo {
    display: block;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2D5D3D;
    font-family: 'Noto Serif JP', serif;
}

.header-contact {
    font-weight: 500;
    color: #2D5D3D;
}

/* Centered content for main sections */
.centered-content {
    text-align: center;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #F5F5DC 0%, #fff 100%);
    padding: 4rem 0;
}

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

.hero-img,
.features-img,
.subsidy-img,
.contact-map-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.features-img {
    height: 400px;
}

.subsidy-img {
    height: 350px;
}

.contact-map-img {
    height: 300px;
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2D5D3D;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

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

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

.placeholder-image {
    width: 100%;
    height: 300px;
    background: #e0e0e0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: 500;
    text-align: center;
}

/* Sections */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2D5D3D;
    margin-bottom: 3rem;
}

/* Services */
.services {
    padding: 4rem 0;
    background: #fff;
}

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

.service-card {
    background: #F5F5DC;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #2D5D3D;
}

.service-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

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

.service-card p {
    color: #666;
    line-height: 1.5;
}

/* Features */
.features {
    padding: 4rem 0;
    background: #F5F5DC;
}

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

.feature-list {
    margin-top: 2rem;
}

.features .feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.feature-bullet {
    color: #00B4D8;
    font-weight: bold;
    font-size: 1.2rem;
}

.features-image .placeholder-image {
    height: 400px;
}

/* Safety */
.safety {
    padding: 4rem 0;
    background: #fff;
}

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

.safety-card {
    background: #F5F5DC;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #00B4D8;
}

.safety-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2D5D3D;
    margin-bottom: 1rem;
}

.safety-card p {
    color: #666;
    line-height: 1.5;
}

/* Subsidy */
.subsidy {
    padding: 4rem 0;
    background: #F5F5DC;
}

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

.subsidy-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #00B4D8;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

.subsidy-image .placeholder-image {
    height: 350px;
}

/* Products */
.products {
    padding: 4rem 0;
    background: #fff;
}

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

.product-card {
    background: #F5F5DC;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #2D5D3D;
}

.product-image .placeholder-image {
    height: 200px;
    border-radius: 0;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2D5D3D;
    margin-bottom: 1rem;
}

.product-info p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #00B4D8;
    margin-bottom: 1rem;
}

.product-specs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #555;
}

.product-btn {
    background: #00B4D8;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    font-family: 'Noto Sans JP', sans-serif;
}

.product-btn:hover {
    background: #0096BB;
}

/* Benefits */
.benefits {
    padding: 4rem 0;
    background: #F5F5DC;
}

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

.benefit-item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #2D5D3D;
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2D5D3D;
    margin-bottom: 1rem;
}

.benefit-item p {
    color: #666;
    line-height: 1.5;
}

/* Contact */
.contact {
    padding: 4rem 0;
    background: #fff;
}

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

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.contact-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2D5D3D;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #666;
    line-height: 1.5;
}

.contact-map .placeholder-image {
    height: 300px;
}

/* Footer */
.footer {
    background: #2D5D3D;
    color: #F5F5DC;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2rem;
    justify-content: space-between;
}

.footer-brand {
    flex: 2;
    min-width: 300px;
}

.footer-brand .logo-section {
    margin-bottom: 1rem;
}

.footer-brand .brand-name {
    color: #F5F5DC;
}

.footer-brand p {
    color: #ccc;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 3rem;
    flex: 1;
    min-width: 300px;
    justify-content: space-between;
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #F5F5DC;
}

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

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

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: #00B4D8;
}

.footer-bottom {
    border-top: 1px solid #4a6741;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* 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);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

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

.close:hover {
    color: #000;
}

.modal-content h2 {
    color: #2D5D3D;
    margin-bottom: 1.5rem;
}

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

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

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

.submit-btn {
    background: #00B4D8;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    width: 100%;
}

.submit-btn:hover {
    background: #0096BB;
}

/* Responsive */
@media (max-width: 768px) {
    .hero .container,
    .features-content,
    .subsidy-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-features {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .services-grid,
    .safety-grid,
    .products-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content,
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-brand,
    .footer-links {
        min-width: auto;
    }
    
    .subsidy-stats {
        justify-content: center;
    }
    
    .product-specs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .centered-content .services-grid,
    .centered-content .safety-grid,
    .centered-content .benefits-grid {
        text-align: center;
    }
    
    .centered-content .features .feature-item {
        justify-content: flex-start;
    }
}