/**
 * 下層ページ専用 — トップと共有 BEM 以外のブロック
 * 共有セクション（guide / outcomes / faq / line 等）は smart-life.css の body.smartlife-branded
 */

body.smartlife-branded:not(.smartlife-home-fixed-line-shell) {
	background: var(--home-bg, var(--sla-surface-page));
	color: var(--home-ink, var(--ink));
}

/* ==================================================================
   ページヘッド
   ================================================================== */
body.smartlife-branded .page-head {
	padding-top: var(--sla-page-head-pad-top, clamp(7rem, 14vw, 9.5rem));
	padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
	background: var(--ivory);
	border-bottom: 1px solid var(--border);
}

body.smartlife-branded .page-head--cta {
	padding-bottom: clamp(1.5rem, 3vw, 2rem);
}

body.smartlife-branded .page-head__inner {
	max-width: none;
}

body.smartlife-branded .page-head__kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	margin: 0 0 0.75rem;
	font-family: var(--font-en);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	color: var(--green-deep);
}

body.smartlife-branded .page-head__kicker::before {
	content: "";
	width: 2.2rem;
	height: 2px;
	background: var(--green-mid);
	border-radius: 50vh;
}

body.smartlife-branded .page-head__title {
	margin: 0 0 0.875rem;
	color: var(--ink);
	font-family: var(--font-serif);
	font-size: clamp(1.875rem, 3.2vw, 2.625rem);
	font-weight: 700;
	line-height: 1.32;
	letter-spacing: 0.01em;
}

body.smartlife-branded .page-head__lead {
	margin: 0;
	max-width: none;
	width: 100%;
	color: var(--ink-mid);
	font-size: clamp(1rem, 1.15vw, 1.0625rem);
	line-height: 1.7;
}

body.smartlife-branded .page-head__lead-wrap {
	width: 100%;
}

body.smartlife-branded .page-head__lead-body {
	width: 100%;
}

body.smartlife-branded .page-head__lead-wrap.is-collapsible.is-collapsed .page-head__lead-body {
	max-height: var(--page-head-lead-collapsed-height, none);
	overflow: hidden;
}

body.smartlife-branded .page-head__lead-toggle {
	display: inline-grid;
	grid-template-columns: auto auto;
	column-gap: 0.45rem;
	row-gap: 0.35rem;
	align-items: center;
	margin: 0.65rem 0 0;
	padding: 0.35rem 0;
	cursor: pointer;
	background: none;
	border: 0;
	font-size: var(--sla-text-link-size, 0.9375rem);
	font-weight: 700;
	line-height: 1.45;
	color: var(--ink);
	transition: color 0.2s var(--ease);
}

body.smartlife-branded .page-head__lead-toggle::before {
	content: "";
	grid-column: 1 / -1;
	grid-row: 2;
	height: 2px;
	background: var(--ink);
	transition: background 0.22s var(--ease);
}

body.smartlife-branded .page-head__lead-toggle::after {
	content: "↓";
	grid-column: 2;
	grid-row: 1;
	font-family: var(--font-en);
	font-size: 1em;
	font-weight: 700;
	color: inherit;
	transition: transform 0.28s var(--ease);
}

body.smartlife-branded .page-head__lead-wrap.is-expanded .page-head__lead-toggle::after {
	content: "↑";
}

body.smartlife-branded .page-head__lead-toggle:hover {
	color: var(--sla-btn);
}

body.smartlife-branded .page-head__lead-toggle:hover::before {
	background: var(--sla-btn);
}

body.smartlife-branded .page-head__lead-toggle:hover::after {
	transform: translateY(3px);
}

body.smartlife-branded .page-head__lead-wrap.is-expanded .page-head__lead-toggle:hover::after {
	transform: translateY(-3px);
}

body.smartlife-branded .page-head__lead-toggle[hidden] {
	display: none !important;
}

body.smartlife-branded .page-head__note {
	margin: 0.75rem 0 0;
	max-width: none;
	width: 100%;
	color: var(--ink-mid);
	font-size: 0.9375rem;
	line-height: 1.65;
	opacity: 0.9;
}

body.smartlife-branded .page-head__cta {
	display: flex;
	justify-content: flex-start;
	padding-top: 0.5rem;
}

/* ==================================================================
   guide-section 下層向け拡張
   ================================================================== */
body.smartlife-branded .guide-section--cream {
	background: var(--cream);
}

body.smartlife-branded .guide-card--current {
	border-color: var(--green-mid);
	box-shadow: 0 16px 40px rgba(38, 31, 25, 0.12);
	background: linear-gradient(135deg, #fff 0%, rgba(230, 245, 235, 0.35) 100%);
}

body.smartlife-branded .guide-card--current .guide-card__label {
	color: var(--green-deep);
}

body.smartlife-branded .guide-section__foot {
	margin: clamp(1.4rem, 2.5vw, 2rem) 0 0;
	text-align: center;
	line-height: 1.75;
}

body.smartlife-branded .guide-grid--cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: 100%;
	max-width: none;
	gap: 1rem;
}

body.smartlife-branded .guide-grid--cols-3 .guide-card--link {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-height: 100%;
	height: auto;
	padding: 1.25rem 1.35rem;
}

/* ==================================================================
   outcomes / about バリアント
   ================================================================== */
body.smartlife-branded .outcomes-section--white {
	background: #fff;
}

/* 講座一覧：目的から選ぶ（コンパクト） */
body.smartlife-branded .outcomes-section--compact {
	padding-block: clamp(1.25rem, 2.5vw, 2rem) !important;
}

body.smartlife-branded .outcomes-section--compact .outcomes-section__head {
	max-width: none;
	margin-bottom: clamp(0.75rem, 1.5vw, 1.1rem);
	text-align: left;
}

body.smartlife-branded .outcomes-section--compact .outcomes-section__kicker {
	margin-bottom: 0.4rem;
	font-size: 0.68rem;
	letter-spacing: 0.22em;
}

body.smartlife-branded .outcomes-section--compact .outcomes-section__title {
	margin-bottom: 0;
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	line-height: 1.35;
}

body.smartlife-branded .outcomes-section--compact .outcomes-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(0.55rem, 1.2vw, 0.85rem);
	max-width: none;
}

body.smartlife-branded .outcomes-section--compact .outcome-item {
	padding: clamp(0.65rem, 1.2vw, 0.85rem) clamp(0.75rem, 1.4vw, 1rem);
}

body.smartlife-branded .outcomes-section--compact .outcome-item:hover {
	transform: none;
}

body.smartlife-branded .outcomes-section--compact .outcome-item__title {
	margin-bottom: 0.3rem;
	padding-left: 0.85rem;
	font-size: 0.92rem;
	line-height: 1.4;
}

body.smartlife-branded .outcomes-section--compact .outcome-item__title::before {
	width: 0.35rem;
	height: 0.35rem;
	top: 0.48em;
}

body.smartlife-branded .outcomes-section--compact .outcome-item__text {
	font-size: 0.82rem;
	line-height: 1.55;
}

