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

/* ページヒーロー */
.page-hero {
    margin-top: 80px;
    height: 400px;
    background: linear-gradient(135deg, #2d4a2b 0%, #4a7c59 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.05) 35px, rgba(255,255,255,.05) 70px);
    z-index: 1;
}

.page-hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

.page-title {
    font-size: 48px;
    font-weight: 300;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 16px;
    font-weight: 300;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

/* ギャラリー */
.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: 1px solid rgba(45,74,43,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.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: var(--primary);
    color: white;
    padding: 8px 20px;
    font-size: 13px;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.1em;
    z-index: 2;
}

/* 詳細情報 */
.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);
}

/* CTA */
.works-cta {
    padding: 100px 0;
    background: var(--primary);
    text-align: center;
}

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

.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;
}

.btn-cta-primary {
    display: inline-block;
    padding: 18px 60px;
    background: white;
    color: var(--primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn-cta-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
}

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

@media (max-width: 768px) {
    .page-hero {
        height: 300px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .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;
    }
}