/*
 * トップページ専用CSS（front-page.php からのみ読み込む）。
 * 参照デザイン「マネーフォワード会社設立ガイド - トップページ.html」に合わせて
 * 2026-09-20 に全面改修。
 *
 * ルール9：320/390/430px幅で横スクロールを出さないこと。
 *  - グリッドは repeat(auto-fit, minmax(...)) を基本にし、固定列数を書かない
 *  - span 2 を使う変種は 520px 未満で span 1 に戻す
 *  - 表は .mf-table-wrap（main.css側）で包み、表だけを横スクロールさせる
 *
 * 命名は mff-（front）接頭辞。main.css の mf- 系クラスとは衝突させない。
 */

/* スティッキーヘッダーの下にアンカー先が隠れないようにする（ヘッダーの「症状から探す」用）。 */
.mff-symptoms,
.mff-scope,
.mff-flow,
.mff-plans,
.mff-categories,
.mff-latest,
.mff-editorial,
.mff-cta-section {
	scroll-margin-top: 90px;
}

/* 見出し部品（.mf-eyebrow / .mf-h2 / .mf-lead）は main.css 側に共通定義がある。 */

/* ===== HERO ===== */
.mff-hero {
	position: relative;
	padding: 60px 0 52px;
	background-color: var(--mf-bg);
	background-image:
		repeating-linear-gradient(0deg, var(--mf-border) 0, var(--mf-border) 1px, transparent 1px, transparent 48px),
		repeating-linear-gradient(90deg, var(--mf-border) 0, var(--mf-border) 1px, transparent 1px, transparent 48px);
	background-position: center top;
	border-bottom: 1px solid var(--mf-border);
	overflow: hidden;
}

.mff-hero__grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 48px;
	align-items: start;
}

/* ヒーロー画像（アイソメトリックの端末＋2レーン）。右列の上に置き、進み方のカードを少し重ねる */
.mff-hero__col-side {
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.mff-hero__figure {
	margin: -28px 0 -18px;
	position: relative;
	z-index: 0;
}

.mff-hero__figure img {
	display: block;
	width: 100%;
	height: auto;
}

.mff-hero__col-side .mff-steps {
	position: relative;
	z-index: 1;
}

.mff-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--mf-blue);
	background: var(--mf-blue-light);
	padding: 5px 12px;
	border-radius: 20px;
	margin-bottom: 18px;
}

.mff-hero__eyebrow svg {
	width: 12px;
	height: 12px;
	stroke: currentColor;
	flex: none;
}

.mff-hero__title {
	font-size: clamp(1.6rem, 5vw, 2.35rem);
	line-height: 1.5;
	letter-spacing: -0.01em;
	color: var(--mf-navy);
	margin: 0 0 18px;
	font-weight: 700;
}

.mff-hero__title em {
	font-style: normal;
	color: var(--mf-blue);
	border-bottom: 3px solid var(--mf-blue-light);
}

.mff-hero__lead {
	color: var(--mf-text-light);
	font-size: 1.063rem;
	max-width: 46ch;
	margin: 0 0 26px;
}

.mff-hero__search form {
	background: var(--mf-white);
	border: 1px solid var(--mf-border);
	border-radius: var(--mf-radius);
	padding: 8px 8px 8px 18px;
	display: flex;
	align-items: center;
	gap: 12px;
	box-shadow: 0 12px 28px -18px rgba(22, 50, 79, 0.35);
	max-width: 520px;
}

.mff-hero__search svg {
	width: 20px;
	height: 20px;
	stroke: var(--mf-text-light);
	flex: none;
}

.mff-hero__search input {
	border: none;
	outline: none;
	flex: 1 1 auto;
	min-width: 0;
	font-size: 1.031rem;
	font-family: inherit;
	color: var(--mf-text);
	background: transparent;
}

