/* ============================================
   サービスページ専用CSS（白黒ベース・モダンデザイン）
   ============================================ */

/* リセット */
.service-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ヒーローセクション */
.service-hero {
    background: #fff;
    color: #000;
    padding: 100px 20px 80px;
    text-align: center;
}

.service-hero__inner {
    max-width: 800px;
    margin: 0 auto;
}

.service-hero__label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    color: #000;
    margin-bottom: 20px;
    opacity: 0.6;
}

.service-hero__title {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 2px;
    color: #000;
}

.service-hero__subtitle {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    color: #000;
    opacity: 0.8;
}

/* 3つの事業アイコンセクション */
.service-overview {
    padding: 80px 20px;
    background: #fff;
}

.service-overview__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.service-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.service-icon-item {
    text-align: center;
}

.service-icon-box {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-icon-item:hover .service-icon-box {
    background: #fff;
    border: 2px solid #000;
    transform: translateY(-10px);
}

.service-icon-item:hover .service-icon-svg {
    color: #000;
}

.service-icon-svg {
    width: 60px;
    height: 60px;
    color: #fff;
}

.service-icon-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.service-icon-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* サービス詳細セクション */
.service-details {
    background: #f5f5f5;
}

.service-detail-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
    background: #fff;
    margin-bottom: 2px;
}

/* 左右反転（偶数番目） */
.service-detail-section--reverse {
    direction: rtl;
}

.service-detail-section--reverse > * {
    direction: ltr;
}

/* 画像エリア */
.service-detail-image {
    position: relative;
    overflow: hidden;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.service-detail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.service-detail-title {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.service-detail-subtitle {
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 2px;
}

/* コンテンツエリア */
.service-detail-content {
    display: flex;
    align-items: center;
    padding: 80px 60px;
    background: #fff;
}

.service-detail-content__inner {
    max-width: 500px;
}

.service-detail-number {
    font-size: 80px;
    font-weight: 900;
    color: #f0f0f0;
    line-height: 1;
    margin-bottom: -20px;
}

.service-detail-heading {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #000;
}

.service-detail-text {
    font-size: 15px;
    line-height: 1.9;
    color: #333;
    margin-bottom: 30px;
}

.service-detail-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.service-detail-list li {
    font-size: 14px;
    color: #333;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.service-detail-list li:before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #000;
    font-weight: 900;
}

.service-detail-button {
    display: inline-block;
    padding: 15px 40px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: 2px solid #000;
}

.service-detail-button:hover {
    background: #fff;
    color: #000;
}

/* CTAセクション */
.service-cta {
    background: #000;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
}

.service-cta__inner {
    max-width: 800px;
    margin: 0 auto;
}

.service-cta__title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 20px;
}

.service-cta__text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

.service-cta__button {
    display: inline-block;
    padding: 20px 60px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.service-cta__button:hover {
    background: transparent;
    color: #fff;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .service-detail-section {
        grid-template-columns: 1fr;
    }
    
    .service-detail-section--reverse {
        direction: ltr;
    }
    
    .service-detail-image {
        min-height: 400px;
    }
    
    .service-detail-content {
        padding: 60px 50px;
        justify-content: center;
        text-align: center;
    }
    
    .service-detail-content__inner {
        margin: 0 auto;
        max-width: 700px;
    }
    
    .service-detail-list {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .service-hero__title {
        font-size: 36px;
    }
    
    .service-icons {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .service-icon-box {
        width: 100px;
        height: 100px;
    }
    
    .service-icon-svg {
        width: 50px;
        height: 50px;
    }
    
    .service-detail-title {
        font-size: 36px;
    }
    
    .service-detail-image {
        min-height: 300px;
    }
    
    .service-detail-content {
        padding: 40px 30px;
    }
    
    .service-detail-number {
        font-size: 60px;
    }
    
    .service-detail-heading {
        font-size: 26px;
    }
    
    .service-cta__title {
        font-size: 32px;
    }
    
    .service-cta__button {
        padding: 18px 50px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .service-hero {
        padding: 60px 20px 50px;
    }
    
    .service-hero__title {
        font-size: 28px;
    }
    
    .service-hero__subtitle {
        font-size: 14px;
    }
    
    .service-overview {
        padding: 60px 20px;
    }
    
    .service-detail-content {
        padding: 40px 20px;
    }
    
    .service-cta {
        padding: 60px 20px;
    }
}
