/* Shared shell used by SWELL-rendered posts, archives, and custom page templates. */
.sc-sidebar-fallback {
	display: grid;
	gap: 18px;
	margin-top: 4px;
}

.sc-sidebar-widget {
	padding: 20px 18px;
	border: 1px solid #dbe8ec;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(8, 70, 100, .06);
}

.sc-sidebar-widget h2 {
	margin: 0 0 12px;
	color: #092b57;
	font-size: 18px;
	font-weight: 800;
}

.sc-sidebar-widget p {
	margin: 0 0 14px;
	color: #4e6476;
	font-size: 14px;
	line-height: 1.8;
}

.sc-sidebar-widget a {
	color: #087d86;
	font-weight: 800;
	text-decoration: none;
}

body.sampo-shared-shell .l-header,
body.sampo-shared-shell #header,
body.sampo-shared-shell #fix_header,
body.sampo-shared-shell .p-fixHeader,
body.sampo-shared-shell .p-header,
body.sampo-shared-shell .p-headerInfo,
body.sampo-shared-shell .p-headerBanner,
body.sampo-shared-shell .c-infoBar,
body.sampo-shared-shell .p-spMenu,
body.sampo-shared-shell .l-footer,
body.sampo-shared-shell #footer,
body.sampo-shared-shell .p-footer,
body.sampo-shared-shell .p-footer__nav,
body.sampo-shared-shell .p-footer__inner,
body.sampo-shared-shell .p-footer__foot,
body.sampo-shared-shell .w-footer,
body:has(.sc-header--shared) .l-header,
body:has(.sc-header--shared) #header,
body:has(.sc-header--shared) #fix_header,
body:has(.sc-header--shared) .p-fixHeader,
body:has(.sc-header--shared) .p-header,
body:has(.sc-header--shared) .p-headerInfo,
body:has(.sc-header--shared) .p-headerBanner,
body:has(.sc-header--shared) .c-infoBar,
body:has(.sc-header--shared) .p-spMenu,
body:has(.sc-header--shared) .c-gnav,
body:has(.sc-header--shared) .l-footer,
body:has(.sc-header--shared) #footer,
body:has(.sc-header--shared) .p-footer,
body:has(.sc-header--shared) .p-footer__nav,
body:has(.sc-header--shared) .p-footer__inner,
body:has(.sc-header--shared) .p-footer__foot,
body:has(.sc-header--shared) .w-footer {
	display: none !important;
}

body.sampo-shared-shell {
	--sc-ink: #0a2540;
	--sc-navy: #073563;
	--sc-blue: #0b4d78;
	--sc-teal: #008c96;
	--sc-teal-dark: #006d78;
	--sc-line: #d7ebee;
}

body.sampo-shared-shell .sc-header,
body.sampo-shared-shell .sc-footer,
body.sampo-shared-shell .sc-article-sidebar {
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
}

body.sampo-shared-shell .sc-footer {
	margin-top: 72px;
}

.sc-header--shared,
.sc-header--shared * {
	box-sizing: border-box !important;
}

.sc-header--shared {
	position: sticky !important;
	top: 0 !important;
	z-index: 1000 !important;
	width: 100% !important;
	border-bottom: 1px solid rgba(0, 118, 136, .12) !important;
	background: rgba(255, 255, 255, .96) !important;
	box-shadow: 0 6px 24px rgba(0, 72, 99, .06) !important;
	backdrop-filter: blur(16px);
}

.admin-bar .sc-header--shared {
	top: 32px !important;
}

.sc-header--shared a {
	color: inherit !important;
	text-decoration: none !important;
}

.sc-header--shared img {
	display: block !important;
	max-width: 100% !important;
	height: auto !important;
}

.sc-header--shared .sc-header__inner {
	display: flex !important;
	align-items: center !important;
	gap: clamp(10px, .9vw, 18px) !important;
	box-sizing: border-box !important;
	width: min(calc(100vw - 36px), 1760px) !important;
	min-height: 72px !important;
	margin-inline: auto !important;
}

