@charset "UTF-8";
/*
 * assets/css/site.css（倉敷PCリペア 共通スタイル）
 * 依存ファイル: なし
 * このファイルを呼び出すファイル: index.html・service.html・flow.html
 * このファイルが呼び出すファイル: なし
 */
:root {
	--navy: #1f3a5f;
	--navy-dark: #152a45;
	--accent: #2f80c8;
	--bg: #f5f7fa;
	--text: #222;
	--muted: #5b6573;
	--line: #dde3ea;
}

* { box-sizing: border-box; }

html { font-size: 16px; }

body {
	margin: 0;
	background: #fff;
	color: var(--text);
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	line-height: 1.8;
}

a { color: var(--accent); }

img { max-width: 100%; height: auto; }

.container {
	width: 100%;
	max-width: 1040px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ---------- ヘッダー ---------- */
.site-header {
	background: #fff;
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 10;
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
}

.logo {
	color: var(--navy);
	font-size: 1.25rem;
	font-weight: bold;
	letter-spacing: 0.05em;
	text-decoration: none;
}

.logo span { color: var(--accent); }

.nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 6px 10px;
	color: var(--navy);
	font-size: 0.9rem;
	cursor: pointer;
}

.site-nav ul {
	display: flex;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav a {
	color: var(--navy);
	font-weight: bold;
	text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
	color: var(--accent);
}

/* ---------- メインビジュアル ---------- */
.hero {
	background: linear-gradient(135deg, var(--navy-dark), var(--navy) 60%, #2c5a8c);
	color: #fff;
	padding: 88px 0 80px;
}

.hero .eyebrow {
	margin: 0 0 8px;
	color: #a9c8ea;
	font-size: 0.95rem;
	letter-spacing: 0.1em;
}

.hero h1 {
	margin: 0 0 20px;
	font-size: 2.2rem;
	line-height: 1.4;
}

.hero p { margin: 0; max-width: 640px; }

.page-title {
	background: var(--navy);
	color: #fff;
	padding: 48px 0;
}

.page-title h1 { margin: 0; font-size: 1.8rem; }

.page-title p { margin: 8px 0 0; color: #c9dbef; }

/* ---------- セクション ---------- */
.section { padding: 64px 0; }

.section-alt { background: var(--bg); }

.section h2 {
	margin: 0 0 12px;
	color: var(--navy);
	font-size: 1.6rem;
}

.section .lead {
	margin: 0 0 32px;
	color: var(--muted);
}

/* カード */
.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 28px;
}

.card h3 {
	margin: 0 0 8px;
	color: var(--navy);
	font-size: 1.25rem;
}

.card p { margin: 0 0 16px; }

.card .more {
	font-weight: bold;
	text-decoration: none;
}

/* チェックリスト */
.checklist {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 12px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.checklist li {
	position: relative;
	padding-left: 28px;
}

.checklist li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 0.55em;
	width: 12px;
	height: 7px;
	border-left: 3px solid var(--accent);
	border-bottom: 3px solid var(--accent);
	transform: rotate(-45deg);
}

/* サービスの詳細 */
.service-block + .service-block {
	margin-top: 56px;
	padding-top: 56px;
	border-top: 1px solid var(--line);
}

.service-block h3 {
	margin: 32px 0 12px;
	color: var(--navy);
	font-size: 1.15rem;
}

.table-list {
	width: 100%;
	border-collapse: collapse;
}

.table-list th,
.table-list td {
	padding: 14px 16px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.table-list th {
	width: 30%;
	color: var(--navy);
	white-space: nowrap;
}

.note {
	margin-top: 24px;
	padding: 16px 20px;
	background: #fff8e6;
	border-left: 4px solid #e0a800;
	border-radius: 4px;
}

.note p { margin: 0; }

/* 流れ */
.steps {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.steps li {
	position: relative;
	padding: 0 0 32px 72px;
	counter-increment: step;
}

.steps li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--navy);
	color: #fff;
	font-size: 1.2rem;
	font-weight: bold;
	line-height: 48px;
	text-align: center;
}

.steps li::after {
	content: "";
	position: absolute;
	left: 23px;
	top: 52px;
	bottom: 4px;
	width: 2px;
	background: var(--line);
}

.steps li:last-child { padding-bottom: 0; }

.steps li:last-child::after { display: none; }

.steps h3 {
	margin: 0 0 4px;
	color: var(--navy);
	font-size: 1.15rem;
	line-height: 48px;
}

.steps p { margin: 0; }

.btn {
	display: inline-block;
	margin-top: 8px;
	padding: 12px 28px;
	background: var(--accent);
	border-radius: 6px;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}

.btn:hover { background: var(--navy); }

/* ---------- フッター ---------- */
.site-footer {
	background: var(--navy-dark);
	color: #c9d4e2;
	padding: 32px 0;
	font-size: 0.9rem;
}

.site-footer .container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
}

.site-footer a {
	color: #fff;
	text-decoration: none;
	margin-right: 20px;
}

.site-footer p { margin: 0; }

/* ---------- スマートフォン ---------- */
@media (max-width: 720px) {
	.nav-toggle { display: block; }

	.site-nav {
		display: none;
		position: absolute;
		top: 64px;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid var(--line);
	}

	.site-nav.is-open { display: block; }

	.site-nav ul {
		flex-direction: column;
		gap: 0;
		padding: 8px 20px;
	}

	.site-nav li a {
		display: block;
		padding: 12px 0;
	}

	.hero { padding: 56px 0; }

	.hero h1 { font-size: 1.6rem; }

	.section { padding: 48px 0; }

	.table-list th,
	.table-list td {
		display: block;
		width: 100%;
	}

	.table-list th { border-bottom: none; padding-bottom: 0; }
}
