/* art-spot
-------------------------------------------*/

.artspot .read-area{
  width: var(--page-width);
  margin: 0 auto;
  padding: 100px 0 150px;
}
.artspot .read-area .text{
  line-height: 1.5;
  font-size: clamp(13px,2.0vw,16px);
}
.artspot .read-area .text span{
  font-weight: bold;
  font-size: clamp(14px,2.154vw,24px);
}
.artspot .read-area .ph{
  width: 80%;
  margin: 0 auto;
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.artspot .read-area .ph div:first-child{
  width: 70%;
  border: 1px solid #eee;
}
.artspot .read-area .ph div:nth-child(2){
  width: min(200px,30%);
}
.artspot .read-area .ph img{
  width: 100%;
  height: auto;
}
.artspot .read-area .car{
  font-weight: bold;
  color: var(--green);
  padding: 14px;
  line-height: 1.5;
  font-size: clamp(13px,2.0vw,16px);
  background-color: rgba(var(--green-rgb), .1);
}

#main .sec h3{
  width: 100%;
  margin-left: 10%;
}
#main .sec .read .text{
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: space-between;
}
#main .sec .read .text .box{
  width: 48%;
  margin-left: 10%;
}
#main .sec .read .text .img{
  width: 37%;
}
#main .sec .read .text .img img{
  object-fit: cover;
}
#art-gallery,
#sanada{
  padding-top: 150px;
}

/* gallery */

.gallery{
  width: 100%;
  overflow: hidden;
  margin-top: 100px;
}
.gallery-track{
  display: flex;
  width: max-content;
  animation: galleryLoop 60s linear infinite;
}
.gallery-list{
  display: flex;
  gap: 40px;
  flex-shrink: 0;
}
.gallery-list:first-child{
  margin-right: 40px;
}
.gallery-item{
  height: 140px;
  flex-shrink: 0;
}
.gallery-item:nth-child(even),
.gallery-item:last-child{
  margin-top: 3rem;
}
.gallery-item img{
  display: block;
  width: auto;
  height: 100%;
}
@keyframes galleryLoop{
  from{
    transform: translate3d(0, 0, 0);
  }
  to{
    transform: translate3d(-50%, 0, 0);
  }
}
#sanada .ph_area{
  width: var(--page-width);
  margin: 0 auto;
  padding-top: 5%;
}
#sanada .ph_area ul{
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
#sanada .ph_area li{
  width: calc((100% - 4rem) / 3);
}
#sanada .ph_area img{
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 650px){
  
  .artspot .read-area{
    padding: 15% 0;
  }
  .artspot .read-area .ph{
    flex-direction: column;
    padding: 6% 0;
  }
  .artspot .read-area .ph div:first-child{
    width: 100%;
  }
  .artspot .read-area .ph div:nth-child(2){
    width: min(200px,80%);
  }
  #main .sec h3{
    margin-left: 3%;
  }
  #main .sec .read .text{
    margin: 0 0 15%;
    flex-wrap: wrap;
  }
  #main .sec .read .text .box{
    width: var(--page-width);
    margin: 0 auto;
  }
  #main .sec .read .text .box h4{
    margin-bottom: 4%;
  }
  #main .sec .read .text .img{
    width: 100%;
    margin-top: 10%;
  }
  #art-gallery,
  #sanada{
    padding-top: 15%;
  }
  
  .gallery{
    margin-top: 10%;
  }
  .gallery-list{
    gap: 26px;
  }
  .gallery-list:first-child{
    margin-right: 26px;
  }
  .gallery-item{
    height: 100px;
  }
  .gallery-item:nth-child(even),
  .gallery-item:last-child{
    margin-top: 30px;
  }
  
  #sanada .ph_area{
    width: var(--page-width);
    padding-top: 0;
  }
  #sanada .ph_area ul{
    gap: 1rem;
  }
  #sanada .ph_area li{
    width: calc((100% - 1rem) / 2);
  }
}