@charset "utf-8";

h2 {
  margin-bottom: 2rem;
}

h3 {
  margin-bottom: 2rem;
}

p {
  text-align: start;
}

.hero2 {
  height: 65vh;
  background-color: #a9966335;
  position: relative;

}

.hero2:nth-child(3) {
  height: 25vh;
  border-radius: 0 0 50% 50%;
}

.youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0 3rem 0 0;
}

.youtube iframe {
  width: 100%;
  height: 100%;
}

.row {
  display: block;
  gap: 20px;
  height: auto;
  margin: 1rem;
}

.sec18 {
  position: relative;
  padding: 0.5rem;
}


figcaption {
  font-size: smaller;
  width: fit-content;
  /* コンテンツに合わせて幅を可変する */
}

.silhouette {
  text-align: center;
  opacity: 0.2;
  margin: 3rem;
}

.silhouette img {
  width: 60%;
  margin: 0 auto;
  filter: grayscale(70%);
}

.chair_yoga {
  width: 80%;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.box {
  position: relative;
  border: 1px solid #999;
  background-color: white;
  color: #333;
  margin: 3rem 1.5rem;


}

.box-title {
  position: absolute;
  display: inline-block;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0rem 1rem;
  background-color: white;
}

.box-body {
  padding: 1rem;
  line-height: 1.5;
  /* margin: 1.5rem; */
  background-color: white;

}

.box-body p {
  text-align: center;
  line-height: 2.5;

}

.stripe {
  position: relative;

}

.stripe:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.3rem;
  background: repeating-linear-gradient(-45deg, skyblue, skyblue 2px, white 2px, white 4px);
}

.sec19 {
  background-image: url(/images/silhouette.webp);
  background-color: rgba(255, 255, 255, 0.92);
  background-blend-mode: lighten;

}

/* アニメーションCSS */
.animate {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate.from-bottom {
  transform: translateY(100px);
  display: block;
}

.animate.scale-up {
  display: block;
  height: auto;
  transform: scale(0.8);
}

.animate.fade-in {
  display: block;
  height: auto;
  opacity: 0;
  transform: none;
  transition: opacity 2s ease-out;
  /* 2秒でフェードイン */
}

.animate.visible {
  opacity: 1;
  transform: none;
  /* 透明度のみを変化させる */
}

.animate:nth-child(1) {
  transition-delay: 0s;
}

.animate:nth-child(2) {
  transition-delay: 0.2s;
}

.animate:nth-child(3) {
  transition-delay: 0.4s;
}

.animate:nth-child(4) {
  transition-delay: 0.6s;
}

.animate:nth-child(5) {
  transition-delay: 0.8s;
}

.animate:nth-child(6) {
  transition-delay: 1s;
}

/* タブレット以上で */
@media screen and (min-width: 768px) {
  .row {
    display: flex;
  }

}

/* PC以上で */
@media screen and (min-width: 1024px) {
  .row {
    display: flex;
  }

}