@media (max-width: 960px) {
	body.smartlife-branded .outcomes-section--compact .outcomes-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	body.smartlife-branded .outcomes-section--compact .outcomes-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

body.smartlife-branded .about-section--cream {
	background: var(--cream);
}

body.smartlife-branded .about-feature--reverse .about-feature__media {
	order: 2;
}

body.smartlife-branded .about-feature--reverse .about-feature__content {
	order: 1;
}

body.smartlife-branded .about-feature__list {
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.55rem;
}

body.smartlife-branded .about-feature__list li {
	position: relative;
	padding-left: 1.1rem;
	color: var(--ink-mid);
	line-height: 1.75;
}

body.smartlife-branded .about-feature__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.65em;
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 50%;
	background: var(--green-mid);
}

body.smartlife-branded .about-feature__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

body.smartlife-branded .about-feature:not(:has(.about-feature__media)) {
	grid-template-columns: 1fr;
	max-width: 44rem;
	margin-inline: auto;
}

body.smartlife-branded .about-feature:not(:has(.about-feature__media)) .about-feature__content {
	max-width: none;
}

body.smartlife-branded .about-feature--image-contain {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: start;
	max-width: 100%;
	gap: clamp(1.5rem, 3vw, 2.75rem);
}

body.smartlife-branded .about-feature--image-contain .about-feature__media {
	aspect-ratio: auto;
	overflow: visible;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: clamp(0.75rem, 1.5vw, 1.25rem);
	box-shadow: none;
}

body.smartlife-branded .about-feature--image-contain .about-feature__media::after {
	display: none;
}

body.smartlife-branded .about-feature--image-contain .about-feature__img {
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: center;
}

body.smartlife-branded .about-feature--title-in-content .about-feature__heading {
	margin: 0 0 0.85rem;
	font-family: var(--font-serif);
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	font-weight: 700;
	line-height: 1.35;
	color: var(--ink);
}

body.smartlife-branded .about-feature--title-in-content .about-feature__content {
	max-width: none;
}

@media (max-width: 880px) {
	body.smartlife-branded .about-feature--image-contain .about-feature__media {
		max-width: 20rem;
		margin-inline: auto;
	}
}

body.smartlife-branded #about-partners .about-feature__content {
	text-align: left;
	margin-inline: 0;
}

body.smartlife-branded #about-partners .about-feature__kicker {
	justify-content: flex-start;
}

body.smartlife-branded #about-partners .about-feature__kicker::before {
	display: none;
}

body.smartlife-branded #about-partners .about-feature__lead {
	max-width: none;
	margin-inline: 0;
}

body.smartlife-branded #about-partners .about-feature__logo-wrap {
	display: block;
	width: fit-content;
	max-width: 100%;
	margin-inline: 0;
	margin-bottom: 1.25rem;
	padding: clamp(1rem, 2.5vw, 1.5rem) clamp(1.25rem, 3vw, 2rem);
	background: #fff;
	border: 1px solid var(--border, #c8c4b8);
	border-radius: var(--radius, 12px);
}

body.smartlife-branded #about-partners .about-feature__logo {
	display: block;
	width: auto;
	max-width: min(26rem, 100%);
	height: auto;
	margin: 0;
}

/* ==================================================================
   コンテンツビジュアル（図解・チャート）
   ================================================================== */
body.smartlife-branded .content-visual {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	min-height: 100%;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	background: var(--cream);
	border-radius: var(--radius);
}

body.smartlife-branded .content-visual--gut {
	flex-direction: column;
	text-align: center;
}

body.smartlife-branded .content-visual__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 5rem;
	min-height: 5rem;
	border-radius: 50%;
	background: var(--green-deep);
	color: #fff;
	font-family: var(--font-en);
	font-weight: 700;
	letter-spacing: 0.12em;
}

body.smartlife-branded .content-visual__arrow {
	font-size: 1.5rem;
	color: var(--green-mid);
}

body.smartlife-branded .content-visual__text {
	max-width: 14rem;
	color: var(--ink-mid);
	font-size: 0.92rem;
	line-height: 1.7;
}

body.smartlife-branded .content-visual--chart {
	padding: 1rem;
	background: #fff;
	border: 1px solid var(--border);
}

body.smartlife-branded .content-visual__svg {
	display: block;
	width: 100%;
	max-width: 22rem;
	height: auto;
}

/* ==================================================================
   講座一覧（workshops-section）
   ================================================================== */
body.smartlife-branded .workshops-section {
	padding-block: clamp(3rem, 6vw, 5rem);
	background: var(--cream);
}

body.smartlife-branded .workshops-section__layout {
	display: grid;
	grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
	gap: clamp(1.5rem, 3vw, 2.5rem);
	align-items: start;
}

body.smartlife-branded .workshops-section__kicker,
body.smartlife-branded .history-section__kicker,
body.smartlife-branded .history-era__kicker,
body.smartlife-branded .instructors-section__kicker,
body.smartlife-branded .map-section__kicker,
body.smartlife-branded .contact-section__kicker,
body.smartlife-branded .line-lp-section__kicker {
	margin: 0 0 0.75rem;
	font-family: var(--font-en);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.3em;
	color: var(--green-deep);
}

body.smartlife-branded .workshops-section__title,
body.smartlife-branded .history-section__title,
body.smartlife-branded .instructors-section__title,
body.smartlife-branded .map-section__title,
body.smartlife-branded .contact-section__title,
body.smartlife-branded .line-lp-section__title {
	margin: 0 0 0.85rem;
	font-family: var(--font-serif);
	font-size: clamp(1.25rem, 2.2vw, 1.65rem);
	font-weight: 700;
	color: var(--ink);
	line-height: 1.35;
}

body.smartlife-branded .workshops-section__lead,
body.smartlife-branded .history-section__lead,
body.smartlife-branded .line-lp-section__lead {
	margin: 0 0 1.25rem;
	color: var(--ink-mid);
	font-size: 0.92rem;
	line-height: 1.8;
}

body.smartlife-branded .workshops-filter {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	margin-bottom: 1.25rem;
}

