/* Diagnosis result layout. Single types only. Cascade order is intentional. */
.result-inner {
    padding-top: 112px;
}
.character-area {
    text-align: center;
}
@media(max-width:767px) {
    .result-stage {
        padding: 0;
    }
    .result-frame {
        width: calc(100% - 6px);
        border-radius: 0;
    }
    .result-hero__title {
        font-size: 38px;
    }
}
body {
    margin: 0;
    color: #303232;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}
* {
    box-sizing: border-box;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
.result-frame {
    overflow: visible;
}
.result-inner {
    overflow: visible;
}
.result-overview {
    padding: 0;
    display: block;
}
.result-summary {
    text-align: center;
}
.character-area {
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.character-area:before {
    position: absolute;
    z-index: -1;
    width: 300px;
    height: 245px;
    bottom: 20px;
    background: color-mix(in srgb,var(--type-color,#ddd) 30%,white);
    border-radius: 53% 47% 48% 52% / 48% 57% 43% 52%;
    transform: rotate(-8deg);
}
.character-area img {
    display: block;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
}
.result-hero__title:after {
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 4px;
    background: var(--type-color);
    margin: 21px auto 19px;
}
.content-area {
    padding: 0;
    background: #fff;
    border-radius: 0;
}
a:focus-visible {
    outline: 3px solid #94afbd;
    outline-offset: 4px;
}
@media(max-width:700px) {
    .result-stage {
        padding: 0 24px 24px;
    }
    .character-area:before {
        width: 225px;
        height: 185px;
        bottom: 15px;
    }
    .result-hero__title:after {
        width: 38px;
        height: 3px;
        margin: 16px auto 14px;
    }
    .result-eyebrow {
        letter-spacing: .02em;
    }
}
.character-area:before {
    max-height: 80%;
}
.character-area:before {
    content: none;
}
.result-hero__title:after {
    content: none;
}
.content-area {
    max-width: 820px;
    margin: auto;
}
.result-stage {
    padding-bottom: 32px;
}
body {
    --reference-blue: #4667d5;
    --reference-purple: #d2b5fa;
    --reference-accent: #e9448b;
}
.result-overview {
    position: relative;
    isolation: isolate;
}
.character-area img {
    position: relative;
}
.result-hero {
    position: relative;
}
.result-hero:before {
    top: 17px;
    bottom: 17px;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    pointer-events: none;
}
.result-hero:after {
    position: absolute;
    top: 17px;
    bottom: 17px;
    width: 14px;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    pointer-events: none;
}
.result-hero:before {
    left: 16px;
    border-left: 2px solid #fff;
}
.result-hero:after {
    right: 16px;
    border-right: 2px solid #fff;
}
.result-overview:before {
    position: absolute;
    left: 7%;
    right: 7%;
    top: 160px;
    height: 230px;
    z-index: -2;
    opacity: .3;
    background: radial-gradient(circle at 15% 30%,transparent 0 5px,#dcdcdc 5px 7px,transparent 7px),radial-gradient(circle at 85% 65%,transparent 0 5px,#dcdcdc 5px 7px,transparent 7px);
    background-size: 200px 105px;
    mask-image: linear-gradient(90deg,#000,transparent 42%,transparent 58%,#000);
}
.reference-panel {
    border: 1px solid #444;
    border-radius: 18px;
    overflow: hidden;
    margin: 0 0 56px;
    color: #333;
}
.reference-panel h2 {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    line-height: 1.7;
    margin: 0;
    padding: 12px 18px;
    border-bottom: 1px solid #444;
    letter-spacing: .03em;
}
.worry-panel ul {
    margin: 0;
    padding: 28px 34px;
    list-style: none;
}
.worry-panel li {
    position: relative;
    margin: 0 0 13px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.8;
}
.worry-panel li:last-child {
    margin-bottom: 0;
}
.worry-panel li:before {
    text-align: center;
    font-family: Georgia,serif;
    line-height: 22px;
    font-size: 20px;
    font-weight: 400;
}
.comic-panel figure img {
    width: 100%;
    height: auto;
    border-radius: 0;
}

.reference-features>h2 {
    font-size: 30px;
    text-align: center;
    margin: 0 0 48px;
    font-weight: 700;
    line-height: 1.6;
}

.reference-feature-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px;
}
.reference-feature-grid>div {
    position: relative;
    display: grid;
    place-content: center;
    border: 1px solid #444;
    border-radius: 24px;
    background: white;
    font-weight: 700;
    line-height: 1.8;
    text-align: center;
    padding: 28px 12px;
}
.reference-feature-grid>div:before {
    position: absolute;
    color: #5475de;
    font-family: Arial,sans-serif;
    font-weight: 800;
    font-size: 46px;
    line-height: 1;
}

@media(max-width:700px) {
    .result-hero:before {
        width: 9px;
        top: 12px;
        bottom: 12px;
    }
    .result-hero:after {
        width: 9px;
        top: 12px;
        bottom: 12px;
    }
    .result-hero:before {
        left: 10px;
    }
    .result-hero:after {
        right: 10px;
    }
    .result-overview:before {
        top: 120px;
        left: -10px;
        right: -10px;
        height: 180px;
    }
    .reference-panel {
        border-radius: 14px;
        margin-bottom: 38px;
    }
    .reference-panel h2 {
        font-size: 13px;
        padding: 11px 12px;
    }
    .worry-panel ul {
        padding: 23px 18px;
    }
    .worry-panel li {
        font-size: 13px;
        margin-bottom: 13px;
    }
    .worry-panel li:before {
        line-height: 18px;
        font-size: 17px;
    }
    .comic-panel figure {
        margin: 22px auto;
    }
    .reference-features>h2 {
        font-size: 23px;
    }
    .reference-feature-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .reference-feature-grid>div {
        border-radius: 18px;
        padding: 24px 16px;
    }
    .reference-feature-grid>div:before {
        font-size: 34px;
        top: -22px;
        left: 20px;
    }
}
.result-overview {
    background: #fff;
}
.result-stage {
    padding-top: 0;
}
.result-overview:before {
    content: none;
}
.result-summary {
    max-width: none;
    width: 100%;
}
.result-summary:before {
    margin-bottom: 20px;
}
.result-reference-content {
    position: relative;
    background: #fff;
    padding: 72px 0 0;
    max-width: 820px;
}
.reference-panel {
    background: #fff;
}
.result-summary {
    grid-template-columns: minmax(0,1.04fr) minmax(0,1fr);
    grid-template-rows: 1fr;
    column-gap: 40px;
}
.character-area {
    min-height: 0;
}
.result-hero {
    grid-column: 2;
    grid-row: 1;
}
.result-hero:before {
    display: block;
    position: static;
    width: auto;
    height: auto;
    border: 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    color: #333;
    margin: 0 0 28px;
}
.result-eyebrow {
    display: inline-block;
}
.result-hero__title {
    overflow-wrap: anywhere;
}
@media(min-width:701px) and (max-width:1000px) {
    .result-summary {
        column-gap: 24px;
        padding-left: 0;
        padding-right: 0;
    }
    .result-hero__title {
        font-size: 38px;
        padding: 12px 16px;
    }
    .result-eyebrow {
        font-size: 14px;
    }
    .result-hero:before {
        font-size: 12px;
    }
}
@media(max-width:700px) {
    .result-summary {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .character-area {
        order: 1;
        margin: 0 0 8px;
    }
    .result-hero {
        order: 2;
        grid-column: auto;
        grid-row: auto;
        align-items: flex-start;
        text-align: left;
    }
    .result-hero:before {
        font-size: 10px;
        letter-spacing: .04em;
        margin: 0 0 14px;
    }
    .result-hero__title {
        max-width: 100%;
    }
}
html {
    height: 100%;
    overflow: hidden;
}
body {
    height: 100%;
    overflow: hidden;
}
body {
    background: var(--type-color,#e9e2ee);
}
.result-stage {
    background: var(--type-color,#e9e2ee);
}
.result-stage {
    padding: 0;
    min-height: 100svh;
    overflow: hidden;
}
.result-frame {
    position: fixed;
    inset: 28px;
    width: auto;
    max-width: none;
    min-height: 0;
    margin: 0;
    border: 1.5px solid #333;
    background: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    box-shadow: none;
}
.result-frame::-webkit-scrollbar {
    display: none;
}
.result-inner {
    min-height: 100%;
    padding: 0 54px 34px;
    background: #fff;
}
.result-summary {
    padding-left: 12px;
    padding-right: 12px;
}
@media(max-width:700px) {
    .result-frame {
        inset: 12px;
    }
    .result-inner {
        padding: 0 24px 24px;
    }
    .result-summary {
        background: #fff;
        box-shadow: none;
        clip-path: none;
    }
    .result-reference-content {
        padding-top: 32px;
    }
}
.result-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 0;
    padding: 74px 0 0;
    margin: 0 auto 64px;
    gap: 0;
    box-shadow: none;
    clip-path: none;
}
.result-summary:before {
    display: block;
    order: 0;
    font-size: 18px;
    letter-spacing: .03em;
    margin: 0 0 24px;
}
.character-area {
    order: 1;
    transform: none;
    margin: 0 0 -34px;
    width: 100%;
    grid-column: auto;
    grid-row: auto;
}
.character-area img {
    width: 320px;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
}
.result-hero {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: none;
    width: 100%;
    max-width: 600px;
    text-align: center;
}
.result-hero:before {
    content: none;
}
.result-hero:after {
    content: none;
}
.result-eyebrow {
    order: 1;
    background: none;
    border: 0;
    box-shadow: none;
    font-weight: 500;
    letter-spacing: .02em;
    padding: 0;
    margin: 0 0 12px;
    max-width: 100%;
}
.result-hero__title {
    order: 2;
    border: 0;
    box-shadow: none;
    max-width: 100%;
}
.result-reference-content {
    padding-top: 0;
}
.worry-panel {
    margin-bottom: 46px;
}
.comic-panel {
    border: 0;
    border-radius: 0;
    background: none;
    overflow: visible;
    margin: 0;
    padding: 48px 0 12px;
    border-top: 2px dotted #999;
}
.comic-panel figure {
    max-width: 420px;
    margin: 0 auto 30px;
    padding: 0;
}
.comic-panel figure>img {
    box-shadow: 0 8px 24px #0000001c,0 2px 5px #00000010;
    border-radius: 3px;
}

@media(max-width:700px) {
    .result-summary {
        display: flex;
        min-height: 0;
        padding: 122px 0 0;
        justify-content: flex-start;
    }
    .result-summary:before {
        font-size: 13px;
        margin-bottom: 20px;
        letter-spacing: .01em;
    }
    .character-area {
        transform: none;
    }
    .character-area img {
        width: 250px;
        max-width: 100%;
    }
    .result-hero {
        max-width: 100%;
        width: 100%;
        transform: none;
    }
    .result-eyebrow {
        padding: 0;
        margin: 0 0 9px;
        background: none;
        border: 0;
        box-shadow: none;
        line-height: 1.8;
    }
    .result-hero__title {
        padding: 0;
        background: none;
        border: 0;
        box-shadow: none;
    }
    .worry-panel {
        margin-bottom: 32px;
    }
    .comic-panel {
        padding: 32px 0 8px;
        border-top: 2px dotted #999;
        margin: 0;
    }
    .comic-panel figure {
        max-width: 340px;
        margin-bottom: 25px;
        padding: 0;
    }
    
}
.result-hero {
    background: var(--type-color,#e9e2ee);
    color: #303232;
}
.result-eyebrow {
    color: #303232;
}
.result-hero__title {
    color: #303232;
}
@media(max-width:700px) {
    .result-hero {
        background: var(--type-color,#e9e2ee);
        color: #303232;
    }
    .result-eyebrow {
        color: #303232;
    }
    .result-hero__title {
        color: #303232;
    }
}
.result-corner-type {
    position: fixed;
    z-index: 60;
    background: var(--type-color,#e9e2ee);
    border-color: #333;
    border-style: solid;
    border-width: 0;
    box-sizing: border-box;
}
.result-corner-type {
    top: 28px;
    right: 28px;
    border-left-width: 1.5px;
    border-bottom-width: 1.5px;
    text-align: center;
    line-height: 1.5;
}
.result-corner-type span {
    display: block;
}
.result-corner-type strong {
    overflow-wrap: anywhere;
}
.result-frame {
    border-radius: 0 0 26px 26px;
}
.result-summary {
    padding-top: 98px;
    margin-bottom: 54px;
}
.result-hero {
    padding: 36px 28px 28px;
    border: 1px solid #555;
    box-shadow: 0 3px 8px #0000000c;
    border-radius: 10px;
}
.result-hero__title {
    font-size: 40px;
}
.worry-panel li:before {
    border-color: #666;
    color: #444;
}
.reference-panel h2 {
    background: color-mix(in srgb,var(--type-color) 25%,white);
}
@media(max-width:700px) {
    .result-corner-type {
        top: 12px;
        right: 12px;
        min-height: 78px;
    }
    .result-corner-type strong {
        letter-spacing: 0;
    }
    .result-frame {
        border-radius: 0 0 18px 18px;
    }
    .result-summary {
        padding-top: 118px;
        margin-bottom: 36px;
    }
    .result-hero {
        padding: 28px 16px 23px;
        border: 1px solid #555;
        box-shadow: 0 3px 8px #0000000c;
        border-radius: 8px;
    }
    .result-hero__title {
        font-size: 27px;
    }
}
@media(max-width:360px) {
    .result-corner-type {
        width: 140px;
    }
}
.result-corner-type {
    color: #fff;
}
.result-corner-type span {
    margin-bottom: 5px;
    opacity: .95;
}
@media(max-width:700px) {
    .result-corner-type span {
        margin-bottom: 4px;
    }
}
.result-corner-type {
    min-height: 0;
    align-items: center;
    justify-content: center;
}
@media(max-width:700px) {
    .result-corner-type span {
        margin: 0;
    }
}
.result-corner-type {
    width: 132px;
    height: 112px;
    min-width: 0;
    padding: 14px 18px 16px 22px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-radius: 0 0 0 36px;
}
.result-corner-type span {
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
}
.result-corner-type strong {
    display: block;
    line-height: 1;
    color: #fff;
}
@media(max-width:700px) {
    .result-corner-type {
        width: 92px;
        height: 85px;
        min-width: 0;
        padding: 11px 12px 12px 16px;
        gap: 2px;
        border-radius: 0 0 0 27px;
    }
    .result-corner-type span {
        font-size: 9px;
        letter-spacing: .2em;
    }
    .result-corner-type strong {
        line-height: 1;
    }
}
body {
    font-family: "Zen Kaku Gothic New","Hiragino Sans",sans-serif;
}
.result-corner-type span {
    font-family: "Lexend Tera",sans-serif;
}
.result-corner-type strong {
    font-family: "Lexend Tera",sans-serif;
}
.result-corner-type span {
    font-weight: 800;
    letter-spacing: .1em;
}
.result-corner-type strong {
    font-weight: 700;
    letter-spacing: -.1em;
    font-size: 55px;
    padding-right: .1em;
}
.result-corner-type {
    text-shadow: 0 1px 2px #30323238;
}
.result-hero__title {
    font-family: "Zen Kaku Gothic New",sans-serif;
    font-weight: 900;
    letter-spacing: .025em;
}
.result-summary:before {
    font-weight: 700;
}
@media(max-width:700px) {
    .result-corner-type strong {
        font-size: 39px;
    }
    .result-hero__title {
        letter-spacing: .015em;
    }
}
@media(max-width:360px) {
    .result-corner-type strong {
        font-size: 37px;
    }
}
.result-frame {
    border-top-left-radius: 26px;
}
.result-summary:before {
    content: 'あなたの人生停滞タイプは…';
}
.character-area {
    margin-bottom: -62px;
    position: relative;
    z-index: 2;
}
/* Soft contrasting marker colors for each result title. */
body[data-single-type="kekka-1"] { --result-marker-color: #CBF3DF; }
body[data-single-type="kekka-2"] { --result-marker-color: #FAD7E6; }
body[data-single-type="kekka-3"] { --result-marker-color: #FFDFBD; }
body[data-single-type="kekka-4"] { --result-marker-color: #E5D8FA; }
body[data-single-type="kekka-5"] { --result-marker-color: #FFF5B8; }

.result-hero__title {
    position: relative;
    z-index: 0;
    display: table;
    width: auto;
    margin: 0 auto;
    background: linear-gradient(transparent 65%,var(--result-marker-color, #fff5a9) 65%,var(--result-marker-color, #fff5a9) 88%,transparent 88%);
    padding: 0 .12em;
}
.worry-panel li {
    padding-left: 37px;
}
.worry-panel li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 0;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M25 23C14 34 0 21 7 9C12 0 30 5 27 18C24 31 5 26 5 15C5 4 25 1 28 13C31 25 11 30 8 18C5 8 22 4 25 14C29 25 12 29 11 18C10 10 23 9 23 17C24 24 14 25 14 18C14 13 20 13 20 18C20 21 16 21 17 17' fill='none' stroke='%23222' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
@media(max-width:700px) {
    .result-frame {
        border-top-left-radius: 18px;
    }
    .character-area {
        margin-bottom: -47px;
    }
    .worry-panel li {
        padding-left: 30px;
    }
    .worry-panel li:before {
        width: 22px;
        height: 22px;
        top: 2px;
    }
}
.worry-panel li:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 46'%3E%3Cpath d='M3 24C12 7 36-1 40 8C45 18 13 43 6 33C-1 23 31 5 34 14C37 23 14 42 13 32C12 23 37 16 35 25C33 34 19 46 20 38C21 32 34 30 33 37C32 41 35 42 36 42' fill='none' stroke='%231c1c1c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.result-hero {
    padding-top: 40px;
    padding-bottom: 20px;
}
.result-eyebrow {
    margin-bottom: 5px;
    font-size: 15px;
    line-height: 1.65;
}
.result-hero__title {
    line-height: 1.35;
}
.result-summary {
    z-index: 1;
}
@media(max-width:700px) {
    .result-hero {
        padding-top: 30px;
        padding-bottom: 17px;
    }
    .result-eyebrow {
        font-size: 12px;
        margin-bottom: 5px;
    }
    .result-hero__title {
        line-height: 1.35;
    }
}
.result-summary {
    isolation: isolate;
    position: relative;
    background: #fff;
}
.result-word-wall {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    flex-direction: column;
    justify-content: space-around;
}
/* Required for the percentage positions of all three background-word rows. */
.result-word-row {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0 !important;
    overflow: visible;
    line-height: 1;
    flex-shrink: 0;
}
.result-word-track {
    display: flex;
    width: max-content;
    animation: result-words-flow 100s linear infinite;
    will-change: transform;
}
.result-word-track>span {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.result-word-track b {
    font-family: "Lexend Tera",sans-serif;
    font-size: 45px;
    font-weight: 700;
    letter-spacing: -.04em;
    white-space: nowrap;
    line-height: 1.25;
}
@keyframes result-words-flow {from{transform:translateX(0)}to{transform:translateX(-50%)}}
.result-summary:before {
    animation: result-reveal .45s .08s both ease-out;
}
.character-area {
    animation: result-character-reveal .7s .2s both cubic-bezier(.18,.75,.25,1);
}
.result-hero {
    animation: result-reveal .6s .55s both cubic-bezier(.18,.75,.25,1);
}
.result-hero__title {
    background-repeat: no-repeat;
    background-size: 0% 100%;
    animation: result-marker-reveal .6s 1s both ease-out;
}
@keyframes result-reveal {from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}
@keyframes result-character-reveal {0%{opacity:0;translate:0 20px;scale:.94}70%{opacity:1;translate:0 -2px;scale:1.015}100%{opacity:1;translate:0 0;scale:1}}
@keyframes result-marker-reveal {from{background-size:0% 100%}to{background-size:100% 100%}}
@media(max-width:700px) {
    .result-word-wall {
        padding: 24px 0;
    }
    .result-word-track b {
        font-size: 27px;
    }
}
@media(prefers-reduced-motion:reduce) {
    .result-word-track {
        animation: none;
        will-change: auto;
    }
    .result-summary:before {
        animation: none;
        opacity: 1;
        translate: 0 0;
        scale: 1;
    }
    .character-area {
        animation: none;
        opacity: 1;
        translate: 0 0;
        scale: 1;
    }
    .result-hero {
        animation: none;
        opacity: 1;
        translate: 0 0;
        scale: 1;
    }
    .result-hero__title {
        animation: none;
        opacity: 1;
        translate: 0 0;
        scale: 1;
    }
    .result-hero__title {
        background-size: 100% 100%;
    }
}
.result-word-wall {
    display: block;
    padding: 0;
    color: color-mix(in srgb,var(--type-color) 17%,white);
    mask-image: linear-gradient(180deg,transparent,#000 8%,#000 92%,transparent);
}
.result-word-row-0 {
    top: 9%;
}
.result-word-row-0 b {
    font-size: 70px;
    font-weight: 800;
    letter-spacing: -.055em;
}
.result-word-row-1 {
    top: 43%;
}
.result-word-row-1 b {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: .09em;
}
.result-word-row-1 .result-word-track {
    animation-direction: reverse;
}
.result-word-row-2 {
    top: 77%;
}
.result-word-row-2 b {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -.025em;
}
.result-word-row-2 b+ b {
    font-size: 25px;
    letter-spacing: .06em;
}
@media(max-width:700px) {
    .result-word-row-0 {
        top: 8%;
    }
    .result-word-row-0 b {
        font-size: 47px;
    }
    .result-word-row-1 {
        top: 42%;
    }
    .result-word-row-1 b {
        font-size: 21px;
        letter-spacing: .035em;
    }
    .result-word-row-2 {
        top: 76%;
    }
    .result-word-row-2 b {
        font-size: 31px;
    }
    .result-word-row-2 b+b {
        font-size: 20px;
    }
}
.result-corner-type {
    animation: result-reveal .45s .1s both ease-out;
}
@media(prefers-reduced-motion:reduce) {
    .result-corner-type {
        animation: none;
    }
}

.reference-features {
    display: block;
    margin: 62px 0 0;
    padding: 0 0 48px;
}
.reference-features>h2 {
    margin-bottom: 40px;
}

.reference-feature-grid>div:before {
    content: '';
    border-radius: 50%;
    background: var(--type-color);
    text-shadow: none;
}
.reference-feature-grid>div {
    font-size: 18px;
    min-height: 112px;
}

.result-share-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 24px 50px;
    margin: 0 -54px;
    background: color-mix(in srgb,var(--type-color) 13%,white);
    border-top: 2px dotted #bdbdbd;
}
.result-share-ribbon {
    position: relative;
    z-index: 1;
    margin: 0 auto 25px;
    line-height: 1.6;
    color: #333;
}
.result-share-ribbon:before {
    position: absolute;
    top: 15px;
    width: 44px;
    height: 44px;
    background: color-mix(in srgb,var(--type-color) 75%,white);
    border: 1px solid #333;
    z-index: -1;
}
.result-share-ribbon:after {
    position: absolute;
    top: 15px;
    width: 44px;
    height: 44px;
    background: color-mix(in srgb,var(--type-color) 75%,white);
    border: 1px solid #333;
    z-index: -1;
}
.result-share-ribbon:before {
    left: -24px;
    clip-path: polygon(0 0,100% 0,100% 100%,0 100%,32% 50%);
}
.result-share-ribbon:after {
    right: -24px;
    clip-path: polygon(0 0,100% 0,68% 50%,100% 100%,0 100%);
}
.result-share-ribbon span {
    position: relative;
}
.result-share-portrait {
    width: 290px;
    height: 290px;
    max-width: 90%;
    border: 2px solid #333;
    border-radius: 50%;
    background: var(--type-color);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}
.result-share-portrait>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.08);
}
.result-share-caption {
    font-size: 19px;
    font-weight: 700;
    margin: 38px 0 26px;
}
.result-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 44px;
    margin: 0 0 50px;
}
.result-social-links>a {
    display: grid;
    place-content: center;
    width: 64px;
    height: 64px;
    text-decoration: none;
    transition: transform .15s;
    font-family: Arial,sans-serif;
}
.result-social-links>a:hover {
    transform: translateY(-3px);
}
.result-social-x {
    font-size: 64px;
    color: #111;
    line-height: 1;
}
.result-social-line {
    background: #06c755;
    border-radius: 15px;
}
.result-social-line span {
    position: relative;
    background: white;
    border-radius: 50%;
    width: 48px;
    height: 38px;
    display: grid;
    place-content: center;
    color: #06c755;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}
.result-social-line span:after {
    content: '';
    position: absolute;
    left: 10px;
    bottom: -5px;
    width: 10px;
    height: 10px;
    background: #fff;
    clip-path: polygon(0 0,100% 0,0 100%);
}
.result-social-facebook {
    background: #0866ff;
    border-radius: 50%;
    color: #fff;
    font-size: 70px;
    font-weight: 700;
    line-height: 1;
    padding-top: 14px;
    overflow: hidden;
}
.result-retry-button {
    position: relative;
    display: block;
    width: 100%;
    max-width: 560px;
    border: 1.5px solid #333;
    border-radius: 999px;
    background: var(--type-color);
    color: #333;
    font-size: 24px;
    font-weight: 700;
    padding: 22px 68px;
    box-shadow: 4px 5px 0 #333;
}
.result-retry-button span {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    line-height: 1;
}
.result-retry-button:hover {
    filter: brightness(1.04);
}
@media(max-width:700px) {
    
    
    .reference-features {
        margin-top: 42px;
        padding-bottom: 35px;
    }
    .reference-features>h2 {
        margin-bottom: 30px;
    }
    .reference-feature-grid>div {
        font-size: 17px;
        min-height: 84px;
    }
    
    .result-share-stage {
        margin: 0 -24px;
        padding: 42px 24px 38px;
    }
    .result-share-ribbon span {
        padding: 8px 10px;
    }
    .result-share-ribbon:before {
        width: 32px;
        height: 35px;
        top: 12px;
    }
    .result-share-ribbon:after {
        width: 32px;
        height: 35px;
        top: 12px;
    }
    .result-share-ribbon:before {
        left: -18px;
    }
    .result-share-ribbon:after {
        right: -18px;
    }
    .result-share-portrait {
        width: 230px;
        height: 230px;
    }
    .result-share-caption {
        font-size: 16px;
        margin: 30px 0 22px;
    }
    .result-social-links {
        gap: 30px;
        margin-bottom: 36px;
    }
    .result-social-links>a {
        width: 52px;
        height: 52px;
    }
    .result-social-x {
        font-size: 52px;
    }
    .result-social-line {
        border-radius: 12px;
    }
    .result-social-line span {
        width: 39px;
        height: 31px;
        font-size: 11px;
    }
    .result-social-facebook {
        font-size: 57px;
        padding-top: 12px;
    }
    .result-retry-button {
        font-size: 18px;
        padding: 17px 38px;
        box-shadow: 3px 4px 0 #333;
    }
    .result-retry-button span {
        right: 17px;
        font-size: 25px;
    }
}
@media(prefers-reduced-motion:reduce) {
    .result-social-links>a {
        transition: none;
    }
}
.result-share-portrait.is-honne>img {
    transform-origin: center;
}
.result-share-ribbon {
    width: auto;
    max-width: 100%;
    margin-bottom: 24px;
}
.result-share-ribbon:before {
    content: none;
}
.result-share-ribbon:after {
    content: none;
}
.result-share-ribbon span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0;
    border: 0;
    background: none;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.7;
}
.result-share-ribbon span:before {
    content: '';
    display: block;
    flex: 0 0 35px;
    width: 35px;
    height: 38px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 46'%3E%3Cpath d='M3 24C12 7 36-1 40 8C45 18 13 43 6 33C-1 23 31 5 34 14C37 23 14 42 13 32C12 23 37 16 35 25C33 34 19 46 20 38C21 32 34 30 33 37C32 41 35 42 36 42' fill='none' stroke='%231c1c1c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
@media(max-width:700px) {
    .result-share-ribbon {
        width: auto;
        max-width: 100%;
        margin-bottom: 22px;
    }
    .result-share-ribbon span {
        font-size: 17px;
        gap: 7px;
    }
    .result-share-ribbon span:before {
        flex-basis: 28px;
        width: 28px;
        height: 32px;
    }
}
.result-share-portrait.is-honne>img {
    transform: translate(-3%,7%) scale(1.24);
}
.result-hints {
    position: relative;
    margin: 50px -48px 0;
    padding: 48px 48px 64px;
    background: color-mix(in srgb,var(--type-color) 17%,white);
    border-top: 1px solid #333;
    color: #333;
    text-align: center;
}
.result-hints-glass {
    position: relative;
    color: #333;
}
.result-hints-glass svg {
    width: 100%;
}
.result-hints-glass>span {
    position: absolute;
    top: 43px;
    left: 20px;
    width: 95px;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.6;
    transform: rotate(7deg);
}
.result-hints>h2 {
    font-size: 30px;
    font-weight: 900;
    line-height: 1.6;
    margin: 0 0 35px;
}

.result-hints-copy h3 {
    font-size: 20px;
    margin: 0 0 16px;
}

@media(max-width:700px) {
    .result-hints {
        margin: 65px -24px 0;
        padding: 38px 24px 42px;
    }
    .result-hints-glass>span {
        top: 36px;
        left: 17px;
        width: 82px;
        font-size: 14px;
    }
    .result-hints>h2 {
        font-size: 23px;
        margin-bottom: 25px;
    }
    .result-hints-copy h3 {
        font-size: 17px;
    }
    
}
.result-hints-glass {
    width: 220px;
    margin: -92px auto 30px;
    transform: none;
    left: 20px;
    overflow: visible;
}
.result-hints-glass svg {
    display: block;
    overflow: visible;
}
.result-hints-glass h2 {
    position: absolute;
    left: 24px;
    width: 132px;
    margin: 0;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.55;
    text-align: center;
}

.result-guide-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 45px;
    max-width: 740px;
    margin: 38px auto 0;
    padding: 35px 38px;
    background: #fff;
    border: 1px solid #333;
    border-radius: 12px;
    color: #333;
    text-decoration: none;
    text-align: left;
    box-shadow: 5px 6px 0 color-mix(in srgb,var(--type-color) 65%,white);
    transition: transform .2s,box-shadow .2s;
}
.result-guide-banner:hover {
    transform: translateY(-3px);
    box-shadow: 5px 9px 0 color-mix(in srgb,var(--type-color) 65%,white);
}
.result-guide-book {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 0 0 150px;
    min-height: 210px;
    padding: 20px 15px 18px 23px;
    background: var(--type-color);
    border: 1px solid #333;
    border-left: 7px solid color-mix(in srgb,var(--type-color) 70%,#333);
    box-shadow: 5px 5px 0 #e9e9e9;
    transform: rotate(-7deg);
}
.result-guide-book small {
    font-size: 10px;
    letter-spacing: .04em;
}
.result-guide-book strong {
    font-weight: 900;
}
.result-guide-book>span {
    font-size: 7px;
    letter-spacing: .06em;
}
.result-guide-message {
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.result-guide-type {
    font-size: 14px;
    font-weight: 700;
}
.result-guide-message>strong {
    font-size: 25px;
    line-height: 1.65;
    font-weight: 900;
}
.result-guide-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #333;
    padding-bottom: 7px;
    font-weight: 700;
    font-size: 17px;
}
.result-guide-message>small {
    font-size: 11px;
    color: #666;
}
@media(max-width:700px) {
    .result-hints-glass {
        width: 185px;
        left: 17px;
        margin: -77px auto 24px;
    }
    .result-hints-glass h2 {
        left: 20px;
        width: 111px;
        font-size: 18px;
    }
    .result-guide-banner {
        gap: 22px;
        padding: 26px 18px;
        margin-top: 28px;
        flex-direction: column;
        text-align: center;
    }
    .result-guide-book {
        flex-basis: auto;
        width: 140px;
        min-height: 185px;
        text-align: left;
        padding: 16px 12px 16px 19px;
    }
    .result-guide-message {
        width: 100%;
        gap: 11px;
    }
    .result-guide-type {
        font-size: 13px;
    }
    .result-guide-message>strong {
        font-size: 21px;
    }
    .result-guide-link {
        font-size: 16px;
        max-width: 230px;
        width: 100%;
        margin: auto;
    }
    .result-hints {
        padding-bottom: 46px;
    }
}
.result-guide-book strong {
    font-size: 15px;
    line-height: 1.9;
    white-space: nowrap;
}
@media(max-width:700px) {
    .result-guide-book strong {
        font-size: 14px;
    }
}
.result-inner {
    padding-bottom: 0;
}
.result-hints {
    margin-left: -54px;
    margin-right: -54px;
    padding-left: 54px;
    padding-right: 54px;
}
.result-hints-glass {
    height: 220px;
    margin-top: -135px;
    margin-bottom: 25px;
}
.result-hints-glass svg {
    height: 220px;
}
.result-hints-glass h2 {
    top: 40px;
}



.result-share-stage {
    margin-left: -54px;
    margin-right: -54px;
}
.result-frame {
    bottom: 43px;
}
.result-copyright {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 12px;
    color: #fff;
    text-align: center;
    font-size: 11px;
    line-height: 1.3;
    pointer-events: none;
}
@media(max-width:700px) {
    .result-inner {
        padding-bottom: 0;
    }
    .result-frame {
        bottom: 33px;
    }
    .result-hints {
        margin-left: -24px;
        margin-right: -24px;
        padding-left: 24px;
        padding-right: 24px;
    }
    .result-hints-glass {
        height: 185px;
        margin-top: -111px;
        margin-bottom: 22px;
    }
    .result-hints-glass svg {
        height: 185px;
    }
    .result-hints-glass h2 {
        top: 34px;
    }
    .result-share-stage {
        margin-left: -24px;
        margin-right: -24px;
    }
    .result-copyright {
        bottom: 9px;
        font-size: 9px;
    }
}
.result-share-type-label {
    position: relative;
    z-index: 2;
    display: table;
    max-width: min(90%,460px);
    min-width: 290px;
    margin: -24px auto 0;
    padding: 10px 25px;
    border: 1.5px solid #333;
    color: #333;
    font-size: 23px;
    font-weight: 900;
    line-height: 1.5;
}
@media(max-width:700px) {
    .result-share-type-label {
        min-width: 230px;
        max-width: 100%;
        margin-top: -19px;
        padding: 8px 15px;
        font-size: 19px;
    }
}
.result-share-type-label {
    background: #fff;
    box-shadow: 3px 3px 0 #d9d9d9;
}
.result-summary {
    overflow: visible;
}
.result-word-wall {
    inset: 0 -54px;
}
.result-word-track>span {
    min-width: 0;
    justify-content: flex-start;
    gap: 110px;
    padding-right: 110px;
}
.result-word-row-0 .result-word-track {
    animation-duration: 105s;
    animation-delay: -22s;
}
.result-word-row-1 .result-word-track {
    animation-duration: 120s;
    animation-delay: -48s;
}
.result-word-row-2 .result-word-track {
    animation-duration: 110s;
    animation-delay: -30s;
}
@media(max-width:700px) {
    .result-word-wall {
        inset: 0 -24px;
    }
    .result-word-track>span {
        min-width: 0;
        gap: 62px;
        padding-right: 62px;
    }
    .result-word-row-0 .result-word-track {
        animation-duration: 62s;
        animation-delay: -13s;
    }
    .result-word-row-1 .result-word-track {
        animation-duration: 82s;
        animation-delay: -30s;
    }
    .result-word-row-2 .result-word-track {
        animation-duration: 75s;
        animation-delay: -20s;
    }
}
.reference-feature-grid>div:before {
    width: 40px;
    height: 40px;
    top: -21px;
    left: 22px;
    background-color: var(--type-color);
    background-repeat: no-repeat;
    background-position: center;
}
.reference-feature-grid>div:before {
    border: 0;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cg%20fill%3D%22white%22%3E%3Cpath%20d%3D%22M16%204a9%209%200%200%200-9%209c0%203.5%202%205.4%204%207.5V23h10v-2.5c2-2.1%204-4%204-7.5a9%209%200%200%200-9-9Z%22%2F%3E%3Crect%20x%3D%2211%22%20y%3D%2225%22%20width%3D%2210%22%20height%3D%222.5%22%20rx%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M13%2029h6a3%203%200%200%201-6%200Z%22%2F%3E%3C%2Fg%3E%3Cg%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M3%204l2%202m24-2-2%202M1%2013h2m26%200h2%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    background-size: 28px 28px;
}
body[data-single-type="kekka-2"] .result-hero {
    padding-top: 40px;
}
body[data-single-type="kekka-3"] .result-hero {
    padding-top: 40px;
}
body[data-single-type="kekka-4"] .result-hero {
    padding-top: 40px;
}
body[data-single-type="kekka-5"] .result-hero {
    padding-top: 40px;
}
@media(max-width:700px) {
    body[data-single-type="kekka-2"] .result-hero {
        padding-top: 30px;
    }
    body[data-single-type="kekka-3"] .result-hero {
        padding-top: 30px;
    }
    body[data-single-type="kekka-4"] .result-hero {
        padding-top: 30px;
    }
    body[data-single-type="kekka-5"] .result-hero {
        padding-top: 30px;
    }
}
body[data-single-type="kekka-2"] .character-area>img {
    position: relative;
    top: -32px;
}
body[data-single-type="kekka-3"] .character-area>img {
    position: relative;
    top: -32px;
}
body[data-single-type="kekka-4"] .character-area>img {
    position: relative;
    top: -32px;
}
body[data-single-type="kekka-5"] .character-area>img {
    position: relative;
    top: -32px;
}
@media(max-width:700px) {
    body[data-single-type="kekka-2"] .character-area>img {
        top: -24px;
    }
    body[data-single-type="kekka-3"] .character-area>img {
        top: -24px;
    }
    body[data-single-type="kekka-4"] .character-area>img {
        top: -24px;
    }
    body[data-single-type="kekka-5"] .character-area>img {
        top: -24px;
    }
}

/* Shared long-copy rhythm: all five results, desktop and mobile. */
.result-prose {
    font-weight: 500;
    width: 100%;
    max-width: 36em;
    margin: 0 auto;
    padding: 0;
    font-size: 15px;
    line-height: 2;
    text-align: center;
    word-break: normal;
    overflow-wrap: anywhere;
    line-break: strict;
    text-wrap: balance;
}
.result-prose > p {
    margin: 0;
    font: inherit;
    line-height: inherit;
    text-align: inherit;
}
.result-prose > p + p {
    margin-top: 1.15em;
}
.result-feature-copy {
    margin-top: 28px;
}
@media (max-width: 700px) {
    .result-prose {
        font-size: 14px;
        line-height: 2;
    }
    .result-feature-copy {
        margin-top: 24px;
    }
}

.result-prose .result-copy-highlight {
    font-weight: 700;
    background: linear-gradient(transparent 60%, var(--result-marker-color) 60%, var(--result-marker-color) 92%, transparent 92%);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* Draw only the marker; keep highlighted text visible and stationary. */
.result-prose .result-copy-highlight.marker-is-ready {
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 0% 100%;
    transition: background-size 900ms cubic-bezier(.22,.61,.36,1) 120ms;
}
.result-prose .result-copy-highlight.marker-is-ready.marker-is-drawn {
    background-size: 100% 100%;
}
@media (prefers-reduced-motion: reduce) {
    .result-prose .result-copy-highlight.marker-is-ready {
        background-size: 100% 100%;
        transition: none;
    }
}

.result-prose .result-hint-lead {
    margin: 0 0 1.4em;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
    text-align: center;
    text-wrap: balance;
}
@media (max-width: 700px) {
    .result-prose .result-hint-lead { font-size: 17px; }
}

.result-recommended-works {
    margin-top: 30px;
    padding: 22px 20px;
    border: 1px solid var(--result-marker-color);
    border-radius: 14px;
    background-color: #fff;
    background-image: radial-gradient(circle, rgba(90, 100, 105, .16) .65px, transparent .8px);
    background-size: 10px 10px;
    background-position: 5px 5px;
}
.result-prose .result-recommended-works h3 {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.8;
}
.result-recommended-works ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.result-recommended-works li {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--result-marker-color) 30%, white);
    font-size: inherit;
    line-height: 1.8;
}
.result-recommended-works li::before {
    content: "✓";
    color: #408368;
    font-weight: 700;
}

.result-keep-together { white-space: nowrap; }
@media (min-width: 701px) {
    body[data-single-type="kekka-2"] .result-comic-copy .result-copy-highlight {
        white-space: nowrap;
    }
}


/* Illustrated guidebook banners for all five types. */
.result-guide-banner.result-guide-banner-image{display:block;width:100%;max-width:900px;padding:0;gap:0;border:0;border-radius:10px;overflow:hidden;background:transparent;box-shadow:0 4px 16px rgba(0,0,0,.08);}
.result-guide-banner-image img{display:block;width:100%;height:auto;max-width:none;margin:0;}
.result-guide-banner-image:hover{box-shadow:0 7px 20px rgba(0,0,0,.12);}
.result-guide-destination{margin:10px auto 0!important;font-size:12px;line-height:1.6;text-align:center;color:#777;}