.sc-header--shared .sc-brand {
	display: inline-flex !important;
	align-items: center !important;
	flex: 0 1 300px !important;
	gap: 10px !important;
	min-width: 240px !important;
	max-width: 300px !important;
	color: #0a2540 !important;
}

.sc-header--shared .sc-brand__mark {
	flex: 0 0 auto !important;
	width: 38px !important;
	height: 38px !important;
	object-fit: contain !important;
}

.sc-header--shared .sc-brand__text {
	display: grid !important;
	gap: 0 !important;
	min-width: 0 !important;
	line-height: 1.1 !important;
}

.sc-header--shared .sc-brand__name {
	color: #0a2540 !important;
	font-size: clamp(18px, 1.25vw, 22px) !important;
	font-weight: 800 !important;
	line-height: 1.1 !important;
	letter-spacing: 0 !important;
	white-space: nowrap !important;
}

.sc-header--shared .sc-brand__tag {
	color: #0b4d78 !important;
	font-size: clamp(9px, .62vw, 11px) !important;
	font-weight: 700 !important;
	line-height: 1.1 !important;
	letter-spacing: .04em !important;
	white-space: nowrap !important;
}

.sc-header--shared .sc-global-nav {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 1 1 auto !important;
	gap: clamp(10px, .85vw, 20px) !important;
	min-width: 0 !important;
	color: #152f45 !important;
	font-size: clamp(11px, .72vw, 13px) !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	letter-spacing: 0 !important;
	white-space: nowrap !important;
	overflow: hidden !important;
}

.sc-header--shared .sc-global-nav a {
	flex: 0 1 auto !important;
	min-width: 0 !important;
	color: #152f45 !important;
	text-decoration: none !important;
	white-space: nowrap !important;
}

.sc-header--shared .sc-global-nav a:hover {
	color: #008c96 !important;
}

.sc-header--shared .sc-header__actions {
	display: flex !important;
	align-items: center !important;
	flex: 0 1 auto !important;
	gap: 8px !important;
	min-width: 0 !important;
}

.sc-header--shared .sc-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 9px !important;
	min-height: 42px !important;
	padding: 0 18px !important;
	border: 1px solid #008c96 !important;
	border-radius: 4px !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	line-height: 1.3 !important;
	text-align: center !important;
	white-space: nowrap !important;
}

.sc-header--shared .sc-btn::after {
	width: 7px !important;
	height: 7px !important;
	border-top: 2px solid currentColor !important;
	border-right: 2px solid currentColor !important;
	content: "" !important;
	transform: rotate(45deg) !important;
}

.sc-header--shared .sc-btn--primary {
	border-color: #006272 !important;
	background: #006272 !important;
	color: #fff !important;
}

.sc-header--shared .sc-btn--outline {
	background: #fff !important;
	color: #006d78 !important;
}

.sc-article-sidebar {
	display: grid;
	align-content: start;
	gap: 24px;
	margin-top: 0;
}

.sc-article-sidebar,
.sc-article-sidebar * {
	box-sizing: border-box;
}

.sc-article-sidebar .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.sc-article-sidebar__cta,
.sc-article-sidebar__panel {
	border: 1px solid #d9ebef;
	border-radius: 12px;
	box-shadow: 0 18px 44px rgba(6, 68, 92, .07);
}

