/**
 * MIRAIZ LP shared typography
 * - Pro (DL-CONSULTANT): Noto Sans JP + Roboto / navy #171C61 + gold #B39758
 * - Gen (一般向け): Klee One + Noto Sans JP / coral #EA6D51
 *
 * Themes: .lp-theme-pro / .lp-theme-gen
 */

:root {
    --lp-font-label: "Syne", sans-serif;
    --lp-font-display: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    --lp-font-body: "IBM Plex Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
    --lp-typo-accent: #e8963e;
    --lp-typo-title: #1a3a5c;
    --lp-typo-muted: #555555;
    /* 本文ベース ≈22.3px（1.5倍後から 約10%縮小） */
    --lp-body-size: 1.3921rem;
}

.lp-theme-pro {
    /* 専門家向け: DL-CONSULTANT / dl-consultant.jp 準拠 */
    --lp-font-label: "Roboto", "Syne", sans-serif;
    --lp-font-display: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
    --lp-font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
    --lp-typo-accent: #b39758;
    --lp-typo-title: #171c61;
    --lp-typo-label: #1e73be;
    --lp-typo-muted: #555555;
}

/* 一般向け: くらしと相続 / kurashi-souzoku.jp 準拠 */
.lp-theme-gen {
    --lp-font-display: "Klee One", "Hiragino Mincho ProN", "Yu Mincho", serif;
    --lp-font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
    --lp-typo-accent: #ea6d51;
    --lp-typo-title: #1d1d1d;
    --lp-typo-label: #ea6d51;
    --lp-typo-muted: #666666;
}

.lp-theme-pro,
.lp-theme-gen {
    font-family: var(--lp-font-body);
    font-size: var(--lp-body-size);
    line-height: 1.7;
}

/* ----- Section heading block ----- */
.lp-sec-head {
    text-align: center;
    margin-bottom: 1.8562rem;
}

.lp-sec-head--left {
    text-align: left;
}

.lp-sec-label {
    font-family: var(--lp-font-label);
    font-weight: 600;
    font-size: 1.0125rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--lp-typo-label, var(--lp-typo-accent));
    margin: 0 0 0.4387rem;
    line-height: 1.2;
}

.lp-sec-title {
    font-family: var(--lp-font-display);
    font-weight: 500;
    font-size: clamp(2.16rem, 4.8vw, 2.7675rem);
    letter-spacing: 0.05em;
    line-height: 1.4;
    color: var(--lp-typo-title);
    margin: 0;
}

.lp-sec-title--light {
    color: #ffffff;
}

.lp-sec-label--light {
    color: rgba(255, 255, 255, 0.65);
}

.lp-sec-head::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin: 0.7425rem auto 0;
    background: var(--lp-typo-accent);
    border-radius: 1px;
}

.lp-sec-head--left::after {
    margin-left: 0;
    margin-right: 0;
}

.lp-sec-head--no-bar::after {
    display: none;
}

.lp-sec-head--compact {
    margin-bottom: 1.0125rem;
}

.lp-sec-lead {
    font-family: var(--lp-font-body);
    font-size: 1.5188rem;
    color: var(--lp-typo-muted);
    margin: -0.8438rem auto 1.6875rem;
    max-width: 36em;
    text-align: center;
    line-height: 1.75;
}

/* ----- Hero typography ----- */
.lp-hero-title {
    font-family: var(--lp-font-display);
    font-weight: 600;
    font-size: clamp(2.5312rem, 6.3vw, 3.5438rem);
    letter-spacing: 0.03em;
    line-height: 1.35;
    margin-bottom: 0.675rem;
}

.lp-hero-lead {
    font-family: var(--lp-font-body);
    font-weight: 400;
    font-size: clamp(1.4513rem, 3.3vw, 1.7213rem);
    letter-spacing: 0.02em;
    line-height: 1.75;
    opacity: 0.92;
}

.lp-theme-pro .lp-hero-cta .lp-hero-title,
.lp-theme-pro .lp-hero-cta .lp-hero-lead {
    color: #fff;
}

.lp-theme-gen .gen-hero-cta .lp-hero-title {
    color: var(--lp-typo-title);
}

.lp-theme-gen .gen-hero-cta .lp-hero-lead {
    color: #444444;
    font-weight: 500;
}

.lp-theme-pro .lp-sec-title {
    font-weight: 700;
    letter-spacing: 0.03em;
}

.lp-theme-pro .lp-hero-title {
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* ----- Mission / dark section titles ----- */
.lp-mission-title {
    font-family: var(--lp-font-display);
    font-weight: 500;
    font-size: clamp(1.755rem, 4.2vw, 2.295rem);
    letter-spacing: 0.06em;
    line-height: 1.45;
    margin-bottom: 0.8438rem;
}

/* ----- Card / feature titles ----- */
.lp-theme-pro .lp-feature-card h5 {
    font-weight: 700;
    letter-spacing: 0.03em;
}

/* ----- Body copy / cards ----- */
.lp-theme-pro .card p,
.lp-theme-pro .card .text-muted,
.lp-theme-pro p.text-muted,
.lp-theme-gen .card p,
.lp-theme-gen .card .text-muted {
    font-size: 1.3921rem;
    line-height: 1.75;
}

.lp-theme-pro .card h5,
.lp-theme-pro .card h6,
.lp-theme-gen .card h5 {
    font-size: 1.5525rem;
}

.lp-theme-pro .lp-footer p,
.lp-theme-pro .lp-footer li,
.lp-theme-pro .lp-footer .small,
.lp-theme-gen .lp-footer p,
.lp-theme-gen .lp-footer li,
.lp-theme-gen .lp-footer .small {
    font-size: 1.215rem;
    line-height: 1.7;
}

.lp-theme-pro .lp-section-alt h6 {
    font-family: var(--lp-font-display);
    font-weight: 700;
    letter-spacing: 0.03em;
}


.lp-theme-gen .step-card h5,
.lp-theme-gen .recommend-card h5 {
    font-family: var(--lp-font-display);
    font-weight: 500;
    letter-spacing: 0.04em;
}
/* ----- Stats ----- */
.lp-theme-pro .lp-stat {
    font-family: var(--lp-font-label);
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* ----- Reveal motion ----- */
.lp-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.lp-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.lp-hero-animate .lp-hero-title {
    opacity: 0;
    letter-spacing: 0.12em;
    animation: lp-hero-in 0.9s ease forwards;
}

.lp-hero-animate .lp-hero-lead {
    opacity: 0;
    animation: lp-hero-in 0.9s ease 0.18s forwards;
}

@keyframes lp-hero-in {
    to {
        opacity: 1;
        letter-spacing: 0.04em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .lp-hero-animate .lp-hero-title,
    .lp-hero-animate .lp-hero-lead {
        opacity: 1;
        animation: none;
        letter-spacing: 0.04em;
    }
}

@media (max-width: 575.98px) {
    .lp-theme-pro,
    .lp-theme-gen {
        font-size: 1.1813rem;
    }

    .lp-sec-label {
        letter-spacing: 0.12em;
        font-size: 0.8438rem;
    }

    .lp-sec-title {
        letter-spacing: 0.03em;
        font-size: clamp(1.62rem, 8vw, 2.16rem);
    }

    .lp-hero-title {
        font-size: clamp(1.755rem, 9vw, 2.3625rem);
    }

    .lp-hero-lead {
        font-size: clamp(1.1475rem, 4.5vw, 1.4175rem);
    }
}
