/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Banner */
.hero-banner {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    color: white;
    text-align: center;
    overflow: hidden;
    padding: 0 20px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: floatBackground 20s ease-in-out infinite;
}

/* Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.8;
    filter: brightness(0.7) saturate(1.2);
}

.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: floatBackground 20s ease-in-out infinite;
}

@keyframes floatBackground {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.4);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    max-width: 800px;
    animation-duration: 2s;
    text-align: center;
    width: 100%;
    padding: 2rem 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: #ffd700;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
    line-height: 1.8;
    color: #f8fafc;
}

.hero-cta-btn {
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ffd700, #ffed4a);
    color: #1e3a8a;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
    animation-duration: 2s;
    display: inline-block;
    margin: 0 auto;
}

.hero-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.4);
    background: linear-gradient(45deg, #ffed4a, #ffd700);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1e3a8a;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #3b82f6, #ffd700);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.profile-card {
    position: relative;
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-10px);
}

.profile-avatar {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #ffd700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-badge {
    background: linear-gradient(45deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
}

.about-text {
    padding: 20px;
}

.profile-lead {
    font-size: 1.3rem;
    color: #1e3a8a;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.profile-details {
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.detail-item:hover {
    transform: translateX(10px);
}

.detail-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.detail-item p {
    margin: 0;
    color: #4a5568;
    line-height: 1.6;
}

.philosophy-quote {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 25px;
    border-radius: 15px;
    position: relative;
    margin-top: 2rem;
}

.philosophy-quote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -10px;
    left: 20px;
    color: #ffd700;
    font-weight: bold;
}

.philosophy-quote blockquote {
    font-size: 1.1rem;
    font-style: italic;
    margin: 0;
    padding-left: 40px;
}

/* Highlights Section */
.highlights-section {
    background: white;
}

.highlights-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.highlight-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 15px;
    border-left: 5px solid #ffd700;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.highlight-content h3 {
    color: #1e3a8a;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.highlight-content p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.highlights-image {
    text-align: center;
}

.chart-container {
    position: relative;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.chart-container:hover {
    transform: scale(1.05);
}

.chart-container img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Schedule Section */
.schedule-section {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
}

.schedule-section .section-title {
    color: white;
}

.schedule-section .section-title::after {
    background: linear-gradient(45deg, #ffd700, #ffed4a);
}

.schedule-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.timeline-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.timeline-time {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffd700;
    min-width: 150px;
    margin-right: 30px;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: white;
}

.timeline-content p {
    color: #e2e8f0;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.2rem;
    color: #1e3a8a;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-description {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 3rem;
}

.cta-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 3rem;
}

.cta-detail {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.cta-detail:hover {
    transform: translateY(-5px);
}

.detail-label {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 8px;
    font-weight: 500;
}

.detail-value {
    font-size: 1.1rem;
    color: #1e3a8a;
    font-weight: 700;
}

.cta-button {
    padding: 20px 50px;
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ffd700, #ffed4a);
    color: #1e3a8a;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 auto;
    animation-duration: 2s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.button-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .button-arrow {
    transform: translateX(5px);
}

/* Testimonials Section */
.testimonials-section {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.testimonial-card {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-left: 5px solid #ffd700;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4a5568;
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ffd700;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: #1e3a8a;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.author-info p {
    color: #6b7280;
    margin: 0;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #1e3a8a;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-info h3, .footer-links h3 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-info p {
    margin-bottom: 10px;
    color: #e2e8f0;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #3b82f6;
    color: #cbd5e1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 1.5rem 1rem;
        width: calc(100% - 2rem);
        max-width: 90%;
    }
    
    .hero-title {
        margin-bottom: 0.6rem;
    }
    
    .hero-subtitle {
        margin-bottom: 1rem;
    }
    
    .hero-description {
        margin-bottom: 1.5rem;
    }
    
    .hero-cta-btn {
        padding: 16px 32px;
        font-size: 1.1rem;
        display: block;
        margin: 0 auto;
        width: fit-content;
    }
    
    /* Video Background Mobile Optimization */
    .hero-video {
        /* On mobile, ensure video is properly scaled */
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        /* Reduce opacity on mobile for better text readability */
        opacity: 0.6;
    }
    
    .hero-overlay {
        /* Increase overlay on mobile for better readability */
        background: rgba(30, 58, 138, 0.5);
    }
    
    .about-content,
    .highlights-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .highlights-content {
        grid-template-columns: 1fr;
    }
    
    .highlights-content .highlights-image {
        order: -1;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-time {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .cta-details {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Scroll Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* Hover Effects */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Custom Animations */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    background-size: 200px 100%;
    animation: shimmer 2s infinite;
}

.floating-button-container {
    position: fixed;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 1000;
    pointer-events: none;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating-button {
    position: relative;
    background: #05C705;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: auto;
}

.floating-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.floating-button .icon {
    font-size: 24px;
}

@media (max-width: 768px) {
    .floating-button-container {
        bottom: 20px;
    }
    
    .floating-button {
        font-size: 16px;
        padding: 12px 24px;
    }
}

@media (max-width: 480px) {
    .floating-button {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .floating-button .icon {
        font-size: 18px;
    }
}

/* Breadcrumb Navigation */
.breadcrumb {
    background-color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '>';
    margin: 0 8px;
    color: #666;
}

.breadcrumb a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #0052a3;
}

/* Site Footer */
.site-footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.footer-nav a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: white;
}

/* Screen Reader Only Text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Print Styles */
@media print {
    .hero-video,
    .floating-button-container,
    .breadcrumb {
        display: none;
    }
    
    .hero-banner {
        height: auto;
        background: #f8f9fa;
    }
    
    .hero-content {
        color: #333;
    }
}