/*
 * 5en-theme のスタイル。色・文字・部品は docs/08 のとおり。
 *
 * 色の使い方（CLAUDE.md）
 *   朱（docs/08 の指定色）は「査定ボタン（有効）」の背景だけ。このファイルに出てくるのは1か所（a.fiveen-button--assess）。
 *   新しく足した色は #EFEBE1（注意書きボックスの背景。生成りより一段濃い）だけ。
 *     本文 #1F2328 との比 13.27、補助文字 #5B6470 との比 5.04、藍 #1E3A5F との比 9.66（実測・いずれも4.5以上）。
 */

:root {
	--c-ai: #1E3A5F;
	--c-base: #F7F5F0;
	--c-text: #1F2328;
	--c-sub: #5B6470;
	--c-gold: #8A6A1F;
	--c-line: #D9D4C7;
	--c-note: #EFEBE1;
	--c-white: #FFFFFF;
	--font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
	--font-heading: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
	--radius: 12px;
	--gutter: 16px;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--c-base);
	color: var(--c-text);
	font-family: var(--font-body);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

img, svg { max-width: 100%; }

a { color: var(--c-ai); text-decoration: underline; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--c-ai); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; color: var(--c-ai); line-height: 1.5; margin: 0 0 .6em; text-wrap: balance; word-break: auto-phrase; }
.fiveen-lead p, .fiveen-hero__lead { word-break: auto-phrase; }
h1 { font-size: 26px; }
h2 { font-size: 22px; }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
dl, dd { margin: 0; }

@media (min-width: 768px) {
	h1 { font-size: 32px; }
	h2 { font-size: 24px; }
	h3 { font-size: 20px; }
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
	white-space: nowrap;
}
.skip-link:focus {
	position: fixed !important;
	top: 8px; left: 8px; z-index: 100;
	width: auto; height: auto; margin: 0; padding: 12px 16px;
	clip: auto; clip-path: none;
	background: var(--c-white); color: var(--c-ai); font-weight: 700;
}

.fiveen-container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 24px; } }

.fiveen-main { display: block; }
.fiveen-page { padding-block: 8px 72px; }
.fiveen-section { margin-block: 48px; }
.fiveen-muted { color: var(--c-sub); }
.fiveen-meta { color: var(--c-sub); font-size: 14px; line-height: 1.7; word-break: auto-phrase; }
.fiveen-meta a { color: var(--c-ai); }
.fiveen-empty { padding: 16px 20px; background: var(--c-white); border: 1px dashed var(--c-sub); border-radius: 8px; color: var(--c-text); }
.fiveen-num { font-variant-numeric: tabular-nums; font-weight: 700; }
.fiveen-link-arrow { font-weight: 700; }
.fiveen-link-arrow::after { content: " \2192"; }
.fiveen-plain-list { list-style: none; padding: 0; }
.fiveen-plain-list li { margin-block: 4px; }

/* ---------- PR表記 ---------- */
.fiveen-pr-mark {
	display: inline-block; padding: 0 8px;
	border: 1px solid currentColor; border-radius: 4px;
	font-size: 13px; font-weight: 700; line-height: 1.6; letter-spacing: .08em;
	vertical-align: middle; flex: none; white-space: nowrap;
}
.fiveen-pr-bar { background: var(--c-ai); color: var(--c-white); }
.fiveen-pr-bar__inner { display: flex; align-items: flex-start; gap: 12px; padding-block: 8px; }
.fiveen-pr-bar__text { margin: 0; font-size: 14px; line-height: 1.6; }
.fiveen-pr-bar a { color: var(--c-white); }
.fiveen-pr-bar :focus-visible, .fiveen-footer :focus-visible { outline-color: var(--c-white); }

