/**
 * 事業内容ページ
 *
 * @package KinkiLoader
 */

/* ==========================================================================
   Hero Section
   ========================================================================== */
.service-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
}

.service-hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 600;
    letter-spacing: 0.08em;
    margin: 0 0 var(--spacing-md) 0;
}

.service-hero-subtitle {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: 400;
    letter-spacing: 0.12em;
    margin: 0;
}

/* ==========================================================================
   Introduction Section
   ========================================================================== */
.service-introduction {
    padding: var(--spacing-4xl) 0;
    background-color: #fff;
}

.introduction-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: var(--font-size-lg);
    line-height: 1.8;
}

.introduction-content p {
    margin: 0 0 var(--spacing-lg) 0;
}

.introduction-content p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Service Sections
   ========================================================================== */
.service-section {
    padding: var(--spacing-3xl) 0;
}

.service-crane {
    background-color: #f8f8f8;
}

.service-production {
    background-color: #fff;
}

.service-maintenance {
    background-color: #f8f8f8;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}


.service-image-container {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-base);
}

.service-image:hover {
    transform: scale(1.05);
}

.service-text-container {
    padding: var(--spacing-lg);
}

.service-section-title {
    font-size: var(--font-size-3xl);
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 var(--spacing-md) 0;
    letter-spacing: 0.06em;
}

.service-section-subtitle {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: #333;
    margin: 0 0 var(--spacing-lg) 0;
    letter-spacing: 0.04em;
}

.service-section-description {
    font-size: var(--font-size-base);
    line-height: 1.8;
    color: #333;
    margin: 0 0 var(--spacing-md) 0;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: var(--spacing-lg) 0;
}

.service-features li {
    position: relative;
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-base);
    line-height: 1.8;
    color: #333;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 600;
    font-size: var(--font-size-lg);
}

.service-highlight {
    background-color: rgba(74, 159, 216, 0.08);
    padding: var(--spacing-md);
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
    margin-top: 0;
}

.service-highlight p {
    font-size: var(--font-size-base);
    line-height: 1.8;
    color: #333;
    margin: 0 0 var(--spacing-sm) 0;
}

.service-highlight p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Mission Section
   ========================================================================== */
.service-mission {
    background: linear-gradient(135deg, #346B87 0%, #4A9FD8 100%);
    color: var(--color-white);
    padding: var(--spacing-4xl) 0;
}

.mission-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    margin-bottom: var(--spacing-md);
}

.mission-title {
    font-size: var(--font-size-3xl);
    font-weight: 600;
    margin: 0 0 var(--spacing-xl) 0;
    letter-spacing: 0.08em;
}

.mission-statement {
    font-size: var(--font-size-xl);
    font-weight: 500;
    line-height: 1.8;
    margin: 0;
    letter-spacing: 0.04em;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.service-cta {
    background-color: #fff;
    text-align: center;
    padding: var(--spacing-4xl) 0;
}

.cta-title {
    font-size: var(--font-size-3xl);
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 var(--spacing-md) 0;
    letter-spacing: 0.08em;
}

.cta-description {
    font-size: var(--font-size-lg);
    color: #666;
    margin: 0 0 var(--spacing-2xl) 0;
}

.btn-primary {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-3xl);
    background: linear-gradient(90deg, #4A9FD8 0%, #5BA5C8 100%);
    color: var(--color-white);
    font-size: var(--font-size-lg);
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all var(--transition-base);
    letter-spacing: 0.08em;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 159, 216, 0.4);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media screen and (max-width: 1199px) {
    .service-hero-title {
        font-size: var(--font-size-4xl);
    }

    .service-grid {
        grid-template-columns: 1fr;  /* タブレットでも1列表示 */
        gap: var(--spacing-2xl);
        align-items: start;
    }

    .service-image-container {
        position: relative;
        width: 100%;
    }

    .service-image {
        max-width: 100%;
        position: relative;
    }

    .service-text-container {
        padding: 0;
        position: relative;
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .service-hero {
        min-height: 300px;
    }

    .service-hero-title {
        font-size: var(--font-size-2xl);
    }

    .service-hero-subtitle {
        font-size: var(--font-size-lg);
    }

    .service-section {
        padding: var(--spacing-2xl) 0;
    }

    .introduction-content {
        font-size: var(--font-size-base);
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        align-items: start;
        display: grid;
    }

    .service-image-container {
        position: relative;
        width: 100%;
    }

    .service-image {
        max-width: 100%;
        position: relative;
    }

    .service-text-container {
        padding: 0;
        position: relative;
        width: 100%;
    }

    .service-section-title {
        font-size: var(--font-size-xl);
    }

    .service-section-subtitle {
        font-size: var(--font-size-lg);
    }

    .service-section-description {
        font-size: var(--font-size-sm);
    }

    .service-features li {
        font-size: var(--font-size-sm);
    }

    .service-highlight p {
        font-size: var(--font-size-sm);
    }

    .mission-title {
        font-size: var(--font-size-xl);
    }

    .mission-statement {
        font-size: var(--font-size-base);
    }

    .cta-title {
        font-size: var(--font-size-xl);
    }

    .cta-description {
        font-size: var(--font-size-base);
    }

    .btn-primary {
        font-size: var(--font-size-base);
        padding: var(--spacing-sm) var(--spacing-xl);
    }
}
