/* 腸活・発酵食品サイト CSS */

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

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic Medium', 'Meiryo', 'MS Gothic', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.5rem;
    color: #2E86AB;
    margin: 0;
}

.logo a {
    color: #2E86AB;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: #333;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: #2E86AB;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #2E86AB;
    transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero, .page-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 134, 171, 0.8), rgba(46, 134, 171, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
}

.hero-title, .page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle, .page-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.page-hero {
    min-height: 60vh;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #2E86AB, #4A90B8);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-transform: none;
    box-shadow: 0 4px 15px rgba(46, 134, 171, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(46, 134, 171, 0.6);
}

.cta-button.primary {
    background: linear-gradient(135deg, #2E86AB, #4A90B8);
}

.cta-button.secondary {
    background: linear-gradient(135deg, #6B7280, #9CA3AF);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section.bg-light {
    background-color: #F8FAFC;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #1F2937;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #2E86AB, #4A90B8);
    border-radius: 2px;
}

/* Breadcrumb */
.breadcrumb {
    background: #F8FAFC;
    padding: 1rem 0;
    margin-top: 80px;
    border-bottom: 1px solid #E5E7EB;
}

.breadcrumb a {
    color: #6B7280;
}

.breadcrumb a:hover {
    color: #2E86AB;
}

.separator {
    margin: 0 0.5rem;
    color: #9CA3AF;
}

.current {
    color: #1F2937;
    font-weight: 600;
}

/* Content Layouts */
.intro-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.intro-content strong {
    color: #2E86AB;
    font-weight: 700;
}

.insights-grid, .trends-content, .growth-factors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.insight-card, .trend-item, .factor-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.insight-icon, .factor-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.insight-stats {
    margin: 1.5rem 0;
}

.stat {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #F3F4F6;
}

.stat-label {
    font-weight: 500;
    color: #6B7280;
}

.stat-value {
    font-weight: 700;
    color: #1F2937;
}

.stat-value.success {
    color: #10B981;
}

.insight-link {
    color: #2E86AB;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-3px);
}

.news-date {
    color: #6B7280;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-title {
    color: #1F2937;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.news-excerpt {
    color: #4B5563;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-link {
    color: #2E86AB;
    font-weight: 600;
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, #EBF8FF, #E0F2FE);
    border: 2px solid #2E86AB;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #2E86AB;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-note {
    font-size: 0.8rem;
    color: #6B7280;
    margin-top: 0.5rem;
}

/* Segment Analysis */
.segment-analysis {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.segment-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #2E86AB;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.segment-data {
    background: #F8FAFC;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #E5E7EB;
}

.data-row:last-child {
    border-bottom: none;
}

.data-label {
    font-weight: 500;
    color: #374151;
}

.data-value {
    font-weight: 700;
    color: #1F2937;
}

/* Tech Features */
.tech-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

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

.tech-card:hover {
    transform: translateY(-5px);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Process Steps */
.process-steps {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    background: linear-gradient(135deg, #2E86AB, #4A90B8);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h5 {
    color: #1F2937;
    margin-bottom: 0.5rem;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #10B981;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Timeline */
.roadmap-timeline {
    position: relative;
    margin-top: 3rem;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #2E86AB, #4A90B8);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: linear-gradient(135deg, #2E86AB, #4A90B8);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 0 2rem;
    flex: 1;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.timeline-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #2E86AB;
    font-weight: bold;
}

/* Investment Cards */
.investment-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.investment-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.investment-item {
    padding: 1rem 0;
    border-bottom: 1px solid #E5E7EB;
}

.investment-item:last-child {
    border-bottom: none;
}

.investment-item h5 {
    margin-bottom: 0.5rem;
}

.growth-rate {
    background: #10B981;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2E86AB, #4A90B8);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Navigation */
.page-navigation {
    background: #F8FAFC;
    padding: 3rem 0;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.nav-link {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    flex: 1;
    max-width: 300px;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    transform: translateY(-2px);
}

.nav-direction {
    display: block;
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 0.5rem;
}

.nav-title {
    display: block;
    font-weight: 600;
    color: #1F2937;
}

.nav-link.prev {
    text-align: left;
}

.nav-link.next {
    text-align: right;
}

/* Footer */
.footer {
    background: #1F2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #2E86AB;
    margin-bottom: 1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        display: flex;
    }
    
    .hero-title, .page-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .insights-grid, .news-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        flex-direction: column;
    }
    
    .nav-link {
        max-width: none;
    }
    
    .timeline-item {
        flex-direction: column !important;
        text-align: center;
    }
    
    .timeline-content {
        margin: 1rem 0 !important;
    }
    
    .roadmap-timeline::before {
        left: 20px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title, .page-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}