/* ---------- ヘッダー ---------- */
.fiveen-header { background: var(--c-white); border-bottom: 1px solid var(--c-line); }
.fiveen-header__inner { display: flex; flex-direction: column; gap: 4px; padding-block: 12px 4px; }
.fiveen-logo { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; color: var(--c-ai); text-decoration: none; min-height: 44px; }
.fiveen-logo__mark { display: block; width: 44px; height: 44px; flex: none; }
.fiveen-logo__text { display: flex; flex-direction: column; line-height: 1.15; font-family: var(--font-heading); font-weight: 700; }
.fiveen-logo__tagline { font-size: 12px; color: var(--c-sub, #5B6470); letter-spacing: .04em; }
.fiveen-logo__name { font-size: 22px; }
.fiveen-nav__list { display: flex; flex-wrap: wrap; gap: 0 4px; margin: 0; padding: 0; list-style: none; }
.fiveen-nav__list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--c-ai); font-weight: 700; font-size: 16px; text-decoration: none; border-bottom: 3px solid transparent; }
.fiveen-nav__list a:hover { border-bottom-color: var(--c-line); }
.fiveen-nav__list a[aria-current="page"] { border-bottom-color: var(--c-ai); }
@media (min-width: 900px) {
	.fiveen-header__inner { flex-direction: row; align-items: center; justify-content: space-between; padding-block: 8px; }
	.fiveen-nav__list a { padding: 0 14px; }
}

