/* クレジットカード現金化サービスのカード一覧（トップページ） */
.ap-svc {
	/* ヘッダー・フッターと同じグレー（#9c9ea5 → #92949c）を基調にする */
	--ap-navy: #92949c;
	--ap-navy-2: #6f7178;
	--ap-head: linear-gradient(180deg, #9c9ea5 0%, #92949c 100%);
	--ap-dark: #45474d;
	--ap-orange: #c9cbd1;
	--ap-orange-dk: #6f7178;
	--ap-red: #d9452b;
	--ap-paper: #f5f5f7;
	--ap-line: #d6d7db;
	--ap-ink: #2b2d31;
	--ap-mute: #6f7178;
	margin: 0 0 48px;
	padding: 28px 20px 32px;
	background: var(--ap-paper);
	border: 3px solid var(--ap-navy);
	box-shadow: 8px 8px 0 var(--ap-navy-2);
	color: var(--ap-ink);
	box-sizing: border-box;
}
.ap-svc *,
.ap-svc *::before,
.ap-svc *::after { box-sizing: border-box; }

/* 見出し */
.ap-svc__head { margin-bottom: 26px; }
.ap-svc__kicker {
	display: inline-block;
	margin: 0 0 10px;
	padding: 4px 12px;
	background: var(--ap-head);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .18em;
	line-height: 1.4;
}
.ap-svc .ap-svc__title {
	margin: 0 0 10px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ap-dark);
	font-size: 26px;
	font-weight: 900;
	line-height: 1.35;
	letter-spacing: .02em;
}
.ap-svc .ap-svc__title::before,
.ap-svc .ap-svc__title::after { display: none; }
.ap-svc__count {
	display: inline-block;
	margin-left: 10px;
	padding: 2px 10px;
	border: 2px solid var(--ap-orange-dk);
	color: var(--ap-orange-dk);
	font-size: 14px;
	font-weight: 700;
	vertical-align: middle;
	transform: rotate(-2deg);
}
.ap-svc__lead { margin: 0 0 8px; font-size: 15px; line-height: 1.8; }
.ap-svc__note { margin: 0; color: var(--ap-mute); font-size: 12px; line-height: 1.7; }

/* グリッド */
.ap-svc__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 26px 22px;
}

/* カード */
.ap-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 16px 16px 18px;
	background: #fff;
	border: 2px solid var(--ap-navy);
	box-shadow: 5px 5px 0 var(--ap-orange);
	transition: transform .15s ease, box-shadow .15s ease;
}
.ap-card:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ap-orange); }
.ap-card.is-pr { background: #fff; }

.ap-card__top {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: -16px -16px 12px;
	padding: 0 12px 0 0;
	border-bottom: 2px solid var(--ap-navy);
	min-height: 34px;
}
.ap-card__no {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 34px;
	padding: 0 8px;
	background: var(--ap-head);
	color: #fff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 19px;
	font-style: italic;
	font-weight: 700;
}
.ap-card__pr {
	padding: 1px 6px;
	border: 1px solid var(--ap-mute);
	color: var(--ap-mute);
	background: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.5;
}
.ap-card__target {
	margin-left: auto;
	color: var(--ap-dark);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	text-align: right;
}

.ap-card__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 96px;
	margin: 0 0 12px;
	padding: 10px 14px;
	border: 1px solid var(--ap-line);
	background: #fff;
	line-height: 0;
	overflow: hidden;
}
.ap-svc .ap-card__logo img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 72px;
	margin: 0;
	object-fit: contain;
}

.ap-svc .ap-card__name {
	margin: 0 0 4px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ap-dark);
	font-size: 19px;
	font-weight: 900;
	line-height: 1.4;
}
.ap-svc .ap-card__name::before,
.ap-svc .ap-card__name::after { display: none; }
.ap-card__tag {
	margin: 0 0 12px;
	color: var(--ap-ink);
	font-size: 13px;
	line-height: 1.6;
}

/* 主要3項目 */
.ap-card__spec {
	margin: 0 0 12px;
	padding: 8px 0;
	border-top: 2px dashed var(--ap-line);
	border-bottom: 2px dashed var(--ap-line);
}
.ap-card__row {
	display: grid;
	grid-template-columns: 4.2em 1fr;
	align-items: baseline;
	gap: 8px;
	padding: 3px 0;
}
.ap-card__row dt {
	margin: 0;
	color: var(--ap-mute);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
}
.ap-card__row dd {
	margin: 0;
	color: var(--ap-dark);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
}
.ap-card__row--fee dd { color: var(--ap-red); font-size: 16px; }

/* 特徴 */
.ap-svc .ap-card__pts {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}
.ap-svc .ap-card__pts li {
	position: relative;
	margin: 0;
	padding: 2px 0 2px 16px;
	font-size: 13px;
	line-height: 1.6;
	border: 0;
	background: none;
}
.ap-svc .ap-card__pts li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .75em;
	width: 7px;
	height: 7px;
	background: var(--ap-orange);
	transform: rotate(45deg);
}

/* ボタン */
.ap-svc .ap-card__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: auto;
	padding: 12px 10px;
	background: var(--ap-head);
	border: 2px solid var(--ap-navy-2);
	box-shadow: 3px 3px 0 var(--ap-navy-2);
	color: #fff;
	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;
}
.ap-svc .ap-card__btn:hover,
.ap-svc .ap-card__btn:focus-visible {
	background: #a9abb2;
	transform: translate(2px, 2px);
	box-shadow: 1px 1px 0 var(--ap-navy-2);
	color: #fff;
}
.ap-card__arrow { font-size: 16px; transition: transform .12s ease; }
.ap-card__btn:hover .ap-card__arrow { transform: translateX(3px); }

/* AFFINGER の見出し装飾を打ち消す */
#ap-services h2.ap-svc__title,
#ap-services h3.ap-card__name {
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	text-shadow: none !important;
}
#ap-services h2.ap-svc__title { padding: 0 !important; margin: 0 0 10px !important; }
#ap-services h3.ap-card__name { padding: 0 !important; margin: 0 0 4px !important; }
#ap-services h2.ap-svc__title::before, #ap-services h2.ap-svc__title::after,
#ap-services h3.ap-card__name::before, #ap-services h3.ap-card__name::after { display: none !important; content: none !important; }

/* スマホ */
@media only screen and (max-width: 599px) {
	.ap-svc { margin: 0 0 36px; padding: 22px 14px 26px; box-shadow: 5px 5px 0 var(--ap-navy-2); }
	.ap-svc .ap-svc__title { font-size: 22px; }
	.ap-svc__count { margin-left: 6px; font-size: 13px; }
	.ap-svc__grid { grid-template-columns: 1fr; gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
	.ap-card, .ap-svc .ap-card__btn, .ap-card__arrow { transition: none; }
}
