/* ============================================================
  メインビジュアル
============================================================ */
.mv_top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  height: 100svh;
  min-height: 480px;
  background: #e9e8e9;
  color: #1a1a1a;
  overflow: hidden;
  padding-top: 6rem;
}

.mv_top--bg {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 0.7s ease, transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
  filter: blur(4px) brightness(0.92) saturate(1.05);
  z-index: 0;
  pointer-events: none;
  will-change: opacity, transform;
}
.mv_top.is-bg-active .mv_top--bg {
  opacity: 0.55;
  transform: scale(1);
}

.mv_top--inner {
  position: relative;
  width: min(100vw, calc(100svh * 2), 1440px);
  aspect-ratio: 2 / 1;
  container-type: size;
  z-index: 1;
}

.mv_top--img01 {
  position: absolute;
  top: 18%;
  left: 2.777%;
  width: 20.37%;
  height: 33.333%;
  border-radius: 0 0 2.78cqh 0;
  overflow: hidden;
}

.mv_top--img02 {
  position: absolute;
  top: 11.111%;
  right: 21%;
  width: 15.277%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
}

.mv_top--img03 {
  position: absolute;
  top: 36.111%;
  right: 14%;
  width: 15.972%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
}

.mv_top--img01 img,
.mv_top--img02 img,
.mv_top--img03 img {
  width: 100%;
  height: 100%;
  display: block;
}

.mv_top--img01-swiper {
  width: 100%;
  height: 100%;
}
.mv_top--img01-swiper .swiper-slide {
  overflow: hidden;
}

.mv_top--catch {
  position: absolute;
  top: 52.778%;
  left: 2.777%;
  z-index: 1;
  font-family: 'Times New Roman', 'Noto Serif JP', serif;
  font-weight: 400;
  color: #1a1a1a;
  font-size: 15cqh;
  line-height: 1.15;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.mv_top--catch > span {
  display: block;
}
.mv_top--catch .char {
  display: inline-block;
  transition: color 1.8s ease;
}
.mv_top.is-bg-active .mv_top--catch .char {
  transition: color 0.4s ease;
}

.mv_top--jp {
  position: absolute;
  top: 5%;
  right: 2.777%;
  height: 90%;
  writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  font-family: 'Noto Sans JP', 'Yu Mincho', serif;
  font-size: 3.2cqh;
  font-weight: 700;
  line-height: 2.2;
  letter-spacing: 0.15em;
  color: #1a1a1a;
  z-index: 2;
}

.mv_top--jp span {
  text-orientation: upright;
  display: inline-block;
  transform: scale(0.3);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.5s ease;
  transform-origin: center;
}
.mv_top.is-intro-ready .mv_top--jp span {
  transform: scale(1);
  opacity: 1;
}
.mv_top.is-intro-ready .mv_top--jp span:nth-child(1) { transition-delay: 0.15s; }
.mv_top.is-intro-ready .mv_top--jp span:nth-child(2) { transition-delay: 0.25s; }
.mv_top.is-intro-ready .mv_top--jp span:nth-child(3) { transition-delay: 0.35s; }
.mv_top.is-intro-ready .mv_top--jp span:nth-child(4) { transition-delay: 0.45s; }
.mv_top.is-intro-ready .mv_top--jp span:nth-child(5) { transition-delay: 0.55s; }

.mv_top--caption {
  position: absolute;
  bottom: 2.777%;
  left: 50%;
  transform: translateX(-50%) !important;
  text-align: center;
  font-family: 'Times New Roman', serif;
  font-size: 2.5cqh;
  letter-spacing: 0.2em;
  color: #1a1a1a;
  z-index: 1;
  white-space: nowrap;
}

/* ============================================================
  レスポンシブ対応
============================================================ */
@media screen and (max-width: 767px) {
  .mv_top {
    min-height: 600px;
  }
  .mv_top--inner {
    width: calc(100vw - 12px);
    max-width: calc((100svh - 20px) * 0.82);
    aspect-ratio: 3 / 4;
  }
  .mv_top--img01 {
    top: 0%;
    left: 4%;
    width: 50%;
    height: 22%;
    border-radius: 0 0 2cqh 0;
  }
  .mv_top--img02 {
    top: -7%;
    right: 16%;
    width: 24%;
  }
  .mv_top--img03 {
    top: 8%;
    right: 7%;
    width: 28%;
  }
  .mv_top--catch {
    top: 45%;
    left: 3%;
    font-size: clamp(3.2rem, 11cqw, 5.2rem);
    line-height: 1.1;
    letter-spacing: 0.12em;
  }
  .mv_top--jp {
    top: 8%;
    right: 3%;
    height: 86%;
    font-size: clamp(1.3rem, 3.6cqh, 2.2rem);
    line-height: 2;
    letter-spacing: 0.08em;
  }
  .mv_top--caption {
    font-size: clamp(1.1rem, 2.8cqh, 1.6rem);
    letter-spacing: 0.15em;
    position: absolute;
    bottom: -10%;
  }
}


/* ============================================================
  MV 登場アニメーション
============================================================ */
html:has(body.is-loading),
body.is-loading {
  overflow: hidden;
  height: 100%;
  touch-action: none;
  overscroll-behavior: none;
}

body.is-loading #header,
body.is-loading .top_marquee,
body.is-loading .top_inner,
body.is-loading #footer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body #header,
body .top_marquee,
body .top_inner,
body #footer {
  transition: opacity 0.9s ease;
}


.mv_top--jp,
.mv_top--catch,
.mv_top--caption,
.mv_top--img01,
.mv_top--img02,
.mv_top--img03 {
  opacity: 0;
}