.sc-article-sidebar__cta {
	position: relative;
	padding: 24px 22px;
	overflow: hidden;
	background: radial-gradient(circle at 92% 12%, rgba(0, 140, 150, .16), transparent 34%), linear-gradient(145deg, #f3fcfc 0%, #e6f6f7 100%);
}

.sc-article-sidebar__cta h2,
.sc-article-sidebar__panel h2 {
	margin: 0;
	color: #0a2540;
	font-size: 18px;
	font-weight: 900;
	line-height: 1.65;
	letter-spacing: 0;
}

.sc-article-sidebar__cta p,
.sc-article-sidebar__panel p {
	margin: 14px 0 20px;
	color: #334b5f;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.9;
}

.sc-article-sidebar__cta a,
.sc-article-sidebar__karte-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 7px;
	background: linear-gradient(135deg, #008c96, #006272);
	color: #fff !important;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	box-shadow: 0 13px 26px rgba(0, 111, 122, .22);
}

.sc-article-sidebar__cta a {
	border-radius: 999px;
	font-size: 14px;
}

.sc-article-sidebar__cta a::after,
.sc-article-sidebar__karte-button::after {
	width: 8px;
	height: 8px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	content: "";
	transform: rotate(45deg);
}

.sc-article-sidebar__cta a:hover,
.sc-article-sidebar__karte-button:hover {
	background: linear-gradient(135deg, #006f79, #004f5d);
	color: #fff !important;
	text-decoration: none !important;
}

.sc-article-sidebar__karte-cta {
	position: relative;
	overflow: hidden;
	padding: 24px 22px 20px;
	border: 1px solid #cfe7eb;
	border-radius: 12px;
	background: radial-gradient(circle at 88% 18%, rgba(0, 140, 150, .14), transparent 34%), linear-gradient(180deg, #f4fcfc 0%, #fff 100%);
	box-shadow: 0 18px 44px rgba(6, 68, 92, .07);
}

.sc-article-sidebar__karte-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 92px;
	gap: 14px 16px;
	align-items: start;
}

.sc-article-sidebar__karte-head p {
	grid-column: 1 / -1;
	margin: 0 0 2px;
	color: #0b8790;
	font-size: 12px;
	font-weight: 900;
	line-height: 1.5;
}

.sc-article-sidebar__karte-head h2 {
	margin: 0;
	color: #006f79;
	font-size: 24px;
	font-weight: 900;
	line-height: 1.28;
	letter-spacing: 0;
}

.sc-article-sidebar__karte-head span {
	display: block;
	margin-top: 10px;
	color: #385169;
	font-size: 11.5px;
	font-weight: 800;
	line-height: 1.55;
}

.sc-article-sidebar__karte-head img {
	display: block;
	width: 92px;
	height: 64px;
	margin-top: -4px;
	border: 1px solid #d8e9ec;
	border-radius: 7px;
	background: #fff;
	object-fit: cover;
	box-shadow: 0 10px 22px rgba(6, 68, 92, .12);
}

.sc-article-sidebar__karte-points {
	display: grid;
	margin: 22px 0 24px;
	padding: 0;
	border-top: 1px solid #d9ebef;
	border-bottom: 1px solid #d9ebef;
	list-style: none;
}

.sc-article-sidebar__karte-points li {
	position: relative;
	margin: 0;
	padding: 12px 0 12px 16px;
	color: #173047;
	font-size: 12px;
	font-weight: 900;
	line-height: 1.55;
}

.sc-article-sidebar__karte-points li + li {
	border-top: 1px solid #e8f1f3;
}

.sc-article-sidebar__karte-points li::before {
	position: absolute;
	left: 0;
	top: 20px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #008c96;
	content: "";
}

.sc-article-sidebar__karte-button {
	width: 100%;
	padding-inline: 16px;
}

.sc-article-sidebar__panel {
	padding: 20px;
	background: #fff;
}

.sc-article-sidebar__panel img {
	display: block;
	max-width: 100%;
	height: auto;
}

.sc-article-sidebar__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}

.sc-article-sidebar__head a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #00818b !important;
	font-size: 12px;
	font-weight: 900;
	text-decoration: none !important;
	white-space: nowrap;
}

.sc-article-sidebar__head a::after,
.sc-article-sidebar__categories a::after {
	width: 7px;
	height: 7px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	content: "";
	transform: rotate(45deg);
}

.sc-article-sidebar__posts {
	display: grid;
}

