/* サービス紹介セクション */
.services-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.02) 0%, rgba(78, 205, 196, 0.02) 50%, rgba(81, 207, 102, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23FF6B6B" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.services-title {
    text-align: center;
    margin-bottom: 60px;
}

.services-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 16px;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-title p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 30px;
    margin-bottom: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: linear-gradient(145deg, #ffffff 0%, #fefefe 100%);
    border-radius: 20px;
    padding: 30px 40px;
    box-shadow: 
        0 20px 40px rgba(255, 107, 107, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    background-clip: padding-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 200px;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4, #51CF66);
    border-radius: 20px;
    padding: 1px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 30px 60px rgba(255, 107, 107, 0.12),
        0 12px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.service-card::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 0 20px 0;
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    box-shadow: 0 8px 16px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 24px rgba(255, 107, 107, 0.4);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 12px;
    text-align: left;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.service-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    text-align: left;
    margin-bottom: 0;
    flex-grow: 1;
}

.service-highlight {
    color: #FF6B6B;
    font-weight: 600;
}

/* 特別なカード（フーディーインジャパン用） */
.service-card.featured {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(78, 205, 196, 0.05) 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
}

.service-card.featured::before {
    opacity: 0.3;
}

.service-card.featured:hover::before {
    opacity: 0.6;
}

.service-card.featured .service-icon {
    background: linear-gradient(135deg, #FF6B6B 0%, #E03131 50%, #4ECDC4 100%);
    box-shadow: 0 12px 24px rgba(255, 107, 107, 0.4);
}

.service-logo {
    max-width: 220px;
    height: auto;
    margin: 0 0 20px 0;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }
    
    .services-container {
        padding: 0 20px;
    }
    
    .services-title h2 {
        font-size: 28px;
        margin-bottom: 16px;
        line-height: 1.3;
    }
    
    .services-title p {
        font-size: 16px;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 25px;
        margin-bottom: 40px;
        max-width: none;
    }
    
    .service-card {
        padding: 30px 25px;
        border-radius: 16px;
        min-height: 200px;
    }
    
    .service-icon {
        width: 55px;
        height: 55px;
        font-size: 26px;
        margin-bottom: 18px;
    }
    
    .service-logo {
        max-width: 200px;
        margin-bottom: 18px;
    }
    
    .service-card h3 {
        font-size: 20px;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    
    .service-card p {
        font-size: 15px;
        line-height: 1.6;
    }
}

@media screen and (max-width: 640px) {
    .services-section {
        padding: 50px 0;
    }
    
    .services-container {
        padding: 0 20px;
    }
    
    .services-title h2 {
        font-size: 26px;
        margin-bottom: 14px;
    }
    
    .services-title p {
        font-size: 15px;
    }
    
    .services-grid {
        gap: 20px;
    }
    
    .service-card {
        padding: 25px 20px;
        min-height: 180px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .service-logo {
        max-width: 180px;
        margin-bottom: 16px;
    }
    
    .service-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .service-card p {
        font-size: 14px;
        line-height: 1.6;
    }
}

@media screen and (max-width: 480px) {
    .services-section {
        padding: 40px 0;
    }
    
    .services-container {
        padding: 0 15px;
    }
    
    .services-title h2 {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .services-title p {
        font-size: 14px;
    }
    
    .service-card {
        padding: 20px 15px;
        min-height: 160px;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 22px;
        margin-bottom: 14px;
    }
    
    .service-logo {
        max-width: 160px;
        margin-bottom: 14px;
    }
    
    .service-card h3 {
        font-size: 17px;
        margin-bottom: 8px;
    }
    
    .service-card p {
        font-size: 13px;
        line-height: 1.7;
    }
} 