/**
 * CiC工場求人アフィリエイトカード 共通スタイル
 * shift-pay-calculator・genba-career-shindan で共有
 *
 * ブランドカラー：ディープブルー × オレンジ（工業・力強さ・信頼）
 *   メイン  : #1E5BA8
 *   サブ    : #134262
 *   アクセント: #FF8C42（オレンジ）
 */

.cic-affiliate-section {
	margin-top: 24px;
}

.cic-affiliate-card {
	position: relative;
	background: linear-gradient(180deg, #F5F8FC 0%, #FFFFFF 60%);
	border: 1px solid #C8D8E8;
	border-radius: 14px;
	padding: 22px 22px 18px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(30, 91, 168, 0.08);
}

/* 月収レベルに応じたアクセント色の切替（強CTA・中CTA・弱CTA） */
.cic-affiliate-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #1E5BA8 0%, #FF8C42 100%);
}

.cic-affiliate-card--strong {
	background: linear-gradient(180deg, #FFF5EE 0%, #FFFFFF 60%);
	border-color: #FFC8A0;
	box-shadow: 0 2px 10px rgba(255, 140, 66, 0.12);
}

.cic-affiliate-card--strong::before {
	background: linear-gradient(90deg, #FF8C42 0%, #FF6F1F 100%);
}

.cic-affiliate-pr {
	position: absolute;
	top: 12px;
	right: 12px;
	display: inline-block;
	padding: 2px 8px;
	font-size: 10px;
	font-weight: 700;
	color: #1E5BA8;
	background: #E8F0F8;
	border: 1px solid #C8D8E8;
	border-radius: 4px;
	letter-spacing: 0.08em;
}

.cic-affiliate-card--strong .cic-affiliate-pr {
	color: #C76A1F;
	background: #FFEFE0;
	border-color: #FFC8A0;
}

.cic-affiliate-eyebrow {
	font-size: 12px;
	color: #1E5BA8;
	letter-spacing: 0.04em;
	font-weight: 600;
	margin-bottom: 6px;
}

.cic-affiliate-card--strong .cic-affiliate-eyebrow {
	color: #C76A1F;
}

.cic-affiliate-headline {
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 700;
	color: #2D2A26;
	line-height: 1.5;
	margin: 0 0 12px;
	padding-right: 36px;
}

.cic-affiliate-lead {
	font-size: 13.5px;
	line-height: 1.85;
	color: #444;
	margin: 0 0 14px;
}

.cic-affiliate-features {
	list-style: none;
	padding: 14px 16px;
	margin: 0 0 14px;
	background: #F0F5FB;
	border-radius: 10px;
	border: 1px solid #D8E2EE;
}

.cic-affiliate-card--strong .cic-affiliate-features {
	background: #FFF5EE;
	border-color: #F5D7BD;
}

.cic-affiliate-features li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	line-height: 1.65;
	color: #3D3A36;
	padding: 5px 0;
}

.cic-affiliate-features li:not(:last-child) {
	border-bottom: 1px dashed #C8D8E8;
	margin-bottom: 4px;
	padding-bottom: 9px;
}

.cic-affiliate-card--strong .cic-affiliate-features li:not(:last-child) {
	border-bottom-color: #F5D7BD;
}

.cic-affiliate-features strong {
	color: #1E5BA8;
	font-weight: 700;
}

.cic-affiliate-card--strong .cic-affiliate-features strong {
	color: #C76A1F;
}

.cic-check {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	background: #1E5BA8;
	color: #FFFFFF;
	border-radius: 50%;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.cic-affiliate-card--strong .cic-check {
	background: #FF8C42;
}

.cic-affiliate-area {
	font-size: 12px;
	color: #555;
	background: #FAFCFF;
	border: 1px dashed #C8D8E8;
	border-radius: 6px;
	padding: 8px 12px;
	margin-bottom: 14px;
}

.cic-affiliate-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 16px 20px;
	background: linear-gradient(135deg, #1E5BA8 0%, #134262 100%);
	color: #FFFFFF !important;
	border-radius: 10px;
	font-family: var(--font-display);
	font-size: 15.5px;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
	box-shadow: 0 3px 10px rgba(30, 91, 168, 0.30);
}

.cic-affiliate-card--strong .cic-affiliate-cta {
	background: linear-gradient(135deg, #FF8C42 0%, #E66A1F 100%);
	box-shadow: 0 3px 10px rgba(255, 140, 66, 0.35);
}

.cic-affiliate-cta:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
	box-shadow: 0 5px 16px rgba(30, 91, 168, 0.40);
	text-decoration: none;
	color: #FFFFFF !important;
}

.cic-affiliate-card--strong .cic-affiliate-cta:hover {
	box-shadow: 0 5px 16px rgba(255, 140, 66, 0.45);
}

.cic-affiliate-cta-arrow {
	font-weight: 400;
	font-size: 18px;
	transition: transform 0.2s ease;
}

.cic-affiliate-cta:hover .cic-affiliate-cta-arrow {
	transform: translateX(4px);
}

.cic-affiliate-target {
	margin-top: 12px;
	padding: 8px 12px;
	background: #F8F8F6;
	border-left: 3px solid #C8D8E8;
	border-radius: 4px;
	font-size: 11.5px;
	line-height: 1.7;
	color: #555;
}

.cic-affiliate-card--strong .cic-affiliate-target {
	border-left-color: #FFC8A0;
}

.cic-affiliate-target strong {
	color: #1E5BA8;
	font-weight: 700;
}

.cic-affiliate-card--strong .cic-affiliate-target strong {
	color: #C76A1F;
}

.cic-affiliate-disclosure {
	margin-top: 10px;
	padding-top: 8px;
	border-top: 1px dashed #E0E6EE;
	font-size: 10.5px;
	line-height: 1.6;
	color: #999;
}

@media (max-width: 600px) {
	.cic-affiliate-card {
		padding: 18px 16px 14px;
	}
	.cic-affiliate-headline {
		font-size: 15.5px;
	}
	.cic-affiliate-lead {
		font-size: 13px;
	}
	.cic-affiliate-features {
		padding: 12px 14px;
	}
	.cic-affiliate-features li {
		font-size: 12.5px;
	}
	.cic-affiliate-cta {
		padding: 14px 16px;
		font-size: 14.5px;
	}
}
