/* CSS Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #2C2C2C;
    background-color: #F5F5DC;
}

/* Variables */
:root {
    --primary-color: #8C9A3B;
    --primary-dark: #6B7F2A;
    --secondary-color: #F5F5DC;
    --accent-color: #2C2C2C;
    --text-color: #2C2C2C;
    --border-color: #E0E0E0;
    --shadow: 0 2px 10px rgba(44, 44, 44, 0.1);
    --radius: 8px;
    --container-width: 1200px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: rgba(245, 245, 220, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow);
}

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

.logo {
    flex-shrink: 0;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-product {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: white;
}

.btn-product {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    border: 1px solid var(--border-color);
}

.btn-product:hover {
    background-color: var(--primary-color);
    color: white;
}

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

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 80px 0;
    background: linear-gradient(135deg, #F5F5DC 0%, #E8E8DC 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: #555;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

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

.hero-image {
    width: 100%;
    max-width: 500px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(44, 44, 44, 0.15);
}

/* Placeholder Images */
.placeholder-image {
    background-color: rgba(140, 154, 59, 0.1);
    border: 2px dashed var(--primary-color);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: 500;
    min-height: 300px;
    width: 100%;
}

.product-item .placeholder-image {
    min-height: 200px;
}

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

.section-wrapper {
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--accent-color);
}

/* About Section */
.about {
    background-color: white;
}

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

.about-item {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius);
    background-color: #F9F9F9;
}

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

/* Diagnosis Section */
.diagnosis {
    background-color: rgba(140, 154, 59, 0.05);
}

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

.diagnosis-image,
.guide-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.diagnosis-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* Features Section */
.features {
    background-color: white;
}

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

.feature-item {
    padding: 2rem;
    border-radius: var(--radius);
    background-color: #F9F9F9;
    border-left: 4px solid var(--primary-color);
}

/* Guide Section */
.guide {
    background-color: rgba(140, 154, 59, 0.05);
}

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

.guide-list {
    list-style: none;
    margin-bottom: 2rem;
}

.guide-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 24px;
}

.guide-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Products Section */
.products {
    background-color: white;
}

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

.product-item {
    background-color: #F9F9F9;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(44, 44, 44, 0.15);
}

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

.product-info {
    padding: 1.5rem;
}

.price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.difficulty {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

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

/* Testimonials Section */
.testimonials {
    background-color: rgba(140, 154, 59, 0.05);
}

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

.testimonial-item {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.customer-name {
    display: block;
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 500;
    text-align: right;
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-form {
    background-color: #F9F9F9;
    padding: 2rem;
    border-radius: var(--radius);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--accent-color);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-description {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.footer-contact p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-wrapper,
    .diagnosis-content,
    .guide-content,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero {
        min-height: auto;
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-image {
        height: 300px;
    }
    
    .about-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}