@charset "utf-8";
/**
 * わたしのヒカリ TOPページ専用スタイル
 * front-page.php でのみ読み込まれる（functions.php の is_front_page() 判定）
 *
 * デザインテーマ: ロゴ準拠のポップ
 * ロゴのティール(#3BC3B3)×ピンク(#EB5E96)の2色 + クリーム地。
 * 丸ゴシック(M PLUS Rounded 1c)・太めの角丸・水玉やマーカー風の装飾で、
 * やわらかく親しみやすいトーンに揃える。
 */

.wh-front {
	--wh-teal: #3bc3b3;
	--wh-teal-dark: #27a99a;
	--wh-teal-pale: #e3f7f4;
	--wh-pink: #eb5e96;
	--wh-pink-dark: #d8437e;
	--wh-pink-pale: #fdecf3;
	--wh-cream: #fff9f1;
	--wh-ink: #40404a;
	--wh-sub: #8a8a96;
	--wh-line: #efe9e0;
	--wh-radius: 20px;
	--wh-radius-lg: 28px;
	--wh-gap: 18px;
	font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "HG丸ｺﾞｼｯｸM-PRO", "Yu Gothic", sans-serif;
	color: var(--wh-ink);
}

.wh-front .l-mainContent__inner {
	padding-top: 0;
}

/* ページ背景: ティール×ピンクの水玉と「＋」をうっすら散らす
   (front-page.cssはTOPのみ読み込みのためbody指定でも他ページに影響しない) */
body {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cg fill='none'%3E%3Ccircle cx='32' cy='44' r='4' fill='%233bc3b3' opacity='.13'/%3E%3Ccircle cx='150' cy='96' r='3' fill='%23eb5e96' opacity='.12'/%3E%3Ccircle cx='224' cy='34' r='5' stroke='%233bc3b3' stroke-width='2' opacity='.11'/%3E%3Ccircle cx='76' cy='184' r='5' stroke='%23eb5e96' stroke-width='2' opacity='.1'/%3E%3Ccircle cx='204' cy='216' r='3.5' fill='%233bc3b3' opacity='.11'/%3E%3Cpath d='M122 26h11M127.5 20.5v11' stroke='%23eb5e96' stroke-width='2.5' stroke-linecap='round' opacity='.12'/%3E%3Cpath d='M26 124h13M32.5 117.5v13' stroke='%233bc3b3' stroke-width='2.5' stroke-linecap='round' opacity='.12'/%3E%3Cpath d='M182 150h11M187.5 144.5v11' stroke='%233bc3b3' stroke-width='2.5' stroke-linecap='round' opacity='.09' transform='rotate(20 187.5 150)'/%3E%3Ccircle cx='118' cy='236' r='2.5' fill='%23eb5e96' opacity='.1'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 260px 260px;
}

/* マーカー風ハイライト（共通） */
.wh-mark {
	background: transparent;
	color: inherit;
	padding: 0 2px;
}

.wh-mark--pink {
	background: linear-gradient(transparent 58%, #fbc9dd 58%);
}

.wh-mark--teal {
	background: linear-gradient(transparent 58%, #b8ece5 58%);
}

@keyframes whPop {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   共通セクション
   ============================================================ */
.wh-sec {
	margin-top: 84px;
}

.wh-sec__head {
	margin-bottom: 30px;
	text-align: center;
}

/* タイトル左右にティール・ピンクの水玉を添える */
.wh-sec__ttl {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.4;
	color: var(--wh-ink);
	border: none;
	padding: 0;
}

.wh-sec__ttl::before,
.wh-sec__ttl::after {
	content: "";
	flex-shrink: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

.wh-sec__ttl::before {
	background: var(--wh-teal);
	box-shadow: -14px 6px 0 -3px var(--wh-pink);
}

.wh-sec__ttl::after {
	background: var(--wh-pink);
	box-shadow: 14px 6px 0 -3px var(--wh-teal);
}

.wh-sec__sub {
	margin: 10px 0 0;
	font-size: 13.5px;
	line-height: 1.8;
	color: var(--wh-sub);
}

/* ============================================================
   1. ヒーロー + 条件セレクタ
   ============================================================ */
.wh-hero {
	position: relative;
	margin: 24px 0 8px;
	padding: 0;
	border-radius: var(--wh-radius-lg);
	overflow: hidden;
}

/* --- ヒーロー画像（メインビジュアル） --- */
.wh-hero__visual {
	margin: 0;
	line-height: 0;
}

.wh-hero__img {
	display: block;
	width: 100%;
	height: auto;
}

/* コンフェッティ装飾 */
.wh-deco {
	position: absolute;
	pointer-events: none;
}

.wh-deco--dotT {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--wh-teal);
	top: 40px;
	right: 15%;
	opacity: .75;
}

.wh-deco--dotP {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--wh-pink);
	top: 110px;
	right: 7%;
	opacity: .7;
}

.wh-deco--dotT2 {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--wh-teal);
	bottom: 90px;
	left: 4%;
	opacity: .55;
}

.wh-deco--ringT {
	width: 26px;
	height: 26px;
	border: 4px solid var(--wh-teal);
	border-radius: 50%;
	top: 66px;
	left: 8%;
	opacity: .4;
}

.wh-deco--ringP {
	width: 18px;
	height: 18px;
	border: 3.5px solid var(--wh-pink);
	border-radius: 50%;
	bottom: 60px;
	right: 5%;
	opacity: .45;
}

.wh-deco--plusT,
.wh-deco--plusP {
	font-size: 20px;
	font-weight: 800;
	line-height: 1;
}

.wh-deco--plusT {
	color: var(--wh-teal);
	top: 30%;
	left: 3%;
	opacity: .5;
	transform: rotate(12deg);
}

.wh-deco--plusP {
	color: var(--wh-pink);
	top: 18px;
	left: 38%;
	opacity: .45;
	transform: rotate(-8deg);
}

.wh-hero__lead {
	position: relative;
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
	animation: whPop .5s ease-out both;
}

.wh-hero__badge {
	display: inline-block;
	margin: 0;
	padding: 7px 18px;
	border-radius: 999px;
	background: #fff;
	border: 2px solid var(--wh-teal);
	color: var(--wh-teal-dark);
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .06em;
}

.wh-hero__ttl {
	margin: 20px 0 0;
	font-size: 36px;
	font-weight: 800;
	line-height: 1.55;
	letter-spacing: .02em;
	color: var(--wh-ink);
}

.wh-hero__desc {
	margin: 16px 0 0;
	font-size: 14.5px;
	line-height: 2;
	color: #6d6d78;
}

/* --- 回線タイプ診断（MBTI風） --- */
.wh-quiz {
	position: relative;
	max-width: 720px;
	margin: 32px auto 0;
	padding: 28px 30px 26px;
	border: 3px solid var(--wh-teal);
	border-radius: 24px;
	background: #fff;
	box-shadow: 8px 8px 0 rgba(59, 195, 179, .18);
	animation: whPop .5s ease-out .1s both;
}

.wh-quiz__ttl {
	margin: -2px 0 6px;
	text-align: center;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: .08em;
	color: var(--wh-pink);
}

.wh-quiz__sub {
	margin: 0 0 18px;
	text-align: center;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.8;
	color: var(--wh-sub);
}

/* 進捗バー */
.wh-quiz__progress {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}

/* display:flex がUAの [hidden] 既定を上書きしてしまうため明示する */
.wh-quiz__progress[hidden] {
	display: none;
}

/* 質問文へのフォーカス移動(JS)用。装飾リングは出さない */
.wh-quiz__q:focus {
	outline: none;
}

.wh-quiz__count {
	flex-shrink: 0;
	min-width: 58px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--wh-teal);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	text-align: center;
	letter-spacing: .04em;
}

