/* K'works設備 - 事業内容ページスタイル */

@import url('philosophy.css');

.services {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.service-detail {
    margin-bottom: 5rem;
    padding-bottom: 4rem;
    border-bottom: 2px solid var(--border-color);
}

.service-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.service-detail-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.service-detail-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    background-color: var(--bg-light);
    padding: 0.5rem 2rem;
    border-radius: 50px;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.service-detail-image {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.service-detail-description {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.service-detail-subtitle {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-color);
}

.service-detail-list {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-detail-list li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.service-detail-types {
    margin-top: 2rem;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 15px;
}

.price-list {
    list-style: none;
    margin: 0;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.price-list li:last-child {
    border-bottom: none;
}

.price-item {
    font-size: 1.05rem;
    color: var(--text-dark);
}

.price-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.service-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: 8px;
}

/* 作業の流れ */
.flow {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.flow-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.flow-step {
    flex: 1;
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: var(--bg-white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-default);
}

.flow-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.15);
}

.flow-step-number {
    font-family: var(--font-en);
    font-size: 1rem;
    font-weight: 600;
    color: var(--bg-white);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1rem;
}

.flow-step-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.flow-step-text {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.flow-step-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .service-detail-content {
        grid-template-columns: 1fr;
    }

    .service-detail-title {
        font-size: 1.8rem;
    }

    .flow-steps {
        flex-direction: column;
    }

    .flow-step-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .service-detail-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-detail-price {
        font-size: 1.5rem;
    }
}
