@charset "UTF-8";

body {
	font-family: "Inter", sans-serif;
	scroll-behavior: smooth;
	/* スムーズスクロールを有効にする */
}

/* スクロール時のヘッダー背景をより目立たせるためのスタイル (オプション) */
.header-scrolled {
	background-color: #1a365d;
	/* より濃い青 */
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* アイコンのフォントサイズを調整（絵文字用） */
.icon-lg {
	font-size: 2.5rem;
	/* Large icon size for service features */
}

.icon-md {
	font-size: 1.5rem;
	/* Medium icon size for quick links */
}

.animate-fade-in-down {
	animation: fadeInDown 1s ease-out forwards;
}

.animate-fade-in-up {
	animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}
.section-top {
	position: relative;
	height: 90dvh;
	padding: 0;
	background-image: url("images/top-image.jpg");
	background-size: cover;
	background-position: bottom;
	background-repeat: no-repeat;
	padding-top: 80px;
	z-index: 1;
}
.sp-br {
	display: inline;
}

@media screen and (max-width: 768px) {
	.section-top {
		background-image: url("images/top-image-sp.jpg");
		height: 70dvh;
	}
}

@media screen and (max-width: 500px) {
	.text-3xl.section-top__leed-text-main {
		font-size: 18px;
	}
	.section-top__leed-text-sub {
		font-size: 16px;
		text-align: center;
		line-height: 1;
		font-weight: 500;
	}
	.sp-br::before {
		content: "\A";
	}
}

.section-top__content-wrapper {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -40%);
	z-index: 5;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-width: 1920px;
	text-align: center;
}
/* .section-top__company-name img {
	width: 100%;
	height: auto;
	object-fit: contain;
} */

.section-top__company-name {
	padding: 12px 24px;
	background-color: rgba(255, 255, 255, 0.4);
	margin-bottom: 1em;
}
.section-top__leed-text-sub {
	font-weight: 600;
}

.section-top__leed-text {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: fit-content;
	align-self: flex-start;
	text-align: left;
	margin: 0;
	gap: 10px;
	padding: 0;
	margin: 0 auto;
}

.section-top__leed-text .flex-item {
	padding: 20px;
	background-color: rgba(255, 255, 255, 0.4);
}

.text-3xl.section-top__leed-text-main {
	font-weight: 600;
	font-size: 2.4rem;
	margin-bottom: 0;
}

.section-top-bg {
	position: absolute;
	z-index: 2;
	inset: 0 0 0 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.2);
}

.section-top-img {
	position: absolute;
	z-index: 1;
	inset: 0 0 0 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

@media (max-width: 768px) {
	.section-top__company-name {
		width: 90%;
		height: auto;
		margin: 0 auto 10px;
		padding: 0 2%;
		object-fit: contain;
		object-position: center;
		align-self: center;
	}

	.text-3xl.section-top__leed-text-main {
		font-size: 1.875rem;
	}
	.section-top__leed-text .flex-item {
		padding: 10px;
	}
}
@media (max-width: 400px) {
	.text-3xl.section-top__leed-text-main {
		font-size: 1.5rem;
	}
}

.bg-white.section-service {
	padding: 32px 0 64px 0;
	background-color: #f9f9f9;
}

.section-service__banner-area {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 32px 1.5rem 64px 1.5rem;
	margin: 0 auto;
}

.section-service__banner-title {
	position: relative;
	font-size: 1.5rem;
	font-weight: 600;
}

.section-service__banner-title::before {
	content: "";
	position: absolute;
	inset: auto auto 16px -30px;
	display: block;
	background-color: #1f2937;
	width: 24px;
	height: 3px;
	transform: rotate(45deg);
}

.section-service__banner-title::after {
	content: "";
	position: absolute;
	inset: auto -30px 16px auto;
	display: block;
	background-color: #1f2937;
	width: 24px;
	height: 3px;
	transform: rotate(135deg);
}

.section-service__banner-link {
	display: block;
	width: 40%;
	min-width: 400px;
	height: auto;
	margin: 0 auto;
	transition: 0.3s ease-in-out;
}

.section-service__banner-link:hover {
	transform: scale(1.03);
	filter: brightness(1.2);
	transition: 0.2s ease-in-out;
}

.section-service__banner-link img {
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: center;
}

@media (max-width: 768px) {
	.section-service__banner-title {
		font-size: 1.25rem;
	}

	.section-service__banner-title::before,
	.section-service__banner-title::after {
		display: none;
	}

	.section-service__banner-link {
		width: 100%;
		min-width: 0;
	}
}

.service-quick-link.service-west {
	border: solid 4px #a9c96d;
	transition-duration: 200ms;
}

.service-quick-link.service-west:hover {
	border: solid 4px #a9c96d;
	background-color: rgba(169, 201, 109, 0.4);
	transition: 0.2s ease-in-out;
}

.service-quick-link.service-east {
	border: solid 4px #f5ab62;
	transition-duration: 200ms;
}

.service-quick-link.service-east:hover {
	border: solid 4px #f5ab62;
	background-color: rgba(245, 171, 98, 0.4);
	transition: 0.2s ease-in-out;
}

/* 追加CSS */

.header {
	background-color: #e99900;
}

.header-logo img {
	width: 100px;
}

.header span {
	font-weight: 600;
}

.section-top-bg {
	padding-top: 60px;
}

.text-brown {
	color: #e99900;
}
#company .thumbnail img {
	margin: 0 auto 30px;
	width: 120px;
}
#company h3 {
	margin-bottom: 15px;
}

@media screen and (max-width: 500px) {
	.header {
		padding: 10px;
	}
	.header-logo img {
		width: 70px;
	}
	.text-3xl.section-top__leed-text-main {
		font-size: 20px;
	}
	.container {
		padding: 1em;
	}
	#services-others,
	#services-pest,
	#services-water {
		padding: 1em;
	}
	.section-top-img {
		object-position: 15%;
	}
	#services {
		padding-bottom: 0 !important;
	}

	.section-service {
		padding-bottom: 0 !important;
	}
	.form-wrapper {
		padding: 2em 1em !important;
	}
	.section-service__banner-title {
		font-size: 17px;
	}
}

/* thanks */

.inner {
	padding: 0 1em;
}

.thanks {
	text-align: center;
	line-height: 1.5;
	margin-bottom: 3rem;
	margin-top: 120px;
}
.thanks .mainText {
	font-size: 120%;
	margin-bottom: 1rem;
	margin-top: 2rem;
	display: block;
	font-weight: 700;
}
.thanks .caution {
	margin-top: 1.5rem;
}
.is-close {
	margin: 0 !important;
	text-align: center;
}

.thanks-top-btn {
	display: block;
	width: 200px;
	margin: 0 auto;
	height: 42px;
	line-height: 42px;
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	text-align: center;
	background-color: #e99900;
	border-radius: 21px;
	box-shadow: 0 4px 4px 4px rgba(0, 0, 0, 0.16);
	text-decoration: none;
	transition: opacity 0.3s;
	margin-top: 60px;
}

.thanks-top-btn:hover {
	opacity: 0.8;
}

@media (min-width: 768px) {
	.thanks-top-btn {
		width: 300px;
		height: 70px;
		line-height: 70px;
		font-size: 24px;
		border-radius: 35px;
	}
}

@media (max-width: 767px) {
	.thanks {
		text-align: left;
	}
	.thanks .btn {
		text-align: center;
	}
}
