/* ============================================================
   /service/ai-driven-lab-development — Page Styles
   ============================================================ */

:root {
    --teal: #10c59a;
    --ink: #333333;
    --bg-light: #f8f8f8;
    --bg-gray: #f2f2f2;
}

/* ── HERO ── */
/* Title: 9 Japanese chars — reduce from 72px to fit banner-info 536px */
.other-common-banner .hero-circle-text .text-ac {
    font-size: 52px;
    line-height: 62px;
}
/* Label above title */
.aldp-hero-label {
    color: var(--color-f8f8f8, #f8f8f8);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.05em;
    padding-top: 0 !important;
    margin-bottom: 8px;
}

/* ── SECTION COMMON ── */
.aldp-section { padding: 80px 0; }
.aldp-section-bg-gray { background: var(--bg-gray); }
.aldp-section-bg-white { background: #fff; }
.aldp-section-bg-light { background: var(--bg-light); }

.aldp-bg-label {
    font-size: 80px;
    font-weight: 900;
    color: rgba(0,0,0,0.04);
    line-height: 1;
    margin-bottom: -40px;
    letter-spacing: -0.02em;
    user-select: none;
}
.aldp-bg-label-white {
    color: rgba(255,255,255,0.07);
}
.aldp-section-title {
    color: var(--teal);
    font-size: 36px;
    font-weight: 700;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    margin-bottom: 32px;
}
.aldp-section-sub {
    color: var(--teal);
    font-size: 26px;
    font-weight: 700;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    line-height: 1.55;
    margin-bottom: 20px;
}

/* ── INTRO ── */
.aldp-intro-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
}
.aldp-intro-text {
    max-width: 620px;
}
.aldp-intro-text p {
    color: var(--ink);
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 16px;
}
.aldp-intro-text p:last-child {
    margin-bottom: 0;
}
.aldp-intro-cta {
    flex-shrink: 0;
}
.aldp-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap;
}
.aldp-cta-link .aldp-btn-text {
    border-bottom: 1px solid var(--color-10c59a, #10c59a);
}
.aldp-cta-link .cta-circle {
    width: 36px; height: 36px;
    background: var(--teal);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 13px;
    flex-shrink: 0;
}
.aldp-cta-link,
.aldp-cta-link:visited,
.aldp-cta-link:hover,
.aldp-cta-link:active {
    color: var(--ink);
    text-decoration: none;
}
.aldp-cta-link:hover { opacity: 0.7; }

/* ── PROBLEM CARDS ── */
.aldp-problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.aldp-problem-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 40px 28px 36px;
    text-align: center;
}
.aldp-problem-card img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin-bottom: 20px;
}
.aldp-problem-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 16px;
    line-height: 1.5;
}
.aldp-problem-card p {
    font-size: 14px;
    color: var(--ink);
    line-height: 1.8;
    text-align: left;
}

/* ── SOLUTION ── */
.aldp-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    column-gap: 60px;
    align-items: start;
    margin-top: 40px;
}
.aldp-solution-text {
    grid-column: 1; grid-row: 1;
    align-self: start;
}
.aldp-solution-visual {
    grid-column: 2; grid-row: 1 / 3;
    align-self: center;
}
.aldp-solution-cta {
    grid-column: 1; grid-row: 2;
    padding-top: 24px;
}
.aldp-solution-heading {
    font-size: 28px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.4;
    margin-bottom: 24px;
}
.aldp-solution-body {
    font-size: 16px;
    color: var(--ink);
    line-height: 1.9;
    margin-bottom: 0;
}
.aldp-solution-img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

/* ── STRENGTHS ── */
.aldp-strength-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    grid-template-rows: auto auto;
    gap: 0 24px;
    align-items: start;
    padding: 36px 0;
    border-bottom: 1px solid #e0e0e0;
}
.aldp-strength-item:first-child { border-top: 1px solid #e0e0e0; }
.aldp-strength-num {
    grid-column: 1; grid-row: 1;
    color: var(--teal);
    font-size: 22px;
    font-weight: 700;
    padding-top: 4px;
}
.aldp-strength-title {
    grid-column: 2; grid-row: 1;
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 14px;
    line-height: 1.4;
}
.aldp-strength-desc {
    grid-column: 2; grid-row: 2;
    font-size: 15px;
    color: var(--ink);
    line-height: 1.9;
}
.aldp-strength-img {
    grid-column: 3; grid-row: 1 / 3;
    align-self: center;
    width: 180px;
    height: 140px;
    object-fit: contain;
}

/* ── PROCESS ── */
.aldp-process-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 48px;
}
.aldp-process-card {
    background: var(--bg-gray);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    position: relative;
}
.aldp-process-card:not(:last-child)::after {
    content: '▶';
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--teal);
    font-size: 14px;
    z-index: 1;
}
.aldp-process-step {
    color: var(--teal);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}
