.set-align {
  align-items: flex-end;
}

.blackcat-text {
  position: absolute;
  top: -30vh;
  left: 0;
  z-index: 6;
  font-family: "Kanit", sans-serif;
}

.text-logo {
  font-size: 70px;
  font-weight: 700;
  display: flex;
  align-items: center;
  letter-spacing: 3px;
  margin-bottom: 0;
  color: #000;
}

.text-logo span {
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffbd00 5%, #db6548 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blackcat-text h2 {
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 300;
}

.blackcat-text a {
  text-decoration: underline;
  color: #555555;
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 300;
}

.blackcat-text a:hover {
  color: #E88431;	
}

.blackcat-text .text-logo::after {
  content: "";
  display: inline-block;
  margin-left: 10px;
  width: 7px;
  height: 60px;
  background: #e88431;
  animation: flash 1s linear infinite;
}

.logo-b {
  height: 48px;
  width: 33px;
  background: url("../images/logo-b.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: left;
  margin-right: 5px;
}

.home-header {
  position: relative;
  transition: 0.2s;
  overflow: hidden;
  height: 100vh;
  width: 100%;
}

.home-header .moon {
  position: absolute;
  z-index: 5;
  width: 100%;
  height: auto;
  max-width: 500px;
  top: 50px;
  right: 200px;
  transition: 0.3s;
  animation: moonCircle 200s infinite linear;
}

.home-body {
  margin: 0 0 5%;
  font-family: "Kanit", sans-serif;
  position: relative;
  overflow: hidden;
}

.home-body .label-title {
  color: #e88431;
  font-size: clamp(20px, 3vw, 24px);
  letter-spacing: 3px;
  font-weight: 400;
  word-break: break-word;
}

.home-body .home-text-main {
  font-weight: 600;
  color: #212121;
  font-size: clamp(30px, 3vw, 40px);
  letter-spacing: 2px;
}

.home-body .home-text-main span {
  font-size: clamp(26px, 3vw, 36px);
  color: #e88431;
  font-weight: 500;
}

.home-body .home-text-submain {
  font-weight: 400;
  color: #e88431;
  font-size: clamp(16px, 3vw, 22px);
  letter-spacing: 1px;
}

.home-body .home-text-detail {
  color: #000;
  font-weight: 300;
  font-size: clamp(14px, 3vw, 16px);
}

.home-body .home-text-ps {
  color: #e88431;
  font-weight: 400;
  font-size: clamp(14px, 3vw, 16px);
}

.home-body .img-about {
  width: 100%;
  max-width: 500px;
  height: 100%;
  display: block;
  margin: auto;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
  padding-bottom: 1rem;
}

.img-hover {
  display: none !important;
}

.hover-img:hover .img-about,
.hover-img:hover .img-choose {
  display: none;
} 

.hover-img:hover .img-hover {
  display: block !important;
}

.home-body .img-choose {
  width: 100%;
  max-width: 750px;
  height: 100%;
  display: block;
  margin: auto;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
}

.choose-box {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 2rem;
}

.choose-detail h3 {
  color: #000;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 500;
}

.choose-box img {
  width: 100%;
  height: 100%;
  max-width: 70px;
  display: block;
}

.our-service {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.our-service::after {
  content: "";
  flex: 1 1;
  border-bottom: 2px solid #707070;
  margin: auto;
}

.our-service-box {
  display: flex;
  align-items: flex-start;
}

.our-service-box .service-title {
  font-size: clamp(16px, 3vw, 18px);
  color: #000;
  font-weight: 600;
}

.our-service-box .service-detail {
  color: #000;
  font-weight: 300;
  font-size: clamp(12px, 3vw, 14px);
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.our-service-box .img-service {
  width: 100%;
  height: 100%;
  display: block;
  max-width: 60px;
  margin-right: 10px;
}

.our-service-box .our-service-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}

.our-service-box .our-service-list {
  padding-left: 10px;
  border-left: 1px solid #707070;
}

.our-service-seemore {
  color: #000;
  font-weight: 300;
  font-size: clamp(14px, 3vw, 16px);
  padding-left: 10px;
}

.our-service-seemore img {
  width: 14px;
  height: 100%;
}

.our-service-seemore:hover {
  text-decoration: none !important;
  color: #e88431;
}

.our-service-seemore:hover img {
  filter: invert(70%) sepia(21%) saturate(6222%) hue-rotate(340deg)
    brightness(96%) contrast(89%);
}

.client-group {
  display: grid !important;
  grid-template-columns: repeat(8, 1fr);
  gap: 1rem;
  align-items: center;
}

.client-logo {
  height: 100%;
  width: 100%;
  max-height: 80px;
  object-fit: contain;
  transform: scale(1);
  transition: ease 0.3s;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.16));
}

