@charset "utf-8";

/* ==================================================
   第2段階：トップページ・現状継承型ブラッシュアップ
   index.html だけで読み込む追加CSS
================================================== */

.index-page .home-hero-picture {
	display: block;
	width: 100%;
}

.index-page .home-hero-picture img {
	display: block;
	width: 100%;
	height: auto;
}

.index-page #p1-1 {
	margin-bottom: 24px;
}

.index-page .main-copy {
	margin-top: 26px;
	margin-bottom: 38px;
}

.index-page .main-copy h2 {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	max-width: 840px;
	margin-right: auto;
	margin-bottom: 14px;
	margin-left: auto;
	font-size: clamp(26px, 2.25vw, 32px);
	line-height: 1.45;
	letter-spacing: .015em;
	text-wrap: balance;
}

.index-page .home-core-services {
	display: inline;
}

.index-page .home-company-line {
	display: contents;
}

.index-page .home-company-name-text {
	display: block;
	flex-basis: 100%;
	margin-top: 2px;
}

.index-page .main-copy p {
	max-width: 780px;
	color: #2c332f;
	font-size: 17px;
	line-height: 1.85;
}

.index-page .home-quick-cta {
	max-width: 920px;
	padding: 30px 36px;
	background: #f4faf5;
	border: 1px solid #cfe2d3;
	border-top: 4px solid #178637;
	border-radius: 10px;
	box-shadow: 0 6px 20px rgba(25, 88, 43, .06);
}

.index-page .home-quick-cta p:first-child strong {
	display: block;
	margin-bottom: 6px;
	color: #21482b;
	font-size: 18px;
	line-height: 1.7;
}

.index-page .home-quick-cta p:first-child strong + br {
	display: none;
}

.index-page .home-quick-cta .home-primary-btn,
.index-page .home-quick-cta .home-secondary-btn {
	min-height: 52px;
	border-radius: 6px;
	font-size: 16px;
}

.index-page .home-section {
	padding: 36px 40px;
	border-color: #dde8df;
	border-radius: 12px;
	box-shadow: 0 4px 18px rgba(30, 70, 40, .055);
}

.index-page .home-section-title {
	margin-bottom: 24px;
	padding: 12px 16px;
	background: #f2f8f3;
	border-left: 4px solid #178637;
	border-radius: 0 6px 6px 0;
	color: #126b2d;
	font-size: 26px;
	line-height: 1.45;
	letter-spacing: .01em;
}

.index-page .home-section-lead,
.index-page .home-area-box p {
	font-size: 16px;
	line-height: 1.85;
}

.index-page .home-service-list {
	align-items: stretch;
}

.index-page .home-service-card {
	display: flex;
	flex-direction: column;
	padding: 24px;
	border-color: #d8e5da;
	border-top: 3px solid #b8d8bf;
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(28, 74, 40, .06);
}

.index-page .home-service-picture {
	display: block;
}

.index-page .home-service-card img {
	flex: 0 0 auto;
	width: 100%;
	max-width: 267px;
	height: 178px;
	margin-right: auto;
	margin-left: auto;
	object-fit: cover;
	object-position: center;
	background: #f5f7f5;
}

.index-page .home-service-card h3 {
	font-size: 19px;
	line-height: 1.5;
}

.index-page .home-service-card p {
	flex: 1 1 auto;
	font-size: 16px;
	line-height: 1.75;
}

.index-page .home-detail-link {
	display: flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.5;
	transition: background-color .2s ease, transform .2s ease;
}

.index-page .home-detail-link:hover,
.index-page .home-detail-link:focus-visible {
	transform: translateY(-1px);
}

.index-page .home-reason-list li {
	border-color: #dce8de;
	border-radius: 9px;
}

.index-page .home-reason-list span,
.index-page .home-company-text td,
.index-page .home-company-trust p,
.index-page .home-faq p {
	font-size: 16px;
	line-height: 1.75;
}

.index-page .home-flow-list li {
	border-color: #dce8de;
	border-radius: 9px;
}

.index-page .home-faq {
	padding: 22px 24px;
	border-color: #dce8de;
	border-radius: 9px;
}

.index-page .home-news-table td {
	font-size: 15px;
	line-height: 1.75;
}

.index-page .cta-area {
	border-radius: 12px;
	box-shadow: 0 6px 22px rgba(25, 88, 43, .07);
}

@media screen and (max-width: 1180px) {
	.index-page .home-section {
		padding: 32px 34px;
	}
}

@media screen and (max-width: 900px) {
	.index-page .main-copy {
		margin-top: 22px;
		margin-bottom: 34px;
	}

	.index-page .home-section {
		padding: 28px;
	}

	.index-page .home-service-card {
		padding: 22px;
	}
}

