/**
 * HP AI kensaku test 公開記事（制作実績・解説記事・よくある質問）
 *
 * すべてのスタイルを .hka の中に限定し、テーマ（SWELL等）の見出し装飾などと干渉しないようにしている。
 * 幅の切り替えは画面幅ではなく記事の表示幅で行う（承認画面のプレビューでも同じ見た目になるように）。
 */

.hka {
	--hka-navy: #171717;
	--hka-gold: #86672a;
	--hka-gold-line: #b8975a;
	--hka-cream: #f6f2ea;
	--hka-paper: #f8f6f2;
	--hka-text: #1e2732;
	--hka-sub: #4a5461;
	--hka-line: #e2ddd3;
	--hka-mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", "YuMincho", "Noto Serif JP", "BIZ UDPMincho", serif;
	--hka-gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", Meiryo, sans-serif;
	container-type: inline-size;
	container-name: hka;
	color: var(--hka-text);
	font-family: var(--hka-gothic);
	font-size: 16px;
	line-height: 1.9;
	letter-spacing: .02em;
	text-align: left;
	-webkit-text-size-adjust: 100%;
}

.hka *,
.hka *::before,
.hka *::after {
	box-sizing: border-box;
}

.hka p,
.hka ul,
.hka ol,
.hka dl,
.hka dd,
.hka h1,
.hka h2,
.hka h3 {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	text-shadow: none;
	letter-spacing: inherit;
}

.hka h1::before,
.hka h1::after,
.hka h2::before,
.hka h2::after,
.hka h3::before,
.hka h3::after,
.hka li::before,
.hka li::after {
	content: none;
}

.hka a {
	color: var(--hka-gold);
}

.hka img {
	max-width: 100%;
	height: auto;
}

.hka .hka-wrap {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 16px 56px;
}

/* パンくず */
.hka .hka-crumb {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin: 16px 0 24px;
	font-size: 12px;
	line-height: 1.6;
	color: var(--hka-sub);
}

.hka .hka-crumb a {
	color: var(--hka-sub);
	text-decoration: none;
}

.hka .hka-crumb a:hover {
	text-decoration: underline;
}

.hka .hka-crumb__sep {
	opacity: .6;
}

/* 2段組み（記事の表示幅が広いときだけ） */
.hka .hka-side {
	display: none;
}

@container hka (min-width: 960px) {
	.hka .hka-layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 260px;
		gap: 48px;
		align-items: start;
	}

	.hka .hka-side {
		display: block;
		position: sticky;
		top: 24px;
		padding-left: 28px;
		border-left: 1px solid var(--hka-line);
	}

	.hka .hka-toc--inline {
		display: none;
	}

	.hka .hka-main > .hka-cta {
		display: flex;
	}
}

/* 見出し部分 */
.hka .hka-head {
	margin: 0 0 24px;
}

.hka--content .hka-head {
	margin-top: 8px;
}

.hka .hka-chip {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 99px;
	background: var(--hka-cream);
	color: var(--hka-navy);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.7;
}

.hka--works .hka-chip {
	background: #f3ead8;
}

.hka .hka-title {
	margin: 14px 0 12px;
	color: var(--hka-navy);
	font-family: var(--hka-mincho);
	font-size: clamp(26px, 6.4cqi, 44px);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .03em;
	word-break: normal;
	overflow-wrap: anywhere;
}

.hka .hka-lead {
	margin: 0 0 10px;
	color: var(--hka-sub);
	font-size: clamp(15px, 2cqi, 17px);
	line-height: 1.8;
}

.hka .hka-dates {
	display: flex;
	flex-wrap: wrap;
	gap: 0 16px;
	margin: 0 0 16px;
	color: var(--hka-sub);
	font-size: 13px;
}

/* 監修者 */
.hka .hka-sup {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}

.hka .hka-sup__img {
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
}

.hka .hka-sup__img--none {
	display: grid;
	place-items: center;
	background: var(--hka-cream);
	color: var(--hka-gold);
	font-family: var(--hka-mincho);
	font-size: 20px;
	line-height: 1;
}

.hka .hka-sup__text {
	min-width: 0;
}

.hka .hka-sup__name {
	font-size: 14px;
	line-height: 1.5;
}

.hka .hka-sup__name b {
	color: var(--hka-navy);
	font-family: var(--hka-mincho);
	font-size: 16px;
}

.hka .hka-sup__role-title {
	color: var(--hka-sub);
	font-size: 12px;
	line-height: 1.6;
}

.hka .hka-sup__bio {
	margin-top: 4px;
	color: var(--hka-sub);
	font-size: 13px;
	line-height: 1.7;
}

.hka .hka-more {
	padding-bottom: 1px;
	border-bottom: 1px solid currentColor;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
	text-decoration: none;
	white-space: nowrap;
}

.hka .hka-more::after {
	content: " ›";
}

.hka .hka-sup--large {
	gap: 14px 20px;
	margin: 0 0 40px;
	padding: 18px 20px;
	border-radius: 4px;
	background: var(--hka-paper);
}

.hka .hka-sup--large .hka-sup__img {
	width: 88px;
	height: 104px;
	border-radius: 3px;
}

.hka .hka-sup--large .hka-sup__img--none {
	font-size: 28px;
}

.hka .hka-sup--large .hka-sup__text {
	flex: 1 1 200px;
}

.hka .hka-sup--large .hka-sup__name b {
	font-size: 17px;
}

