/* 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: #374151;
    background-color: #FEF7ED;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Noto Serif JP', serif;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #374151;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4F46E5 0%, #16A34A 100%);
    color: #FEF7ED;
    padding: 80px 0 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.logo-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.brand-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FEF7ED;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-button {
    background-color: #FEF7ED;
    color: #4F46E5;
    padding: 18px 40px;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Noto Sans JP', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: #F3F4F6;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Platform Introduction */
.platform-intro {
    padding: 100px 0;
    background-color: #FEF7ED;
}

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

.intro-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.icon {
    margin-bottom: 20px;
}

.intro-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #4F46E5;
}

/* Learning Paths */
.learning-paths {
    padding: 100px 0;
    background-color: white;
}

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

.path-card {
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.path-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.path-card h3 {
    padding: 20px 20px 0;
    color: #4F46E5;
    font-size: 1.4rem;
}

.path-card p {
    padding: 0 20px;
    margin-bottom: 15px;
}

.path-card ul {
    padding: 0 20px;
    list-style: none;
    margin-bottom: 20px;
}

.path-card li {
    padding: 5px 0;
    border-left: 3px solid #16A34A;
    padding-left: 15px;
    margin-bottom: 8px;
}

.path-button {
    width: 100%;
    background-color: #4F46E5;
    color: white;
    padding: 15px;
    border: none;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
}

.path-button:hover {
    background-color: #3730A3;
}

/* Products Section */
.products {
    padding: 100px 0;
    background-color: #F9FAFB;
}

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

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

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

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

.product-card h3 {
    padding: 20px 20px 10px;
    color: #374151;
}

.product-card p {
    padding: 0 20px;
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 15px;
}

.product-price {
    padding: 0 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #16A34A;
    margin-bottom: 20px;
}

.product-button {
    width: 100%;
    background-color: #16A34A;
    color: white;
    padding: 15px;
    border: none;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
}

.product-button:hover {
    background-color: #15803D;
}

/* Instructor Sessions */
.instructor-sessions {
    padding: 100px 0;
    background-color: white;
}

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

.sessions-text h3 {
    color: #4F46E5;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.sessions-text ul {
    list-style: none;
    margin: 20px 0;
}

.sessions-text li {
    padding: 8px 0;
    border-left: 3px solid #16A34A;
    padding-left: 15px;
    margin-bottom: 10px;
}

.session-button {
    background-color: #4F46E5;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 1rem;
}

.session-button:hover {
    background-color: #3730A3;
}

.sessions-image {
    height: 300px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Corporate Workshops */
.corporate-workshops {
    padding: 100px 0;
    background-color: #F9FAFB;
    text-align: center;
}

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

.workshop-card {
    background: white;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.workshop-card h3 {
    color: #4F46E5;
    margin-bottom: 15px;
}

.workshop-button {
    background-color: #16A34A;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 1rem;
}

.workshop-button:hover {
    background-color: #15803D;
}

/* Ma Philosophy */
.ma-philosophy {
    padding: 100px 0;
    background-color: white;
}

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

.ma-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.ma-visual {
    height: 250px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Certification */
.certification {
    padding: 100px 0;
    background-color: #F9FAFB;
}

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

.cert-card {
    text-align: center;
    background: white;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cert-icon {
    margin-bottom: 20px;
}

.cert-card h3 {
    color: #4F46E5;
    margin-bottom: 15px;
}

/* Portfolio */
.portfolio {
    padding: 100px 0;
    background-color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.portfolio-item {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

/* Contact */
.contact {
    padding: 100px 0;
    background-color: #F9FAFB;
}

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

.contact-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
    color: #4F46E5;
    margin-bottom: 15px;
}

.contact-button {
    background-color: #16A34A;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    margin-top: 10px;
}

.contact-button:hover {
    background-color: #15803D;
}

/* Footer */
.footer {
    background-color: #374151;
    color: #F3F4F6;
    padding: 60px 0 20px;
}

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

.logo-brand-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.brand-name-footer {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FEF7ED;
    font-family: 'Noto Serif JP', serif;
}

.footer-section h4 {
    color: #FEF7ED;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

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

.footer-section a {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #FEF7ED;
}

.footer-bottom {
    border-top: 1px solid #4B5563;
    padding-top: 20px;
    text-align: center;
    color: #9CA3AF;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #374151;
    color: #F3F4F6;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

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

.cookie-text h4 {
    color: #FEF7ED;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-text a {
    color: #16A34A;
    text-decoration: none;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-accept,
.cookie-decline,
.cookie-customize {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cookie-accept {
    background-color: #16A34A;
    color: white;
}

.cookie-accept:hover {
    background-color: #15803D;
}

.cookie-decline {
    background-color: transparent;
    color: #D1D5DB;
    border: 1px solid #4B5563;
}

.cookie-decline:hover {
    background-color: #4B5563;
    color: #F3F4F6;
}

.cookie-customize {
    background-color: #4F46E5;
    color: white;
}

.cookie-customize:hover {
    background-color: #3730A3;
}

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.cookie-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.cookie-close:hover {
    color: #374151;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.cookie-category input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.cookie-category label {
    color: #374151;
    font-size: 1rem;
}

.cookie-category p {
    margin: 0;
    color: #6B7280;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
}

.cookie-save,
.cookie-accept-all {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cookie-save {
    background-color: #4F46E5;
    color: white;
}

.cookie-save:hover {
    background-color: #3730A3;
}

.cookie-accept-all {
    background-color: #16A34A;
    color: white;
}

.cookie-accept-all:hover {
    background-color: #15803D;
}

/* 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: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #374151;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #374151;
    font-weight: 500;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4F46E5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.submit-button {
    background-color: #4F46E5;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    width: 100%;
}

.submit-button:hover {
    background-color: #3730A3;
}

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

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

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

.centered-section .sessions-content,
.centered-section .ma-content {
    text-align: left;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #374151;
    color: #F3F4F6;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

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

.cookie-text h4 {
    color: #FEF7ED;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-text a {
    color: #16A34A;
    text-decoration: none;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-accept,
.cookie-decline {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
}

.cookie-accept {
    background-color: #16A34A;
    color: white;
}

.cookie-accept:hover {
    background-color: #15803D;
}

.cookie-decline {
    background-color: transparent;
    color: #D1D5DB;
    border: 1px solid #4B5563;
}

.cookie-decline:hover {
    background-color: #4B5563;
    color: #F3F4F6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 80px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .sessions-content,
    .ma-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo-brand {
        flex-direction: column;
        gap: 10px;
    }
    
    .brand-name {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .paths-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-accept,
    .cookie-decline,
    .cookie-customize {
        width: 100%;
    }
    
    .cookie-modal-buttons {
        flex-direction: column;
    }
    
    .cookie-save,
    .cookie-accept-all {
        width: 100%;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-accept,
    .cookie-decline {
        width: 100%;
    }
}