/* ==========================================================================
 * top-custom.css — TOPページ固有（メインビュー）
 * ========================================================================== */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.fu-mv {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #fdf5e0 0%, #e9f6f3 60%, #e3f4f6 100%);
}
.fu-mv__pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .12;
  pointer-events: none;
  z-index: 0;
}
.fu-mv__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 70px 0 84px;
}
.fu-mv__text {
  padding-left: max(24px, calc((100vw - 1200px) / 2 * 0.5 + 24px));
  position: relative;
  z-index: 3;
}
.fu-mv__label {
  font-family: "Fredoka", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .18em;
  color: #009d92;
  margin: 0 0 18px;
}
.fu-mv__ttl {
  font-size: 52px;
  line-height: 1.32;
  font-weight: 600;
  margin: 0;
  letter-spacing: .01em;
}
.fu-mv__ttl .c-red { color: #ec4434; }
.fu-mv__ttl .c-teal { color: #009d92; }
.fu-mv__sub {
  font-size: 16.5px;
  line-height: 2;
  color: #5a544c;
  margin: 26px 0 0;
  max-width: 520px;
}
.fu-mv__btns {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  position: relative;
  z-index: 5;
  flex-wrap: wrap;
}
/* outline 版の見学ボタン（枠線 teal・影なし・大きめ） */
.fu-mv__btns .fu-btn--outline { font-size: 16px; padding: 16px 30px; border-width: 2px; }

.fu-mv__right { position: relative; padding-right: 0; z-index: 1; }
.fu-mv__panel {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 400px 0 0 400px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 157, 146, .28);
  animation: floaty 6s ease-in-out infinite;
}
.fu-mv__panel #slideshow { width: 100%; height: 100%; position: relative; }
.fu-mv__panel .swiper-slide { width: 100%; height: 100%; }
.fu-mv__panel .main_slider__inner { width: 100%; height: 100%; }
.fu-mv__panel .main_slider__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fu-mv__illust {
  position: absolute;
  left: 29%;
  bottom: 12px;
  width: 34%;
  height: auto;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .12));
}

@media (max-width: 900px) {
  .fu-mv__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 40px 24px 56px; }
  .fu-mv__text { padding-left: 0; padding-right: 0; margin: 0; }
  .fu-mv__ttl { font-size: 34px; }
  .fu-mv__sub { max-width: none; }
  .fu-mv__right { margin: 0; }
  .fu-mv__panel { border-radius: 200px 0 0 200px; }
  .fu-mv__illust { left: 24%; width: 40%; }
  .fu-mv__btns { flex-direction: column; align-items: flex-start; }
  .fu-mv__btns .fu-btn { width: auto; }
}
@media (max-width: 640px) {
  .fu-mv__ttl { font-size: 28px; }
  .fu-mv__sub { font-size: 14px; }
}
