/* ============================================
   NET-KIDOU — 共通スタイルシート
   全ページ共通で読み込む。ここを変えれば全ページに反映。
   ============================================ */

/* ─── リセット ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── カラー変数（ここを変えれば全体のカラーが変わる） ─── */
:root {
  --cyan:        #00d4ff;
  --cyan-dark:   #0077aa;
  --bg:          #080c18;
  --bg2:         #0d1225;
  --bg3:         #111828;
  --text:        #e8f0ff;
  --muted:       #7a90b8;
  --card-bg:     rgba(255,255,255,0.04);
  --card-border: rgba(0,212,255,0.15);
}

/* ─── ベース ─── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── ノイズオーバーレイ ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ─── グローブロブ（背景光彩） ─── */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
}
.blob-1 { width: 600px; height: 600px; background: #00d4ff; top: -200px; left: -150px; }
.blob-2 { width: 500px; height: 500px; background: #0055cc; bottom: -200px; right: -100px; }

/* ─── ヘッダー ─── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: rgba(8, 12, 24, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,212,255,0.1);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-wrap img { height: 36px; width: auto; }
.logo-name {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(0,212,255,0.5);
}

nav { display: flex; align-items: center; gap: 32px; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
nav a:hover { color: var(--cyan); }
nav a.active { color: var(--text); }

/* ─── ボタン ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 0;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  color: #fff;
  box-shadow: 0 0 24px rgba(0,212,255,0.35);
}
.btn-primary:hover {
  box-shadow: 0 0 40px rgba(0,212,255,0.65);
  transform: translateY(-1px);
}
.btn-outline {
  border: 1px solid var(--card-border);
  color: var(--cyan);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--cyan);
  background: rgba(0,212,255,0.08);
}
.btn-lg { padding: 14px 40px; font-size: 1rem; }

/* ─── セクション共通 ─── */
section {
  position: relative;
  z-index: 1;
  padding: 96px 24px;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 540px;
  margin-bottom: 56px;
}
.bg2 { background: var(--bg2); }

/* ─── 区切り線 ─── */
.divider {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.18), transparent);
}

/* ─── グリッドカード（商品・特徴など） ─── */
.grid-cards {
  display: grid;
  gap: 1px;
  background: rgba(0,212,255,0.12);
  border: 1px solid rgba(0,212,255,0.12);
}
.grid-cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cards.cols-auto { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--bg);
  padding: 36px 32px;
  transition: background 0.25s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(0,212,255,0.05), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover { background: var(--bg2); }
.card:hover::before { opacity: 1; }

/* カード内タグ */
.card-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.tag-soon { background: rgba(255,170,0,0.12); color: #ffaa00; border: 1px solid rgba(255,170,0,0.3); }
.tag-new  { background: rgba(0,212,255,0.12); color: var(--cyan); border: 1px solid rgba(0,212,255,0.3); }
.tag-dev  { background: rgba(150,100,255,0.12); color: #b08fff; border: 1px solid rgba(150,100,255,0.3); }
.tag-sale { background: rgba(0,220,120,0.12); color: #00dc78; border: 1px solid rgba(0,220,120,0.3); }

.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.card p   { color: var(--muted); font-size: 0.9rem; line-height: 1.75; }

.card-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(0,212,255,0.3);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}
.card-link:hover { border-color: var(--cyan); }

/* 特徴カード内ライン */
.feature-line {
  width: 24px;
  height: 2px;
  background: var(--cyan);
  margin-bottom: 16px;
}
.card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }

/* ─── CTAボックス ─── */
.cta-box {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(0,212,255,0.07), rgba(0,85,204,0.05));
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 0;
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(0,212,255,0.09), transparent 60%);
  pointer-events: none;
}
.cta-box h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 900; margin-bottom: 14px; position: relative; }
.cta-box p  { color: var(--muted); margin-bottom: 32px; position: relative; }
.cta-box .btn { position: relative; }

/* ─── フッター ─── */
footer {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-top: 1px solid rgba(0,212,255,0.08);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo { display: flex; align-items: center; gap: 8px; }
.footer-logo img { height: 26px; }
.footer-logo span {
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--cyan);
  font-family: 'Inter', sans-serif;
}
.footer-copy { color: var(--muted); font-size: 0.8rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); font-size: 0.8rem; text-decoration: none; }
.footer-links a:hover { color: var(--cyan); }

/* ─── ページヘッダー（TOPページ以外のページ用） ─── */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 160px 24px 80px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; margin-bottom: 16px; }
.page-hero p  { color: var(--muted); font-size: 1rem; max-width: 520px; margin: 0 auto; }

/* ─── テーブル（会社概要など） ─── */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.info-table th,
.info-table td {
  padding: 18px 24px;
  text-align: left;
  border: 1px solid rgba(0,212,255,0.1);
  vertical-align: top;
}
.info-table th {
  background: rgba(0,212,255,0.05);
  color: var(--cyan);
  font-weight: 700;
  white-space: nowrap;
  width: 200px;
}
.info-table td { color: var(--text); }
.info-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ─── レスポンシブ ─── */
@media (max-width: 900px) {
  .grid-cards.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  header { padding: 14px 20px; }
  nav { display: none; }
  section { padding: 64px 20px; }
  .grid-cards.cols-2,
  .grid-cards.cols-3 { grid-template-columns: 1fr; }
  footer { flex-direction: column; align-items: flex-start; }
  .cta-box { padding: 48px 24px; }
  .info-table th { width: 120px; }
}