body.smartlife-branded .workshops-filter__btn {
	display: block;
	width: 100%;
	padding: 0.65rem 0.9rem;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: calc(var(--radius) - 4px);
	color: var(--ink-mid);
	font-size: 0.88rem;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

body.smartlife-branded .workshops-filter__btn.is-active,
body.smartlife-branded .workshops-filter__btn:hover {
	border-color: var(--green-mid);
	color: var(--green-deep);
	box-shadow: 0 8px 20px rgba(38, 31, 25, 0.06);
}

body.smartlife-branded .workshops-legend {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.4rem;
}

body.smartlife-branded .workshops-legend__item {
	padding: 0.45rem 0.65rem;
	border-radius: calc(var(--radius) - 6px);
	font-size: 0.78rem;
	font-weight: 700;
}

body.smartlife-branded .workshops-legend__item--child { background: rgba(255, 200, 120, 0.25); }
body.smartlife-branded .workshops-legend__item--beauty { background: rgba(255, 180, 200, 0.25); }
body.smartlife-branded .workshops-legend__item--stage { background: rgba(180, 200, 255, 0.25); }
body.smartlife-branded .workshops-legend__item--health { background: rgba(180, 230, 200, 0.35); }

body.smartlife-branded .workshops-cluster {
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

body.smartlife-branded .workshops-cluster[hidden] {
	display: none !important;
}

body.smartlife-branded .workshops-cluster__title {
	margin: 0 0 0.35rem;
	font-family: var(--font-serif);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--ink);
}

body.smartlife-branded .workshops-cluster__intro {
	margin: 0 0 1rem;
	color: var(--ink-mid);
	font-size: 0.9rem;
	line-height: 1.75;
}

body.smartlife-branded .workshops-grid {
	display: grid;
	gap: 1rem;
}

body.smartlife-branded .workshop-card {
	display: grid;
	grid-template-columns: clamp(14rem, 24vw, 22rem) minmax(0, 1fr);
	gap: 1rem 1.25rem;
	align-items: stretch;
	padding: clamp(0.85rem, 1.6vw, 1.1rem);
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: 0 10px 30px rgba(38, 31, 25, 0.06);
	transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

body.smartlife-branded .workshop-card__body {
	display: flex;
	flex-direction: column;
	align-self: stretch;
	height: 100%;
	min-width: 0;
}

body.smartlife-branded .workshop-card__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 0.25rem;
	min-height: 0;
}

body.smartlife-branded .workshop-card__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.45rem;
}

body.smartlife-branded .workshop-card__media {
	align-self: start;
	overflow: hidden;
	border-radius: calc(var(--radius) - 6px);
	line-height: 0;
}

body.smartlife-branded .workshop-card__thumb {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	border-radius: calc(var(--radius) - 6px);
}

body.smartlife-branded .workshop-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 40px rgba(38, 31, 25, 0.1);
}

body.smartlife-branded .workshop-card__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 4.5rem;
	padding: 0.5rem;
	border-radius: calc(var(--radius) - 6px);
	background: var(--cream);
	text-align: center;
}

body.smartlife-branded .workshop-card--child .workshop-card__date { background: rgba(255, 200, 120, 0.2); }
body.smartlife-branded .workshop-card--beauty .workshop-card__date { background: rgba(255, 180, 200, 0.2); }
body.smartlife-branded .workshop-card--stage .workshop-card__date { background: rgba(180, 200, 255, 0.2); }
body.smartlife-branded .workshop-card--health .workshop-card__date { background: rgba(180, 230, 200, 0.25); }

body.smartlife-branded .workshop-card__month {
	font-family: var(--font-en);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--green-deep);
}

body.smartlife-branded .workshop-card__day {
	font-family: var(--font-serif);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.1;
	color: var(--ink);
}

body.smartlife-branded .workshop-card__dow {
	font-size: 0.72rem;
	color: var(--ink-mid);
}

body.smartlife-branded .workshop-card__title {
	margin: 0;
	font-family: var(--font-serif);
	font-size: 1rem;
	font-weight: 700;
	color: var(--ink);
	line-height: 1.3;
}

body.smartlife-branded .workshop-card__badge {
	display: inline-block;
	margin: 0;
	padding: 0.12rem 0.45rem;
	border-radius: 50vh;
	font-size: 0.68rem;
	font-weight: 700;
	flex-shrink: 0;
}

body.smartlife-branded .workshop-card__audience {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.45;
}

body.smartlife-branded .workshop-card__badge--active {
	background: rgba(6, 199, 85, 0.12);
	color: var(--green-deep);
}

body.smartlife-branded .workshop-card__badge--soon {
	background: rgba(38, 31, 25, 0.08);
	color: var(--ink-mid);
}

body.smartlife-branded .workshop-card__meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.15rem 0.65rem;
	font-size: 0.78rem;
	color: var(--ink-mid);
	line-height: 1.35;
}

body.smartlife-branded .workshop-card__desc {
	margin: 0;
	color: var(--ink-mid);
	font-size: 0.82rem;
	line-height: 1.55;
}

body.smartlife-branded .workshop-card__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.75rem;
	margin-top: auto;
	padding-top: 0.35rem;
	flex-shrink: 0;
}

body.smartlife-branded .workshop-card__detail {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0.45rem 1.05rem;
	background: var(--ink);
	color: #fff;
	font-family: var(--font-serif);
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
	border-radius: 50vh;
	box-shadow: 0 8px 20px rgba(38, 31, 25, 0.16);
	transition: background 0.22s var(--ease), transform 0.22s var(--ease);
}

body.smartlife-branded .workshop-card__detail:hover {
	background: #3d342c;
	transform: translateY(-2px);
	color: #fff;
}

body.smartlife-branded .workshop-card__line {
	font-size: 0.86rem;
	font-weight: 700;
	color: var(--ink-mid);
	text-decoration: none;
	border-bottom: 2px solid var(--border-strong);
	padding-bottom: 1px;
	transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

body.smartlife-branded .workshop-card__line:hover {
	color: var(--green-deep);
	border-color: var(--green-mid);
}

body.smartlife-branded .workshop-card__line--primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0.45rem 1.05rem;
	background: var(--line);
	color: #fff;
	border-bottom: none;
	border-radius: 50vh;
	font-size: 0.82rem;
	box-shadow: 0 8px 20px rgba(6, 199, 85, 0.22);
}

body.smartlife-branded .workshop-card__line--primary:hover {
	background: #05b24c;
	color: #fff;
	transform: translateY(-2px);
}