.mff-hero__search button {
	background: var(--mf-navy);
	color: #fff;
	border: none;
	font-size: 0.969rem;
	font-weight: 700;
	padding: 12px 20px;
	border-radius: 8px;
	flex: none;
	cursor: pointer;
	font-family: inherit;
}

.mff-hero__search button:hover {
	background: #0f2338;
}

.mff-hero__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.mff-hero__tags a {
	font-size: 0.875rem;
	color: var(--mf-text-light);
	background: var(--mf-white);
	border: 1px solid var(--mf-border);
	padding: 5px 12px;
	border-radius: 20px;
	text-decoration: none;
}

.mff-hero__tags a:hover {
	border-color: var(--mf-blue);
	color: var(--mf-blue);
	text-decoration: none;
}

/* --- ヒーロー右：設立手続きの進み方 --- */
.mff-steps {
	background: var(--mf-white);
	border: 1px solid var(--mf-border);
	border-radius: 16px;
	padding: 24px 22px 20px;
}

.mff-steps__head {
	font-size: 0.906rem;
	font-weight: 700;
	color: var(--mf-navy);
	margin: 0 0 18px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.mff-steps__head svg {
	width: 16px;
	height: 16px;
	stroke: var(--mf-blue);
	flex: none;
}

.mff-steps__list {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

.mff-steps__list::before {
	content: "";
	position: absolute;
	left: 15px;
	top: 6px;
	bottom: 6px;
	width: 2px;
	background: var(--mf-border);
}

.mff-steps__item {
	position: relative;
	padding: 0 0 24px 44px;
}

.mff-steps__item:last-child {
	padding-bottom: 0;
}

.mff-steps__dot {
	position: absolute;
	left: 0;
	top: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--mf-bg);
	border: 2px solid var(--mf-border);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--mf-text-light);
}

.mff-steps__item.is-marked .mff-steps__dot {
	background: var(--mf-blue);
	border-color: var(--mf-blue);
	color: #fff;
}

.mff-steps__label {
	display: block;
	font-size: 1rem;
	font-weight: 700;
	color: var(--mf-text);
	line-height: 1.6;
}

.mff-steps__item.is-marked .mff-steps__label {
	color: var(--mf-navy);
}

.mff-steps__marker {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 5px;
	font-size: 0.844rem;
	font-weight: 700;
	color: var(--mf-orange);
	background: #fdf1e6;
	padding: 3px 9px;
	border-radius: 20px;
}

.mff-steps__marker svg {
	width: 11px;
	height: 11px;
	stroke: currentColor;
	flex: none;
}

/* ===== 立場の表示バー（ルール12：第三者である旨） ===== */
.mff-disclosure {
	background: #eef1f5;
	border-bottom: 1px solid var(--mf-border);
	padding: 10px 0;
}

.mff-disclosure p {
	margin: 0;
	font-size: 0.875rem;
	color: var(--mf-text-light);
	text-align: center;
	line-height: 1.6;
}

/* ===== 症状別ナビ ===== */
.mff-symptoms {
	padding: 64px 0 72px;
}

.mff-section-head {
	margin-bottom: 32px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	flex-wrap: wrap;
}

.mff-section-head p {
	color: var(--mf-text-light);
	font-size: 1rem;
	max-width: 38ch;
	margin: 0;
}

.mff-symptom-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	grid-auto-flow: dense;
	gap: 16px;
}

.mff-symptom-grid > * {
	border-radius: var(--mf-radius);
	border: 1px solid var(--mf-border);
	background: var(--mf-white);
	text-decoration: none;
	color: inherit;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mff-symptom-grid > *:hover {
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 12px 24px -16px rgba(22, 50, 79, 0.45);
}

.mff-symptom--lg {
	grid-column: span 2;
}

/* --- 変種A：症状文を大きく、下に補足と矢印 --- */
.mff-sym-a {
	padding: 26px 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 168px;
}

.mff-sym-a__badge {
	display: inline-flex;
	width: fit-content;
	font-size: 0.844rem;
	font-weight: 700;
	color: var(--mf-orange);
	background: #fdf1e6;
	padding: 3px 10px;
	border-radius: 20px;
	margin-bottom: 14px;
}

.mff-sym-a__title {
	display: block;
	font-size: 1.313rem;
	line-height: 1.55;
	color: var(--mf-text);
	font-weight: 700;
	margin: 0 0 10px;
}

.mff-sym-a__desc {
	display: block;
	color: var(--mf-text-light);
	font-size: 1rem;
	margin: 0 0 18px;
}

.mff-sym-a__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.938rem;
	font-weight: 700;
	color: var(--mf-blue);
}

