/* ==========================================================================
   Layout：PC は「左ナビ / 中央LPカラム / 右エンブレム＋CTA」、
   SP・タブレットは中央カラムのみ＋下部追従CTA
   ========================================================================== */

.lx-page {
  position: relative;
  min-height: 100vh;
}

.lx-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(124deg, #616467 0%, #3d3d3d 100%);
}

.lx-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff url("../images/pc-bg.webp") center / cover no-repeat;
  opacity: 0.5;
}

.lx-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(233deg, rgba(224, 20, 19, 0.29) 23%, rgba(3, 3, 2, 0) 73%);
}

.lx-column {
  position: relative;
  z-index: 1;
  width: calc(390px * var(--lx-scale));
  margin: 0 auto;
  background: var(--lx-white);
  box-shadow: 0 0 14px rgba(34, 8, 8, 0.5);
}

.lx-lp {
  position: relative;
  width: 390px;
  overflow: hidden;
  zoom: var(--lx-scale);
  background: var(--lx-white);
}

/* --- PC サイド（1200px 以上で表示） ------------------------------------ */

.lx-side-nav,
.lx-side-cta {
  display: none;
}

@media (min-width: 1200px) {
  .lx-side-nav,
  .lx-side-cta {
    position: fixed;
    top: 50%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    transform: translateY(-50%);
  }

  .lx-side-nav {
    left: calc((100vw - 390px * var(--lx-scale)) / 2 * 0.2);
    gap: clamp(20px, 2.8vh, 36px);
    margin-top: -1.8vh;
  }

  .lx-side-nav a {
    color: var(--lx-black);
    font-family: "Noto Sans JP", var(--lx-font-sans);
    font-size: clamp(16px, 1.35vw, 26px);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: color 0.2s;
  }

  .lx-side-nav a:hover,
  .lx-side-nav a:focus-visible {
    color: var(--lx-red);
  }

  .lx-side-cta {
    right: calc((100vw - 390px * var(--lx-scale)) / 2 / 2);
    align-items: center;
    gap: 75px;
    transform: translate(50%, -50%);
    margin-top: -7.5vh;
  }

  .lx-side-cta__emblem {
    width: 165px;
    height: auto;
  }
}

/* 1200〜1439px は左右の余白が狭いため、右のエンブレムとCTAを縮小 */
@media (min-width: 1200px) and (max-width: 1439px) {
  .lx-side-cta {
    gap: 60px;
  }

  .lx-side-cta > * {
    zoom: 0.85;
  }
}

/* --- SP 下部追従CTA（1200px 未満で表示） ------------------------------- */

.lx-sticky-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  pointer-events: none;
}

.lx-sticky-cta.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.lx-sticky-cta__inner {
  position: relative;
  width: 390px;
  height: 88px;
  padding: 8px 20px 0;
  zoom: var(--lx-scale);
}

.lx-sticky-cta__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lx-black);
  opacity: 0.55;
}

@media (min-width: 1200px) {
  .lx-sticky-cta {
    display: none;
  }
}
