/* 20261023 色見本診断 あなたの一色（/shindan）。色を見比べる画面なので、枠や飾りは控えめにして色の見え方を邪魔しない */

.shindan-start h3,
.shindan-result h3,
.shindan-types h3,
.shindan-about h3 {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 10px;
}

.shindan-deck {
	display: flex;
	height: 72px;
	margin: 16px 0;
	border-radius: 8px;
	overflow: hidden;
}

.shindan-deck span {
	flex: 1;
}

.shindan-begin {
	display: block;
	width: 100%;
	max-width: 360px;
	margin: 0 auto;
	padding: 10px 20px;
	border-radius: 999px;
}

.shindan-note {
	font-size: 12px;
	color: #777;
	margin: 10px 0 0;
}

.shindan-start .shindan-note {
	text-align: center;
}

/* ---- 2色から選ぶ画面 ---- */
.shindan-head {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 8px;
}

.shindan-back {
	justify-self: start;
	padding: 4px 0;
	border: 0;
	background: none;
	font-size: 13px;
	color: #777;
	cursor: pointer;
}

.shindan-back:disabled {
	visibility: hidden;
}

.shindan-prompt {
	margin: 0;
	font-size: 16px;
	text-align: center;
}

.shindan-count {
	justify-self: end;
	margin: 0;
	font-size: 13px;
	color: #777;
	font-variant-numeric: tabular-nums;
}

.shindan-progress {
	height: 2px;
	margin: 8px 0 12px;
	background: #ddd;
}

.shindan-progress span {
	display: block;
	width: 0;
	height: 100%;
	background: #333;
	transition: width 0.25s ease;
}

.shindan-duel {
	display: flex;
	gap: 12px;
	height: 360px;
}

.shindan-swatch {
	flex: 1;
	min-width: 0;
	border: 0;
	border-radius: 16px;
	/* 白に近い色でも地との境目が分かるように、ごく薄い縁を入れる */
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.shindan-swatch:active {
	transform: scale(0.985);
}

.shindan-swatch.passed {
	opacity: 0.15;
}

/* ---- 結果 ---- */
.shindan-hero {
	padding: 40px 24px 28px;
	margin-bottom: 20px;
	border-radius: 4px;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.shindan-hero p {
	margin: 0;
}

.shindan-hero-label {
	font-size: 12px;
	letter-spacing: 0.1em;
	opacity: 0.85;
}

.shindan-hero-name {
	font-size: 48px;
	font-weight: bold;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.shindan-hero-sub {
	font-size: 16px;
}

.shindan-hero-meta {
	margin-top: 12px !important;
	font-size: 13px;
	opacity: 0.85;
}

.shindan-label {
	font-size: 12px;
	color: #777;
	margin: 0;
}

.shindan-result h4,
.shindan-picks h4 {
	font-size: 15px;
	font-weight: bold;
	margin: 20px 0 8px;
}

.shindan-result-type a {
	color: inherit;
}

.shindan-axis {
	display: grid;
	grid-template-columns: 4.5em 1fr 4.5em;
	align-items: center;
	gap: 8px;
	max-width: 480px;
	font-size: 13px;
	color: #999;
}

.shindan-axis .on {
	color: #333;
	font-weight: bold;
}

.shindan-axis-right {
	text-align: right;
}

.shindan-axis-track {
	position: relative;
	height: 2px;
	background: #ccc;
}

.shindan-axis-track i {
	position: absolute;
	top: -5px;
	width: 12px;
	height: 12px;
	margin-left: -6px;
	border-radius: 50%;
	background: #333;
}

.shindan-aruaru {
	padding-left: 1.2em;
	margin: 0;
}

.shindan-chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.shindan-chip-list a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #333;
}

.shindan-chip {
	display: inline-block;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.shindan-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
}

.shindan-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	margin-top: 16px;
	font-size: 13px;
}

.shindan-share a,
.shindan-share button {
	padding: 0;
	border: 0;
	background: none;
	color: #333;
	font-size: 13px;
	cursor: pointer;
}

.shindan-share-status {
	color: #777;
	font-size: 12px;
	overflow-wrap: anywhere;
}

.shindan-more {
	margin: 16px 0 0;
	font-size: 13px;
}

/* ---- 8つの色タイプ ---- */
.shindan-types,
.shindan-about,
.shindan-result,
.shindan-picks,
.shindan-quiz {
	margin-top: 20px;
}

.shindan-type-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.shindan-type-list a {
	display: block;
	color: #333;
}

.shindan-type-list a.current .shindan-type-name {
	text-decoration: underline;
}

.shindan-type-chips {
	display: flex;
	height: 28px;
	border-radius: 4px;
	overflow: hidden;
}

.shindan-type-chips span {
	flex: 1;
}

.shindan-type-name {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	font-weight: bold;
}

.shindan-type-tone {
	display: block;
	font-size: 12px;
	color: #777;
}

.shindan-about p {
	font-size: 13px;
}

/* スマホ: 2色は上下に並べ、画面の高さを大きく使う */
@media (max-width: 767px) {
	.shindan-duel {
		flex-direction: column;
		height: 62vh;
		height: 62dvh;
	}

	.shindan-hero-name {
		font-size: 36px;
	}

	.shindan-type-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