.wh-quiz__count small {
	font-size: 10px;
	opacity: .85;
}

.wh-quiz__track {
	flex: 1;
	height: 10px;
	border-radius: 999px;
	background: var(--wh-teal-pale);
	overflow: hidden;
}

.wh-quiz__bar {
	display: block;
	width: 0;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--wh-teal), var(--wh-pink));
	transition: width .35s ease-out;
}

/* 質問パネル（1問ずつ表示） */
.wh-quiz__panel {
	display: none;
}

.wh-quiz__panel.is-active {
	display: block;
	animation: whPop .35s ease-out both;
}

.wh-quiz__q {
	margin: 0 0 16px;
	text-align: center;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.6;
	color: var(--wh-ink);
}

.wh-quiz__opts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 12px;
}

.wh-quiz__opt {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 96px;
	padding: 16px 14px;
	border-radius: 18px;
	background: #fff;
	color: var(--wh-ink);
	font-family: inherit;
	cursor: pointer;
	transition: transform .15s, box-shadow .15s, background-color .15s, color .15s;
}

.wh-quiz__opt--teal {
	border: 2.5px solid var(--wh-teal);
	box-shadow: 0 4px 0 rgba(59, 195, 179, .35);
}

.wh-quiz__opt--pink {
	border: 2.5px solid var(--wh-pink);
	box-shadow: 0 4px 0 rgba(235, 94, 150, .3);
}

.wh-quiz__opt:hover {
	transform: translateY(-3px);
}

.wh-quiz__opt--teal[aria-pressed="true"] {
	background: var(--wh-teal);
	color: #fff;
	box-shadow: 0 4px 0 var(--wh-teal-dark);
}

.wh-quiz__opt--pink[aria-pressed="true"] {
	background: var(--wh-pink);
	color: #fff;
	box-shadow: 0 4px 0 var(--wh-pink-dark);
}

.wh-quiz__optIcon {
	font-size: 30px;
	line-height: 1;
}

.wh-quiz__optLabel {
	font-size: 14.5px;
	font-weight: 800;
	line-height: 1.55;
	text-align: center;
}

.wh-quiz__back {
	display: block;
	margin: 16px auto 0;
	padding: 4px 8px;
	border: none;
	background: none;
	color: var(--wh-sub);
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.wh-quiz__back:hover {
	color: var(--wh-teal-dark);
}

/* 診断中の演出 */
.wh-quiz__judging {
	padding: 26px 0 20px;
	text-align: center;
}

.wh-quiz__crystal {
	display: inline-block;
	font-size: 46px;
	line-height: 1;
	animation: whCrystal 1s ease-in-out infinite;
}

@keyframes whCrystal {
	0%, 100% { transform: translateY(0) rotate(-6deg); }
	50%      { transform: translateY(-8px) rotate(6deg); }
}

.wh-quiz__judgingText {
	margin: 14px 0 0;
	font-size: 15px;
	font-weight: 800;
	color: var(--wh-ink);
}

.wh-quiz__dots i {
	display: inline-block;
	font-style: normal;
	animation: whDot 1.2s infinite;
}

.wh-quiz__dots i:nth-child(2) { animation-delay: .2s; }
.wh-quiz__dots i:nth-child(3) { animation-delay: .4s; }

@keyframes whDot {
	0%, 60%, 100% { opacity: .25; }
	30%           { opacity: 1; }
}

/* --- 診断結果 --- */
.wh-quiz__result {
	animation: whPop .45s ease-out both;
}

.wh-quizResult__intro {
	margin: 4px 0 14px;
	text-align: center;
	font-size: 14px;
	font-weight: 800;
	color: var(--wh-sub);
}

.wh-quizResult__hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 22px 18px;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--wh-teal-pale), var(--wh-pink-pale));
	text-align: center;
}

.wh-quizResult__emoji {
	font-size: 52px;
	line-height: 1;
	animation: whCrystal 1.6s ease-in-out infinite;
}

/* タイプ別キャラ画像(絵文字の代わり)。丸ロゴ型でふわふわ揺れる */
.wh-quizResult__img {
	display: block;
	width: 124px;
	height: 124px;
	border-radius: 50%;
	border: 3px solid #fff;
	box-shadow: 0 4px 14px rgba(64, 64, 74, .12);
	animation: whCrystal 2.4s ease-in-out infinite;
}

/* キャラ名(結果ヒーロー) */
.wh-quizResult__chara {
	margin: 4px 0 0;
	padding: 3px 16px;
	border-radius: 999px;
	background: #fff;
	border: 2px solid var(--wh-teal);
	color: var(--wh-teal-dark);
	font-size: 13px;
	font-weight: 800;
}

.wh-quizResult__name {
	margin: 2px 0 0;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.4;
	color: var(--wh-ink);
}

.wh-quizResult__catch {
	margin: 0;
	font-size: 15px;
	font-weight: 800;
	color: var(--wh-pink);
}