/* ---------- パンくず・ページ見出し ---------- */
.fiveen-breadcrumb { margin-block: 12px 8px; font-size: 14px; }
.fiveen-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0 4px; margin: 0; padding: 0; list-style: none; }
.fiveen-breadcrumb li + li::before { content: "\203A"; margin-right: 6px; color: var(--c-sub); }
.fiveen-breadcrumb [aria-current] { color: var(--c-sub); }
.fiveen-page-head { margin-block: 8px 20px; }
.fiveen-page-head__title { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.fiveen-icon { color: var(--c-ai); flex: none; }
.fiveen-icon--title { width: 40px; height: 40px; }

.fiveen-lead { margin-block: 20px 8px; padding-block: 16px; border-block: 1px solid var(--c-line); }
.fiveen-lead p { margin-bottom: .4em; }
.fiveen-lead__main { font-family: var(--font-heading); font-weight: 700; font-size: 20px; line-height: 1.6; color: var(--c-ai); }
@media (min-width: 768px) { .fiveen-lead__main { font-size: 24px; } }

/* ---------- カード・注意書き ---------- */
.fiveen-card { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 24px; }
.fiveen-note { margin-block: 48px; padding: 20px 20px 8px 24px; background: var(--c-note); border-left: 4px solid var(--c-ai); border-radius: 0 var(--radius) var(--radius) 0; }
.fiveen-note__title { font-size: 20px; }
.fiveen-badge { display: inline-block; margin: 0 6px 4px 0; padding: 0 8px; background: var(--c-white); border: 1px solid var(--c-sub); border-radius: 999px; color: var(--c-sub); font-family: var(--font-body); font-size: 13px; font-weight: 700; line-height: 1.7; white-space: nowrap; vertical-align: middle; }
.fiveen-badge--unavailable { border-style: dashed; }
.fiveen-badge--pending { background: var(--c-note); border-style: dashed; white-space: normal; }
.fiveen-preview-banner { padding: 12px 16px; background: var(--c-note); border: 1px dashed var(--c-ai); border-radius: 8px; font-weight: 700; color: var(--c-ai); }
.fiveen-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .fiveen-grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- ボタン（朱は有効な査定ボタンだけ） ---------- */
.fiveen-assess { display: inline-flex; flex-direction: column; align-items: flex-start; max-width: 100%; }
.fiveen-assess__pr { margin-bottom: 4px; color: var(--c-sub); font-size: 14px; font-weight: 700; line-height: 1.2; }
.fiveen-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 56px; padding: 0 24px;
	border-radius: 8px;
	font-family: var(--font-body); font-size: 17px; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none;
}
a.fiveen-button--assess { background: #B3412B; color: var(--c-white); }
a.fiveen-button--assess:hover { filter: brightness(.92); text-decoration: underline; }
a.fiveen-button--assess::after {
	content: ""; width: 16px; height: 16px; flex: none;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 2h5v5M14 2 7 9M12 10v4H2V4h4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 2h5v5M14 2 7 9M12 10v4H2V4h4'/%3E%3C/svg%3E") center / contain no-repeat;
}
a.fiveen-button--assess:focus-visible { outline-color: var(--c-ai); outline-offset: 3px; }
.fiveen-button--preparing { background: var(--c-white); color: var(--c-sub); border: 2px dashed var(--c-sub); cursor: default; }

/* ---------- 点数バッジ（藍の円・白抜き・下に5点満点） ---------- */
.fiveen-score-badge { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.fiveen-score-badge__value {
	display: inline-flex; align-items: center; justify-content: center;
	width: 56px; height: 56px; border-radius: 50%;
	background: var(--c-ai); color: var(--c-white);
	font-family: var(--font-body); font-size: 20px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums;
}
.fiveen-score-badge__max { font-size: 0; line-height: 1; }
.fiveen-score-badge__max::after { content: "5点満点"; font-size: 14px; line-height: 1.2; color: var(--c-sub); }
.fiveen-score-badge--pending { display: inline-flex; align-items: center; padding: 4px 14px; border: 1px dashed var(--c-sub); border-radius: 999px; color: var(--c-sub); font-size: 14px; font-weight: 700; }
.fiveen-score-note { display: block; margin-top: 6px; color: var(--c-sub); font-size: 14px; line-height: 1.6; }
.fiveen-comparison .fiveen-score-note, .fiveen-company-tile .fiveen-score-note { display: none; }

/* ---------- 比較表（左端固定・横スクロール／スマホはカード） ---------- */
.fiveen-table-wrap {
	position: relative; /* 表の中の読み上げ用の隠し文字が、表の外へはみ出して画面を横に広げないようにする */
	overflow-x: auto; -webkit-overflow-scrolling: touch;
	border: 1px solid var(--c-line); border-radius: var(--radius);
	/* 左右に続きがあるときだけ、端に影が出る（local は中身と一緒に動く白い覆い、scroll は端に固定の影） */
	background:
		linear-gradient(to right, var(--c-white) 30%, rgba(255, 255, 255, 0)) left center / 40px 100% no-repeat local,
		linear-gradient(to left, var(--c-white) 30%, rgba(255, 255, 255, 0)) right center / 40px 100% no-repeat local,
		linear-gradient(to right, rgba(31, 35, 40, .22), rgba(31, 35, 40, 0)) left center / 14px 100% no-repeat scroll,
		linear-gradient(to left, rgba(31, 35, 40, .22), rgba(31, 35, 40, 0)) right center / 14px 100% no-repeat scroll,
		var(--c-white);
}
.fiveen-table-wrap:focus-visible { outline-offset: -3px; }
.fiveen-comparison, .fiveen-simple-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; line-height: 1.6; }
.fiveen-comparison { min-width: 1120px; }
.fiveen-scroll-hint { margin: 0 0 6px; color: var(--c-sub); font-size: 14px; line-height: 1.6; }
.fiveen-scroll-hint::before { content: "\2194  "; font-weight: 700; color: var(--c-ai); }
@media (max-width: 767px) { .fiveen-scroll-hint { display: none; } }
.fiveen-comparison td:not(.fiveen-comparison__action) { white-space: nowrap; }
.fiveen-table-wrap + .fiveen-meta { margin-top: 12px; }
.fiveen-comparison__caption { padding: 12px 16px; text-align: left; font-size: 14px; color: var(--c-sub); caption-side: top; }
.fiveen-comparison th, .fiveen-comparison td { padding: 12px 10px; }
.fiveen-comparison th, .fiveen-comparison td, .fiveen-simple-table th, .fiveen-simple-table td { padding: 12px 14px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: middle; }
.fiveen-comparison thead th, .fiveen-simple-table thead th { background: var(--c-note); color: var(--c-text); font-size: 14px; font-weight: 700; white-space: nowrap; }
.fiveen-comparison tbody tr:last-child > *, .fiveen-simple-table tbody tr:last-child > * { border-bottom: 0; }
.fiveen-comparison__name { position: sticky; left: 0; z-index: 1; min-width: 160px; background: var(--c-white); font-weight: 700; box-shadow: 1px 0 0 var(--c-line); }
.fiveen-comparison thead .fiveen-comparison__name { background: var(--c-note); z-index: 2; }
.fiveen-comparison__name a { display: inline-block; margin-bottom: 4px; }
.fiveen-comparison thead .fiveen-comparison__axis-head { white-space: normal; min-width: 72px; }
.fiveen-comparison__axis { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; }
.fiveen-comparison__axis-max { color: var(--c-sub); font-weight: 400; font-size: 14px; }
.fiveen-comparison__action { min-width: 210px; }
.fiveen-comparison__source { min-width: 150px; font-size: 14px; }
.fiveen-source-date { display: block; color: var(--c-sub); font-size: 13px; line-height: 1.5; }
.fiveen-source-line { margin: -4px 0 8px; }
.fiveen-simple-table th[scope="row"] { font-weight: 700; background: var(--c-white); }
.fiveen-is-unavailable { background: var(--c-base); }

@media (max-width: 767px) {
	.fiveen-table-wrap { overflow: visible; background: none; border: 0; border-radius: 0; }
	.fiveen-comparison { min-width: 0; display: block; }
	.fiveen-comparison thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.fiveen-comparison tbody { display: block; }
	.fiveen-comparison__caption { display: block; padding: 0 0 8px; }
	.fiveen-comparison tr {
		display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; align-items: start;
		margin-bottom: 16px; padding: 16px;
		background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius);
	}
	.fiveen-comparison th, .fiveen-comparison td { display: block; padding: 6px 0; border: 0; }
	.fiveen-comparison td:not(.fiveen-comparison__action) { white-space: normal; }
	.fiveen-comparison__name { position: static; grid-column: 1 / -1; min-width: 0; box-shadow: none; font-size: 18px; }
	.fiveen-comparison td::before { content: attr(data-label); display: block; color: var(--c-sub); font-size: 14px; font-weight: 400; line-height: 1.4; }
	.fiveen-comparison__score { grid-column: 1 / -1; }
	.fiveen-comparison__score::before { display: none !important; }
	.fiveen-comparison td[data-label="対応方法"], .fiveen-comparison td[data-label="査定料"], .fiveen-comparison td[data-label="出張料"], .fiveen-comparison td[data-label="キャンセル料"] { grid-column: auto; }
	.fiveen-comparison__action { grid-column: 1 / -1; min-width: 0; padding-top: 12px !important; order: 99; }
	.fiveen-comparison__source { grid-column: 1 / -1; font-size: 16px; }
	.fiveen-source-date { display: inline; margin-left: .5em; font-size: 14px; }
	.fiveen-comparison__action::before { display: none !important; }
	.fiveen-comparison__action .fiveen-assess { display: flex; width: 100%; align-items: stretch; }
	.fiveen-comparison__action .fiveen-button { width: 100%; }

	.fiveen-simple-table, .fiveen-simple-table tbody, .fiveen-simple-table tr, .fiveen-simple-table th, .fiveen-simple-table td { display: block; }
	.fiveen-simple-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.fiveen-table-wrap:has(.fiveen-simple-table) { overflow: visible; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); }
	.fiveen-simple-table tr { padding: 8px 0; border-bottom: 1px solid var(--c-line); }
	.fiveen-simple-table tr:last-child { border-bottom: 0; }
	.fiveen-simple-table th, .fiveen-simple-table td { padding: 4px 14px; border: 0; }
	.fiveen-simple-table td[data-label]::before { content: attr(data-label) "："; color: var(--c-sub); font-size: 14px; }
}

