.roboto {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

#simulation-container {
    background-color: #f8f4eb;
    border: solid 1px #e3e2e2;
    border-width: 1px 0 1px 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-feature-settings: "palt";
}
#simulation-container * {
    box-sizing: border-box;
}
#simulation {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px;
}
#simulation-title {
    font-size: 26px;
    line-height: 32px;
    font-weight: 700;
    text-align: center;
    color: #114096;
}
#simulation-caption {
    margin: 10px 0 0 0;
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    text-align: center;
    color: #114096;
}

@media screen and (min-width:480px)
{
    #simulation {
        padding-top: 10.41666vw;
        padding-bottom: 10.41666vw;
    }
    #simulation-title {
        font-size: 5.416vw;
        line-height: 6.666vw;
    }
    #simulation-caption {
        margin-top: 2.08333vw;
        font-size: 2.39583vw;
        line-height: 3.229166vw;
    }
}

@media screen and (min-width:960px)
{
    #simulation {
        padding: 100px 20px;
    }
    #simulation-title {
        font-size: 52px;
        line-height: 64px;
    }
    #simulation-caption {
        margin-top: 20px;
        font-size: 23px;
        line-height: 31px;
    }
}





#simulation-tab-container {
    margin-top: 36px;
}

#simulation-tab-navigation {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}
#simulation-tab-navigation li {
    flex-basis: calc(50% - 8px);
    max-width: 514px;
}
#simulation-tab-navigation li a {
    display: block;
    padding: 8px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-size: 12px;
    line-height: 1.333;
    font-weight: 700;
    background-color: #005bac;
    color: #fff;
    -webkit-transition: .1s;
    transition: .1s;
}
#simulation-tab-navigation li:nth-of-type(even) a {
    background-color: #fabe00;
}
#simulation-tab-navigation li a.active,
#simulation-tab-navigation li a:hover {
    opacity: 1;
    padding-top: 12px;
    padding-bottom: 12px;
    margin-top: -8px;
}
#simulation-tab-navigation li a.active {
    pointer-events: none;
}

#simulation-tab-group {
    position: relative;
}
.simulation-tab {
    display: none;
    padding: 40px 20px;
    border: solid 2px #005bac;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: #fff;
}
.simulation-tab.active {
    display: block;
}

@media screen and (min-width:480px)
{
    #simulation-tab-container {
        margin-top: 7.5vw;
    }
    #simulation-tab-navigation {
        gap: 3.333vw;
    }
    #simulation-tab-navigation li a {
        padding: 1.666vw;
        border-top-left-radius: 1.666vw;
        border-top-right-radius: 1.666vw;
        font-size: 2.5vw;
    }
    #simulation-tab-navigation li a.active,
    #simulation-tab-navigation li a:hover {
        padding-top: 2.5vw;
        padding-bottom: 2.5vw;
        margin-top: -1.666vw;
    }
    .simulation-tab {
        padding: 8.333vw 7.29166vw;
        border-width: 0.4167vw;
        border-bottom-left-radius: 2.08333vw;
        border-bottom-right-radius: 2.08333vw;
    }
}

@media screen and (min-width:960px)
{
    #simulation-tab-container {
        margin-top: 72px;
    }
    #simulation-tab-navigation {
        gap: 32px;
    }
    #simulation-tab-navigation li {
        flex-basis: 514px;
    }
    #simulation-tab-navigation li a {
        padding: 16px;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        font-size: 24px;
    }
    #simulation-tab-navigation li a.active,
    #simulation-tab-navigation li a:hover {
        padding-top: 24px;
        padding-bottom: 24px;
        margin-top: -16px;
    }
    .simulation-tab {
        padding: 80px 70px;
        border-width: 4px;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }
}





