@charset "UTF-8";
/* result.css - 制作実績ページ */

/* ========================================
   ヒーローセクション
======================================== */
.result-hero {
    background: #f8f9fa;
    padding: 30px 0 20px;
    border-bottom: 1px solid #e0e0e0;
}

.result-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.result-hero-label {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 6px;
    letter-spacing: 0.1em;
}

.result-hero-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.result-hero-lead {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 14px;
}

/* アプローチ紹介 */
.result-approach {
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.result-approach-item {
    text-align: center;
    background: #FFF;
    padding: 10px 16px;
    flex: 1;
    max-width: 250px;
}

.result-approach-num {
    font-size: 0.75rem;
    color: #dc000c;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.result-approach-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.3;
}

.result-approach-text {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.4;
}

/* ========================================
   業種カテゴリナビ
======================================== */
.category-nav {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.category-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.category-nav-link {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: transparent;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-nav-link:hover,
.category-nav-link.is-active {
    background: #dc000c;
    color: #fff;
    border-color: #dc000c;
}

/* ========================================
   業種別セクション
======================================== */
.category-section {
    padding: 60px 0 40px;
}

.category-section:nth-child(even) {
    background: #f8f9fa;
}

.category-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-header {
    margin-bottom: 40px;
}

.category-number {
    font-size: 0.85rem;
    color: #dc000c;
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.category-subtitle {
    font-size: 0.9rem;
    color: #888;
}

.category-lead {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
    margin-top: 15px;
    max-width: 800px;
}

/* ========================================
   実績カード
======================================== */
.result-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.result-card {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.result-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e9ecef;
    border-radius: 8px;
}

.result-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.result-card:hover .result-card-image img {
    transform: scale(1.03);
}

.result-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.result-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.result-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.result-tag {
    display: inline-block;
    padding: 2px 10px;
    font-size: 0.75rem;
    border: 1px solid #ddd;
    color: #666;
}

.result-tag-industry {
    border-color: #dc000c;
    color: #dc000c;
}

.result-card-summary {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
    flex: 1;
}

.result-card-services {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
}

.service-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.7rem;
    background: #f0f0f0;
    color: #888;
}

.result-card-link {
    text-align: right;
}

.result-card-link a {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.result-card-link a:hover {
    color: #dc000c;
}

.result-card-link a::after {
    content: " \00BB";
}

/* ========================================
   対応業種・対応範囲セクション
======================================== */
.coverage-section {
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid #e0e0e0;
}

.coverage-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.coverage-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.coverage-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 800px;
}

.coverage-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.coverage-tag {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #ddd;
    font-size: 0.85rem;
    color: #555;
    transition: all 0.3s ease;
}

.coverage-tag:hover {
    border-color: #dc000c;
    color: #dc000c;
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 768px) {
    .result-hero {
        padding: 20px 0 14px;
    }

    .result-hero-title {
        font-size: 1.4rem;
        margin-bottom: 6px;
    }

    .result-hero-lead {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .result-approach {
        gap: 6px;
    }

    .result-approach-item {
        padding: 8px 4px;
    }

    .result-approach-num {
        font-size: 0.65rem;
        margin-bottom: 2px;
    }

    .result-approach-title {
        font-size: 0.7rem;
        line-height: 1.3;
    }

    .result-approach-text {
        display: none;
    }

    .category-nav-inner {
        gap: 5px;
    }

    .category-nav-link {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .category-section {
        padding: 40px 0 30px;
    }

    .category-title {
        font-size: 1.4rem;
    }

    .result-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .result-hero-title {
        font-size: 1.5rem;
    }

    .category-nav-link {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    .result-card-name {
        font-size: 1rem;
    }
}

/* ========================================
   実績詳細ページ
======================================== */

/* ヒーロー */
.detail-hero {
    background: url("../img/result/hero_bg.jpg") no-repeat right top #f8f9fa;
    background-size: contain;
    padding: 50px 0 40px;
    border-bottom: 1px solid #e0e0e0;
}

.detail-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.detail-breadcrumb {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 16px;
}

.detail-breadcrumb a {
    color: #888;
    text-decoration: none;
}

.detail-breadcrumb a:hover {
    color: #CC0000;
}

.detail-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* コンテンツ */
.detail-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* モックアップ + サイドバー */
.detail-main {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}

.detail-mockup {
    flex: 1;
    min-width: 0;
}

.detail-mockup img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.detail-sidebar {
    flex: 0 0 320px;
}

/* 概要 */
.detail-overview {
    margin-bottom: 24px;
}

.detail-overview-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.detail-overview-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-meta-item {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
}

.detail-meta-label {
    flex-shrink: 0;
    width: 80px;
    font-weight: 600;
    color: #333;
}

.detail-meta-value {
    color: #555;
}

.detail-meta-value a {
    color: #CC0000;
    text-decoration: none;
}

.detail-meta-value a:hover {
    text-decoration: underline;
}

/* 担当範囲（インライン） */
.detail-scope-inline {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.detail-scope-inline-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.detail-scope-inline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.scope-tag-sm {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.75rem;
    background: #f0f0f0;
    color: #555;
    border-radius: 3px;
}

/* セクション（課題・ポイント等） */
.detail-section {
    margin-bottom: 40px;
}

.detail-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1A3A5C;
    padding-bottom: 10px;
    border-bottom: 2px solid #1A3A5C;
    margin-bottom: 16px;
}

.detail-section-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.9;
}

/* 情報テーブル */
.detail-info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.detail-info-table th,
.detail-info-table td {
    padding: 10px 14px;
    font-size: 0.85rem;
    border-bottom: 1px solid #e5e5e5;
    text-align: left;
}

.detail-info-table th {
    width: 120px;
    font-weight: 600;
    color: #333;
    background: #f8f8f8;
}

.detail-info-table td {
    color: #555;
}

/* 関連実績 */
.related-section {
    background: #f8f9fa;
    padding: 50px 0;
}

.related-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.related-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 24px;
    text-align: center;
}

.related-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* スコープタグ */
.scope-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.8rem;
    background: #f0f0f0;
    color: #555;
    border-radius: 4px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .detail-title {
        font-size: 1.4rem;
    }

    .detail-main {
        flex-direction: column;
        gap: 24px;
    }

    .detail-sidebar {
        flex: none;
        width: 100%;
    }

    .detail-mockup img {
        max-width: 100%;
    }

    .related-cards {
        grid-template-columns: 1fr;
    }

    .detail-info-table th {
        width: 90px;
    }
}
