/* ========================================
   GO FORWARD - Services Page Styles
   ======================================== */

:root {
    --c-border: rgba(255, 255, 255, 0.15);
}

/* Page Header */
.page-header {
    padding-top: 200px;
    padding-bottom: 100px;
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.ph-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}
.ph-lead {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    max-width: 900px;
}
.ph-sub {
    color: var(--c-text-muted);
    font-size: 1rem;
    max-width: 700px;
    line-height: 1.9;
}

/* ========================================
   Services Sections
   ======================================== */
.services-section {
    padding: 120px 0;
    border-top: 1px solid var(--c-border);
}

/* Anchor link offset for fixed header */
.service-item[id] {
    scroll-margin-top: 100px;
}

.section-header {
    margin-bottom: 60px;
}

.section-header .st-en {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--c-text-muted);
    margin-bottom: 1rem;
}

.section-header .st-jp {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.4;
}

/* ========================================
   Introduction Section
   ======================================== */
.intro-content {
    max-width: 100%;
    margin-bottom: 4rem;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--c-text-muted);
    margin-bottom: 1.5rem;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.intro-image {
    width: 100%;
}

.intro-image .placeholder-image {
    aspect-ratio: 21 / 9;
}

/* ========================================
   Placeholder Image
   ======================================== */
.placeholder-image {
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    aspect-ratio: 16 / 10;
    display: none; /* 一時的に非表示 */
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

/* Service Image も一時的に非表示 */
.service-image {
    display: none;
}

.intro-image {
    display: none;
}

/* ========================================
   Service List Section (Guide-style layout)
   ======================================== */
.service-list {
    display: flex;
    flex-direction: column;
}

.service-item {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    padding: 60px 0;
    border-bottom: 1px solid var(--c-border);
}

.service-item:first-child {
    border-top: 1px solid var(--c-border);
}

/* Left column */
.service-left {
    /* Left side content */
}

.service-num {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--c-accent);
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.service-title-en {
    font-size: 0.9rem;
    color: var(--c-text-muted);
    font-weight: 500;
    display: block;
    margin-top: 0.5rem;
}

/* Right column */
.service-right {
    /* Right content area */
}

.service-lead {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-desc {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--c-text-muted);
    margin-bottom: 2.5rem;
}

/* Service boxes (対応範囲 / 課題解決) */
.service-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-box {
    background: rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
}

.service-box-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-text-muted);
    margin-bottom: 1rem;
}

.service-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-box li {
    font-size: 0.95rem;
    color: var(--c-text-muted);
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* 対応範囲: ドットアイコン */
.service-box:first-child li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--c-accent);
    border-radius: 50%;
}

/* 課題解決: チェックアイコン */
.service-box:last-child li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--c-accent);
    border-bottom: 2px solid var(--c-accent);
    transform: rotate(-45deg);
}

.service-box li:last-child {
    margin-bottom: 0;
}

/* Service image */
.service-image {
    margin-top: 2rem;
}

.service-image img {
    width: 100%;
    height: auto;
}

/* ========================================
   Product Showcase Cards (Service 06)
   ======================================== */
.service-products-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.product-showcase-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--c-border);
    overflow: hidden;
    transition: all 0.4s ease;
}

.product-showcase-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
}

.product-showcase-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.product-showcase-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-showcase-card:hover .product-showcase-img img {
    transform: scale(1.05);
}

.product-showcase-content {
    padding: 1.5rem;
}

.product-showcase-content .product-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.product-showcase-content .product-sub {
    display: block;
    font-size: 0.9rem;
    color: var(--c-text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-showcase-content .product-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-accent);
    transition: opacity 0.3s ease;
}

.product-showcase-card:hover .product-link {
    opacity: 0.8;
}

/* ========================================
   Other Services (Service 10)
   ======================================== */
.other-services-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.other-service-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border: 1px solid var(--c-border);
}

.other-service-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
}

.other-service-item p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--c-text-muted);
    margin: 0;
}

/* ========================================
   Platforms Section
   ======================================== */
.platforms-intro {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--c-text-muted);
    margin-bottom: 4rem;
    max-width: 800px;
}

.platform-category {
    margin-bottom: 3rem;
}

.platform-category:last-child {
    margin-bottom: 0;
}

.platform-category-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-text-muted);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.platform-list {
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-text);
    line-height: 1.8;
}

.platform-logo {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.platform-logo-placeholder {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .service-item {
        grid-template-columns: 220px 1fr;
        gap: 40px;
    }

    .service-products-showcase {
        grid-template-columns: 1fr;
    }

    .service-boxes {
        grid-template-columns: 1fr;
    }

    .service-products {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .intro-content {
        margin-bottom: 2.5rem;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 40px 0;
    }

    .service-left {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.75rem;
    }

    .service-num {
        margin-bottom: 0;
    }

    .service-title {
        font-size: 1.4rem;
        width: 100%;
    }

    .service-title-en {
        width: 100%;
        margin-top: 0.25rem;
    }

    .service-desc {
        margin-bottom: 2rem;
    }

    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .platform-grid {
        grid-template-columns: 1fr;
    }
}