.simulation-results-comparison {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.simulation-results-comparison-col {
    width: 100%;
    max-width: 320px;
    position: relative;
}
.simulation-results-comparison-col+.simulation-results-comparison-col::before {
    content: "";
    display: block;
    width: 14px;
    height: 12px;
    background: url(../img/triangle.svg) center no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    right: 0;
    top: -28px;
    margin: 0 auto;
}
.simularion-results-comparison-price {
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    margin: 8px 0 0 0;
    white-space: nowrap;
}
.simularion-results-comparison-price span:nth-child(2) {
    font-size: 28px;
    line-height: 34px;
}
.after .simularion-results-comparison-price {
    color: #e8340c;
}

@media screen and (min-width:480px)
{
    .simulation-results-comparison {
        flex-direction: row;
        justify-content: center;
        align-items: flex-end;
        gap: 8.333vw;
        padding: 0 2.7083vw;
    }
    .simulation-results-comparison-col {
        max-width: 390px;
    }
    .simulation-results-comparison-col+.simulation-results-comparison-col::before {
        right: auto;
        bottom: auto;
        margin: 0;
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
        width: 2.9166vw;
        height: 2.5vw;
        left: -5.3125vw;
        top: 8.75vw;
    }
    .simularion-results-comparison-price {
        font-size: 2.91666vw;
        margin-top: 1.666vw;
    }
    .simularion-results-comparison-price span:nth-child(2) {
        font-size: 5.833vw;
        line-height: 7.0833vw;
    }
}

@media screen and (min-width:960px)
{
    .simulation-results-comparison {
        gap: 80px;
        padding: 0 26px;
    }
    .simulation-results-comparison-col {
        flex-basis: 50%;
    }
    .simulation-results-comparison-col+.simulation-results-comparison-col::before {
        width: 28px;
        height: 24px;
        left: -51px;
        top: 84px;
    }
    .simularion-results-comparison-price {
        font-size: 28px;
        margin-top: 16px;
    }
    .simularion-results-comparison-price span:nth-child(2) {
        font-size: 56px;
        line-height: 68px;
    }
}





.simulation-results-total {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    line-height: 1.4;
    font-weight: bold;
    padding: 20px 0;
    margin: 0;
    width: 100%;
}
.simulation-results-total span {
    display: block;
    box-sizing: border-box;
    white-space: nowrap;
}
.simulation-results-total span.bind-area {
    border-radius: 10px;
    padding: 10px 12px;
    width: 100%;
    max-width: 548px;
    min-height: 54px;
    border: solid 2px #cccccc;
    font-size: 26px;
    line-height: 30px;
    font-weight: 700;
    text-align: right;
}
.simulation-results-total span:nth-child(1) {
    padding-left: 12px;
    margin-right: 12px;
    text-align: right;
    font-size: 13px;
}
.simulation-results-total span:nth-child(3) {
    margin-left: 9px;
}
.simulation-results-total span:nth-child(4) {
    font-size: 18px;
    margin: -4px 0 0 8px;
}

@media screen and (min-width:480px)
{
    .simulation-results-total {
        font-size: 2.08333vw;
        padding: 4.166vw 0;
    }
    .simulation-results-total span.bind-area {
        border-radius: 2.08333vw;
        padding: 9px 20px 15px 20px;
        font-size: 5.41666vw;
        line-height: 6.25vw
    }
    .simulation-results-total span:nth-child(1) {
        padding-left: 2.5vw;
        margin-right: 2.5vw;
        font-size: 2.708333vw;
    }
    .simulation-results-total span:nth-child(3) {
        margin-left: 1.875vw;
    }
    .simulation-results-total span:nth-child(4) {
        font-size: 3.75vw;
        margin-top: -0.833vw;
    }
}

@media screen and (min-width:960px)
{
    .simulation-results-total {
        font-size: 20px;
        padding: 40px 0;
    }
    .simulation-results-total span.bind-area {
        border-radius: 20px;
        padding: 9px 20px 15px 20px;
        min-height: 90px;
        font-size: 52px;
        line-height: 60px;
    }
    .simulation-results-total span:nth-child(1) {
        padding-left: 24px;
        margin-right: 24px;
        font-size: 26px;
    }
    .simulation-results-total span:nth-child(3) {
        margin-left: 18px;
    }
    .simulation-results-total span:nth-child(4) {
        font-size: 36px;
        margin-top: -8px;
    }
}





.simulation-information {
    border-top: solid 1px #969696;
    border-bottom: solid 1px #969696;
    margin: 0 0 35px 0;
}
.simulation-information-header {
    margin: 0;
}
.simulation-information-header a {
    display: block;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    line-height: 17px;
    font-weight: 700;
    padding: 13px 0 15px 0;
}
.simulation-information-header a span {
    display: inline-block;
    position: relative;
}
.simulation-information-header a span::after {
    content: "";
    display: block;
    width: 4px;
    height: 4px;
    border: solid 2px #333;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    position: absolute;
    right: -25px;
    top: 0;
    bottom: 0;
    margin: auto 0;
    -webkit-transition: .2s;
    transition: .2s;
}
.simulation-information.active .simulation-information-header a span::after {
    transform: rotate(-135deg);
    top: 4px;
}
.simulation-information-body {
    display: none;
}
.simulation-information-body p {
    font-size: 12px;
    line-height: 20px;
    padding: 10px 0 27px 0;
    margin: 0;
}

@media screen and (min-width:480px)
{
    .simulation-information {
        margin-bottom: 7.29166vw;
    }
}

@media screen and (min-width:960px)
{
    .simulation-information {
        margin: 0 0 70px 0;
    }
    .simulation-information-header a {
        font-size: 18px;
        line-height: 26px;
        padding: 15px 0 17px 0;
    }
    .simulation-information-header a span::after {
        width: 6px;
        height: 6px;
        right: -40px;
    }
    .simulation-information-body p {
        font-size: 15px;
        line-height: 25px;
        padding: 25px 0 45px 0;
    }
}





.conversion-button {
    display: block;
    position: relative;
    background-color: #e85f5f;
    color: #fff;
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    width: 80%;
    max-width: 640px;
    margin: 0 auto;
    padding: 14px 34px 16px 34px;
    border-radius: 10px;
    -webkit-transition: .1s;
    transition: .1s;
}
.conversion-button::before,
.conversion-button::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
}
.conversion-button::before {
    width: 14px;
    height: 14px;
    border-radius:14px;
    background-color: #fff;
    right: 24px;
}
.conversion-button::after {
    width: 4px;
    height: 4px;
    border: solid 2px #e85f5f;
    border-width: 2px 2px 0 0;
    transform: rotate(45deg);
    right: 29px;
}
.conversion-button:hover {
    opacity: 1;
    text-decoration: none;
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

@media screen and (min-width:480px)
{
    .conversion-button {
        padding: 2.91666vw 7.08333vw 3.333vw 7.08333vw;
        border-radius: 2.08333vw;
    }
}

@media screen and (min-width:640px)
{
    .conversion-button {
        font-size: 22px;
        line-height: 30px;
    }
    .conversion-button::before {
        width: 20px;
        height: 20px;
        border-radius: 20px;
        right: 38px;
    }
    .conversion-button::after {
        width: 7px;
        height: 7px;
        border: solid 3px #e85f5f;
        border-width: 3px 3px 0 0;
        right: 45px;
    }
}

@media screen and (min-width:960px)
{
    .conversion-button {
        padding: 28px 68px 32px 68px;
        border-radius: 20px;
    }
}










#s1-input-group-text {
    font-size: 13px;
    line-height: 17px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 11px 0;
}

