.yuka-of {
	box-sizing: border-box;
	margin: 1.5rem 0;
	font-family: inherit;
}
.yuka-of *, .yuka-of *::before, .yuka-of *::after,
.yuka-of-modal, .yuka-of-modal *, .yuka-of-modal *::before, .yuka-of-modal *::after {
	box-sizing: border-box;
}
.yuka-of-teaser__inner,
.yuka-of-panel,
.yuka-of-result {
	border: 1px solid #e5ded5;
	background: #fffdf9;
	padding: 18px;
}
.yuka-of-kicker {
	margin: 0 0 6px;
	font-size: 12px;
	letter-spacing: .08em;
	font-weight: 700;
	color: #8a7663;
}
.yuka-of-title,
.yuka-of-main-title {
	margin: 0 0 8px;
	line-height: 1.4;
	font-weight: 700;
}
.yuka-of-title {
	font-size: 1.05rem;
}
.yuka-of-main-title {
	font-size: 1.35rem;
}
.yuka-of-text {
	margin: 0 0 14px;
	font-size: .94rem;
	line-height: 1.8;
	color: #5d5148;
}
.yuka-of-choice-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}
.yuka-of-choice-grid--teaser {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.yuka-of-choice {
	width: 100%;
	min-height: 54px;
	padding: 12px 13px;
	border: 1px solid #e3d6c8;
	background: #fff;
	font: inherit;
	line-height: 1.5;
	text-align: left;
	cursor: pointer;
	transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.yuka-of-choice:hover,
.yuka-of-choice:focus-visible {
	border-color: #b99a76;
	background: #fff8ef;
}
.yuka-of-choice.is-selected {
	border-color: #9c744c;
	background: #fff2e2;
}
.yuka-of-choice__label {
	display: block;
	font-weight: 700;
	color: #3d332c;
}
.yuka-of-choice__desc {
	display: block;
	margin-top: 3px;
	font-size: 12px;
	color: #7a6b60;
}
.yuka-of-progress {
	height: 5px;
	background: #f0e7dc;
	margin: 14px 0 16px;
	overflow: hidden;
}
.yuka-of-progress span {
	display: block;
	height: 100%;
	width: 0;
	background: #9c744c;
	transition: width .2s ease;
}
.yuka-of-question-title {
	margin: 0 0 14px;
	font-size: 1.05rem;
	font-weight: 700;
}
.yuka-of-actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	align-items: center;
	margin-top: 16px;
}
.yuka-of-btn {
	appearance: none;
	border: 1px solid #9c744c;
	background: #9c744c;
	color: #fff;
	padding: 10px 16px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.yuka-of-btn--back {
	background: #fff;
	color: #6d563f;
}
.yuka-of-btn[disabled] {
	opacity: .45;
	cursor: not-allowed;
}
.yuka-of-status {
	min-height: 1.5em;
	margin: 12px 0 0;
	font-size: 13px;
	color: #7a6b60;
}
.yuka-of-result {
	margin-top: 16px;
}
.yuka-of-result__type {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 700;
	color: #8a7663;
}
.yuka-of-result__title {
	margin: 0 0 10px;
	font-size: 1.35rem;
	line-height: 1.45;
}
.yuka-of-result__message {
	margin: 0 0 14px;
	line-height: 1.9;
}
.yuka-of-lucky {
	margin: 14px 0;
	padding: 12px 14px;
	background: #fff6eb;
	border-left: 4px solid #c49a6c;
}
.yuka-of-lucky strong {
	display: block;
	font-size: 13px;
	color: #8a6541;
}
.yuka-of-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0 18px;
}
.yuka-of-tag {
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	border: 1px solid #e3d6c8;
	background: #fff;
	font-size: 12px;
	color: #6a5849;
	text-decoration: none;
}
.yuka-of-related-title,
.yuka-of-cta-title {
	margin: 18px 0 10px;
	font-size: 1rem;
	font-weight: 700;
}
.yuka-of-related {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.yuka-of-related-card {
	border: 1px solid #eadfd3;
	background: #fff;
	overflow: hidden;
}
.yuka-of-related-card a {
	display: block;
	color: inherit;
	text-decoration: none;
}
.yuka-of-related-card img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	object-fit: cover;
	background: #f2eee8;
}
.yuka-of-related-card__body {
	padding: 10px;
}
.yuka-of-related-card__title {
	margin: 0 0 6px;
	font-size: .92rem;
	font-weight: 700;
	line-height: 1.55;
}
.yuka-of-related-card__excerpt {
	margin: 0;
	font-size: 12px;
	line-height: 1.7;
	color: #70645a;
}
.yuka-of-default-cta {
	padding: 14px;
	border: 1px solid #e3d6c8;
	background: #fff;
}
.yuka-of-default-cta p {
	margin: 6px 0 0;
	line-height: 1.8;
}
@media (max-width: 640px) {
	.yuka-of-teaser__inner,
	.yuka-of-panel,
	.yuka-of-result {
		padding: 15px;
	}
	.yuka-of-choice-grid,
	.yuka-of-choice-grid--teaser,
	.yuka-of-related {
		grid-template-columns: 1fr;
	}
	.yuka-of-actions {
		justify-content: stretch;
	}
	.yuka-of-btn {
		flex: 1;
	}
}

.yuka-of-modal-open {
	overflow: hidden;
}
.yuka-of-modal[hidden] {
	display: none !important;
}
.yuka-of-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
}
.yuka-of-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(40, 32, 26, .46);
}
.yuka-of-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(720px, 100%);
	max-height: min(86vh, 780px);
	overflow: auto;
	border: 1px solid #e5ded5;
	background: #fffdf9;
	padding: 22px;
	box-shadow: 0 18px 46px rgba(0, 0, 0, .18);
}
.yuka-of-modal__title {
	margin: 0 34px 8px 0;
	font-size: 1.2rem;
	line-height: 1.45;
}
.yuka-of-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 34px;
	height: 34px;
	border: 1px solid #e3d6c8;
	background: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	color: #6d563f;
}
.yuka-of-modal__close:hover,
.yuka-of-modal__close:focus-visible {
	border-color: #b99a76;
	background: #fff8ef;
}
@media (max-width: 640px) {
	.yuka-of-modal {
		align-items: flex-end;
		padding: 0;
	}
	.yuka-of-modal__dialog {
		width: 100%;
		max-height: 88vh;
		padding: 18px 15px;
		border-right: 0;
		border-left: 0;
		border-bottom: 0;
	}
}
.yuka-of-loading,
.yuka-of-error {
	margin: 0;
	line-height: 1.8;
	color: #6d5d50;
}
.yuka-of-error {
	color: #8a3a2f;
}

