@charset "utf-8";

:root {
    --er-red: #d63b2f;
    --er-red-deep: #8e1f17;
    --er-red-bright: #ff5b50;
    --er-navy: #0a1430;
    --er-navy-soft: #14213d;
    --er-amber: #ffb454;
    --er-text-dim: #aab4cc;
}

.er_page {
    background: #f5f7fb;
    color: #2a3a55;
}

/* ============ HERO ============ */
.er_hero {
    position: relative;
    padding: 200px 20px 110px;
    text-align: left;
    color: #fff;
    background:
        radial-gradient(ellipse at 80% 18%, rgba(214, 59, 47, 0.32), transparent 50%),
        radial-gradient(ellipse at 12% 78%, rgba(214, 59, 47, 0.18), transparent 45%),
        linear-gradient(180deg, var(--er-navy) 0%, var(--er-navy-soft) 100%);
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.er_hero_grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 1;
}

.er_hero_content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}

.er_badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border: 1px solid rgba(214, 59, 47, 0.6);
    border-radius: 999px;
    background: rgba(214, 59, 47, 0.12);
    margin-bottom: 28px;
}

.er_badge_text {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    color: var(--er-red-bright);
    text-transform: uppercase;
}

.er_pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--er-red-bright);
    box-shadow: 0 0 0 0 rgba(255, 91, 80, 0.7);
    animation: erPulse 1.6s infinite;
    flex-shrink: 0;
}

@keyframes erPulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 91, 80, 0.7); }
    70%  { box-shadow: 0 0 0 12px rgba(255, 91, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 91, 80, 0); }
}

.er_hero h1 {
    font-size: clamp(3.2rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: 0;
    max-width: 900px;
}

.er_hero_sub {
    font-size: 2rem;
    font-weight: 600;
    color: var(--er-amber);
    margin-bottom: 24px;
    letter-spacing: 0;
    max-width: 760px;
}

.er_hero_lead {
    font-size: 1.6rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.85);
    max-width: 820px;
    margin: 0;
    letter-spacing: 0;
}

/* ============ KPI strip ============ */
.er_kpi_strip {
    background: var(--er-navy);
    border-top: 1px solid rgba(255, 91, 80, 0.18);
    padding: 0;
}

.er_kpi_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1180px;
    margin: 0 auto;
}

.er_kpi {
    padding: 40px 24px;
    text-align: center;
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.er_kpi:last-child {
    border-right: none;
}

.er_kpi_value {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 3.6rem;
    font-weight: 800;
    color: var(--er-amber);
    line-height: 1.05;
    margin-bottom: 8px;
    letter-spacing: 0;
}

.er_kpi_label {
    font-size: 1.3rem;
    letter-spacing: 0.16em;
    color: var(--er-text-dim);
    text-transform: uppercase;
    font-weight: 600;
}

/* ============ Section headings ============ */
.er_section_heading {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--er-navy);
    text-align: center;
    margin-bottom: 14px;
    letter-spacing: 0;
    position: relative;
}

.er_section_heading::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 16px auto 0;
    background: var(--er-red);
    border-radius: 2px;
}

.er_section_lead {
    font-size: 1.6rem;
    line-height: 1.85;
    color: #4a5670;
    max-width: 780px;
    margin: 0 auto 50px;
    text-align: center;
}

.er_section_heading_inverse {
    color: #fff;
}

.er_section_lead_inverse {
    color: rgba(255, 255, 255, 0.78);
}

/* ============ Explainer ============ */
.er_explainer {
    padding: 90px 20px 70px;
    background: #fff;
}

.er_explainer .explainer_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.er_explainer_card {
    background: #fff;
    border: 1px solid #e6eaf2;
    border-radius: 14px;
    padding: 36px 32px;
    position: relative;
    box-shadow: 0 8px 24px rgba(15, 29, 74, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-left: 4px solid var(--er-red);
}

.er_explainer_card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(15, 29, 74, 0.1);
}

.er_explainer_card .explainer_num {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(214, 59, 47, 0.1);
    color: var(--er-red);
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    padding: 4px 12px;
    border-radius: 999px;
}

.er_explainer_card h2 {
    font-size: 2.2rem;
    color: var(--er-navy);
    margin-bottom: 16px;
    padding-right: 60px;
    line-height: 1.4;
    font-weight: 800;
}

.er_explainer_card p {
    font-size: 1.5rem;
    line-height: 1.85;
    color: #4a5670;
}

/* ============ Diagram section ============ */
.er_diagram_section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #fff 0%, #eef1f7 100%);
}