/* 傾向ゲージ（MBTI結果風） */
.wh-quizResult__gauges {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.wh-quizGauge {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.wh-quizGauge__pole {
	flex-shrink: 0;
	width: 7.5em;
	font-size: 11px;
	font-weight: 700;
	color: var(--wh-sub);
}

.wh-quizGauge__pole:first-child {
	text-align: right;
}

.wh-quizGauge__pole.is-active {
	color: var(--wh-ink);
	font-weight: 800;
}

.wh-quizGauge__track {
	position: relative;
	flex: 1;
	height: 18px;
	border-radius: 999px;
	background: #f4f2ee;
	overflow: hidden;
}

.wh-quizGauge__fill {
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	border-radius: 999px;
	background: var(--wh-teal);
	transition: width .8s cubic-bezier(.25, .9, .35, 1.1);
}

.wh-quizGauge--right .wh-quizGauge__fill {
	left: auto;
	right: 0;
	background: var(--wh-pink);
}

.wh-quizGauge__pct {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 10.5px;
	font-weight: 800;
	color: var(--wh-ink);
	text-shadow: 0 0 3px #fff, 0 0 3px #fff;
}

.wh-quizResult__desc {
	margin: 18px 0 0;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 2;
	color: #6d6d78;
}

/* 「あなたと同じタイプは全体の◯%」 */
.wh-quizResult__stat {
	margin: 12px 0 0;
	text-align: center;
	font-size: 13.5px;
	font-weight: 800;
	color: var(--wh-teal-dark);
}

.wh-quizResult__rare {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--wh-pink);
	color: #fff;
	font-size: 11px;
}

.wh-quizResult__area {
	margin: 14px 0 0;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.8;
	color: var(--wh-sub);
}

.wh-quizResult__area a {
	color: var(--wh-teal-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* 全8タイプ一覧(アコーディオン) */
.wh-quizResult__all {
	margin-top: 18px;
}

/* 診断前の「ちら見」導線(質問エリアの下に区切って置く) */
.wh-quiz__teaser {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 2px dashed var(--wh-teal-pale);
}

.wh-quizResult__allToggle {
	display: block;
	width: fit-content;
	margin: 0 auto;
	padding: 8px 22px;
	border-radius: 999px;
	border: 2px dashed var(--wh-teal);
	color: var(--wh-teal-dark);
	font-size: 12.5px;
	font-weight: 800;
	cursor: pointer;
	list-style: none;
	transition: background-color .15s;
}

.wh-quizResult__allToggle::-webkit-details-marker {
	display: none;
}

.wh-quizResult__allToggle::before {
	content: "▼ ";
	font-size: 10px;
}

.wh-quizResult__all[open] .wh-quizResult__allToggle::before {
	content: "▲ ";
}

.wh-quizResult__allToggle:hover {
	background: var(--wh-teal-pale);
}

.wh-quizTypes {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
}

.wh-quizTypes__item {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 10px 12px;
	border: 2px solid var(--wh-line);
	border-radius: 14px;
	background: #fff;
}

.wh-quizTypes__item.is-you {
	border-color: var(--wh-pink);
	background: var(--wh-pink-pale);
}

.wh-quizTypes__emoji {
	flex-shrink: 0;
	font-size: 22px;
	line-height: 1;
}

.wh-quizTypes__img {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
}

.wh-quizTypes__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.wh-quizTypes__name {
	font-size: 13.5px;
	font-weight: 800;
	color: var(--wh-ink);
}

.wh-quizTypes__chara {
	margin-left: 6px;
	font-size: 10px;
	font-weight: 800;
	color: var(--wh-teal-dark);
}

.wh-quizTypes__badge {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--wh-pink);
	color: #fff;
	font-size: 9.5px;
	font-weight: 800;
	vertical-align: 1px;
}

.wh-quizTypes__catch {
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--wh-sub);
}

.wh-quizResult__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 2px dashed var(--wh-teal-pale);
}

.wh-quizResult__share,
.wh-quizResult__retry {
	padding: 11px 24px;
	border-radius: 999px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
	transition: transform .15s, box-shadow .15s;
	text-decoration: none;
}

.wh-quizResult__share {
	background: var(--wh-ink);
	color: #fff;
	border: none;
	box-shadow: 0 3px 0 #26262e;
}

.wh-quizResult__share::before {
	content: "𝕏 ";
}

.wh-quizResult__retry {
	background: #fff;
	color: var(--wh-teal-dark);
	border: 2.5px solid var(--wh-teal);
	box-shadow: 0 3px 0 rgba(59, 195, 179, .35);
}

.wh-quizResult__share:hover,
.wh-quizResult__retry:hover {
	transform: translateY(-2px);
}

.wh-quizResult__lead,
.wh-result__lead {
	margin: 0 0 12px;
	text-align: center;
	font-size: 15px;
	font-weight: 800;
	color: var(--wh-pink);
}

/* 結果内ではタイプ説明文との間に余白をとる */
.wh-quizResult__lead {
	margin-top: 22px;
}

.wh-result__card {
	display: flex;
	gap: 16px;
	align-items: center;
	padding: 16px;
	border: 2.5px solid var(--wh-pink);
	border-radius: 18px;
	background: var(--wh-pink-pale);
	text-decoration: none;
	transition: transform .15s, box-shadow .15s;
}

.wh-result__card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 0 rgba(235, 94, 150, .25);
}

.wh-result__thumb {
	flex: 0 0 108px;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}

.wh-result__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wh-result__ttl {
	margin: 0;
	font-size: 14.5px;
	font-weight: 800;
	line-height: 1.6;
	color: var(--wh-ink);
}

.wh-result__cta {
	display: inline-block;
	margin-top: 8px;
	font-size: 12.5px;
	font-weight: 800;
	color: var(--wh-pink);
}

.wh-result__cta::after {
	content: " →";
}

.wh-result__sub {
	margin: 12px 0 0;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.7;
	color: var(--wh-sub);
}