/* v0.1.7: 記事・ウィジェット入口だけを小型化。モーダルと診断本体には影響させない。 */
.yuka-of-teaser {
	margin: .65rem 0;
}
.yuka-of-teaser .yuka-of-teaser__inner {
	padding: 8px 10px;
	background: #fffdf9;
}
.yuka-of-teaser .yuka-of-kicker {
	margin: 0 0 4px;
	font-size: 10px;
	line-height: 1.3;
	letter-spacing: .06em;
	font-weight: 700;
}
.yuka-of-teaser .yuka-of-title {
	margin: 0 0 7px;
	font-size: 13px;
	line-height: 1.45;
}
.yuka-of-teaser .yuka-of-text,
.yuka-of-teaser .yuka-of-choice__desc {
	display: none;
}
.yuka-of-teaser .yuka-of-choice-grid--teaser {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 5px 6px;
}
.yuka-of-teaser .yuka-of-choice {
	min-height: 31px;
	padding: 6px 8px;
	font-size: 12px;
	line-height: 1.35;
	text-align: center;
	background: #fff;
}
.yuka-of-teaser .yuka-of-choice__label {
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
@media (max-width: 640px) {
	.yuka-of-teaser {
		margin: .55rem 0;
	}
	.yuka-of-teaser .yuka-of-teaser__inner {
		padding: 7px 8px;
	}
	.yuka-of-teaser .yuka-of-choice-grid--teaser {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 4px 5px;
	}
	.yuka-of-teaser .yuka-of-choice {
		min-height: 30px;
		padding: 5px 6px;
		font-size: 11.5px;
	}
}