@media (max-width: 900px) {
	body.smartlife-branded .workshops-section__layout {
		grid-template-columns: 1fr;
	}

	body.smartlife-branded .workshop-card {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

	body.smartlife-branded .workshop-card__body {
		height: auto;
	}

	body.smartlife-branded .workshop-card__actions {
		margin-top: 0.5rem;
		padding-top: 0.45rem;
	}

	body.smartlife-branded .workshop-card__thumb {
		width: 100%;
		height: auto;
		max-width: 100%;
	}
}

/* ==================================================================
   沿革 — 時代チャプター＋モザイク（ゼロベース）
   ================================================================== */
body.smartlife-branded .history-section {
	padding-block: clamp(3rem, 6vw, 5rem);
	background: #fff;
}

body.smartlife-branded .history-section__head {
	max-width: none;
	margin: 0 0 clamp(2.2rem, 4vw, 3.2rem);
	text-align: left;
}

body.smartlife-branded .history-section__layout {
	display: grid;
	grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
	gap: clamp(1.5rem, 3vw, 2.5rem);
	align-items: start;
	max-width: 68rem;
	margin-inline: auto;
}

/* --- 左ナビ（時代ジャンプ） --- */
body.smartlife-branded .history-nav {
	position: sticky;
	top: clamp(4.5rem, 8vw, 6rem);
}

body.smartlife-branded .history-nav__list {
	list-style: none;
	margin: 0;
	padding: 0 0 0 1.1rem;
	border-left: 2px solid var(--border);
	display: grid;
	gap: 0.15rem;
}

body.smartlife-branded .history-nav__link {
	display: grid;
	gap: 0.15rem;
	padding: 0.65rem 0 0.65rem 0.85rem;
	text-decoration: none;
	border-radius: 0 calc(var(--radius) - 6px) calc(var(--radius) - 6px) 0;
	transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

body.smartlife-branded .history-nav__link:hover,
body.smartlife-branded .history-nav__link:focus-visible {
	background: rgba(230, 245, 235, 0.45);
	outline: none;
}

body.smartlife-branded .history-nav__range {
	font-family: var(--font-en);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--green-deep);
}

body.smartlife-branded .history-nav__label {
	font-size: 0.78rem;
	line-height: 1.45;
	color: var(--ink-mid);
}

/* --- 時代ブロック --- */
body.smartlife-branded .history-era {
	scroll-margin-top: clamp(4rem, 7vw, 5.5rem);
	padding: clamp(1.1rem, 2vw, 1.5rem);
	border-radius: var(--radius);
}

body.smartlife-branded .history-era--cream {
	background: var(--cream);
}

body.smartlife-branded .history-era + .history-era {
	margin-top: clamp(1rem, 2vw, 1.5rem);
}

body.smartlife-branded .history-era__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem 1rem;
	margin-bottom: clamp(0.85rem, 1.5vw, 1.15rem);
	padding-bottom: 0.65rem;
	border-bottom: 2px solid var(--green-light);
}

body.smartlife-branded .history-era__kicker {
	margin: 0;
	font-family: var(--font-en);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.28em;
	color: var(--green-deep);
}

body.smartlife-branded .history-era__title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.45rem 0.85rem;
	margin: 0;
	font-family: var(--font-serif);
	font-weight: 700;
	line-height: 1.35;
}

body.smartlife-branded .history-era__range {
	font-size: clamp(1.15rem, 2vw, 1.35rem);
	color: var(--ink);
}

body.smartlife-branded .history-era__title-text {
	font-size: clamp(0.92rem, 1.4vw, 1.05rem);
	color: var(--ink-mid);
	font-weight: 700;
}

/* --- モザイクグリッド --- */
body.smartlife-branded .history-mosaic {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: clamp(0.65rem, 1.2vw, 0.85rem);
	grid-auto-flow: dense;
}

body.smartlife-branded .history-milestone {
	margin: 0;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: calc(var(--radius) - 4px);
	box-shadow: 0 8px 22px rgba(38, 31, 25, 0.05);
	overflow: hidden;
	transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

body.smartlife-branded .history-era--cream .history-milestone {
	background: #fff;
}

body.smartlife-branded .history-milestone:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 36px rgba(38, 31, 25, 0.1);
	border-color: var(--green-light);
}

/* 写真あり — 横長スポットライト（2列分） */
body.smartlife-branded .history-milestone--spotlight {
	grid-column: span 3;
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	align-items: stretch;
}

body.smartlife-branded .history-milestone--spotlight .history-milestone__media {
	margin: 0;
	min-height: 100%;
}

body.smartlife-branded .history-milestone--spotlight .history-milestone__img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 9rem;
	object-fit: cover;
	object-position: center;
}

body.smartlife-branded .history-milestone--spotlight .history-milestone__body {
	padding: clamp(0.85rem, 1.5vw, 1.1rem) clamp(0.95rem, 1.6vw, 1.2rem);
}

/* テキスト＋補足 — 2列分 */
body.smartlife-branded .history-milestone--standard {
	grid-column: span 2;
}

body.smartlife-branded .history-milestone--standard .history-milestone__body {
	padding: clamp(0.8rem, 1.4vw, 1rem) clamp(0.9rem, 1.5vw, 1.1rem);
}

/* タイトルのみ — 1列コンパクト */
body.smartlife-branded .history-milestone--compact {
	grid-column: span 2;
}

body.smartlife-branded .history-milestone--compact .history-milestone__body {
	padding: 0.7rem 0.85rem;
}

body.smartlife-branded .history-milestone--compact .history-milestone__title {
	font-size: 0.88rem;
	margin-bottom: 0;
}

body.smartlife-branded .history-milestone__body {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 0;
}

body.smartlife-branded .history-milestone__meta {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
}

body.smartlife-branded .history-milestone__year {
	font-family: var(--font-en);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
	color: rgba(38, 31, 25, 0.08);
}

body.smartlife-branded .history-milestone__date {
	font-family: var(--font-en);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--green-deep);
}

body.smartlife-branded .history-milestone__title {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(0.92rem, 1.3vw, 1rem);
	font-weight: 700;
	line-height: 1.45;
	color: var(--ink);
}

body.smartlife-branded .history-milestone__note {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.65;
	color: var(--ink-mid);
}

body.smartlife-branded .history-section__foot {
	max-width: 68rem;
	margin: clamp(1.25rem, 2.5vw, 1.75rem) auto 0;
	text-align: center;
}

@media (max-width: 960px) {
	body.smartlife-branded .history-section__layout {
		grid-template-columns: 1fr;
	}

	body.smartlife-branded .history-nav {
		position: static;
	}

	body.smartlife-branded .history-nav__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		border-left: none;
		padding-left: 0;
		gap: 0.5rem;
	}

	body.smartlife-branded .history-nav__link {
		padding: 0.65rem 0.85rem;
		background: var(--cream);
		border: 1px solid var(--border);
		border-radius: calc(var(--radius) - 4px);
	}

	body.smartlife-branded .history-mosaic {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.smartlife-branded .history-milestone--spotlight,
	body.smartlife-branded .history-milestone--standard,
	body.smartlife-branded .history-milestone--compact {
		grid-column: span 2;
	}

	body.smartlife-branded .history-milestone--spotlight {
		grid-template-columns: 1fr;
	}

	body.smartlife-branded .history-milestone--spotlight .history-milestone__img {
		min-height: 10rem;
		aspect-ratio: 16 / 10;
		height: auto;
	}
}

@media (max-width: 520px) {
	body.smartlife-branded .history-nav__list {
		grid-template-columns: 1fr;
	}

	body.smartlife-branded .history-mosaic {
		grid-template-columns: 1fr;
	}

	body.smartlife-branded .history-milestone--spotlight,
	body.smartlife-branded .history-milestone--standard,
	body.smartlife-branded .history-milestone--compact {
		grid-column: span 1;
	}
}

/* ==================================================================
   インストラクター
   ================================================================== */
body.smartlife-branded .instructors-section {
	padding-block: clamp(3rem, 6vw, 5rem);
	background: var(--cream);
}

body.smartlife-branded .instructors-section__head {
	max-width: 52rem;
	margin: 0 auto clamp(2rem, 4vw, 3rem);
	text-align: center;
}

body.smartlife-branded .instructors-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
	max-width: 60rem;
	margin-inline: auto;
}