.wh-result__sub a {
	color: var(--wh-teal-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.wh-result__sub a:hover {
	color: var(--wh-pink);
}

/* ============================================================
   2. 総合比較（主軸）
   ============================================================ */
/* 余白は .wh-sec（84px）にそろえる。ここだけ72pxだった */

.wh-pillar__card {
	display: grid;
	grid-template-columns: 46% 1fr;
	border: 3px solid var(--wh-pink);
	border-radius: var(--wh-radius-lg);
	overflow: hidden;
	background: #fff;
	box-shadow: 8px 8px 0 rgba(235, 94, 150, .16);
	text-decoration: none;
	transition: transform .2s, box-shadow .2s;
}

.wh-pillar__card:hover {
	transform: translate(-2px, -2px);
	box-shadow: 12px 12px 0 rgba(235, 94, 150, .2);
}

.wh-pillar__thumb {
	background: var(--wh-pink-pale);
}

.wh-pillar__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wh-pillar__body {
	padding: 30px 34px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.wh-pillar__label {
	display: inline-block;
	align-self: flex-start;
	margin: 0 0 12px;
	padding: 6px 16px;
	border-radius: 999px;
	background: var(--wh-pink);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .04em;
}

.wh-pillar__ttl {
	margin: 0;
	font-size: 21px;
	font-weight: 800;
	line-height: 1.55;
	color: var(--wh-ink);
}

.wh-pillar__note {
	margin: 12px 0 0;
	font-size: 13.5px;
	line-height: 1.85;
	color: #6d6d78;
}

.wh-pillar__cta {
	margin-top: 20px;
	align-self: flex-start;
	padding: 13px 30px;
	border-radius: 999px;
	background: var(--wh-pink);
	box-shadow: 0 4px 0 var(--wh-pink-dark);
	color: #fff;
	font-size: 14.5px;
	font-weight: 800;
	transition: transform .15s, box-shadow .15s;
}

.wh-pillar__cta::after {
	content: " →";
}

.wh-pillar__card:hover .wh-pillar__cta {
	transform: translateY(2px);
	box-shadow: 0 2px 0 var(--wh-pink-dark);
}

/* ============================================================
   2.5 みんなの診断結果
   ============================================================ */
.wh-typeStats__list {
	list-style: none;
	max-width: 720px;
	margin: 0 auto;
	padding: 0;
	display: grid;
	gap: 10px;
}

.wh-typeStat {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 10px 16px;
	background: #fff;
	border: 2px solid var(--wh-line);
	border-radius: 14px;
}

.wh-typeStat__rank {
	flex-shrink: 0;
	width: 2.4em;
	font-size: 13px;
	font-weight: 800;
	color: var(--wh-teal-dark);
}

.wh-typeStat:first-child .wh-typeStat__rank {
	color: var(--wh-pink);
}

.wh-typeStat__img {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
}

.wh-typeStat__emoji {
	flex-shrink: 0;
	font-size: 26px;
	line-height: 1;
}

.wh-typeStat__name {
	flex-shrink: 0;
	width: 12em;
	font-size: 13.5px;
	font-weight: 800;
	color: var(--wh-ink);
}

.wh-typeStat__chara {
	margin-left: 6px;
	font-size: 10.5px;
	font-weight: 800;
	color: var(--wh-teal-dark);
}

.wh-typeStat__bar {
	flex: 1;
	height: 14px;
	border-radius: 999px;
	background: #f4f2ee;
	overflow: hidden;
}

.wh-typeStat__fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--wh-teal), var(--wh-pink));
}

.wh-typeStat__pct {
	flex-shrink: 0;
	width: 3em;
	text-align: right;
	font-size: 14px;
	font-weight: 800;
	color: var(--wh-ink);
}

/* 集計前: 8タイプ図鑑 */
.wh-typeStats__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.wh-typeCard {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 18px 10px 14px;
	background: #fff;
	border: 2px solid var(--wh-line);
	border-radius: 16px;
}

.wh-typeCard__img {
	width: 64px;
	height: 64px;
	border-radius: 50%;
}

.wh-typeCard__emoji {
	font-size: 40px;
	line-height: 1;
}

.wh-typeCard__chara {
	margin-bottom: -4px;
	font-size: 12px;
	font-weight: 800;
	color: var(--wh-teal-dark);
}

.wh-typeCard__name {
	font-size: 12.5px;
	font-weight: 800;
	text-align: center;
	color: var(--wh-ink);
}

.wh-typeStats__note {
	margin: 16px 0 0;
	text-align: center;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--wh-sub);
}

.wh-typeStats__ctaWrap {
	margin: 22px 0 0;
	text-align: center;
}

.wh-typeStats__cta {
	display: inline-block;
	padding: 13px 34px;
	border-radius: 999px;
	background: var(--wh-pink);
	box-shadow: 0 4px 0 var(--wh-pink-dark);
	color: #fff;
	font-size: 14.5px;
	font-weight: 800;
	text-decoration: none;
	transition: transform .15s, box-shadow .15s;
}

.wh-typeStats__cta:hover {
	color: #fff;
	transform: translateY(-2px);
}

.wh-typeStats__cta::after {
	content: " →";
}

/* ============================================================
   2.6 Xでの反響
   ============================================================ */
/* ポストは横スクロール(スワイプ)式。widgets.jsが生成する
   .twitter-tweet-rendered にも同じflex指定を効かせる */
.wh-xwall__scroll {
	display: flex;
	gap: 14px;
	max-width: 920px;
	margin: 0 auto 6px;
	padding: 4px 4px 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

.wh-xwall__scroll .twitter-tweet {
	flex: 0 0 min(340px, 82vw);
	scroll-snap-align: start;
	margin: 0 !important;
}

.wh-xwall__hint {
	margin: 0 0 14px;
	text-align: center;
	font-size: 11.5px;
	font-weight: 700;
	color: var(--wh-sub);
}

/* ============================================================
   2.7 みんなの口コミ(カード型カルーセル)
   ============================================================ */
.wh-rvc__scroll {
	display: flex;
	gap: 14px;
	max-width: 920px;
	margin: 0 auto 6px;
	padding: 4px 4px 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

.wh-rvc__card {
	flex: 0 0 min(300px, 80vw);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 18px;
	background: #fff;
	border: 2px solid var(--wh-line);
	border-radius: var(--wh-radius);
	text-decoration: none;
	transition: border-color .15s, transform .15s, box-shadow .15s;
}

.wh-rvc__card:hover {
	border-color: var(--wh-teal);
	transform: translateY(-3px);
	box-shadow: 0 6px 0 rgba(59, 195, 179, .18);
}

.wh-rvc__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 0;
}

.wh-rvc__stars {
	font-size: 14px;
	color: #f5a623;
	letter-spacing: 2px;
}

.wh-rvc__line {
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--wh-teal-pale);
	color: var(--wh-teal-dark);
	font-size: 11px;
	font-weight: 800;
	white-space: nowrap;
}

.wh-rvc__text {
	flex: 1;
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.8;
	color: var(--wh-ink);
}

.wh-rvc__name {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	color: var(--wh-sub);
}

.wh-rvc__badge {
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--wh-teal);
	color: #fff;
	font-size: 10px;
	font-weight: 800;
}

.wh-rvc__map {
	max-width: 720px;
	margin: 28px auto 0;
}

.wh-rvc__mapTtl {
	margin: 0;
	text-align: center;
	font-size: 16px;
	font-weight: 800;
	color: var(--wh-ink);
}

.wh-rvc__more {
	margin: 20px 0 0;
	text-align: center;
}

.wh-rvc__moreBtn {
	display: inline-block;
	padding: 12px 30px;
	border-radius: 999px;
	background: #fff;
	border: 2.5px solid var(--wh-teal);
	box-shadow: 0 3px 0 rgba(59, 195, 179, .35);
	color: var(--wh-teal-dark);
	font-size: 13.5px;
	font-weight: 800;
	text-decoration: none;
	transition: transform .15s;
}

