/* 接骨院・整骨院 ホームページ診断（接骨院カルテ） — 管理/フロント共通スタイル。沿線カルテと同じ構成、クラス名は sk- で独立。色は great.co.jp の紫系 */
.seikotsukarte-wrap { max-width: 920px; }
.sk-badge { font-size: 1.1em; }
.sk-lead { color: #555; }
.sk-scope { font-size: 13px; color: #8e6fc0; font-weight: normal; }

.sk-inputrow { display: flex; gap: 8px; margin: 14px 0; }
.sk-inputrow input[type=text] {
	flex: 1; padding: 10px 12px; font-size: 15px;
	background: #fff;
	border: 1px solid #9a86bd; border-radius: 6px;
}
.sk-inputrow input[type=text]:focus {
	border-color: #5b3d8c; outline: none;
	box-shadow: 0 0 0 3px rgba(91,61,140,.15);
}
.sk-inputrow .button-primary,
.seikotsukarte-front .button-primary {
	background: #3d2568 !important;
	border: 1px solid #2a1a48 !important;
	color: #fff !important;
	height: auto; padding: 10px 26px;
	font-weight: 700; font-size: 15px;
	border-radius: 6px;
	box-shadow: 0 2px 6px rgba(0,0,0,.25);
	text-shadow: 0 1px 1px rgba(0,0,0,.25);
	cursor: pointer;
}
.sk-inputrow .button-primary:hover,
.seikotsukarte-front .button-primary:hover {
	background: #2a1a48 !important;
	border-color: #1c1030 !important;
	box-shadow: 0 3px 9px rgba(0,0,0,.32);
}
.sk-inputrow .button-primary:focus,
.seikotsukarte-front .button-primary:focus {
	outline: 2px solid #b79fe0; outline-offset: 2px;
}

.sk-status { min-height: 22px; margin: 6px 0; }
.sk-loading { color: #5b3d8c; }
.sk-err { color: #e53935; font-weight: bold; }

.sk-fatal {
	background: #fdecea; border: 1px solid #e53935; color: #b71c1c;
	padding: 12px 14px; border-radius: 6px; margin: 12px 0; font-weight: bold;
}

/* スコアカード */
.sk-scorecard {
	display: flex; align-items: center; gap: 20px;
	background: #fff; border: 2px solid #5b3d8c; border-radius: 12px;
	padding: 18px 22px; margin: 16px 0;
}
.sk-gauge {
	width: 118px; height: 118px; border-radius: 50%;
	display: flex; align-items: baseline; justify-content: center;
	background:
		radial-gradient(closest-side, #fff calc(100% - 12px), transparent calc(100% - 12px) 100%),
		conic-gradient(var(--c) calc(var(--v) * 1%), #e9e2f5 0);
	flex: 0 0 auto;
}
.sk-score-num { font-size: 34px; font-weight: 800; color: #333; }
.sk-score-den { font-size: 14px; color: #999; }
.sk-verdict .sk-flag { font-size: 20px; font-weight: 800; }
.sk-verdict .sk-msg { color: #444; margin-top: 4px; }

.sk-cat { margin: 14px 0; }
.sk-cat h3 { color: #5b3d8c; border-bottom: 2px solid #eee; padding-bottom: 4px; }
.sk-cat ul { list-style: none; margin: 8px 0 0; padding: 0; }
.sk-cat li { padding: 5px 0; border-bottom: 1px dotted #eee; }
.sk-ic { margin-right: 4px; }

.sk-manual {
	background: #f6f3fb; border-radius: 8px; padding: 14px 18px; margin-top: 18px;
}
.sk-manual h3 { margin-top: 0; color: #6a5a8a; font-size: 14px; }
.sk-manual h4 { margin: 10px 0 4px; color: #5b3d8c; }
.sk-manual ul { margin: 0; padding-left: 4px; list-style: none; color: #666; }

.sk-table .sk-url { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sk-meta { border-collapse: collapse; margin: 10px 0 16px; }
.sk-meta th { text-align: left; padding: 4px 14px 4px 0; color: #666; white-space: nowrap; vertical-align: top; }
.sk-meta td { padding: 4px 0; }

.sk-pager { margin: 16px 0; }
.sk-page { display: inline-block; padding: 4px 10px; margin-right: 4px; border: 1px solid #cbb8e6; border-radius: 4px; text-decoration: none; }
.sk-page.current { background: #5b3d8c; color: #fff; border-color: #5b3d8c; }

.sk-gate { background: #f6f3fb; padding: 20px; border-radius: 8px; text-align: center; }

/* ハニーポット：人には見えないが、フォームを自動入力するボットには見える隠しフィールド */
.sk-hp {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	width: 1px; height: 1px;
	overflow: hidden;
}

/* ============================================================
   診断結果 → 相談・料金への動的導線（フロント側のみ）
   サイトのCTA（インディゴ #6b4fa8）に合わせ、結果からそのまま
   「おすすめ修正・料金・相談」へ進めるようにする。
   ============================================================ */
/* スコア別のおすすめ提案 */
.seikotsukarte-front .sk-reco {
	border: 2px solid #6b4fa8; border-left-width: 6px; border-radius: 10px;
	background: #f4f0fb; padding: 16px 18px; margin: 16px 0;
}
.seikotsukarte-front .sk-reco--bad  { border-color: #e53935; background: #fdecec; }
.seikotsukarte-front .sk-reco--warn { border-color: #e0920b; background: #fff7e8; }
.seikotsukarte-front .sk-reco__title { font-weight: 800; font-size: 1.1em; color: #2a1a48; }
.seikotsukarte-front .sk-reco__body  { margin: 6px 0 12px; color: #333; line-height: 1.8; }

/* 共通ボタン */
.seikotsukarte-front .sk-btn {
	display: inline-block; text-decoration: none; font-weight: 800;
	border-radius: 10px; padding: 11px 20px; font-size: 14px; line-height: 1.4;
}
.seikotsukarte-front .sk-btn--cta { background: #6b4fa8; color: #fff !important; border: 1px solid #4e3485; }
.seikotsukarte-front .sk-btn--cta:hover { background: #4e3485; }
.seikotsukarte-front .sk-btn--outline { background: #fff; color: #4e3485 !important; border: 2px solid #6b4fa8; }
.seikotsukarte-front .sk-btn--outline:hover { background: #f4f0fb; }

/* 各項目の「こう直せます（修正＋料金＋相談）」 */
.seikotsukarte-front .sk-fix {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
	margin: 8px 0 4px; padding: 10px 12px; border-radius: 8px;
	background: #f7f4fc; border-left: 4px solid #6b4fa8;
}
.seikotsukarte-front .sk-fix--bad  { border-left-color: #e53935; }
.seikotsukarte-front .sk-fix--warn { border-left-color: #e0920b; }
.seikotsukarte-front .sk-fix__label {
	font-size: 11px; font-weight: 800; color: #4e3485; background: #ebe3f7;
	border-radius: 999px; padding: 2px 10px; white-space: nowrap;
}
.seikotsukarte-front .sk-fix__name  { font-weight: 700; color: #2a1a48; }
.seikotsukarte-front .sk-fix__price { font-weight: 800; color: #4e3485; font-variant-numeric: tabular-nums; }
.seikotsukarte-front .sk-fix__cta {
	margin-left: auto; text-decoration: none; font-weight: 800; font-size: 13px;
	color: #fff !important; background: #6b4fa8; border-radius: 8px; padding: 7px 14px; white-space: nowrap;
}
.seikotsukarte-front .sk-fix__cta:hover { background: #4e3485; }

/* 末尾の総合導線 */
.seikotsukarte-front .sk-cta-band {
	margin: 22px 0 4px; padding: 20px; border-radius: 12px; text-align: center;
	background: #2a1a48; color: #fff;
}
.seikotsukarte-front .sk-cta-band__lead { margin: 0 0 14px; font-weight: 700; }
.seikotsukarte-front .sk-cta-band__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.seikotsukarte-front .sk-cta-band .sk-btn--outline { background: transparent; color: #fff !important; border-color: #fff; }
.seikotsukarte-front .sk-cta-band .sk-btn--outline:hover { background: rgba(255,255,255,.12); }

@media (max-width: 600px) {
	.seikotsukarte-front .sk-fix__cta { margin-left: 0; width: 100%; text-align: center; }
}

/* ---- 所在地（任意）・注意書き ---- */
.sk-area { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; }
.sk-area__label { font-size: 14px; font-weight: 700; color: #3d2568; margin-right: 4px; }
.sk-opt { display: inline-block; margin-left: 6px; padding: 1px 6px; font-size: 11px; font-weight: 700; color: #fff; background: #8e7bb0; border-radius: 3px; vertical-align: 1px; }
.sk-area input[type=text] {
	width: 190px; padding: 8px 10px; font-size: 14px;
	background: #fff; border: 1px solid #9a86bd; border-radius: 6px;
}
.sk-area input[type=text]:focus { border-color: #5b3d8c; outline: none; box-shadow: 0 0 0 3px rgba(91,61,140,.15); }
.sk-note { font-size: 12.5px; line-height: 1.7; color: #666; margin: 6px 0; }
.sk-note a { color: #4e3485; }
.sk-note--tip { background: #f7f4fc; border-radius: 6px; padding: 10px 12px; color: #4e3485; font-size: 13px; }

/* 地域SEO */
.sk-local { margin-top: 12px; padding: 12px 14px; background: #f8f6fc; border-radius: 6px; }
.sk-local__score { margin: 0 0 8px; font-size: 14px; }
.sk-local__score strong { font-size: 18px; color: #3d2568; }
.sk-local__target { font-size: 12.5px; color: #777; }

/* 広告ガイドライン */
.sk-cat--gl { border: 2px solid #d9cdef; border-radius: 10px; padding: 4px 16px 10px; background: #fff; }
.sk-gl { margin: 8px 0 4px; padding: 10px 14px; background: #f8f6fc; border-radius: 6px; }
.sk-gl__sum { margin: 0 0 6px; font-size: 14px; }
.sk-gl__sum strong { font-size: 18px; color: #3d2568; }
.sk-gl__col { margin: 8px 0 0; font-size: 13px; font-weight: 700; }
.sk-gl__col a { color: #4e3485; }
.sk-glbadge { display: inline-block; margin-top: 8px; padding: 3px 10px; font-size: 12.5px; font-weight: 700; color: #3d2568; background: #ebe3f7; border-radius: 999px; }
.sk-hits { list-style: none; margin: 6px 0 4px 1.6em !important; padding: 0; }
.sk-hits li { border: 0 !important; padding: 4px 0 !important; font-size: 13px; line-height: 1.7; }
.sk-hits__snip { display: block; color: #333; background: #fffbea; border-left: 3px solid #f2a900; padding: 2px 8px; word-break: break-all; }
.sk-hits__page { display: inline-block; font-size: 12px; color: #4e3485; margin-top: 2px; word-break: break-all; }

/* 調べたページ */
.sk-crawl { margin-top: 18px; padding: 12px 16px; background: #f8f6fc; border-radius: 8px; }
.sk-crawl h3 { margin: 0 0 6px; font-size: 14px; color: #5b3d8c; }
.sk-crawl__pages { margin: 0 0 8px 1.4em; padding: 0; font-size: 12.5px; }
.sk-crawl__page { margin: 2px 0; word-break: break-all; }
.sk-crawl__page--skipped .sk-crawl__url,
.sk-crawl__page--error .sk-crawl__url { color: #999; }
.sk-crawl__reason { color: #999; }

.seikotsukarte-front .sk-cta-band__disc { margin: 14px 0 0; font-size: 12px; opacity: .85; line-height: 1.7; }

@media (max-width: 600px) {
	.sk-area input[type=text] { flex: 1 1 100%; width: auto; }
	.sk-inputrow { flex-wrap: wrap; }
	.sk-inputrow input[type=text] { flex: 1 1 100%; }
	.sk-inputrow .button-primary { width: 100%; }
	.sk-scorecard { flex-direction: column; text-align: center; }
	.sk-cat--gl { padding: 4px 10px 10px; }
}
