@charset "UTF-8";

/* ==========================================================================
   1. 変数定義（カラー・フォント・共通値）
   ========================================================================== */
:root {
  /* トンマナ画像に基づくカラー定義 */
  --color-bg-main: #111113;         /* 全体背景色（ダークグレー） */
  --color-bg-card: #1c1c21;         /* カードUIなどの背景色 */
  /*--color-primary: #ff6b00;*/         /* メインオレンジ */
  --color-primary: #ff9500;         /* メインオレンジ */
  --color-primary-hover: #e05e00;   /* ホバー時オレンジ */
  --color-primary-glow: rgba(255, 107, 0, 0.4); /* オレンジの発光感 */
  --color-text-main: #ffffff;       /* 基本テキスト（白） */
  --color-text-sub: #a0a0a0;        /* 補足テキスト（グレー） */
  --color-border-orange: rgba(255, 107, 0, 0.4); /* オレンジ枠線 */
  --color-border-sub: rgba(255, 255, 255, 0.1);   /* 微細な枠線 */

  /* サイズ定義 */
  --font-size-base: 14px;            /* 指定の基本フォントサイズ */
  --border-radius-base: 8px;         /* 基本角丸 */
  --border-radius-card: 16px;        /* カード用角丸 */
  --max-width-site: 1200px;          /* LPの基本最大幅 */
}

/* ==========================================================================
   2. モダンリセット ＆ 全体初期化
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;

  /*
   * スマホでページ全体が左右に揺れる現象を防止。
   * OPTION / VOICE / 比較表などの意図した横スクロールは、
   * 各コンポーネント自身の overflow-x:auto で引き続き操作できる。
   */
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* 古いSafari向けフォールバック */
}

@supports (overflow: clip) {
  html {
    overflow-x: clip;
  }
}

/* 画面全体（body）にトンマナのダーク背景と網掛け（グリッド）模様を適用 */
body {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* 古いSafari向けフォールバック */
  background-color: var(--color-bg-main);
  /* 方眼（網掛け）パターンの描画 */
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: center center;
  color: var(--color-text-main);
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem; /* 14px */
  line-height: 1.6;
  min-height: 100vh;
  word-break: break-all;
  -webkit-font-smoothing: antialiased;
}

@supports (overflow: clip) {
  body {
    overflow-x: clip;
  }
}

/* 画像・メディア要素の初期化 */
img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* リンク初期化 */
a {
  color: inherit;
  text-decoration: none;
}

/* リスト初期化 */
ul, ol {
  list-style: none;
}

/* ==========================================================================
   3. レイアウト共通枠組
   ========================================================================== */

/* 全体を囲むコンテナ */
.wimax-lp-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* メインコンテンツエリア */
.wimax-main {
  flex: 1;
  width: 100%;
}

/* コンテンツ表示エリアの幅制限用インナー */
.wimax-container {
  width: 100%;
  max-width: var(--max-width-site);
  margin: 0 auto;
  padding: 0 16px;
}

/* セクション基本余白 */
.wimax-section {
  padding: 40px 0;
}

@media (min-width: 768px) {
  .wimax-section {
    padding: 60px 0;
  }
}

/* ==========================================================================
   4. 共通UIコンポーネント（ボタン・ハイライトなど）
   ========================================================================== */

/* メインCTAボタン（発光感・立体感のあるオレンジ） */
.wimax-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  padding: 16px 24px;
  background: linear-gradient(180deg, #ff8c00 0%, var(--color-primary) 100%);
  color: #ffffff;
  font-size: 1.285rem; /* 18px相当 */
  font-weight: 700;
  text-align: center;
  border-radius: var(--border-radius-base);
  box-shadow: 0 4px 20px var(--color-primary-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}

.wimax-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 107, 0, 0.7);
}

/* オレンジ強文字 */
.wimax-text-orange {
  color: var(--color-primary);
  font-weight: 700;
}

/* ==========================================================================
   共通表示切替用CSS（PC/SP改行制御など）
   ========================================================================== */

/* デフォルト（PC表示時） */
.sp_only {
  display: none !important;
}
.pc_only {
  display: inline !important;
}

/* スマホ表示時（767px以下） */
@media (max-width: 767px) {
  .sp_only {
    display: inline !important;
  }
  .pc_only {
    display: none !important;
  }
}