.mff-sym-a__link svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
	flex: none;
	transition: transform 0.2s;
}

.mff-sym-a:hover .mff-sym-a__link svg {
	transform: translateX(3px);
}

/* --- 変種B：左に番号だけ大きく、右に症状文 --- */
.mff-sym-b {
	display: grid;
	grid-template-columns: 64px 1fr;
	align-items: center;
	overflow: hidden;
}

.mff-sym-b__num {
	align-self: stretch;
	background: var(--mf-navy);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.75rem;
	font-weight: 700;
	font-family: Georgia, "Times New Roman", serif;
}

.mff-sym-b__body {
	display: block;
	padding: 20px 20px 20px 22px;
	min-width: 0;
}

.mff-sym-b__title {
	display: block;
	font-size: 1.063rem;
	color: var(--mf-text);
	font-weight: 700;
	line-height: 1.6;
	margin: 0 0 8px;
}

.mff-sym-b__more {
	font-size: 0.906rem;
	font-weight: 700;
	color: var(--mf-blue);
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.mff-sym-b__more svg {
	width: 12px;
	height: 12px;
	stroke: currentColor;
	flex: none;
}

/* --- 変種C：枠線と色帯だけの横長行（全幅） --- */
.mff-sym-c {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	border-left: 5px solid var(--mf-blue);
	padding: 18px 22px;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: space-between;
}

.mff-sym-c__text {
	display: flex;
	align-items: baseline;
	gap: 14px;
	flex-wrap: wrap;
	min-width: 0;
}

.mff-sym-c__tag {
	font-size: 0.844rem;
	font-weight: 700;
	color: var(--mf-blue);
	letter-spacing: 0.04em;
	flex: none;
}

.mff-sym-c__title {
	display: block;
	font-size: 1.094rem;
	color: var(--mf-text);
	font-weight: 700;
	margin: 0;
}

.mff-sym-c__more {
	font-size: 0.938rem;
	font-weight: 700;
	color: var(--mf-navy);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: none;
	border-bottom: 1px solid var(--mf-navy);
	padding-bottom: 2px;
}

.mff-sym-c__more svg {
	width: 13px;
	height: 13px;
	stroke: currentColor;
	flex: none;
}

/* --- 変種D：淡色背景の小型チップ --- */
.mff-sym-d {
	padding: 22px 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	background: var(--mf-blue-light);
	border-color: var(--mf-blue-light);
}

.mff-sym-d__icon {
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.mff-sym-d__icon svg {
	width: 17px;
	height: 17px;
	stroke: var(--mf-blue);
}

.mff-sym-d__title {
	display: block;
	font-size: 1rem;
	color: var(--mf-navy);
	font-weight: 700;
	line-height: 1.6;
	margin: 0;
}

.mff-sym-d__more {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--mf-blue);
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: auto;
}

.mff-sym-d__more svg {
	width: 11px;
	height: 11px;
	stroke: currentColor;
	flex: none;
}

/* ===== 切り分け図（ツールで足りる範囲／人の手が必要な範囲。ルール11） ===== */
.mff-scope {
	background: var(--mf-navy);
	padding: 64px 0 68px;
}

.mff-scope__head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 40px;
}

.mff-scope__head .mf-eyebrow {
	color: #a9c2e0;
	letter-spacing: 0.08em;
}