body.smartlife-branded .instructor-card {
	padding: clamp(1.2rem, 2vw, 1.5rem);
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: 0 10px 30px rgba(38, 31, 25, 0.06);
}

body.smartlife-branded .instructor-card__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 0.85rem;
	border-radius: 50%;
	background: var(--green-deep);
	color: #fff;
	font-family: var(--font-serif);
	font-weight: 700;
}

body.smartlife-branded .instructor-card__name {
	margin: 0 0 0.35rem;
	font-family: var(--font-serif);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--ink);
}

body.smartlife-branded .instructor-card__meta,
body.smartlife-branded .instructor-card__courses {
	margin: 0 0 0.35rem;
	font-size: 0.82rem;
	color: var(--green-deep);
	font-weight: 700;
}

body.smartlife-branded .instructor-card__comment {
	margin: 0.65rem 0 0;
	color: var(--ink-mid);
	font-size: 0.88rem;
	line-height: 1.75;
}

/* ==================================================================
   教室マップ
   ================================================================== */
body.smartlife-branded .map-section {
	padding-block: clamp(3rem, 6vw, 5rem);
	background: #fff;
}

body.smartlife-branded .map-section__head {
	max-width: 52rem;
	margin: 0 auto clamp(2rem, 4vw, 3rem);
	text-align: center;
}

/* ==================================================================
   お問い合わせフォーム
   ================================================================== */
body.smartlife-branded .contact-section {
	padding-block: clamp(3rem, 6vw, 5rem);
	background: var(--cream);
}

body.smartlife-branded .contact-section__head {
	max-width: 40rem;
	margin-bottom: 1.5rem;
}

body.smartlife-branded .contact-form {
	max-width: 40rem;
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: 0 10px 30px rgba(38, 31, 25, 0.06);
}

body.smartlife-branded .contact-form__hp {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

body.smartlife-branded .contact-form__field {
	margin-bottom: 1rem;
}

body.smartlife-branded .contact-form__label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--ink);
}

body.smartlife-branded .contact-form__req {
	color: var(--green-deep);
}

body.smartlife-branded .contact-form__input {
	display: block;
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--border);
	border-radius: calc(var(--radius) - 6px);
	background: #fff;
	color: var(--ink);
	font: inherit;
	line-height: 1.5;
}

body.smartlife-branded .contact-form__input:focus {
	outline: 2px solid var(--green-light);
	border-color: var(--green-mid);
}

body.smartlife-branded .contact-form__textarea {
	min-height: 9rem;
	resize: vertical;
}

body.smartlife-branded .contact-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0.85rem 2rem;
	background: var(--ink);
	color: #fff;
	border: none;
	border-radius: 50vh;
	font-family: var(--font-serif);
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.22s var(--ease), transform 0.22s var(--ease);
}

body.smartlife-branded .contact-form__submit:hover {
	background: #3d342c;
	transform: translateY(-2px);
}

body.smartlife-branded .contact-form__alert {
	padding: 0.85rem 1rem;
	margin-bottom: 1rem;
	border-radius: calc(var(--radius) - 6px);
	font-size: 0.9rem;
	line-height: 1.6;
}

body.smartlife-branded .contact-form__alert--success {
	background: rgba(6, 199, 85, 0.12);
	color: var(--green-deep);
}

body.smartlife-branded .contact-form__alert--error {
	background: rgba(200, 60, 60, 0.1);
	color: #9a2b2b;
}

/* Contact Form 7 — テーマの contact-form スタイルに合わせる */
body.smartlife-branded .contact-section .wpcf7 {
	max-width: 40rem;
}

body.smartlife-branded .contact-section .wpcf7-form {
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: 0 10px 30px rgba(38, 31, 25, 0.06);
}

body.smartlife-branded .contact-section .wpcf7-form-control-wrap {
	display: block;
	margin-top: 0.35rem;
}

body.smartlife-branded .contact-section .wpcf7-not-valid-tip {
	margin-top: 0.35rem;
	font-size: 0.82rem;
	color: #9a2b2b;
}

body.smartlife-branded .contact-section .wpcf7-response-output {
	margin: 0 0 1rem;
	padding: 0.85rem 1rem;
	border: none !important;
	border-radius: calc(var(--radius) - 6px);
	font-size: 0.9rem;
	line-height: 1.6;
}

body.smartlife-branded .contact-section .wpcf7 form.sent .wpcf7-response-output {
	background: rgba(6, 199, 85, 0.12);
	color: var(--green-deep);
}

body.smartlife-branded .contact-section .wpcf7 form.invalid .wpcf7-response-output,
body.smartlife-branded .contact-section .wpcf7 form.unaccepted .wpcf7-response-output,
body.smartlife-branded .contact-section .wpcf7 form.failed .wpcf7-response-output,
body.smartlife-branded .contact-section .wpcf7 form.spam .wpcf7-response-output {
	background: rgba(200, 60, 60, 0.1);
	color: #9a2b2b;
}

body.smartlife-branded .contact-section .wpcf7-spinner {
	margin-left: 0.65rem;
}

body.smartlife-branded .line-lp-section {
	padding-block: clamp(3rem, 6vw, 5rem);
	background: var(--cream);
}

body.smartlife-branded .line-lp-section__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	max-width: 60rem;
	margin-inline: auto;
}

body.smartlife-branded .line-lp-section__panel {
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: 0 10px 30px rgba(38, 31, 25, 0.06);
}

body.smartlife-branded .line-lp-section__qr {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 1rem;
}

body.smartlife-branded .line-lp-section__qr-img {
	display: block;
	width: min(100%, 240px);
	height: auto;
	border-radius: calc(var(--radius) - 6px);
}

body.smartlife-branded .line-lp-section__qr--placeholder {
	min-height: 10rem;
	border: 2px dashed var(--border);
	border-radius: calc(var(--radius) - 6px);
	font-family: var(--font-en);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--ink-light);
}

body.smartlife-branded .line-lp-section__steps {
	margin: 1rem 0 1.25rem;
	padding-left: 1.2rem;
	color: var(--ink-mid);
	line-height: 1.85;
}

@media (max-width: 760px) {
	body.smartlife-branded .line-lp-section__grid {
		grid-template-columns: 1fr;
	}
}

/* ==================================================================
   お知らせ記事・本文
   ================================================================== */
body.smartlife-branded .news-article-nav {
	padding-block: 1rem 0.5rem;
	background: var(--ivory);
}

body.smartlife-branded .news-article-nav__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.55rem;
	margin: 0;
	font-size: 0.86rem;
}

body.smartlife-branded .news-article-nav__link {
	color: var(--green-deep);
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1px solid var(--green-light);
}

body.smartlife-branded .news-article-nav__link--sub {
	color: var(--ink-mid);
	border-color: var(--border);
}

body.smartlife-branded .news-article-nav__sep {
	color: var(--ink-light);
	opacity: 0.6;
}

