/* Custom CSS for 無線DASアプリソリューション Landing Page */

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Animation classes */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Intersection Observer classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Custom gradient backgrounds */
.gradient-bg-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-bg-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-bg-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Strength cards enhanced styling */
.strength-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.strength-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.strength-card:hover::before {
    left: 100%;
}

.strength-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Strength icon animation */
.strength-icon {
    transition: all 0.3s ease;
}

.strength-card:hover .strength-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Progress indicator for metrics */
.metric-progress {
    position: relative;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.metric-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #059669, #10b981);
    border-radius: 2px;
    animation: progressAnimation 2s ease-out forwards;
}

@keyframes progressAnimation {
    from { width: 0%; }
    to { width: var(--progress-width, 100%); }
}

/* Enhanced comparison styling */
.comparison-highlight {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(30, 64, 175, 0.05));
    border: 2px solid rgba(30, 64, 175, 0.2);
    position: relative;
}

.comparison-highlight::after {
    content: '推奨';
    position: absolute;
    top: -12px;
    right: 20px;
    background: #1e40af;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Professional metrics display */
.metric-value {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* BtoB professional styling */
.professional-heading {
    position: relative;
    display: inline-block;
}

.professional-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1e40af, #059669);
    border-radius: 2px;
}

/* Custom hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Progress bar animation */
.progress-bar {
    width: 0%;
    transition: width 1.5s ease-in-out;
}

.progress-bar.animate {
    width: var(--progress-width);
}

/* Custom button styles */
.btn-primary-custom {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::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;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
}

/* Number counter animation */
.counter {
    font-variant-numeric: tabular-nums;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #1e40af;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e3a8a;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-blue-900 {
        background-color: #000066;
    }
    
    .text-blue-100 {
        color: #ffffff;
    }
    
    .border-primary {
        border-color: #0000ff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .fixed,
    header,
    footer,
    .btn-primary-custom,
    .hover-lift {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        margin: 0;
        padding: 0;
    }
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #1e40af;
    outline-offset: 2px;
}

/* Loading states */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f4f6;
    border-top: 2px solid #1e40af;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success states */
.success {
    border-color: #059669 !important;
    background-color: #ecfdf5;
}

.error {
    border-color: #dc2626 !important;
    background-color: #fef2f2;
}

/* Tooltip styles */
.tooltip {
    position: relative;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1f2937;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1f2937;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.tooltip:hover::before,
.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #1e40af, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom form styles */
.form-group {
    position: relative;
}

.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.15);
}

.form-label {
    transition: all 0.3s ease;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    transform: translateY(-24px) scale(0.875);
    color: #1e40af;
}

/* Statistics animation */
.stat-number {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    font-size: 2.5rem;
    line-height: 1;
}

/* Feature icon styles */
.feature-icon {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
}

/* Mobile App UI Animations */
.mobile-app-container {
    perspective: 1000px;
}

.mobile-app {
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    transform-style: preserve-3d;
}

.mobile-app:hover {
    transform: rotateY(5deg) rotateX(5deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* Hero Visual Effects */
.warehouse-bg-icons {
    animation: floatingIcons 8s ease-in-out infinite;
}

@keyframes floatingIcons {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-10px) rotate(1deg);
    }
    66% {
        transform: translateY(5px) rotate(-1deg);
    }
}

/* Real-time metrics animation */
.realtime-metric {
    animation: pulseMetric 3s ease-in-out infinite;
}

@keyframes pulseMetric {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }
}

