@charset "UTF-8";
/* ==========================================================================
   ヘッダー ＆ グローバルナビゲーション
   ========================================================================== */

/* ヘッダー固定追従 */
.wimax-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  z-index: 1000;
  background: rgba(17, 17, 19, 0.4);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 107, 0, 0.15);
  transition: all 0.3s ease;
}

/* スクロール追従時：ネオン枠線 ＆ ダークサイバー表示 */
.wimax-header.is-scrolled {
  background: rgba(17, 17, 19, 0.92);
  border-bottom: 1px solid rgba(255, 107, 0, 0.6);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 107, 0, 0.2);
}

.wimax-header-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- ロゴのサイズ指定（修正版） --- */
.wimax-header-logo {
  display: flex;
  align-items: center;
}

.wimax-header-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* PC版：ヘッダー（64px）に対して上下に程よい余白が出る高さに固定指定 */
.wimax-logo-img {
  height: 38px !important; /* 明確にサイズを指定 */
  width: auto;
  display: block;
  filter: drop-shadow(0 0 5px rgba(255, 107, 0, 0.3));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.wimax-logo-img:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 8px rgba(255, 107, 0, 0.6));
}

/* スマホ版（991px以下）：スマホ画面に合わせて高さを少し小さく調整 */
@media (max-width: 991px) {
  .wimax-logo-img {
    height: 30px !important; /* スマホ用サイズ */
    width: auto;
  }
}

/* --- ナビゲーション（PC版） --- */
.wimax-nav-list {
  display: flex;
  align-items: center;
  gap: 18px;
}

.wimax-nav-link {
  color: #e0e0e0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.wimax-nav-link:hover {
  color: #ff6b00;
  text-shadow: 0 0 8px rgba(255, 107, 0, 0.6);
}

/* ホバー時に下にサイバーラインが伸びるアニメーション */
.wimax-nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff6b00;
  box-shadow: 0 0 8px #ff6b00;
  transition: width 0.2s ease;
}

.wimax-nav-link:hover::after {
  width: 100%;
}

/* --- CTA「今すぐ申し込む」ボタン：CTAはブルー系グラデーションで統一 --- */
.wimax-nav-btn-cyber {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 20px;
  background: linear-gradient(135deg, #00c6ff 0%, #008cff 46%, #0072ff 100%);
  color: #ffffff !important;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.6px;
  white-space: nowrap;
  text-decoration: none;
  /* 角を斜めに切り落とすサイバーカッティング */
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -2px 0 rgba(0, 46, 138, 0.32);
  /* clip-pathでも外側の影が見えるようdrop-shadowを併用 */
  filter:
    drop-shadow(0 6px 10px rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 10px rgba(0, 153, 255, 0.42));
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  border: none;
}

.wimax-nav-btn-cyber::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.4s ease;
}

/* ホバー時のサイバーエフェクト */
.wimax-nav-btn-cyber:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -2px 0 rgba(0, 46, 138, 0.22);
  filter:
    drop-shadow(0 8px 12px rgba(0, 0, 0, 0.46))
    drop-shadow(0 0 15px rgba(0, 198, 255, 0.68));
}

.wimax-nav-btn-cyber:hover::before {
  left: 100%;
}

/* --- ハンバーガーボタン（スマホ） --- */
.wimax-hamburger {
  display: none;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.4);
  border-radius: 4px;
  cursor: pointer;
  width: 38px;
  height: 38px;
  position: relative;
  z-index: 1001;
}

.wimax-hamburger span {
  display: block;
  position: absolute;
  left: 7px;
  width: 22px;
  height: 2px;
  background-color: #ff6b00;
  box-shadow: 0 0 5px #ff6b00;
  transition: all 0.3s ease;
}

.wimax-hamburger span:nth-child(1) { top: 10px; }
.wimax-hamburger span:nth-child(2) { top: 17px; }
.wimax-hamburger span:nth-child(3) { top: 24px; }

.wimax-hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.wimax-hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.wimax-hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- レスポンシブ表示（991px以下） --- */
@media (max-width: 991px) {
  .wimax-hamburger {
    display: block;
  }

  /* スマホ版ロゴサイズ：高さ基準でコンパクトに */
  .wimax-logo-img {
    max-height: 30px;
  }

  .wimax-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background-color: rgba(12, 12, 15, 0.98);
    border-left: 1px solid rgba(255, 107, 0, 0.3);
    padding: 80px 24px 40px;

    /*
     * right:-100% は閉じたメニュー自体がページの横スクロール領域を
     * 広げることがあるため、viewport外への退避はtransformで行う。
     */
    transform: translate3d(110%, 0, 0);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;

    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .wimax-nav.is-active {
    transform: translate3d(0, 0, 0);
  }

  .wimax-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .wimax-nav-link {
    font-size: 15px;
  }

  .wimax-nav-btn-wrap {
    width: 100%;
    margin-top: 10px;
  }

  .wimax-nav-btn-cyber {
    width: 100%;
    text-align: center;
    padding: 12px 0;
  }
}