/* fix bug */
body {
	margin-right: 0 !important;
}
.homeinspection-page {
	padding: 30px 0 0;
}
.homeinspection-page .mobile,
.homeinspection-page .mobile.inline  {
	display: none;
}
.homeinspection-page h1 {
	text-align: center;
	font-size: 42px;
	color: #525255;
}
.homeinspection-page h1 span {
	color: #F79421;
}
.homeinspection-page .section-lh {
	margin-bottom: 40px;
	text-align: center;
}
.homeinspection-page .section-lh img {
	max-height: 720px;
	border-radius: 20px;
}

.inspect-tools {
	display: flex;
	justify-content: center;
	gap: 50px;
	margin-bottom: 70px;
}
.inspect-tools.float {
	position: fixed;
	top: 130px;
	width: 100%;
	padding: 20px 0;
	background-color: #fff;
	z-index: 1;
}
.inspect-tools .price-button .button {
	background-color: #F79421;
}
.inspect-tools .inspection-button .button {
	background-color: #0065B2;
}
.inspect-tools .button {
	width: 500px;
	height: 70px;
	margin: 0;
	font-size: 28px;
	color: #fff;
	border-radius: 10px;
}
.inspect-tools .button:hover {
	color: #fff;
}

.key-inspect {
	margin-bottom: 60px;
	font-size: 21px;
	color: #525255;
	line-height: 1.3;
}
.key-inspect h1 {
	margin-bottom: 27px;
}
.key-inspect h3 {
	margin-top: 5px;
	margin-bottom: 5px;
	font-size: 28px;
	color: #0065B2;
}
.key-inspect .box-1 {
	margin-bottom: 60px;
}
.key-inspect .box2 {
	margin-top: 60px;
}

.key-inspect .flex-three {
	display: flex;
}
.key-inspect .flex-three > div {
	width: 33.33%;
	text-align: center;
}

.inspection-area .flex-two {
	display: flex;
	gap: 40px;
	padding: 10px 0;
}
.inspection-area .flex-two ul {
	margin-top: 0;
}
.inspection-area .flex-two .area-topic {
	width: 780px;
	max-height: 692px;
	overflow: hidden;
	overflow-y: scroll;
}
.inspection-area .flex-two .area-img {
	width: 460px;
}
.inspection-area .flex-two .area-img img {
 	height: 100%;
	object-fit: cover;
}
.inspection-area .area-house {
	margin-bottom: 40px;
}
.inspection-area .area-condo {
	margin-bottom: 60px;
}
.area-topic .inspection-category {
	font-size: 18px;
	line-height: 1.45;
}
.area-topic .inspection-category h2 {
	position: relative;
}
.area-topic .inspection-category span {
	font-weight: 600;
}

.inspection-category {
	/* padding: 20px; */
	border-radius: 5px;
/* 	margin-bottom: 20px; */
}

.inspection-category h2 {
	padding: 10px 20px;
	background-color: #EBF3FA;
	font-size: 26px;
	font-weight: bold;
	color: #0065B2;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.inspection-category h2 span {
	font-size: 16px;
	font-weight: normal;
	color: #F79421;
	text-decoration: underline;
}

.flex-two {
	display: flex;
	justify-content: space-between;
	padding: 10px 20px;
}

.flex-two > div {
	width: 48%;
}

.flex-two strong {
	display: block;
	font-size: 21px;
	margin-bottom: 10px;
}

.flex-two ul {
	list-style-type: disc;
}

.flex-two li {
	margin-bottom: 5px;
}

.inspection-price {
	margin-bottom: 65px;
}
.inspection-price table {
	width: 100%;
	margin-bottom: 30px;
	border-collapse: collapse;
	background: white;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	border-radius: 20px;
	overflow: hidden;
}
.inspection-price thead {
	background-color: #0077c2;
	color: white;
}
.inspection-price th {
	font-size: 21px;
}
.inspection-price td {
	font-size: 18px;
}
.inspection-price th,
.inspection-price td {
	padding: 16px;
	text-align: center;
	border: 2px solid #eee;
}
.inspection-price .category {
	background-color: #e7f3fc;
	font-weight: bold;
}
.inspection-price .button {
	display: inline-block;
	width: 100px;
	height: 26px;
	margin-left: 10px;
	background-color: #ffa726;
	color: white;
	padding: 3px 12px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: bold;
	cursor: pointer;
}
.inspection-price .table-condition {
	text-align: right;
	font-size: 18px;
	font-weight: 600;
	color: #0065B2;
}
.inspection-price .table-condition a {
	color: #F79421;
}

