/* Services页面样式 */

/* Services页面的section背景 */
.services-section {
    /* background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%); */
    position: relative;
    overflow: hidden;
}

/* .services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, rgba(74, 144, 226, 0) 70%);
} */

/* 开发流程部分样式 */
.development-process {
    /* background: linear-gradient(135deg, #eef2f7 0%, #d8e1ed 100%); */
    position: relative;
    overflow: hidden;
}

/* .development-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%234a90e2' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
} */

/* 开发流程时间线 */
.process-timeline {
    position: relative;
    padding: 30px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 85%;
    background: linear-gradient(to bottom, rgba(74, 144, 226, 0.2), rgba(74, 144, 226, 0.8));
    transform: translateX(-50%);
    border-radius: 2px;
}

/* 开发流程步骤 */
.process-step {
    position: relative;
    margin-bottom: 50px;
    padding-left: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.process-step.active {
    opacity: 1;
    transform: translateY(0);
}

/* 为每个步骤设置不同的动画延迟 */
.process-step:nth-child(1) {
    transition-delay: 0.1s;
}

.process-step:nth-child(2) {
    transition-delay: 0.3s;
}

.process-step:nth-child(3) {
    transition-delay: 0.5s;
}

.process-step:nth-child(4) {
    transition-delay: 0.7s;
}

.process-step:nth-child(5) {
    transition-delay: 0.9s;
}

/* 步骤数字 */
.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: #4a90e2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
    z-index: 2;
}

/* 步骤标题 */
.process-step h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

/* 步骤描述 */
.process-step p {
    color: #666;
    line-height: 1.6;
}

/* 步骤连接线 */
.process-step::after {
    content: '';
    position: absolute;
    top: 25px;
    left: 50px;
    width: 0;
    height: 2px;
    background: rgba(74, 144, 226, 0.5);
    transition: width 0.8s ease 0.3s;
}

.process-step.active::after {
    width: 30px;
}

/* 品质保证部分样式 */
.quality-assurance {
    /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
    position: relative;
    overflow: hidden;
    padding-top: 60px;
    padding-bottom: 60px;
}

/* .quality-assurance::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='180' height='180' viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M81.28 88H68.413l19.298 19.298L81.28 88zm2.107 0h13.226L90 107.838 83.387 88zm15.334 0h12.866l-19.298 19.298L98.72 88zm-32.927-2.207L73.586 78h32.827l.5.5 7.294 7.293L115.414 87l-24.707 24.707-.707.707L64.586 87l1.207-1.207zm2.62.207L74 80.414 79.586 86H68.414L74 80.414zm16 0L90 80.414 95.586 86H84.414L90 80.414zm16 0L106 80.414 111.586 86h-11.172L106 80.414zM87.414 91.414L92 96.586 92.586 96 87.414 90.828 82.414 96 83 96.586 87.414 91.414zM180 96c0 44.183-35.817 80-80 80s-80-35.817-80-80 35.817-80 80-80 80 35.817 80 80zm-80-85c-46.944 0-85 38.056-85 85 0 46.944 38.056 85 85 85 46.944 0 85-38.056 85-85 0-46.944-38.056-85-85-85z' fill='%234a90e2' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.quality-assurance::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.08) 0%, rgba(74, 144, 226, 0) 70%);
    border-radius: 50%;
    z-index: 0;
} */

.quality-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    opacity: 0;
    transform-style: preserve-3d;
    perspective: 1000px;
    transform: rotateY(-15deg) translateZ(-10px);
    z-index: 1;
}

.quality-card.active {
    opacity: 1;
    transform: rotateY(0) translateZ(0);
}

.quality-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(
        45deg, 
        rgba(74, 144, 226, 0) 0%, 
        rgba(74, 144, 226, 0.3) 50%, 
        rgba(74, 144, 226, 0) 100%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.quality-card:hover::before {
    opacity: 1;
}

.quality-card:nth-child(1) {
    transition-delay: 0.2s;
}

.quality-card:nth-child(2) {
    transition-delay: 0.4s;
}

.quality-card:hover {
    transform: translateY(-10px) rotateY(10deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.quality-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.quality-card h3 i {
    color: #4a90e2;
    margin-right: 10px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    transform-origin: center;
}

.quality-card:hover h3 i {
    transform: rotate(360deg) scale(1.2);
}

.quality-card p {
    color: #666;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.quality-card::after {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, rgba(74, 144, 226, 0) 70%);
    z-index: 0;
    transition: all 0.3s ease;
}

.quality-card:hover::after {
    transform: scale(2);
}

/* 品质卡片闪光效果 */
.quality-card .shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-100%);
    animation: shine-effect 4s infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes shine-effect {
    0% {
        transform: translateX(-100%) rotate(0deg);
    }
    20% {
        transform: translateX(100%) rotate(5deg);
    }
    100% {
        transform: translateX(100%) rotate(5deg);
    }
}

/* 响应式调整 */
@media (max-width: 992px) {
    .process-step {
        padding-left: 50px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    .process-step h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .process-timeline::before {
        left: 20px;
    }
    
    .process-step {
        padding-left: 45px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
        left: 2px;
    }
    
    .process-step h3 {
        font-size: 1.1rem;
    }
    
    .process-step::after {
        left: 37px;
    }
    
    .quality-card {
        padding: 20px;
    }
    
    .quality-card h3 {
        font-size: 1.2rem;
    }
}

/* お問い合わせCTA部分のスタイル */
.contact-cta {
    /* position: relative; */
    background: linear-gradient(135deg, #eaf3fc 0%, #dbe8f7 100%);
    color: #1a3b6d;
    padding: 80px 0;
    overflow: hidden;
    z-index: 1;
}
/* 
.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z' fill='%23ffffff' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: -1;
} */

/* 波形アニメーション */
/* .contact-cta::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 120px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,288L48,272C96,256,192,224,288,197.3C384,171,480,149,576,165.3C672,181,768,235,864,250.7C960,267,1056,245,1152,224C1248,203,1344,181,1392,170.7L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    z-index: 0;
} */

/* タイトルのアニメーション */
.contact-cta h2 {
    position: relative;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.contact-cta.active h2 {
    opacity: 1;
    transform: translateY(0);
}

/* タイトル下線アニメーション */
.contact-cta h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 0;
    height: 3px;
    background: white;
    transform: translateX(-50%);
    transition: width 1s ease 0.3s;
}

.contact-cta.active h2::after {
    width: 100px;
}

/* 説明文のアニメーション */
.contact-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s;
    z-index: 2;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cta.active p {
    opacity: 1;
    transform: translateY(0);
}

.contact-cta-section .btn {
    background: #1a3b6d;
    color: white;
    border: none;
}
/* ボタンのアニメーション */
.contact-cta .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    background: white;
    color: #1a3b6d;
    border: 2px solid white;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.4s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-cta.active .btn {
    opacity: 1;
    transform: translateY(0);
}

/* ボタンホバーエフェクト */
.contact-cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #1a3b6d;
    transition: all 0.4s ease;
    z-index: -1;
}

.contact-cta .btn:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-cta .btn:hover::before {
    left: 0;
}

/* フロート要素 */
.contact-cta .floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float-animation 8s infinite ease-in-out;
    z-index: 1;
}

.contact-cta .floating-element:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.contact-cta .floating-element:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.contact-cta .floating-element:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float-animation {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .contact-cta {
        padding: 60px 0;
    }
    
    .contact-cta h2 {
        font-size: 1.8rem;
    }
    
    .contact-cta p {
        font-size: 1rem;
    }
    
    .contact-cta .btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
} 