#participants{
  width: calc(100% - 100px);
  max-width: 1000px;
  margin: 0 auto;
  display: block;
  padding: 30px 0;
}


@media screen and (max-width: 768px){
  #participants{
    width: calc(100% - 50px);
  }
}

@media screen and (max-width: 480px){
  #participants{
    width: calc(100% - 30px);
  }
}

#participants h1{
  font-size: 32px;
  padding-left: 40px;
  margin: 0 auto;
  position: relative;
}
  
#participants h1::before{
  content: "";
  display: inline-block;
  background-image:url('/img/participants/people_icon.svg');
  background-size: contain;
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

#participants h2{
  display: flex;
  align-items: center;
}

#participants h2::before,
#participants h2::after{
  content: "";
  flex-grow: 1;
  height: 1px;
  background: var(--color-font);
}

#participants h2::before{
  margin-right: 20px;
}

#participants h2::after{
  margin-left: 20px;
}

:root {
  --project-width: 250px;
}

#participants .category{
  height: 480px;
  padding-top: 70px;
}

#participants .category > div{
  position: relative;
  display: flex;
  overflow-x: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#participants .category > div::-webkit-scrollbar{
  display: none;
}

#participants .category > div > div{
  width: max-content;
  display: flex;
  padding-left: 0;
  margin: 0 -69px 0 -70px;
}

/* 矢印 */
#participants .category > div > .h-scroll{
  display: block;
  opacity: 0;
  position: sticky;
  width: 70px;
  z-index: 5;
  transition: all 0.7s ease 0s;
  cursor: pointer;
}

#participants .category > div > .h-scroll.active{
  opacity: 1;
}

#participants .category > div > .h-scroll.left{
  left: 0;
}

#participants .category > div > .h-scroll.right{
  right: 0;
}

#participants #online > div{
  overflow: auto;
}

#participants #online > div > .h-scroll{
  display: none;
}

#participants #online > div > div{
  margin: 0;
}

#participants .project {
  width: var(--project-width);
  position: relative;
  margin: 15px 15px 15px 0;
  border-radius: 15px;
  box-shadow: 2px 2px 12px var(--color-gray);
  background-color: #ffffff;
  transition: .3s;
}

/*
#participants .project:last-child{
  margin-right: 0;
}
*/

#participants .project:hover {
  box-shadow: 2px 2px 12px #868686;
}

/* 各企画の画像 */
#participants .project .project-img {
  height: 120px;
}
#participants .project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
}

/* 各企画の説明 */
#participants .project .desc {
  background-color: #ffffff;
  border-radius: 0 0 15px 15px;
  padding: 10px 20px;
}

#participants .project .desc .project-name {
  color: var(--color-brown);
  padding: 8px 0;
  line-height: 1.2;
}

#participants .project .desc .detail {
  color: var(--color-brown);
  font-size: 13px;
  font-weight: normal;
  font-size: 12px;
}


#participants .project .desc .detail .group-name,
#participants .project .desc .detail .place{
  padding-left: 30px;
  line-height: 1.2;
  position: relative;
  margin: 5px 0;
}

#participants .project .desc .detail .group-name::before,
#participants .project .desc .detail .place::before{
  content: "";
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  width: 18px;
  height: 18px;
  position: absolute;
  top: 0;
  left: 0;
}

#participants .project .desc .detail .group-name::before {
  background-image:url('/img/participants/group.png');
}

#participants .project .desc .detail .place::before {
  background-image:url('/img/participants/pin.png');
  left: 1px;
}

#participants .project .desc .detail .movie{
  text-align: right;
  margin-top: 10px;
}

#participants .project .desc .detail .movie > div{
  display: inline-block;
  width: 100px;
  height: 20px;
  border: solid 1px;
  border-radius: 10px;
  text-align: center;
  line-height: 20px;
  box-shadow: 1px 1px 5px var(--color-gray);
  transition: .3s;
}

#participants .project .desc .detail .movie > div:hover{
  border-color: #FFF;
}
#participants .project .desc .detail .movie a{
  color: var(--color-font);
}

@media screen and (max-width: 550px) {
  #participants .project .desc {
      min-height: 170px;
  }
}