.wh-rvc__moreBtn:hover {
	color: var(--wh-teal-dark);
	transform: translateY(-2px);
}

.wh-rvc__moreBtn::after {
	content: " →";
}

.wh-xwall__cta {
	max-width: 720px;
	margin: 0 auto;
	padding: 26px 24px;
	border-radius: var(--wh-radius);
	background: var(--wh-cream);
	text-align: center;
}

.wh-xwall__lead {
	margin: 0 0 16px;
	font-size: 15.5px;
	font-weight: 800;
	color: var(--wh-ink);
}

.wh-xwall__btns {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.wh-xwall__btn {
	display: inline-block;
	padding: 12px 26px;
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 800;
	text-decoration: none;
	transition: transform .15s;
}

.wh-xwall__btn:hover {
	transform: translateY(-2px);
}

.wh-xwall__btn--shindan {
	background: var(--wh-pink);
	color: #fff;
	box-shadow: 0 4px 0 var(--wh-pink-dark);
}

.wh-xwall__btn--shindan:hover {
	color: #fff;
}

.wh-xwall__btn--x {
	background: var(--wh-ink);
	color: #fff;
	box-shadow: 0 4px 0 #26262e;
}

.wh-xwall__btn--x:hover {
	color: #fff;
}

/* ============================================================
   3. 条件から選ぶ
   ============================================================ */
.wh-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--wh-gap);
	list-style: none;
	margin: 0;
	padding: 0;
}

.wh-cards__item {
	margin: 0;
}

.wh-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 2px solid var(--wh-line);
	border-radius: var(--wh-radius);
	overflow: hidden;
	background: #fff;
	text-decoration: none;
	transition: transform .2s, box-shadow .2s, border-color .2s;
}

.wh-card:hover {
	border-color: var(--wh-teal);
	transform: translateY(-4px);
	box-shadow: 0 8px 0 rgba(59, 195, 179, .2);
}

.wh-card__thumb {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--wh-teal-pale);
}

.wh-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .3s ease-out;
}

.wh-card:hover .wh-card__thumb img {
	transform: scale(1.05);
}

.wh-card__body {
	padding: 18px 18px 46px;
	flex: 1;
}

.wh-card__label {
	display: inline-block;
	margin: 0 0 10px;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--wh-teal-pale);
	color: var(--wh-teal-dark);
	font-size: 11px;
	font-weight: 800;
}

.wh-card__ttl {
	margin: 0;
	font-size: 14.5px;
	font-weight: 800;
	line-height: 1.65;
	color: var(--wh-ink);
}

.wh-card__note {
	margin: 8px 0 0;
	font-size: 12.5px;
	line-height: 1.8;
	color: var(--wh-sub);
}

.wh-card__arrow {
	position: absolute;
	right: 16px;
	bottom: 14px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--wh-teal-pale);
	color: var(--wh-teal-dark);
	font-size: 14px;
	font-weight: 800;
	transition: background-color .2s, color .2s, transform .2s;
}

.wh-card:hover .wh-card__arrow {
	background: var(--wh-teal);
	color: #fff;
	transform: translateX(3px);
}

/* ============================================================
   4. 事業者から選ぶ
   ============================================================ */
.wh-provGroup + .wh-provGroup {
	margin-top: 32px;
}

.wh-provGroup__head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 14px;
}

.wh-provGroup__label {
	padding: 5px 16px;
	border-radius: 999px;
	background: var(--wh-teal);
	color: #fff;
	font-size: 12.5px;
	font-weight: 800;
}

.wh-provGroup + .wh-provGroup .wh-provGroup__label {
	background: var(--wh-pink);
}

.wh-provGroup__note {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--wh-sub);
}

.wh-provs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wh-provs__item {
	margin: 0;
}

.wh-prov {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	padding: 13px 16px;
	border: 2px solid var(--wh-line);
	border-radius: 16px;
	background: #fff;
	text-decoration: none;
	transition: transform .15s, border-color .15s, box-shadow .15s;
}

.wh-prov:hover {
	border-color: var(--wh-pink);
	transform: translateY(-2px);
	box-shadow: 0 5px 0 rgba(235, 94, 150, .18);
}

/* モノグラムはティール・ピンクを交互に */
.wh-prov__mark {
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--wh-teal-pale);
	color: var(--wh-teal-dark);
	font-size: 16px;
	font-weight: 800;
}

.wh-provs__item:nth-child(even) .wh-prov__mark {
	background: var(--wh-pink-pale);
	color: var(--wh-pink);
}

.wh-prov__name {
	flex: 1;
	min-width: 0;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.45;
	color: var(--wh-ink);
}

.wh-prov__cta {
	flex-shrink: 0;
	font-size: 11px;
	font-weight: 800;
	color: var(--wh-pink);
}

.wh-prov__cta::after {
	content: " →";
}

/* ============================================================
   5. はじめての方へ
   ============================================================ */
.wh-guide {
	padding: 40px 32px 44px;
	border-radius: var(--wh-radius-lg);
	background: var(--wh-teal-pale);
}

.wh-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: wh-step;
}

.wh-steps__item {
	margin: 0;
	position: relative;
	counter-increment: wh-step;
}

/* ステップ間の矢印（PCのみ） */
.wh-steps__item + .wh-steps__item::before {
	content: "▶";
	position: absolute;
	top: 50%;
	left: -21px;
	transform: translateY(-50%);
	font-size: 12px;
	color: var(--wh-teal);
	z-index: 1;
}

.wh-step {
	position: relative;
	display: block;
	height: 100%;
	padding: 26px 22px 22px;
	border-radius: var(--wh-radius);
	background: #fff;
	box-shadow: 0 4px 0 rgba(39, 169, 154, .18);
	text-decoration: none;
	transition: transform .2s, box-shadow .2s;
}

.wh-step:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 0 rgba(39, 169, 154, .22);
}

.wh-step__num {
	position: absolute;
	top: -16px;
	left: 18px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 3px solid #fff;
	background: var(--wh-teal);
	color: #fff;
	font-size: 15px;
	font-weight: 800;
}

.wh-steps__item:nth-child(2) .wh-step__num {
	background: var(--wh-pink);
}

.wh-step__num::before {
	content: counter(wh-step);
}

.wh-step__ttl {
	margin: 0;
	font-size: 14.5px;
	font-weight: 800;
	line-height: 1.65;
	color: var(--wh-ink);
}

.wh-step__note {
	margin: 10px 0 0;
	font-size: 12.5px;
	line-height: 1.8;
	color: var(--wh-sub);
}