.sc-article-sidebar__post {
	display: grid;
	grid-template-columns: 86px minmax(0, 1fr);
	gap: 12px;
	padding: 13px 0;
	border-top: 1px solid #e8f1f3;
	color: #1c3347 !important;
	text-decoration: none !important;
}

.sc-article-sidebar__post:first-child {
	border-top: 0;
	padding-top: 0;
}

.sc-article-sidebar__post:last-child {
	padding-bottom: 0;
}

.sc-article-sidebar__post img {
	display: block;
	width: 86px;
	height: 62px;
	border-radius: 6px;
	object-fit: cover;
	background: #eef6f8;
}

.sc-article-sidebar__post span {
	display: grid;
	align-content: start;
	gap: 7px;
	min-width: 0;
}

.sc-article-sidebar__post strong {
	display: -webkit-box;
	overflow: hidden;
	color: #173047;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.55;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.sc-article-sidebar__post time {
	color: #708191;
	font-size: 11px;
	font-weight: 700;
}

.sc-article-sidebar__categories {
	display: grid;
	margin-top: 12px;
}

.sc-article-sidebar__categories a {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 10px 0;
	border-top: 1px solid #e8f1f3;
	color: #233c54 !important;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none !important;
}

.sc-article-sidebar__categories a:first-child {
	border-top: 0;
}

.sc-article-sidebar__category-icon {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border: 1px solid #d3eaed;
	border-radius: 9px;
	background: #effafa;
	color: #0b8790;
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
}

