/**
 * トップページ改修後のセクション用スタイル
 * （外観 > カスタマイズ > 追加 CSS が旧 ID #t4 #t6 等を参照しているため補完）
 */

/* CTA（cv01〜cv03 共通） */
#cv01,
#cv02,
#cv03 {
	background: url(/wp-content/uploads/2022/10/8bg.jpg);
	position: relative;
	text-align: center;
	padding: 75px 40px 100px;
}

#cv01 .content-wrapper,
#cv02 .content-wrapper,
#cv03 .content-wrapper {
	background: url(/wp-content/uploads/2022/10/8-1.jpg);
	background-size: cover;
	position: relative;
	z-index: 2;
}

#cv01 .content-repeat-wrapper,
#cv02 .content-repeat-wrapper,
#cv03 .content-repeat-wrapper {
	background: url(/wp-content/uploads/2022/10/8-2.png) no-repeat top center;
	background-size: 100% auto;
	padding: 70px 30px;
}

#cv01 .head,
#cv02 .head,
#cv03 .head {
	color: #12b2fa;
	line-height: 1.5;
	margin-bottom: 20px;
}

#cv01 .head .en,
#cv02 .head .en,
#cv03 .head .en {
	font-size: 20px;
	font-family: Roboto, 'Noto Sans JP', sans-serif;
}

#cv01 .head .tit,
#cv02 .head .tit,
#cv03 .head .tit {
	font-size: 42px;
}

#cv01 .bnr,
#cv02 .bnr,
#cv03 .bnr {
	margin-bottom: 30px;
	padding: 0 15px;
}

#cv01 .link,
#cv02 .link,
#cv03 .link {
	display: flex;
	justify-content: center;
	flex-wrap: nowrap;
}

#cv01 .link li,
#cv02 .link li,
#cv03 .link li {
	margin: 0 15px;
}

#cv01 .link li img,
#cv02 .link li img,
#cv03 .link li img {
	width: 100%;
}

/* よくあるお悩み・選ばれる理由 */
.worries-grid,
.reasons-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.worries-item,
.reasons-item {
	background: #fff;
	padding: 24px 20px;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
}

#worries .content-wrapper,
#reason .content-wrapper {
	padding-top: 60px;
	padding-bottom: 60px;
}

/* 施工の流れ・FAQ */
#flow .content-wrapper,
#faq .content-wrapper {
	padding-top: 60px;
	padding-bottom: 60px;
}

#flow .flow-section {
	max-width: 960px;
	margin: 0 auto;
}

#flow .flow-points {
	margin-bottom: 48px;
}

#flow .flow-points-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
}

#flow .flow-points-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: #fff;
	padding: 20px 16px;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
	line-height: 1.7;
}

#flow .flow-point-num {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #12b2fa;
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	line-height: 36px;
	text-align: center;
}

#flow .flow-point-text {
	flex: 1;
}

#flow .flow-steps-list {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	counter-reset: flow-step;
}

#flow .flow-steps-list li {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	position: relative;
	padding: 0 0 28px 0;
}

#flow .flow-steps-list li:not(:last-child)::before {
	content: '';
	position: absolute;
	left: 22px;
	top: 44px;
	bottom: 0;
	width: 2px;
	background: #12b2fa;
	opacity: 0.35;
}

#flow .flow-step-num {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #12b2fa;
	color: #fff;
	font-weight: 700;
	font-size: 13px;
	line-height: 44px;
	text-align: center;
	position: relative;
	z-index: 1;
}

#flow .flow-step-body {
	flex: 1;
	background: #fff;
	padding: 16px 20px;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
}

#flow .flow-step-body strong {
	display: block;
	font-size: 1.1rem;
	margin-bottom: 6px;
	color: #333;
}

#flow .flow-step-body p {
	margin: 0;
	line-height: 1.7;
	color: #555;
}

#flow .content-child-button {
	text-align: center;
	margin-top: 36px;
}

#faq .content-faq {
	margin-top: 20px;
}

/* 口コミ（Trustindex） */
#home-voice h3 {
	margin-bottom: 80px;
}

