/* LIRI Services overview — visual language aligned with translation LP */

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height, 84px) + 24px);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.services-overview-page {
    background: var(--color-bg, #f4f8f5);
}

.services-overview {
    --so-bg: #f4f8f5;
    --so-paper: #fffdf8;
    --so-ink: #26312b;
    --so-text: #434343;
    --so-sub: #66726c;
    --so-green: #007b43;
    --so-deep: #005e32;
    --so-line: #dce6e0;
    --so-soft: #e2eee7;
    box-sizing: border-box;
    width: min(calc(100% - 40px), 760px);
    margin: 0 auto;
    padding: 28px 0 72px;
    color: var(--so-ink);
    font-family: "Hiragino Sans", "Yu Gothic", Meiryo, "Noto Sans JP", system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.85;
    background:
        radial-gradient(ellipse 80% 30% at 8% 0%, #dceee4a0, transparent 55%),
        transparent;
}

.services-overview *,
.services-overview *::before,
.services-overview *::after {
    box-sizing: border-box;
}

.services-overview a {
    color: var(--so-deep);
}

.services-overview :focus-visible {
    outline: 3px solid #be8b10;
    outline-offset: 4px;
}

.services-overview .so-eyebrow {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--so-deep);
}

.services-overview h1,
.services-overview h2,
.services-overview h3,
.services-overview h4 {
    color: var(--so-deep);
}

.services-overview h1 {
    margin: 0 0 20px;
    font-size: clamp(27px, 4.8vw, 37px);
    line-height: 1.5;
    letter-spacing: -0.03em;
}

.services-overview h2 {
    margin: 0 0 16px;
    font-size: clamp(23px, 3.5vw, 28px);
    line-height: 1.5;
    letter-spacing: -0.02em;
}

.services-overview h3 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.65;
}

.services-overview h4 {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.6;
}

.services-overview p {
    margin: 0 0 16px;
    color: var(--so-text);
}

.services-overview .so-lead {
    font-size: 16px;
    line-height: 1.95;
}

.services-overview .so-small {
    font-size: 12px;
    line-height: 1.8;
    color: var(--so-sub);
}

.so-hero {
    padding-bottom: 8px;
}

.so-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 8px;
}

.so-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 21px;
    border: 1px solid var(--so-green);
    border-radius: 28px;
    background: transparent;
    color: var(--so-deep);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.so-btn:hover {
    filter: brightness(0.94);
}

.services-overview a.so-btn--primary {
    background: var(--so-green);
    color: #fff;
}

.so-guide,
.so-section {
    margin-top: 0;
    padding: 28px 0 8px;
    border-top: 1px solid var(--so-line);
}

.so-guide h2 {
    font-size: 23px;
}

.so-toc {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.so-toc__tile {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-height: 102px;
    padding: 18px 13px;
    border: 1px solid var(--so-line);
    border-radius: 10px;
    background: var(--so-paper);
    text-decoration: none;
    color: inherit;
    transition:
        transform 0.2s,
        border-color 0.2s,
        box-shadow 0.2s;
}

.so-toc__tile:hover {
    transform: translateY(-3px);
    border-color: var(--so-green);
    box-shadow: 0 8px 20px #005e320b;
}

.so-toc__tile strong {
    display: block;
    font-size: 13px;
    line-height: 1.6;
    color: var(--so-deep);
}

.so-toc__tile small {
    display: block;
    margin-top: 5px;
    font-size: 10px;
    line-height: 1.6;
    color: var(--so-sub);
}

.so-toc__arrow {
    position: absolute;
    right: 11px;
    bottom: 8px;
    font-size: 13px;
    color: var(--so-deep);
}

.so-concepts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 28px 0 8px;
    padding: 0;
    list-style: none;
}

.so-concepts > li {
    padding: 18px 14px;
    background: var(--so-paper);
    border-top: 3px solid var(--so-green);
    border-radius: 0 0 8px 8px;
}

.so-concepts__num {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 700;
    color: var(--so-green);
}

.so-concepts h3 {
    font-size: 15px;
}

.so-concepts p {
    margin: 0;
    font-size: 12px;
    line-height: 1.75;
    color: var(--so-sub);
}

.so-values {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}

.so-values > li {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 14px;
    padding: 19px 0;
    border-top: 1px solid var(--so-line);
}

.so-values > li:last-child {
    border-bottom: 1px solid var(--so-line);
}

.so-values__num {
    padding-top: 4px;
    font-size: 13px;
    font-weight: 700;
    color: var(--so-green);
}

.so-values p {
    margin: 0;
    font-size: 14px;
}

.so-products {
    display: grid;
    gap: 18px;
    margin: 28px 0 8px;
    padding: 0;
    list-style: none;
}

.so-product {
    padding: 24px 20px;
    border: 1px solid var(--so-line);
    border-radius: 12px;
    background: var(--so-paper);
}

.so-product__name {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--so-deep);
}

.so-product__category {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--so-green);
}

.so-product__audience,
.so-product__users {
    margin: 0 0 6px;
    font-size: 12px;
    color: var(--so-sub);
}

.so-product__users {
    margin-bottom: 16px;
}

.so-product h3 {
    margin: 0 0 12px;
    font-size: clamp(18px, 3vw, 22px);
    line-height: 1.55;
}

.so-product__benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 18px 0 20px;
}

.so-product__benefits > div {
    padding: 14px 14px 12px;
    border-radius: 8px;
    background: var(--so-soft);
}

.so-product__benefits p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
}

.so-product__cta {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.so-product__cta:hover {
    text-decoration: underline;
}

.so-audiences {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 24px 0 8px;
}

.so-audience {
    padding: 24px 20px;
    border: 1px solid var(--so-line);
    border-radius: 12px;
    background: var(--so-paper);
}

.so-audience h3 {
    margin-bottom: 12px;
    font-size: 17px;
}

.so-audience p {
    font-size: 14px;
}

.so-audience__links {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.so-audience__links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.so-audience__links a:hover {
    text-decoration: underline;
}

@media (max-width: 720px) {
    .services-overview {
        width: min(calc(100% - 36px), 760px);
        padding: 20px 0 56px;
    }

    .so-actions .so-btn {
        width: 100%;
    }

    .so-concepts,
    .so-product__benefits,
    .so-audiences {
        grid-template-columns: 1fr;
    }

    .so-concepts > li {
        border-top: 0;
        border-left: 3px solid var(--so-green);
        border-radius: 0 8px 8px 0;
    }

    .services-overview h1 br {
        display: none;
    }
}

@media (max-width: 540px) {
    .so-toc {
        grid-template-columns: 1fr;
    }

    .so-toc__tile {
        min-height: 88px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .so-toc__tile {
        transition: none;
    }

    .so-toc__tile:hover {
        transform: none;
    }
}