/* ---------- トップ ---------- */
.fiveen-hero { padding-block: 32px 36px; background: var(--c-white); border-bottom: 1px solid var(--c-line); }
.fiveen-hero__title { font-size: 28px; margin-bottom: 12px; }
.fiveen-hero__lead { max-width: 40em; }
.fiveen-hero__hint { margin: 12px 0 0; color: var(--c-sub); font-size: 14px; line-height: 1.7; }
@media (min-width: 768px) { .fiveen-hero { padding-block: 48px; } .fiveen-hero__title { font-size: 36px; } }

.fiveen-search, .fiveen-filter { display: grid; gap: 12px; margin-top: 20px; padding: 16px; background: var(--c-base); border: 1px solid var(--c-line); border-radius: var(--radius); }
.fiveen-search label, .fiveen-filter label { display: block; margin-bottom: 4px; color: var(--c-text); font-size: 14px; font-weight: 700; }
.fiveen-search select, .fiveen-filter select {
	width: 100%; min-height: 48px; padding: 0 12px;
	border: 1px solid var(--c-sub); border-radius: 8px; background: var(--c-white);
	color: var(--c-text); font-family: var(--font-body); font-size: 17px;
}
.fiveen-search__submit, .fiveen-filter__submit {
	min-height: 48px; padding: 0 24px; align-self: end;
	border: 0; border-radius: 8px; background: var(--c-ai); color: var(--c-white);
	font-family: var(--font-body); font-size: 17px; font-weight: 700; cursor: pointer;
}
.fiveen-search__submit:hover, .fiveen-filter__submit:hover { filter: brightness(1.15); }
.fiveen-filter__reset { align-self: center; font-size: 15px; }
@media (min-width: 768px) {
	.fiveen-search { grid-template-columns: 1.4fr 1fr 1fr auto; align-items: end; }
	.fiveen-filter { grid-template-columns: repeat(3, 1fr) auto auto; align-items: end; margin-top: 8px; }
}