#s1-input-group-label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 236px;
    margin: 0 auto;
    padding: 0 0 0 20px;
    position: relative;
}
#s1-input-group-label span {
    display: block;
}
#s1-input-group-label span.prefix {
    flex-shrink: 0;
    width: 20px;
    font-size: 10px;
    text-align: right;
}
#s1-input-group-label input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: inherit;
    box-sizing: border-box;
    color: inherit;
    border-radius: 10px;
    margin: 0;
    padding: 9px 12px 11px 12px;
    vertical-align: middle;
    background-color: #fff;
    width: 100%;
    max-width: 720px;
    min-height: 54px;
    border: solid 2px #cccccc;
    font-size: 26px;
    line-height: 30px;
    font-weight: 700;
    text-align: right;
}
#s1-input-group-label input[type="number"]::-webkit-outer-spin-button,
#s1-input-group-label input[type="number"]::-webkit-inner-spin-button {
    display: none;
}
#s1-input-group-label input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

#s1-start-btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: inherit;
    box-sizing: border-box;
    position: relative;
    border-radius: 10px;
    margin: 0 auto;
    max-width: 720px;
    width: calc(100% - 40px);
    cursor: pointer;
    background-color: #005bac;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 20px;
    margin-top: 14px;
    -webkit-transition: opacity .2s;
    transition: opacity .2s;
}
#s1-start-btn[disabled],
#s1-start-btn[disabled="disabled"] {
    opacity: 0.2;
    pointer-events: none;
}
#s1-start-btn > span {
    display: block;
    font-size: 14px;
    line-height: 22px;
    font-weight: bold;
    white-space: nowrap;
}
#s1-start-btn > span br {
    display: none;
}
#s1-start-btn > span:nth-child(2) {
    width: 50%;
    max-width: 126px;
    margin: 10px 0 0 0;
}
#s1-start-btn > span:nth-child(2) img {
    width: 100%;
    height: auto;
}
#s1-start-btn > span:nth-child(3) span {
    font-size: 24px;
    line-height: 28px;
    display: inline-block;
}