.client-logo:hover {
  transform: scale(1.1);
}

.port-menu ul li {
  list-style: none;
  display: inline-block;
  padding-right: 1rem;
  cursor: pointer;
  position: relative;
  color: #000;
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 300;
}

.port-menu ul li::after {
  content: "";
  display: block;
  width: calc(0% - 60px);
  height: 3px;
  background: #e88431;
  transition: width 350ms ease-out;
}

.port-menu ul li:hover::after,
.port-menu ul li.active::after {
  width: calc(100%);
  transition: width 350ms ease-out;
}

.port-menu ul li.active,
.port-menu ul li:hover {
  color: #e88431;
}

.port-work {
  transition: 0.2s ease;
}

.view-all {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-top: 1rem;
}

.view-all::before {
  content: "";
  flex: 1 1;
  border-bottom: 1px solid #707070;
  margin: auto;
}

.view-all a {
  color: #000;
  font-weight: 300;
  font-size: clamp(14px, 3vw, 22px);
  font-family: "Mitr-light", sans-serif;
  text-decoration: none !important;
  color: #e88431 !important;
}

.view-all a img {
  width: 18px;
  height: 100%;
  filter: invert(70%) sepia(21%) saturate(6222%) hue-rotate(340deg)
    brightness(96%) contrast(89%);
}

.animate-box img {
  width: 100%;
  height: auto;
  position: absolute;
  z-index: 4;
}

.ani-item-1 {
  max-width: 150px;
  top: calc(100% - 95%);
  left: calc(100% - 95%);
  animation: animate1 15s infinite linear;
}

.ani-item-2 {
  max-width: 120px;
  top: calc(100% - 80%);
  left: calc(100% - 75%);
  animation: animate2 10s infinite linear;
}

.ani-item-3 {
  max-width: 200px;
  top: calc(100% - 90%);
  left: calc(100% - 65%);
  animation: animate1 15s infinite ease;
}

.ani-item-4 {
  max-width: 150px;
  top: calc(100% - 70%);
  left: calc(100% - 55%);
  animation: animate1 10s infinite linear;
}

.ani-item-5 {
  max-width: 200px;
  top: calc(100% - 45%);
  left: calc(100% - 20%);
  animation: animate2 15s infinite linear;
}

.ani-item-6 {
  max-width: 100px;
  top: calc(100% - 60%);
  left: calc(100% - 10%);
  animation: animate3 10s infinite linear;
}

.ani-item-7 {
  max-width: 60px;
  top: calc(100% - 80%);
  left: calc(100% - 10%);
  animation: animate1 5s infinite linear;
}

@media screen and (max-width: 1400px) {
  .home-header .moon {
    max-width: 400px;
  }
}

@media screen and (max-width: 1200px) {
  .set-align {
    align-items: flex-start;
  }
  .home-header .moon {
    right: 100px;
  }
  .blackcat-text {
    top: -25vh;
  }
  .choose-box {
    gap: 1rem;
    margin-top: 1rem;
  }
  .choose-box img {
    max-width: 60px;
  }
  .ani-item-1 {
    max-width: 130px;
  }
  .ani-item-3,
  .ani-item-5 {
    max-width: 180px;
  }
  .ani-item-2,
  .ani-item-6 {
    max-width: 80px;
  }
  .ani-item-7 {
    max-width: 40px;
  }
  .ani-item-4 {
    max-width: 80px;
    top: calc(100% - 45%);
  }
}

