@charset "utf-8";

main{
  width: 100%;
  max-width:750px;
  margin: 0 auto;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-wrap: nowrap;
  position: relative;
}

main img{
  width: 100%;
  display: flex;
  height: auto;
  margin: 0 auto;
  padding: 0;
  border: none;
  box-sizing: border-box;
}

#cvArea01,#cvArea02 {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-wrap: nowrap;
}
#cvArea01 a,
#cvArea01 a:link,
#cvArea01 a:visited,
#cvArea01 a:hover,
#cvArea02 a,
#cvArea02 a:link,
#cvArea02 a:visited,
#cvArea02 a:hover {
  position: absolute;
  display: block;
  width: 90%;
  margin: 0 auto;
  top: auto;
  right: 0;
  bottom: 33.5%;
  left: 1.8%;
  animation: scaleAnimation 1.75s infinite;
}

/* アニメーションのキーフレームを定義 */
@keyframes scaleAnimation {
  0%,
  100% {
    transform: scale(0.95); /* 元のサイズ */
  }
  50% {
    transform: scale(1.05); /* 150% の大きさに拡大 */
  }
}
/* アニメーションを適用する要素にスタイルを設定 */

#fvArea video{
  width: 100%;
}

#movieBox{
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

#movieBox video{
  width: 96%;
  position: absolute;
  top: auto;
  right: 0;
  bottom: 6%;
  left: 0;
  margin: 0 auto;
}

.bg{
position: relative;
}

.bg__container {
  position: absolute;
  top: -4%;
  left: 50%;
  transform: translateX(-50%);
  width: 93%;
  height: min(453px, 60.4vw);
  overflow: hidden;
  background-image: url(/upload/reneedle/img/250427/kounyuusya.png);
  background-repeat: repeat-y;
  background-size: cover;
  animation: slideUp 50s linear infinite;
}
@keyframes slideUp {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 100%;
  }
}

#fltBtn {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  position: sticky;
  bottom: 0;
  z-index: 5;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#fltBtn.hidden {
  opacity: 0;
  visibility: hidden;
}
#fltBtn img {
  width: 100%;
  display: flex;
  height: auto;
}

.component{
  padding: 3%;
    font-size: clamp(12px, calc(9.169811320754718px + 0.37735849056603776vw), 14px);
    line-height: 162%;
    text-align: justify;
}

.component h3{
  line-height: 150%;
  margin: 2% 0;
  font-size: large;
}
