/* SVGアイコンとイラストを活用したUIアップグレード */

/* 装飾的な背景パターン */
.background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    pointer-events: none;
    z-index: -1;
}

.background-pattern svg {
    width: 100%;
    height: 100%;
    fill: #00d4ff;
}

/* フローティングアイコン */
.floating-icons {
    /* position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden; */
    opacity: 0.03;
}

.floating-icon {
    position: absolute;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.floating-icon:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.floating-icon:nth-child(4) {
    bottom: 20%;
    right: 10%;
    animation-delay: 1s;
}

.floating-icon:nth-child(5) {
    top: 50%;
    left: 5%;
    animation-delay: 3s;
}

.floating-icon:nth-child(6) {
    top: 60%;
    right: 5%;
    animation-delay: 5s;
}

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

/* サービスカードのSVGアイコン */
.service-icon-svg {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 204, 0.1));
    border-radius: 50%;
    border: 2px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon-svg {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 153, 204, 0.2));
    border-color: #00d4ff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.service-icon-svg svg {
    width: 40px;
    height: 40px;
    fill: #00d4ff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon-svg svg {
    fill: #fff;
    transform: scale(1.2);
}

/* プログレスバーとスキル表示 */
.skills-section {
    padding: 4rem 0;
    position: relative;
}

.skill-item {
    margin-bottom: 2rem;
    position: relative;
}

.skill-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #fff;
}

.skill-name {
    font-size: 1.1rem;
}

.skill-percentage {
    font-size: 0.9rem;
    color: #00d4ff;
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    border-radius: 4px;
    position: relative;
    transform: scaleX(0);
    transform-origin: left;
    animation: skillProgress 2s ease-out forwards;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes skillProgress {
    to {
        transform: scaleX(1);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* 統計カウンター */
.stats-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 153, 204, 0.05));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: #00d4ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: 50%;
}

.stat-icon svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: #fff;
    opacity: 0.8;
}

/* タイムライン */
.timeline-section {
    padding: 4rem 0;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #00d4ff, #0099cc);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 45%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 55%;
    text-align: left;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item:hover .timeline-content {
    background: rgba(0, 212, 255, 0.1);
    border-color: #00d4ff;
    transform: scale(1.05);
}

.timeline-dot {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: #00d4ff;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -60px;
}

.timeline-date {
    font-size: 0.9rem;
    color: #00d4ff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-title {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-description {
    color: #fff;
    opacity: 0.8;
    line-height: 1.6;
}

/* 装飾的なセパレーター */
.section-separator {
    position: relative;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.separator-icon {
    width: 60px;
    height: 60px;
    opacity: 0.3;
    animation: rotate 10s linear infinite;
}

.separator-icon svg {
    width: 100%;
    height: 100%;
    fill: #00d4ff;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* パーティクル効果 */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00d4ff;
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 8s infinite linear;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 6s; }
.particle:nth-child(8) { left: 80%; animation-delay: 7s; }
.particle:nth-child(9) { left: 90%; animation-delay: 8s; }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 0.6;
        transform: translateY(10vh) scale(1);
    }
    100% {
        transform: translateY(0vh) scale(0);
        opacity: 0;
    }
}

/* ABOUT US セクション */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: #00d4ff;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.about-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 204, 0.1));
    border-radius: 50%;
    border: 2px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card:hover .about-icon {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 153, 204, 0.2));
    border-color: #00d4ff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.about-icon svg {
    width: 40px;
    height: 40px;
    fill: #00d4ff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card:hover .about-icon svg {
    fill: #fff;
    transform: scale(1.2);
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
}

.about-card h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card:hover h3::after {
    width: 60px;
}

.about-card p {
    color: #fff;
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-card strong {
    color: #00d4ff;
    font-weight: 600;
}

.about-link {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.about-link:hover {
    background: transparent;
    border-color: #00d4ff;
    color: #00d4ff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 50px;
    }
    
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 10px;
        right: auto;
    }
    
    .floating-icon {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .about-card {
        padding: 2rem 1.5rem;
    }
    
    .about-icon {
        width: 60px;
        height: 60px;
    }
    
    .about-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .about-card h3 {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .service-icon-svg {
        width: 60px;
        height: 60px;
    }
    
    .service-icon-svg svg {
        width: 30px;
        height: 30px;
    }

    .about-card {
        padding: 1.5rem 1rem;
    }
    
    .about-card h3 {
        font-size: 1.2rem;
    }
    
    .about-card p {
        font-size: 0.9rem;
    }
    
    .about-link {
        padding: 0.7rem 1.5rem;
        font-size: 0.8rem;
    }
} 