/*メインイメージ--------------------*/
/* 背景スライドを固定で敷く */
#mainImg {
  position: fixed;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
    height: 53.5vw;
    max-height: 820px;
    min-height: 520px;
    width: 100%;
    inset: 0 auto auto 0;
    right: 0;
}

/* 各スライド */
.mainSlide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;

  animation: mainFade 8s infinite;
  will-change: opacity;
}

/* 画像指定 */
.mainSlide01 { background-image: url("../images/bg_main01_pc.jpg"); animation-delay: 0s; }
.mainSlide02 { background-image: url("../images/bg_main02_pc.jpg"); animation-delay: -4s; }

/* フェードアニメーション */
@keyframes mainFade {
  0%   { opacity: 1; }
  35%  { opacity: 1; }   /* 表示キープ */
  65%  { opacity: 0; }   /* ゆっくりフェードアウト */
  85%  { opacity: 0; }   /* 非表示キープ */
  100% { opacity: 1; }   /* ゆっくりフェードイン */
}
/* ロゴを中央に固定表示 */
.mainLogo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2; /* スライドより上 */
  width: 380px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* 背景扱いならクリック無効 */
}

.mainLogo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#mainContents{
background: #fff;
margin-top: 53.5vw;
}
/* SP */
@media (max-width: 767px) {
  #mainImg {
    height: 126.8vw;
    max-height: none;
    min-height: 0;
  }

  .mainSlide01 { background-image: url("../images/bg_main01_sp.jpg"); }
  .mainSlide02 { background-image: url("../images/bg_main02_sp.jpg"); }


#mainContents{
margin-top: 126.8vw;
}
}
#mainImg > video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ← これで「敷き詰め＋はみ出しカット」 */
  object-position: 50% 50%; /* トリミングの中心（左右が切れる時に中央寄せ） */
  display: block;
}
#mainTxt {
  width: 80%;
  position: absolute;
  left: 50%;
  top: calc(50%);
  transform: translate(-50%, -50%);
  text-align: center;
}
#mainTxt h2{
  font-size: clamp(20px, 2.3vw, 32px);
}
#mainTxt img {}
/* 1〜2行目（店名）：行間を詰め、ぼかしをやや強めに */
#mainTxt .mainTop {
  display: inline-block;
  line-height: 1.5;
  text-shadow:
    0 0 8px  rgba(190, 27, 109, .90),
    0 0 20px rgba(190, 27, 109, .70),
    0 0 48px rgba(190, 27, 109, .55);
}
/* 3〜4行目の背後のピンクのぼかし楕円 */
#mainTxt .fBig {
  position: relative;
  display: inline-block;
  margin-top: 14px;
  text-shadow:
    0 0 5px  rgba(190, 27, 109, .70),
    0 0 16px rgba(190, 27, 109, .50),
    0 0 40px rgba(190, 27, 109, .35);
}
#mainTxt .fBig::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 112%;
  height: 130%;
  background: radial-gradient(ellipse at center,
    rgba(190, 27, 109, .55) 0%,
    rgba(190, 27, 109, .28) 45%,
    rgba(190, 27, 109, 0) 70%);
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
}
#mainLogo {
  max-width: 400px;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  #mainTxt {
    width: 80%;
    top: calc(50% + 40px);
  }
}

