* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Header */
.header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.brand-name {
    font-size: 24px;
    font-weight: 600;
    color: #3C2415;
}

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

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

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

.hero-content h2 {
    font-size: 48px;
    font-weight: 700;
    color: #3C2415;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 32px;
    line-height: 1.8;
}

.cta-button {
    background: #7CB342;
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #689F38;
}

/* Sections */
section {
    padding: 80px 0;
}

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

.centered-section .container > * {
    margin-left: auto;
    margin-right: auto;
}

section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #3C2415;
    text-align: center;
    margin-bottom: 60px;
}

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

.about-item {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.about-item .icon {
    margin-bottom: 24px;
}

.about-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #3C2415;
    margin-bottom: 16px;
}

.about-item p {
    color: #666;
    line-height: 1.8;
}

/* Learning Paths */
.learning-paths {
    background: #f8f5f0;
}

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

.path-card {
    background: white;
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    position: relative;
}

.path-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #3C2415;
    margin-bottom: 12px;
}

.path-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.level {
    background: #7CB342;
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

/* Free Resources */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.resource-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

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

.resource-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #3C2415;
    margin: 24px 24px 12px;
}

.resource-card p {
    color: #666;
    margin: 0 24px 24px;
    line-height: 1.6;
}

/* Products */
.products {
    background: #f8f5f0;
}

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

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

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

.product-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #3C2415;
    margin: 24px 24px 12px;
}

.product-card p {
    color: #666;
    margin: 0 24px 16px;
    line-height: 1.6;
    font-size: 14px;
}

.price {
    font-size: 20px;
    font-weight: 700;
    color: #B8860B;
    margin: 0 24px 20px;
}

.product-button {
    background: #3C2415;
    color: white;
    border: none;
    width: calc(100% - 48px);
    margin: 0 24px 24px;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.product-button:hover {
    background: #2d1b0f;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
}

.feature-item h3 {
    font-size: 24px;
    font-weight: 600;
    color: #3C2415;
    margin-bottom: 16px;
}

.feature-item p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 24px;
}

.feature-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* For Beginners */
.for-beginners {
    background: #f8f5f0;
}

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

.beginner-text h3 {
    font-size: 28px;
    font-weight: 600;
    color: #3C2415;
    margin-bottom: 20px;
}

.beginner-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 24px;
}

.beginner-text ul {
    list-style: none;
    color: #666;
}

.beginner-text li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.beginner-text li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #7CB342;
    font-weight: bold;
}

.beginner-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* Why Us */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.why-item {
    text-align: center;
    padding: 32px 24px;
}

.number {
    font-size: 48px;
    font-weight: 700;
    color: #B8860B;
    margin-bottom: 16px;
}

.why-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #3C2415;
    margin-bottom: 16px;
}

.why-item p {
    color: #666;
    line-height: 1.8;
}

/* Testimonials */
.testimonials {
    background: #f8f5f0;
}

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

.testimonial-card {
    background: white;
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.testimonial-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    color: #3C2415;
    font-weight: 600;
    text-align: right;
}

/* Contact */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 32px 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

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

.contact-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #3C2415;
    margin-bottom: 8px;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #3C2415;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #5d3a2a;
}

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

.footer-brand {
    font-size: 18px;
    font-weight: 600;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.footer-nav a {
    color: #ccc;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: #999;
    font-size: 14px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #3C2415;
    color: white;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-link {
    color: #7CB342;
    text-decoration: underline;
    font-size: 14px;
    margin-left: 12px;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background: #7CB342;
    color: white;
}

.cookie-btn.accept:hover {
    background: #689F38;
}

.cookie-btn.decline {
    background: transparent;
    color: #ccc;
    border: 1px solid #666;
}

.cookie-btn.decline:hover {
    background: #666;
    color: white;
}

.cookie-btn.customize {
    background: #B8860B;
    color: white;
}

.cookie-btn.customize:hover {
    background: #996f09;
}

.cookie-custom-panel {
    display: none;
    background: white;
    color: #333;
    margin-top: 20px;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.cookie-custom-panel.show {
    display: block;
}

.cookie-custom-panel h3 {
    margin: 0 0 20px 0;
    color: #3C2415;
    font-size: 18px;
}

.cookie-category {
    margin-bottom: 16px;
    padding: 16px;
    background: #f8f5f0;
    border-radius: 6px;
}

.cookie-toggle {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.cookie-toggle input[type="checkbox"] {
    display: none;
}

.toggle-slider {
    width: 44px;
    height: 24px;
    background: #ccc;
    border-radius: 12px;
    position: relative;
    transition: background 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.toggle-slider:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
}

.cookie-toggle input:checked + .toggle-slider {
    background: #7CB342;
}

.cookie-toggle input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.cookie-toggle input:disabled + .toggle-slider {
    background: #7CB342;
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-info strong {
    display: block;
    color: #3C2415;
    margin-bottom: 4px;
    font-size: 14px;
}

.cookie-info p {
    margin: 0;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.cookie-custom-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content h2 {
        font-size: 36px;
    }
    
    .beginner-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-custom-buttons {
        flex-direction: column;
    }
}