#home-voice h3 .tit01::before {
	left: 25%;
	right: 25%;
}

#home-voice pre.ti-widget,
#home-voice .visual-text > pre {
	white-space: normal;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	overflow: visible;
	color: inherit;
}

#home-voice .ti-widget-container {
	max-width: 100%;
}

/* 関連サービス（旧 #t4 相当） */
#related-service {
	margin-top: 85px;
}

#related-service .content-wrapper {
	padding-top: 60px;
	padding-bottom: 40px;
}

#related-service .content-repeat-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#related-service .content-repeat-box {
	display: flex;
	flex-direction: column;
	width: calc(25% - 11.25px);
}

#related-service .content-repeat-box > .visual-text:first-child {
	display: contents;
	margin-bottom: 0;
}

#related-service .content-child-image {
	margin-bottom: 10px;
	overflow: hidden;
	aspect-ratio: 16 / 10;
}

#related-service .content-child-image a {
	display: block;
	width: 100%;
	height: 100%;
}

#related-service .content-child-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

#related-service .related-service-title {
	font-size: 2.2rem;
	font-weight: 500;
	line-height: 1.4;
}

#related-service .visual-text p {
	margin: 0;
	line-height: 1.7;
}

#related-service .content-child-button {
	margin-top: auto;
	padding-top: 16px;
	text-align: center;
	width: 100%;
}

#related-service .content-child-button.btn01,
#related-service .content-child-button.btn01.is-c {
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100%;
}

#related-service .content-child-button .button,
#related-service .btn01 a {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 10px 28px 10px 10px;
	font-size: 15px;
}

@media screen and (min-width: 768px) and (max-width: 1100px) {
	#related-service .content-repeat-box {
		width: calc(50% - 15px);
	}

	#related-service .content-repeat-box:nth-child(n + 3) {
		margin-top: 30px;
	}
}

@media screen and (min-width: 768px) {
	#related-service h3 {
		margin-bottom: 50px;
	}

	#worries .content-repeat-wrapper,
	#reason .content-repeat-wrapper {
		align-items: center;
	}
}

/* 口コミ（Trustindex が pre で保存されているためレイアウト崩れを補正） */
#home-voice .content-wrapper {
	padding-top: 60px;
	padding-bottom: 60px;
}

#works.t1 .content-wrapper,
#works .content-wrapper {
	padding-top: 60px;
	padding-bottom: 60px;
}

#works.t1 {
	margin-top: 85px;
}

#area .content-wrapper {
	padding-top: 40px;
	padding-bottom: 40px;
}

/* 会社概要 */
.company-home .content-wrapper,
.i1 .content-wrapper {
	padding-top: 60px;
	padding-bottom: 60px;
}

@media screen and (max-width: 767px) {
	#cv01,
	#cv02,
	#cv03 {
		padding: 60px 15px !important;
	}

	#cv01 .content-repeat-wrapper,
	#cv02 .content-repeat-wrapper,
	#cv03 .content-repeat-wrapper {
		padding: 50px 20px;
	}

	#cv01 .head .en,
	#cv02 .head .en,
	#cv03 .head .en {
		font-size: 14px;
	}

	#cv01 .head .tit,
	#cv02 .head .tit,
	#cv03 .head .tit {
		font-size: 30px;
	}

	#cv01 .link,
	#cv02 .link,
	#cv03 .link {
		display: block;
	}

	#cv01 .link li,
	#cv02 .link li,
	#cv03 .link li {
		margin: 0;
	}

	#cv01 .link li + li,
	#cv02 .link li + li,
	#cv03 .link li + li {
		margin-top: 10px;
	}

	#related-service {
		margin-top: 50px;
	}

	#related-service .content-repeat-box {
		width: 100%;
	}

	#related-service .content-repeat-box + .content-repeat-box {
		margin-top: 25px;
	}

	#related-service .related-service-title {
		font-size: 1.8rem;
	}

	.worries-grid,
	.reasons-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	#flow .flow-points-list {
		grid-template-columns: 1fr;
	}

	#home-voice h3 .tit01::before {
		left: 20%;
		right: 20%;
	}
}