.fiveen-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.fiveen-category-grid__link {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	min-height: 108px; padding: 12px 6px;
	background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius);
	color: var(--c-ai); font-size: 14px; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none;
}
.fiveen-category-grid__link:hover { border-color: var(--c-ai); }
.fiveen-category-grid__link .fiveen-icon { width: 40px; height: 40px; }
@media (min-width: 768px) {
	.fiveen-category-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
	.fiveen-category-grid__link { min-height: 128px; font-size: 16px; }
	.fiveen-category-grid__link .fiveen-icon { width: 48px; height: 48px; }
}

.fiveen-company-tile { display: flex; flex-direction: column; gap: 8px; }
.fiveen-company-tile__name { margin: 0; font-size: 20px; }
.fiveen-company-tile__facts { display: grid; gap: 4px; margin: 4px 0 8px; font-size: 16px; }
.fiveen-company-tile__facts div { display: flex; gap: 12px; }
.fiveen-company-tile__facts dt { flex: none; min-width: 5em; color: var(--c-sub); font-size: 14px; }
.fiveen-company-tile .fiveen-assess { margin-top: auto; width: 100%; align-items: stretch; }
.fiveen-company-tile .fiveen-button { width: 100%; }

.fiveen-steps { padding-left: 1.6em; }
.fiveen-steps li { margin-bottom: .6em; }
.fiveen-section__lead { color: var(--c-text); }

