/* 施工事例ページ専用スタイル */

/* ページヒーロー - works.css (共通スタイルはstyle.cssで定義) */

/* ギャラリー */
.works-gallery {
    padding: 100px 0;
    background: var(--washi);
}

.works-intro {
    text-align: center;
    margin-bottom: 80px;
}

.works-intro p {
    font-size: 16px;
    line-height: 2;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--gray-dark);
}

/* ワークグリッド */
.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.work-card {
    background: white;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(26,95,122,0.15);
}

.work-image-main {
    position: relative;
    height: 400px;
    overflow: hidden;
}

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

.work-card:hover .work-image-main img {
    transform: scale(1.05);
}

.work-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 10px 22px;
    font-size: 13px;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.1em;
    z-index: 2;
    border-radius: 25px;
}

/* 詳細情報 */
.work-details {
    padding: 40px;
}

.work-details h3 {
    font-size: 22px;
    font-weight: 400;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
    color: var(--primary);
}

.work-info {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(45,74,43,0.1);
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dotted rgba(45,74,43,0.1);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 13px;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--gray-dark);
    font-weight: 400;
}

.info-value {
    font-size: 14px;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--black);
    font-weight: 400;
}

.work-description {
    font-size: 14px;
    line-height: 2;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--gray-dark);
}

/* 施工の流れ */
.work-process {
    padding: 100px 0;
    background: white;
}

.work-process .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.work-process .section-header h2 {
    font-size: 32px;
    font-weight: 300;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 20px;
}

.header-line {
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin: 0 auto;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.step-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(26,95,122,0.12);
}

.step-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    font-family: 'Noto Sans JP', sans-serif;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(26,95,122,0.3);
}

.step-content h3 {
    font-size: 22px;
    font-weight: 400;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
    color: var(--primary);
}

.step-content p {
    font-size: 14px;
    line-height: 1.8;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--gray-dark);
}

/* CTA */
.works-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    text-align: center;
    position: relative;
}

.works-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.works-cta .cta-content {
    position: relative;
    z-index: 1;
}

.works-cta .cta-content h3 {
    font-size: 32px;
    font-weight: 400;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.1em;
    color: white;
    margin-bottom: 20px;
}

.works-cta .cta-content p {
    font-size: 16px;
    line-height: 2;
    font-family: 'Noto Sans JP', sans-serif;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
}

.works-cta .btn-cta-primary {
    display: inline-block;
    padding: 18px 50px;
    background: white;
    color: var(--primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.08em;
    transition: all 0.4s ease;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.works-cta .btn-cta-primary:hover {
    background: var(--black);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* Archive & Single pages */
.works-archive {
    padding: 100px 0;
    background: var(--washi);
}

.works-single {
    padding: 100px 0;
    background: var(--washi);
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .works-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .work-image-main {
        height: 250px;
    }
    
    .work-details {
        padding: 30px 20px;
    }
    
    .work-details h3 {
        font-size: 18px;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .cta-content h3 {
        font-size: 24px;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px 20px;
    }
    
    .step-number {
        margin: 0 auto;
        width: 60px;
        height: 60px;
        font-size: 18px;
    }
    
    .step-content h3 {
        font-size: 18px;
    }
    
    .process-steps {
        gap: 40px;
    }
}