/* K'works設備 - 施工事例ページスタイル */

@import url('philosophy.css');

/* イントロセクション */
.works-intro {
    padding: 3rem 0;
    background-color: var(--bg-white);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.intro-text {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-gray);
}

/* 施工事例ギャラリー */
.works-gallery {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.work-item {
    background-color: var(--bg-white);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.work-item:last-of-type {
    margin-bottom: 3rem;
}

.work-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.work-number {
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bg-white);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.work-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

.work-description {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}

.work-subtitle {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 2.5rem 0 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-color);
}

/* ビフォーアフター比較 */
.work-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.comparison-item {
    text-align: center;
}

.comparison-label {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 1rem;
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.comparison-label.before {
    background-color: #E8E8E8;
    color: var(--text-dark);
}

.comparison-label.after {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--bg-white);
}

.comparison-image {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    background-color: var(--bg-light);
}

.comparison-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comparison-text {
    font-size: 0.95rem;
    color: var(--text-gray);
}

.comparison-arrow {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
}

.comparison-arrow svg {
    width: 100%;
    height: 100%;
}

/* 汚れの実態セクション */
.work-evidence {
    background: linear-gradient(135deg, var(--bg-blue-light) 0%, var(--bg-light) 100%);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 2rem;
}

.evidence-content {
    max-width: 900px;
    margin: 0 auto;
}

.evidence-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1.5rem;
}

.evidence-description {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 2.5rem;
}

.evidence-image {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.evidence-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 1rem;
}

.evidence-caption {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-style: italic;
}

.evidence-note {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.evidence-note h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.evidence-note ul {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
}

.evidence-note li {
    padding: 0.8rem 0 0.8rem 2rem;
    position: relative;
    color: var(--text-gray);
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border-color);
}

.evidence-note li:last-child {
    border-bottom: none;
}

.evidence-note li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.evidence-cta-text {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    background: linear-gradient(135deg, var(--bg-blue-light), rgba(125, 200, 248, 0.3));
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

/* お客様の声セクション */
.testimonials-section {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition-default);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.testimonial-rating {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

/* CTAセクション */
.cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-white);
    text-align: center;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border-radius: 50px;
    transition: var(--transition-default);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--bg-white);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
    .work-comparison {
        grid-template-columns: 1fr;
    }

    .comparison-arrow {
        transform: rotate(90deg);
        margin: 1rem auto;
    }

    .intro-title {
        font-size: 1.7rem;
    }

    .work-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .work-item {
        padding: 2rem 1.5rem;
    }

    .work-header {
        flex-direction: column;
        text-align: center;
    }

    .work-number {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .work-title {
        font-size: 1.3rem;
    }

    .work-evidence {
        padding: 2rem 1.5rem;
    }

    .evidence-note {
        padding: 2rem 1.5rem;
    }

    .evidence-title {
        font-size: 1.6rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .intro-title {
        font-size: 1.5rem;
    }

    .work-item {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }

    .evidence-note li {
        font-size: 0.95rem;
        padding-left: 1.5rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }
}
