
/*--------------------------
 headerグループ企業
--------------------------*/
.group-carousel::-webkit-scrollbar {
  display: none;
}

.group-carousel {
  scrollbar-width: none;
}

.group__container {
  margin: 0 auto;
  position: relative;
  touch-action: pan-y;
  background-color: #FFFFFF;
  overflow: hidden;
}
@media screen and (max-width: 1024px) {
  .group__container {
    padding: clamp(0.6562rem, 0.5533rem + 0.43vw, 0.9375rem) 0 clamp(0.4375rem, 0.3689rem + 0.29vw, 0.625rem) 0;
    user-select: none;
    -webkit-user-select: none;
  }
}

.group__inner {
  display: grid;
  grid-template-columns: max-content 1fr;
  max-width: 1024px;
  margin: 0 auto;
}
@media screen and (max-width: 1024px) {
  .group__inner {
    grid-template-columns: auto;
    overflow: hidden;
  }
}

.group__title {
  display: flex;
  align-items: center;
  font-family: "Roboto", sans-serif;
  /* font-weight: 200; */
  /* color: #1C99DE; */
  color: var(--color-green);
  font-size: 1.1em;
  font-weight: 300;
}
@media screen and (max-width: 1024px) {
  .group__title {
    justify-content: center;
    max-width: 100vw;
  }
}

.group__title::after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 1px;
  margin-left: clamp(0.875rem, 0.7378rem + 0.58vw, 1.25rem);
  color: #1C99DE;
  transform: rotate(-45deg);
  /* background-color: #1C99DE; */
  background-color: var(--color-green);
}
@media screen and (max-width: 1024px) {
  .group__title::after {
    display: none;
  }
}

.group-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: clamp(0.875rem, 0.7378rem + 0.58vw, 1.25rem);
  justify-content: center;
  will-change: transform;
}
@media screen and (max-width: 1024px) {
  .group-track {
    display: flex;
    justify-content: flex-start;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
    transform: translate3d(0, 0, 0);
  }
}
.group-track.is-flowing {
  animation: infinite-scroll 20s linear infinite;
}

.group-item {
  border-radius: 0.3125rem;
  margin: 0 auto;
  overflow: hidden;
  background-color: #FFFFFF;
}
@media screen and (max-width: 1024px) {
  .group-item {
    flex: 0 0 9rem;
    width: 9rem;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
  }
}

.group-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  /* width: 94%; */
  
}

@keyframes infinite-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(var(--loop-distance, -100%), 0, 0);
  }
}

/*--------------------------
 グループ企業紹介
--------------------------*/
#onestop .group__container {
  margin: clamp(0.875rem, 0.7378rem + 0.58vw,5.25rem) auto clamp(1.75rem, 1.4756rem + 1.17vw, 2.5rem) auto;
  padding: clamp(0.4375rem, 0.3689rem + 0.29vw, 0.625rem) clamp(1.3125rem, 1.1067rem + 0.87vw, 1.875rem);
  background: none;
}
#onestop .group__inner {
  display: flex !important;
  max-width: 1100px !important;
  /* padding: 0 clamp(3.5rem, 2.9512rem + 2.34vw, 5rem); */
}
@media screen and (max-width: 1024px) {
  #onestop .group__inner {
    max-width: 100% !important;
    padding: 0;
    overflow: visible !important;
  }
}
#onestop .group__title {
  display: none;
}
@media screen and (max-width: 1024px) {
  #onestop .group-item {
    flex: 0 0 20%;
    width: 20%;
  }
}
@media screen and (max-width: 640px) {
  #onestop .group-item {
    flex: 0 0 15%;
    width: 15%;
  }
}
@media screen and (max-width: 480px) {
  #onestop .group-item {
    flex: 0 0 25%;
    width: 25%;
  }
}