.title-word-1 {
  --color-1: #4b8ef1;
  --color-2: #ff3c00;
  --color-3: #126a08;
}

.title-word-2 {
  --color-1: #126a08;
  --color-2: #4b8ef1;
  --color-3: #ff3c00;
}

.title-word-3 {
  --color-1: #ff3c00;
  --color-2: #126a08;
  --color-3: #4b8ef1;
}

@keyframes color-animation {
  0% {
    color: var(--color-1);
  }
  32% {
    color: var(--color-1);
  }
  33% {
    color: var(--color-2);
  }
  65% {
    color: var(--color-2);
  }
  66% {
    color: var(--color-3);
  }
  99% {
    color: var(--color-3);
  }
  100% {
    color: var(--color-1);
  }
}

.header-title {
  padding: 15px;
  width: 100%;
}

.def {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  animation: sliding-h-t 0.5s linear;
}

.def #img-h-t {
  max-width: 100%;
  width: 450px;
  height: auto;
  object-fit: contain;
}

.def h1,
.def h2.title {
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 15px 0 10px;
  line-height: 1.2;
}

.title-word {
  animation: color-animation 4s linear infinite;
}

.def p {
  margin: 10px auto 0;
  max-width: 800px;
  font-size: 16px;
  line-height: 1.6;
}

@keyframes sliding-h-t {
  from {
    margin-top: 20px;
  }
  to {
    margin-top: 0px;
  }
}

.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0;
  padding: 20px 0 10px;
}

.about h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #1a56db;
}

.about-f {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.company,
.come {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  width: 100%;
  margin: 20px 0;
}

.company-x {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.company-x:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.company-y {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #1a56db;
  margin: 0 0 15px 0;
  word-break: break-word;
}

.company-x img,
.company-x .img-c-x {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-top: 10px;
}

#img-c-xx,
#img-object,
#img-face {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.par-co {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 30px 0 15px;
}

.par-com {
  color: #0b69a3;
}

.spa {
  height: 30px;
}


@media screen and (max-width: 767px) {
  .about-f {
    padding: 20px 15px;
  }
  .company,
  .come {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .company-x {
    padding: 20px 15px;
  }
  .par-co {
    font-size: 19px;
    text-align: center;
  }
}