#s1-start-btn .toggle-icon,
#s1-start-btn .toggle-icon::after {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
}
#s1-start-btn .toggle-icon {
    display: block;
    width: 21px;
    height: 21px;
    border-radius: 21px;
    background-color: #fff;
    position: absolute;
    right: 28px;
}
#s1-start-btn .toggle-icon::after {
    content: "";
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
    -webkit-transition: .2s;
    transition: .2s;
    margin-right: auto;
    margin-left: auto;
    right: 0;
    left: 0;
    width: 5px;
    height: 5px;
    border: solid 4px #005bac;
    border-width: 4px 0 0 4px;
    top: -2px;
}
.active #s1-start-btn .toggle-icon::after {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 2px;
}

#s1-results {
    display: none;
    margin-top: 40px;
}
#s1-results-caption-01 {
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}
.simularion-results-binding-row {
    display: flex;
    align-items: center;
    font-size: 10px;
    line-height: 1.4;
    font-weight: bold;
    padding: 12px 0;
    margin: 0;
}
.simularion-results-binding-row span {
    display: block;
    box-sizing: border-box;
    white-space: nowrap;
}
.simularion-results-binding-row span.bind-area {
    border-radius: 10px;
    padding: 10px 12px;
    width: 100%;
    min-height: 54px;
    border: solid 2px #cccccc;
    font-size: 26px;
    line-height: 30px;
    font-weight: 700;
    text-align: right;
}
.simularion-results-binding-row span:nth-child(1) {
    width: 72px;
    min-width: 72px;
    margin-right: 12px;
}
#s1-results-gus-01 span:nth-child(1) {
    background-color: #005bac;
    color: #fff;
    padding: 6px 12px;
    border-radius: 25px;
    text-align: center;
}
#s1-results-gus-02 span:nth-child(1) {
    text-align: right;
    font-size: 13px;
}
#s1-results-gus-01 span:nth-child(2) {
    max-width: 600px;
}
#s1-results-gus-02 span:nth-child(2) {
    max-width: 548px;
}
#s1-results-gus-01 span:nth-child(3),
#s1-results-gus-02 span:nth-child(3) {
    margin-left: 9px;
}
#s1-results-gus-02 span:nth-child(4) {
    font-size: 18px;
    margin: -4px 0 0 8px;
}

@media screen and (min-width:480px)
{
    #s1-input-group-text {
        font-size: 2.70833vw;
        line-height: 3.54166vw;
        margin-bottom: 2.29166vw;
    }
    #s1-input-group-label {
        padding-left: 4.166vw;
    }
    #s1-input-group-label span.prefix {
        width: 4.166vw;
        font-size: 2.08333vw;
    }
    #s1-input-group-label input {
        border-radius: 2.0833vw;
        padding: 0.9375vw 2.0833vw 1.5625vw 2.0833vw;
        font-size: 5.41666vw;
        line-height: 6.25vw;
    }

    #s1-start-btn {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        border-radius: 2.0833vw;
        padding: 16px 20px;
        width: calc(100% - 8.333vw);
        margin-top: 2.9166vw;
    }
    #s1-start-btn > span {
        font-size: 2.5vw;
        line-height: 1.5;
    }
    #s1-start-btn > span:nth-child(1) {
        text-align: right;
    }
    #s1-start-btn > span:nth-child(2) {
        width: 21.875vw;
        max-width: 210px;
        margin: 0 2.5vw;
    }
    #s1-start-btn > span:nth-child(3) {
        text-align: left;
    }
    #s1-start-btn > span:nth-child(3) span {
        font-size: 4.1666vw;
        line-height: 1;
    }
    #s1-start-btn > span br {
        display: block;
    }
    #s1-start-btn .toggle-icon {
        display: none;
    }

    #s1-results {
        margin-top: 8.333vw;
    }
    #s1-results-caption-01 {
        font-size: 2.91666vw;
        line-height: 3.75vw;
        margin-bottom:1.666vw;
    }
    .simularion-results-binding-row {
        font-size: 2.08333vw;
        padding: 2.5vw 0;
    }
    .simularion-results-binding-row span.bind-area {
        border-radius: 2.08333vw;
        padding: 10px 2.5vw;
        font-size: 5.41666vw;
        line-height: 6.25vw;
    }
    .simularion-results-binding-row span:nth-child(1) {
        width: 15vw;
        min-width: 15vw;
        margin-right: 2.5vw;
    }
    #s1-results-gus-01 span:nth-child(1) {
        padding: 1.25vw 2.5vw;
    }
    #s1-results-gus-02 span:nth-child(1) {
        font-size: 2.708333vw;
    }
    #s1-results-gus-01 span:nth-child(3),
    #s1-results-gus-02 span:nth-child(3) {
        margin-left: 1.875vw;
    }
    #s1-results-gus-02 span:nth-child(4) {
        font-size: 3.75vw;
    }
}

