@charset "utf-8";

.intro::before {
  content: "";
  display: block;
  width: 1px;
  height: 80px;
  margin-inline: auto;
  background: linear-gradient(0deg, rgba(var(--color-brown), 1) 20px, #BEBEBE 20px);
}
.intro__enHeading {
  position: relative;
  font-size: 30px;
  line-height: 1cap;
  color: #406e64;
  --margin-top: 75;
}
.intro__enHeading::before {
  content: attr(title);
  font-size: 120px;
  line-height: 1cap;
  color: #f4f4f4;
  grid-area: 1 / 1;
}
.intro__enHeading span {
  padding-top: 0.7em;
  grid-area: 1 / 1;
}
.intro__heading {
  --margin-top: 55;
}
@media screen and (max-width: 480px){
  .intro::before {
    height: 60px;
    background: linear-gradient(0deg, rgba(var(--color-brown), 1) 15px, #BEBEBE 15px);
  }
  .intro__enHeading {
    font-size: 24px;
    --margin-top: 20;
  }
  .intro__enHeading::before {
    font-size: 60px;
  }
  .intro__enHeading span {
    padding-top: 2.1em;
  }
  .intro__heading {
    --margin-top: 35;
  }
}



/* .gallery {
} */
.gallery {
  position: relative;
  margin-top: 95px;
  padding-bottom: 150px;
}
.gallery::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: calc(100% - 200px);
  background: rgba(192, 204, 200, .5);
  z-index: -1;
}
.gallery__slide {
  overflow: visible;
}
.gallery__slide__list__item {
  position: relative;
}
.gallery__slide__list__item::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  aspect-ratio: 1200 / 200;
  background : linear-gradient(0deg, rgba(64, 110, 100, 0.5) 0%, rgba(64, 110, 100, 0) 100%);
  z-index: 1;
}
.gallery__slide__list__item__name {
  position: absolute;
  right: calc(35 / 18 * 1em);
  bottom: calc(35 / 18 * 1em);
  --font-size-min: 12;
  --font-size-max: 18;
  color: #fff;
  z-index: 2;
}
.gallery__slide__list__item__name span {
  display: block;
  font-size: calc(40 / 18 * 1em);
  padding-top: .4em;
}
.gallery__thumbnail {
  width: calc(1100 / 1200 * 100%);
  margin: 60px auto 0;
}
.gallery__thumbnail__list__item {
  position: relative;
  cursor: pointer;
  aspect-ratio: 200 / 120;
  overflow: clip;
}
.gallery__thumbnail__list__item img {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
}
.gallery__thumbnail__list__item__name {
  position: absolute;
  inset: 0;
  margin: auto;
  --font-size-min: 8;
  --font-size-max: 12;
  line-height: calc(21.6 / 18);
  color: #fff;
  background-color: rgba(64, 110, 100, .8);
  transition: opacity .3s linear;
  z-index: 2;
}
.swiper-slide-thumb-active .gallery__thumbnail__list__item__name {
  opacity: 0;
}
.gallery__thumbnail__list__item__name span {
  font-size: calc(18 / 12 * 1em);
  padding-top: .3em;
}
.gallery__slide__list__button {
  width: calc(100 / 1200 * 100%);
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, .1));
}
.gallery__slide__list__prev {
  translate: -50% 0;
}
.gallery__slide__list__next {
  translate: 50% 0;
}
@media (any-hover: hover){
  .gallery__slide__list__button {
    transition: opacity .3s linear;
  }
  .gallery__slide__list__button:hover {
    opacity: .8;
  }
  .gallery__thumbnail__list__item:hover .gallery__thumbnail__list__item__name {
    opacity: 0;
  }
}
@media screen and (max-width: 768px) {
  .gallery__slide__list__prev {
    translate: -20% 0;
  }
  .gallery__slide__list__next {
    translate: 20% 0;
  }
}
@media screen and (max-width: 480px) {
  .gallery {
    margin-top: 60px;
    padding-bottom: 70px;
  }
  .gallery__slide {
    width: 100%;
  }
  .gallery__slide__list__item::after {
    aspect-ratio: 380 / 100;
  }
  .gallery__slide__list__item__name {
    right: calc(20 / 12 * 1em);
    bottom: calc(20 / 12 * 1em);
    --font-size-max: 12;
  }
  .gallery__slide__list__item__name span {
      padding-top: 0.2em;
  }
  .gallery__thumbnail {
    width: calc(320 / 380 * 100%);
    margin: 25px auto 0;
  }
  .gallery__thumbnail__list__item {
    aspect-ratio: 150 / 90;
  }
  .gallery__thumbnail__list__item__name {
    --font-size-max: 9;
  }
  .gallery__slide__list__control {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
  }
  .gallery__slide__list__button {
    position: relative;
    inset: auto;
    margin: 0;
    width: calc(50 / 380 * 100%);
    height: auto;
  }
  .gallery__slide__list__prev {
    translate: 0 0;
  }
  .gallery__slide__list__next {
    translate: 0 0;
  }
}