/* 実績一覧ページ専用スタイル */

/* ヒーローセクション - 会社概要ページと共通のスタイル */
.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/negotiation_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;
}

/* 実績紹介テキストセクション */
.case-intro-section {
    padding: 20px 0 40px;
}

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

/* 旧ヒーローエリア - 互換性のため残しておく */
.case-hero {
    background-color: var(--background-light);
    padding: 50px 0;
    margin-bottom: 40px;
    border-radius: 4px;
}

.case-hero-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    color: var(--secondary-color);
}

.case-hero-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

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

/* セクションタイトル */
.case-section-title {
    font-size: 24px;
    margin-bottom: 30px;
    position: relative;
    color: var(--secondary-color);
}

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

/* 実績リスト */
.case-list-section {
    margin-bottom: 60px;
}

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

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

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

.case-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;
    min-width: 80px;
    text-align: center;
}

.case-content {
    flex: 1;
}

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

.case-client {
    font-size: 14px;
    color: var(--text-light);
    margin: 0 0 8px;
}

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

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

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

/* お問い合わせ誘導エリア */
.case-contact-section {
    background-color: var(--background-light);
    padding: 40px 0;
    text-align: center;
    border-radius: 4px;
    margin-bottom: 60px;
}

.case-contact-text {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.case-contact-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.case-contact-btn:hover {
    background-color: var(--primary-dark);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .site-hero-bg.hero-company {
        min-height: 250px;
    }
    
    .hero-company h1 {
        font-size: 2rem;
    }
    
    .case-intro-text {
        font-size: 14px;
        padding: 0 15px;
    }
    
    .case-hero {
        padding: 30px 0;
    }
    
    .case-hero-title {
        font-size: 26px;
    }
    
    .case-hero-text {
        font-size: 14px;
        padding: 0 15px;
    }
    
    .case-list-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .case-tag {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .case-link {
        margin-left: 0;
        margin-top: 15px;
        align-self: flex-end;
    }
}

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