/* ═══════════════════════════════════════════════
   TOP PAGE — front-page.php styles (修正版)
   ═══════════════════════════════════════════════ */


/* ── 共通セクション見出し ── */
.top-heading {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.top-heading__en {
  font-family: "Barlow Condensed", "Noto Sans JP", sans-serif;
  font-size: clamp(13px, 1.6vw, 15px);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #36aede;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.top-heading__ja {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: bold;
  color: var(--color-text);
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.top-heading__accent {
  color: #36aede;
}

/* ═══ FV ═══ */
.top-hero {
  background: var(--color-bg-blue);
  overflow: hidden;
  position: relative;
}

.top-hero__inner {
  display: flex;
  align-items: center;
  min-height: 45vh;
  max-height: 80vh !important;
  position: relative;
}

.top-hero__left {
  flex: 0 0 45%;
  padding: clamp(40px, 6vw, 80px) clamp(32px, 6vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.top-hero__right {
  flex: 1;
  overflow: hidden;
  align-self: stretch;
  line-height: 0;
  position: relative;
}

/* ── レンズフレア光源（左カラム） ── */
.top-hero__left::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -10%;
  width: 140%;
  height: 140%;
  background:
    radial-gradient(
      ellipse 40% 35% at 35% 30%,
      rgba(255, 255, 255, 0.7) 0%,
      rgba(255, 255, 255, 0.3) 15%,
      rgba(255, 240, 250, 0.15) 30%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 60% 50% at 35% 30%,
      rgba(255, 200, 220, 0.12) 0%,
      rgba(180, 220, 255, 0.08) 40%,
      transparent 70%
    ),
    radial-gradient(
      circle at 55% 55%,
      rgba(255, 180, 200, 0.08) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle at 20% 65%,
      rgba(180, 230, 255, 0.06) 0%,
      transparent 25%
    );
  pointer-events: none;
  z-index: -1;
  animation: lensFlare 6s ease-in-out infinite;
}

.top-hero__left::after {
  content: "";
  position: absolute;
  top: 15%;
  left: 20%;
  width: 60%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.5) 20%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0.5) 80%,
    transparent 100%
  );
  filter: blur(1px);
  pointer-events: none;
  z-index: -1;
  animation: lensStreak 6s ease-in-out infinite;
  transform: rotate(-15deg);
  transform-origin: center center;
}

@keyframes lensFlare {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

@keyframes lensStreak {
  0%, 100% { opacity: 0.3; transform: rotate(-15deg) scaleX(0.8); }
  50%      { opacity: 0.7; transform: rotate(-15deg) scaleX(1.1); }
}

/* 波形SVG — 左側水色背景が右の画像側へ波打つ */
.top-hero__wave {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(60px, 8vw, 120px);
  height: 100%;
  z-index: 2;
  display: block;
}

.top-hero__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  position: relative;
  z-index: 1;
    object-position: top center; 
	transform: scale(1.3);      
  transform-origin: top center;
}

.top-hero__sub {
  font-size: clamp(13px, 1.8vw, 17px);
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  color: var(--color-text);
}

.top-hero__title {
  font-family: "Barlow Condensed", "Noto Sans JP", sans-serif;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--color-text);
}

.top-hero__date {
  font-family: "Barlow Condensed", "Noto Sans JP", sans-serif;
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: clamp(24px, 4vw, 40px);
  color: #36aede !important;
}

.top-hero__date-label {
  font-size: 0.55em;
  font-weight: 500;
  color: #36aede !important;
  margin-left: 8px;
}

.top-hero__btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ═══ XRライブとは？ ═══ */
.top-xr-about {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--color-bg-white);
}

.top-xr-about__body {
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.top-xr-about__text {
  flex: 1;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 2;
  color: var(--color-text-sub);

}

.top-xr-about__text p + p {
  margin-top: 1.2em;
}

.top-xr-about__img-wrap {
  flex: 0 0 clamp(200px, 35%, 380px);
}

.top-xr-about__img {
  width: 100%;
  height: auto;
  display: block;
}

/* ═══ ライブハウスの特徴 ═══ */
.top-features {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--color-bg-gray);
}

.top-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

.top-features__card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px) clamp(20px, 3vw, 32px);
  text-align: center;
  border: 1.5px solid var(--color-border-blue);
  box-shadow:
    0 4px 16px rgba(108, 210, 212, 0.12),
    0 1px 4px rgba(0, 0, 0, 0.04);
      transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.top-features__card:hover {
  box-shadow:
    0 8px 32px rgba(108, 210, 212, 0.28),
    0 2px 8px rgba(0, 0, 0, 0.08);
  border-color: var(--color-accent);
  transform: translateY(-6px);
}

.top-features__card--center {
  transform: translateY(-12px);
}

.top-features__card--center:hover {
  transform: translateY(-18px);
}

