/* 診断結果ページ専用 */
 .result-page,.result-page * {
    box-sizing: border-box;
}

.result-page [hidden] {
    display: none!important;
}

/* .result-page{min-height:100vh;padding:28px 20px 90px;background:#f4f9fd;color:#103554;font-family:'Noto Sans JP',sans-serif;line-height:1.7} */
 .result-page {
    min-height: 100vh;
    padding: 28px 20px 0;
    background: #e8f3fb;
    color: #103554;
    font-family: 'Noto Sans JP',sans-serif;
    line-height: 1.7;
}

.result-page__container {
    max-width: 850px;
    margin: auto;
}

.result-page__back {
    color: #426783;
    text-decoration: none;
    font-size: 14px;
}

.result-page__back:hover {
    text-decoration: underline;
}

.result-page__header {
    text-align: center;
    margin: 42px 0 30px;
}

.result-page__eyebrow {
    color: #1677d2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    margin: 0 0 8px;
}

.result-page__header h1 {
    font-size: clamp(26px,4vw,38px);
    line-height: 1.4;
    margin: 0 0 10px;
}

.result-page__header>p:last-child {
    margin: 0;
    color: #526d84;
    font-size: 15px;
}

/* .result-card{background:#fff;border-radius:18px;padding:35px 40px;margin:0 0 22px;box-shadow:0 10px 30px rgba(14,57,91,.07)} */
 .result-card {
    background: #fff;
    border: 2px solid #7dabd6;
    border-radius: 18px;
    padding: 35px 40px;
    margin: 0 0 22px;
    box-shadow: none;
}

.result-card__heading {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid #e6f0f8;
    padding-bottom: 15px;
    margin-bottom: 22px;
}

.result-card__number {
    display: grid;
    place-items: center;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1677d2;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.result-card__heading h2 {
    margin: 0;
    font-size: clamp(19px,3vw,24px);
    line-height: 1.4;
}

.result-card__intro {
    margin: 0 0 20px;
    color: #526d84;
    text-align: center;
    font-size: 15px;
}

.result-answers {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1.3fr);
    gap: 10px 16px;
    margin: 0;
}

.result-answers dt,.result-answers dd {
    margin: 0;
    padding: 9px 0;
    border-bottom: 1px solid #e8f0f6;
    font-size: 15px;
}

.result-answers dt {
    color: #607d95;
}

.result-answers dd {
    font-weight: 700;
}

.result-subsidies {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 15px;
}

.result-subsidy {
    border: 1px solid #dce9f4;
    border-radius: 12px;
    text-align: center;
    padding: 22px 15px;
    min-width: 0;
}

.result-subsidy__icon,.result-simulation__icon {
    font-size: 31px;
    line-height: 1;
    color: #1677d2;
}

.result-subsidy:first-child .result-subsidy__icon,.result-simulation__item:first-child .result-simulation__icon {
    color: #e9a400;
}

