@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;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	padding-top: 8px;
	padding-bottom: 8px;
	overflow: visible;
	white-space: normal;
}

.kt-sectionnav a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	max-width: 100%;
	padding: 9px 11px;
	border-radius: 999px;
	border: 1px solid var(--kt-border);
	text-decoration: none;
	color: var(--kt-text);
	font-weight: 700;
	font-size: 13px;
	line-height: 1.35;
	white-space: nowrap;
	flex: 0 0 auto;
}

.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;
	}
}


/* --------------------------------------------------------------------------------
	永年勤続のお祝い記事：追加スタイル
-------------------------------------------------------------------------------- */

:root {
	--kt-accent-dark: #7d5434;
	--kt-accent-soft: #f8f2ec;
	--kt-accent-pale: #fcf9f6;
	--kt-success-soft: #f3f8f2;
	--kt-warning-soft: #fff8e8;
}

/* 基本文字 */
#column .kt-main p,
#column .kt-main li,
#column .kt-main td,
#column .kt-main th {
	line-height: 1.9;
}

#column .kt-main>section {
	scroll-margin-top: 82px;
}

#column h2 {
	font-size: 25px;
	line-height: 1.55;
	padding: 13px 16px;
	border-left: 5px solid var(--kt-accent);
	background: var(--kt-accent-pale);
	border-radius: 0 8px 8px 0;
}

#column h3 {
	font-size: 20px;
	line-height: 1.55;
	padding-bottom: 7px;
	border-bottom: 2px solid #eadfd6;
}

#column .inner {
	margin-top: 16px;
}

/* hero
   nomikai-manners と同じ固定高さ + cover 方式 */
.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;
	object-position: center center;
	display: block;
}

.kt-hero__lead {
	max-width: 900px;
}

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

/* この記事でわかること */
.kt-summary {
	margin: 0 0 32px !important;
	padding: 22px;
	border: 1px solid #e7d9cd;
	border-radius: var(--kt-radius);
	background: linear-gradient(180deg, #fff 0%, var(--kt-accent-pale) 100%);
	box-shadow: var(--kt-shadow);
}

#column .kt-summary__title {
	margin: 0 0 14px;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 21px;
}

.kt-summary__points {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 18px;
	list-style: none;
	padding: 0;
	margin: 0 0 18px;
}

.kt-summary__points li {
	position: relative;
	padding-left: 24px;
}

.kt-summary__points li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 700;
	color: var(--kt-accent-dark);
}

/* table */
.kt-tableWrap {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 18px 0;
	border: 1px solid var(--kt-border);
	border-radius: 10px;
	background: #fff;
}

.kt-tableWrap table {
	width: 100%;
	min-width: 600px;
	border-collapse: collapse;
	background: #fff;
}

.kt-tableWrap caption {
	text-align: left;
	font-weight: 700;
	font-size: 16px;
	padding: 14px 14px 8px;
	color: var(--kt-text);
}

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

.kt-tableWrap tr>*:last-child {
	border-right: 0;
}

.kt-tableWrap thead th {
	background: #f4ede7;
	color: #3e2b1d;
	font-weight: 700;
}

.kt-tableWrap tbody th {
	background: #fbf8f5;
	white-space: nowrap;
}

.kt-note {
	margin: 10px 0 18px !important;
	padding: 10px 12px;
	background: #f8f8f8;
	border-left: 3px solid #bbb;
	color: #555;
	font-size: 13px;
}

/* section images */
.kt-sectionImage {
	margin: 14px 0 20px;
}

.kt-sectionImage img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
}

/* sources */
.kt-source {
	margin: 14px 0 20px !important;
	padding: 10px 12px;
	border: 1px solid var(--kt-border);
	border-radius: 8px;
	background: #fafafa;
	font-size: 13px;
	color: #555;
	word-break: break-word;
}

.kt-source a {
	color: var(--kt-accent-dark);
	text-decoration: underline;
}

