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

body {
    font-family: 'Comic Sans MS', 'Hiragino Kaku Gothic ProN', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
}

.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Fallback for browsers that don't support WebP */
.no-webp .hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)), url('../images/hero-bg-optimized.jpg');
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(52, 152, 219, 0.1) 0%, rgba(41, 128, 185, 0.2) 100%);
    pointer-events: none;
}

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

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    letter-spacing: 0.02em;
    line-height: 1.3;
    font-family: 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', 'Noto Serif JP', serif;
}

.hero h1 .highlight {
    font-weight: 700;
    color: #FFE066;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero .subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    font-weight: 300;
    opacity: 0.95;
    font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'YuGothic', sans-serif;
}

.cta-button.primary {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button.primary:hover {
    background: linear-gradient(45deg, #ee5a52, #ff6b6b);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

/* メインナビゲーション */
.main-nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 0 2rem;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem 1.5rem;
    text-decoration: none;
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    min-width: 120px;
    text-align: center;
}

.nav-item:hover {
    background: rgba(52, 152, 219, 0.05);
    border-bottom-color: #3498db;
}

.nav-item.featured {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
}

.nav-item.featured:hover {
    background: linear-gradient(135deg, #ee5a52, #ff6b6b);
    border-bottom-color: transparent;
}

.nav-icon {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

/* モニター募集セクション */
.monitor-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    text-align: center;
    border: 3px solid #ff6b6b;
    position: relative;
    overflow: hidden;
}

.monitor-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 107, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(30deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(30deg); }
}

.free-highlight {
    position: relative;
    z-index: 2;
    margin-bottom: 3rem;
}

.free-badge {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.free-highlight h3 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.free-description {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
}

.monitor-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    position: relative;
    z-index: 2;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-item:hover {
    transform: translateY(-5px);
    border-color: #ff6b6b;
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.2);
}

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

.benefit-item h4 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.benefit-item p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

.monitor-cta {
    position: relative;
    z-index: 2;
    margin-top: 3rem;
}

.cta-lead {
    font-size: 1.3rem;
    color: #333;
    font-weight: bold;
    margin-bottom: 2rem;
}

.monitor-apply-btn {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.monitor-apply-btn:hover {
    background: linear-gradient(45deg, #ee5a52, #ff6b6b);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 107, 107, 0.6);
}

.apply-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #777;
    line-height: 1.4;
}

.campaign-badge {
    background: #e74c3c;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 2rem;
    transform: rotate(-1deg);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
}

.cta-button {
    background: #f39c12;
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0 1rem;
    display: inline-block;
    transform: rotate(1deg);
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

.cta-button:hover {
    transform: rotate(0deg) scale(1.05);
}

.section {
    padding: 5rem 2rem;
    position: relative;
}

.section:nth-child(even) {
    background: #f8f9fa;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

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

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
}

.stat-item:nth-child(even) {
    transform: rotate(1deg);
}

.stat-item:hover {
    transform: rotate(0deg) scale(1.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #e74c3c;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #2c3e50;
}

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

.mission-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: rotate(-1deg);
    transition: all 0.3s ease;
    border: 3px solid #3498db;
    position: relative;
    overflow: hidden;
}

.mission-card:nth-child(even) {
    transform: rotate(1deg);
}

.mission-card:hover {
    transform: rotate(0deg) scale(1.05);
}

.mission-card .mission-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.mission-card h3 {
    font-size: 1.5rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

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

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

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

/* Flow Steps */
.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.flow-step {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    border-radius: 20px;
    position: relative;
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
}

.flow-step:nth-child(even) {
    transform: rotate(1deg);
}

.flow-step:hover {
    transform: rotate(0deg) scale(1.02);
}

.flow-step .step-number {
    background: #2a5298;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* Info Boxes */
.info-box {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 2rem 0;
    border-left: 5px solid #3498db;
}

.info-box h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Schedule Timeline */
.timeline {
    position: relative;
    margin: 3rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #3498db;
    transform: translateX(-50%);
}

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

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

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

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 45%;
    position: relative;
}

.timeline-date {
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* Photo Slider */
.photo-slider {
    margin: 3rem 0;
}

.slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.slider-track {
    position: relative;
    width: 100%;
    height: 400px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 2rem;
    text-align: center;
}

.slide-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.slide-caption p {
    font-size: 1rem;
    opacity: 0.9;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    transform: translateY(-50%);
}

.slider-btn {
    background: rgba(255,255,255,0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: rgba(255,255,255,0.95);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    padding: 1rem;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #3498db;
    transform: scale(1.2);
}

/* Discovery Gallery */
.discovery-gallery {
    position: relative;
    margin: 3rem 0;
}

.discovery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.discovery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.discovery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.discovery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.discovery-item:hover .discovery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.discovery-overlay h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.discovery-overlay p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.discovery-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.discovery-btn {
    background: #3498db;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discovery-btn:hover {
    background: #2980b9;
    transform: scale(1.1);
}

/* Mission Image Styles */
.mission-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
}

/* FAQ Styles */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.faq-category {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid #f8f9fa;
    transition: all 0.3s ease;
}

.faq-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.faq-category-title {
    color: #2a5298;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(52, 152, 219, 0.05);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    border-bottom: 1px solid rgba(52, 152, 219, 0.1);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(52, 152, 219, 0.1);
}

.faq-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.faq-answer {
    padding: 1rem 1.2rem;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    background: white;
}

/* Footer */
.footer {
    background: #2a5298;
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    /* ヒーローセクションのモバイル最適化 */
    .hero-content {
        padding: 1rem;
    }
    
    /* ナビゲーションのモバイル対応 */
    .nav-container {
        flex-wrap: wrap;
        justify-content: space-around;
        padding: 0 1rem;
    }
    
    .nav-item {
        min-width: auto;
        flex: 1;
        min-width: 80px;
        padding: 1rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .nav-icon {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mission-card, .flow-step, .stat-item {
        transform: none;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 3rem;
    }

    .timeline-content {
        width: 100%;
    }

    .timeline-date {
        left: 20px;
        transform: none;
    }

    /* スライダーのモバイル対応 */
    .slider-container {
        margin: 0 1rem;
    }

    .slide img {
        height: 250px;
    }

    .slider-track {
        height: 250px;
    }

    .slide-caption {
        padding: 1rem;
    }

    .slide-caption h3 {
        font-size: 1.2rem;
    }

    .slide-caption p {
        font-size: 0.9rem;
    }

    /* ギャラリーのモバイル対応 */
    .discovery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        padding: 0.5rem;
    }

    .discovery-item img {
        height: 150px;
    }

    .discovery-overlay {
        padding: 1rem;
    }

    .discovery-overlay h4 {
        font-size: 1rem;
    }

    .discovery-overlay p {
        font-size: 0.8rem;
    }
    
    /* FAQのモバイル対応 */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .faq-category {
        padding: 1.5rem;
    }
    
    .faq-category-title {
        font-size: 1.2rem;
    }
    
    .faq-question {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    /* モニターカードのモバイル対応 */
    .monitor-card {
        padding: 2rem 1.5rem;
    }
    
    .monitor-benefits {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-item {
        padding: 1.5rem;
    }
    
    .monitor-apply-btn {
        font-size: 1.2rem;
        padding: 1.2rem 2rem;
    }
}