@charset "utf-8";

/* --------------------------------------------------------------------------------
	keihin-contents article layout (souvenir-like)
	- Max width: 1080px (PC)
	- Two-column layout (PC): main + sidebar
	- Sticky section nav (PC/SP)
-------------------------------------------------------------------------------- */

:root {
	--kt-text: #222;
	--kt-muted: #666;
	--kt-border: #e6e6e6;
	--kt-bg: #fff;
	--kt-bg-soft: #f7f7f7;
	--kt-accent: #A3744D;
	--kt-radius: 12px;
	--kt-shadow: 0 6px 20px rgba(0, 0, 0, .06);
	--kt-max: 1080px;

	--kt-gap: 24px;
}

/* container */
.kt-container {
	max-width: var(--kt-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

/* hero */
.kt-hero {
	position: relative;
	background: var(--kt-bg);
	border-bottom: 1px solid var(--kt-border);
}

.kt-hero__media {
	width: 100%;
	height: 260px;
	overflow: hidden;
	background: var(--kt-bg-soft);
}

.kt-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.kt-hero__inner {
	padding: 18px 0 18px;
}

.kt-hero__kicker {
	font-size: 12px;
	color: var(--kt-muted);
	margin: 0 0 6px;
}

.kt-hero h1 {
	margin: 0 0 10px;
	font-size: 28px;
	line-height: 1.35;
}

.kt-hero__lead p {
	margin: 0 0 10px;
	color: var(--kt-text);
}

.kt-article__meta {
	font-size: 12px;
	color: var(--kt-muted);
	margin: 10px 0 0;
}

.kt-dot {
	margin: 0 6px;
}

/* sticky section nav (souvenir-like) */
.kt-sectionnav {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgba(255, 255, 255, .98);
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--kt-border);
}

.kt-sectionnav__inner {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 8px 0;
	overflow: auto;
	white-space: nowrap;
}

.kt-sectionnav a {
	display: inline-block;
	padding: 10px 12px;
	border-radius: 999px;
	border: 1px solid var(--kt-border);
	text-decoration: none;
	color: var(--kt-text);
	font-weight: 700;
	font-size: 14px;
}

.kt-sectionnav a:hover {
	box-shadow: var(--kt-shadow);
}

.kt-sectionnav a.kt-btnPrimary {
	background: var(--kt-accent);
	border-color: var(--kt-accent);
	color: #fff;
}

/* layout */
.kt-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: var(--kt-gap);
	padding-top: 20px;
	padding-bottom: 28px;
}

.kt-main {
	min-width: 0;
}

.kt-sidebar {
	min-width: 0;
}

.kt-sidebar__sticky {
	position: sticky;
	top: 70px;
	/* sectionnav height offset */
}

/* toc (existing, refined) */
.kt-toc {
	border: 1px solid var(--kt-border);
	border-radius: var(--kt-radius);
	background: #fff;
	padding: 14px 14px;
	box-shadow: var(--kt-shadow);
	margin: 0 0 18px;
}

.kt-toc__title {
	font-weight: 700;
	margin: 0 0 10px;
	font-size: 15px;
}

.kt-toc__list {
	margin: 0;
	padding-left: 18px;
}

.kt-toc__list li {
	margin: 6px 0;
}

.kt-toc__list a {
	color: var(--kt-text);
	text-decoration: none;
}

.kt-toc__list a:hover {
	text-decoration: underline;
}

/* sidebar CTA card */
.kt-card {
	border: 1px solid var(--kt-border);
	border-radius: var(--kt-radius);
	background: #fff;
	box-shadow: var(--kt-shadow);
	padding: 14px;
}

.kt-card__title {
	font-weight: 700;
	margin: 0 0 10px;
	font-size: 15px;
}

.kt-btn {
	display: block;
	text-align: center;
	text-decoration: none;
	font-weight: 700;
	border-radius: 10px;
	padding: 12px 12px;
	border: 1px solid var(--kt-border);
	color: var(--kt-text);
	margin: 10px 0 0;
}

.kt-btn--primary {
	background: var(--kt-accent);
	border-color: var(--kt-accent);
	color: #fff;
}

.kt-btn--ghost {
	background: #fff;
}

/* article body typography - keep existing site styles, only minimal safety */
#column section {
	margin: 0 0 22px;
}

#column h2 {
	margin: 26px 0 10px;
}

#column h3 {
	margin: 18px 0 8px;
}

/* responsive */
@media (max-width: 1024px) {
	.kt-layout {
		grid-template-columns: 1fr 300px;
	}

	.kt-hero h1 {
		font-size: 26px;
	}
}

