@charset "utf-8";

/* ==================================================================
   encho.css — 設備延長保証ページ 専用スタイル
================================================================== */

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

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

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

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

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

.encho-intro__inner {
	max-width: 860px;
	margin: 0 auto;
}

.encho-intro__body {
	font-size: 1.1rem;
	line-height: 2.0;
	color: #333;
	margin-bottom: 40px;
}

/* 保証期間バー */
.encho-period {
	display: flex;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #d0d8e4;
	font-size: 1.0rem;
}

.encho-period__block {
	flex: 1;
	padding: 20px 24px;
	text-align: center;
}

.encho-period__block--maker {
	background: #eef2f7;
	border-right: 1px solid #d0d8e4;
}

.encho-period__block--extend {
	background: #1a3a5c;
	color: #fff;
}

.encho-period__label {
	display: block;
	font-size: 0.9rem;
	margin-bottom: 6px;
	opacity: 0.8;
}

.encho-period__years {
	font-size: 1.4rem;
	font-weight: bold;
	line-height: 1.2;
}

.encho-period__block--maker .encho-period__years {
	color: #1a3a5c;
}

.encho-period__desc {
	display: block;
	font-size: 0.9rem;
	margin-top: 6px;
	opacity: 0.85;
}

/* --------------------------------
   Section 2: 8つの基本パッケージ
-------------------------------- */
.encho-services {
	background: #f5f7fa;
	padding: 60px 20px;
}

.encho-services__inner {
	max-width: 860px;
	margin: 0 auto;
}

.encho-services__note {
	text-align: center;
	font-size: 1.0rem;
	color: #555;
	margin-bottom: 36px;
}

.encho-service-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.encho-service-item {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.encho-service-item__img {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.encho-service-item__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.encho-service-item__name {
	font-size: 1.0rem;
	font-weight: bold;
	color: #1a3a5c;
	padding: 12px 8px;
	line-height: 1.4;
}

/* --------------------------------
   Section 3: 保証事例
-------------------------------- */
.encho-cases {
	padding: 60px 20px;
	background: #fff;
}

.encho-cases__inner {
	max-width: 860px;
	margin: 0 auto;
}

.encho-cases__def {
	font-size: 1.0rem;
	color: #555;
	line-height: 1.8;
	margin-bottom: 36px;
}

.encho-case-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	row-gap: 16px;
	column-gap: 8px;
}

.encho-case-item {
	background: #f5f5f5;
	border-radius: 8px;
	padding: 18px 20px;
}

.encho-case-item__ttl {
	display: grid;
	grid-template-columns: 54px 1fr;
	gap: 12px;
	align-items: center;
	margin-bottom: 8px;
}

.encho-case-item__ttl img {
	width: 54px;
	height: 54px;
	object-fit: contain;
	display: block;
}

.encho-case-item__ttl h4 {
	font-size: 1.2rem;
	font-weight: bold;
	color: #1a1a1a;
	margin: 0;
	line-height: 1.4;
}

.encho-case-item__desc {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 8px;
}

.encho-case-item__desc p {
	font-size: 1.0rem;
	color: #444;
	line-height: 2;
	margin: 0;
}

.encho-case-item__free {
	display: flex;
	align-items: center;
	width: fit-content;
	padding-bottom: 4px;
	border-bottom: 1px solid #292929;
}

.encho-case-item__free span:nth-child(1) {
	font-size: 0.9rem;
	color: #444;
}

.encho-case-item__free span:nth-child(2) {
	font-size: 1.1rem;
	font-weight: bold;
	color: #ad0000;
}

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

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

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

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

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

	.encho-period {
		flex-direction: column;
	}

	.encho-period__block--maker {
		border-right: none;
		border-bottom: 1px solid #d0d8e4;
	}

	.encho-period__years {
		font-size: 1.3rem;
	}

	.encho-services {
		padding: 40px 16px;
	}

	.encho-service-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}

	.encho-service-item__name {
		font-size: 0.9rem;
		padding: 10px 6px;
	}

	.encho-cases {
		padding: 40px 16px;
	}

	.encho-cases__def {
		font-size: 0.9rem;
	}

	.encho-case-list {
		grid-template-columns: 1fr;
	}

	.encho-case-item {
		padding: 16px;
	}

	.encho-case-item__ttl {
		grid-template-columns: 44px 1fr;
		gap: 10px;
	}

	.encho-case-item__ttl img {
		width: 44px;
		height: 44px;
	}

	.encho-case-item__ttl h4 {
		font-size: 1.1rem;
	}

	.encho-case-item__desc p {
		font-size: 0.9rem;
	}

	.encho-case-item__free span:nth-child(1) {
		font-size: 0.9rem;
	}

	.encho-case-item__free span:nth-child(2) {
		font-size: 1.0rem;
	}
}