.sc-article-sidebar__category-icon--2 { background: #f3f8ff; color: #245b95; }
.sc-article-sidebar__category-icon--3 { background: #f4fbf4; color: #28784b; }
.sc-article-sidebar__category-icon--4 { background: #fff8ed; color: #946224; }
.sc-article-sidebar__category-icon--5 { background: #f7f2ff; color: #6750a4; }
.sc-article-sidebar__category-icon--6 { background: #fff3f3; color: #b83c3c; }

.sc-article-sidebar__search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 44px;
	gap: 8px;
	margin-top: 14px;
}

.sc-article-sidebar__search input {
	width: 100%;
	height: 44px;
	padding: 0 13px;
	border: 1px solid #d6e7ea;
	border-radius: 6px;
	background: #fff;
	color: #173047;
	font-size: 13px;
	font-weight: 700;
	outline: none;
}

.sc-article-sidebar__search input:focus {
	border-color: #008c96;
	box-shadow: 0 0 0 3px rgba(0, 140, 150, .12);
}

.sc-article-sidebar__search button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: #008c96;
	color: #fff;
	cursor: pointer;
	box-shadow: 0 10px 20px rgba(0, 111, 122, .18);
}

.sc-article-sidebar__search button:hover {
	background: #006f79;
}

.sc-article-sidebar__search svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.4;
}

.sc-article-sidebar__head a:hover,
.sc-article-sidebar__post:hover,
.sc-article-sidebar__categories a:hover {
	color: #006272 !important;
	text-decoration: none !important;
}

body.sampo-shared-shell .sc-footer--shared a {
	color: inherit;
	text-decoration: none;
}

body.sampo-shared-shell .sc-footer--shared .sc-footer__inner {
	align-items: start;
}

body.sampo-shared-shell .sc-footer--shared .sc-footer__brand {
	display: grid;
	gap: 20px;
	min-width: 0;
}

body.sampo-shared-shell .sc-footer--shared .sc-footer__legal {
	display: grid;
	gap: 9px;
	margin-top: 4px;
}

body.sampo-shared-shell .sc-footer--shared .sc-footer__heading {
	min-height: 0;
	margin-bottom: 4px;
	padding-bottom: 9px;
	border-bottom: 1px solid rgba(255, 255, 255, .24);
	color: #fff;
	line-height: 1.55;
}

body.sampo-shared-shell .sc-footer--shared .sc-footer__col a:not(.sc-footer__heading),
body.sampo-shared-shell .sc-footer--shared .sc-footer__legal a {
	color: rgba(255, 255, 255, .84);
	line-height: 1.75;
}

body.sampo-shared-shell .sc-footer--shared .sc-footer__col a:hover,
body.sampo-shared-shell .sc-footer--shared .sc-footer__legal a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
}

body.sampo-shared-shell .sc-footer--shared .sc-footer__copy {
	text-align: left;
}

@media (min-width: 1181px) {
	.sc-header--shared .sc-header__inner {
		width: min(calc(100% - 24px), 1380px) !important;
		max-width: 1380px !important;
		min-height: 72px !important;
		margin-left: max(12px, calc((100vw - 1380px) / 2)) !important;
		margin-right: auto !important;
		gap: clamp(10px, 1vw, 18px) !important;
		padding-inline: 0 !important;
	}

	.sc-header--shared .sc-brand {
		flex: 0 0 auto !important;
		min-width: 190px !important;
		max-width: none !important;
		gap: 10px !important;
	}

	.sc-header--shared .sc-brand__mark { width: 38px !important; height: 38px !important; }
	.sc-header--shared .sc-brand__name { font-size: 19px !important; line-height: 1.1 !important; }
	.sc-header--shared .sc-brand__tag { font-size: 10px !important; line-height: 1.1 !important; }
	.sc-header--shared .sc-global-nav { display: flex !important; flex: 1 1 auto !important; gap: clamp(8px, .8vw, 16px) !important; font-size: 12px !important; overflow: visible !important; }
	.sc-header--shared .sc-global-nav a { flex: 0 0 auto !important; }
	.sc-header--shared .sc-header__actions { display: flex !important; flex: 0 0 auto !important; gap: 6px !important; }
	.sc-header--shared .sc-header__actions .sc-btn { display: inline-flex !important; }
	.sc-header--shared .sc-btn--small { flex: 0 0 auto !important; max-width: none !important; min-height: 42px !important; padding-inline: 12px !important; font-size: 11.5px !important; overflow: visible !important; text-overflow: clip !important; white-space: nowrap !important; }
	.sc-header--shared .sc-nav-toggle { display: none !important; }
}

@media (max-width: 1180px) {
	.sc-header--shared .sc-global-nav,
	.sc-header--shared .sc-header__actions .sc-btn { display: none !important; }
	.sc-header--shared .sc-nav-toggle { display: block !important; }
}

@media (max-width: 959px) {
	.sc-article-sidebar {
		gap: 18px;
		margin-top: 36px;
	}

	.sc-article-sidebar__cta {
		padding: 22px 20px;
	}
}

@media (max-width: 820px) {
	body.sampo-shared-shell .sc-footer--shared { margin-top: 48px; }
	body.sampo-shared-shell .sc-footer--shared .sc-footer__inner { width: min(calc(100% - 32px), var(--sc-container)); padding: 42px 0 28px; gap: 30px; }
	body.sampo-shared-shell .sc-footer--shared .sc-brand { min-width: 0; max-width: 100%; }
	body.sampo-shared-shell .sc-footer--shared .sc-brand__text { min-width: 0; }
	body.sampo-shared-shell .sc-footer--shared .sc-footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; width: 100%; min-width: 0; }
	body.sampo-shared-shell .sc-footer--shared .sc-footer__col { gap: 8px; min-width: 0; }
	body.sampo-shared-shell .sc-footer--shared .sc-footer__heading,
	body.sampo-shared-shell .sc-footer--shared .sc-footer__col a:not(.sc-footer__heading) { display: block; width: 100%; overflow-wrap: anywhere; word-break: keep-all; }
	body.sampo-shared-shell .sc-footer--shared .sc-footer__copy { width: min(calc(100% - 32px), var(--sc-container)); padding-bottom: 30px; }
}

@media (max-width: 520px) {
	body.sampo-shared-shell .sc-footer--shared .sc-footer__nav { grid-template-columns: 1fr; }
	body.sampo-shared-shell .sc-footer--shared .sc-footer__heading { font-size: 14px; }
}