body.smartlife-branded .news-article__figure {
	margin: 0 0 1.5rem;
}

body.smartlife-branded .news-article__image {
	display: block;
	width: 100%;
	max-width: 42rem;
	height: auto;
	margin-inline: auto;
	border-radius: var(--radius, 12px);
	border: 1px solid var(--border, #d8d4c8);
}

body.smartlife-branded .news-card__title--plain {
	margin: 0;
	font-size: inherit;
	font-weight: 700;
	line-height: 1.45;
	color: var(--ink, #1b1b14);
}

body.smartlife-branded .prose-section {
	padding-block: clamp(2rem, 4vw, 3rem);
	background: #fff;
}

body.smartlife-branded .prose-section__content {
	max-width: none;
	width: 100%;
	color: var(--ink-mid);
	line-height: 1.85;
}

/* ==================================================================
   お申し込みの流れ（LINE経由）
   ================================================================== */
body.smartlife-branded .line-enroll-flow {
	padding-block: clamp(2rem, 4vw, 3rem);
	background: var(--cream);
}

body.smartlife-branded .line-enroll-flow__head {
	max-width: 36rem;
	margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

body.smartlife-branded .line-enroll-flow__kicker {
	margin: 0 0 0.5rem;
	font-family: var(--font-en);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.28em;
	color: var(--green-deep);
}

body.smartlife-branded .line-enroll-flow__title {
	margin: 0 0 0.75rem;
	font-family: var(--font-serif);
	font-size: clamp(1.25rem, 2.4vw, 1.65rem);
	font-weight: 700;
	color: var(--ink);
}

body.smartlife-branded .line-enroll-flow__lead {
	margin: 0;
	color: var(--ink-mid);
	line-height: 1.75;
	font-size: 0.92rem;
}

body.smartlife-branded .line-enroll-flow__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}

@media (min-width: 768px) {
	body.smartlife-branded .line-enroll-flow__steps {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.25rem;
	}
}

body.smartlife-branded .line-enroll-flow__step {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	padding: 1.15rem 1.25rem;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

body.smartlife-branded .line-enroll-flow__step--highlight {
	border-color: var(--line);
	box-shadow: 0 8px 24px rgba(6, 199, 85, 0.12);
}

body.smartlife-branded .line-enroll-flow__num {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	background: var(--green-pale);
	color: var(--green-deep);
	font-family: var(--font-en);
	font-size: 0.85rem;
	font-weight: 700;
	border-radius: 50%;
}

body.smartlife-branded .line-enroll-flow__step--highlight .line-enroll-flow__num {
	background: var(--line);
	color: #fff;
}

body.smartlife-branded .line-enroll-flow__step-title {
	margin: 0 0 0.35rem;
	font-family: var(--font-serif);
	font-size: 1rem;
	font-weight: 700;
	color: var(--ink);
}

body.smartlife-branded .line-enroll-flow__step-text {
	margin: 0;
	font-size: 0.86rem;
	line-height: 1.7;
	color: var(--ink-mid);
}

body.smartlife-branded .line-enroll-flow__step-text a {
	color: var(--green-deep);
	font-weight: 700;
}

/* ==================================================================
   講座詳細ページ — page-head 内トップバー
   ================================================================== */
body.smartlife-branded .page-head--workshop {
	border-bottom: none;
	position: relative;
}

body.smartlife-branded .page-head--workshop::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	width: min(1100px, 100% - var(--sla-gutter-wide, 48px));
	margin-inline: auto;
	border-bottom: 1px solid var(--border);
	pointer-events: none;
}

body.smartlife-branded .page-head--workshop .page-head__toolbar {
	margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
	padding-bottom: 0;
	border-bottom: none;
}

body.smartlife-branded .page-head--workshop .workshop-detail-topbar__bar {
	width: 100%;
	padding-bottom: clamp(0.85rem, 2vw, 1.1rem);
	border-bottom: 1px solid var(--border);
}

body.smartlife-branded .workshop-detail-topbar__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem 1rem;
}

body.smartlife-branded .workshop-detail-topbar__back {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.42rem 0.9rem 0.42rem 0.72rem;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--ink-mid);
	text-decoration: none;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(38, 31, 25, 0.1);
	border-radius: 50vh;
	box-shadow: none;
	transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

body.smartlife-branded .workshop-detail-topbar__back:hover {
	color: var(--green-deep);
	border-color: rgba(52, 98, 15, 0.2);
	background: #fff;
	transform: none;
}

body.smartlife-branded .workshop-detail-topbar__back-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.15rem;
	height: 1.15rem;
	font-size: 0.95rem;
	line-height: 1;
	color: var(--green-deep);
}

body.smartlife-branded .workshop-detail-topbar__badge {
	display: inline-flex;
	align-items: center;
	min-height: 2rem;
	padding: 0.35rem 0.9rem;
	font-family: var(--font-en);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	border-radius: 50vh;
	border: 1px solid transparent;
}

body.smartlife-branded .workshop-detail-topbar__badge--active {
	background: var(--green-pale);
	color: var(--green-deep);
	border-color: rgba(52, 98, 15, 0.12);
}

body.smartlife-branded .workshop-detail-topbar__badge--soon {
	background: var(--cream);
	color: var(--ink-mid);
	border-color: var(--border);
}

body.smartlife-branded .workshop-detail-body {
	padding-block: clamp(2rem, 4vw, 3rem);
}

body.smartlife-branded .workshop-detail-body__kicker {
	margin: 0 0 0.5rem;
	font-family: var(--font-en);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.28em;
	color: var(--green-deep);
}

body.smartlife-branded .workshop-detail-body__title {
	margin: 0 0 clamp(1.25rem, 3vw, 1.75rem);
	font-family: var(--font-serif);
	font-size: clamp(1.2rem, 2.2vw, 1.5rem);
	font-weight: 700;
	color: var(--ink);
}

body.smartlife-branded .workshop-detail-body__layout {
	display: grid;
	gap: clamp(1.5rem, 4vw, 2.75rem);
	align-items: start;
}

body.smartlife-branded .workshop-detail-body--has-media .workshop-detail-body__layout {
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

body.smartlife-branded .workshop-detail-body__media {
	margin: 0;
}

body.smartlife-branded .workshop-detail-body__img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-sm);
}

body.smartlife-branded .workshop-detail-body__main {
	min-width: 0;
}

body.smartlife-branded .workshop-detail-body__content {
	max-width: none;
	color: var(--ink-mid);
	line-height: 1.85;
	font-size: 0.95rem;
}

body.smartlife-branded .workshop-detail-body:not(.workshop-detail-body--has-media) .workshop-detail-body__layout {
	grid-template-columns: minmax(0, 1fr);
}

body.smartlife-branded .workshop-detail-body:not(.workshop-detail-body--has-media) .workshop-detail-body__content {
	max-width: none;
}

body.smartlife-branded .workshop-detail-body__content p {
	margin: 0 0 1rem;
}

