@charset "UTF-8";
/* main */
.explanation{
  display: flex;
  justify-content: space-between;
  width: 90% ;
  margin: 0 auto;
  padding-bottom: 10px;
  border-bottom: solid 1px var(--primary-pink);
  font-size: 1.2rem;
  font-weight: normal;
  font-style: normal;
  color: var(--primary-black);
}
.gallery__txt{
  width: 210px;
  text-align: right;
}
/* slider */
.slick-prev:before,
.slick-next:before {
  color: var(--primary-black);
  font-size: 2.5rem;
}
.slide__group{
  width: 80%;
  margin: 30px auto 40px auto;
  padding: 0 25px;
}
.slider__img {
  width: 100%; 
  display: block;
  height: 180px;
  object-fit: contain;
  margin: 20px auto 10px;
}
.slick-dots li{
  height: 8px;
  width: 8px;
}
.slick-dots{
  bottom:-40px;
  margin-bottom: 20px;
}
.slick-dotted.slick-slider{
  margin: 0 auto 30px auto;
  width: 80%;
}
.slick-prev {
  left: -30px;
}
.slick-next{
  right: -30px;
}
/* onecaram */
.caram__item{
  display: block;
  width: 250px;
  break-inside: avoid;
  margin: 0px auto 20px auto;
  animation: fadeIn linear;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}
.onecaram{
  margin: 40px auto;
}
/* grid */
.grid{
  margin:30px auto 30px;
  column-count: 2;
  column-gap: 10px;
  max-width: 90%;
  height: auto;
  padding-top: 10px;
}
.grid__item{
  width: 230px;
  break-inside: avoid;
  margin: 5px 0;
  animation: fadeIn linear;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}
.lightbox-overlay {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.8s, visibility 0.8s; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.lightbox-overlay:target {
  visibility: visible;
  opacity: 1;
}
.lightbox-overlay:target .lightbox-content {
  transform: scale(1); 
}
.lightbox-content img {
  display: block; 
  width: 330px;
  height: auto;
}
.lightbox-close {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--primary-pink);
  font-size: 40px;
  text-decoration: none;
  line-height: 1;
  z-index: 1001; 
}
.lightbox-close:visited,
.lightbox-close:hover {
  color: var(--primary-pink);
}
.lightbox-overlay .lightbox-close-area { 
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@supports not (animation-timeline: view()) {
  .item {
    opacity: 1;
    transform: none;
  }
}
/* people */
.people_contents{
  display: block;
  color: var(--primary-black);
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 30px;
}
.people_contents:hover {
  color: var(--primary-pink);
}
.people{
  margin: 100px auto;
}
/* ===main-pc=== */
@media screen and (min-width:769px){
  .explanation{
    font-size: 1.4rem;
    padding-bottom: 8px;
  }
  .gallery__txt{
    width: auto;
  }
  .spbr{
    display: none;
  }
  /* slider */
  .slider{
    margin: 20px 50px;
  }
  .slider__img {
    height: 400px;
  }
  .slick-dots{
    bottom: -40px;
  }
  /* onecaram　to grid */
  .caram__item{
    width: 300px;
    break-inside: avoid;
    margin-bottom: 15px;
  }
  .onecaram{
      margin:30px 15% 30px auto;
      column-count: 2;
      column-gap: 10px;
      width: 45%;
      height: auto;
      padding-top: 10px;
  }
  .onecaram a{
    display: block;
  }
  /* grid */
  .grid{
    column-count: 5;
    column-gap: 10px;
    margin-top: 30px;
  }
  .gallery__title{
    font-size: 1.4rem;
    font-weight: 400;
  }
  .lightbox-content img {
    height: 600px;
    width: auto;
  }
}