@media screen and (max-width: 768px) {
	.index-page.phase5f-sticky-page .header-inner {
		grid-template-columns: minmax(108px, 136px) minmax(160px, 220px);
		align-items: center;
		justify-content: center;
		justify-items: stretch;
		min-height: 0;
		padding: 6px 12px;
		column-gap: 8px;
		row-gap: 0;
	}

	.index-page.phase5f-sticky-page #header h1 img {
		width: 100%;
		max-width: 136px;
	}

	.index-page.phase5f-sticky-page .header-company-name {
		justify-self: end;
		width: 100%;
		max-width: 220px;
	}

	.index-page.phase5f-sticky-page .header-company-name-image {
		width: 100%;
	}

	.index-page #p1-1 {
		margin-bottom: 18px;
	}

	.index-page .main-copy {
		margin-top: 20px;
		margin-bottom: 30px;
	}

	.index-page .main-copy h2 {
		display: block;
		margin-bottom: 14px;
		font-size: 23px;
		line-height: 1.5;
		letter-spacing: 0;
		text-wrap: wrap;
	}

	.index-page .home-core-services {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 6px 8px;
	}

	.index-page .home-core-service {
		display: inline-flex;
		align-items: center;
		min-height: 34px;
		padding: 3px 8px;
		background: #f2f8f3;
		border: 1px solid #cfe2d3;
		border-radius: 5px;
		font-size: clamp(16px, 4.7vw, 19px);
		line-height: 1.4;
		white-space: nowrap;
	}

	.index-page .home-service-separator {
		display: none;
	}

	.index-page .home-company-line {
		display: flex;
		align-items: baseline;
		justify-content: center;
		gap: .35em;
		margin-top: 8px;
		font-size: 21px;
		line-height: 1.45;
		white-space: nowrap;
	}

	.index-page .home-company-name-text {
		display: inline;
		flex-basis: auto;
		margin-top: 0;
	}

	.index-page .main-copy p {
		font-size: 16px;
		line-height: 1.8;
	}

	.index-page .home-quick-cta {
		margin-bottom: 42px;
		padding: 22px 20px;
	}

	.index-page .home-quick-cta p:first-child strong {
		font-size: 17px;
		line-height: 1.65;
	}

	.index-page .home-section {
		margin-bottom: 44px;
		padding: 24px 22px;
		border-radius: 10px;
	}

	.index-page .home-section-title {
		margin-bottom: 20px;
		padding: 10px 12px;
		font-size: 22px;
		line-height: 1.5;
	}

	.index-page .home-service-card {
		padding: 18px;
	}

	.index-page .home-service-card img {
		margin-bottom: 14px;
	}

	.index-page .home-service-card h3 {
		margin-top: 0;
		margin-bottom: 10px;
	}

	.index-page .home-service-card h3 {
		font-size: 19px;
	}

	.index-page .home-service-card p {
		flex: 0 1 auto;
		margin-top: 0;
		margin-bottom: 16px;
	}

	.index-page .home-service-card .home-detail-link {
		margin-top: 0;
	}

	.index-page .home-service-card p,
	.index-page .home-reason-list span,
	.index-page .home-company-text td,
	.index-page .home-company-trust p,
	.index-page .home-faq p {
		font-size: 16px;
	}

	.index-page .home-faq {
		padding: 20px;
	}
}

@media screen and (max-width: 340px) {
	.index-page.phase5f-sticky-page .header-inner {
		grid-template-columns: minmax(108px, 116px) minmax(160px, 1fr);
		padding-right: 10px;
		padding-left: 10px;
		column-gap: 6px;
	}

	.index-page.phase5f-sticky-page #header h1 img {
		max-width: 116px;
	}

	.index-page.phase5f-sticky-page .header-company-name {
		max-width: 178px;
	}

	.index-page .main-copy h2 {
		font-size: 20px;
	}

	.index-page .home-core-service {
		font-size: 16px;
	}

	.index-page .home-company-line {
		font-size: 20px;
	}

	.index-page .cta-option {
		padding-right: 14px;
		padding-left: 14px;
	}

	.index-page .cta-option h3 {
		font-size: 17px;
		letter-spacing: -.02em;
		white-space: nowrap;
	}

	.index-page .cta-phone-link {
		font-size: 27px;
		letter-spacing: 0;
		white-space: nowrap;
	}

	.index-page .home-quick-cta,
	.index-page .home-section {
		padding-right: 18px;
		padding-left: 18px;
	}

	.index-page .home-section-title {
		font-size: 21px;
	}
}