body.smartlife-branded .workshop-detail-body__audience {
	max-width: none;
	margin: 1.5rem 0 0;
	padding: 1rem 1.15rem;
	background: var(--cream);
	border-radius: var(--radius);
	font-size: 0.88rem;
	line-height: 1.75;
	color: var(--ink-mid);
}

body.smartlife-branded .workshop-detail-body:not(.workshop-detail-body--has-media) .workshop-detail-body__audience {
	max-width: none;
}

/* ==================================================================
   法務・手続きページ
   ================================================================== */
body.smartlife-branded .legal-prose {
	background: var(--surface);
}

body.smartlife-branded .legal-prose .prose {
	max-width: none;
	color: var(--ink);
}

body.smartlife-branded .legal-prose .prose :where(p, li, dd, dt, strong, em, span) {
	color: var(--ink);
}

body.smartlife-branded .legal-prose .prose :where(h1, h2, h3, h4, h5, h6) {
	color: var(--ink);
}

body.smartlife-branded .legal-prose .prose h2 {
	border-bottom-color: var(--border);
}

body.smartlife-branded .legal-prose .prose a {
	color: var(--ink);
}

body.smartlife-branded .legal-prose .prose a:hover {
	color: var(--ink);
}

body.smartlife-branded .legal-prose__intro {
	padding: 0.85rem 1rem;
	background: var(--cream);
	border-radius: var(--radius);
	border: 1px solid var(--border);
}

body.smartlife-branded .legal-prose__intro--warn {
	background: rgba(244, 170, 21, 0.12);
	border-color: rgba(244, 170, 21, 0.35);
}

body.smartlife-branded .legal-prose__note {
	font-size: 0.86rem;
	color: var(--ink);
}

body.smartlife-branded .legal-prose__sub {
	font-size: 0.86rem;
	color: var(--ink);
}

body.smartlife-branded .legal-tokusho {
	margin: 0;
	display: grid;
	gap: 0;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
}

body.smartlife-branded .legal-tokusho dt {
	margin: 0;
	padding: 0.75rem 1rem;
	background: var(--cream);
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--ink);
	border-top: 1px solid var(--border);
}

body.smartlife-branded .legal-tokusho dt:first-child {
	border-top: none;
}

body.smartlife-branded .legal-tokusho dd {
	margin: 0;
	padding: 0.75rem 1rem 1rem;
	font-size: 0.92rem;
	line-height: 1.75;
	color: var(--ink);
}

@media (min-width: 640px) {
	body.smartlife-branded .legal-tokusho {
		grid-template-columns: minmax(9rem, 11rem) minmax(0, 1fr);
	}

	body.smartlife-branded .legal-tokusho dt {
		border-top: 1px solid var(--border);
		border-right: 1px solid var(--border);
		display: flex;
		align-items: center;
	}

	body.smartlife-branded .legal-tokusho dt:first-child,
	body.smartlife-branded .legal-tokusho dd:first-of-type {
		border-top: none;
	}

	body.smartlife-branded .legal-tokusho dd {
		border-top: 1px solid var(--border);
	}

	body.smartlife-branded .legal-tokusho dd:first-of-type {
		border-top: none;
	}
}

/* ==================================================================
   TT5 ブロックテーマ — 645px 制約を解除・ヘッダー直下の余白
   ================================================================== */
body.smartlife-branded .wp-site-blocks > .wp-block-template-part,
body.smartlife-branded .wp-site-blocks > main {
	margin-block-start: 0 !important;
}

body.smartlife-branded .smartlife-page-shell .wp-block-post-content > *,
body.smartlife-branded .smartlife-page-shell.is-layout-constrained > * {
	max-width: none !important;
}

body.smartlife-branded .smartlife-page-shell .wp-block-post-content > :first-child {
	margin-block-start: 0 !important;
}

/* ==================================================================
   用語解説（glossary）
   ================================================================== */
body.smartlife-branded .glossary-featured-section__head,
body.smartlife-branded .glossary-full-section__head {
	max-width: none;
	margin-bottom: 1.25rem;
}

body.smartlife-branded .glossary-featured-section[data-glossary-root] {
	font-size: 1.0625rem;
}

body.smartlife-branded .glossary-featured-section__count {
	margin: 0.75rem 0 0;
	font-size: 0.9375rem;
	color: var(--ink-mid);
}

body.smartlife-branded .glossary-featured-section__empty {
	margin: 1.25rem 0 0;
	padding: 1rem 1.15rem;
	text-align: center;
	font-size: 1.0625rem;
	color: var(--ink-mid);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

body.smartlife-branded .glossary-featured-section[data-glossary-root] .glossary-featured-grid {
	gap: 1.15rem;
}

body.smartlife-branded .glossary-featured-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(0, 1fr);
	align-items: stretch;
}