.mff-scope__head h2 {
	color: #fff;
	font-size: clamp(1.438rem,3.7vw,1.75rem);
	line-height: 1.6;
	margin: 0;
	font-weight: 700;
}

.mff-scope__diagram {
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.mff-scope__lane {
	display: grid;
	grid-template-columns: 220px 1fr;
	min-height: 132px;
}

.mff-scope__lane + .mff-scope__lane {
	border-top: 3px solid var(--mf-navy);
}

.mff-scope__lane--tool {
	background: #eafaf2;
}

.mff-scope__lane--human {
	background: #fef3e8;
}

.mff-scope__laneLabel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	padding: 22px 24px;
	color: #fff;
}

.mff-scope__lane--tool .mff-scope__laneLabel {
	background: var(--mf-green);
}

.mff-scope__lane--human .mff-scope__laneLabel {
	background: var(--mf-orange);
}

.mff-scope__laneLabel svg {
	width: 22px;
	height: 22px;
	stroke: #fff;
	flex: none;
}

.mff-scope__laneLabel strong {
	font-size: 1.063rem;
}

.mff-scope__laneLabel small {
	font-size: 0.875rem;
	opacity: 0.88;
}

.mff-scope__laneItems {
	display: flex;
	align-items: center;
	padding: 6px 24px;
	flex-wrap: wrap;
}

.mff-scope__laneItems span {
	font-size: 0.938rem;
	font-weight: 700;
	padding: 9px 18px;
	position: relative;
}

.mff-scope__lane--tool .mff-scope__laneItems span {
	color: #0f5c3a;
}

.mff-scope__lane--human .mff-scope__laneItems span {
	color: #9a4d0a;
}

.mff-scope__laneItems span:not(:last-child)::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 16px;
	background: currentColor;
	opacity: 0.25;
}

.mff-scope__boundary {
	text-align: center;
	margin-top: 18px;
}

.mff-scope__boundary span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.875rem;
	font-weight: 700;
	color: #fff;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.25);
	padding: 7px 16px;
	border-radius: 20px;
}

.mff-scope__boundary svg {
	width: 14px;
	height: 14px;
	stroke: #fff;
	flex: none;
}

.mff-scope__source {
	text-align: center;
	margin: 16px 0 0;
	font-size: 0.875rem;
	color: #a9c2e0;
}

.mff-scope__source a {
	color: #fff;
	text-decoration: underline;
}

/* ===== 全体フロー2段（ルール16：画面の中と外の切り分け） ===== */
.mff-flow {
	padding: 68px 0 72px;
}

.mff-flow__intro {
	max-width: 640px;
	margin-bottom: 36px;
}

.mff-flow__band {
	position: relative;
	padding: 24px 24px 28px;
}

.mff-flow__band--tool {
	background: var(--mf-blue-light);
	border: 1px solid #cfe1fb;
	border-bottom: none;
	border-radius: 16px 16px 0 0;
}

.mff-flow__band--human {
	background: #f2f4f7;
	border: 1px solid var(--mf-border);
	border-radius: 0 0 16px 16px;
}

.mff-flow__bandTitle {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.938rem;
	font-weight: 700;
	color: var(--mf-navy);
	margin: 0 0 18px;
}

.mff-flow__bandTitle svg {
	width: 16px;
	height: 16px;
	stroke: var(--mf-blue);
	flex: none;
}

.mff-flow__band--human .mff-flow__bandTitle svg {
	stroke: var(--mf-orange);
}

.mff-flow__steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 14px;
}

.mff-flow__step {
	background: var(--mf-white);
	border: 1px solid var(--mf-border);
	border-radius: 10px;
	padding: 16px 16px 14px;
}

.mff-flow__stepBadge {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--mf-blue);
	color: #fff;
	font-size: 0.875rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
}

.mff-flow__band--human .mff-flow__stepBadge {
	background: var(--mf-orange);
}

.mff-flow__step p {
	margin: 0;
	font-size: 0.938rem;
	font-weight: 700;
	color: var(--mf-text);
	line-height: 1.6;
}

