/* ====================================
   Reset & Base Styles
   ==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #f8f9fa;
}

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

/* ====================================
   Top Navigation (New Style)
   ==================================== */
.top-nav {
    background: rgba(30, 58, 95, 0.98);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.brand-badge {
    background: #fcd34d;
    color: #1e3a5f;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: bold;
}

.desktop-nav {
    display: flex;
    gap: 0.5rem;
}

.top-nav .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.top-nav .nav-link:hover {
    color: white;
    background: rgba(255,255,255,0.1);
}

.top-nav .nav-link.active {
    color: #fcd34d;
    background: rgba(252, 211, 77, 0.1);
}

.top-nav .nav-link i {
    margin-right: 0.25rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(30, 58, 95, 0.98);
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav.active {
    display: flex;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
}

/* ====================================
   Header (Legacy - for compatibility)
   ==================================== */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    opacity: 0.8;
    border-bottom-color: white;
}

/* ====================================
   Hero Section
   ==================================== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 400;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.badge {
    background-color: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

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

.section-intro {
    background-color: white;
}

.section-feature {
    background-color: #f8f9fa;
}

.section-documents {
    background-color: white;
}

.section-strengths {
    background-color: #f8f9fa;
}

.section-program {
    background-color: white;
}

.section-milestones {
    background-color: #f8f9fa;
}

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

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #2c5aa0;
}

.section-cta .section-title {
    color: white;
}

/* ====================================
   Pillars (3本柱)
   ==================================== */
.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.pillar {
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pillar:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.pillar-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c5aa0;
}

.pillar-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}

/* ====================================
   Feature Highlight
   ==================================== */
.feature-highlight {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.feature-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c5aa0;
}

.feature-main {
    font-size: 2rem;
    font-weight: 700;
    color: #ffa500;
    margin-bottom: 25px;
}

.feature-description {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 40px;
    color: #555;
}

.case-studies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.case-study {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid #667eea;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.case-study h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2c5aa0;
}

.case-study p {
    font-size: 0.95rem;
    color: #555;
}

/* ====================================
   Cards (ドキュメント)
   ==================================== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.card {
    background-color: white;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

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

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.card-icon {
    font-size: 2.5rem;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c5aa0;
}

.card-description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.card-list {
    list-style: none;
    margin-bottom: 25px;
    flex-grow: 1;
}

.card-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
    color: #555;
}

.card-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* ====================================
   Buttons
   ==================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

.btn-secondary {
    background-color: white;
    color: #667eea;
    border: 2px solid white;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ====================================
   Strengths Grid
   ==================================== */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.strength-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.strength-item:hover {
    transform: translateY(-5px);
}

.strength-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.strength-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2c5aa0;
}

.strength-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
}

/* ====================================
   Program Table
   ==================================== */
.program-table {
    overflow-x: auto;
    margin-bottom: 40px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

th, td {
    padding: 15px;
    text-align: left;
}

th {
    font-weight: 700;
    font-size: 1rem;
}

tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

tbody tr:hover {
    background-color: #f8f9fa;
}

tfoot {
    background-color: #f8f9fa;
    font-weight: 700;
}

.program-details {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.program-details h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c5aa0;
}

.program-details ul {
    list-style: none;
}

.program-details li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 1rem;
    color: #555;
}

.program-details li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* ====================================
   Milestones
   ==================================== */
.milestones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.milestone {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border-top: 5px solid #667eea;
}

.milestone-month {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.milestone-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c5aa0;
}

.milestone-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.milestone-results {
    list-style: none;
}

.milestone-results li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: #555;
}

/* ====================================
   CTA Section
   ==================================== */
.cta-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

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

/* ====================================
   Footer
   ==================================== */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-text,
.footer-date {
    margin: 0;
    font-size: 0.95rem;
}

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav {
        gap: 15px;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .pillars {
        grid-template-columns: 1fr;
    }

    .strengths-grid {
        grid-template-columns: 1fr;
    }

    .milestones {
        grid-template-columns: 1fr;
    }

    .case-studies {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }

    .section {
        padding: 50px 0;
    }

    .hero {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .logo {
        font-size: 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    table {
        font-size: 0.85rem;
    }

    th, td {
        padding: 10px;
    }
}