/* About Page Specific Styles */

/* カーソル問題の最終修正 */
.custom-cursor, #customCursor {
    display: none !important;
}

* {
    cursor: auto !important;
}

/* Font Weights for About Page */
.font-noto {
    font-family: 'Noto Sans JP', sans-serif;
}

.font-Light {
    font-weight: 300;
}

/* Hero Section Animations */
.hero-section {
    background: linear-gradient(135deg, #024F83 0%, #1e40af 100%);
}

/* Wave Animation Styles */
svg path {
    transition: d 0.3s ease-in-out;
}

/* Principle Cards Animations */
.principle-card {
    transition: all 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.principle-badge {
    transition: transform 0.3s ease;
}

.principle-card:hover .principle-badge {
    transform: scale(1.1);
}

/* Timeline Styles */
.timeline-item {
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-3px);
}

.timeline-badge {
    background: linear-gradient(135deg, var(--primary-color), #1e40af);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-badge {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(2, 79, 131, 0.3);
}

/* Team Member Cards */
.team-card {
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.team-photo {
    transition: transform 0.3s ease;
}

.team-card:hover .team-photo {
    transform: scale(1.1);
}

/* Team Photo Explicit Settings */
.team-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
}

/* Override any conflicting styles */
.team-card img {
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
    transition: transform 0.3s ease !important;
}

/* Placeholder for missing team photos */
.team-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #024F83, #1e40af);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
}

/* Company Profile Table */
.company-table tr {
    transition: background-color 0.3s ease;
}

.company-table tr:hover {
    background-color: rgba(249, 250, 251, 0.5);
}

/* Language Support Cards */
.language-card {
    transition: all 0.3s ease;
}

.language-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 79, 131, 0.15);
}

/* Location Cards */
.location-card {
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Background Decorative Elements */
.bg-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Enhanced Animation Classes */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator Animation */
.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        transform: translate3d(0, -30px, 0);
    }
    70% {
        animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0,-4px,0);
    }
}

/* Interactive Elements */
.interactive-element {
    cursor: pointer;
    transition: all 0.3s ease;
}

.interactive-element:hover {
    transform: scale(1.02);
}

.interactive-element:active {
    transform: scale(0.98);
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    .principle-card {
        padding: 1.5rem;
    }
    
    .principle-card:hover {
        transform: translateY(-3px);
    }
    
    .team-card {
        padding: 1rem;
    }
    
    .timeline-item {
        padding: 1rem;
    }
}

/* Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Focus States for Accessibility */
.focus-visible:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print Styles */
@media print {
    .hero-section {
        background: var(--primary-color) !important;
        -webkit-print-color-adjust: exact;
    }
    
    .principle-card,
    .team-card,
    .timeline-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .bg-white {
        background-color: #1f2937;
        color: #f9fafb;
    }
    
    .text-gray-700 {
        color: #d1d5db;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .animate-fade-in-up {
        opacity: 1;
        transform: none;
    }
}