@media (min-width: 640px) {
	body.smartlife-branded .glossary-featured-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 960px) {
	body.smartlife-branded .glossary-featured-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

body.smartlife-branded .glossary-term-card {
	padding: 1.15rem 1.2rem;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

body.smartlife-branded .glossary-term-card--link {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	gap: 0.85rem;
	min-height: 100%;
	height: 100%;
	color: var(--ink);
	text-decoration: none;
	border: 1px solid var(--border) !important;
	transition:
		border-color 0.22s var(--ease),
		background 0.22s var(--ease);
}

body.smartlife-branded .glossary-term-card--link:hover,
body.smartlife-branded .glossary-term-card--link:focus-visible {
	border-color: var(--green-light) !important;
	background: var(--sla-surface-content, #fff) !important;
	color: var(--ink);
}

body.smartlife-branded .glossary-term-card--link:focus-visible {
	outline: 2px solid var(--green-deep);
	outline-offset: 2px;
}

body.smartlife-branded .glossary-featured-section[data-glossary-root] .glossary-term-card--trigger {
	min-height: 4.75rem;
	padding: 1.1rem 1.25rem;
	align-items: stretch;
	height: 100%;
}

body.smartlife-branded .glossary-term-card--trigger {
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	width: 100%;
	min-height: 4.75rem;
	height: 100%;
	padding: 1.15rem 1.2rem;
	background: var(--surface);
	border: 1px solid var(--border) !important;
	border-radius: var(--radius);
	color: var(--ink);
	text-align: left;
	cursor: pointer;
	font: inherit;
	transition:
		border-color 0.22s var(--ease),
		background 0.22s var(--ease);
}

body.smartlife-branded .glossary-term-card--trigger:hover,
body.smartlife-branded .glossary-term-card--trigger:focus-visible {
	border-color: var(--green-light) !important;
	background: var(--sla-surface-content, #fff) !important;
	color: var(--ink);
}

body.smartlife-branded .glossary-term-card--trigger:focus-visible {
	outline: 2px solid var(--green-deep);
	outline-offset: 2px;
}

body.smartlife-branded .glossary-term-card[hidden] {
	display: none !important;
}

body.smartlife-branded .glossary-term-card__main {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: center;
	gap: 0.2rem;
	min-width: 0;
}

body.smartlife-branded .glossary-featured-section[data-glossary-root] .glossary-term-card__title {
	font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
	line-height: 1.35;
}

body.smartlife-branded .glossary-term-card__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
}

body.smartlife-branded .glossary-term-card__reading {
	display: block;
	min-height: 1.35em;
	font-size: clamp(0.75rem, 1.4vw, 0.8125rem);
	font-weight: 400;
	line-height: 1.35;
	color: var(--ink-mid);
	letter-spacing: normal;
}

body.smartlife-branded .glossary-term-card__reading--empty {
	visibility: hidden;
}

body.smartlife-branded .glossary-term-card__summary {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.7;
	color: var(--ink-mid);
}

body.smartlife-branded .glossary-term-card__go {
	margin-top: auto;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--ink-mid);
	transition: color 0.22s var(--ease);
}

body.smartlife-branded .glossary-term-card--link:hover .glossary-term-card__go,
body.smartlife-branded .glossary-term-card--link:focus-visible .glossary-term-card__go {
	color: var(--green-deep);
}

body.smartlife-branded .glossary-term-card__toggle {
	cursor: pointer;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--ink);
	list-style: none;
}

body.smartlife-branded .glossary-term-card__toggle::-webkit-details-marker {
	display: none;
}

body.smartlife-branded .glossary-toolbar {
	display: grid;
	gap: 1rem;
	margin-bottom: 1rem;
}

body.smartlife-branded .glossary-toolbar__search-form {
	display: flex;
	align-items: stretch;
	gap: 0.65rem;
}

body.smartlife-branded .glossary-toolbar__search {
	flex: 1 1 auto;
	min-width: 0;
}

body.smartlife-branded .glossary-toolbar__input {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	font: inherit;
	font-size: 1.0625rem;
	line-height: 1.4;
}

body.smartlife-branded .glossary-toolbar__submit {
	flex: 0 0 auto;
	min-width: 5.5rem;
	padding: 0.85rem 1.25rem;
	font-size: 1rem;
	font-weight: 700;
	white-space: nowrap;
	background: var(--ink);
	border: 1px solid var(--ink);
	color: var(--surface);
	border-radius: var(--radius);
}

body.smartlife-branded .glossary-toolbar__submit:hover,
body.smartlife-branded .glossary-toolbar__submit:focus-visible {
	background: var(--green-deep);
	border-color: var(--green-deep);
	color: #fff;
}

body.smartlife-branded .glossary-toolbar__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

body.smartlife-branded .glossary-toolbar__filter {
	padding: 0.5rem 0.85rem;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	font-size: 0.9375rem;
	cursor: pointer;
}

body.smartlife-branded .glossary-toolbar__filter.is-active {
	background: var(--ink);
	color: var(--surface);
	border-color: var(--ink);
}

body.smartlife-branded .glossary-modal {
	width: min(36rem, calc(100vw - 2rem));
	max-height: none;
	padding: 0;
	border: none;
	outline: none;
	background: transparent;
}

body.smartlife-branded .glossary-modal:focus,
body.smartlife-branded .glossary-modal:focus-visible {
	outline: none;
}

body.smartlife-branded .glossary-modal::backdrop {
	background: rgba(20, 16, 12, 0.48);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}

body.smartlife-branded .glossary-modal__panel {
	position: relative;
	max-height: min(85svh, 42rem);
	padding: clamp(1.25rem, 3vw, 1.75rem);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: auto;
	box-shadow: 0 24px 64px rgba(38, 31, 25, 0.18);
}

body.smartlife-branded .glossary-modal__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	color: var(--ink);
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
}

body.smartlife-branded .glossary-modal__close:hover,
body.smartlife-branded .glossary-modal__close:focus-visible {
	border-color: var(--green-light);
	color: var(--green-deep);
}

body.smartlife-branded .glossary-modal__title {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
	margin: 0 2.5rem 0.85rem 0;
	font-family: var(--font-serif);
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: normal;
	color: var(--ink);
}

body.smartlife-branded .glossary-term__title-text {
	display: block;
	line-height: 1.35;
	letter-spacing: normal;
	white-space: normal;
}

body.smartlife-branded .glossary-term__reading-block {
	display: block;
	font-family: var(--font-sans);
	font-size: clamp(0.75rem, 1.6vw, 0.85rem);
	font-weight: 400;
	letter-spacing: normal;
	color: var(--ink-mid);
	line-height: 1.4;
}

body.smartlife-branded .glossary-modal__body {
	color: var(--ink-mid);
	font-size: 0.9375rem;
	line-height: 1.85;
}

body.smartlife-branded .glossary-noscript-list {
	display: grid;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

body.smartlife-branded .glossary-noscript-item {
	padding: 0.85rem 1rem;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

/* ==================================================================
   エビデンス強度
   ================================================================== */
body.smartlife-branded .evidence-section {
	background: var(--cream);
}

body.smartlife-branded .evidence-criteria {
	margin: 0;
	padding-left: 1.1rem;
	display: grid;
	gap: 0.65rem;
	font-size: 0.9rem;
	line-height: 1.75;
}

body.smartlife-branded .evidence-cards {
	display: grid;
	gap: 0.75rem;
	margin: 1.25rem 0;
}

@media (min-width: 640px) {
	body.smartlife-branded .evidence-cards--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

body.smartlife-branded .evidence-card {
	padding: 1rem 1.1rem;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: var(--surface);
}

body.smartlife-branded .evidence-card--strong {
	border-color: rgba(46, 125, 50, 0.35);
}

body.smartlife-branded .evidence-card--medium {
	border-color: rgba(244, 170, 21, 0.45);
}

body.smartlife-branded .evidence-card--weak {
	border-color: rgba(158, 158, 158, 0.45);
}

body.smartlife-branded .evidence-scroll-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-top: 1rem;
}

body.smartlife-branded .evidence-table {
	width: 100%;
	min-width: 36rem;
	border-collapse: collapse;
	font-size: 0.82rem;
	line-height: 1.6;
}

body.smartlife-branded .evidence-table th,
body.smartlife-branded .evidence-table td {
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--border);
	text-align: left;
	vertical-align: top;
}

body.smartlife-branded .evidence-table th {
	background: var(--surface);
	font-weight: 700;
	white-space: nowrap;
}

/* ==================================================================
   PRO
   ================================================================== */
body.smartlife-branded .pro-cta-section__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* IA refresh */
body.smartlife-branded .glossary-full-section--collapsed {
	display: none;
}

body.smartlife-branded .glossary-expand-section__inner {
	text-align: center;
	color: var(--ink);
}

body.smartlife-branded .glossary-expand-section__note {
	margin: 0.85rem 0 0;
	color: var(--ink-mid);
}

body.smartlife-branded .glossary-expand-section__note a {
	color: var(--green-deep);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

body.smartlife-branded .glossary-expand-section__note a:hover {
	color: var(--green-deep);
}

body.smartlife-branded .about-section__lead {
	max-width: 42rem;
	line-height: 1.8;
}