/* ========================================
   補助金カード：SVG画像アイコン
======================================== */
 .result-subsidy__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.result-subsidy__icon img {
    display: block;
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.result-subsidy h3 {
    font-size: 18px;
    margin: 9px 0 10px;
}

.result-subsidy>p {
    margin: 5px 0;
    color: #526d84;
    font-size: 13px;
}

.result-subsidy .result-subsidy__rate {
    color: #e3342f;
    font-size: 29px;
    font-weight: 800;
    line-height: 1.4;
    margin: 4px 0 14px;
}

.result-subsidy__rate span {
    font-size: 14px;
}

.result-subsidy .result-subsidy__rate--small {
    font-size: 24px;
    margin-bottom: 0;
}

.result-addition {
    display: flex;
    gap: 14px;
    align-items: center;
    background: #eaf5ff;
    border-radius: 10px;
    padding: 15px 18px;
    margin-top: 15px;
    font-size: 14px;
}

.result-addition>strong {
    white-space: nowrap;
}

.result-addition span strong {
    color: #e3342f;
}

.result-notice {
    color: #6b8091;
    font-size: 12px;
    line-height: 1.9;
    margin: 16px 0 0;
}

.result-simulation {
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-simulation__item {
    border: 1px solid #dce9f4;
    border-radius: 12px;
    padding: 23px 10px;
    text-align: center;
    flex: 1;
    min-width: 0;
}

.result-simulation__item h3 {
    margin: 8px 0;
    font-size: 18px;
}

.result-simulation__item h3 span {
    display: block;
    font-size: 15px;
}

.result-simulation__item>p {
    margin: 7px 0;
    font-size: 14px;
}

.result-simulation__item .result-simulation__amount {
    color: #e3342f;
    font-weight: 700;
}

.result-simulation__amount strong {
    font-size: clamp(24px,4vw,34px);
}

.result-simulation__plus {
    font-size: 26px;
    font-weight: 800;
    color: #1677d2;
}

.result-total {
    margin: 24px auto 0;
    max-width: 390px;
    background: #fff4dc;
    border-radius: 12px;
    padding: 18px 22px;
    text-align: center;
}

.result-total span {
    display: block;
    font-size: 15px;
    font-weight: 700;
}

.result-total strong {
    display: block;
    font-size: clamp(29px,5vw,42px);
    line-height: 1.4;
    color: #e3342f;
}

.result-table-scroll {
    overflow-x: auto;
}

.result-table {
    border-collapse: separate;
    border-spacing: 5px;
    width: 100%;
    min-width: 430px;
    text-align: center;
}

.result-table caption {
    caption-side: bottom;
    color: #6b8091;
    font-size: 11px;
    text-align: left;
    margin-top: 10px;
}

.result-table th,.result-table td {
    padding: 16px 8px;
    border-radius: 6px;
    background: #f2f8fc;
    font-size: 14px;
}

.result-table thead th {
    background: #e4f2fb;
    font-weight: 800;
}

.result-table tbody th {
    font-weight: 700;
}

.result-table__final th,.result-table__final td {
    background: #fff4dc;
    font-weight: 800;
}

.result-table__final td {
    color: #e3342f;
    font-size: 23px;
}

.result-conclusion {
    margin-top: 22px;
    background: #e4f5fd;
    border-radius: 10px;
    text-align: center;
    padding: 18px 12px;
    font-size: 17px;
    font-weight: 700;
}

.result-conclusion strong {
    color: #168450;
}

/* .result-page__footer{text-align:center;margin:36px 0}.result-page__footer a{display:inline-block;background:#f66a22;color:#fff;text-decoration:none;font-weight:800;border-radius:50px;padding:17px 36px} */
 .result-page__footer {
    text-align: center;
    margin: 12px 0;
}

.result-page__footer a {
    display: inline-block;
    background: #f66a22;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    border-radius: 50px;
    padding: 9px 36px;
}

/* @media(max-width:767px){.result-page{padding:20px 14px 60px}.result-page__header{margin:30px 0 24px}.result-card{padding:23px 17px;border-radius:14px;margin-bottom:15px}.result-card__heading{gap:8px}.result-card__number{width:30px;height:30px}.result-subsidies{gap:8px}.result-subsidy{padding:16px 7px}.result-subsidy h3{font-size:15px}.result-subsidy .result-subsidy__rate{font-size:23px}.result-subsidy__rate span{font-size:12px}.result-addition{display:block;text-align:center}.result-addition span{display:block}.result-simulation{gap:5px}.result-simulation__item{padding:16px 5px}.result-simulation__item h3{font-size:15px}.result-simulation__item>p{font-size:12px}.result-simulation__amount strong{font-size:23px}.result-simulation__plus{font-size:20px}.result-answers{grid-template-columns:1fr}.result-answers dt{border:0;padding-bottom:0}.result-answers dd{padding-top:0}.result-conclusion{font-size:15px}} */
 @media(max-width:767px) {
    .result-page {
        padding: 20px 14px 0;
    }
    .result-page__header {
        margin: 30px 0 24px;
    }
    .result-card {
        padding: 23px 17px;
        border-radius: 14px;
        margin-bottom: 15px;
    }
    .result-card__heading {
        gap: 8px;
    }
    .result-card__number {
        width: 30px;
        height: 30px;
    }
    .result-subsidies {
        gap: 8px;
    }
    .result-subsidy {
        padding: 16px 7px;
    }
    .result-subsidy h3 {
        font-size: 15px;
    }
    .result-subsidy .result-subsidy__rate {
        font-size: 23px;
    }
    .result-subsidy__rate span {
        font-size: 12px;
    }
    .result-addition {
        display: block;
        text-align: center;
    }
    .result-addition span {
        display: block;
    }
    .result-simulation {
        gap: 5px;
    }
    .result-simulation__item {
        padding: 16px 5px;
    }
    .result-simulation__item h3 {
        font-size: 15px;
    }
    .result-simulation__item>p {
        font-size: 12px;
    }
    .result-simulation__amount strong {
        font-size: 23px;
    }
    .result-simulation__plus {
        font-size: 20px;
    }
    .result-answers {
        grid-template-columns: 1fr;
    }
    .result-answers dt {
        border: 0;
        padding-bottom: 0;
    }
    .result-answers dd {
        padding-top: 0;
    }
    .result-conclusion {
        font-size: 15px;
    }
}

/* ========================================
   区市町村独自の補助金案内
======================================== */
 .result-local-subsidy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 18px 0 12px;
    padding: 14px 16px;
    background: #e8f7e9;
    border-radius: 8px;
}

.result-local-subsidy__badge {
    flex-shrink: 0;
    padding: 5px 10px;
    background: #35a853;
    border-radius: 5px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.result-local-subsidy p {
    margin: 0;
    color: #244b39;
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
}

.result-local-subsidy strong {
    color: #168445;
    font-weight: 800;
}

/* スマートフォン */
 @media screen and (max-width: 767px) {
    .result-local-subsidy {
        gap: 8px;
        padding: 12px 10px;
    }
    .result-local-subsidy__badge {
        padding: 4px 7px;
        font-size: 10px;
    }
    .result-local-subsidy p {
        font-size: 11px;
        line-height: 1.6;
    }
}

/* ========================================
   東京都外：電話相談のご案内
======================================== */

/* セクション全体 */
 .result-outside {
    overflow: hidden;
    padding: 42px 32px 38px;
    background: #fff;
    text-align: center;
    border: 3px solid #B7DECB;
    border-radius: 18px;
}

/* ========================================
   01. 上部案内帯
======================================== */
 .result-outside__label {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 13px 20px;
    box-sizing: border-box;
    border-radius: 10px;
    background: #e6f4ff;
    color: #1677d2;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
    letter-spacing: .03em;
}

/* ========================================
   02. メインタイトル
======================================== */
 .result-outside__title {
    margin: 28px 0 24px;
    color: #103554;
    font-size: clamp(25px, 3.8vw, 34px);
    font-weight: 800;
    line-height: 1.6;
    letter-spacing: -.035em;
}

.result-outside__title span {
    position: relative;
    z-index: 0;
    display: inline-block;
    color: #0ba465;
    font-size: 1.12em;
}

/* 黄色の下線 */
 .result-outside__title span::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 5%;
    right: 5%;
    bottom: 3px;
    height: 7px;
    border-radius: 10px;
    background: #ffdc70;
    opacity: .8;
}

/* ========================================
   03. 説明文
======================================== */
 .result-outside__hero {
    display: block;
    max-width: 600px;
    margin: 20px auto 36px;
    text-align: center;
}

.result-outside__description {
    color: #526d84;
    font-size: 15px;
    line-height: 2;
    text-align: center;
}

.result-outside__description p {
    margin: 0 0 18px;
}

.result-outside__description p:last-child {
    margin-bottom: 0;
}

.result-outside__description strong {
    color: #103554;
    font-weight: 800;
}

/* ========================================
   04. 電話相談CTA
======================================== */
 .result-outside__button {
    display: block;
    width: 100%;
    max-width: 650px;
    min-height: 0;
    margin: 0 auto;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-decoration: none;
    line-height: 0;
    transition:         transform .2s ease,         filter .2s ease;
}

/* ボタン画像 */
 .result-outside__button-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ホバー */
 .result-outside__button:hover {
    transform: translateY(-3px);
    background: transparent;
    box-shadow: none;
    filter: brightness(1.05);
}

/* キーボード操作 */
 .result-outside__button:focus-visible {
    outline: 3px solid #1677d2;
    outline-offset: 4px;
}

/* ========================================
   05. 受付時間
======================================== */
 .result-outside__note {
    margin: 12px 0 0;
    color: #71869a;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

/* ========================================
   スマートフォン：767px以下
======================================== */
 @media screen and (max-width: 767px) {
    /* セクション全体 */
     .result-outside {
        padding: 30px 15px 28px;
        border-radius: 16px;
    }
    /* 上部案内帯 */
     .result-outside__label {
        padding: 12px 10px;
        border-radius: 8px;
        font-size: 14px;
    }
    /* メインタイトル */
     .result-outside__title {
        margin: 25px 0 22px;
        font-size: clamp(21px, 6.2vw, 28px);
        line-height: 1.65;
    }
    .result-outside__title span {
        font-size: 1.1em;
    }
    .result-outside__title span::after {
        height: 6px;
        bottom: 2px;
    }
    /* 説明文 */
     .result-outside__hero {
        margin: 12px auto 28px;
    }
    .result-outside__description {
        font-size: 13px;
        line-height: 1.9;
    }
    .result-outside__description p {
        margin-bottom: 16px;
    }
    /* 電話相談ボタン */
     .result-outside__button {
        width: 100%;
        max-width: 100%;
        min-height: 0;
        margin: 0 auto;
        padding: 0;
    }
    .result-outside__button-image {
        display: block;
        width: 100%;
        height: auto;
    }
    /* 受付時間 */
     .result-outside__note {
        margin-top: 10px;
        font-size: 11px;
    }
}

/* ========================================
   診断結果：非表示設定
======================================== */
 .result-page [hidden], #result-tokyo-bottom[hidden] {
    display: none !important;
}

/* ========================================
   03 補助金シミュレーション
======================================== */
 .result-model {
    position: relative;
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    padding: 100px 20px 140px;
    background-color: #dceeff;
    background-image:         linear-gradient(             90deg,             rgba(220,238,255,.98) 0%,             rgba(220,238,255,.95) 45%,             rgba(220,238,255,.65) 100%         ),         url("../img/result-simulation-bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #092849;
    clip-path: polygon(         0 0,         100% 0,         100% 88%,         50% 100%,         0 88%     );
    box-sizing: border-box;
}

.result-model *, .result-model *::before, .result-model *::after {
    box-sizing: border-box;
}

.result-model__inner {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    align-items: start;
    gap: 35px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* 左側 */
 .result-model__eyebrow {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 0 30px;
    color: #006ac5;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .25em;
}

.result-model__eyebrow span {
    width: 38px;
    height: 2px;
    background: #006ac5;
}

.result-model__title {
    margin: 0 0 35px;
    font-size: clamp(25px, 2.5vw, 35px);
    font-weight: 800;
    white-space: nowrap;
}

.result-model__title span {
    color: #0865bd;
}

.result-model__lead {
    margin: 0 0 30px;
    font-size: 19px;
    line-height: 2;
}

.result-model__description {
    margin: 0;
    font-size: 17px;
    line-height: 2;
}

/* 金額カード */
 .result-model__cards {
    display: flex;
    align-items: center;
    gap: 12px;
}

.result-model__card {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 240px;
    padding: 25px 12px;
    border: 1px solid #c9e1ff;
    border-radius: 16px;
    background: rgba(255,255,255,.95);
    text-align: center;
}

.result-model__card h3 {
    margin: 0 0 30px;
    font-size: 19px;
    font-weight: 800;
    white-space: nowrap;
}

.result-model__amount {
    margin: 0;
    color: #ef2630;
    font-size: 19px;
    font-weight: 800;
    white-space: nowrap;
}

.result-model__amount strong {
    font-size: clamp(32px, 3vw, 50px);
}

.result-model__formula {
    margin: 20px 0 0;
    color: #59728e;
    font-size: 17px;
    font-weight: 700;
}

.result-model__operator {
    flex-shrink: 0;
    color: #0762b6;
    font-size: 35px;
    font-weight: 800;
}

/* 合計カード */
 .result-model__card--total {
    border: 2px solid #ffb843;
    background: #fff4df;
}

.result-model__card--total h3 {
    padding: 12px 20px;
    margin: 0 0 20px;
    border-radius: 40px;
    background: #ff781e;
    color: #fff;
    font-size: 16px;
}

.result-model__card--total .result-model__formula {
    color: #aa763a;
}

/* 注意書き */
 .result-model__notice {
    margin: 25px 0 40px;
    text-align: center;
    font-size: 13px;
    line-height: 1.8;
}

/* CTA */
 .result-model__cta {
    text-align: center;
}

.result-model__cta > p {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 800;
}

.result-model__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
    max-width: 620px;
    min-height: 75px;
    margin: 0 auto;
    padding: 10px 22px;
    border-radius: 60px;
    background: linear-gradient(100deg, #ff394c, #ff801a);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 25px rgba(240,80,50,.15);
}

.result-model__button:hover {
    color: #fff;
    opacity: .95;
}

.result-model__free {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    color: #f24839;
    font-size: 15px;
}

.result-model__arrow {
    margin-left: auto;
    font-size: 30px;
}

/* タブレット */
 @media screen and (max-width: 1100px) {
    .result-model__inner {
        grid-template-columns: 1fr;
        gap: 35px;
        max-width: 850px;
    }
    .result-model__title {
        white-space: normal;
    }
}

/* スマートフォン */
 @media screen and (max-width: 767px) {
    .result-model {
        padding: 65px 16px 110px;
        clip-path: polygon(             0 0,             100% 0,             100% 94%,             50% 100%,             0 94%         );
    }
    .result-model__eyebrow {
        margin-bottom: 20px;
        font-size: 12px;
    }
    .result-model__title {
        margin-bottom: 20px;
        font-size: 27px;
    }
    .result-model__lead {
        margin-bottom: 15px;
        font-size: 16px;
    }
    .result-model__description {
        font-size: 14px;
    }
    .result-model__cards {
        gap: 5px;
    }
    .result-model__card {
        min-height: 165px;
        padding: 15px 4px;
        border-radius: 10px;
    }
    .result-model__card h3 {
        margin-bottom: 15px;
        font-size: 11px;
        white-space: normal;
    }
    .result-model__amount {
        font-size: 11px;
    }
    .result-model__amount strong {
        font-size: 25px;
    }
    .result-model__formula {
        margin-top: 15px;
        font-size: 10px;
    }
    .result-model__operator {
        font-size: 20px;
    }
    .result-model__card--total h3 {
        padding: 7px 5px;
        font-size: 10px;
    }
    .result-model__notice {
        margin: 20px 0 30px;
        font-size: 11px;
    }
    .result-model__cta > p {
        font-size: 17px;
    }
    .result-model__button {
        gap: 10px;
        min-height: 65px;
        padding: 10px 12px;
        font-size: 12px;
    }
    .result-model__free {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }
}

/* ========================================
   04 施工会社の比較
======================================== */
 .result-compare {
    position: relative;
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    padding: 85px 20px 100px;
    background: linear-gradient(         180deg,         #ffffff 0%,         #ffffff 58%,         #edf8ff 100%     );
    color: #092849;
    box-sizing: border-box;
}

.result-compare *, .result-compare *::before, .result-compare *::after {
    box-sizing: border-box;
}

.result-compare__inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* 上部 */
 .result-compare__hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
    min-height: 330px;
    margin-bottom: 35px;
}

.result-compare__hero-text {
    position: relative;
    z-index: 1;
}

.result-compare__badge {
    position: relative;
    display: inline-block;
    padding: 10px 30px;
    margin-bottom: 32px;
    border-radius: 40px;
    background: #ffe577;
    color: #092849;
    font-size: 17px;
    font-weight: 800;
    transform: rotate(-4deg);
}

.result-compare__badge::after {
    content: "";
    position: absolute;
    right: 28px;
    bottom: -10px;
    border-top: 15px solid #ffe577;
    border-left: 12px solid transparent;
}

.result-compare__title {
    margin: 0;
    font-size: clamp(32px, 3.5vw, 49px);
    font-weight: 900;
    line-height: 1.75;
    letter-spacing: -.04em;
}

.result-compare__title span {
    background: linear-gradient(         transparent 82%,         #ffe577 82%     );
}

.result-compare__lead {
    margin: 32px 0 0;
    font-size: clamp(17px, 1.7vw, 24px);
    font-weight: 800;
    line-height: 2;
}

.result-compare__lead strong {
    color: #ef3e35;
}

.result-compare__visual img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* 3社比較カード */
 .result-compare__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding-top: 15px;
}

.result-compare__card {
    position: relative;
    min-width: 0;
    overflow: visible;
    border: 2px solid #a1d8ff;
    border-radius: 15px;
    background: #fff;
    text-align: center;
    box-shadow: 0 12px 24px rgba(16, 53, 84, .04);
}

.result-compare__card-head {
    margin: -2px -2px 0;
    padding: 17px 10px;
    border-radius: 13px 13px 0 0;
    background: linear-gradient(110deg, #10588f, #2b93d3);
    color: #fff;
    font-size: 24px;
    font-weight: 800;
}

.result-compare__price, .result-compare__subsidy, .result-compare__total {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.result-compare__price {
    min-height: 130px;
    padding: 18px 10px;
}

.result-compare__subsidy {
    min-height: 105px;
    margin: 0 20px;
    padding: 15px 5px;
    border-top: 1px solid #e0eaf1;
}

.result-compare__price span, .result-compare__subsidy span, .result-compare__total span {
    font-size: 13px;
    font-weight: 700;
}

.result-compare__price strong {
    margin-top: 10px;
    font-size: 32px;
    line-height: 1.3;
}

.result-compare__subsidy strong {
    margin-top: 10px;
    font-size: 25px;
}

.result-compare__price small, .result-compare__total small {
    font-size: 15px;
}

.result-compare__total {
    min-height: 125px;
    padding: 16px 10px;
    border-radius: 0 0 12px 12px;
    background: #e2f2ff;
}

.result-compare__total strong {
    margin-top: 6px;
    font-size: 46px;
    line-height: 1.25;
}

/* C社 */
 .result-compare__card--best {
    border-color: #ff851b;
}

.result-compare__card--best .result-compare__card-head {
    background: #ff851b;
}

.result-compare__card--best .result-compare__total {
    background: #fff0e6;
}

.result-compare__card--best .result-compare__total strong {
    color: #ef3030;
}

.result-compare__best-label {
    position: absolute;
    z-index: 2;
    top: -27px;
    right: -10px;
    padding: 8px 22px;
    border: 3px solid #fff;
    border-radius: 35px;
    background: #ed4036;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    transform: rotate(-7deg);
    box-shadow: 0 3px 8px rgba(0,0,0,.12);
}

/* 注意書き */
 .result-compare__notice {
    margin: 22px 0 50px;
    text-align: center;
    font-size: 12px;
    line-height: 1.8;
}

/* 青い案内ボックス */
 .result-compare__message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 35px 45px;
    border: 1px solid #a4d8ff;
    border-radius: 22px;
    background: #d6ecff;
}

.result-compare__message-icon {
    flex: 0 0 95px;
    color: #092849;
}

.result-compare__message-icon svg {
    display: block;
    width: 100%;
    height: auto;
}

.result-compare__message-text h3 {
    margin: 8px 0 12px;
    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.7;
}

.result-compare__message-text h3 span {
    color: #0868bf;
    background: linear-gradient(         transparent 82%,         #ffe577 82%     );
}

.result-compare__message-small {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
}

.result-compare__message-text > p:last-child {
    margin: 0;
    color: #617c91;
    font-size: 14px;
    line-height: 2;
}

/* CTA */
 .result-compare__cta {
    margin-top: 65px;
    text-align: center;
}

.result-compare__cta > p {
    margin: 0 0 28px;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.9;
}

.result-compare__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 650px;
    min-height: 78px;
    margin: 0 auto;
    padding: 12px 25px;
    border-radius: 60px;
    background: linear-gradient(100deg, #ff394c, #ff801a);
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 12px 22px rgba(244, 88, 55, .15);
    transition: transform .2s ease, box-shadow .2s ease;
}

.result-compare__button:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 25px rgba(244, 88, 55, .22);
    color: #fff;
}

.result-compare__button-free {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 53px;
    height: 53px;
    border-radius: 50%;
    background: #fff;
    color: #f24839;
    font-size: 15px;
}

.result-compare__button-arrow {
    margin-left: auto;
    font-size: 35px;
    line-height: 1;
}

/* タブレット */
 @media screen and (max-width: 900px) {
    .result-compare__hero {
        grid-template-columns: 1fr;
    }
    .result-compare__visual {
        max-width: 560px;
        margin: 0 auto;
    }
    .result-compare__title {
        font-size: 38px;
    }
    .result-compare__cards {
        gap: 12px;
    }
    .result-compare__message {
        padding: 30px;
    }
}

/* スマートフォン */
 @media screen and (max-width: 767px) {
    .result-compare {
        /* padding: 60px 16px 75px; */
         padding: 60px 16px 10px;
    }
    .result-compare__hero {
        gap: 15px;
        margin-bottom: 30px;
    }
    .result-compare__badge {
        margin-bottom: 20px;
        font-size: 14px;
    }
    .result-compare__title {
        font-size: clamp(26px, 6.4vw, 34px);
        line-height: 1.7;
    }
    .result-compare__lead {
        margin-top: 22px;
        font-size: 16px;
        line-height: 1.9;
    }
    .result-compare__lead br {
        display: none;
    }
    .result-compare__cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }
    .result-compare__card-head {
        padding: 12px 5px;
        font-size: 17px;
    }
    .result-compare__price {
        min-height: 105px;
        padding: 12px 3px;
    }
    .result-compare__subsidy {
        min-height: 90px;
        margin: 0 5px;
        padding: 10px 2px;
    }
    .result-compare__total {
        min-height: 100px;
        padding: 12px 2px;
    }
    .result-compare__price span,     .result-compare__subsidy span,     .result-compare__total span {
        font-size: 10px;
    }
    .result-compare__price strong {
        font-size: 21px;
    }
    .result-compare__subsidy strong {
        font-size: 16px;
    }
    .result-compare__total strong {
        font-size: 28px;
    }
    .result-compare__price small,     .result-compare__total small {
        font-size: 10px;
    }
    .result-compare__best-label {
        top: -19px;
        right: -5px;
        padding: 5px 9px;
        font-size: 11px;
    }
    .result-compare__notice {
        margin-bottom: 35px;
        font-size: 11px;
    }
    .result-compare__message {
        flex-direction: column;
        gap: 15px;
        padding: 25px 18px;
        text-align: center;
    }
    .result-compare__message-icon {
        flex: none;
        width: 65px;
    }
    .result-compare__message-text h3 {
        font-size: 19px;
    }
    .result-compare__message-text > p:last-child {
        font-size: 12px;
    }
    .result-compare__cta {
        margin-top: 45px;
    }
    .result-compare__cta > p {
        font-size: 17px;
    }
    .result-compare__button {
        gap: 9px;
        min-height: 65px;
        padding: 10px 13px;
        font-size: 12px;
    }
    .result-compare__button-free {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }
    .result-compare__button-arrow {
        font-size: 25px;
    }
}

/* ========================================
   診断結果ページ：やり直しリンクを非表示
======================================== */
 .result-page__back {
    display: none !important;
}

/* 診断結果ページ：背景色の確認 */

/* .result-page {
    background-color: #dcecf8 !important;
} */

/* ========================================
   03 回答別補助金シミュレーション
======================================== */
 .result-card--simulation .result-simulation {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
}

.result-card--simulation .result-simulation__item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 24px 12px;
    border: 1px solid #dce9f4;
    border-radius: 12px;
    background: #fff;
}

.result-card--simulation .result-simulation__icon img {
    display: block;
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.result-card--simulation .result-simulation__item h3 {
    margin: 12px 0 16px;
    font-size: 17px;
}

.result-card--simulation .result-simulation__item h3 span {
    display: inline;
    font-size: inherit;
}

.result-card--simulation .result-simulation__amount {
    margin: 0;
    color: #e3342f;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.result-card--simulation .result-simulation__amount strong {
    font-size: clamp(32px, 5vw, 45px);
    line-height: 1.2;
}

.result-card--simulation .result-simulation__formula {
    margin: 14px 0 0;
    color: #526d84;
    font-size: 13px;
}

.result-card--simulation .result-simulation__plus {
    flex: 0 0 auto;
    align-self: center;
    color: #1677d2;
    font-size: 30px;
    font-weight: 800;
}

.result-card--simulation .result-total {
    max-width: none;
    margin: 22px 0 0;
    padding: 22px 15px;
    border: 2px solid #ffbd55;
    border-radius: 14px;
    background: #fff4dc;
    text-align: center;
}

.result-card--simulation .result-total span {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    background: #ff7822;
    color: #fff;
    font-size: 14px;
}

.result-card--simulation .result-total strong {
    margin-top: 9px;
    color: #e3342f;
    font-size: clamp(32px, 6vw, 46px);
}

.result-card--simulation .result-total p {
    margin: 2px 0 0;
    color: #986b35;
    font-size: 12px;
}

.result-card--simulation [hidden] {
    display: none !important;
}

@media (max-width: 767px) {
    .result-card--simulation .result-simulation {
        gap: 7px;
    }
    .result-card--simulation .result-simulation__item {
        padding: 18px 5px;
    }
    .result-card--simulation .result-simulation__icon img {
        width: 42px;
        height: 42px;
    }
    .result-card--simulation .result-simulation__item h3 {
        font-size: 12px;
    }
    .result-card--simulation .result-simulation__amount {
        font-size: 11px;
    }
    .result-card--simulation .result-simulation__amount strong {
        font-size: clamp(26px, 8vw, 36px);
    }
    .result-card--simulation .result-simulation__formula {
        font-size: 11px;
    }
    .result-card--simulation .result-simulation__plus {
        font-size: 21px;
    }
}

/* 旧sections.cssから④のスマホ表示に必要なスタイルを移設 */
 @media (max-width: 767px) {
    .result-page .result-compare {
        padding-top: 45px;
    }
    .result-page .result-compare__hero {
        position: relative;
        display: block;
        isolation: isolate;
        min-height: 0;
        margin-bottom: 30px;
    }
    .result-page .result-compare__hero-text {
        position: relative;
        z-index: 2;
        width: 100%;
    }
    .result-page .result-compare__visual {
        position: absolute;
        top: 15%;
        right: -20px;
        bottom: 0;
        width: 95%;
        height: 85%;
        margin: 0;
        overflow: hidden;
        z-index: 1;
        opacity: .3;
        pointer-events: none;
        -webkit-mask-image: radial-gradient(ellipse at 70% 65%, #000 15%, transparent 75%);
        mask-image: radial-gradient(ellipse at 70% 65%, #000 15%, transparent 75%);
    }
    .result-page .result-compare__visual img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: contain;
        object-position: right bottom;
    }
    .result-page .result-compare__title,     .result-page .result-compare__lead {
        position: relative;
        z-index: 2;
    }
}
