@charset "utf-8";

/* ==================================================================
   jiban.css — 地盤保証ページ 専用スタイル
================================================================== */

.jiban-page {
	width: 100%;
	padding-bottom: 80px;
}

/* --------------------------------
   共通：セクション見出し
-------------------------------- */
.jiban-section-ttl {
	text-align: center;
	margin-bottom: 36px;
}

.jiban-section-ttl h2 {
	font-size: 1.3rem;
	font-weight: bold;
	color: #1a3a5c;
	line-height: 1.5;
	margin-bottom: 8px;
}

.jiban-section-ttl__sub {
	display: block;
	font-size: 0.9rem;
	color: #888;
	letter-spacing: 0.08em;
}

/* --------------------------------
   Section 1: サービス概要
-------------------------------- */
.jiban-intro {
	padding: 60px 20px 50px;
	background: #fff;
}

.jiban-intro__inner {
	max-width: 860px;
	margin: 0 auto;
	display: flex;
	gap: 40px;
	align-items: center;
}

.jiban-intro__text {
	flex: 1;
}

.jiban-intro__lead {
	font-size: 1.3rem;
	font-weight: bold;
	color: #1a3a5c;
	line-height: 1.6;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 3px solid #1a3a5c;
}

.jiban-intro__body {
	font-size: 1.1rem;
	line-height: 2.0;
	color: #333;
}

.jiban-intro__img {
	flex-shrink: 0;
	width: 280px;
}

.jiban-intro__img img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
}

/* --------------------------------
   Section 2: 地盤保証とは
-------------------------------- */
.jiban-about {
	background: #f5f7fa;
	padding: 60px 20px;
}

.jiban-about__inner {
	max-width: 860px;
	margin: 0 auto;
}

.jiban-about__desc {
	font-size: 1.1rem;
	line-height: 2.0;
	color: #333;
	background: #fff;
	border-left: 5px solid #1a3a5c;
	padding: 20px 24px;
	border-radius: 0 8px 8px 0;
	margin-bottom: 36px;
}

table.jiban-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1.1rem;
}

table.jiban-table th,
table.jiban-table td {
	padding: 16px 20px;
	border: 1px solid #d0d8e4;
	line-height: 1.6;
	vertical-align: middle;
}

table.jiban-table th {
	background: #1a3a5c;
	color: #fff;
	font-weight: bold;
	width: 36%;
	text-align: left;
}

table.jiban-table td {
	background: #fff;
	font-weight: bold;
	color: #1a1a1a;
}

table.jiban-table tr:nth-child(even) td {
	background: #f9fafc;
}

/* --------------------------------
   Section 3: 地盤調査から基礎着工までの流れ
-------------------------------- */
.jiban-flow {
	padding: 60px 20px;
	background: #fff;
}

.jiban-flow__inner {
	max-width: 860px;
	margin: 0 auto;
}

.jiban-flow__note {
	text-align: center;
	font-size: 1.0rem;
	color: #666;
	margin-bottom: 36px;
}

.jiban-flow-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.jiban-flow-item {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 20px 24px;
	background: #f5f7fa;
	border-radius: 10px;
	margin-bottom: 8px;
	position: relative;
}

.jiban-flow-item:last-child {
	margin-bottom: 0;
}

/* 矢印 */
.jiban-flow-item:not(:last-child)::after {
	content: "";
	position: absolute;
	bottom: -20px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 16px solid #1a3a5c;
	opacity: 0.4;
	z-index: 1;
}

.jiban-flow-item__num {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	background: #1a3a5c;
	color: #fff;
	font-size: 1.1rem;
	font-weight: bold;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.jiban-flow-item__body {
	flex: 1;
	padding-top: 6px;
}

.jiban-flow-item__title {
	font-size: 1.1rem;
	font-weight: bold;
	color: #1a3a5c;
	margin: 0 0 4px;
	line-height: 1.5;
}

.jiban-flow-item__desc {
	font-size: 1.0rem;
	color: #555;
	line-height: 1.7;
	margin: 0;
}

.jiban-flow__period {
	margin-top: 36px;
	text-align: center;
	font-size: 1.1rem;
	color: #555;
	background: #eef2f7;
	border-radius: 8px;
	padding: 16px 24px;
}

.jiban-flow__period strong {
	color: #1a3a5c;
}

/* ================================
   SP (max-width: 767px)
================================ */
@media only screen and (max-width: 767px) {

	.jiban-page {
		padding-bottom: 60px;
	}

	.jiban-section-ttl h2 {
		font-size: 1.3rem;
	}

	.jiban-intro {
		padding: 40px 16px 36px;
	}

	.jiban-intro__inner {
		flex-direction: column;
		gap: 24px;
	}

	.jiban-intro__lead {
		font-size: 1.2rem;
	}

	.jiban-intro__body {
		font-size: 1.1rem;
	}

	.jiban-intro__img {
		width: 100%;
	}

	.jiban-about {
		padding: 40px 16px;
	}

	.jiban-about__desc {
		font-size: 1.1rem;
		padding: 16px;
	}

	table.jiban-table th,
	table.jiban-table td {
		font-size: 1.0rem;
		padding: 12px 14px;
	}

	table.jiban-table th {
		width: 40%;
	}

	.jiban-flow {
		padding: 40px 16px;
	}

	.jiban-flow-item {
		padding: 16px;
		gap: 14px;
	}

	.jiban-flow-item__num {
		width: 36px;
		height: 36px;
		font-size: 1.0rem;
	}

	.jiban-flow-item__title {
		font-size: 1.0rem;
	}

	.jiban-flow-item__desc {
		font-size: 1.0rem;
	}

	.jiban-flow__period {
		font-size: 1.0rem;
	}
}