/* 事例の概要 */
.hka .hka-facts {
	margin: 0 0 32px;
	overflow: hidden;
	border: 1px solid var(--hka-line);
	border-radius: 4px;
}

.hka .hka-facts__head {
	padding: 10px 20px;
	background: var(--hka-navy);
	color: #fff;
	font-family: var(--hka-mincho);
	font-size: 15px;
	font-weight: 700;
}

.hka .hka-facts dl {
	display: grid;
	grid-template-columns: max-content 1fr;
}

.hka .hka-facts dt,
.hka .hka-facts dd {
	padding: 12px 20px;
	border-top: 1px solid var(--hka-line);
	font-size: 15px;
	line-height: 1.7;
}

.hka .hka-facts dl > :nth-child(-n+2) {
	border-top: 0;
}

.hka .hka-facts dt {
	background: #fbfaf7;
	color: var(--hka-sub);
	font-weight: 700;
	white-space: nowrap;
}

/* 目次 */
.hka .hka-toc--inline {
	margin: 0 0 24px;
	border: 1px solid var(--hka-line);
	border-radius: 4px;
	background: #fff;
}

.hka .hka-toc--inline summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 18px;
	color: var(--hka-navy);
	font-family: var(--hka-mincho);
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}

.hka .hka-toc--inline summary::-webkit-details-marker {
	display: none;
}

.hka .hka-toc--inline summary::after {
	content: "";
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--hka-sub);
	border-bottom: 2px solid var(--hka-sub);
	transform: rotate(45deg) translateY(-3px);
	transition: transform .2s;
}

.hka .hka-toc--inline[open] summary::after {
	transform: rotate(-135deg);
}

.hka .hka-toc--inline .hka-toc__list {
	padding: 0 18px 10px;
}

.hka .hka-toc__list {
	list-style: none;
}

.hka .hka-toc__list li {
	margin: 0;
	border-top: 1px solid var(--hka-line);
}

.hka .hka-toc__list a {
	display: flex;
	align-items: baseline;
	gap: 14px;
	padding: 12px 0;
	color: var(--hka-text);
	font-size: 14px;
	line-height: 1.6;
	text-decoration: none;
}

.hka .hka-toc__list a:hover {
	color: var(--hka-gold);
}

.hka .hka-toc__no {
	min-width: 28px;
	color: var(--hka-gold);
	font-family: var(--hka-mincho);
	font-size: 20px;
	line-height: 1;
}

.hka .hka-side__label {
	color: var(--hka-gold);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .25em;
}

.hka .hka-side__title {
	margin: 4px 0 8px;
	color: var(--hka-navy);
	font-family: var(--hka-mincho);
	font-size: 18px;
	font-weight: 700;
}

.hka .hka-side .hka-toc__list {
	margin-bottom: 28px;
}

/* POINT */
.hka .hka-point {
	margin: 0 0 40px;
	padding: 20px 22px 14px;
	border-radius: 4px;
	background: var(--hka-cream);
}

.hka .hka-point__label {
	display: inline-block;
	margin: 0 0 10px;
	padding: 3px 14px;
	border-radius: 3px;
	background: var(--hka-navy);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .2em;
	line-height: 1.6;
}

.hka .hka-point ul {
	list-style: none;
}

.hka .hka-point li {
	position: relative;
	margin: 0;
	padding: 6px 0 6px 36px;
	line-height: 1.7;
}

.hka .hka-point li::before {
	content: "";
	position: absolute;
	top: 7px;
	left: 0;
	width: 24px;
	height: 24px;
	border: 1.5px solid var(--hka-gold);
	border-radius: 50%;
}

.hka .hka-point li::after {
	content: "";
	position: absolute;
	top: 12px;
	left: 8px;
	width: 8px;
	height: 12px;
	border-right: 2px solid var(--hka-gold);
	border-bottom: 2px solid var(--hka-gold);
	transform: rotate(40deg);
}

/* 本文 */
.hka .hka-body p {
	margin: 0 0 1em;
}

.hka .hka-sec {
	margin-top: 48px;
}

.hka .hka-body > .hka-sec:first-child {
	margin-top: 0;
}

.hka .hka-h2 {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 16px;
	color: var(--hka-navy);
	font-family: var(--hka-mincho);
	font-size: clamp(20px, 4.6cqi, 26px);
	font-weight: 700;
	line-height: 1.45;
	scroll-margin-top: 80px;
}

.hka .hka-no {
	display: inline-flex;
	align-items: center;
	flex: none;
	color: var(--hka-gold);
	font-size: clamp(30px, 7cqi, 40px);
	font-weight: 500;
	line-height: 1;
}

.hka .hka-no::after {
	content: "";
	display: inline-block;
	width: clamp(24px, 6cqi, 52px);
	height: 1px;
	margin-left: 14px;
	background: var(--hka-gold-line);
}

.hka .hka-h3 {
	margin: 28px 0 10px;
	padding: 0 0 0 14px;
	border-left: 3px solid var(--hka-gold-line);
	color: var(--hka-navy);
	font-family: var(--hka-mincho);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
}

.hka .hka-list {
	margin: 0 0 1.2em;
	padding-left: 1.4em;
	list-style: disc;
}

.hka .hka-list li {
	margin: .25em 0;
}

.hka .hka-list li::marker {
	color: var(--hka-gold);
}

.hka .hka-cards {
	display: grid;
	gap: 12px;
	margin: 16px 0 20px;
}

@container hka (min-width: 600px) {
	.hka .hka-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
}

