/* 本音レビューショートコードと承認制コメント */

/* 数字を見せず、評価の傾向とコメントを伝える本音レビュー */
body.single-post .article-content .km-honestReview {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
    gap: 30px;
    align-items: stretch;
    margin: 36px 0;
    padding: 28px;
    background: #fffaf1;
    border: 2px solid #eda66f;
    border-radius: 26px;
}

body.single-post .article-content .km-honestReview__chart {
    min-width: 0;
    padding: 8px 4px 0;
}

body.single-post .article-content .km-honestReview__eyebrow,
body.single-post .article-content .km-honestReview__title {
    margin: 0;
    text-align: center;
}

body.single-post .article-content .km-honestReview__eyebrow {
    color: #dc7047;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

body.single-post .article-content .km-honestReview__title {
    margin-top: 3px;
    color: var(--km-text);
    font-size: 21px;
    font-weight: 800;
}

body.single-post .article-content .km-honestReview__radar {
    display: block;
    width: min(100%, 280px);
    height: auto;
    margin: 4px auto 0;
    overflow: visible;
}

body.single-post .article-content .km-honestReview__grid polygon,
body.single-post .article-content .km-honestReview__grid line {
    fill: none;
    stroke: #e7c995;
    stroke-width: 1.2;
}

body.single-post .article-content .km-honestReview__score {
    fill: rgba(255, 191, 43, 0.48);
    stroke: #ef7f54;
    stroke-width: 3;
    stroke-linejoin: round;
    transform-box: view-box;
    transform-origin: 140px 112px;
}

@keyframes km-honest-review-score-expand {
    from {
        opacity: 0;
        transform: scale(0.08);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

body.single-post .article-content .km-honestReview__score.is-animation-ready {
    opacity: 0;
}

body.single-post .article-content .km-honestReview__score.is-visible {
    animation: km-honest-review-score-expand 1200ms cubic-bezier(0.22, 0.8, 0.28, 1) both;
}

body.single-post .article-content .km-honestReview__labels {
    fill: #51483d;
    font-size: 15px;
    font-weight: 800;
}

body.single-post .article-content .km-honestReview__comment {
    align-self: center;
    min-width: 0;
    padding: 16px 4px;
}

body.single-post .article-content .km-honestReview__commentHeader {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
    margin-bottom: 16px;
}

body.single-post .article-content .km-honestReview__commentLabel {
    display: inline-flex;
    margin: 0 0 4px;
    padding: 7px 16px;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0.03em;
    background: #ef7f54;
    border-radius: 12px;
}

body.single-post .article-content .km-honestReview__butache {
    display: block;
    width: 96px;
    height: 96px;
    flex: 0 0 96px;
    margin: -28px 2px -8px 0;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: translateY(-16px);
}

body.single-post .article-content .km-honestReview__commentText,
body.single-post .article-content .km-honestReview__commentText p {
    color: var(--km-text);
    font-size: 18px;
    line-height: 1.85;
}

body.single-post .article-content .km-honestReview__commentText p {
    margin: 0 0 0.8em;
}

body.single-post .article-content .km-honestReview__commentText p:last-child {
    margin-bottom: 0;
}

body.single-post .article-content .km-honestReviewComments {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid rgba(237, 166, 111, 0.45);
}

body.single-post .article-content .km-honestReviewComments__heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}

body.single-post .article-content .km-honestReviewComments__heading::after {
	display: none;
}

body.single-post .article-content .km-honestReviewComments__others {
	margin-top: 20px;
	padding-top: 14px;
	border-top: 1px solid rgba(229, 211, 192, 0.8);
}

body.single-post .article-content .km-honestReviewComments__othersHeading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: var(--km-text);
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
	list-style: none;
}

body.single-post .article-content .km-honestReviewComments__othersHeading::-webkit-details-marker {
	display: none;
}

body.single-post .article-content .km-honestReviewComments__othersHeading::after {
	content: "＋";
	flex: 0 0 auto;
	color: #df704a;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
}

body.single-post .article-content .km-honestReviewComments__others[open] .km-honestReviewComments__othersHeading::after {
	content: "−";
}

body.single-post .article-content .km-honestReviewComments__othersBody {
	padding-top: 14px;
}

body.single-post .article-content .km-honestReviewComments__empty {
	margin: 0;
	color: #766c60;
	font-size: 13px;
}

body.single-post .article-content .km-honestReviewComments__title,
body.single-post .article-content .km-honestReviewComments__note {
    margin: 0;
}

body.single-post .article-content .km-honestReviewComments__title {
    color: var(--km-text);
    font-size: 17px;
    font-weight: 800;
}

body.single-post .article-content .km-honestReviewComments__note {
    color: #766c60;
    font-size: 12px;
}

body.single-post .article-content .km-honestReviewComments__notice {
    margin: 0 0 14px;
    padding: 10px 12px;
    color: #75601e;
    font-size: 13px;
    background: #fff3c8;
    border-radius: 8px;
}

body.single-post .article-content .km-honestReviewComments__notice--success {
    display: flex;
    align-items: center;
    gap: 8px;
}

body.single-post .article-content .km-honestReviewComments__notice--success p {
    margin: 0;
}

body.single-post .article-content .km-honestReviewComments__successButache {
    display: block;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    object-fit: contain;
    animation: km-honest-review-butache-jump 680ms ease-out both;
    transform-origin: center bottom;
}

@keyframes km-honest-review-butache-jump {
    0% {
        transform: translateY(0) scale(0.94);
    }
    35% {
        transform: translateY(-10px) scale(1.04);
    }
    58% {
        transform: translateY(0) scale(0.98);
    }
    78% {
        transform: translateY(-4px) scale(1.01);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

body.single-post .article-content .km-honestReviewComments__notice--error {
    color: #9b3f32;
    background: #fff0ed;
}

body.single-post .article-content .km-honestReviewComments__list {
    display: grid;
    gap: 10px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

body.single-post .article-content .km-honestReviewComments__item {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 10px;
}

body.single-post .article-content .km-honestReviewComments__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 5px;
    color: #8a8075;
    font-size: 11px;
}

body.single-post .article-content .km-honestReviewComments__author {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #594f45;
    font-size: 13px;
    font-weight: 700;
}

body.single-post .article-content .km-honestReviewComments__avatar {
    display: block;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    object-fit: contain;
}

body.single-post .article-content .km-honestReviewComments__content,
body.single-post .article-content .km-honestReviewComments__content p {
    margin: 0;
    color: var(--km-text);
    font-size: 14px;
    line-height: 1.7;
}

body.single-post .article-content .km-honestReviewComments__figure {
    margin: 10px 0 0;
    width: min(100%, 120px);
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 10px;
    background: #f5f1eb;
}

body.single-post .article-content .km-honestReviewComments__figure a {
    display: block;
    width: 100%;
    height: 100%;
}

body.single-post .article-content .km-honestReviewComments__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.single-post .article-content .km-honestReviewComments__form {
    display: grid;
    grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
}

body.single-post .article-content .km-honestReviewComments__field {
    display: grid;
    gap: 5px;
    color: #655b50;
    font-size: 12px;
    font-weight: 700;
}

body.single-post .article-content .km-honestReviewComments__field input,
body.single-post .article-content .km-honestReviewComments__field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 10px;
    color: var(--km-text);
    font: inherit;
    background: #fff;
    border: 1px solid #dfd5c8;
    border-radius: 8px;
}

body.single-post .article-content .km-honestReviewComments__field textarea {
    min-height: 76px;
    resize: vertical;
}

body.single-post .article-content .km-honestReviewComments__field--author {
    grid-column: 1;
    grid-row: 1;
}

body.single-post .article-content .km-honestReviewComments__field--comment {
    grid-column: 2;
    grid-row: 1;
}

body.single-post .article-content .km-honestReviewComments__field--image {
    grid-column: 1 / -1;
    grid-row: 3;
}

body.single-post .article-content .km-honestReviewComments__avatars {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    padding: 0;
    border: 0;
}

body.single-post .article-content .km-honestReviewComments__avatars legend {
    margin-bottom: 6px;
    color: #655b50;
    font-size: 12px;
    font-weight: 700;
}

body.single-post .article-content .km-honestReviewComments__avatarOptions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.single-post .article-content .km-honestReviewComments__avatarOption {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    color: #655b50;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #e6d8c8;
    border-radius: 50%;
    cursor: pointer;
}

body.single-post .article-content .km-honestReviewComments__avatarOption:has(input:checked) {
    color: #a64c2f;
    background: #fff3dc;
    border-color: #ed9a68;
}

body.single-post .article-content .km-honestReviewComments__avatarOption input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

body.single-post .article-content .km-honestReviewComments__avatarPreview,
body.single-post .article-content .km-honestReviewComments__avatarPreview img {
    display: block;
    width: 40px;
    height: 40px;
}

body.single-post .article-content .km-honestReviewComments__avatarPreview {
    flex: 0 0 40px;
    overflow: hidden;
    border-radius: 50%;
}

body.single-post .article-content .km-honestReviewComments__avatarOption input:checked + .km-honestReviewComments__avatarPreview {
    background: #fff3dc;
    border-radius: 50%;
    outline: 2px solid #ed9a68;
    outline-offset: 2px;
}

body.single-post .article-content .km-honestReviewComments__avatarOption input:focus-visible + .km-honestReviewComments__avatarPreview {
    outline: 2px solid #2386c8;
    outline-offset: 3px;
}

body.single-post .article-content .km-honestReviewComments__avatarPreview img {
    object-fit: contain;
    object-position: center;
}

body.single-post .article-content .km-honestReviewComments__avatarOption--standard .km-honestReviewComments__avatarPreview img {
	transform: translateY(-18px) scale(1.2);
}

body.single-post .article-content .km-honestReviewComments__avatarOption--reading .km-honestReviewComments__avatarPreview img {
	transform: translateY(-18px) scale(1.55);
}

body.single-post .article-content .km-honestReviewComments__avatarOption--outing .km-honestReviewComments__avatarPreview img {
	transform: translateY(-16px) scale(0.78);
}

body.single-post .article-content .km-honestReviewComments__avatarOption--ai .km-honestReviewComments__avatarPreview img {
	transform: translateY(-18px) scale(1.12);
}

body.single-post .article-content .km-honestReviewComments__avatarOption--robot .km-honestReviewComments__avatarPreview img {
	transform: translateY(-16px) scale(0.82);
}

body.single-post .article-content .km-honestReviewComments__avatarOption--dogeza .km-honestReviewComments__avatarPreview img {
	transform: translateY(-16px) scale(0.82);
}

body.single-post .article-content .km-honestReviewComments__field--image input {
    padding: 7px 8px;
    font-weight: 500;
}

body.single-post .article-content .km-honestReviewComments__submit {
    grid-column: 3;
    grid-row: 1;
    min-height: 42px;
    padding: 9px 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    background: #ef7f54;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
}

body.single-post .article-content .km-honestReviewComments__next {
    display: none;
}

body.single-post .article-content .km-honestReviewComments__submit:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

body.single-post .article-content .km-honestReviewComments__trap {
    position: absolute;
    left: -9999px;
}

@media (max-width: 640px) {
    body.single-post .article-content .km-honestReview {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        margin: 28px 0;
        padding: 18px 14px 20px;
        border-radius: 22px;
    }

    body.single-post .article-content .km-honestReview__chart {
        padding: 8px 4px 0;
    }

    body.single-post .article-content .km-honestReview__radar {
        width: min(100%, 250px);
    }

    body.single-post .article-content .km-honestReview__comment {
        padding: 8px 8px 4px;
    }

    body.single-post .article-content .km-honestReview__commentHeader {
        min-height: 62px;
        margin-bottom: 12px;
    }

    body.single-post .article-content .km-honestReview__commentLabel {
        padding: 6px 13px;
        font-size: 16px;
    }

    body.single-post .article-content .km-honestReview__butache {
        width: 78px;
        height: 78px;
        flex-basis: 78px;
        margin-top: -18px;
        transform: translateY(-12px);
    }

    body.single-post .article-content .km-honestReview__commentText,
    body.single-post .article-content .km-honestReview__commentText p {
        font-size: 16px;
        line-height: 1.8;
    }

    body.single-post .article-content .km-honestReviewComments {
        padding-top: 16px;
    }

    body.single-post .article-content .km-honestReviewComments__heading {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 10px;
    }

    body.single-post .article-content .km-honestReviewComments__heading::after {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    body.single-post .article-content .km-honestReviewComments__note {
        grid-column: 1;
        margin-top: 3px;
    }

    body.single-post .article-content .km-honestReviewComments__form {
        grid-template-columns: 1fr;
    }

    body.single-post .article-content .km-honestReviewComments__field--author,
    body.single-post .article-content .km-honestReviewComments__field--comment,
    body.single-post .article-content .km-honestReviewComments__field--image,
    body.single-post .article-content .km-honestReviewComments__avatars,
    body.single-post .article-content .km-honestReviewComments__submit {
        grid-column: 1;
        grid-row: auto;
    }

    body.single-post .article-content .km-honestReviewComments__submit {
        justify-self: start;
    }

    body.single-post .article-content .km-honestReviewComments__next {
        min-height: 42px;
        padding: 9px 18px;
        color: #fff;
        font-size: 13px;
        font-weight: 800;
        background: #ef7f54;
        border: 0;
        border-radius: 9px;
        cursor: pointer;
    }

    body.single-post .article-content .km-honestReviewComments__form.is-mobile-step-form.is-step-one .km-honestReviewComments__avatars,
    body.single-post .article-content .km-honestReviewComments__form.is-mobile-step-form.is-step-one .km-honestReviewComments__field--image,
    body.single-post .article-content .km-honestReviewComments__form.is-mobile-step-form.is-step-one .km-honestReviewComments__submit {
        display: none;
    }

    body.single-post .article-content .km-honestReviewComments__form.is-mobile-step-form.is-step-one .km-honestReviewComments__next {
        display: inline-flex;
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
        align-items: center;
        justify-content: center;
    }

    body.single-post .article-content .km-honestReviewComments__form.is-mobile-step-form.is-step-two .km-honestReviewComments__next {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.single-post .article-content .km-honestReview__score.is-animation-ready {
        opacity: 1;
    }

    body.single-post .article-content .km-honestReview__score.is-visible {
        animation: none;
    }

    body.single-post .article-content .km-honestReviewComments__successButache {
        animation: none;
    }
}