@media (max-width: 768px) {
	.kt-container {
		padding-left: 14px;
		padding-right: 14px;
	}

	.kt-hero__media {
		height: 200px;
	}

	.kt-hero h1 {
		font-size: 22px;
	}

	.kt-layout {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.kt-sidebar__sticky {
		position: static;
		top: auto;
	}
}


/* --------------------------------------------------------------------------------
	dress-color-quiz-keihin additions
-------------------------------------------------------------------------------- */

/* Improve reading width and paragraph rhythm */
.kt-main > section:not(.kt-summary) > p,
.kt-main .inner > p,
.kt-main .inner > div > p {
	line-height: 1.9;
}

.kt-main p {
	font-size: 16px;
}

/* Key takeaways */
.kt-summary {
	margin: 0 0 28px !important;
	padding: 20px 22px;
	border: 1px solid #eadfd5;
	border-left: 5px solid var(--kt-accent);
	border-radius: var(--kt-radius);
	background: #fbf8f5;
}

#column .kt-summary__title {
	margin: 0 0 12px;
	font-size: 20px;
	line-height: 1.5;
}

.kt-summary__list {
	margin: 0;
	padding-left: 1.4em;
}

.kt-summary__list li {
	margin: 7px 0;
	line-height: 1.7;
}

/* Section images */
.kt-sectionimage {
	margin: 18px 0 24px;
}

.kt-sectionimage img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--kt-radius);
	box-shadow: var(--kt-shadow);
}

/* CTA */
.kt-cta {
	margin: 26px 0;
	padding: 20px 22px;
	border: 1px solid #e7d7ca;
	border-radius: var(--kt-radius);
	background: #fffaf6;
	text-align: center;
}

.kt-cta--final {
	margin-top: 28px;
}

.kt-cta__title {
	margin: 0 0 8px;
	font-size: 19px;
	font-weight: 700;
}

.kt-cta p:not(.kt-cta__title) {
	margin: 0 0 12px;
	color: var(--kt-muted);
}

.kt-btn--inline {
	display: inline-block;
	min-width: 240px;
	max-width: 100%;
	box-sizing: border-box;
}

.kt-card__text {
	margin: 0;
	color: var(--kt-muted);
	font-size: 13px;
	line-height: 1.6;
}

/* Quick comparison table */
.kt-quick {
	margin: 28px 0 !important;
	padding: 20px;
	background: var(--kt-bg-soft);
	border-radius: var(--kt-radius);
}

#column .kt-quick h3 {
	margin-top: 0;
}

.kt-tablewrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.kt-comparetable {
	width: 100%;
	min-width: 620px;
	border-collapse: collapse;
	background: #fff;
	font-size: 14px;
}

.kt-comparetable th,
.kt-comparetable td {
	padding: 12px 14px;
	border: 1px solid var(--kt-border);
	text-align: left;
	vertical-align: top;
	line-height: 1.6;
}

.kt-comparetable th {
	background: #f2ece7;
	font-weight: 700;
}

/* Text link callouts */
#main .t-link {
	margin: 18px 0;
	padding: 14px 16px;
	border-left: 4px solid var(--kt-accent);
	background: #fbf8f5;
}

#main .t-link a {
	font-weight: 700;
	text-decoration: underline;
}

/* Anchor offset for sticky navigation */
#sec-01,
#sec-02,
#sec-03,
#sec-04,
#sec-05 {
	scroll-margin-top: 82px;
}

@media (max-width: 768px) {
	.kt-main p {
		font-size: 15px;
	}

	.kt-summary,
	.kt-cta,
	.kt-quick {
		padding: 16px;
	}

	.kt-sectionimage {
		margin: 14px 0 20px;
	}

	.kt-btn--inline {
		display: block;
		min-width: 0;
		width: 100%;
	}

	.kt-sectionnav__inner {
		padding-left: 14px;
		padding-right: 14px;
	}
}
/* --------------------------------------------------------------------------------
	CTA button text color override
	- Prevent higher-level/common CSS from forcing link text to black
-------------------------------------------------------------------------------- */
#column a.kt-btn--primary,
#column a.kt-btn--primary:link,
#column a.kt-btn--primary:visited,
#column a.kt-btn--primary:hover,
#column a.kt-btn--primary:focus,
#column a.kt-btn--primary:active,
#column .kt-sectionnav a.kt-btnPrimary,
#column .kt-sectionnav a.kt-btnPrimary:link,
#column .kt-sectionnav a.kt-btnPrimary:visited,
#column .kt-sectionnav a.kt-btnPrimary:hover,
#column .kt-sectionnav a.kt-btnPrimary:focus,
#column .kt-sectionnav a.kt-btnPrimary:active {
	color: #fff !important;
}