.shindan-result {
    background: var(--type-base-surface);
    color: var(--type-base-text);
    max-width: var(--content);
    margin: 0 auto 3em;
    border-radius: 20px;
    overflow: hidden;
}

/* Unused after simplifying shindan-result structure
.shindan-result .main-contnets-wrp {
    width: 100%;
}
*/

.shindan-result .res-wrp {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.shindan-result .res-hader {
    width: 50%;
    padding: 3% 5% 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 840px) {
    .shindan-result .res-hader {
        width: 45%;
        padding: 4% 3%;

    }

    @media screen and (max-width: 767px) {
        .shindan-result .res-hader {
            width: 100%;
        }
    }
}

.shindan-result .res-header-inner {
    width: 100%;
    padding: 1em;
    text-align: center;
}

.shindan-result .section__header .title.logo {
    width: 100%;
    max-width: 330px;
    margin: -.5em auto .75em;
}

@media screen and (max-width:767px) {
    .shindan-result .section__header .title.logo {
        max-width: 260px;
    }
}

.shindan-result .res-img-wrp {
    width: 100%;
    margin: 2em auto;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.shindan-result .res-img-wrp img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.shindan-result .type-code-badge {
    margin: min(.25em, 3vw) auto 0.35em;
}

.shindan-result .type-title {
    margin: 0;
    font-size: min(1.7em, 7vw);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: anywhere;
    line-break: strict;
    color: var(--type-accent, var(--type-color-A));
}

/* Unused in current shindan page
.shindan-result .type-title-en {
    margin: .5em 0 1em;
    font-family: "Montserrat", sans-serif;
    font-size: min(1rem, 4.2vw);
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--type-accent, var(--type-color-A));
}
*/

.shindan-result .style-article {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4% 7%;
    background-color: var(--lgray);
}

@media screen and (max-width: 840px) {
    .shindan-result .style-article {
        width: 55%;
        padding: 4%;
    }

    @media screen and (max-width: 767px) {
        .shindan-result .style-article {
            width: 100%;
        }
    }
}

.shindan-result .style-article-inner {
    width: 100%;
}

.shindan-result .type-text {
    margin: 0;
    font-size: min(.9em, 4vw);
    line-height: 2;
    letter-spacing: 0.02em;
}

.shindan-result .present-block {
    margin-top: 3em;
    padding: 2em 0 0;
    border-radius: 5px;
    background-color: var(--type-base-surface);
    overflow: hidden;
}

.shindan-result .present-title {
    width: 100%;
    text-align: center;
    margin: 0 0 1em;
    font-size: min(1em, 4.4vw);
    font-weight: 700;
    line-height: 1.6;
    color: var(--type-accent, var(--type-color-A));
    background-color: var(--type-base-surface);
}

.shindan-result .present-title .dash-title {}

.shindan-result .present-body {
    display: flex;
    justify-content: space-between;
    gap: 1em;
    align-items: center;
}

.shindan-result .present-img {
    margin: 0;
    max-width: 240px;
    max-height: 240px;
}

.shindan-result .present-img img {
    width: 140%;
    height: 140%;
    max-width: unset;
    object-fit: cover;
    transform: translate(-40%, 0) rotate(10deg);
    box-shadow: 0 0 15px rgba(0, 0, 0, .05);
    opacity: .8;
}

.shindan-result .present-text {
    margin: 0;
    font-size: min(.85em, 3.3vw);
    line-height: 1.8;
    text-align: left;
    word-break: keep-all;
    overflow-wrap: anywhere;
    line-break: strict;
}

.shindan-result .button-row {
    display: flex;
    justify-content: center;
    margin-top: 3em;
    gap: 1em;
}

.shindan-result .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1em 2.5em;
    margin: 0;
    border-radius: 4em;
    font-size: min(0.8em, 3.3vw);
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: anywhere;
    line-break: strict;
    transition: opacity .2s ease, transform .2s ease;
}

.shindan-result .button::before,
.shindan-result .button::after {
    content: none;
}

.shindan-result .button:hover {
    opacity: .8;
}


@media screen and (max-width: 767px) {
    .shindan-result .button {
        min-width: 15em;
        font-size: min(0.9em, 3.5vw);
    }
}

.shindan-result .button-reserve-visit {
    background-color: var(--type-base-text);
    color: #fff;
}

.shindan-result .button-restart-diagnosis {
    background-color: #fff;
    color: var(--type-base-text);
    border: 1px solid var(--type-base-border);
}

@media screen and (max-width: 767px) {
    .shindan-result .button-row {
        flex-direction: column;
        align-items: center;
        gap: 1em;
    }
}

.shindan-result .text-center {
    text-align: center;
}