/* ==========================================================================
   Single Works Page Styles
   ========================================================================== */

/* パンくずナビゲーション */
.breadcrumb-section {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    font-size: 14px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: ">";
    margin-left: 8px;
    color: #6c757d;
    white-space: nowrap;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #0056b3;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.breadcrumb-item i {
    margin-right: 4px;
}

/* メインコンテンツ */
.works-main-content {
    padding: 40px 0 60px;
}

/* ページヘッダー */
.works-header {
    margin-bottom: 40px;
    text-align: left;
}

.works-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 16px;
    line-height: 1.3;
}

.works-categories {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.works-category-tag {
    background: #e74c3c;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* 詳細情報と画像セクション */
.works-details-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: start;
}

.works-info h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0 0 24px;
    font-weight: 600;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 8px;
}

.details-list {
    margin: 0;
}

.detail-item {
    display: flex;
    margin-bottom: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
}

.detail-item dt {
    font-weight: 600;
    color: #495057;
    min-width: 100px;
    margin-right: 20px;
}

.detail-item dd {
    color: #2c3e50;
    margin: 0;
    flex: 1;
}

/* 製品画像 */
.works-image {
    position: relative;
}

.works-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.no-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 60px 20px;
    text-align: center;
    color: #6c757d;
}

.no-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 12px;
    color: #adb5bd;
}

.no-image-placeholder p {
    margin: 0;
    font-size: 14px;
}

/* 加工内容・特徴 */
.works-content {
    margin-bottom: 50px;
}

.works-content h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0 0 24px;
    font-weight: 600;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 8px;
}

.content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #495057;
}

.content-text p {
    margin-bottom: 20px;
}

/* CTAセクション */
.works-cta {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-bottom: 50px;
}

.works-cta h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin: 0 0 16px;
    font-weight: 600;
}

.works-cta p {
    color: #6c757d;
    margin: 0 0 30px;
    line-height: 1.6;
}

/* CTAセクションを統一デザインに合わせる */
.works-cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.works-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.works-cta .container {
    position: relative;
    z-index: 2;
}

.works-cta h3 {
    color: white;
    margin-bottom: 16px;
}

.works-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

/* 関連実績 */
.related-works {
    background: #f8f9fa;
    padding: 60px 0;
}

.related-works .section-title {
    font-size: 1.8rem;
    color: #2c3e50;
    text-align: center;
    margin: 0 0 40px;
    font-weight: 600;
}

.related-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-work-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.related-work-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.related-work-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-work-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.related-work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-work-item:hover .related-work-image img {
    transform: scale(1.05);
}

.related-work-image .no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    color: #adb5bd;
    font-size: 2rem;
}

.related-work-content {
    padding: 20px;
}

.related-work-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px;
    line-height: 1.4;
}

.work-material {
    color: #6c757d;
    font-size: 14px;
    margin: 0 0 8px;
}

.work-date {
    color: #e74c3c;
    font-size: 13px;
    font-weight: 500;
}

/* ナビゲーション */
.works-navigation {
    background: white;
    border-top: 1px solid #e9ecef;
    padding: 30px 0;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.nav-list {
    background: #e74c3c !important;
}

.nav-list:hover {
    background: #c82333 !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .works-details-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .works-title {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 12px;
    }
    
    .nav-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .related-works-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .breadcrumb-list {
        flex-wrap: wrap;
    }
    
    .works-main-content {
        padding: 30px 0 40px;
    }
    
    .works-cta {
        padding: 30px 20px;
    }
    
    .works-info h2,
    .works-content h2 {
        font-size: 1.3rem;
    }
} 