.hka .hka-card {
	padding: 18px 20px;
	border: 1px solid var(--hka-line);
	border-radius: 4px;
	background: #fff;
}

.hka .hka-card__title {
	margin: 0 0 6px;
	color: var(--hka-navy);
	font-family: var(--hka-mincho);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
}

.hka .hka-body .hka-card p {
	margin: 0;
	color: var(--hka-sub);
	font-size: 15px;
	line-height: 1.8;
}

/* 末尾 */
.hka .hka-result-note {
	margin: 8px 0 0;
	padding: 8px 14px;
	border-left: 3px solid var(--hka-gold-line);
	background: #fbfaf7;
	color: var(--hka-sub);
	font-size: 13px;
	line-height: 1.8;
}

.hka .hka-note {
	margin: 40px 0 20px;
	padding-top: 16px;
	border-top: 1px solid var(--hka-line);
	color: var(--hka-sub);
	font-size: 13px;
	line-height: 1.8;
}

.hka .hka-related {
	margin: 0 0 40px;
}

.hka .hka-related__title {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 8px;
	color: var(--hka-navy);
	font-family: var(--hka-mincho);
	font-size: clamp(16px, 4.4cqi, 19px);
	font-weight: 700;
	line-height: 1.5;
}

.hka .hka-related__title::after {
	content: "";
	flex: 1;
	min-width: 24px;
	height: 1px;
	background: var(--hka-gold-line);
}

.hka .hka-tag {
	flex: none;
	min-width: 84px;
	padding: 3px 10px;
	border-radius: 99px;
	background: #e9edf3;
	color: var(--hka-navy);
	font-size: 12px;
	font-weight: 700;
	text-align: center;
}

.hka .hka-tag--works {
	background: #f3ead8;
	color: #6b5220;
}

/* イメージ画像 */
.hka .hka-hero {
	margin: 0 0 28px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: 6px;
	background: var(--hka-cream);
}

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

/* 記事のカード（紹介記事・一覧） */
.hka .hka-tiles {
	display: grid;
	gap: 16px;
	margin: 12px 0 0;
	list-style: none;
}

.hka .hka-tiles > li {
	margin: 0;
	padding: 0;
}

.hka .hka-tile {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	height: 100%;
	color: var(--hka-text);
	text-decoration: none;
}

.hka .hka-tile__img {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 4px;
	background: var(--hka-cream);
}

.hka .hka-tile__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}

.hka .hka-tile:hover .hka-tile__img img {
	transform: scale(1.04);
}

.hka .hka-tile__img--none {
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--hka-navy), #23395c);
	color: var(--hka-gold-line);
	font-family: var(--hka-mincho);
	font-size: 20px;
	letter-spacing: .1em;
}

.hka .hka-tile__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.hka .hka-tile__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
}

.hka .hka-tile__meta .hka-tag {
	min-width: 0;
	padding: 1px 10px;
	font-size: 11px;
}

.hka .hka-tile__cat {
	color: var(--hka-sub);
	font-size: 12px;
}

.hka .hka-tile__title {
	margin: 0;
	color: var(--hka-navy);
	font-family: var(--hka-mincho);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.55;
}

.hka .hka-tile:hover .hka-tile__title {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hka .hka-tile__text {
	display: -webkit-box;
	overflow: hidden;
	color: var(--hka-sub);
	font-size: 13px;
	line-height: 1.7;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.hka .hka-tile__date {
	color: var(--hka-sub);
	font-size: 12px;
}

@container hka (min-width: 600px) {
	.hka .hka-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 24px;
	}

	.hka .hka-tile {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.hka .hka-tile__img {
		aspect-ratio: 16 / 9;
	}
}

@container hka (min-width: 960px) {
	.hka .hka-main .hka-tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px 20px;
	}

	.hka .hka-tiles--archive {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 36px 28px;
	}

	.hka .hka-tiles--archive .hka-tile__title {
		font-size: 18px;
	}
}

/* 一覧ページ */
.hka .hka-archead {
	margin: 8px 0 28px;
	padding: 28px 0 0;
}

.hka .hka-archead__label {
	color: var(--hka-gold);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .3em;
}

.hka .hka-archead__title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 16px;
	margin: 6px 0 10px;
	color: var(--hka-navy);
	font-family: var(--hka-mincho);
	font-size: clamp(28px, 6cqi, 42px);
	font-weight: 700;
	line-height: 1.35;
}

.hka .hka-archead__sub {
	color: var(--hka-gold);
	font-size: .55em;
}

.hka .hka-archead__lead {
	max-width: 46em;
	color: var(--hka-sub);
	font-size: 15px;
	line-height: 1.9;
}

.hka .hka-tabs {
	display: flex;
	gap: 4px;
	margin: 0 0 16px;
	border-bottom: 1px solid var(--hka-line);
}

.hka .hka-tabs a {
	margin-bottom: -1px;
	padding: 10px 16px;
	border-bottom: 2px solid transparent;
	color: var(--hka-sub);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.hka .hka-tabs a.is-current {
	border-bottom-color: var(--hka-navy);
	color: var(--hka-navy);
}

.hka .hka-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 20px;
}

.hka .hka-chips a {
	padding: 5px 14px;
	border: 1px solid var(--hka-line);
	border-radius: 99px;
	background: #fff;
	color: var(--hka-text);
	font-size: 13px;
	line-height: 1.6;
	text-decoration: none;
}

.hka .hka-chips a:hover {
	border-color: var(--hka-gold-line);
}