.aldp-process-name {
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
}
.aldp-process-desc {
    color: var(--ink);
    font-size: 12px;
    line-height: 1.7;
    text-align: left;
}

/* ── CASES (works-area override) ── */
.aldp-works-area {
    background: var(--bg-gray);
    padding-top: 80px;
}
.aldp-works-area .aldp-bg-label { margin-bottom: -40px; }
.aldp-works-area .works-content { margin-top: 48px; }
.aldp-works-area .btn-box { display: flex; justify-content: center; }

/* ── FAQ ── */
/* Extra bottom padding to prevent .started-jounery-warp (-160px margin) from covering last items */
.aldp-section:last-of-type { padding-bottom: 240px; }
.aldp-faq-list { margin-top: 40px; }
.aldp-faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 16px 0;
}
.aldp-faq-item:first-child { border-top: 1px solid #e0e0e0; }
.aldp-faq-q {
    display: flex;
    gap: 24px;
    align-items: baseline;
    margin-bottom: 8px;
}
.aldp-faq-q .q-mark {
    color: var(--ink);
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
    width: 32px;
}
.aldp-faq-q .q-text {
    color: var(--ink);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}
.aldp-faq-a {
    padding-left: 56px;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.9;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .aldp-process-grid { grid-template-columns: repeat(3, 1fr); }
    .aldp-process-card:nth-child(3)::after { display: none; }
    .aldp-process-card:nth-child(6)::after { display: none; }
}

@media (max-width: 768px) {
    .other-common-banner .hero-circle-text .text-ac { font-size: 32px; line-height: 1.35; position: relative; }
    .other-common-banner .hero-circle-text h1 { font-size: 32px; line-height: 1.35; margin: 0; }
    .other-common-banner .hero-circle-text { padding-bottom: 12px; }
    .other-common-banner .banner-info > p:last-child { padding-top: 20px; }
    .aldp-bg-label { font-size: 40px; margin-bottom: -18px; margin-left: -16px; }
    .aldp-section-title { font-size: 26px; line-height: 1.4; }
    .aldp-section-sub   { line-height: 1.4; }
    .aldp-intro-row { flex-direction: column; align-items: flex-start; gap: 24px; }

    /* ① Problem cards — larger image */
    .aldp-problem-cards { grid-template-columns: 1fr; }
    .aldp-problem-card img { width: 180px; height: 180px; }

    /* ② Solution — heading size + reorder: text → image → button */
    .aldp-solution-heading { font-size: 24px; }
    .aldp-solution-grid {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    .aldp-solution-text   { order: 1; }
    .aldp-solution-visual { order: 2; }
    .aldp-solution-cta    { order: 3; padding-top: 0; }

    /* ③ Strength — num+title / image / desc */
    .aldp-strength-item {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto auto;
        column-gap: 12px;
    }
    .aldp-strength-num   { grid-column: 1; grid-row: 1; padding-top: 0; font-size: 17px; align-self: start; }
    .aldp-strength-title { grid-column: 2; grid-row: 1; font-size: 17px; margin-top: 0; align-self: start; }
    .aldp-strength-img {
        grid-column: 1 / -1; grid-row: 2;
        width: 100%;
        height: 220px;
        object-fit: contain;
        margin-top: 12px;
        align-self: auto;
    }
    .aldp-strength-desc {
        grid-column: 1 / -1; grid-row: 3;
        margin-top: 12px;
    }

    /* ④ Process — single column with downward triangle */
    .aldp-process-grid { grid-template-columns: 1fr; gap: 32px; }
    .aldp-process-card:not(:last-child)::after {
        display: block;
        content: '▼';
        right: auto;
        left: 50%;
        top: 100%;
        transform: translateX(-50%);
        margin-top: 9px;
        font-size: 14px;
    }

    .aldp-faq-q { gap: 8px; }
    .aldp-faq-q .q-mark { width: auto; }
    .aldp-faq-a { padding-left: 0; }

    /* CTA buttons — center on mobile */
    .aldp-intro-cta    { width: 100%; text-align: center; }
    .aldp-solution-cta { width: 100%; text-align: center; }
}