.mff-flow__step small {
	display: block;
	margin-top: 6px;
	font-size: 1rem;
	font-weight: 400;
	color: var(--mf-text-light);
	line-height: 1.6;
}

.mff-flow__source {
	margin: 16px 0 0;
	font-size: 0.875rem;
	color: var(--mf-text-light);
}

/* ===== 申し込み前の確認表 ===== */
.mff-plans {
	padding: 0 0 76px;
}

.mff-plans__head {
	margin-bottom: 26px;
	max-width: 680px;
}

.mff-plans table {
	width: 100%;
	min-width: 620px;
	border-collapse: collapse;
	font-size: 1rem;
	margin: 0;
}

.mff-plans thead th {
	background: var(--mf-navy);
	color: #fff;
	text-align: left;
	font-weight: 700;
	padding: 14px 18px;
	white-space: nowrap;
}

.mff-plans tbody td {
	padding: 14px 18px;
	border-bottom: 1px solid var(--mf-border);
	color: var(--mf-text);
	vertical-align: top;
}

.mff-plans tbody th {
	padding: 14px 18px;
	border-bottom: 1px solid var(--mf-border);
	color: var(--mf-navy);
	text-align: left;
	font-weight: 700;
	white-space: nowrap;
}

.mff-plans tbody tr:nth-child(even) {
	background: #f7f9fc;
}

.mff-plans tbody tr:last-child td,
.mff-plans tbody tr:last-child th {
	border-bottom: none;
}

.mff-plans__note {
	margin: 14px 0 0;
	font-size: 0.875rem;
	color: var(--mf-text-light);
}

/* ===== カテゴリーから探す ===== */
.mff-categories {
	padding: 72px 0 76px;
	background: var(--mf-bg);
	border-top: 1px solid var(--mf-border);
}

.mff-cat-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 32px;
}

.mff-cat-head p {
	color: var(--mf-text-light);
	font-size: 1rem;
	max-width: 40ch;
	margin: 0;
}

.mff-cat-head__count {
	flex: none;
	text-align: right;
}

.mff-cat-head__count strong {
	display: block;
	font-size: 2.313rem;
	color: var(--mf-navy);
	line-height: 1;
}

.mff-cat-head__count small {
	font-size: 0.875rem;
	color: var(--mf-text-light);
}

.mff-cat-all {
	text-align: center;
	margin-top: 28px;
}

.mff-cat-all a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.969rem;
	font-weight: 700;
	color: var(--mf-navy);
	border: 1px solid var(--mf-border);
	background: var(--mf-white);
	padding: 12px 26px;
	border-radius: 24px;
	text-decoration: none;
}

.mff-cat-all a:hover {
	border-color: var(--mf-navy);
	text-decoration: none;
}

.mff-cat-all svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
	flex: none;
}

/* ===== 新着記事 ===== */
.mff-latest {
	padding: 0 0 76px;
	background: var(--mf-bg);
}

.mff-latest__head {
	margin-bottom: 28px;
	max-width: 640px;
}

/* ===== 運営者・編集方針 ===== */
.mff-editorial {
	background: var(--mf-white);
	border-top: 1px solid var(--mf-border);
	border-bottom: 1px solid var(--mf-border);
	padding: 64px 0;
}

.mff-editorial__grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 48px;
	align-items: start;
}

.mff-editorial h2 {
	font-size: clamp(1.375rem,3.5vw,1.656rem);
	line-height: 1.6;
	color: var(--mf-navy);
	margin: 0 0 16px;
	font-weight: 700;
}

.mff-editorial__org {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--mf-bg);
	border: 1px solid var(--mf-border);
	border-radius: 10px;
	padding: 14px 18px;
	margin-top: 20px;
}

.mff-editorial__org svg {
	width: 22px;
	height: 22px;
	stroke: var(--mf-navy);
	flex: none;
}