/* numbered purpose list */
.kt-numberList {
	counter-reset: kt-purpose;
	list-style: none;
	padding: 0;
	margin: 14px 0 20px;
}

.kt-numberList li {
	position: relative;
	padding: 14px 14px 14px 52px;
	margin-bottom: 9px;
	border: 1px solid var(--kt-border);
	border-radius: 9px;
	background: #fff;
}

.kt-numberList li::before {
	counter-increment: kt-purpose;
	content: counter(kt-purpose);
	position: absolute;
	left: 14px;
	top: 14px;
	width: 27px;
	height: 27px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--kt-accent);
	color: #fff;
	font-weight: 700;
	line-height: 1;
}

/* gift cards */
.kt-giftGrid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 22px 0;
}

#column .kt-giftCard {
	position: relative;
	margin: 0;
	padding: 20px;
	border: 1px solid var(--kt-border);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 3px 14px rgba(0, 0, 0, .045);
}

#column .kt-giftCard h3 {
	margin-top: 4px;
	font-size: 19px;
}

.kt-giftCard__num {
	margin: 0 !important;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	color: var(--kt-accent);
}

#column .kt-giftCard--featured {
	grid-column: 1 / -1;
	border: 2px solid var(--kt-accent);
	background: linear-gradient(180deg, #fff 0%, var(--kt-accent-pale) 100%);
}

.kt-giftCard__badge {
	display: inline-block;
	margin: 4px 0 0 !important;
	padding: 4px 9px;
	border-radius: 999px;
	background: var(--kt-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.kt-caution {
	padding: 10px 12px;
	border-radius: 8px;
	background: var(--kt-warning-soft);
	font-size: 13px;
}

.kt-fitBox {
	margin-top: 14px;
	padding: 14px 16px;
	border-radius: 9px;
	background: #fff;
	border: 1px solid #e3d2c4;
}

.kt-fitBox__title {
	margin: 0 0 7px !important;
	font-weight: 700;
	color: var(--kt-accent-dark);
}

.kt-fitBox ul {
	margin: 0;
	padding-left: 1.3em;
}

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

.kt-cta__eyebrow {
	margin: 0 0 6px !important;
	color: var(--kt-accent-dark);
	font-weight: 700;
	font-size: 13px;
}

.kt-cta__title {
	margin: 0 0 8px !important;
	font-size: 21px;
	font-weight: 800;
	line-height: 1.5;
}

.kt-cta__actions {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 14px;
}

.kt-cta__actions .kt-btn {
	min-width: 220px;
	margin-top: 0;
}

.kt-cta--last {
	margin-bottom: 8px;
}

/* 避けたいギフト */
.kt-ngList,
.kt-checkList {
	list-style: none;
	padding: 0;
	margin: 14px 0 20px;
}

.kt-ngList li,
.kt-checkList li {
	position: relative;
	margin-bottom: 8px;
	padding: 12px 14px 12px 40px;
	border-radius: 8px;
	background: #fafafa;
}

.kt-ngList li::before {
	content: "!";
	position: absolute;
	left: 14px;
	top: 12px;
	width: 20px;
	height: 20px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #8e6b4e;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
}

.kt-checkList li {
	background: var(--kt-success-soft);
}

.kt-checkList li::before {
	content: "✓";
	position: absolute;
	left: 14px;
	top: 11px;
	color: #486a43;
	font-size: 18px;
	font-weight: 800;
}

/* message examples */
.kt-example {
	margin: 12px 0;
	padding: 15px 16px;
	border-left: 4px solid var(--kt-accent);
	border-radius: 0 8px 8px 0;
	background: #fff8e8;
}

.kt-example p {
	margin: 0 !important;
}

.kt-example__label {
	margin-bottom: 6px !important;
	font-weight: 700;
	color: #69472f;
}

/* FAQ */
.kt-faqList {
	margin: 18px 0;
}

.kt-faqItem {
	margin-bottom: 10px;
	border: 1px solid var(--kt-border);
	border-radius: 9px;
	background: #fff;
	overflow: hidden;
}

.kt-faqItem summary {
	position: relative;
	cursor: pointer;
	list-style: none;
	padding: 15px 46px 15px 50px;
	font-weight: 700;
	line-height: 1.6;
}

.kt-faqItem summary::-webkit-details-marker {
	display: none;
}

.kt-faqItem summary::before {
	content: "Q";
	position: absolute;
	left: 15px;
	top: 14px;
	width: 25px;
	height: 25px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--kt-accent);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}

.kt-faqItem summary::after {
	content: "＋";
	position: absolute;
	right: 16px;
	top: 13px;
	font-size: 23px;
	font-weight: 400;
	color: var(--kt-accent-dark);
}

.kt-faqItem[open] summary::after {
	content: "－";
}

.kt-faqItem>div {
	padding: 0 16px 15px 50px;
	border-top: 1px solid #f0f0f0;
}

.kt-faqItem>div p {
	margin: 12px 0 0 !important;
}

/* button readability: upper-level styles overwrite prevention */
#main .kt-btn--primary,
#main .kt-sectionnav a.kt-btnPrimary {
	color: #fff !important;
}

