/* Hero Sections - Common Styles */
/* 各ページのヒーローセクションで使用可能な共通スタイル */

.services-hero-section {
    min-height: 60vh;
    background: linear-gradient(135deg, #024F83 0%, #035D9A 50%, #0470B3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Optional: Add subtle background pattern */
.services-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.services-hero-container {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Left Content Styles */
.services-hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.services-hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: white;
    line-height: 1.1;
    margin: 0;
}

.services-hero-subtitle {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.2;
    margin: 0;
}

.services-hero-button {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: white;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 0.65rem 1.75rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.75rem;
}

.services-hero-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Center Content Box Styles */
.services-hero-center {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.services-hero-catchphrase {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 700;
    color: #024F83;
    line-height: 1.4;
    margin: 0 0 1.25rem 0;
}

.services-hero-divider {
    width: 50px;
    height: 3px;
    background: #024F83;
    margin: 0 0 1.25rem 0;
    border-radius: 2px;
}

.services-hero-description {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(0.9rem, 1.35vw, 1.05rem);
    font-weight: 400;
    color: #333;
    line-height: 1.75;
    margin: 0;
}

/* Right Robot Styles */
.services-hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.services-hero-robot {
    max-width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

/* Floating animation for robot */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .services-hero-section {
        min-height: 70vh;
        padding: 5rem 1.5rem 2.5rem;
    }

    .services-hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
        padding: 1.5rem;
    }

    .services-hero-left {
        align-items: center;
    }

    .services-hero-center {
        padding: 1.75rem 2rem;
    }

    .services-hero-right {
        order: -1;
    }

    .services-hero-robot {
        max-height: 280px;
    }

    .services-hero-description br {
        display: none;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .services-hero-section {
        min-height: auto;
        padding: 5rem 1.25rem 2.5rem;
    }

    .services-hero-container {
        gap: 2rem;
    }

    .services-hero-title {
        font-size: 2.25rem;
    }

    .services-hero-subtitle {
        font-size: 1.35rem;
    }

    .services-hero-button {
        font-size: 0.95rem;
        padding: 0.6rem 1.5rem;
    }

    .services-hero-center {
        padding: 1.5rem 1.75rem;
    }

    .services-hero-catchphrase {
        font-size: 1.35rem;
    }

    .services-hero-divider {
        width: 45px;
        height: 2px;
    }

    .services-hero-description {
        font-size: 0.9rem;
    }

    .services-hero-robot {
        max-height: 220px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .services-hero-section {
        padding: 4.5rem 1rem 2rem;
    }

    .services-hero-title {
        font-size: 1.85rem;
    }

    .services-hero-subtitle {
        font-size: 1.15rem;
    }

    .services-hero-center {
        padding: 1.35rem 1.5rem;
    }

    .services-hero-catchphrase {
        font-size: 1.15rem;
    }

    .services-hero-description {
        font-size: 0.85rem;
    }

    .services-hero-robot {
        max-height: 180px;
    }
}

/* Animation delays for staggered entrance */
.services-hero-left {
    animation: fadeInUp 0.8s ease-out;
}

.services-hero-center {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.services-hero-right {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .services-hero-robot {
        animation: none;
    }
    
    .services-hero-left,
    .services-hero-center,
    .services-hero-right {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .services-hero-button:hover {
        transform: none;
    }
}