@charset "utf-8";
@media screen and (min-width: 1024px){
.content {
	float: left;
	height: auto;
	width: 100%;	
}
.box-aboutus-all{
	background: linear-gradient(to bottom, #ffffff, #cccccc);
	float: left;
	height: auto;
	width: 100%;
	padding-top: 5%;
	padding-bottom: 5%;
	}
.box-aboutus {
	background-image: url(../images/icon-baibua.png);
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size:180px;
	float: left;
	height: auto;
	width: 80%;
	margin-left: 10%;
}
.picture-profile {
	float: left;
	height: auto;
	width: 30%;
}
.picture-profile img {
	height: auto;
	width: 100%;
	box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}
.box-aboutus-text {
	float: right;
	height: auto;
	width: 68%;
}
.title-aboutus {
    font-family: "Noto Sans Thai";
    font-size: 2.4rem;
    font-weight: bold;
    width: 100%;
    
    display: flex;       /* เปิดโหมด Flex */
    flex-direction: row; /* เรียงเป็นแถวนอน */
    gap: 5px;            /* กำหนดระยะห่างระหว่างคำได้เลย */
}

.f-green {
    color: #8dc63f;
}

.f-gray {
    color: #999;
}
.title-aboutus-sub {
	font-family: serithairegular;
	font-size: 1.8rem;
	color: #999;
	float: left;
	height: auto;
	width: 100%;
	margin-top: 2%;
	margin-bottom: 2%;
}
.text-aboutus {
	font-family: "Noto Sans Thai";
	font-size: 1rem;
	line-height: 140%;
	color: #666;
	float: left;
	height: auto;
	width: 100%;

	text-justify: inter-character;
}
.box-why {
	background-image: url(../images/icon-select.png);
	background-repeat: no-repeat;
	background-position: right top;
	background-size: 300px;
	float: left;
	height: auto;
	width: 100%;
	padding-bottom: 5%;
}
.box-title-why {
	float: left;
	height: auto;
	width: 80%;
	margin-left: 10%;
	margin-top: 3%;
	margin-bottom: 1%;
	
}
.icon-title-why {
	float: left;
	height: auto;
	width: 10%;
	margin-right: 3%;
}
.icon-title-why img {
	height: auto;
	width: 100%;
}
.text-title-why {
	font-family: "Noto Sans Thai";
	font-size: 2rem;
	font-weight: bold;
	float: left;
	height: auto;
	width: 50%;
	margin-top: 5%;
	color: #999;
	margin-bottom: 5%;
}
.box-why-list {
	background-color: #ebebeb;
	float: left;
	height: auto;
	width: 80%;
	padding-top: 1%;
	padding-bottom: 1%;
	border-radius: 0 30px 30px 0px;
	margin-bottom: 1%;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}
.icon-why {
	float: left;
	height: auto;
	width: 5%;
	margin-left: 12%;
	margin-right: 5%;
}
.icon-why img {
	height: auto;
	width: 100%;
}
.head-text-why {
	font-family: "Noto Sans Thai";
	font-size: 1rem;
	color: #F7941D;
	float: left;
	height: auto;
	width: 70%;
	margin-top: 1%;
	margin-bottom: 1%;
}
.text-why {
	font-family: "Noto Sans Thai";
	font-size: 1rem;
	line-height: 120%;
	color: #666;
	float: left;
	height: auto;
	width: 70%;
}
.box-detail {
	float: left;
	height: auto;
	width: 100%;
	background-color: #f7941d;
	background-image: url(../images/bg-detail.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	padding-top: 2%;
	padding-bottom: 2%;
}
.title-box-detail {
	font-family: "Noto Sans Thai";
	font-size: 2rem;
	color: #666;
	float: left;
	height: auto;
	width: 100%;
	margin-bottom: 3%;
	text-align: center;
	font-weight: bold;
	margin-top: 2%;
}

.picture-size {
	float: left;
	height: auto;
	width: 30%;
}
.picture-size img {
	height: auto;
	width: 100%;
}

.box-detail-in {
	float: right;
	height: auto;
	width: 65%;
}
.box-detail-list {
	float: left;
	height: auto;
	width: 30%;
	border-radius: 15px;
	background-color: #FFF;
	margin: 1%;
	padding-top: 1.5%;
	padding-bottom: 1.5%;
}
.box-detail-list-02 {
	float: left;
	height: auto;
	width: 94%;
	border-radius: 15px;
	background-color: #FFF;
	margin: 1%;
}

.icon-detail {
	text-align: center;
	float: left;
	height: auto;
	width: 100%;
	margin-top: 3%;
	margin-bottom: 3%;
}
.icon-detail img {
	height: auto;
	width: 20%;
}
.icon-detail-02 {
	text-align: center;
	float: left;
	height: auto;
	width: 100%;
	margin-top: 3%;
	margin-bottom: 3%;
}
.icon-detail-02 img {
	height: auto;
	width: 6%;
}
.text-detail {
	font-family: "Noto Sans Thai";
	font-size: 1rem;
	color: #F8941D;
	text-align: center;
	float: left;
	height: auto;
	width: 100%;
	margin-bottom: 3%;
	margin-top: 2%;
}
.box-gallery {
	background-color: #FFFFFF;
	float: left;
	height: auto;
	width: 100%;
	padding-top: 2%;
	padding-bottom: 2%;
	margin-top: 1%;
	margin-bottom: 1%;
}
.content .box-detail .box-gallery #picture-01 .splide__track .splide__list .splide__slide img {
	height: auto;
	width: 100%;
}
.box-location {
	float: left;
	height: auto;
	width: 100%;
	background-color: #FFFFFF;
	background-image: url(../images/bg-map.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	padding-top: 2%;
	padding-bottom: 5%;

}
.box-location-in {
	float: left;
	height: auto;
	width: 99%;
	border: 2px solid #F7A13C;
	padding-bottom: 3%;
		border-radius:15px;
}
.box-location-head {
	float: left;
	height: auto;
	width: 70%;
	margin-top: 5%;
	margin-bottom: 1%;
	margin-left: 12%;
}
/* 1. กำหนดท่าทางการขยับ: วิ่งไปทางขวาแล้วหายไป หรือกลับมาเริ่มใหม่ */
@keyframes driveRight {
    0% {
        transform: translateX(0); /* จุดเริ่มต้น */
        opacity: 1;
    }
    80% {
        transform: translateX(50px); /* ขยับไปทางขวา 50px (ปรับระยะได้ตามชอบ) */
        opacity: 1;
    }
    100% {
        transform: translateX(60px); /* วิ่งต่อไปอีกนิดแล้วแวบหายไปเริ่มใหม่ */
        opacity: 0;
    }
}

.icon-location-01 {
    float: left;
    height: auto;
    width: 40%;
    text-align: left;
}

.icon-location-01 img {
    height: auto;
    width: 15%;
    margin-right: 5%;
    display: inline-block; /* มั่นใจว่ารูปเรียงกันแนวเดียวกับข้อความ */
    vertical-align: middle;
}

/* 2. สั่งให้เฉพาะรูปรถขยับ */
.move-car {
    animation: driveRight 2s linear infinite; /* ชื่อ / เวลา / จังหวะ / วนลูป */
}


.icon-location-02 {
	text-align: right;
	float: right;
	height: auto;
	width: 40%;
}

.icon-location-02 img {
	height: auto;
	width: 15%;
}
.box-location-list-01 {
	background-color: #F7A13C;
	float: left;
	height: auto;
	width: 80%;
	margin-left: 10%;
	padding-top: 1%;
	padding-bottom: 1%;
	margin-bottom: 1%;
	border-radius:15px;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}
.box-location-list-02 {
	background-color: #EBEBEB;
	float: left;
	height: auto;
	width: 80%;
	margin-left: 10%;
	padding-top: 1%;
	padding-bottom: 1%;
	margin-bottom: 1%;
	border-radius: 15px;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.text-location {
	font-family: "Noto Sans Thai";
	font-size: 1rem;
	color: #333;
	float: left;
	height: auto;
	width: 70%;
	margin-right: 5%;
	margin-left: 5%;
}
.num-location {
	font-family: "Noto Sans Thai";
	font-size: 1rem;
	font-weight: bold;
	float: left;
	height: auto;
	width: 10%;
	text-align: center;
}
.text-last-location {
	font-family: "Noto Sans Thai";
	font-size: 1rem;
	color: #333;
	float: left;
	height: auto;
	width: 10%;
}
/* พื้นหลังดำโปร่งแสง */
.lightbox-overlay {
	display: none; /* ซ่อนไว้ก่อน */
	position: fixed;
	z-index: 9999999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	align-items: center;
	justify-content: center;
}

/* รูปภาพใน Popup */
.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    border-radius: 4px;
    animation: zoom 0.3s ease;
}

@keyframes zoom {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ปุ่มปิดขวาบน */
.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.close-btn:hover {
    color: #f7941d; /* เปลี่ยนสีตามธีมของคุณเมื่อเอาเมาส์วาง */
}
.google{
	float: left;
	height: auto;
	width: 100%;
}
}