@media screen and (min-width:880px)
{
    #s1-results-caption-01 {
        font-size: 26px;
        line-height: 34px;
    }
    #s1-results-gus-01 span:nth-child(1) {
        padding-top: 11px;
        padding-bottom: 11px;
    }
    .simularion-results-binding-row span:nth-child(1) {
        width: 132px;
        min-width: 132px;
    }
    .simularion-results-binding-row span.bind-area {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (min-width:960px)
{
    #s1-input-group-text {
        font-size: 26px;
        line-height: 34px;
        margin-bottom: 22px;
    }
    #s1-input-group-label {
        padding-left: 40px;
    }
    #s1-input-group-label span.prefix {
        width: 40px;
        font-size: 20px;
    }
    #s1-input-group-label input {
        border-radius: 20px;
        padding: 9px 20px 15px 20px;
        font-size: 52px;
        line-height: 60px;
    }

    #s1-start-btn {
        width: calc(100% - 80px);
        border-radius: 20px;
        margin-top: 28px;
    }
    #s1-start-btn > span {
        font-size: 24px;
        line-height: 36px;
    }
    #s1-start-btn > span:nth-child(2) {
        width: 210px;
        margin: 0 24px;
    }
    #s1-start-btn > span:nth-child(3) span {
        font-size: 40px;
    }

    #s1-results {
        margin-top: 80px;
    }
    #s1-results-caption-01 {
        font-size: 26px;
        line-height: 34px;
        margin-bottom: 16px;
    }
    .simularion-results-binding-row {
        font-size: 20px;
        line-height: 1.4;
        padding: 24px 0;
        margin: 0;
    }
    .simularion-results-binding-row span.bind-area {
        border-radius: 20px;
        font-size: 52px;
        line-height: 60px;
    }
    .simularion-results-binding-row span:nth-child(1) {
        margin-right: 24px;
    }
    #s1-results-gus-01 span:nth-child(1) {
        padding: 11px 24px;
        border-radius: 25px;
    }
    #s1-results-gus-02 span:nth-child(1) {
        font-size: 26px;
    }
    #s1-results-gus-01 span:nth-child(3),
    #s1-results-gus-02 span:nth-child(3) {
        margin-left: 18px;
    }
    #s1-results-gus-02 span:nth-child(4) {
        font-size: 36px;
        margin: -8px 0 0 8px;
    }
}





#s1-results-caption-02 {
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    text-align: center;
    margin: 14px 0 0 0;
}
#s1-results-caption-02 span {
    display: inline-block;
    position: relative;
    padding: 0 20px;
}
#s1-results-caption-02 span::before,
#s1-results-caption-02 span::after {
    content: "";
    display: block;
    width: 2px;
    height: 29px;
    background-color: #000;
    position: absolute;
    bottom: 0;
}
#s1-results-caption-02 span::before {
    left: 0;
    transform: rotate(-28deg);
}
#s1-results-caption-02 span::after {
    right: 0;
    transform: rotate(28deg);
}

@media screen and (min-width:480px)
{
    #s1-results-caption-02 {
        font-size: 3.125vw;
        line-height: 4.166vw;
        margin-top: 2.916vw;
    }
    #s1-results-caption-02 span {
        padding: 0 4.166vw;
    }
    #s1-results-caption-02 span::before,
    #s1-results-caption-02 span::after {
        height: 29px; height: 6.041666vw;
    }
}