@media screen and (max-width: 992px) {
  .home-header {
    height: 50vh;
  }
  .home-header .moon {
    max-width: 300px;
  }
  .logo-b {
    height: 30px;
    width: 25px;
  }
  .blackcat-text {
    top: -15vh;
  }
  .blackcat-text .text-logo::after {
    height: 40px;
  }
  .text-logo {
    font-size: 40px;
  }
  .device-view-all {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 1rem;
    height: 170px;
  }
  .view-all::before {
    display: none;
  }
  .choose-box {
    margin-bottom: 2rem;
    gap: 2rem;
  }
  .ani-item-1 {
    max-width: 110px;
  }
  .ani-item-3,
  .ani-item-5 {
    max-width: 160px;
  }
  .ani-item-2,
  .ani-item-4,
  .ani-item-6 {
    max-width: 60px;
  }
  .client-group {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media screen and (max-width: 767px) {
  #_about_us {
    padding-top: 5%;
  }
  .home-header .moon {
    top: -100px;
    right: -100px;
  }
  .home-header {
    height: 30vh;
  }
  .device-view-all {
    height: 100px;
  }
  .device-home-body {
    padding-top: 10vh;
  }
  .home-body .img-about,
  .img-hover {
    max-width: 300px;
  }
  .our-service {
    justify-content: center;
  }
  .our-service::after {
    display: none;
  }
  .our-service-box {
    justify-content: center;
  }
  .our-service-box .our-service-group {
    width: 100%;
    max-width: 200px;
  }
  .choose-box {
    justify-content: center;
    gap: 1rem;
  }
  .choose-box .choose-detail {
    width: 100%;
    max-width: 200px;
  }
  .client-group {
    grid-template-columns: repeat(4, 1fr);
  }
}

.blackcat-dots li {
  margin: 0 !important;
}

.blackcat-dots li button:before {
  font-size: 12px !important;
}

.blackcat-dots li.slick-active button:before,
.blackcat-dots li:hover button:before {
  color: #e88431 !important;
  opacity: 1 !important;
}

.client-slide .slick-track {
  margin-left: 0;
  height: 100%;
  width: 100px;
}

.client-slide .slick-prev {
  left: -60px;
}

.client-slide .slick-next {
  right: -60px;
}

.client-slide .slick-next,
.client-slide .slick-prev {
  top: 45%;
  width: 60px;
  height: 100%;
  z-index: 10;
}

.client-slide .slick-next img,
.client-slide .slick-prev img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
}

.client-slide .slick-prev:before,
.client-slide .slick-next:before {
  content: none;
}

@media screen and (max-width: 350px) {
  .home-header .moon {
    top: -150px;
  }
  .home-body .img-about,
  .img-hover {
    margin-top: 2rem;
  }
  .home-body .home-text-submain,
  .home-body .label-title {
    font-size: 14px;
  }
  .choose-box img,
  .our-service-box .img-service {
    max-width: 50px;
  }
  .view-all a {
    font-size: 12px;
  }
  .view-all a img {
    width: 12px;
  }
}

@keyframes moonCircle {
  0% {
    transform: rotate(-360deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes flash {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 0.25;
  }
  50% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.75;
  }
  100% {
    opacity: 1;
  }
}

@keyframes animate1 {
  0% {
    transform: translate3d(-25%, 25%, 0);
  }
  50% {
    transform: translateZ(0);
  }
  100% {
    transform: translate3d(-25%, 25%, 0);
  }
}

@keyframes animate2 {
  0% {
    transform: translate3d(25%, 25%, 0);
  }
  50% {
    transform: translateZ(0);
  }
  100% {
    transform: translate3d(25%, 25%, 0);
  }
}

@keyframes animate3 {
  0% {
    transform: translate3d(50%, 25%, 0);
  }
  50% {
    transform: translateZ(0);
  }
  100% {
    transform: translate3d(50%, 25%, 0);
  }
}