/* ============================================================
   6. 新着・更新記事
   ============================================================ */
.wh-latest {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wh-latest__item {
	margin: 0;
}

.wh-latestCard {
	display: flex;
	gap: 14px;
	align-items: center;
	height: 100%;
	padding: 12px;
	border: 2px solid var(--wh-line);
	border-radius: 16px;
	background: #fff;
	text-decoration: none;
	transition: transform .15s, border-color .15s, box-shadow .15s;
}

.wh-latestCard:hover {
	border-color: var(--wh-teal);
	transform: translateY(-2px);
	box-shadow: 0 5px 0 rgba(59, 195, 179, .18);
}

.wh-latestCard__thumb {
	flex: 0 0 104px;
	aspect-ratio: 16 / 9;
	border-radius: 10px;
	overflow: hidden;
	background: var(--wh-teal-pale);
}

.wh-latestCard__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wh-latestCard__date {
	margin: 0 0 5px;
	font-size: 11px;
	font-weight: 800;
	color: var(--wh-teal-dark);
}

.wh-latestCard__ttl {
	margin: 0;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.6;
	color: var(--wh-ink);
}

/* ============================================================
   PCでは診断ボックスを大きく・見やすく(960px以上のみ)
   ============================================================ */
@media (min-width: 960px) {
	.wh-quiz {
		max-width: 880px;
		padding: 36px 48px 34px;
	}

	.wh-quiz__ttl {
		font-size: 21px;
	}

	.wh-quiz__sub {
		font-size: 13.5px;
	}

	.wh-quiz__count {
		min-width: 64px;
		font-size: 14px;
	}

	.wh-quiz__track {
		height: 12px;
	}

	.wh-quiz__q {
		margin-bottom: 22px;
		font-size: 23px;
	}

	.wh-quiz__opts {
		gap: 16px;
	}

	.wh-quiz__opt {
		min-height: 128px;
		gap: 12px;
		padding: 20px 18px;
	}

	.wh-quiz__optIcon {
		font-size: 40px;
	}

	.wh-quiz__optLabel {
		font-size: 16.5px;
	}

	.wh-quiz__back {
		font-size: 13px;
	}

	.wh-quiz__judgingText {
		font-size: 17px;
	}

	.wh-quiz__crystal {
		font-size: 54px;
	}

	/* 結果画面も一回り大きく */
	.wh-quizResult__img {
		width: 150px;
		height: 150px;
	}

	.wh-quizResult__emoji {
		font-size: 64px;
	}

	.wh-quizResult__name {
		font-size: 34px;
	}

	.wh-quizResult__catch {
		font-size: 16.5px;
	}

	.wh-quizResult__desc {
		font-size: 15px;
	}

	.wh-quizResult__stat {
		font-size: 14.5px;
	}

	.wh-quizGauge__pole {
		width: 8em;
		font-size: 12px;
	}

	.wh-quizGauge__track {
		height: 20px;
	}

	.wh-quizGauge__pct {
		font-size: 11.5px;
	}

	.wh-quizResult__lead,
	.wh-result__lead {
		font-size: 16px;
	}
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 959px) {
	.wh-cards,
	.wh-provs {
		grid-template-columns: repeat(2, 1fr);
	}

	.wh-steps {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.wh-steps__item + .wh-steps__item::before {
		content: "▼";
		top: -22px;
		left: 50%;
		transform: translateX(-50%);
	}

	.wh-pillar__card {
		grid-template-columns: 1fr;
	}

}

@media (max-width: 599px) {
	.wh-sec {
		margin-top: 56px;
	}

	.wh-sec__ttl {
		font-size: 20px;
		gap: 10px;
	}


	.wh-quiz {
		margin-top: 24px;
		padding: 20px 16px 22px;
		box-shadow: 5px 5px 0 rgba(59, 195, 179, .18);
	}

	.wh-quiz__ttl {
		font-size: 15px;
	}

	.wh-quiz__q {
		font-size: 16.5px;
	}

	/* スマホでは選択肢を横並びカード→縦積みの行レイアウトに */
	.wh-quiz__opts {
		grid-template-columns: 1fr;
	}

	.wh-quiz__opt {
		flex-direction: row;
		justify-content: flex-start;
		gap: 12px;
		min-height: 0;
		padding: 13px 16px;
	}

	.wh-quiz__optIcon {
		font-size: 24px;
	}

	.wh-quiz__optLabel {
		text-align: left;
		font-size: 14px;
	}

	/* 結果画面はスマホでは縦に間延びしないよう詰める */
	.wh-quizResult__intro {
		margin-bottom: 10px;
	}

	.wh-quizResult__hero {
		padding: 16px 14px;
		gap: 4px;
	}

	.wh-quizResult__emoji {
		font-size: 40px;
	}

	.wh-quizResult__img {
		width: 96px;
		height: 96px;
	}

	.wh-quizResult__name {
		font-size: 24px;
	}

	.wh-quizResult__catch {
		font-size: 13.5px;
	}

	.wh-quizResult__gauges {
		margin-top: 14px;
		gap: 8px;
	}

	.wh-quizGauge {
		gap: 8px;
	}

	.wh-quizGauge__pole {
		width: 6.5em;
		font-size: 10px;
	}

	.wh-quizGauge__track {
		height: 15px;
	}

	.wh-quizResult__desc {
		margin-top: 12px;
		font-size: 13.5px;
		line-height: 1.9;
	}

	.wh-quizResult__lead {
		margin-top: 16px;
	}

	/* アイキャッチとタイトルの横並びは窮屈なので、スマホはテキスト主体のカードにする */
	.wh-result__thumb {
		display: none;
	}

	.wh-result__card {
		padding: 14px 16px;
	}

	.wh-quizResult__area {
		margin-top: 10px;
	}

	.wh-quizResult__all {
		margin-top: 14px;
	}

	.wh-quizTypes {
		gap: 6px;
	}

	.wh-quizTypes__item {
		padding: 8px 10px;
		gap: 8px;
	}

	/* スマホの一覧は名前+コードだけでコンパクトに */
	.wh-quizTypes__catch {
		display: none;
	}

	.wh-quizResult__actions {
		margin-top: 14px;
		padding-top: 14px;
		gap: 8px;
	}

	.wh-quizResult__share,
	.wh-quizResult__retry {
		padding: 10px 18px;
		font-size: 12px;
	}

	.wh-cards,
	.wh-latest {
		grid-template-columns: 1fr;
	}

	.wh-provs {
		grid-template-columns: 1fr;
	}

	.wh-typeStats__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.wh-xwall__grid {
		grid-template-columns: 1fr;
	}

	.wh-typeStat {
		padding: 8px 12px;
		gap: 8px;
	}

	.wh-typeStat__img {
		width: 36px;
		height: 36px;
	}

	.wh-typeStat__name {
		width: auto;
		flex: 1;
		font-size: 12px;
	}

	.wh-typeStat__bar {
		display: none; /* スマホは%数字のみでコンパクトに */
	}

	.wh-guide {
		padding: 28px 18px 32px;
	}

	.wh-pillar__card {
		box-shadow: 5px 5px 0 rgba(235, 94, 150, .16);
	}

	.wh-pillar__body {
		padding: 22px 18px;
	}

	.wh-pillar__ttl {
		font-size: 17px;
	}

	.wh-pillar__cta {
		align-self: stretch;
		text-align: center;
	}
}

/* アニメーションを好まない環境への配慮 */
@media (prefers-reduced-motion: reduce) {
	.wh-hero__lead,
	.wh-quiz,
	.wh-quiz__panel.is-active,
	.wh-quiz__result,
	.wh-quiz__crystal,
	.wh-quiz__dots i,
	.wh-quizResult__emoji,
	.wh-quizResult__img {
		animation: none;
	}

	.wh-front *,
	.wh-front *::before,
	.wh-front *::after {
		transition-duration: .01ms !important;
	}
}

/* ============================================================
   光回線をしぼりこんで探す（wh-finder）
   商材マスタ(CPT wh_service)から生成。条件を選ぶとJSが絞り込んで並べ替える
   ============================================================ */
.wh-finder__panel {
	padding: 20px 22px 18px;
	border: 3px solid var(--wh-teal);
	border-radius: var(--wh-radius);
	background: #fff;
	box-shadow: 6px 6px 0 rgba(59, 195, 179, .16);
}

.wh-finder__row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 14px;
	padding: 10px 0;
}

.wh-finder__row + .wh-finder__row {
	border-top: 2px dotted var(--wh-line);
}

.wh-finder__label {
	flex: 0 0 4.5em;
	font-size: 14px;
	font-weight: 800;
	color: var(--wh-sub);
}

.wh-finder__seg {
	display: inline-flex;
	gap: 8px;
	flex-wrap: wrap;
}

.wh-finder__segBtn {
	padding: 9px 18px;
	border: 2px solid var(--wh-line);
	border-radius: 999px;
	background: #fff;
	color: var(--wh-sub);
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: background .15s, color .15s, border-color .15s;
}

.wh-finder__segBtn:hover {
	border-color: var(--wh-teal);
	color: var(--wh-teal-dark);
}

.wh-finder__segBtn.is-active {
	border-color: var(--wh-teal);
	background: var(--wh-teal);
	color: #fff;
}

.wh-finder__select {
	padding: 9px 14px;
	border: 2px solid var(--wh-line);
	border-radius: 999px;
	background: #fff;
	color: var(--wh-ink);
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.wh-finder__check {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--wh-sub);
	cursor: pointer;
}

.wh-finder__check input {
	width: 17px;
	height: 17px;
	accent-color: var(--wh-pink);
}

.wh-finder__count {
	margin: 22px 0 14px;
	text-align: center;
	font-size: 15px;
	font-weight: 800;
}

.wh-finder__count b {
	color: var(--wh-pink);
	font-size: 21px;
	margin: 0 2px;
}

/* 横スクロールのカルーセル（口コミ・Xウォールと同じ作法）
   overflow-x を指定すると overflow-y も visible ではなくなるため、
   カードの外に出しているランクバッジ(top:-12px)と1位の影がクリップされる。
   上下左右に余白を確保して切れないようにする */
.wh-finder__list {
	list-style: none;
	display: flex;
	gap: 14px;
	margin: 0 auto 6px;
	padding: 20px 8px 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

.wh-finder__hint {
	margin: 0 0 4px;
	text-align: center;
	font-size: 11.5px;
	font-weight: 700;
	color: var(--wh-sub);
}

.wh-finder__empty {
	margin: 24px 0;
	padding: 22px;
	border: 2px dashed var(--wh-line);
	border-radius: var(--wh-radius);
	text-align: center;
	color: var(--wh-sub);
	font-weight: 700;
}

.wh-finder__note {
	margin-top: 20px;
	font-size: 12.5px;
	line-height: 1.9;
	color: var(--wh-sub);
}

/* --- 1件のカード（縦型・横スクロールで並ぶ） --- */
.wh-fcard {
	position: relative;
	flex: 0 0 min(268px, 78vw);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	padding: 18px 18px 16px;
	border: 2px solid var(--wh-line);
	border-radius: var(--wh-radius);
	background: #fff;
	transition: border-color .15s, transform .15s;
}

.wh-fcard:hover {
	border-color: var(--wh-teal);
	transform: translateY(-2px);
}

.wh-fcard--top {
	border-color: var(--wh-pink);
	box-shadow: 5px 5px 0 rgba(235, 94, 150, .14);
}

.wh-fcard__rank {
	position: absolute;
	top: -12px;
	left: 14px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 2px solid #fff;
	background: var(--wh-teal);
	color: #fff;
	font-size: 15px;
	font-weight: 800;
}

.wh-fcard--top .wh-fcard__rank {
	background: var(--wh-pink);
}

.wh-fcard__logo {
	display: block;
	width: auto;
	max-width: 108px;
	max-height: 34px;
	margin: 6px auto 10px;
	object-fit: contain;
}

.wh-fcard__name {
	margin: 0 0 4px;
	text-align: center;
	font-size: 16px;
	font-weight: 800;
}

.wh-fcard__point {
	margin: 0 0 12px;
	font-size: 12.5px;
	line-height: 1.65;
	color: var(--wh-sub);
}

.wh-fcard__data {
	display: grid;
	gap: 4px;
	margin: 0 0 12px;
	padding: 12px 14px;
	border-radius: 14px;
	background: var(--wh-cream);
}

.wh-fcard__data > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
}

.wh-fcard__data dt {
	font-size: 11.5px;
	font-weight: 700;
	color: var(--wh-sub);
}

.wh-fcard__data dd {
	margin: 0;
	font-size: 14px;
	font-weight: 800;
	white-space: nowrap;
}

/* 実質料金（月あたり）だけ大きく見せる */
.wh-fcard__data > div:first-child {
	display: block;
	margin-bottom: 4px;
	padding-bottom: 6px;
	border-bottom: 1px dotted var(--wh-line);
	text-align: center;
}

.wh-fcard__data dd.is-main {
	display: block;
	font-size: 23px;
	line-height: 1.2;
	color: var(--wh-pink);
}

.wh-fcard__data dd small {
	font-size: 11.5px;
	font-weight: 700;
	color: var(--wh-sub);
}

.wh-fcard__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 14px;
}