@media screen and (min-width:960px)
{
    #s1-results-caption-02 {
        font-size: 30px;
        line-height: 40px;
        margin: 24px 0 0 0;
    }
    #s1-results-caption-02 span {
        padding: 0 40px;
    }
    #s1-results-caption-02 span::before,
    #s1-results-caption-02 span::after {
        height: 58px;
    }
}





#s1-results-comparison {
    margin-top: 20px;
}
.s1-results-3q-header {
    width: 90%;
    margin: 0 auto;
    padding: 10px 10px 6px 10px;
    text-align: center;
    background-color: #f0f0f0;
}
.s1-results-3q-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 4px;
    margin: 0 auto;
}
.s1-results-3q-tags span {
    display: inline-block;
    font-weight: bold;
    font-size: 10px;
    line-height: 15px;
    padding: 5px 10px;
    color: #fff;
    text-align: center;
    border-radius: 25px;
    background-color: #005bac;
    margin: 4px;
    flex-grow: 2;
}
.s1-results-3q-tags span:nth-child(2) {
    background-color: #e8340c;
}
.s1-results-3q-tags span:nth-child(3) {
    background-color: #fabe00;
}
.s1-results-3q-text {
    margin: 0;
    font-size: 13px;
    line-height: 16px;
    font-weight: bold;
    padding: 6px 0;
}
.s1-results-3q-text span {
    display: block;
    white-space: nowrap;
}
.s1-results-3q-text span:nth-child(2) {
    font-size: 20px;
    line-height: 24px;
}

.before .s1-results-3q-text {
    padding: 36px 0;
}
.after .s1-results-3q-header {
    background-color: #fef2cc;
}
.after .s1-results-3q-text span:nth-child(2) {
    color: #e8340c;
}

@media screen and (min-width:480px)
{
    #s1-results-comparison {
        margin-top: 4.166vw;
    }
    .s1-results-3q-header {
        padding: 2.08333vw 1.25vw 2.08333vw 2.08333vw;
        width: 100%;
        margin: 0;
    }
    .s1-results-3q-tags span {
        font-size: 2.08333vw;
        line-height: 3.125vw;
        padding: 1.04166vw 2.08333vw;
    }
    .s1-results-3q-text {
        font-size: 2.70833vw;
        line-height: 3.333vw;
        padding: 1.25vw 0;
    }
    .s1-results-3q-text span:nth-child(2) {
        font-size: 4.166vw;
        line-height: 5vw;
    }

    .before .s1-results-3q-text {
        padding: 7.5vw 0;
    }
}

@media screen and (min-width:960px)
{
    #s1-results-comparison {
        margin-top: 40px;
    }
    .s1-results-3q-header {
        padding: 20px 10px 12px 10px;
    }
    .s1-results-3q-tags span {
        font-size: 20px;
        line-height: 30px;
        padding: 10px 20px;
    }
    .s1-results-3q-text {
        font-size: 26px;
        line-height: 32px;
        padding: 12px 0;
    }
    .s1-results-3q-text span:nth-child(2) {
        font-size: 39px;
        line-height: 47px;
    }

    .before .s1-results-3q-text {
        padding: 72px 0;
    }
}











#s2 {
    border-color: #fabe00;
}

.s2-step {
    border: solid 2px #fabe00;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 16px;
    position: relative;

    -webkit-transition: opacity .2s;
    transition: opacity .2s;
    opacity: 0.2;
    pointer-events: none;
}
.s2-step:nth-child(1),
.s2-step.active {
    display: flex;
    pointer-events: all;
    opacity: 1;
}

.s2-step+.s2-step {
    margin-top: 64px;
}
.s2-step+.s2-step::before,
.s2-step+.s2-step::after {
    content: "";
    display: block;
    width: 14px;
    height: 12px;
    background: url(../img/triangle.svg) no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.s2-step+.s2-step::before {
    top: -39px;
}
.s2-step+.s2-step::after {
    top: -55px;
}

.s2-step-title {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 3px;
    width: 90px;
    margin: -17px 0 0 0;
    padding: 6px 0 8px 0;
    border-radius: 32px;
    background-color: #fabe00;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
}
.s2-step-title-number {
    font-size: 18px;
    line-height: 1;
}
.s2-step-description {
    font-size: 12px; font-size: 3.2vw;
    line-height: 1.5;
    font-weight: 700;
    margin: 10px 0 0 0;
}

.s2-step-selector {
    margin-top: -5px;
    padding: 24px 0;
}
.s2-step-selector.flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
}
.s2-step-selector.flex li {
    flex-grow: 0;
    flex-shrink: 0;
}
.s2-step-selector.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 0;
}
.s2-step-selector.grid li {
    padding: 0 4px;
}

