/* ========================================
   Reset & Base Styles
======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #1e293b;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

/* ========================================
   Modern Color Palette (2024 Trend) - Feminine Edition
======================================== */

:root {
    /* Primary Gradient - Soft Purple/Pink (Feminine) */
    --gradient-primary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-secondary: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --gradient-accent: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-success: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    
    /* Modern Colors - Feminine */
    --color-primary: #f093fb;
    --color-secondary: #f5576c;
    --color-accent: #a8edea;
    --color-success: #fcb69f;
    --color-warning: #f5576c;
    
    /* Neutral Colors */
    --color-dark: #2d3748;
    --color-gray: #718096;
    --color-light: #faf5ff;
    --color-white: #ffffff;
    
    /* Glass Morphism */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.25);
}

/* ========================================
   Typography
======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    line-height: 1.4;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray);
    margin-bottom: 3rem;
}

/* ========================================
   Container & Layout
======================================== */

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

.section-padding {
    padding: 100px 0;
}

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

/* ========================================
   Modern Buttons
======================================== */

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.btn-line {
    background: #06C755;
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(6, 199, 85, 0.4);
}

.btn-line:hover {
    background: #05B04D;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(6, 199, 85, 0.5);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: var(--gradient-primary);
    color: var(--color-white);
    border-color: transparent;
    transform: translateY(-3px);
}

/* ========================================
   Hero Section - Modern Glass Design
======================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-main.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.85) 0%, rgba(245, 87, 108, 0.8) 50%, rgba(252, 182, 159, 0.75) 100%);
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 236, 210, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(252, 182, 159, 0.3) 0%, transparent 50%);
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--color-white);
    padding: 40px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    line-height: 1.4;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    font-weight: 500;
    animation: fadeInUp 1s ease-out 0.3s backwards;
    background: rgba(255, 255, 255, 0.95);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--color-white);
    animation: bounce 2s infinite;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Concept Section - Glass Morphism
======================================== */

.concept-section {
    background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%);
}

.concept-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
}

.concept-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
    flex: 1;
    max-width: 350px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.concept-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

.concept-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.concept-card ul {
    list-style: none;
}

.concept-card ul li {
    padding: 12px 0;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.concept-card ul li i {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.from-card {
    border-left: 4px solid var(--color-gray);
}

.to-card {
    border-left: 4px solid var(--color-primary);
}

.concept-arrow {
    font-size: 3rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideRight 1.5s ease-in-out infinite;
}

@keyframes slideRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

.concept-text {
    text-align: center;
}

.concept-text .section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.concept-description {
    font-size: 1.25rem;
    line-height: 1.8;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* ========================================
   Portfolio Section - Modern Cards
======================================== */

.portfolio-section {
    background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.portfolio-card {
    background: var(--color-white);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.portfolio-card:hover::before {
    opacity: 0.05;
}

.portfolio-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
    border-color: var(--color-primary);
}

.portfolio-card > * {
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--color-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.card-icon.ai-beauty {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.card-icon.ai-sales {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-icon.saas {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.card-icon.ai-tech {
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
}

.card-icon.edtech {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.card-icon.local-gov {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.card-badge {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-badge.gold {
    background: linear-gradient(135deg, #ffd89b 0%, #f6a623 100%);
    color: #7c3a00;
}

.card-badge.accent {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: var(--color-white);
}

.card-badge.gov {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--color-white);
}

.card-badge i {
    margin-right: 5px;
}

.card-title {
    font-size: 1.375rem;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.card-category {
    font-size: 0.875rem;
    color: var(--color-gray);
    font-weight: 500;
    margin-bottom: 12px;
}

.card-description {
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.7;
}

/* ========================================
   Problem Section - Modern Design
======================================== */

.problem-section {
    background: linear-gradient(135deg, #faf5ff 0%, #ffe4f1 100%);
}

.problem-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 850px;
    margin: 0 auto 50px;
}

.problem-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--color-white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 4px solid #f5576c;
}

.problem-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(245, 87, 108, 0.15);
}

.problem-icon {
    font-size: 2.5rem;
    color: #f5576c;
    flex-shrink: 0;
}

.problem-text {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-dark);
}

.problem-answer {
    text-align: center;
    background: var(--gradient-primary);
    padding: 45px;
    border-radius: 24px;
    max-width: 850px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.answer-text {
    font-size: 1.375rem;
    color: var(--color-white);
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.answer-text i {
    margin-right: 10px;
}

/* ========================================
   Solution Section - Dark Gradient
======================================== */

.solution-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.solution-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/ai-neural-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.solution-section > * {
    position: relative;
    z-index: 1;
}

.white-text {
    color: var(--color-white);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.solution-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.solution-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-white);
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(79, 172, 254, 0.4);
}

.solution-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-white);
}

.solution-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #cbd5e1;
}

/* ========================================
   Curriculum Section
======================================== */

.curriculum-section {
    background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
}

.curriculum-steps {
    max-width: 700px;
    margin: 0 auto;
    padding-top: 30px;
}

.curriculum-step {
    background: var(--color-white);
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.curriculum-step:hover {
    border-color: var(--color-primary);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.15);
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 30px;
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--color-white);
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(240, 147, 251, 0.4);
}

.step-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.step-description {
    font-size: 1rem;
    text-align: center;
    color: var(--color-gray);
    line-height: 1.8;
}

.step-arrow {
    text-align: center;
    padding: 25px 0;
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   CTA Section
======================================== */

.cta-section {
    background: linear-gradient(135deg, #faf5ff 0%, #ffffff 100%);
    position: relative;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--color-gray);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Footer
======================================== */

.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 40px 0;
    text-align: center;
}

.footer-text {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* ========================================
   Fade In Animation
======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive Design - Tablet
======================================== */

@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Responsive Design - Mobile
======================================== */

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Hero */
    .hero-title {
        font-size: 2rem;
        line-height: 1.5;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .btn-large {
        padding: 16px 32px;
        font-size: 1rem;
    }
    
    /* Concept */
    .concept-visual {
        flex-direction: column;
        gap: 20px;
    }
    
    .concept-arrow {
        transform: rotate(90deg);
        font-size: 2rem;
    }
    
    .concept-card {
        max-width: 100%;
    }
    
    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Problem */
    .problem-item {
        flex-direction: column;
        text-align: center;
        padding: 25px;
        border-left: none;
        border-top: 4px solid #f5576c;
    }
    
    .problem-text {
        font-size: 1rem;
    }
    
    .answer-text {
        font-size: 1.125rem;
    }
    
    /* CTA */
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    /* Utilities */
    .sp-only {
        display: inline;
    }
}

@media (min-width: 769px) {
    .sp-only {
        display: none;
    }
}

/* ========================================
   Custom Scrollbar (Modern)
======================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #faf5ff;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}
