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

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Typography */
h1 {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 500;
    color: #2D5016;
    margin-bottom: 1rem;
}

h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 500;
    color: #2D5016;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #2D5016;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2D5016;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #555;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #E5E7EB;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

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

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

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

.brand-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #2D5016;
}

.contact-btn {
    background-color: #2D5016;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: #1a2f0a;
}

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

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

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #666;
}

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

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

.hero-image {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.btn-primary {
    background-color: #2D5016;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1a2f0a;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: #2D5016;
    padding: 1rem 2rem;
    border: 2px solid #2D5016;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #2D5016;
    color: white;
}

/* Placeholder Images */
.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F5F1E8;
    border-radius: 8px;
    overflow: hidden;
}

/* About Section */
.about {
    padding: 4rem 0;
    text-align: center;
}

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

.about-item {
    text-align: center;
    padding: 2rem;
    background: #F5F1E8;
    border-radius: 12px;
}

.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: white;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: #F9FAFB;
    text-align: center;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.feature-image {
    width: 100%;
    height: 160px;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}

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

/* Science Approach Section */
.science-approach {
    padding: 4rem 0;
    text-align: center;
}

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

.approach-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.approach-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.approach-points {
    list-style: none;
}

.approach-points li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #555;
}

.approach-points li:before {
    content: "●";
    color: #A8C8D8;
    position: absolute;
    left: 0;
}

.approach-image {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

/* Monitoring Section */
.monitoring {
    padding: 4rem 0;
    background-color: #F9FAFB;
    text-align: center;
}

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

.monitor-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

/* Diagnostics Section */
.diagnostics {
    padding: 4rem 0;
    text-align: center;
}

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

.diagnostics-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.diagnostics-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.diagnosis-features {
    space-y: 1.5rem;
}

.diagnosis-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-number {
    background-color: #A8C8D8;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.diagnostics-image {
    width: 100%;
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

/* Products Section */
.products {
    padding: 4rem 0;
    background-color: #F9FAFB;
    text-align: center;
}

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

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.product-image {
    width: 100%;
    height: 200px;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

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

.product-card h3,
.product-card p,
.product-price,
.btn-product {
    padding: 0 1.5rem;
}

.product-card h3 {
    padding-top: 1.5rem;
    margin-bottom: 1rem;
}

.product-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2D5016;
    margin-bottom: 1.5rem;
}

.btn-product {
    background-color: #A8C8D8;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease;
}

.btn-product:hover {
    background-color: #94b5c7;
}

/* Pricing Section */
.pricing {
    padding: 4rem 0;
    text-align: center;
}

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

.plan-card {
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.plan-card.featured {
    border-color: #A8C8D8;
    transform: scale(1.05);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #A8C8D8;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: #2D5016;
    margin: 1rem 0;
}

.plan-features {
    list-style: none;
    margin: 2rem 0;
}

.plan-features li {
    padding: 0.5rem 0;
    color: #555;
}

.btn-plan {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border: 2px solid #2D5016;
    border-radius: 8px;
    background-color: transparent;
    color: #2D5016;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-plan:hover {
    background-color: #2D5016;
    color: white;
}

.btn-plan.featured {
    background-color: #A8C8D8;
    border-color: #A8C8D8;
    color: white;
}

.btn-plan.featured:hover {
    background-color: #94b5c7;
    border-color: #94b5c7;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: #F9FAFB;
}

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

.contact-info {
    space-y: 2rem;
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: #F5F1E8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.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 select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.btn-submit {
    background-color: #2D5016;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

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

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

.footer-section .brand .logo {
    width: 32px;
    height: 32px;
}

.footer-section .brand .logo circle,
.footer-section .brand .logo path {
    stroke: white;
    fill: white;
}

.footer-section .brand .brand-name {
    color: white;
    font-size: 1.1rem;
}

.footer-section p {
    margin-top: 1rem;
    color: #B8D4A8;
}

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

.link-column h4 {
    color: white;
    margin-bottom: 1rem;
}

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

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

.link-column ul li a {
    color: #B8D4A8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-column ul li a:hover {
    color: white;
}

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

.footer-bottom p {
    color: #B8D4A8;
    font-size: 0.875rem;
}

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

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

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

.close:hover {
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .approach-content,
    .diagnostics-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .plan-card.featured {
        transform: none;
    }
}

@media (max-width: 480px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .brand-name {
        font-size: 1rem;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .about-grid,
    .features-grid,
    .monitoring-grid,
    .products-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}