.s2-step-selector li input[type="radio"] {
    display: none;
}
.s2-step-selector li label {
    display: block;
    padding: 0 0 0 4.8vw;
    margin: 0;
    font-size: 12px; font-size: 3.2vw;
    line-height: 1.5;
    white-space: nowrap;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    min-width: 0;
}
.s2-step-selector li label::before,
.s2-step-selector li label::after {
    content: "";
    box-sizing: border-box;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    border-radius: 50%;
}
.s2-step-selector li label::before {
    width: 16px; width: 4.266vw;
    height: 16px; height: 4.266vw;
    border: solid 1px #cccccc;
    left: 0;
}
.s2-step-selector li label::after {
    left: 4px; left: 1.066vw;
    width: 8px; width: 2.133vw;
    height: 8px; height: 2.133vw;
    background-color: #fabe00;
    opacity: 0;
    -webkit-transition: opacity .2s;
    transition: opacity .2s;
}
.s2-step-selector li input:checked+label::after {
    opacity: 1;
}

@media screen and (min-width:375px)
{
    .s2-step-description {
        font-size: 12px;
    }
    .s2-step-selector li label {
        padding-left: 18px;
        font-size: 12px;
    }
    .s2-step-selector li label::before {
        width: 16px;
        height: 16px;
    }
    .s2-step-selector li label::after {
        left: 4px;
        width: 8px;
        height: 8px;
    }
}

@media screen and (min-width:480px)
{
    .s2-step {
        border-width: 0.4167vw;
        border-radius: 2.083vw;
        padding: 0 2.5vw;
    }
    .s2-step+.s2-step {
        margin-top: 13.333vw;
    }

    .s2-step+.s2-step::before,
    .s2-step+.s2-step::after {
        width: 2.9166vw;
        height: 2.5vw;
    }
    .s2-step+.s2-step::before {
        top: -8.125vw;
    }
    .s2-step+.s2-step::after {
        top: -11.4583vw;
    }

    .s2-step-selector.grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (min-width:576px)
{
    .s2-step-title {
        gap: 6px;
        width: 16.666vw;
        margin-top: -3.333vw;
        padding: 1.25vw 0 1.4583vw 0;
        border-radius: 3.125vw;
        font-size: 2.70833vw;
    }
    .s2-step-title-number {
        font-size: 3.5416vw;
    }
    .s2-step-description {
        font-size: 2.0833vw;
        margin-top: 2.0833vw;
    }

    .s2-step-selector {
        margin-top: -0.833vw;
        padding: 5vw 1.666vw;
    }
    .s2-step-selector.flex {
        gap: 2.5vw;
    }
    .s2-step-selector.grid {
        gap: 2.5vw 0;
    }
    .s2-step-selector.grid li {
        padding: 0 0.833vw;
    }
    .s2-step-selector li label {
        padding-left: 3.75vw;
        font-size: 2.0833vw;
    }
    .s2-step-selector li label::before {
        width: 3.125vw;
        height: 3.125vw;
        border-width: 0.4167vw;
    }
    .s2-step-selector li label::after {
        left: 0.72916vw;
        width: 1.666vw;
        height: 1.666vw;
    }
}

@media screen and (min-width:960px)
{
    .s2-step {
        border-width: 4px;
        border-radius: 20px;
        padding: 0 24px;
    }
    .s2-step+.s2-step {
        margin-top: 128px;
    }

    .s2-step+.s2-step::before,
    .s2-step+.s2-step::after {
        width: 28px;
        height: 24px;
    }
    .s2-step+.s2-step::before {
        top: -78px;
    }
    .s2-step+.s2-step::after {
        top: -110px;
    }

    .s2-step-title {
        gap: 6px;
        width: 160px;
        margin-top: -32px;
        padding: 12px 0 14px 0;
        border-radius: 30px;
        font-size: 26px;
    }
    .s2-step-title-number {
        font-size: 34px;
    }
    .s2-step-description {
        font-size: 20px;
        margin-top: 20px;
    }

    .s2-step-selector {
        margin-top: -8px;
        padding: 48px 16px;
    }
    .s2-step-selector.flex {
        gap: 24px;
    }
    .s2-step-selector.grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px 0;
        margin-top: -8px;
        padding: 48px 16px;
    }
    .s2-step-selector.grid li {
        padding: 0 8px;
    }
    .s2-step-selector li label {
        padding-left: 36px;
        font-size: 20px;
    }
    .s2-step-selector li label::before {
        width: 30px;
        height: 30px;
        border-width: 2px;
    }
    .s2-step-selector li label::after {
        left: 7px;
        width: 16px;
        height: 16px;
    }
}





