/* ========================================
   サービス詳細ページ専用スタイル
======================================== */

/* ページヘッダー */
.page-header {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(232, 169, 42, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.breadcrumb {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    opacity: 0.9;
}

.breadcrumb a {
    transition: var(--transition);
}

.breadcrumb a:hover {
    opacity: 0.7;
}

.breadcrumb i {
    font-size: 12px;
}

.page-title {
    position: relative;
    z-index: 2;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-subtitle {
    position: relative;
    z-index: 2;
    font-size: 18px;
    font-weight: 300;
    opacity: 0.9;
    max-width: 700px;
}

/* サービス概要 */
.service-overview {
    padding: var(--section-padding);
    background: white;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-image {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.overview-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: rgba(255, 255, 255, 0.2);
}

.overview-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 2;
}

/* よくある課題 */
.challenges {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.challenge-item {
    background: white;
    padding: 35px;
    border-radius: 15px;
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.challenge-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.challenge-icon {
    width: 60px;
    height: 60px;
    background: rgba(232, 169, 42, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.challenge-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
}

.challenge-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

/* サービスの強み */
.service-strengths {
    padding: var(--section-padding);
    background: white;
}

.strengths-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.strength-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
    transition: var(--transition);
}

.strength-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.strength-number {
    font-size: 72px;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
}

.strength-content {
    display: flex;
    gap: 25px;
}

.strength-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.strength-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.strength-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 2;
}

/* サービス詳細 */
.service-details {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.detail-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.detail-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.detail-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.detail-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* 事例紹介 */
.case-examples {
    padding: var(--section-padding);
    background: white;
}

.cases-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.case-example {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
    align-items: center;
}

.case-example:nth-child(even) {
    direction: rtl;
}

.case-example:nth-child(even) > * {
    direction: ltr;
}

.case-example-image {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.case-example-tag {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.case-example-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.4;
}

.case-example-info {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
}

.case-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 15px;
    color: var(--text-color);
    font-weight: 500;
}

.case-example-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 2;
}

/* FAQ */
.faq-section {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-q {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.faq-icon {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    display: grid;
    grid-template-columns: 50px 1fr;
    align-items: start;
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 500px;
}

.faq-a {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 2;
}

/* サービスCTA */
.service-cta {
    padding: 80px 0;
    background: white;
}

/* レスポンシブ */
@media (max-width: 992px) {
    .page-title {
        font-size: 36px;
    }
    
    .overview-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .challenges-grid {
        grid-template-columns: 1fr;
    }
    
    .strength-item {
        grid-template-columns: 80px 1fr;
        gap: 30px;
        padding: 30px;
    }
    
    .strength-number {
        font-size: 56px;
    }
    
    .strength-content {
        flex-direction: column;
    }
    
    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-example {
        grid-template-columns: 1fr;
    }
    
    .case-example:nth-child(even) {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 140px 0 80px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    .overview-image {
        height: 300px;
    }
    
    .strength-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .strength-number {
        font-size: 48px;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .case-example-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .faq-question {
        grid-template-columns: 40px 1fr 40px;
        padding: 20px;
    }
    
    .faq-q,
    .faq-a {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .faq-answer {
        grid-template-columns: 40px 1fr;
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 24px;
    }
    
    .challenge-item {
        padding: 25px;
    }
}