.top-features__card-img-wrap {
  width: clamp(80px, 12vw, 120px);
  height: clamp(80px, 12vw, 120px);
  margin: 0 auto clamp(16px, 2vw, 24px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-features__card-img {
  width: 100%;
  height: auto;
  display: block;
}

.top-features__card-title {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.top-features__card-text {
  font-size: clamp(12px, 1.4vw, 14px);
  line-height: 1.85;
  color: var(--color-text-sub);

}

/* ═══ 設備紹介 ═══ */
.top-equipment {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--color-bg-white);
}

.top-equipment__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(12px, 2vw, 24px);
}

.top-equipment__item {
  text-align: center;
  background: #fff;
  border-radius: var(--radius-md);
  padding: clamp(16px, 2vw, 24px) clamp(8px, 1vw, 12px) clamp(12px, 1.5vw, 20px);
  border: 1.5px solid var(--color-border-blue);
  box-shadow:
    0 4px 16px rgba(108, 210, 212, 0.12),
    0 1px 4px rgba(0, 0, 0, 0.04);
      transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.top-equipment__item:hover {
  box-shadow:
    0 8px 28px rgba(108, 210, 212, 0.28),
    0 2px 8px rgba(0, 0, 0, 0.07);
  border-color: var(--color-accent);
  transform: translateY(-4px);
}

.top-equipment__img-wrap {
  width: clamp(56px, 8vw, 80px);
  height: clamp(56px, 8vw, 80px);
  margin: 0 auto clamp(8px, 1.5vw, 14px);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-equipment__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.top-equipment__name {
  font-size: clamp(11px, 1.3vw, 14px);
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--color-text);
}

.top-equipment__desc {
  font-size: clamp(10px, 1.1vw, 12px);
  line-height: 1.7;
  color: var(--color-text-muted);
    text-align:center;
}

/* ═══ ライブハウス見取り図 ═══ */
.top-floormap {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--color-bg-gray);
}

.top-floormap__img-wrap {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.top-floormap__img-wrap:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.top-floormap__img {
  width: 100%;
  height: auto;
  display: block;
}

.top-floormap__note {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 12px;
}

/* ── 見取り図モーダル ── */
.floormap-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.floormap-modal[hidden] {
  display: none;
}

.floormap-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.floormap-modal__body {
  position: relative;
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  animation: floormapIn 0.3s ease;
}

@keyframes floormapIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

.floormap-modal__close-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 40px;
  height: 40px;
  background: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s ease;
}

.floormap-modal__close-btn:hover {
  background: var(--color-bg-gray);
}

.floormap-modal__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

/* ═══ 予約スケジュール ═══ */
.top-schedule {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--color-bg-white);
}

.top-schedule__iframe-wrap {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.top-schedule__iframe {
  border: none;
  width: 100%;
  height: 600px;
  display: block;
}

/* ═══ 料金表 ═══ */
.top-price {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--color-bg-gray);
}

.top-price__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 32px);
  max-width: 780px;
  margin: 0 auto;
}

.top-price__card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--color-border-blue);
  display: flex;
  flex-direction: column;
}

.top-price__card--xr {
  border-color: var(--color-primary);
}

.top-price__card-header {
  background: var(--color-bg-blue);
  padding: 14px 24px;
  text-align: center;
}

.top-price__card-header--xr {
  background: linear-gradient(135deg, rgba(255, 138, 179, 0.15) 0%, rgba(255, 107, 157, 0.1) 100%);
}

.top-price__card-label {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.top-price__card-header--xr .top-price__card-label {
  color: var(--color-primary);
}

.top-price__card-body {
  padding: 24px;
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center
  
}

.top-price__card-amount {
  font-family: "Barlow Condensed", "Noto Sans JP", sans-serif;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.top-price__card-tax {
  font-size: 0.45em;
  font-weight: 500;
  color: var(--color-text-muted);
}

.top-price__card-list {
  list-style: none;
  padding: 0;
  text-align: left;
  display: inline-block;
}

.top-price__card-list li {
  font-size: clamp(13px, 1.5vw, 15px);
  line-height: 1.8;
  color: var(--color-text-sub);
  padding-left: 1.4em;
  position: relative;
}

.top-price__card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.top-price__card-note {
  font-size: clamp(12px, 1.4vw, 14px);
  line-height: 1.9;
  color: var(--color-text-sub);
  margin-bottom: 20px;

  text-align: center;
}

.top-price__card-link {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.top-price__card-cta {
  text-align: center;
}


/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .top-features__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .top-equipment__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 767px) {
  



  /* FV：SP は縦積み＋画像フル幅、波は非表示 */
  .top-hero__inner {
    flex-direction: column;
    min-height: auto;
    max-height: none !important;
  }

  .top-hero__left {
    flex: none;
    width: 100%;
    padding: clamp(32px, 8vw, 56px) 24px;
    order: 1;
    text-align: center;
    align-items: center;
  }

  .top-hero__right {
    flex: none;
    width: 100%;
    order: 0;
    max-height: 50vh;
    max-width: 100%;
  }

  .top-hero__wave {
    display: none;
  }

  .top-hero__btns {
    flex-direction: column;
    align-items: center;
  }

  /* レンズフレアをSPでは控えめに */
  .top-hero__left::before {
    opacity: 0.5;
  }

  .top-hero__left::after {
    opacity: 0.2;
  }

  /* XRライブとは */
  .top-xr-about__body {
    flex-direction: column;
  }

  .top-xr-about__img-wrap {
    flex: none;
    width: 70%;
    max-width: 280px;
    margin: 0 auto;
  }
  .top-xr-about__text{
      padding:0 12px;
    font-size:14px;
  }
  /* 特徴：上段1つ（VTuber特化設計）、下段2つ */
  .top-features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .top-features__card--center {
    transform: none;
    grid-column: 1 / -1;
    max-width: 280px;
    margin: 0 auto;
    order: -1;
  }

  .top-features__card {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }


  /* 設備 */
  .top-equipment__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  
  

  /* 料金 */
  .top-price__grid {
    grid-template-columns: 1fr;
  }

  /* スケジュール */
  .top-schedule__iframe {
    height: 480px;
  }


  

  /* 見取り図モーダル */
  .floormap-modal__close-btn {
    top: 4px;
    right: 4px;
  }
}