.inspection-progress {
	margin-bottom: 70px;
}
.inspection-progress .steps {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 25px;
}

.inspection-progress .step {
	flex: 1 1 180px;
	max-width: 220px;
	text-align: center;
	position: relative;
}

.inspection-progress .circle-img {
	width: 120px;
	/* height: 120px; */
	margin: 0 auto;
	/* background-color: #f2f2f2; */
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-direction: column;
}

.inspection-progress .circle-img img {
	width: 100%;
}
.inspection-progress .circle-number {
	width: 120px;
	margin: 15px auto;
	font-size: 38px;
	font-weight: bold;
	color: #ff9800;
	text-align: center;
}
.inspection-progress .step h2 {
	color: #ff9800;
	font-size: 16px;
	margin: 10px 0;
}

.inspection-progress .step p {
	font-size: 14px;
	color: #333;
}

.inspection-progress .step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 60px;
	right: -60px;
	width: 104px;
	height: 10px;
	background-image: url("https://static.homepro.co.th/homeservice/home-inspection/progress/arrow.png");
	z-index: 0;
}

.inspection-policy {
	padding-top: 60px;
	padding-bottom: 60px;
	background-color: #FFFAF4;
}
.inspection-policy h1 {
	margin-bottom: 45px;
}
.inspection-policy .policy-topic {
	background-color: #0071bc;
	color: white;
	padding: 20px 30px;
	font-size: 21px;
	font-weight: bold;
	line-height: 1.4;
}
.inspection-policy .policy-topic.top {
	border-radius: 20px 20px 0 0;
}
.inspection-policy .policy-topic.bottom {
	border-radius: 0 0 20px 20px;
}
.inspection-policy .policy-detail {
	background-color: white;
	padding: 20px 30px;
	font-size: 18px;
	border: 1px solid #ccc;
	border-top: none;
	line-height: 1.4;
}
.inspection-policy ul {
	padding-left: 0;
	list-style: none;
}
.inspection-policy ul > li {
	margin-bottom: 10px;	
}
.inspection-policy ul ul {
	display: inline-block;
	vertical-align: text-top;
	padding-left: 0;
	-webkit-column-count: 3;
	-moz-column-count: 3;
	column-count: 3;
}

.inspection-example {
	margin: 60px auto;
}
.inspection-example .gallery {
	display: grid;
	grid-template-columns: 1fr 1.2fr 1fr;
	grid-template-rows: repeat(2, auto);
	gap: 20px;
}

.inspection-example .card {
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.inspection-example .card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 20px;
}