/* Status indicator animation */
.status-online {
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

/* Progress bar gradient animation */
.progress-gradient {
    background: linear-gradient(-45deg, #059669, #10b981, #34d399, #6ee7b7);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Problem Cards Enhanced Styling */
.problem-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.problem-card:hover::before {
    left: 100%;
}

.problem-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Problem card icon animation */
.problem-card .w-16.h-16 {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.problem-card:hover .w-16.h-16 {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Problem metrics styling */
.problem-metric {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.problem-card:hover .problem-metric {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

/* Staggered animation for cards */
.problem-card:nth-child(1) {
    animation-delay: 0.1s;
}

.problem-card:nth-child(2) {
    animation-delay: 0.2s;
}

.problem-card:nth-child(3) {
    animation-delay: 0.3s;
}

.problem-card:nth-child(4) {
    animation-delay: 0.4s;
}

.problem-card:nth-child(5) {
    animation-delay: 0.5s;
}

.problem-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Solution CTA styling */
.solution-cta {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    position: relative;
    overflow: hidden;
}

.solution-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 8s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Problem card color variants */
.problem-card-red {
    border-left-color: #ef4444;
}

.problem-card-orange {
    border-left-color: #f97316;
}

.problem-card-purple {
    border-left-color: #8b5cf6;
}

.problem-card-blue {
    border-left-color: #3b82f6;
}

.problem-card-green {
    border-left-color: #10b981;
}

.problem-card-indigo {
    border-left-color: #6366f1;
}

/* Enhanced grid layout for better visual hierarchy */
@media (min-width: 1024px) {
    .problems-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .problems-grid .problem-card:nth-child(4) {
        margin-top: -2rem;
    }
    
    .problems-grid .problem-card:nth-child(5) {
        margin-top: -1rem;
    }
    
    .problems-grid .problem-card:nth-child(6) {
        margin-top: -2rem;
    }
}

/* Mobile optimization for problem cards */
@media (max-width: 768px) {
    .problem-card {
        padding: 1.5rem;
    }
    
    .problem-card .w-16.h-16 {
        width: 3.5rem;
        height: 3.5rem;
    }
    
    .problem-card h3 {
        font-size: 1.25rem;
    }
}

/* Development Story Section Styles - 図解レイアウト */
.development-story {
    background: linear-gradient(135deg, #f8faff 0%, #e8f4fd 100%);
}

/* 図解レイアウト専用スタイル */
.infographic-layout {
    position: relative;
}

/* 装飾的背景エレメント */
.bg-decoration {
    position: absolute;
    font-size: 4rem;
    opacity: 0.1;
    animation: floatDecoration 6s ease-in-out infinite;
}

@keyframes floatDecoration {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: scale(1);
    }
    40%, 43% {
        transform: scale(1.2);
    }
}

/* 図解風吹き出し */
.infographic-bubble {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.infographic-bubble:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 吹き出しの三角形 */
.infographic-bubble::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: -12px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 12px solid;
    filter: drop-shadow(-2px 0 2px rgba(0, 0, 0, 0.1));
}

/* ステークホルダー別の吹き出し色 */
.bubble-executive::before {
    border-right-color: #3b82f6;
}

.bubble-manager::before {
    border-right-color: #f97316;
}

.bubble-worker::before {
    border-right-color: #10b981;
}

.bubble-worker-alt::before {
    border-right-color: #14b8a6;
}

/* アイコン風アバター */
.infographic-avatar {
    background: linear-gradient(135deg, var(--avatar-primary), var(--avatar-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.infographic-avatar:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

/* 役割別アバター色設定 */
.avatar-developer {
    --avatar-primary: #8b5cf6;
    --avatar-secondary: #7c3aed;
}

.avatar-executive {
    --avatar-primary: #3b82f6;
    --avatar-secondary: #1d4ed8;
}

.avatar-manager {
    --avatar-primary: #f97316;
    --avatar-secondary: #ea580c;
}

.avatar-worker {
    --avatar-primary: #10b981;
    --avatar-secondary: #059669;
}

.avatar-worker-alt {
    --avatar-primary: #14b8a6;
    --avatar-secondary: #0d9488;
}

/* 技術特徴カード */
.tech-feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(248, 250, 252, 0.6));
    border: 1px solid rgba(203, 213, 225, 0.3);
    border-radius: 15px;
    padding: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.tech-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.8));
}

/* チェックマークアイコン */
.check-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* メリット項目のハイライト */
.benefit-highlight {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), transparent);
    border-radius: 10px;
    padding: 0.5rem;
    border-left: 3px solid;
    transition: all 0.3s ease;
}

.benefit-highlight:hover {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3));
    transform: translateX(5px);
}

.benefit-executive {
    border-color: #3b82f6;
}

.benefit-manager {
    border-color: #f97316;
}

.benefit-worker {
    border-color: #10b981;
}

.benefit-worker-alt {
    border-color: #14b8a6;
}

/* 数値ハイライト */
.metric-highlight {
    color: inherit;
    font-weight: 800;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* セクションタイトルの装飾 */
.section-title-decoration {
    position: relative;
    display: inline-block;
}

.section-title-decoration::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6, #3b82f6, #10b981);
    border-radius: 2px;
}

/* レスポンシブ調整 */
@media (max-width: 1024px) {
    .infographic-bubble::before {
        display: none;
    }
    
    .infographic-avatar {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .bg-decoration {
        font-size: 2.5rem;
    }
    
    .infographic-bubble {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .tech-feature-card {
        padding: 0.75rem;
    }
    
    .section-title-decoration {
        font-size: 2rem;
    }
}

/* 主要機能詳細 - 簡潔でデザイン性の高いカードレイアウト */
.feature-card-refined {
    border-radius: 1rem;
    padding: 2rem 1.5rem; /* パディングを調整 */
    min-height: 380px; /* 高さを増やして数値表示に対応 */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(30, 41, 59, 0.1), 0 2px 4px -1px rgba(30, 41, 59, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* 上寄せに変更 */
    align-items: center; /* 中央寄せ */
    text-align: center;
}

.feature-card-refined:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(30, 41, 59, 0.1), 0 10px 10px -5px rgba(30, 41, 59, 0.04);
    border-color: var(--deep-blue);
}

/* 大きなアイコン */
.feature-icon-large {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 10px 15px -3px rgba(30, 41, 59, 0.1), 0 4px 6px -2px rgba(30, 41, 59, 0.05);
    transition: all 0.3s ease;
}

.feature-card-refined:hover .feature-icon-large {
    transform: scale(1.05);
    box-shadow: 0 15px 20px -5px rgba(30, 41, 59, 0.2);
}

/* タイトルと説明 */
.feature-title-refined {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.feature-subtitle {
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* ポイントリスト */
.feature-points-refined {
    space-y: 1.5rem; /* 行間をさらに広げる */
    padding-top: 0.75rem;
}

.feature-point-item {
    display: flex;
    align-items: center;
    justify-content: center; /* 中央寄せ */
    font-size: 0.875rem;
    line-height: 1.7; /* 行間をさらに広げる */
    color: var(--text-secondary);
    margin-bottom: 1.25rem; /* 各項目間の余白を拡大 */
    width: 100%; /* 全幅使用 */
}

/* 数値・特徴強調バッジスタイル */
.feature-highlight-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.3rem; /* 本文より1.3倍大きく */
    line-height: 1.2;
    text-align: center;
    margin-bottom: 0.25rem;
    border: 2px solid;
    transition: all 0.3s ease;
}

/* オレンジ系バッジ */
.feature-highlight-badge.orange {
    background-color: #FFF5F0;
    color: #FF7F32;
    border-color: #FFB58A;
}

.feature-highlight-badge.orange:hover {
    background-color: #FFEDE5;
    transform: scale(1.02);
}

/* ブルー系バッジ */
.feature-highlight-badge.blue {
    background-color: #F0F6FF;
    color: #4A90E2;
    border-color: #A3C7F0;
}

.feature-highlight-badge.blue:hover {
    background-color: #E6F2FF;
    transform: scale(1.02);
}

/* グリーン系バッジ */
.feature-highlight-badge.green {
    background-color: #F0FFF5;
    color: #22C55E;
    border-color: #86EFAC;
}

.feature-highlight-badge.green:hover {
    background-color: #ECFDF5;
    transform: scale(1.02);
}

/* 独立表示用の数値コンテナ */
.feature-metric-container {
    text-align: center;
    margin-bottom: 0.75rem;
}

.feature-metric-value {
    display: block;
    font-size: 1.4rem; /* 本文より1.4倍大きく */
    font-weight: 900;
    margin-bottom: 0.25rem;
}

.feature-metric-description {
    font-size: 0.8rem;
    color: #6B7280;
    line-height: 1.3;
}

.point-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.feature-point-item strong {
    font-weight: 700;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card-refined {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card-refined:nth-child(1) { animation-delay: 0.1s; }
.feature-card-refined:nth-child(2) { animation-delay: 0.2s; }
.feature-card-refined:nth-child(3) { animation-delay: 0.3s; }
.feature-card-refined:nth-child(4) { animation-delay: 0.4s; }
.feature-card-refined:nth-child(5) { animation-delay: 0.5s; }
.feature-card-refined:nth-child(6) { animation-delay: 0.6s; }

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .feature-card-refined {
        padding: 1.5rem 1rem;
        min-height: 320px; /* モバイルでも十分な高さを確保 */
    }
    
    .feature-icon-large {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-title-refined {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-subtitle {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .feature-point-item {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .feature-points-refined {
        space-y: 0.75rem;
        margin-top: 1rem;
    }
    
    /* モバイル向けバッジ調整 */
    .feature-highlight-badge {
        font-size: 1.1rem; /* モバイルでは少し小さめに */
        padding: 0.4rem 0.8rem;
    }
    
    .feature-metric-value {
        font-size: 1.2rem; /* モバイルでは少し小さめに */
    }
    
    .feature-metric-description {
        font-size: 0.75rem;
    }
}

/* 統合ソリューション効果 - インフォグラフィック */
.effect-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.effect-metric {
    background: rgba(248, 250, 252, 1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.effect-metric:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(30, 41, 59, 0.1);
}

.effect-value {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.effect-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.effect-description {
    font-size: 0.75rem;
    line-height: 1.4;
}

/* 導入事例・効果 - 統一カラーパレット対応スタイル */
.case-study-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(30, 41, 59, 0.1), 0 2px 4px -1px rgba(30, 41, 59, 0.06);
}

.case-study-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(30, 41, 59, 0.1), 0 10px 10px -5px rgba(30, 41, 59, 0.04);
}

/* 大きなアイコン */
.case-study-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1rem auto;
    transition: all 0.3s ease;
}

.case-study-card:hover .case-study-icon {
    transform: scale(1.05);
}

/* メトリクスカード */
.case-metric-card {
    background: rgba(248, 250, 252, 0.8);
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.2s ease;
}

.case-metric-card:hover {
    background: rgba(248, 250, 252, 1);
    border-color: var(--blue-gray-light);
    transform: translateY(-1px);
}

/* メトリクス数値 */
.case-metric-value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

/* メトリクス説明文 */
.case-metric-description {
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--text-muted);
}

/* アニメーション */
@keyframes caseSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.case-study-card {
    animation: caseSlideIn 0.6s ease-out;
}

.case-study-card:nth-child(1) { animation-delay: 0.1s; }
.case-study-card:nth-child(2) { animation-delay: 0.3s; }
.case-study-card:nth-child(3) { animation-delay: 0.5s; }

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .case-study-card {
        padding: 1.5rem;
    }
    
    .case-study-icon {
        width: 4rem;
        height: 4rem;
        font-size: 2.5rem;
    }
    
    .case-metric-value {
        font-size: 1.5rem;
    }
    
    .case-metric-description {
        font-size: 0.8rem;
    }
}

/* 導入効果の定量化 - 図解レイアウト専用スタイル */

/* 効果カードのアニメーション */
.effect-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.effect-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.effect-card:hover::before {
    left: 100%;
}

.effect-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* 比較カードのスタイル */
.comparison-card {
    position: relative;
    transition: all 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* 比較コンテナのアニメーション */
.comparison-container {
    position: relative;
}

/* 効果指標のアニメーション */
.effect-metric {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

/* アイコンバッジのスタイル */
.icon-badge {
    background: linear-gradient(135deg, var(--badge-color-1), var(--badge-color-2));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.icon-badge:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* バッジの色設定 */
.badge-blue {
    --badge-color-1: #3b82f6;
    --badge-color-2: #1d4ed8;
}

.badge-green {
    --badge-color-1: #10b981;
    --badge-color-2: #059669;
}

.badge-orange {
    --badge-color-1: #f97316;
    --badge-color-2: #ea580c;
}

.badge-red {
    --badge-color-1: #ef4444;
    --badge-color-2: #dc2626;
}

/* チェックマーク・×マークのアニメーション */
.check-mark, .cross-mark {
    transition: all 0.3s ease;
}

.effect-card:hover .check-mark {
    animation: checkmarkBounce 0.6s ease-out;
}

.comparison-card:hover .cross-mark {
    animation: shake 0.5s ease-in-out;
}

.comparison-card:hover .check-mark {
    animation: checkmarkBounce 0.6s ease-out;
}

@keyframes checkmarkBounce {
    0%, 20%, 53%, 80%, 100% {
        transform: scale(1);
    }
    40%, 43% {
        transform: scale(1.3);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-3px); }
    20%, 40%, 60%, 80% { transform: translateX(3px); }
}

/* 数値ハイライトのアニメーション */
.metric-number {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    font-family: 'Monaco', 'Menlo', monospace;
    letter-spacing: -0.02em;
    position: relative;
}

.metric-number::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.effect-card:hover .metric-number::after {
    transform: scaleX(1);
}

/* 投資効果サマリーの特別スタイル */
.investment-summary {
    background: linear-gradient(135deg, #1e40af, #1e3a8a, #059669);
    position: relative;
    overflow: hidden;
}

.investment-summary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotateBackground 10s linear infinite;
}

@keyframes rotateBackground {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 優位性指標のスタイル */
.advantage-indicator {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.1));
    border: 2px solid rgba(16, 185, 129, 0.3);
    position: relative;
}

.advantage-indicator::after {
    content: '推奨';
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* モバイル最適化 */
@media (max-width: 768px) {
    .effect-card {
        padding: 1.5rem;
    }
    
    .comparison-card {
        padding: 1.5rem;
    }
    
    .metric-number {
        font-size: 2rem;
    }
    
    .investment-summary {
        padding: 2rem;
    }
}

/* Timeline styles */
.timeline-connector {
    background: linear-gradient(to bottom, #8b5cf6, #6366f1);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.timeline-dot {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.timeline-dot:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Speech bubbles */
.speech-bubble {
    position: relative;
    transition: all 0.3s ease;
}

.speech-bubble:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.speech-bubble::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: -0.75rem;
    width: 0;
    height: 0;
    border-top: 0.5rem solid transparent;
    border-bottom: 0.5rem solid transparent;
    border-right: 0.75rem solid;
}

/* Stakeholder conversation styles */
.stakeholder-card {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stakeholder-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.6s ease;
}

.stakeholder-card:hover::before {
    left: 100%;
}

.stakeholder-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Stakeholder avatars */
.stakeholder-avatar {
    background: linear-gradient(135deg, var(--avatar-color-1), var(--avatar-color-2));
    transition: all 0.3s ease;
}

.stakeholder-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Role-based color schemes */
.role-executive {
    --avatar-color-1: #3b82f6;
    --avatar-color-2: #1d4ed8;
}

.role-manager {
    --avatar-color-1: #f97316;
    --avatar-color-2: #ea580c;
}

.role-worker {
    --avatar-color-1: #10b981;
    --avatar-color-2: #059669;
}

.role-worker-alt {
    --avatar-color-1: #14b8a6;
    --avatar-color-2: #0d9488;
}

/* Feature highlight boxes */
.feature-highlight {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Quote styling */
.developer-quote {
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
}

.developer-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.25rem;
    font-size: 2rem;
    color: rgba(0, 0, 0, 0.3);
    font-family: serif;
}

/* Benefit indicators */
.benefit-indicator {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 50%;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    flex-shrink: 0;
}

/* Section divider */
.story-divider {
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    height: 1px;
    margin: 3rem 0;
}

/* Responsive adjustments for development story */
@media (max-width: 1024px) {
    .timeline-connector {
        left: 1rem;
    }
    
    .speech-bubble {
        margin-left: 0.5rem;
    }
}

@media (max-width: 768px) {
    .development-story .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .stakeholder-card {
        padding: 1.5rem;
    }
    
    .timeline-connector {
        display: none;
    }
    
    .speech-bubble::before {
        display: none;
    }
}
