.ai-page .client-stories {
  overflow: hidden;
  background: url('../image/home/pattern.png') center no-repeat;
}
.ai-page .client-stories-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 24px;
}
.ai-page .client-stories-header .sect-head { margin: 0; }
.ai-page .client-stories-header > p { margin: 0; line-height: 1.85; }
.ai-page .client-stories-track {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  align-items: center;
}
.ai-page .client-story {
  position: relative;
  flex: 1 0 21%;
  height: clamp(380px, 46vw, 650px);
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  background: #162339;
  transition: flex .75s cubic-bezier(.22, 1, .36, 1), box-shadow .6s ease;
}
.ai-page .client-story::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #004ac6, #2563eb);
  opacity: .6;
  pointer-events: none;
  transition: opacity .4s;
}
.ai-page .client-story video, .ai-page .client-story img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ai-page .client-story img { transition: opacity .3s; }
.ai-page .client-story.active { flex-grow: 1.5; box-shadow: 0 10px 20px #c7dcff; }
.ai-page .client-story.active::after, .ai-page .client-story.active img { opacity: 0; }
.ai-page .client-story-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #fff;
}
.ai-page .client-story-play span {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 20px;
  font-size: 22px;
  border: 1px solid #ffffff2e;
  background: #ffffff1f;
  backdrop-filter: blur(15px);
}
.ai-page .client-story-play:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.ai-page .client-story-progress {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 4px;
  z-index: 3;
  background: #ffffff40;
}
.ai-page .client-story-progress span { display: block; height: 100%; width: 0; background: #fff; }
.ai-page .client-stories-nav { display: none; justify-content: center; gap: 12px; margin-top: 16px; }
.ai-page .client-stories-nav button {
  width: 48px;
  height: 48px;
  border: 1px solid #2563eb;
  border-radius: 50%;
  background: #fff;
  color: #2563eb;
  cursor: pointer;
  font-size: 22px;
}
.ai-page .client-stories-nav button:disabled { opacity: .4; cursor: default; }
@media (hover: hover) {
  .ai-page .client-story:hover { flex-grow: 1.5; }
}
@media (max-width: 991px) {
  .ai-page .client-stories-header { grid-template-columns: 1fr; gap: 16px; }
  .ai-page .client-story, .ai-page .client-story.active { flex: 0 0 46%; height: clamp(300px, 70vw, 650px); }
  .ai-page .client-stories-nav { display: flex; }
}
@media (max-width: 575px) {
  .ai-page .client-story, .ai-page .client-story.active { flex-basis: 80%; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-page .client-story, .ai-page .client-story img, .ai-page .client-story::after { transition: none; }
}