.inspection-example .card a {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	background-color: rgba(255, 255, 255, 0.8);
	padding: 8px 18px;
	border-radius: 20px;
	font-weight: bold;
	color: #333;
	text-align: center;
	text-decoration: none;
	font-size: 14px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* ภาพตรงกลางกิน 2 แถว */
.inspection-example .tall {
	grid-row: span 2;
}

/* @media (max-width: 768px) {
	.inspection-example .gallery {
		grid-template-columns: 1fr;
		grid-template-rows: none;
	}

	.inspection-example .tall {
		grid-row: auto;
	}
}
 */
.inspection-faq{
	margin: 60px auto;
}
.inspection-faq .ui.accordion {
	margin-top: 25px;
}
.inspection-faq .ui.accordion .title:not(.ui) {
	position: relative;
	padding: 25px 20px;
	margin-bottom: 20px;
	font-family: Prompt;
	font-size: 21px !important;
	font-weight: 700;
	color: #525255;
	border: 1px solid #BBC7D0;
	border-radius: 10px;
}
.inspection-faq .ui.accordion .title:not(.ui).active {
	margin-bottom: 0;
	color: #0065B2;
	border-bottom: 0;
	border-radius: 10px 10px 0 0;
}
.inspection-faq .title svg {
	position: absolute;
	top: 39%;
	right: 20px;
}
.inspection-faq .title.active svg {
	transform: rotate(180deg);
}
.inspection-faq .ui.accordion .title:not(.ui).active + .content {
	margin-bottom: 20px;
	border: 1px solid #BBC7D0;
	border-top: 0;
	border-radius: 0 0 10px 10px;
}
.inspection-faq .ui.accordion .title~.content {
	padding: 0 20px 20px;
	font-size: 18px  !important;
}
.inspection-faq .ui.accordion:not(.styled) .title~.content:last-child {
	padding: 0 20px 20px;
}
.inspection-faq ol {
	margin: 0;
}

.inspection-plan {
	padding-top: 60px;
	padding-bottom: 160px;
	background-color: #FFFAF4;
}
.inspection-plan .steps-container {
	display: flex;
	justify-content: space-between;
	margin: 40px auto;
	max-width: 1119px;
	position: relative;
	gap: 40px;
}

.inspection-plan .step {
	text-align: center;
	position: relative;
	flex: 1;
}

.inspection-plan .step img {
	margin-bottom: 10px;
}

.inspection-plan .step h3 {
	color: #0070c0;
	font-size: 24px;
	margin: 8px 0 4px;
}

.inspection-plan .step p {
	font-size: 18px;
	line-height: 1.4;
	color: #333;
	margin: 0;
}
.inspection-plan .step:not(:last-child)::after {
	content: "";
	position: absolute;
	right: -29%;
	top: 29%;
	transform: translateY(-50%);
	width: 100px;
	height: 8px;
	background-color: #0070c0;
	clip-path: polygon(
		0% 0%,
		80% 0%,
		80% -40%,
		100% 50%,
		80% 140%,
		80% 100%,
		0% 100%
	);
}
.inspection-plan .plan-pdf a {
	display: block;
	width: 860px;
	height: 75px;
	margin: auto;
	padding-top: 14px;
	font-size: 24px;
	text-align: center;
	color: #0065B2;
	font-weight: 600;
	background-color: #EBF3FA;
	border: 1px solid #0065B2;
	border-radius: 10px;
}
.inspection-plan .plan-pdf a:before{
	content: url('https://static.homepro.co.th/homeservice/home-inspection/plan/plan-button.png');
	vertical-align: middle;
	margin-right: 10px;
}
.inspection-plan .plan-pdf a span {
	color: #F79421;
}

.inspection-contact {
	position: relative;
	padding: 60px 0;
}
.inspection-contact h1 {
	text-align: left;
}
.inspection-contact .image {
	position: absolute;
	right: 0;
	bottom: -8px;
}
.inspection-contact ul {
	list-style: none;
	padding: 0;
	margin-top: 25px;
	width: 80%;
	-webkit-column-count: 2;
	-moz-column-count: 2;
	column-count: 2;
}
.inspection-contact.en ul {
	width: 92%;
}
.inspection-contact ul li {
	margin-bottom: 20px;
	font-size: 21px;
}
.inspection-contact ul li img {
	vertical-align: middle;
	margin-right: 5px;
}
.ah-modal.ui.modal, .ah-modal.modal>.content:last-child, .ah-modal.ui.modal, .ah-modal.modal>.content:first-child:not(.close):not(.dimmer),
.ac-modal.ui.modal, .ac-modal.modal>.content:last-child, .ac-modal.ui.modal, .ac-modal.modal>.content:first-child:not(.close):not(.dimmer) {
	border-radius: 20px;
}
.ah-modal .swiper-ah .swiper-slide, .ac-modal .swiper-ac .swiper-slide {
	text-align: center;
}
.ah-modal .swiper-ah .swiper-slide img, .ac-modal .swiper-ac .swiper-slide img{
	border-radius: 10px;
}
.inspection-category h2 span {
	cursor: pointer;
}
.area-img .ahi, .area-img .aci {
	height: 692px;
}
.area-img .ahi.sl, .area-img .aci.sl {
	height: 100%;
	animation: slideLeft 0.8s ease forwards;
}
.ui.modal>.dimmer:first-child+:not(.close), .ui.modal>.dimmer:first-child+i.icon+*, .ui.modal>:first-child:not(.close):not(.dimmer), .ui.modal>i.icon:first-child+* {
	z-index: 99;
	cursor: pointer;
}
.ah-modal.modal>.content:last-child, .ac-modal.modal>.content:last-child {
	padding: 30px;
}
.ui.modal .swiper .swiper-button-prev:focus-visible, 
.ui.modal .swiper .swiper-button-next:focus-visible {
	border: 0;
}
.ui.modal .swiper .swiper-button-next:focus,
.ui.modal .swiper .swiper-button-prev:focus,
.ui.modal .swiper .swiper-pagination-bullet:focus {
	outline: none;
	box-shadow: none;
}
.ui.modal:not(.fullscreen) {
	top: 18%;
}
@media only screen and (max-width: 1680px) {
	.ui.modal:not(.fullscreen) {
		width: 550px !important;
		top: 25%;
	}
}
@media only screen and (max-width: 768px) {
	.ui.modal:not(.fullscreen) {
		width: 88% !important;
	}
}
@keyframes slideLeft {
	from {
		transform: translateX(100%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}