/*
 * 課題別ソリューション 一覧（template-solutions.php）
 *
 * Claude Design v3 の SOLUTIONS LIST 画面（prototype 1697-1767）より。
 * 共通コンポーネント（.sec-w / .tk-card / .tk-card-c / .tk-btn-w）は base.css。
 * 数値はプロトタイプのインライン style をそのまま移したもの。
 */

.tk-soli__h1 {
	font-weight: 300;
	font-size: clamp(26px, 3vw, 38px);
	line-height: 1.25;
	letter-spacing: -0.025em;
	margin: 0 0 18px;
}

.tk-soli__lead {
	font-size: 16px;
	line-height: 1.7;
	color: #3A3A45;
	margin: 0;
}

/* ============================================================
   カードグリッド
   ============================================================ */

.tk-soli__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

/*
 * プロトタイプでは div + onClick。ここでは <a> にしてある（キーボードで辿れ、
 * 中クリックで開け、クローラにも見えるため）。.tk-card-c のホバーは
 * base.css 側にあるのでそのまま効く。
 */
.tk-soli__card {
	padding: 32px;
	display: flex;
	flex-direction: column;
}

.tk-soli__icon {
	width: 44px;
	height: 44px;
	border-radius: 6px;
	background: #ECECFC;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	flex: none;
}

.tk-soli__title {
	font-size: 17px;
	font-weight: 600;
	margin: 0 0 12px;
	line-height: 1.35;
	text-wrap: pretty;
	color: #101010;
}

.tk-soli__desc {
	font-size: 14px;
	line-height: 1.7;
	color: #3A3A45;
	margin: 0 0 18px;
}

/* margin-top:auto でカードの高さが揃っても「詳細を見る」が底に揃う。 */
.tk-soli__more {
	margin-top: auto;
	font-size: 11px;
	letter-spacing: 0.12em;
	color: #5156BE;
	font-family: 'Noto Sans Mono', monospace;
}

/* ============================================================
   CTA
   ============================================================ */

.tk-soli__cta {
	background: linear-gradient(115deg, #5156BE, #8A8DE8, #AAA6F0);
	border-radius: 12px;
	padding: 64px 56px;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 40px;
	align-items: center;
}

.tk-soli__cta-title {
	font-weight: 300;
	font-size: 28px;
	line-height: 1.32;
	letter-spacing: -0.02em;
	margin: 0 0 12px;
	color: #fff;
	max-width: 620px;
	text-wrap: pretty;
}

.tk-soli__cta-lead {
	font-size: 15px;
	line-height: 1.65;
	color: #CECDF5;
	margin: 0;
}

/* ============================================================
   狭い画面 — プロトタイプはブレークポイントを持たないので補う
   ============================================================ */

@media (max-width: 900px) {
	.tk-soli__grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.tk-soli__cta {
		grid-template-columns: minmax(0, 1fr);
		padding: 40px 28px;
	}
	.tk-soli__cta-title {
		font-size: 24px;
	}
}

@media (max-width: 600px) {
	.tk-soli__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
