/* ファクタリング会社カード一覧（トップページ） */
.fn-svc {
	--fn-navy: #0d2b4e;
	--fn-navy-2: #16406f;
	--fn-orange: #f29a1f;
	--fn-orange-dk: #d97b06;
	--fn-red: #d9452b;
	--fn-paper: #fbf7ee;
	--fn-line: #d9cfbd;
	--fn-ink: #1d2733;
	--fn-mute: #6b7480;
	margin: 0 0 48px;
	padding: 28px 20px 32px;
	background: var(--fn-paper);
	border: 3px solid var(--fn-navy);
	box-shadow: 8px 8px 0 var(--fn-navy-2);
	color: var(--fn-ink);
	box-sizing: border-box;
}
.fn-svc *,
.fn-svc *::before,
.fn-svc *::after { box-sizing: border-box; }

/* 見出し */
.fn-svc__head { margin-bottom: 26px; }
.fn-svc__kicker {
	display: inline-block;
	margin: 0 0 10px;
	padding: 4px 12px;
	background: var(--fn-navy);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .18em;
	line-height: 1.4;
}
.fn-svc .fn-svc__title {
	margin: 0 0 10px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--fn-navy);
	font-size: 26px;
	font-weight: 900;
	line-height: 1.35;
	letter-spacing: .02em;
}
.fn-svc .fn-svc__title::before,
.fn-svc .fn-svc__title::after { display: none; }
.fn-svc__count {
	display: inline-block;
	margin-left: 10px;
	padding: 2px 10px;
	border: 2px solid var(--fn-orange-dk);
	color: var(--fn-orange-dk);
	font-size: 14px;
	font-weight: 700;
	vertical-align: middle;
	transform: rotate(-2deg);
}
.fn-svc__lead { margin: 0 0 8px; font-size: 15px; line-height: 1.8; }
.fn-svc__note { margin: 0; color: var(--fn-mute); font-size: 12px; line-height: 1.7; }

/* グリッド */
.fn-svc__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 26px 22px;
}

/* カード */
.fn-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 16px 16px 18px;
	background: #fff;
	border: 2px solid var(--fn-navy);
	box-shadow: 5px 5px 0 var(--fn-orange);
	transition: transform .15s ease, box-shadow .15s ease;
}
.fn-card:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--fn-orange); }
.fn-card.is-pr { background: #fffdf6; }

.fn-card__top {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: -16px -16px 12px;
	padding: 0 12px 0 0;
	border-bottom: 2px solid var(--fn-navy);
	min-height: 34px;
}
.fn-card__no {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 34px;
	padding: 0 8px;
	background: var(--fn-navy);
	color: #fff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 19px;
	font-style: italic;
	font-weight: 700;
}
.fn-card__pr {
	padding: 1px 6px;
	border: 1px solid var(--fn-mute);
	color: var(--fn-mute);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.5;
}
.fn-card__target {
	margin-left: auto;
	color: var(--fn-navy-2);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	text-align: right;
}

.fn-card__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 96px;
	margin: 0 0 12px;
	padding: 10px 14px;
	border: 1px solid var(--fn-line);
	background: #fff;
	line-height: 0;
	overflow: hidden;
}
.fn-svc .fn-card__logo img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 72px;
	margin: 0;
	object-fit: contain;
}

.fn-svc .fn-card__name {
	margin: 0 0 4px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--fn-navy);
	font-size: 19px;
	font-weight: 900;
	line-height: 1.4;
}
.fn-svc .fn-card__name::before,
.fn-svc .fn-card__name::after { display: none; }
.fn-card__tag {
	margin: 0 0 12px;
	color: var(--fn-ink);
	font-size: 13px;
	line-height: 1.6;
}

/* 主要3項目 */
.fn-card__spec {
	margin: 0 0 12px;
	padding: 8px 0;
	border-top: 2px dashed var(--fn-line);
	border-bottom: 2px dashed var(--fn-line);
}
.fn-card__row {
	display: grid;
	grid-template-columns: 3.6em 1fr;
	align-items: baseline;
	gap: 8px;
	padding: 3px 0;
}
.fn-card__row dt {
	margin: 0;
	color: var(--fn-mute);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
}
.fn-card__row dd {
	margin: 0;
	color: var(--fn-navy);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
}
.fn-card__row--fee dd { color: var(--fn-red); font-size: 16px; }

/* 特徴 */
.fn-svc .fn-card__pts {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}
.fn-svc .fn-card__pts li {
	position: relative;
	margin: 0;
	padding: 2px 0 2px 16px;
	font-size: 13px;
	line-height: 1.6;
	border: 0;
	background: none;
}
.fn-svc .fn-card__pts li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .75em;
	width: 7px;
	height: 7px;
	background: var(--fn-orange);
	transform: rotate(45deg);
}

/* ボタン */
.fn-svc .fn-card__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: auto;
	padding: 12px 10px;
	background: var(--fn-orange);
	border: 2px solid var(--fn-navy);
	box-shadow: 3px 3px 0 var(--fn-navy);
	color: var(--fn-navy);
	font-size: 14px;
	font-weight: 900;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.fn-svc .fn-card__btn:hover,
.fn-svc .fn-card__btn:focus-visible {
	background: #ffb341;
	transform: translate(2px, 2px);
	box-shadow: 1px 1px 0 var(--fn-navy);
	color: var(--fn-navy);
}
.fn-card__arrow { font-size: 16px; transition: transform .12s ease; }
.fn-card__btn:hover .fn-card__arrow { transform: translateX(3px); }

/* もっと見る */
.fn-svc.is-collapsed .fn-card--more { display: none; }
.fn-svc__more { display: none; margin-top: 28px; text-align: center; }
.fn-svc.is-collapsed .fn-svc__more { display: block; }
.fn-svc .fn-svc__morebtn {
	display: inline-block;
	padding: 14px 30px;
	background: var(--fn-navy);
	border: 2px solid var(--fn-navy);
	box-shadow: 4px 4px 0 var(--fn-orange);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: transform .12s ease, box-shadow .12s ease;
}
.fn-svc .fn-svc__morebtn span { font-size: 13px; font-weight: 400; opacity: .85; }
.fn-svc .fn-svc__morebtn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--fn-orange); }

/* AFFINGER の見出し装飾を打ち消す */
#fn-services h2.fn-svc__title,
#fn-services h3.fn-card__name {
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	text-shadow: none !important;
}
#fn-services h2.fn-svc__title { padding: 0 !important; margin: 0 0 10px !important; }
#fn-services h3.fn-card__name { padding: 0 !important; margin: 0 0 4px !important; }
#fn-services h2.fn-svc__title::before, #fn-services h2.fn-svc__title::after,
#fn-services h3.fn-card__name::before, #fn-services h3.fn-card__name::after { display: none !important; content: none !important; }

/* スマホ */
@media only screen and (max-width: 599px) {
	.fn-svc { margin: 0 0 36px; padding: 22px 14px 26px; box-shadow: 5px 5px 0 var(--fn-navy-2); }
	.fn-svc .fn-svc__title { font-size: 22px; }
	.fn-svc__count { margin-left: 6px; font-size: 13px; }
	.fn-svc__grid { grid-template-columns: 1fr; gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
	.fn-card, .fn-svc .fn-card__btn, .fn-card__arrow, .fn-svc .fn-svc__morebtn { transition: none; }
}
