/* 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: #2D2D2A;
    background-color: #FAFAF8;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif JP', serif;
    line-height: 1.2;
    margin-bottom: 16px;
}

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

h2 {
    font-size: 2.2rem;
    font-weight: 500;
}

h3 {
    font-size: 1.8rem;
    font-weight: 500;
}

h4 {
    font-size: 1.4rem;
    font-weight: 500;
}

p {
    margin-bottom: 16px;
    line-height: 1.5;
}

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

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

.brand-name {
    font-size: 1.5rem;
    color: #2D2D2A;
    margin-bottom: 4px;
}

.brand-tagline {
    font-size: 0.9rem;
    color: #8B8B82;
    margin-bottom: 0;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #F5F5F0 0%, #E7E7E2 100%);
}

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

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(45, 45, 42, 0.1);
}

.hero-title {
    color: #2D2D2A;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #5A5A54;
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #D86441;
    color: white;
}

.btn-primary:hover {
    background-color: #C55A3A;
}

.btn-secondary {
    background-color: transparent;
    color: #D86441;
    border-color: #D86441;
}

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

/* Sections */
.section-title {
    text-align: center;
    margin-bottom: 48px;
    color: #2D2D2A;
}

section {
    padding: 80px 0;
}

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

.centered .container {
    text-align: center;
}

.centered .features-grid,
.centered .templates-grid,
.centered .products-grid,
.centered .benefits-grid,
.centered .process-steps,
.centered .testimonials-grid {
    text-align: center;
}

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

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

.feature-card {
    background: white;
    padding: 40px 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(45, 45, 42, 0.05);
    border: 1px solid #E7E7E2;
}

.feature-icon {
    margin-bottom: 24px;
}

.feature-card h4 {
    color: #2D2D2A;
    margin-bottom: 16px;
}

.feature-card p {
    color: #5A5A54;
    margin-bottom: 0;
}

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

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

.template-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(45, 45, 42, 0.05);
    border: 1px solid #E7E7E2;
}

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

.template-card h4,
.template-card p {
    padding: 0 20px;
}

.template-card h4 {
    margin-top: 20px;
    margin-bottom: 8px;
}

.template-card p {
    margin-bottom: 20px;
    color: #5A5A54;
}

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

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

.product-card {
    background: white;
    padding: 40px 32px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #E7E7E2;
    position: relative;
}

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

.product-card.featured::before {
    content: "人気";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #D86441;
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.price {
    font-size: 2rem;
    font-weight: 600;
    color: #D86441;
    margin-bottom: 24px;
}

.features-list {
    list-style: none;
    margin-bottom: 32px;
}

.features-list li {
    padding: 8px 0;
    color: #5A5A54;
    border-bottom: 1px solid #E7E7E2;
}

.features-list li:last-child {
    border-bottom: none;
}

/* Why Us Section */
.why-us {
    background-color: #F5F5F0;
}

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

.benefit {
    text-align: center;
}

.benefit h4 {
    color: #2D2D2A;
    margin-bottom: 16px;
}

.benefit p {
    color: #5A5A54;
    margin-bottom: 0;
}

/* Process Section */
.process {
    background-color: #FAFAF8;
}

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

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #D86441;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 24px;
}

.step h4 {
    color: #2D2D2A;
    margin-bottom: 16px;
}

.step p {
    color: #5A5A54;
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials {
    background-color: #F5F5F0;
}

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

.testimonial {
    background: white;
    padding: 40px 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(45, 45, 42, 0.05);
    border-left: 4px solid #D86441;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 24px;
    color: #5A5A54;
}

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

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

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(45, 45, 42, 0.05);
    border: 1px solid #E7E7E2;
}

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

.contact-item h4 {
    margin-bottom: 8px;
    color: #2D2D2A;
}

.contact-item a {
    color: #D86441;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item p {
    color: #5A5A54;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Footer */
.footer {
    background-color: #2D2D2A;
    color: #E7E7E2;
    padding: 60px 0 30px;
}

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

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

.footer-logo span {
    font-weight: 500;
    font-size: 1.2rem;
}

.footer-section p {
    color: #A8A8A0;
    margin-bottom: 0;
}

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

.footer-column h5 {
    margin-bottom: 16px;
    color: #E7E7E2;
}

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

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #A8A8A0;
    text-decoration: none;
}

.footer-column a:hover {
    color: #D86441;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #404040;
    text-align: center;
}

.footer-bottom p {
    color: #A8A8A0;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-image img {
        height: 300px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .features-grid,
    .templates-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card.featured {
        transform: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-image img {
        height: 250px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}