.mv_top--jp {
  transform: translate(var(--jp-dx, 0), var(--jp-dy, 0)) scale(0.55);
  transform-origin: center center;
  filter: blur(14px);
  will-change: transform, opacity, filter;
}

.mv_top.is-intro-ready .mv_top--jp {
  transition:
    opacity 0.8s ease,
    transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.8s ease,
    color 1.8s ease;
}
.mv_top.is-bg-active .mv_top--jp {
  transition:
    opacity 0.8s ease,
    transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.8s ease,
    color 0.4s ease;
}

.mv_top.is-intro1 .mv_top--jp {
  opacity: 1;
  transform: translate(var(--jp-dx, 0), var(--jp-dy, 0)) scale(1);
  filter: blur(0);
}

.mv_top.is-intro2 .mv_top--jp {
  transform: translate(0, 0) scale(1);
  filter: blur(0);
}

.mv_top--catch,
.mv_top--caption,
.mv_top--img01,
.mv_top--img02,
.mv_top--img03 {
  transition: opacity 1s ease, color 1.8s ease;
}
.mv_top.is-bg-active .mv_top--catch,
.mv_top.is-bg-active .mv_top--caption {
  transition: opacity 1s ease, color 0.4s ease;
}

.mv_top.is-intro3 .mv_top--catch,
.mv_top.is-intro3 .mv_top--caption,
.mv_top.is-intro3 .mv_top--img01,
.mv_top.is-intro3 .mv_top--img02,
.mv_top.is-intro3 .mv_top--img03 {
  opacity: 1;
}

.mv_top.is-intro3 .mv_top--img01 { transition-delay: 0.05s; }
.mv_top.is-intro3 .mv_top--catch { transition-delay: 0.2s; }
.mv_top.is-intro3 .mv_top--img02 { transition-delay: 0.35s; }
.mv_top.is-intro3 .mv_top--img03 { transition-delay: 0.5s; }
.mv_top.is-intro3 .mv_top--caption { transition-delay: 0.65s; }

.mv_top.is-bg-active .mv_top--catch,
.mv_top.is-bg-active .mv_top--caption,
.mv_top.is-bg-active .mv_top--jp {
  transition-delay: 0s;
}

.mv_top.is-intro3 .mv_top--img02 {
  animation: mvFloat02 5s ease-in-out 1s infinite;
}
.mv_top.is-intro3 .mv_top--img03 {
  animation: mvFloat03 6s ease-in-out 0.6s infinite;
}
@keyframes mvFloat02 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-6px, -24px) scale(1); }
}
@keyframes mvFloat03 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(8px, -28px) scale(1); }
}

.mv_top.is-bg-active .mv_top--catch,
.mv_top.is-bg-active .mv_top--jp,
.mv_top.is-bg-active .mv_top--caption {
  color: #fffaf1;
}

/* ============================================================
  レスポンシブ時のローディング
============================================================ */
@media screen and (max-width: 767px) {
  /* .is-intro-ready はPCと同じzoom-up動作（blur解除＋scale(1)）を継承 */
  .mv_top.is-intro2 .mv_top--jp {
    transform: translate(var(--jp-dx, 0), var(--jp-dy, 0));
    opacity: 0;
  }
  .mv_top.is-intro3 .mv_top--jp {
    writing-mode: horizontal-tb;
    top: auto;
    bottom: 11%;
    right: auto;
    left: 50%;
    height: auto;
    width: 100%;
    max-width: 100%;
    font-size: clamp(1.3rem, 2.6cqh, 1.8rem);
    line-height: 1.9;
    letter-spacing: 0.1em;
    text-align: center;
    white-space: normal;
    transform: translateX(-50%);
    opacity: 1;
    transition-delay: 0.2s;
  }
  .mv_top.is-intro3 .mv_top--img02,
  .mv_top.is-intro3 .mv_top--img03 {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mv_top--jp,
  .mv_top--catch,
  .mv_top--caption,
  .mv_top--img01,
  .mv_top--img02,
  .mv_top--img03 {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

.mv-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 72px;
  height: 72px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  color: #1a1a1a;
  transition: opacity 0.35s ease;
  will-change: transform;
}
body.is-mv-cursor .mv-cursor {
  opacity: 1;
}
.mv-cursor--ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.mv-cursor--ring circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  stroke-dasharray: 176;
  stroke-dashoffset: 176;
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dashoffset 0.7s cubic-bezier(0.45, 0.05, 0.4, 1);
}
body.is-mv-cursor .mv-cursor--ring circle {
  stroke-dashoffset: 0;
}
.mv-cursor--dots {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.mv-cursor--dots span {
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
  opacity: 0;
}
body.is-mv-cursor .mv-cursor--dots span {
  animation: mvCursorDots 1.3s ease-in-out infinite;
}
body.is-mv-cursor .mv-cursor--dots span:nth-child(1) { animation-delay: 0.70s; }
body.is-mv-cursor .mv-cursor--dots span:nth-child(2) { animation-delay: 0.85s; }
body.is-mv-cursor .mv-cursor--dots span:nth-child(3) { animation-delay: 1.00s; }
@keyframes mvCursorDots {
  0%, 70%, 100% { opacity: 0; transform: scale(0.6); }
  35%          { opacity: 1; transform: scale(1); }
}
body.is-mv-cursor .mv_top--img01,
body.is-mv-cursor .mv_top--img02,
body.is-mv-cursor .mv_top--img03 {
  cursor: none;
}
@media (hover: none), (pointer: coarse), (max-width: 767px) {
  .mv-cursor { display: none; }
}
