/* =========================
 KVがクリックを奪わないようにする
========================= */
.kv-wrapper,
.kv-bg,
.kv-overlay,
.kv-shadow-layer,
.particle-field,
canvas {
  pointer-events: none;
}

/* ナビだけはクリック可 */
.wrapper_navigation,
.navbar_toggle,
.nc_navigations {
  pointer-events: auto;
}
@media (max-width: 1200px) {
.nc_navigations {
    margin-top: 10px !important;
}
}
/* =========================
 SPナビ制御
========================= */
@media (max-width: 991px) {

  .nc_navigations {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(40,0,60,.95);
    z-index: 2000;
  }

  .nc_navigations.is-open {
    display: block;
  }

  .nc_navigations ul {
    display: flex;
    flex-direction: column;
    text-align: left;
  }


  .nc_navigations a {
    display: block;
    padding: 15px 0;
    color: #fff;
    font-weight: 600;
  }
}


/* ===============================
   TOP: ナビを最前面に固定
================================ */

/* KV全体を背景レイヤーに落とす */
.kv-wrapper {
  position: relative;
  z-index: 1;
}

/* ナビをKVより前に出す */
.wrapper_navigation {
  position: relative;
  z-index: 9999;
}

/* SPメニューの実体 */
.nc_navigations {

  width: 100%;
  z-index: 10000;
}

/* ハンバーガー */
.navbar_toggle {
  position: relative;
  z-index: 10001;
  cursor: pointer;
}


.kv-wrapper,
.kv-wrapper * {
  pointer-events: none;
}

/* ただしナビは触れるよう戻す */
.wrapper_navigation,
.wrapper_navigation * {
  pointer-events: auto;
}


/* ===============================
 SPメニュー 表示制御（TOP専用）
================================ */

@media (max-width: 991px) {

  /* デフォルトは非表示 */
  .nc_navigations {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .3s ease, transform .3s ease;
  }

  /* is-open で表示 */
  .nc_navigations.is-open {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  /* レイアウト */
  .nc_navigations {
    position: fixed;
    left: 0;
    width: 100%;
    background-color: rgba(26, 5, 36);
    z-index: 10000;
  }

  .nc_navigations ul.menu {
    display: flex;
    flex-direction: column;
    padding: 0;
    text-align: center;
  }

  .nc_navigations li {
    padding: 12px 0;
  }

  .nc_navigations a {
    color: #fff;
    font-weight: 400;
    font-size: 16px;
  }
}

@media (max-width: 991px) {
    .nc_navigations ul>li>a {
        padding: 0;
		text-align: left;
    }
}

@media (max-width: 991px) {
    .nc_navigations ul>li {
        line-height: 1;
    }
}


/* ===============================
 SP ナビ：ふわっと表示
================================ */
@media (max-width: 991px) {

  .nc_navigations {
    
    /* アニメーション初期状態 */
    opacity: 0;
    transform: translateY(-16px);
    pointer-events: none;

    transition:
      opacity 0.35s ease,
      transform 0.35s ease;
  }

  .nc_navigations.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nc_navigations ul.menu {
    display: flex;
    flex-direction: column;
    padding: 0;
    text-align: center;
  }

  .nc_navigations li {
    padding: 12px 0;
  }

  .nc_navigations a {
    color: #fff;
    font-size: 16px;
    letter-spacing: .05em;
  }
}


/* ===============================
 ハンバーガー → × アニメ
================================ */

.navbar_toggle i {
  position: absolute;
  left: 0;
  width: 60%;
  height: 2px;
  background: #fff;
  transition: all .35s ease;
}

.navbar_toggle i:nth-child(1) { top: 0; }
.navbar_toggle i:nth-child(2) { top: 7px; }
.navbar_toggle i:nth-child(3) { top: 14px; }

/* is-open 時：× に */
.navbar_toggle.is-open i:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}

.navbar_toggle.is-open i:nth-child(2) {
  opacity: 0;
}

.navbar_toggle.is-open i:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}