#main .kt-btn--primary:visited,
#main .kt-sectionnav a.kt-btnPrimary:visited {
	color: #fff !important;
}

/* responsive */
@media (max-width: 1024px) {
	#column h2 {
		font-size: 23px;
	}

	.kt-giftGrid {
		grid-template-columns: 1fr;
	}

	#column .kt-giftCard--featured {
		grid-column: auto;
	}
}

@media (max-width: 768px) {
	.kt-hero__media {
		height: 200px;
		padding-top: 0;
	}

	.kt-hero__inner {
		padding-top: 14px;
	}

	.kt-sectionnav {
		overflow: hidden;
	}

	.kt-sectionnav__inner {
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		padding-top: 8px;
		padding-bottom: 8px;
		scrollbar-width: thin;
	}

	.kt-sectionnav__inner::after {
		content: "";
		flex: 0 0 6px;
	}

	.kt-summary {
		padding: 17px 14px;
	}

	.kt-summary__points {
		grid-template-columns: 1fr;
		gap: 5px;
	}

	#column h2 {
		font-size: 21px;
		padding: 11px 12px;
	}

	#column h3 {
		font-size: 18px;
	}

	.kt-giftGrid {
		gap: 12px;
	}

	#column .kt-giftCard {
		padding: 16px 14px;
	}

	.kt-cta {
		padding: 18px 14px;
		text-align: left;
	}

	.kt-cta__actions {
		display: block;
	}

	.kt-cta__actions .kt-btn {
		width: 100%;
		min-width: 0;
		box-sizing: border-box;
		margin-top: 9px;
	}

	.kt-faqItem summary {
		padding-left: 45px;
	}

	.kt-faqItem>div {
		padding-left: 16px;
	}

	.kt-tableWrap {
		border-radius: 8px;
	}

	.kt-tableWrap::after {
		content: "← 横にスクロールできます →";
		display: block;
		padding: 7px 10px;
		text-align: center;
		font-size: 11px;
		color: #777;
		background: #fafafa;
		border-top: 1px solid var(--kt-border);
	}
}

/* --------------------------------------------------------------------------------
	HERO final override
	nomikai-manners と同一仕様：PC 260px / SP 200px
-------------------------------------------------------------------------------- */
#main #column .kt-hero__media {
	position: relative;
	width: 100%;
	height: 260px !important;
	padding-top: 0 !important;
	overflow: hidden !important;
	background: var(--kt-bg-soft);
}

#main #column .kt-hero__media>img {
	position: static !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	object-fit: cover !important;
	object-position: center center !important;
}

@media (max-width: 768px) {
	#main #column .kt-hero__media {
		height: 200px !important;
		padding-top: 0 !important;
	}
}