.er_diagram_wrap {
    max-width: 1080px;
    margin: 0 auto;
    background: #fff;
    border-radius: 18px;
    padding: 44px 28px;
    box-shadow: 0 14px 50px rgba(15, 29, 74, 0.08);
    border: 1px solid #e6eaf2;
}

.er_diagram {
    width: 100%;
    height: auto;
    display: block;
}

/* ============ Timeline (unique to ER) ============ */
.er_timeline {
    padding: 100px 20px 110px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(214, 59, 47, 0.18), transparent 50%),
        linear-gradient(180deg, var(--er-navy) 0%, var(--er-navy-soft) 100%);
    position: relative;
    color: #fff;
}

.er_timeline_track {
    list-style: none;
    padding: 0;
    margin: 30px auto 0;
    max-width: 1080px;
    position: relative;
    counter-reset: er-timeline;
}

.er_timeline_track::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(180deg, var(--er-red-bright) 0%, var(--er-red-deep) 100%);
    border-radius: 2px;
}

.er_timeline_item {
    position: relative;
    padding-left: 64px;
    margin-bottom: 28px;
}

.er_timeline_item:last-child {
    margin-bottom: 0;
}

.er_timeline_dot {
    position: absolute;
    left: 12px;
    top: 8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--er-red);
    border: 4px solid var(--er-navy);
    box-shadow: 0 0 0 2px rgba(255, 91, 80, 0.4);
}

.er_timeline_label {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--er-amber);
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.er_timeline_body {
    font-size: 1.55rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

/* ============ Capabilities ============ */
.er_caps {
    padding: 100px 20px;
    background: #fff;
}

.er_caps_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    max-width: 1180px;
    margin: 40px auto 0;
    border: 1px solid #e6eaf2;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

.er_cap_card {
    padding: 32px 28px;
    border-right: 1px solid #e6eaf2;
    border-bottom: 1px solid #e6eaf2;
    transition: background 0.25s ease;
    position: relative;
}

.er_cap_card:hover {
    background: linear-gradient(180deg, rgba(214, 59, 47, 0.04), transparent);
}

.er_cap_num {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--er-red);
    margin-bottom: 14px;
}

.er_cap_card h3 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--er-navy);
    margin-bottom: 12px;
    line-height: 1.4;
}

.er_cap_card p {
    font-size: 1.45rem;
    line-height: 1.8;
    color: #4a5670;
}

/* ============ Examples ============ */
.er_examples {
    padding: 90px 20px;
    background: linear-gradient(180deg, #f5f7fb 0%, #eef1f7 100%);
}

.er_examples_list {
    max-width: 900px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.er_example_row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #fff;
    border-left: 3px solid var(--er-red);
    padding: 22px 26px;
    border-radius: 0 10px 10px 0;
    font-size: 1.5rem;
    line-height: 1.8;
    color: #2a3a55;
    box-shadow: 0 4px 14px rgba(15, 29, 74, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.er_example_row:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(15, 29, 74, 0.08);
}

.er_example_marker {
    color: var(--er-red);
    font-weight: 800;
    font-size: 1.7rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 4px;
}

.er_example_row p {
    margin: 0;
}

/* ============ CTA ============ */
.er_cta {
    padding: 100px 20px 120px;
    background: linear-gradient(135deg, var(--er-red-deep) 0%, var(--er-red) 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.er_cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.18), transparent 50%),
        radial-gradient(circle at 70% 100%, rgba(255, 180, 84, 0.18), transparent 50%);
}

.er_cta > div {
    position: relative;
    z-index: 2;
}

.er_cta h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 36px;
    color: #fff;
}

.er_cta .view_all_btn {
    background: #fff;
    color: var(--er-red-deep);
    border: 2px solid #fff;
    padding: 16px 48px;
    font-size: 1.7rem;
    font-weight: 800;
    border-radius: 999px;
    transition: all 0.3s ease;
    letter-spacing: 0;
}

.er_cta .view_all_btn:hover {
    background: transparent;
    color: #fff;
}

.er_cta .cta_buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.er_cta .back_link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 1.4rem;
}

.er_cta .back_link:hover {
    color: var(--er-amber);
}

@media (max-width: 880px) {
    .er_hero {
        padding: 150px 20px 80px;
    }

    .er_hero h1 {
        font-size: 2.6rem;
    }

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

    .er_kpi {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .er_kpi_value {
        font-size: 2.6rem;
    }

    .er_section_heading {
        font-size: 2.2rem;
    }

    .er_explainer .explainer_grid {
        grid-template-columns: 1fr;
    }
}