.mff-editorial__org strong {
	font-size: 0.969rem;
	color: var(--mf-navy);
	display: block;
}

.mff-editorial__org small {
	font-size: 0.875rem;
	color: var(--mf-text-light);
}

.mff-editorial__policy {
	color: var(--mf-text-light);
	font-size: 1rem;
	margin: 0 0 24px;
	padding: 20px 22px;
	background: var(--mf-bg);
	border-left: 3px solid var(--mf-blue);
	border-radius: 0 10px 10px 0;
}

.mff-editorial__sources h3 {
	font-size: 0.906rem;
	font-weight: 700;
	color: var(--mf-navy);
	margin: 0 0 14px;
}

.mff-editorial__sourceList {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.mff-editorial__sourceList li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.875rem;
	color: var(--mf-text);
	background: var(--mf-bg);
	border: 1px solid var(--mf-border);
	border-radius: 8px;
	padding: 10px 12px;
}

.mff-editorial__sourceList a {
	color: inherit;
	text-decoration: none;
}

.mff-editorial__sourceList a:hover {
	text-decoration: underline;
}

.mff-editorial__sourceList svg {
	width: 15px;
	height: 15px;
	stroke: var(--mf-navy);
	flex: none;
}

/* ===== セクションCTA（ルール8・14） ===== */
.mff-cta-section {
	background: var(--mf-navy);
	padding: 60px 0;
	text-align: center;
}

.mff-cta-section h2 {
	color: #fff;
	font-size: clamp(1.375rem,3.7vw,1.75rem);
	line-height: 1.6;
	max-width: 680px;
	margin: 0 auto 16px;
	font-weight: 700;
}

.mff-cta-section__reason {
	color: #c4d3e3;
	font-size: 1rem;
	max-width: 640px;
	margin: 0 auto 24px;
}

.mff-cta-section__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--mf-blue);
	color: #fff;
	font-size: 1.031rem;
	font-weight: 700;
	padding: 15px 32px;
	border-radius: 10px;
	text-decoration: none;
}

.mff-cta-section__btn:hover {
	background: #1a5fcc;
	color: #fff;
	text-decoration: none;
}

.mff-cta-section__btn svg {
	width: 15px;
	height: 15px;
	stroke: #fff;
	flex: none;
}

.mff-cta-section__note {
	max-width: 760px;
	margin: 22px auto 0;
	font-size: 0.844rem;
	line-height: 1.8;
	color: #9fb3c8;
	text-align: left;
}

/* ===== レスポンシブ（ルール9） ===== */
@media (max-width: 960px) {
	.mff-hero__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.mff-hero__figure {
		order: 2;
		max-width: 440px;
		margin: 8px auto 0;
		width: 100%;
	}
	.mff-scope__lane {
		grid-template-columns: 1fr;
	}
	.mff-scope__laneLabel {
		padding: 16px 20px;
	}
	.mff-scope__laneItems {
		padding: 12px 18px 16px;
	}
	.mff-editorial__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

@media (max-width: 760px) {
	.mff-hero {
		padding: 40px 0 36px;
	}
	.mff-symptom-grid {
		grid-template-columns: 1fr 1fr;
	}
	.mff-symptom--lg {
		grid-column: span 2;
	}
	.mff-sym-c {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	.mff-flow__steps {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.mff-symptom-grid {
		grid-template-columns: 1fr;
	}
	.mff-symptom--lg {
		grid-column: span 1;
	}
	.mff-hero__search form {
		flex-wrap: wrap;
		padding: 14px;
	}
	.mff-hero__search button {
		width: 100%;
	}
	.mff-scope__laneItems span {
		width: 100%;
	}
	.mff-scope__laneItems span:not(:last-child)::after {
		display: none;
	}
	.mff-section-head {
		flex-direction: column;
		align-items: flex-start;
	}
	.mff-cat-head {
		flex-direction: column;
	}
	.mff-cat-head__count {
		text-align: left;
	}
}
