/* ============ results page ============ */

/* 比較表 運用欄の必要/不要 表記 */
.rs-need {
    color: #9AA0A6;
    font-weight: 700;
    font-size: 13px;
}

.rs-free {
    color: #19BE8B;
    font-weight: 700;
    font-size: 13px;
}

/* keep width math predictable for all results blocks */
[class^="rs-"],
[class*=" rs-"] {
    box-sizing: border-box;
}

/* header */
.header-img {
    background: linear-gradient(120deg, #FFF3EC 0%, #FFE0CC 42%, #CCEFFF 100%);
    background-size: cover;
    min-height: 440px;
    max-height: 480px;
    overflow-y: hidden;
    align-content: center;
}

.rs-top {
    margin-top: 120px;
    margin-bottom: 80px;
    padding: 0 4%;
}

.rs-top-card {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 1px 4px 10px #00000033;
    text-align: center;
    padding: 48px 28px;
    backdrop-filter: blur(20px);
    background: linear-gradient(75.83deg, rgba(255, 255, 255, 0.45) 1.96%, rgba(255, 255, 255, 0.88) 98.04%);
}

.rs-top-h {
    font-weight: 700;
    font-size: 44px;
    line-height: 62px;
    color: #333;
    margin-bottom: 16px;
}

.rs-top-h span {
    color: #E75500;
}

/* section heading helper */
.rs-lead {
    color: #666;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.rs-lead span {
    font-weight: 500;
    color: #E75500;
}

/* KPI cards */
.rs-kpi {
    gap: 24px;
    width: 100%;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.rs-kpi-card {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    padding: 36px 20px 32px;
    text-align: center;
}

.rs-kpi-label {
    color: #00A0E8;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 4px;
}

.rs-kpi-num {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-size: 64px;
    line-height: 1.1;
    color: #E75500;
    text-shadow: 2px 4px 10px #E7550021;
}

.rs-kpi-num small {
    font-size: 28px;
    font-weight: 700;
}

.rs-kpi-desc {
    color: #666;
    font-size: 14px;
    line-height: 22px;
    margin-top: 14px;
}

.rs-kpi-desc span {
    font-weight: 500;
    color: #333;
}

/* overview list */
.rs-info {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    text-align: start;
    padding: 8px 40px 16px;
}

.rs-info-row {
    display: flex;
    align-items: baseline;
    border-bottom: 1px solid #E6E6E6;
    padding: 16px 4px;
    gap: 16px;
}

.rs-info-row dt {
    width: 180px;
    flex-shrink: 0;
    color: #E75500;
    font-weight: 700;
}

.rs-info-row dd {
    margin: 0;
    flex: 1;
    color: #333;
}

/* before / after */
.rs-ba {
    gap: 24px;
    width: 100%;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.rs-ba-card {
    flex: 1;
    min-width: 260px;
    max-width: 460px;
    padding: 32px 28px;
    text-align: center;
}

.rs-ba-card.is-after {
    border: 2px solid #E75500;
    background: linear-gradient(137deg, #FFF7F2 30%, #FFFFFFCC 90%);
}

.rs-ba-tag {
    display: inline-block;
    border-radius: 20px;
    padding: 4px 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.rs-ba-card .rs-ba-tag {
    background: #EFEFEF;
    color: #666;
}

.rs-ba-card.is-after .rs-ba-tag {
    background: #E75500;
    color: #fff;
}

.rs-ba-time {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-size: 52px;
    line-height: 1.1;
    color: #333;
}

.rs-ba-card.is-after .rs-ba-time {
    color: #E75500;
}

.rs-ba-time small {
    font-size: 22px;
    font-weight: 700;
}

.rs-ba-unit {
    color: #666;
    font-size: 14px;
    margin-top: 8px;
}

.rs-ba-miss {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed #D9D9D9;
    color: #333;
    font-weight: 500;
}

.rs-ba-miss span {
    color: #E75500;
    font-weight: 700;
}

.rs-arrow {
    align-self: center;
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-size: 40px;
    color: #E75500;
}

/* skill table */
.rs-skill {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.rs-skill-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 32px;
}

.rs-skill-row:nth-child(odd) {
    background: #F1F9FE;
    border-radius: 16px;
}

.rs-skill-label {
    flex: 1;
    text-align: start;
    color: #333;
    font-weight: 500;
}

.rs-skill-time {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-size: 32px;
    color: #00A0E8;
    white-space: nowrap;
}

.rs-skill-row.is-best .rs-skill-time {
    color: #E75500;
}

.rs-skill-row.is-best .rs-skill-label {
    font-weight: 700;
}

/* operation flow (5 steps) */
.rs-flow {
    gap: 16px;
    width: 100%;
}

.rs-flow-card {
    flex: 1;
    min-width: 150px;
    max-width: 220px;
    padding: 24px 16px;
    text-align: center;
    position: relative;
}

.rs-flow-no {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-size: 28px;
    color: #E75500;
    line-height: 1;
    margin-bottom: 10px;
}

.rs-flow-h {
    font-weight: 700;
    font-size: 17px;
    color: #333;
    margin-bottom: 8px;
}

.rs-flow-desc {
    color: #666;
    font-size: 13px;
    line-height: 20px;
}

.rs-flow-arrow {
    align-self: center;
    color: #F3A06E;
    font-weight: 900;
    font-size: 22px;
}

.rs-note {
    width: 100%;
    max-width: 920px;
    margin: 24px auto 0;
    padding: 24px 28px;
    border-radius: 16px;
    background: #F4FAFE;
    text-align: start;
}

.rs-note p {
    color: #333;
    font-size: 14px;
    line-height: 24px;
}

.rs-note span {
    font-weight: 700;
    color: #E75500;
}

/* efficiency bar chart */
.rs-bar {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    text-align: start;
}

.rs-bar-row {
    margin-bottom: 28px;
}

.rs-bar-name {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.rs-bar-track {
    width: 100%;
    background: #EEF1F4;
    border-radius: 8px;
    height: 44px;
    overflow: hidden;
}

.rs-bar-fill {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 16px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    border-radius: 8px;
}

.rs-bar-fill.is-base {
    background: #B9C0C8;
}

.rs-bar-fill.is-mid {
    background: #19BE8B;
}

.rs-bar-fill.is-best {
    background: #E75500;
}

/* comparison table */
.rs-compare-wrap {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
}

.rs-compare {
    border-collapse: separate;
    border-spacing: 0;
    margin: 0 auto;
    min-width: 760px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0px 6px 20px #00000022;
}

.rs-compare th,
.rs-compare td {
    border-bottom: 1px solid #ECECEC;
    border-right: 1px solid #ECECEC;
    padding: 14px 10px;
    text-align: center;
    vertical-align: middle;
    font-size: 14px;
}

.rs-compare .rs-cat,
.rs-compare .rs-item {
    background: #F4FAFE;
    color: #333;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

.rs-compare .rs-cat {
    width: 44px;
    font-weight: 700;
    color: #00A0E8;
    writing-mode: vertical-rl;
}

.rs-compare thead th {
    background: #8A9099;
    color: #fff;
    font-weight: 700;
    border-right: 1px solid #FFFFFF55;
}

.rs-compare thead th.rs-sub {
    background: #EDEFF1;
    color: #555;
    font-weight: 500;
    font-size: 13px;
}

.rs-compare thead th.rs-hacos {
    background: #E75500;
}

.rs-compare thead th.rs-hacos.rs-sub {
    background: #F3A06E;
    color: #fff;
}

.rs-compare .rs-hacos-col {
    background: #FFF3EC;
}

.rs-compare .rs-corner {
    background: #8A9099;
}

.rs-ok {
    color: #19BE8B;
    font-size: 20px;
    font-weight: 700;
}

.rs-no {
    color: #F5A623;
    font-size: 18px;
    font-weight: 700;
}

.rs-legend {
    color: #666;
    font-size: 13px;
    line-height: 22px;
    margin-top: 16px;
    text-align: center;
}

.rs-legend b {
    color: #333;
}

/* CTA */
.rs-cta {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 48px 32px;
    border-radius: 20px;
    background: linear-gradient(120deg, #FFF3EC 0%, #FFE0CC 50%, #CCEFFF 100%);
    box-shadow: 0px 6px 20px #00000022;
}

.rs-cta-h {
    font-weight: 700;
    font-size: 28px;
    line-height: 42px;
    color: #333;
    margin-bottom: 8px;
}

.rs-cta-mail {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #E75500;
    margin-top: 12px;
}

/* desktop */
@media (min-width: 992px) {
    .mo {
        display: none;
    }
}

/* mobile */
@media (max-width: 991px) {
    .de {
        display: none;
    }

    .header-img {
        min-height: 300px;
        max-height: 340px;
    }

    .rs-top {
        margin-top: 90px;
        margin-bottom: 50px;
    }

    .rs-top-card {
        padding: 28px 18px;
    }

    .rs-top-h {
        font-size: 26px;
        line-height: 40px;
    }

    .rs-kpi-card {
        max-width: 100%;
    }

    .rs-kpi-num {
        font-size: 56px;
    }

    .rs-info {
        padding: 4px 8px 12px;
    }

    .rs-info-row {
        flex-direction: column;
        gap: 4px;
    }

    .rs-info-row dt {
        width: auto;
    }

    .rs-arrow {
        transform: rotate(90deg);
    }

    .rs-ba-card {
        max-width: 100%;
    }

    .rs-cta-h {
        font-size: 22px;
        line-height: 34px;
    }

    .rs-flow-card {
        max-width: 100%;
    }

    .rs-flow-arrow {
        transform: rotate(90deg);
    }

    .rs-bar-fill {
        font-size: 12px;
        padding-right: 8px;
    }
}