.fiveen-post-list { margin: 0 0 1em; padding: 0; list-style: none; }
.fiveen-post-list__item { padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.fiveen-post-list__title { font-weight: 700; }
.fiveen-post-list__summary { margin: 4px 0 0; color: var(--c-sub); font-size: 15px; line-height: 1.7; }

/* ---------- 品目・業者ページ ---------- */
.fiveen-checklist { padding-left: 1.4em; }
.fiveen-checklist li { margin-bottom: .5em; }
.fiveen-faq__item { padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.fiveen-faq__q { margin-bottom: .3em; font-size: 18px; }
.fiveen-faq__a { margin: 0; }
.fiveen-summary__title { font-size: 22px; }
.fiveen-summary__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.fiveen-summary__score { max-width: 28em; }
@media (min-width: 768px) { .fiveen-summary__body { flex-direction: row; align-items: center; gap: 24px; } .fiveen-summary__score { flex: none; max-width: 16em; } }
.fiveen-summary__fit { display: grid; gap: 12px 24px; margin-bottom: 16px; }
.fiveen-summary__fit h3 { font-size: 17px; margin-bottom: .3em; }
.fiveen-summary__fit ul { margin: 0; padding-left: 1.2em; font-size: 16px; line-height: 1.7; }
@media (min-width: 768px) { .fiveen-summary__fit { grid-template-columns: 1fr 1fr; } }
.fiveen-dl { display: grid; gap: 0; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); }
.fiveen-dl > div { display: grid; gap: 2px 16px; padding: 12px 16px; border-bottom: 1px solid var(--c-line); }
.fiveen-dl > div:last-child { border-bottom: 0; }
.fiveen-dl dt { color: var(--c-sub); font-size: 14px; font-weight: 700; }
@media (min-width: 768px) { .fiveen-dl > div { grid-template-columns: 14em 1fr; } }
.fiveen-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1em; padding: 0; list-style: none; }
.fiveen-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: var(--c-white); border: 1px solid var(--c-line); border-radius: 999px; font-size: 16px; font-weight: 700; text-decoration: none; }
.fiveen-chips a:hover { border-color: var(--c-ai); }
.fiveen-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-block: 48px 0; }
.fiveen-cta__text { margin: 0; font-weight: 700; }
@media (max-width: 767px) {
	.fiveen-summary > .fiveen-assess, .fiveen-cta .fiveen-assess { display: flex; width: 100%; align-items: stretch; }
	.fiveen-summary > .fiveen-assess .fiveen-button, .fiveen-cta .fiveen-assess .fiveen-button { width: 100%; }
}

/* ---------- 記事 ---------- */
.fiveen-toc { margin-block: 20px; padding: 16px 24px; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); }
.fiveen-toc__title { font-size: 18px; margin-bottom: .3em; }
.fiveen-toc ol { margin: 0; }
.fiveen-prose { max-width: 720px; }
.fiveen-prose h2 { margin-top: 2em; padding-bottom: .3em; border-bottom: 2px solid var(--c-line); }
.fiveen-prose h3 { margin-top: 1.6em; }
.fiveen-prose hr { margin: 2em 0; border: 0; border-top: 1px solid var(--c-line); }
.fiveen-prose table { width: 100%; margin-bottom: 1em; border-collapse: collapse; font-size: 16px; background: var(--c-white); }
.fiveen-prose th, .fiveen-prose td { padding: 8px 12px; border: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.fiveen-prose th { background: var(--c-note); }
.fiveen-sources li { margin-bottom: .8em; font-size: 15px; line-height: 1.7; }
.fiveen-disclosure { margin-block: 32px 8px; padding: 12px 16px; border-left: 4px solid var(--c-ai); background: var(--c-note); font-weight: 700; }

/* ---------- フッター ---------- */
.fiveen-footer { margin-top: 48px; padding-block: 40px 24px; background: var(--c-ai); color: var(--c-white); font-size: 15px; line-height: 1.8; }
.fiveen-footer a { color: var(--c-white); }
.fiveen-footer__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .fiveen-footer__grid { grid-template-columns: 1.2fr 1fr; } }
.fiveen-footer__title { color: var(--c-white); font-size: 17px; }
.fiveen-footer__note { font-size: 14px; }
.fiveen-footer__links { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.fiveen-footer__links a, .fiveen-footer__cats a { word-break: auto-phrase; display: inline-flex; align-items: center; min-height: 44px; }
.fiveen-footer__links--inline { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 12px; }
.fiveen-footer__cats { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 12px; }
@media (min-width: 600px) { .fiveen-footer__cats { grid-template-columns: repeat(3, 1fr); } }
.fiveen-footer__copy { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .3); font-size: 14px; }

@media print {
	.fiveen-pr-bar, .fiveen-nav, .fiveen-filter, .fiveen-footer { display: none; }
}
