@charset "utf-8";

:root {
    --appraisal-navy: #010066;
    --appraisal-navy-deep: #030273;
    --appraisal-gold: #bd8b2f;
    --appraisal-gold-light: #ffe867;
    --appraisal-gold-line: #e4c791;
    --appraisal-text: #333333;
    --appraisal-heading: #304151;
    --appraisal-time: #b41f1c;
    --appraisal-option: #ebf1f4;
    --appraisal-line: #e9e9e9;
    --appraisal-bg: #f3f3f3;
    --font-serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
    --font-sans: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

#contents {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    float: none;
    background: var(--appraisal-bg);
}

.l-header,
.l-footer,
.reservation-side-link,
.h1_section,
.org-float {
    display: none !important;
}

.appraisal__header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    height: 56px;
    padding-right: 15px;
    background: #F3F3F3;
}

.appraisal__logo-link {
    display: block;
    width: 228px;
    height: 56px;
    line-height: 0;
    transition: opacity 0.2s ease;
}

.appraisal__logo-link:hover {
    opacity: 0.7;
}

.appraisal__logo {
    display: block;
    width: 228px;
    height: 56px;
    object-fit: cover;
}

.appraisal {
    min-height: 100vh;
    -webkit-text-size-adjust: 100%;
    background: var(--appraisal-bg);
    color: var(--appraisal-text);
    font-family: var(--font-sans);
}

.appraisal__body {
    display: grid;
    grid-template-columns: 225px minmax(0, 1fr);
    align-items: start;
    width: min(1920px, 100%);
    margin: 0 auto;
}

.appraisal__features {
    position: sticky;
    top: 56px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: start;
    gap: 5px;
    width: 225px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
}

.appraisal__feature {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 100px;
    border: 2px solid var(--appraisal-gold-line);
    background-image: linear-gradient(-25.76deg, #010066 23.261%, #01006a 26.796%, #020099 63.254%, #004fc7 92.337%);
    box-sizing: border-box;
}

.appraisal__feature-text {
    margin: 0;
    color: #fff;
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.appraisal__feature-em {
    font-family: var(--font-serif);
    color: var(--appraisal-gold-light);
}

.appraisal__feature-em--lg {
    font-size: 24px;
}

.appraisal__main {
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: min(1013px, calc(100% - 32px));
    margin: 0 auto;
    padding-bottom: 100px;
    justify-self: center;
}

.appraisal__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    background: var(--appraisal-navy);
}

.appraisal__copyright {
    margin: 0;
    color: #fff;
    font-family: var(--font-serif);
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
}

.chat__question[hidden],
.chat__answer[hidden],
.result[hidden] {
    display: none !important;
}

.chat {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.chat__question,
.chat__answer {
    scroll-margin-top: 76px;
    animation: appraisal-in 0.35s ease;
}

.chat__question {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.chat__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    padding-top: 1px;
    border: 1px solid var(--appraisal-line);
    border-radius: 9999px;
    background: #fff;
    box-sizing: border-box;
}

.chat__icon-img {
    position: relative;
    width: 46px;
    height: 43px;
    overflow: hidden;
}

.chat__icon-img img {
    position: absolute;
    top: -20.24%;
    left: -10.11%;
    width: 508.99%;
    max-width: none;
    height: 151.19%;
}

.chat__message {
    display: flex;
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
    min-width: 0;
}

.chat__greeting {
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 15px 19px;
    background: #fff;
}

.chat__greeting-text {
    margin: 0;
    color: var(--appraisal-heading);
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.chat__greeting-time {
    margin: 0;
    color: var(--appraisal-time);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.chat__bubble {
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 7px;
    max-width: 100%;
    padding: 15px 19px;
    background: #fff;
}

.chat__headline {
    display: flex;
    gap: 6px;
    align-items: flex-start;
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.5;
}

.chat__q {
    flex-shrink: 0;
    color: var(--appraisal-navy);
    font-size: 20px;
}

.chat__q-text {
    color: var(--appraisal-text);
    font-size: 18px;
}

.chat__options {
    display: flex;
    gap: 7px;
}

.chat__options--vertical {
    flex-direction: column;
    width: 100%;
}

.chat__option {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    margin: 0;
    padding: 0 12px;
    border: 0;
    background: var(--appraisal-option);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05);
    color: var(--appraisal-navy);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
}

.chat__option:hover {
    opacity: 1;
}

.chat__options--horizontal .chat__option {
    width: 122px;
    flex-shrink: 0;
}

.chat__options--vertical .chat__option {
    justify-content: flex-start;
    width: 100%;
    padding: 0 20px;
    white-space: nowrap;
}

.chat__option:hover,
.chat__option:focus-visible {
    background: var(--appraisal-navy);
    color: #fff;
}

.chat__answer {
    display: flex;
    justify-content: flex-end;
}

.chat__answer-body {
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 12px 20px;
    background: var(--appraisal-navy);
}

.chat__answer-text {
    margin: 0;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
}

.chat__tail {
    position: absolute;
    line-height: 0;
}

.chat__tail--left {
    top: 31px;
    left: -5px;
    transform: scaleX(-1);
}

.chat__tail--right {
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
}

.result {
    display: flex;
    flex-direction: column;
    gap: 40px;
    scroll-margin-top: 76px;
    animation: appraisal-in 0.35s ease;
}

.result__pool {
    display: none;
}

.result__card.is-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    padding: 28px 40px 40px;
    background: url(../images/bg_result.webp) no-repeat center center / cover;
    overflow: hidden;
}
.result__main-heading {
    display: none;
    color: #fff;
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
}

.result__card.is-main .result__main-heading {
    display: block;
}

.result__card.is-main .result__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 27px;
    width: 100%;
    padding: 30px 20px;
    background: #fff;
    box-sizing: border-box;
}

.result__card.is-main .result__card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.result__card-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.result__tag {
    font-family: var(--font-sans);
    margin: 0;
    padding: 7px 13px;
    border: 1px solid var(--appraisal-navy);
    border-radius: 9999px;
    color: var(--appraisal-navy);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
}

.result__name {
    margin: 0;
    color: var(--appraisal-gold);
    font-family: var(--font-serif);
    font-size: 40px;
    font-weight: 600;
    line-height: 1;
}

.result__card.is-main .result__name {
    font-size: 50px;
}

.result__lead {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--appraisal-text);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
}

.result__button {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 320px;
    max-width: 100%;
    height: 70px;
    background-image: linear-gradient(-39.32deg, #010066 17.813%, #1561d2 95.918%);
    box-shadow: 0 5px 2.5px rgba(0, 0, 0, 0.12);
    color: #fff;
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.result__button:hover {
    opacity: 0.85;
}

.result__button-label {
    position: relative;
    z-index: 1;
    font-family: var(--font-serif);
}

.result__arrow {
    position: absolute;
    top: 50%;
    right: 20px;
    line-height: 0;
    transform: translateY(-50%);
}

.result__other {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.result__other-title {
    margin: 0;
    color: var(--appraisal-text);
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
}

.result__sub-list {
    display: flex;
    gap: 11px;
    align-items: stretch;
    width: 100%;
}

.result__card.is-sub {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 25px 20px;
    background: #fff;
    box-sizing: border-box;
}

.result__card.is-sub .result__panel {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
}

.result__card.is-sub .result__card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

@keyframes appraisal-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
