/* 実績ページと同じヒーローセクションスタイル */
.site-hero-bg.hero-company {
    min-height: 300px;
    text-align: center;
    background-color: transparent;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.site-hero-bg.hero-company::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/suggestion_image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.site-hero-bg.hero-company::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: -1;
}

.hero-company .site-hero-overlay {
    background-color: transparent;
    padding: 0;
    text-align: center;
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-company h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 15px;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.8), 1px -1px 0 rgba(0, 0, 0, 0.8),
                -1px 1px 0 rgba(0, 0, 0, 0.8), 1px 1px 0 rgba(0, 0, 0, 0.8),
                0 0 8px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.05em;
    line-height: 1.5;
}

/* 実績ページと同じ概要セクションスタイル */
.service-intro-section {
    padding: 20px 0 40px;
}

.service-intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 15px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
}

/* サービスカテゴリセクション */
.service-category-section {
    background-color: #f8f8f8;
    padding: 60px 0;
}

.service-section-title {
    font-size: 24px;
    margin-bottom: 30px;
    position: relative;
    color: var(--secondary-color);
}

.service-section-title::after {
    content: '';
    display: block;
    width: 130px;
    height: 2px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: -10px;
    left: 0;
}

.service-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.service-category-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.category-business .category-icon {
    color: #2E86C1;
}

.category-industry .category-icon {
    color: #8E44AD;
}

.category-it .category-icon {
    color: #28A745;
}

.category-backoffice .category-icon {
    color: #FFC107;
}

.category-title {
    font-size: 1.25rem;
    color: #333333;
    margin-bottom: 15px;
    font-weight: bold;
}

.category-description {
    font-size: 0.875rem;
    color: #666666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.category-link {
    color: #EF454A;
    font-weight: bold;
    display: inline-block;
}

/* サービスリストセクション */
.service-list-section {
    margin-bottom: 60px;
}

.service-category-list {
    margin-bottom: 60px;
}

.service-category-list:last-child {
    margin-bottom: 0;
}

.category-list-title {
    font-size: 24px;
    margin-bottom: 15px;
    position: relative;
    color: var(--secondary-color);
    padding-bottom: 15px;
    border-bottom: 3px solid;
}

#business-improvement .category-list-title {
    border-color: #2E86C1;
}

#industry-solutions .category-list-title {
    border-color: #8E44AD;
}

#it-department .category-list-title {
    border-color: #28A745;
}

#back-office .category-list-title {
    border-color: #FFC107;
}

.category-list-description {
    font-size: 1rem;
    color: #666666;
    margin-bottom: 30px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list-item {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: box-shadow 0.3s;
    position: relative;
}

.service-list-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-tag {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 20px;
    display: inline-block;
    width: 140px;
    text-align: center;
}

.tag-business {
    background-color: #2E86C1;
}

.tag-industry {
    background-color: #8E44AD;
}

.tag-it {
    background-color: #28A745;
}

.tag-backoffice {
    background-color: #FFC107;
}

.service-content {
    flex: 1;
}

/* サービスタイトルとバッジを含むコンテナのスタイル修正 */
.service-title-container {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

/* バッジのスタイル修正 */
.service-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px; /* 楕円形にするため半径を大きく */
    font-size: 11px;
    font-weight: bold;
    color: white;
    margin-left: 10px; /* タイトルとの間隔 */
    vertical-align: middle;
}

/* 注力サービス（主力）バッジの色 */
.badge-focus {
    background-color: #E74C3C; /* 赤系 - 注力サービス */
}

/* 人気サービスバッジの色 */
.badge-popular {
    background-color: #F39C12; /* オレンジ系 - 人気サービス */
}

.service-title {
    font-size: 18px;
    margin: 0 0 5px;
    color: var(--secondary-color);
}

.service-summary {
    font-size: 14px;
    color: var(--text-color);
    margin: 0;
    line-height: 1.5;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-left: 20px;
    white-space: nowrap;
}

.service-link:hover {
    text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .service-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .site-hero-bg.hero-company {
        min-height: 250px;
    }
    
    .hero-company h1 {
        font-size: 2rem;
    }
    
    .service-intro-text {
        font-size: 14px;
        padding: 0 15px;
    }
    
    .service-category-grid {
        grid-template-columns: 1fr;
    }
    
    .service-list-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .service-tag {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .service-link {
        margin-left: 0;
        margin-top: 15px;
        align-self: flex-end;
    }
    
    .service-intro-section,
    .service-category-section,
    .service-list-section {
        padding: 40px 0;
    }
    
    .service-title-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .service-badge {
        margin-left: 0;
        margin-top: 5px;
    }
}

@media (max-width: 480px) {
    .site-hero-bg.hero-company {
        min-height: 200px;
    }
    
    .hero-company h1 {
        font-size: 1.8rem;
    }
}