.wh-fcard__tag {
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--wh-cream);
	border: 1px solid var(--wh-line);
	font-size: 11.5px;
	font-weight: 700;
	color: var(--wh-sub);
}

.wh-fcard__tag--area {
	background: var(--wh-teal-pale);
	border-color: transparent;
	color: var(--wh-teal-dark);
}

.wh-fcard__tag--free {
	background: var(--wh-pink-pale);
	border-color: transparent;
	color: var(--wh-pink-dark);
}

.wh-fcard__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: auto;
	padding: 11px 18px;
	border-radius: 999px;
	background: var(--wh-pink);
	box-shadow: 0 3px 0 var(--wh-pink-dark);
	color: #fff;
	font-size: 13.5px;
	font-weight: 800;
	text-decoration: none;
}

.wh-fcard__btn:hover {
	color: #fff;
	filter: brightness(1.06);
}

@media (max-width: 767px) {
	.wh-finder__panel {
		padding: 14px 14px 12px;
	}

	.wh-finder__label {
		flex: 0 0 100%;
		margin-bottom: -4px;
	}

	.wh-finder__segBtn,
	.wh-finder__select {
		font-size: 13px;
		padding: 8px 14px;
	}

	.wh-fcard {
		padding: 16px 14px 14px;
	}

	.wh-fcard__data dd.is-main {
		font-size: 21px;
	}
}