#s2-results {
    position: relative;
    display: none;
    padding-top: 64px;
}

#s2-results::before,
#s2-results::after {
    content: "";
    display: block;
    width: 14px;
    height: 12px;
    background: url(../img/triangle.svg) no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
}
#s2-results::before {
    top: 13px;
}
#s2-results::after {
    top: 29px;
}

#s2-results-title {
    font-size: 12px;
    line-height: 1.5;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background-color: #003599;
    padding: 7px 8px 8px 8px;
    border-radius: 6px;
    width: 100%;
    max-width: 236px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
#s2-results-title::after {
    content: "";
    display: block;
    width: 14px;
    height: 12px;
    background: url(../img/triangle2.svg) center no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    z-index: -1;
    margin: 0 auto;
}

@media screen and (min-width:480px)
{
    #s2-results {
        padding-top: 13.333vw;
    }

    #s2-results::before,
    #s2-results::after {
        width: 2.9166vw;
        height: 2.5vw;
    }
    #s2-results::before {
        top: 2.7083vw;
    }
    #s2-results::after {
        top: 6.0416vw;
    }

    #s2-results-title {
        font-size: 2.666vw;
        padding: 1.4583vw 1.666vw 1.666vw 1.666vw;
        border-radius: 1.25vw;
        width: 49.166vw;
        max-width: 472px;
    }
    #s2-results-title::after {
        width: 2.9166vw;
        height: 2.666vw;
        bottom: -1.4583vw;
    }
}

@media screen and (min-width:960px)
{
    #s2-results {
        padding-top: 128px;
    }

    #s2-results::before,
    #s2-results::after {
        width: 28px;
        height: 24px;
    }
    #s2-results::before {
        top: 26px;
    }
    #s2-results::after {
        top: 58px;
    }

    #s2-results-title {
        font-size: 24px;
        padding: 14px 16px 16px 16px;
        border-radius: 12px;
        width: 472px;
    }
    #s2-results-title::after {
        width: 28px;
        height: 24px;
        bottom: -14px;
    }
}





#s2-results-comparison {
    margin-top: 28px;
}
#s2-results-comparison .simulation-results-comparison-title {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    border-radius: 5px;
}
#s2-results-comparison .before .simulation-results-comparison-title {
    background-color: #fabe00;
    color: #ccc;
    height: 69.866vw;
    max-height: 262px;
}
#s2-results-comparison .after .simulation-results-comparison-title {
    background-color: #fffcbb;
    color: #003599;
    height: 42.666vw;
    max-height: 160px;
}
#s2-results-comparison .before .simulation-results-comparison-title img {
    width: 32.16374%;
    max-width: 110px;
    height: auto;
}
#s2-results-comparison .after .simulation-results-comparison-title img {
    width: 67.25146%;
    max-width: 230px;
    height: auto;
}

@media screen and (min-width:480px)
{
    #s2-results-comparison {
        margin-top: 5.833vw;
    }
    #s2-results-comparison .simulation-results-comparison-title {
        padding: 2.5vw;
        border-radius: 1.0416vw;
    }
    #s2-results-comparison .before .simulation-results-comparison-title {
        height: 33.333vw;
        height: 29.0909vw;
        max-height: 320px;
    }
    #s2-results-comparison .after .simulation-results-comparison-title {
        height: 20.3125vw;
        height: 17.7272vw;
        max-height: 195px;
    }
}

@media screen and (min-width:960px)
{
    #s2-results-comparison {
        margin-top: 56px;
    }
    #s2-results-comparison .simulation-results-comparison-title {
        padding: 24px;
        border-radius: 10px;
    }
}