.hka .hka-chips a.is-current {
	border-color: var(--hka-navy);
	background: var(--hka-navy);
	color: #fff;
}

.hka .hka-count {
	margin: 0 0 8px;
	color: var(--hka-sub);
	font-size: 13px;
}

.hka .hka-empty {
	padding: 48px 0;
	color: var(--hka-sub);
	text-align: center;
}

.hka .hka-pager {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 40px 0 8px;
}

.hka .hka-pager .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--hka-line);
	border-radius: 4px;
	color: var(--hka-text);
	font-size: 14px;
	text-decoration: none;
}

.hka .hka-pager .page-numbers.current {
	border-color: var(--hka-navy);
	background: var(--hka-navy);
	color: #fff;
}

.hka .hka-pager .page-numbers.dots {
	border: 0;
}

.hka--archive .hka-wrap > .hka-cta {
	margin-top: 48px;
}

/* 相談の案内 */
.hka .hka-cta {
	padding: 24px 20px;
	border-radius: 4px;
	background: var(--hka-navy);
	color: #fff;
	text-align: center;
}

.hka .hka-cta__title {
	margin: 0 0 6px;
	font-family: var(--hka-mincho);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
}

.hka .hka-cta__text {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.8;
	opacity: .9;
}

.hka .hka-btn {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	width: 100%;
	max-width: 360px;
	min-height: 48px;
	padding: 10px 28px;
	border-radius: 99px;
	background: linear-gradient(180deg, #a5843f, #86672a);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
}

.hka .hka-btn::after {
	content: "›";
	font-size: 18px;
	line-height: 1;
}

.hka .hka-btn:hover,
.hka .hka-btn:focus-visible {
	color: #fff;
	filter: brightness(1.08);
}

@container hka (min-width: 640px) {
	.hka--archive .hka-wrap > .hka-cta,
	.hka .hka-main > .hka-cta {
		display: flex;
		align-items: center;
		gap: 28px;
		padding: 24px 32px;
		text-align: left;
	}

	.hka--archive .hka-wrap > .hka-cta .hka-cta__copy,
	.hka .hka-main > .hka-cta .hka-cta__copy {
		flex: 1;
		min-width: 0;
	}

	.hka--archive .hka-wrap > .hka-cta .hka-cta__title,
	.hka .hka-main > .hka-cta .hka-cta__title {
		margin: 0 0 4px;
		font-size: 22px;
	}

	.hka--archive .hka-wrap > .hka-cta .hka-cta__text,
	.hka .hka-main > .hka-cta .hka-cta__text {
		margin: 0;
	}

	.hka--archive .hka-wrap > .hka-cta .hka-btn,
	.hka .hka-main > .hka-cta .hka-btn {
		flex: none;
		width: auto;
	}
}

.hka .hka-cta--side {
	padding: 22px 20px;
	text-align: left;
}

.hka .hka-cta--side .hka-cta__title {
	margin: 0 0 8px;
	font-size: 16px;
}

.hka .hka-cta--side .hka-cta__text {
	margin: 0 0 14px;
	font-size: 13px;
}

.hka .hka-cta--side .hka-btn {
	padding: 10px 16px;
	font-size: 14px;
}

.hka a:focus-visible,
.hka summary:focus-visible {
	outline: 2px solid var(--hka-gold);
	outline-offset: 2px;
}

/* ブロックテーマで本文欄に表示するとき：テーマの本文幅に合わせる */
.hka--content .hka-wrap {
	padding: 0 0 40px;
}

/* 承認画面のプレビュー */
.hka--preview .hka-wrap {
	padding-bottom: 8px;
}

.hka--preview a {
	cursor: default;
}

@media print {
	.hka .hka-side,
	.hka .hka-cta,
	.hka .hka-toc--inline {
		display: none;
	}
}

/* 根拠とした法令・AI利用の説明 */
.hka .hka-sources {
	margin: 0 0 24px;
	padding: 16px 18px;
	border: 1px solid var(--hka-line);
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.8;
}

.hka .hka-sources__head {
	margin: 0 0 6px;
	font-weight: 700;
}

.hka .hka-sources ul {
	margin: 0;
	padding-left: 1.2em;
}

.hka .hka-sources__by,
.hka .hka-sources__note {
	color: var(--hka-sub);
	font-size: 13px;
}

.hka .hka-sources__note {
	margin: 6px 0 0;
}

.hka .hka-policy {
	margin: -8px 0 24px;
	color: var(--hka-sub);
	font-size: 13px;
	line-height: 1.8;
}

/* 記事の種類の追加 */
.hka .hka-tag--check {
	background: #e3efeb;
	color: #1f5546;
}

.hka .hka-tag--issue {
	background: #f4e7e6;
	color: #7a332f;
}

.hka .hka-tag--solution {
	background: #e8e7f3;
	color: #3c386d;
}

.hka .hka-tag--term {
	background: #eaf0e1;
	color: #43581f;
}

.hka .hka-tag--faq {
	background: #e9edf3;
	color: var(--hka-navy);
}

/* 相談の案内の問い合わせ先 */
.hka .hka-cta__contact { margin:10px 0 0; padding:0; list-style:none; font-size:13px; line-height:1.7; }
.hka .hka-cta__contact li { margin:0; padding:0; list-style:none; }
.hka .hka-cta__contact a { color:inherit; text-decoration:underline; }
.hka .hka-cta__company { font-weight:700; }
.hka .hka-sup__more { width:100%; margin-top:10px; font-size:13px; line-height:1.7; }
.hka .hka-sup__more summary { color:var(--hka-navy); font-weight:700; cursor:pointer; }
.hka .hka-sup__heading { margin:10px 0 2px; color:var(--hka-navy); font-size:13px; font-weight:700; }
.hka .hka-sup__list { margin:0; padding:0; list-style:none; }
.hka .hka-sup__list li { margin:0; padding:0; list-style:none; }
.hka .hka-sup__career { display:grid; grid-template-columns:auto minmax(0,1fr); gap:2px 12px; margin:0; }
.hka .hka-sup__career dt { font-weight:400; white-space:nowrap; }
.hka .hka-sup__career dd { margin:0; }

/* 見出しの番号は文字ではなく装飾として出す（見出しの文章に数字を混ぜない） */
.hka .hka-no::before { content:attr(data-no); }

/* スマホ（記事の表示幅が狭いとき）のデザイン */
@container hka (max-width: 599px) {
	.hka .hka-wrap { padding:0 20px 48px; font-size:15px; line-height:1.85; }
	.hka .hka-crumb { margin:14px 0 18px; font-size:11px; }
	.hka .hka-chip { padding:2px 10px; border:1px solid var(--hka-gold-line); background:transparent; color:var(--hka-gold); font-size:11px; letter-spacing:.06em; }
	.hka .hka-title { margin:12px 0 10px; font-size:24px; line-height:1.45; letter-spacing:.02em; }
	.hka .hka-lead { margin:0 0 12px; font-size:14px; line-height:1.8; }
	.hka .hka-dates { margin:0; font-size:12px; }
	/* 記事上の監修欄：細い線で区切った1行 */
	.hka .hka-head .hka-sup, .hka .hka-sup:not(.hka-sup--large) { margin:10px 0 18px; padding:10px 0; border-top:1px solid var(--hka-line); border-bottom:1px solid var(--hka-line); }
	.hka .hka-sup:not(.hka-sup--large) .hka-sup__img { width:36px; height:36px; }
	.hka .hka-sup:not(.hka-sup--large) .hka-sup__name { font-size:12px; }
	.hka .hka-sup:not(.hka-sup--large) .hka-sup__name b { font-size:14px; }
	/* イメージ画像：画面の端まで広げる */
	.hka .hka-hero { margin:0 -20px 20px; }
	.hka .hka-hero img { display:block; width:100%; border-radius:0; }
	/* 目次・要点：角丸のやわらかい面 */
	.hka .hka-toc--inline { margin:0 0 16px; border-radius:12px; }
	.hka .hka-point { margin-bottom:36px; padding:18px 18px 14px; border-radius:14px; font-size:14px; line-height:1.7; }
	.hka .hka-point__label { padding:0; background:transparent; color:var(--hka-gold); font-size:12px; letter-spacing:.2em; }
	/* 見出し：番号を小さく上に置く */
	.hka .hka-sec { margin-top:40px; }
	.hka .hka-h2 { flex-direction:column; align-items:flex-start; gap:8px; margin:0 0 14px; padding-bottom:12px; border-bottom:1px solid var(--hka-line); font-size:20px; line-height:1.5; }
	.hka .hka-no { font-size:13px; letter-spacing:.14em; }
	.hka .hka-no::after { width:24px; margin-left:10px; }
	.hka .hka-h3 { margin:24px 0 8px; padding:0; border-left:0; font-size:16px; }
	.hka .hka-cards { gap:10px; margin:14px 0 18px; }
	.hka .hka-card { padding:16px; border:0; border-radius:12px; background:var(--hka-paper); }
	.hka .hka-card__title { font-size:15px; }
	.hka .hka-card p { font-size:14px; }
	/* 記事末の監修欄 */
	.hka .hka-sup--large { margin:0 0 28px; padding:20px; border:1px solid var(--hka-line); border-radius:14px; background:#fff; }
	.hka .hka-sup--large .hka-sup__img { width:64px; height:64px; border-radius:50%; }
	.hka .hka-sup--large .hka-sup__text { flex:1 1 100%; }
	.hka .hka-sup__heading { margin-top:14px; color:var(--hka-gold); font-size:12px; letter-spacing:.04em; }
	/* 相談の案内 */
	.hka .hka-main > .hka-cta, .hka--archive .hka-wrap > .hka-cta { padding:24px 20px; border-radius:16px; text-align:left; }
	.hka .hka-cta__title { font-size:19px; }
	.hka .hka-cta__text { font-size:13px; line-height:1.8; }
	.hka .hka-cta__contact { margin-top:14px; padding-top:14px; border-top:1px solid rgba(255,255,255,.2); }
	.hka .hka-btn { margin-top:16px; }
}

/* スマホの並び（タイトル → 画像 → 要約 → 本文。公開日と監修者は記事の最後） */
.hka .hka-dates--end { display:none; }
@container hka (max-width: 599px) {
	.hka .hka-main { display:flex; flex-direction:column; }
	.hka .hka-main > * { min-width:0; }
	.hka .hka-head { display:contents; }
	.hka .hka-chip { order:-3; align-self:flex-start; margin:0; }
	.hka .hka-title { order:-2; margin:10px 0 16px; }
	.hka .hka-hero { order:-1; margin:0 -20px 16px; border-radius:0; }
	.hka .hka-lead { margin:0 0 18px; }
	.hka .hka-head .hka-dates, .hka .hka-head .hka-sup { display:none; }
	.hka .hka-dates--end { display:flex; margin:24px 0 12px; }
}

/* 動き（ゆっくり現れる。動きを減らす設定では動かさない） */
@media (prefers-reduced-motion: no-preference) {
	.hka:not(.hka--preview) .hka-title { animation:hka-rise 1s cubic-bezier(.16,1,.3,1) both; }
	.hka:not(.hka--preview) .hka-chip { animation:hka-fade 1s ease-out both; }
	.hka:not(.hka--preview) .hka-lead { animation:hka-rise 1.1s cubic-bezier(.16,1,.3,1) .12s both; }
	.hka:not(.hka--preview) .hka-hero img { animation:hka-settle 2.2s cubic-bezier(.16,1,.3,1) both; }
	.hka .hka-reveal { opacity:0; transform:translateY(16px); transition:opacity 1s cubic-bezier(.16,1,.3,1), transform 1.2s cubic-bezier(.16,1,.3,1); }
	.hka .hka-reveal.is-in { opacity:1; transform:none; }
	/* 見出しの金の線がすっと伸びる */
	.hka .hka-h2.hka-reveal .hka-no::after { transform:scaleX(0); transform-origin:left center; transition:transform 1.2s cubic-bezier(.16,1,.3,1) .25s; }
	.hka .hka-h2.hka-reveal.is-in .hka-no::after { transform:scaleX(1); }
	/* ボタンに光が流れる */
	.hka .hka-btn { position:relative; overflow:hidden; transition:transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s ease, filter .3s ease; }
	.hka .hka-btn::before { content:""; position:absolute; top:0; bottom:0; left:-60%; width:40%; background:linear-gradient(100deg,transparent,rgba(255,255,255,.35),transparent); transform:skewX(-18deg); transition:left 1s cubic-bezier(.16,1,.3,1); pointer-events:none; }
	.hka .hka-btn:hover::before, .hka .hka-btn:focus-visible::before { left:120%; }
	.hka .hka-btn:hover { transform:translateY(-1px); box-shadow:0 10px 24px rgba(19,35,59,.28); }
	.hka .hka-tile { transition:opacity 1s cubic-bezier(.16,1,.3,1), transform 1.2s cubic-bezier(.16,1,.3,1), box-shadow .5s ease; }
	.hka .hka-tile.is-in:hover, .hka .hka-tile:not(.hka-reveal):hover { box-shadow:0 14px 34px rgba(19,35,59,.12); }
	.hka .hka-toc__list a { transition:color .35s ease, padding-left .45s cubic-bezier(.16,1,.3,1); }
	.hka .hka-toc__list a:hover { padding-left:4px; color:var(--hka-gold); }
}
@keyframes hka-rise { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
@keyframes hka-fade { from { opacity:0; } to { opacity:1; } }
@keyframes hka-settle { from { transform:scale(1.05); } to { transform:scale(1); } }
@media print {
	.hka .hka-reveal { opacity:1; transform:none; }
}

/* フォントの細かい調整（文字の詰めをきれいにする） */
.hka .hka-title, .hka .hka-h2, .hka .hka-h3, .hka .hka-card__title, .hka .hka-cta__title, .hka .hka-side__title { font-family:var(--hka-mincho); font-feature-settings:"palt"; letter-spacing:.05em; }
.hka .hka-chip, .hka .hka-lead, .hka .hka-point li { font-feature-settings:"palt"; }
.hka .hka-title { text-wrap:balance; }
.hka .hka-cta--side .hka-btn { margin-top:12px; }
@container hka (max-width: 599px) {
	.hka .hka-title { letter-spacing:.03em; }
}

/* ============================================================
 * デザインの刷新
 * - 記事ページ：画面の横幅いっぱいの画像に、グラデーションのタイトルを重ねる
 * - カード・要点・概要・相談の案内を、やわらかい面と影で整える
 * - 目次で、いま読んでいる見出しを示す。上端に読み進み具合の線
 * ============================================================ */

/* 横幅いっぱいの画像が、スクロールバーの分だけ横にはみ出さないように */
html:has(.hka--page.hka--hero) {
	overflow-x: clip;
}

.hka {
	--hka-shadow: 0 1px 2px rgba(19, 35, 59, .04), 0 18px 40px -18px rgba(19, 35, 59, .18);
	--hka-ink: #0c182b;
	--hka-champagne: #f3e3bd;
	--hka-ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 大きな見出し（カバー） ---------- */
.hka .hka-cover {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: clamp(460px, 72vh, 760px);
	overflow: hidden;
	background: var(--hka-ink);
	color: #fff;
}

.hka--page .hka-cover {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.hka--preview .hka-cover {
	min-height: 440px;
	border-radius: 20px;
}

.hka .hka-cover__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}

.hka .hka-cover__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(8, 16, 30, .55) 0%, rgba(8, 16, 30, 0) 26%),
		linear-gradient(0deg, rgba(8, 16, 30, .94) 0%, rgba(8, 16, 30, .78) 28%, rgba(8, 16, 30, .3) 60%, rgba(8, 16, 30, 0) 84%),
		linear-gradient(90deg, rgba(8, 16, 30, .5) 0%, rgba(8, 16, 30, 0) 62%);
}

/* 画像がないとき：深い紺のグラデーションに金の光 */
.hka .hka-cover--noimg {
	min-height: clamp(380px, 56vh, 560px);
	background:
		radial-gradient(110% 90% at 88% 0%, rgba(184, 151, 90, .38), transparent 55%),
		radial-gradient(90% 80% at 0% 100%, rgba(58, 104, 156, .5), transparent 60%),
		linear-gradient(135deg, #0c182b 0%, #1a3253 55%, #13233b 100%);
}

.hka .hka-cover--noimg .hka-cover__shade {
	display: none;
}

.hka .hka-cover__inner {
	position: relative;
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 112px 24px 64px;
}

.hka .hka-cover__inner {
	position: static;
}

/* パンくずは画像の左上（本文の左端にそろえる） */
.hka .hka-cover .hka-crumb {
	position: absolute;
	top: 22px;
	left: max(24px, calc((100% - 1120px) / 2 + 24px));
	right: 24px;
	margin: 0;
	color: rgba(255, 255, 255, .78);
}

.hka .hka-cover .hka-crumb a {
	color: rgba(255, 255, 255, .78);
}

.hka .hka-cover .hka-crumb a:hover {
	color: #fff;
}

.hka .hka-cover .hka-chip {
	padding: 5px 14px;
	border: 1px solid rgba(255, 255, 255, .3);
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 12px;
	letter-spacing: .08em;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.hka .hka-cover .hka-title {
	max-width: 920px;
	margin: 18px 0 18px;
	color: #fff;
	font-size: clamp(30px, 5.4cqi, 60px);
	line-height: 1.32;
	letter-spacing: .04em;
	filter: drop-shadow(0 2px 18px rgba(0, 0, 0, .35));
}

/* タイトルのグラデーション（白 → シャンパンゴールド）。対応していない端末では白の文字 */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.hka .hka-cover .hka-title {
		background: linear-gradient(105deg, #fff 0%, #fff 38%, var(--hka-champagne) 78%, #d8b673 100%);
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
		-webkit-text-fill-color: transparent;
	}
}

.hka .hka-cover .hka-lead {
	max-width: 46em;
	margin: 0;
	color: rgba(255, 255, 255, .88);
	font-size: clamp(15px, 1.7cqi, 18px);
	line-height: 1.9;
}

/* 公開日と監修者（画像の下） */
.hka--hero .hka-wrap {
	padding-top: 8px;
}

.hka .hka-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 28px;
	margin: 0 0 36px;
	padding: 22px 0;
	border-bottom: 1px solid var(--hka-line);
}

.hka .hka-meta .hka-dates {
	order: 2;
	margin: 0;
}

/* ---------- 面と影 ---------- */
.hka .hka-facts {
	border: 1px solid #e8e3d9;
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--hka-shadow);
}

.hka .hka-facts__head {
	padding: 14px 24px;
	background: linear-gradient(120deg, #13233b 0%, #22406a 100%);
	letter-spacing: .06em;
}

.hka .hka-facts dt,
.hka .hka-facts dd {
	padding: 14px 24px;
}

.hka .hka-facts dt {
	background: #faf8f4;
}

.hka .hka-point {
	position: relative;
	padding: 26px 28px 18px;
	border: 1px solid #eee4cf;
	border-radius: 20px;
	background:
		radial-gradient(120% 120% at 100% 0%, rgba(184, 151, 90, .12), transparent 50%),
		linear-gradient(135deg, #fbf7ef 0%, #f5f0e6 100%);
}

.hka .hka-point__label {
	border-radius: 99px;
	background: linear-gradient(120deg, #13233b, #2a4a78);
}

.hka .hka-toc--inline {
	border-radius: 16px;
	box-shadow: var(--hka-shadow);
}

.hka .hka-card {
	border-color: #ebe6dc;
	border-radius: 16px;
	transition: transform .5s var(--hka-ease), box-shadow .5s ease;
}

.hka .hka-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--hka-shadow);
}

.hka .hka-hero {
	border-radius: 18px;
}

.hka .hka-sup--large {
	border-radius: 18px;
}

/* 見出しの番号：金のグラデーション */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.hka .hka-no {
		background: linear-gradient(160deg, #c9a868 0%, #86672a 100%);
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
		-webkit-text-fill-color: transparent;
	}
}

.hka .hka-h2 {
	scroll-margin-top: 96px;
}

/* ---------- 相談の案内 ---------- */
.hka .hka-cta {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	border-radius: 20px;
	background:
		radial-gradient(90% 120% at 100% 0%, rgba(184, 151, 90, .28), transparent 55%),
		linear-gradient(135deg, #0f1d33 0%, #1d3658 100%);
	box-shadow: 0 24px 48px -24px rgba(12, 24, 43, .55);
}

.hka .hka-btn {
	background: linear-gradient(120deg, #c4a15c 0%, #9a7834 55%, #86672a 100%);
	box-shadow: 0 8px 20px -8px rgba(134, 103, 42, .7);
}

/* ---------- 目次：いま読んでいる見出し ---------- */
.hka .hka-toc__list a {
	position: relative;
}

.hka .hka-side .hka-toc__list a.is-active {
	color: var(--hka-navy);
	font-weight: 700;
}

.hka .hka-side .hka-toc__list a.is-active::before {
	content: "";
	position: absolute;
	top: 12px;
	bottom: 12px;
	left: -29px;
	width: 2px;
	border-radius: 2px;
	background: linear-gradient(180deg, #c9a868, #86672a);
}

/* ---------- 読み進み具合の線（画面の上端） ---------- */
.hka-progress {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, #86672a, #d8b673);
	transform: scaleX(0);
	transform-origin: left center;
	pointer-events: none;
}

body.admin-bar .hka-progress {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .hka-progress {
		top: 46px;
	}
}

/* ---------- 動き ---------- */
@media (prefers-reduced-motion: no-preference) {
	.hka:not(.hka--preview) .hka-cover__img {
		animation: hka-cover 2.6s var(--hka-ease) both;
	}

	.hka:not(.hka--preview) .hka-cover .hka-title {
		animation: hka-rise 1.1s var(--hka-ease) .1s both;
	}

	.hka:not(.hka--preview) .hka-cover .hka-lead {
		animation: hka-rise 1.2s var(--hka-ease) .25s both;
	}
}

@keyframes hka-cover {
	from { transform: scale(1.08); }
	to { transform: scale(1); }
}

/* ---------- スマホ（記事の表示幅が狭いとき） ---------- */
@container hka (max-width: 599px) {
	.hka .hka-cover {
		min-height: max(480px, 78svh);
	}

	.hka .hka-cover--noimg {
		min-height: 400px;
	}

	.hka--preview .hka-cover {
		min-height: 440px;
		border-radius: 16px;
	}

	.hka .hka-cover__inner {
		padding: 88px 20px 36px;
	}

	.hka .hka-cover .hka-crumb {
		top: 16px;
		left: 20px;
		right: 20px;
		font-size: 11px;
	}

	.hka .hka-cover .hka-chip {
		padding: 3px 11px;
		font-size: 11px;
	}

	.hka .hka-cover .hka-title {
		margin: 14px 0 14px;
		font-size: 28px;
		line-height: 1.4;
		letter-spacing: .03em;
	}

	.hka .hka-cover .hka-lead {
		margin: 0;
		font-size: 14px;
		line-height: 1.85;
	}

	.hka .hka-cover__shade {
		background:
			linear-gradient(180deg, rgba(8, 16, 30, .55) 0%, rgba(8, 16, 30, 0) 24%),
			linear-gradient(0deg, rgba(8, 16, 30, .95) 0%, rgba(8, 16, 30, .8) 34%, rgba(8, 16, 30, .25) 66%, rgba(8, 16, 30, 0) 86%);
	}

	/* スマホでは、公開日と監修者は記事の最後に出す */
	.hka .hka-meta {
		display: none;
	}

	.hka--hero .hka-layout {
		padding-top: 24px;
	}

	.hka .hka-facts {
		border-radius: 16px;
	}

	.hka .hka-facts dl {
		grid-template-columns: 1fr;
	}

	.hka .hka-facts dt {
		padding: 12px 18px 2px;
		border-top: 1px solid var(--hka-line);
		background: transparent;
		font-size: 12px;
	}

	.hka .hka-facts dd {
		padding: 0 18px 12px;
		border-top: 0;
	}

	.hka .hka-facts dl > :first-child {
		border-top: 0;
	}

	.hka .hka-point {
		padding: 20px 18px 14px;
		border-radius: 18px;
	}

	.hka .hka-point__label {
		padding: 3px 12px;
		background: linear-gradient(120deg, #13233b, #2a4a78);
		color: #fff;
	}

	.hka .hka-main > .hka-cta,
	.hka--archive .hka-wrap > .hka-cta {
		border-radius: 20px;
	}
}

@media print {
	.hka .hka-cover {
		min-height: 0;
		background: none;
		color: var(--hka-text);
	}

	.hka .hka-cover__img,
	.hka .hka-cover__shade,
	.hka-progress {
		display: none;
	}

	.hka .hka-cover .hka-title,
	.hka .hka-cover .hka-lead,
	.hka .hka-cover .hka-chip,
	.hka .hka-cover .hka-crumb a {
		background: none;
		color: var(--hka-navy);
		-webkit-text-fill-color: currentColor;
		filter: none;
	}
}

/* 公開日と監修者は、PC・スマホとも記事の下の方に出す */
.hka .hka-dates--end {
	display: flex;
	margin: 40px 0 14px;
	padding-top: 24px;
	border-top: 1px solid var(--hka-line);
}

.hka .hka-head .hka-dates,
.hka .hka-head .hka-sup:not(.hka-sup--large) {
	display: none;
}

@container hka (max-width: 599px) {
	.hka .hka-dates--end {
		margin: 28px 0 12px;
		padding-top: 18px;
	}
}

.hka--hero .hka-layout {
	padding-top: 48px;
}

@container hka (max-width: 599px) {
	.hka--hero .hka-layout {
		padding-top: 28px;
	}
}

/* よくある質問（本文の「よくある質問」の問いと答え。構造化データ FAQPage と同じ内容） */
.hka .hka-qa {
	display: grid;
	gap: 12px;
	margin: 18px 0 8px;
}
.hka .hka-qa__item {
	border: 1px solid var(--hka-line);
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
}
.hka .hka-qa__q,
.hka .hka-qa__a {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 18px;
	margin: 0;
}
.hka .hka-qa__q {
	font-weight: 700;
	color: var(--hka-navy);
	background: var(--hka-paper);
}
.hka .hka-qa__a {
	color: var(--hka-text);
}
.hka .hka-qa__mark {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	font-family: var(--hka-mincho);
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
	color: #fff;
	background: linear-gradient(135deg, var(--hka-gold-line), var(--hka-gold));
}
.hka .hka-qa__a .hka-qa__mark {
	color: var(--hka-gold);
	background: transparent;
	border: 1px solid var(--hka-gold-line);
}
@container hka (max-width: 600px) {
	.hka .hka-qa__q,
	.hka .hka-qa__a { padding: 12px 14px; font-size: 15px; }
}