/* --- Xウォールを「みんなの診断結果」に統合したときの見出し --- */
.wh-xwall {
	margin-top: 40px;
	padding-top: 28px;
	border-top: 2px dotted var(--wh-line);
}

.wh-xwall__ttl {
	margin: 0 0 4px;
	text-align: center;
	font-size: 17px;
	font-weight: 800;
}

.wh-xwall__sub {
	margin: 0 0 20px;
	text-align: center;
	font-size: 13px;
	color: var(--wh-sub);
}

/* ============================================================
   新着・更新のお知らせ（ニュース欄）
   日付・記事タイトル・更新内容を縦スクロールで見せる
   ============================================================ */
.wh-news {
	max-height: 420px;
	overflow-y: auto;
	padding: 4px 20px 4px 4px;
	border: 2px solid var(--wh-line);
	border-radius: var(--wh-radius);
	background: #fff;
	-webkit-overflow-scrolling: touch;
	scrollbar-gutter: stable;
}

.wh-news:focus-visible {
	outline: 3px solid var(--wh-teal);
	outline-offset: 2px;
}

.wh-news__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wh-news__item {
	display: grid;
	grid-template-columns: 92px 88px 1fr;
	align-items: start;
	gap: 4px 16px;
	padding: 16px 6px 16px 18px;
}

.wh-news__meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
}

/* 公開＝ピンク、更新＝ティール。ひと目でどちらか分かるようにする */
.wh-news__badge {
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--wh-teal-pale);
	color: var(--wh-teal-dark);
	font-size: 11px;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: .04em;
}

.wh-news__badge.is-new {
	background: var(--wh-pink);
	color: #fff;
}

.wh-news__thumb {
	display: block;
	width: 88px;
	border-radius: 10px;
	overflow: hidden;
	line-height: 0;
	background: var(--wh-cream);
}

.wh-news__thumb img {
	display: block;
	width: 100%;
	height: 50px;
	object-fit: cover;
}

.wh-news__thumb--empty {
	height: 50px;
	border: 2px dashed var(--wh-line);
}

.wh-news__item + .wh-news__item {
	border-top: 2px dotted var(--wh-line);
}

.wh-news__date {
	padding-top: 2px;
	font-size: 13px;
	font-weight: 800;
	color: var(--wh-teal-dark);
	letter-spacing: .02em;
}

.wh-news__ttl {
	display: inline-block;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.6;
	color: var(--wh-ink);
	text-decoration: none;
}

.wh-news__ttl:hover {
	color: var(--wh-pink-dark);
	text-decoration: underline;
}

.wh-news__change {
	margin: 6px 0 0;
	padding-left: 15px;
	position: relative;
	font-size: 12.5px;
	line-height: 1.75;
	color: var(--wh-sub);
}

/* 更新内容の頭に小さな印を付けて、タイトルと区別する */
.wh-news__change::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--wh-pink);
	opacity: .5;
}

.wh-news__hint {
	margin: 10px 0 0;
	text-align: center;
	font-size: 11.5px;
	font-weight: 700;
	color: var(--wh-sub);
}

/* スクロールバーをサイトのトーンに寄せる */
.wh-news::-webkit-scrollbar {
	width: 10px;
}

.wh-news::-webkit-scrollbar-track {
	background: var(--wh-cream);
	border-radius: 999px;
}

.wh-news::-webkit-scrollbar-thumb {
	background: #d8d2c8;
	border: 2px solid var(--wh-cream);
	border-radius: 999px;
}

.wh-news::-webkit-scrollbar-thumb:hover {
	background: var(--wh-teal);
}

/* 口コミマップ: 県が埋まるまでは畳んでおく */
.wh-rvc__mapFold {
	margin-top: 8px;
	border: 2px dashed var(--wh-line);
	border-radius: var(--wh-radius);
	background: #fff;
}

.wh-rvc__mapToggle {
	padding: 16px 20px;
	list-style: none;
	cursor: pointer;
	text-align: center;
	font-size: 14px;
	font-weight: 800;
	color: var(--wh-teal-dark);
}

.wh-rvc__mapToggle::-webkit-details-marker {
	display: none;
}

.wh-rvc__mapToggle::after {
	content: "▼";
	margin-left: 8px;
	font-size: 10px;
}

.wh-rvc__mapFold[open] .wh-rvc__mapToggle::after {
	content: "▲";
}

.wh-rvc__mapNote {
	margin: 0 20px 12px;
	text-align: center;
	font-size: 12.5px;
	line-height: 1.8;
	color: var(--wh-sub);
}

@media (max-width: 599px) {
	.wh-news__item {
		grid-template-columns: 64px 1fr;
		gap: 4px 12px;
		padding: 14px 4px 14px 14px;
	}

	.wh-news__meta {
		grid-column: 1 / -1;
		flex-direction: row;
		align-items: center;
		gap: 8px;
	}

	.wh-news__thumb,
	.wh-news__thumb img {
		width: 64px;
		height: 38px;
	}

	.wh-news__thumb--empty {
		height: 38px;
	}

	.wh-news__date {
		font-size: 12px;
	}

	.wh-news__ttl {
		font-size: 14px;
	}
}
