/* Services Page Specific Styles */

/* カーソル問題の最終修正 */
.custom-cursor, #customCursor {
    display: none !important;
}

* {
    cursor: auto !important;
}

/* Japanese Font Support */
.font-noto {
    font-family: 'Noto Sans JP', sans-serif;
}

.font-Light {
    font-weight: 300;
}

/* Services Hero Section */
.services-hero {
    background: linear-gradient(135deg, #024F83 0%, #1e40af 100%);
}

/* Service Cards Animations */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-card .service-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* Process Flow Animations */
.process-step {
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: scale(1.05);
}

.process-step .step-number {
    background: linear-gradient(135deg, var(--primary-color), #1e40af);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(2, 79, 131, 0.3);
}

/* Arrow Animations */
.process-arrow {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.process-step:hover + .process-arrow {
    opacity: 1;
}

/* Technology Stack Tags */
.tech-tag {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 1px solid rgba(2, 79, 131, 0.1);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: linear-gradient(135deg, var(--primary-color), #1e40af);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 79, 131, 0.2);
}

/* Pricing Cards */
.pricing-card {
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.pricing-card:hover::before {
    left: 100%;
}

.pricing-feature {
    transition: all 0.3s ease;
}

.pricing-card:hover .pricing-feature {
    transform: translateX(5px);
}

/* Contact Highlights */
.contact-highlight {
    position: relative;
    overflow: hidden;
}

.contact-highlight::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(2, 79, 131, 0.1), transparent);
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.contact-highlight:hover::after {
    width: 300px;
    height: 300px;
}

/* CTA Buttons Enhancements */
.cta-enhanced {
    position: relative;
    overflow: hidden;
}

.cta-enhanced::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.cta-enhanced:hover::before {
    width: 300px;
    height: 300px;
}

.cta-enhanced span {
    position: relative;
    z-index: 1;
}

/* Development Process Visual Enhancements */
.development-process {
    position: relative;
}

.development-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    transform: translateX(-50%);
    opacity: 0.3;
}

/* Step Connector Lines */
.step-connector {
    position: relative;
}

.step-connector::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 30px;
    background: var(--primary-color);
    transform: translateX(-50%);
    opacity: 0.5;
}

.step-connector:last-child::after {
    display: none;
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card:hover {
        transform: translateY(-4px);
    }
    
    .process-step {
        padding: 1rem;
    }
    
    .tech-tag {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .development-process::before {
        display: none;
    }
}

/* 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;
    }
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Interactive Elements */
.interactive-element {
    cursor: pointer;
    transition: all 0.3s ease;
}

.interactive-element:hover {
    transform: scale(1.05);
}

.interactive-element:active {
    transform: scale(0.98);
}

/* Focus States for Accessibility */
.focus-visible:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Custom Scrollbar for Services Page */
.services-content::-webkit-scrollbar {
    width: 6px;
}

.services-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.services-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.services-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Print Styles */
@media print {
    .services-hero {
        background: var(--primary-color) !important;
        -webkit-print-color-adjust: exact;
    }
    
    .service-card,
    .process-step,
    .contact-highlight {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* Dark Mode Support (if needed) */
@media (prefers-color-scheme: dark) {
    .tech-tag {
        background: linear-gradient(135deg, #1f2937, #374151);
        color: #f9fafb;
        border-color: rgba(255, 255, 255, 0.1);
    }
}

/* 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;
    }
    
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
}